]> git.saurik.com Git - wxWidgets.git/blob - configure
include <windows.h> before <multimon.h>, should fix mingw32 compilation (bug 966947)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.5.3.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.5.3'
274 PACKAGE_STRING='wxWidgets 2.5.3'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_XRC_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_TOOLKIT_MAC_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM_WXUNIV_0 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_EXTRALIBS WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS GCC_PRAGMA_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.5.3 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.5.3:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-compat22 enable wxWidgets 2.2 compatibility
893 --disable-compat24 disable wxWidgets 2.4 compatibility
894 --disable-rpath disable use of rpath for uninstalled builds
895 --enable-intl use internationalization system
896 --enable-config use wxConfig (and derived) classes
897 --enable-protocols use wxProtocol and derived classes
898 --enable-ftp use wxFTP (requires wxProtocol
899 --enable-http use wxHTTP (requires wxProtocol
900 --enable-fileproto use wxFileProto class (requires wxProtocol
901 --enable-sockets use socket/network classes
902 --enable-ole use OLE classes (Win32 only)
903 --enable-dataobj use data object classes
904 --enable-ipc use interprocess communication (wxSocket etc.)
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
907 --enable-cmdline use wxCmdLineParser class
908 --enable-datetime use wxDateTime class
909 --enable-dialupman use dialup network classes
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-exceptions build exception-safe library
913 --enable-ffile use wxFFile class
914 --enable-file use wxFile class
915 --enable-filesystem use virtual file systems classes
916 --enable-fontmap use font encodings conversion classes
917 --enable-fs_inet use virtual HTTP/FTP filesystems
918 --enable-fs_zip use virtual ZIP filesystems
919 --enable-geometry use geometry class
920 --enable-log use logging system
921 --enable-longlong use wxLongLong class
922 --enable-mimetype use wxMimeTypesManager
923 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
924 --enable-snglinst use wxSingleInstanceChecker class
925 --enable-streams use wxStream etc classes
926 --enable-std_iostreams use standard C++ stream classes
927 --enable-stopwatch use wxStopWatch class
928 --enable-sysoptions use wxSystemOptions
929 --enable-textbuf use wxTextBuffer class
930 --enable-textfile use wxTextFile class
931 --enable-timer use wxTimer class
932 --enable-unicode compile wxString with Unicode support
933 --enable-sound use wxSound class
934 --enable-mediactrl use wxMediaCtrl class
935 --enable-wxprintfv use wxWidgets implementation of vprintf()
936 --enable-zipstream use wxZipInputStream
937 --enable-url use wxURL class
938 --enable-protocol use wxProtocol class
939 --enable-protocol-http HTTP support in wxProtocol
940 --enable-protocol-ftp FTP support in wxProtocol
941 --enable-protocol-file FILE support in wxProtocol
942 --enable-threads use threads
943 --enable-docview use document view architecture
944 --enable-help use help subsystem
945 --enable-mshtmlhelp use MS HTML Help (win32)
946 --enable-html use wxHTML sub-library
947 --enable-htmlhelp use wxHTML-based help
948 --enable-xrc use XRC resources sub-library
949 --enable-constraints use layout-constraints system
950 --enable-printarch use printing architecture
951 --enable-mdi use multiple document interface architecture
952 --enable-mdidoc use docview architecture with MDI
953 --enable-loggui use standard GUI logger
954 --enable-logwin use wxLogWindow
955 --enable-logdialog use wxLogDialog
956 --enable-webkit use wxWebKitCtrl (Mac)
957 --enable-postscript use wxPostscriptDC device context (default for gtk+)
958 --enable-prologio not available; see contrib
959 --enable-resources not available; see contrib
960 --enable-clipboard use wxClipboard class
961 --enable-dnd use Drag'n'Drop classes
962 --enable-metafile use win32 metafiles
963 --enable-controls use all usual controls
964 --enable-accel use accelerators
965 --enable-button use wxButton class
966 --enable-bmpbutton use wxBitmapButton class
967 --enable-calendar use wxCalendarCtrl class
968 --enable-caret use wxCaret class
969 --enable-checkbox use wxCheckBox class
970 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
971 --enable-choice use wxChoice class
972 --enable-choicebook use wxChoicebook class
973 --enable-combobox use wxComboBox class
974 --enable-display use wxDisplay class
975 --enable-gauge use wxGauge class
976 --enable-grid use wxGrid class
977 --enable-imaglist use wxImageList class
978 --enable-listbook use wxListbook class
979 --enable-listbox use wxListBox class
980 --enable-listctrl use wxListCtrl class
981 --enable-notebook use wxNotebook class
982 --enable-radiobox use wxRadioBox class
983 --enable-radiobtn use wxRadioButton class
984 --enable-sash use wxSashWindow class
985 --enable-scrollbar use wxScrollBar class and scrollable windows
986 --enable-slider use wxSlider class
987 --enable-spinbtn use wxSpinButton class
988 --enable-spinctrl use wxSpinCtrl class
989 --enable-splitter use wxSplitterWindow class
990 --enable-statbmp use wxStaticBitmap class
991 --enable-statbox use wxStaticBox class
992 --enable-statline use wxStaticLine class
993 --enable-stattext use wxStaticText class
994 --enable-statusbar use wxStatusBar class
995 --enable-tabdialog use wxTabControl class
996 --enable-textctrl use wxTextCtrl class
997 --enable-togglebtn use wxToggleButton class
998 --enable-toolbar use wxToolBar class
999 --enable-tbarnative use native wxToolBar class
1000 --enable-tbarsmpl use wxToolBarSimple class
1001 --enable-treectrl use wxTreeCtrl class
1002 --enable-tipwindow use wxTipWindow class
1003 --enable-popupwin use wxPopUpWindow class
1004 --enable-commondlg use all common dialogs
1005 --enable-choicedlg use wxChoiceDialog
1006 --enable-coldlg use wxColourDialog
1007 --enable-filedlg use wxFileDialog
1008 --enable-finddlg use wxFindReplaceDialog
1009 --enable-fontdlg use wxFontDialog
1010 --enable-dirdlg use wxDirDialog
1011 --enable-msgdlg use wxMessageDialog
1012 --enable-numberdlg use wxNumberEntryDialog
1013 --enable-splash use wxSplashScreen
1014 --enable-textdlg use wxTextDialog
1015 --enable-tipdlg use startup tips
1016 --enable-progressdlg use wxProgressDialog
1017 --enable-wizarddlg use wxWizard
1018 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1019 --enable-miniframe use wxMiniFrame class
1020 --enable-tooltips use wxToolTip class
1021 --enable-splines use spline drawing code
1022 --enable-validators use wxValidator and derived classes
1023 --enable-busyinfo use wxBusyInfo
1024 --enable-joystick use wxJoystick (Linux only)
1025 --enable-metafiles use wxMetaFile (Windows only)
1026 --enable-dragimage use wxDragImage
1027 --enable-accessibility enable accessibility support
1028 --enable-palette use wxPalette class
1029 --enable-image use wxImage class
1030 --enable-gif use gif images (GIF file format)
1031 --enable-pcx use pcx images (PCX file format)
1032 --enable-iff use iff images (IFF file format)
1033 --enable-pnm use pnm images (PNM file format)
1034 --enable-xpm use xpm images (XPM file format)
1035 --enable-icocur use Windows ICO and CUR formats
1036 --enable-official_build official build of wxWidgets (win32 DLL only)
1037 --enable-vendor=VENDOR vendor name (win32 DLL only)
1038 --disable-largefile omit support for large files
1039 --disable-gtktest do not try to compile and run a test GTK+ program
1040 --disable-gtktest Do not try to compile and run a test GTK program
1041 --disable-sdltest Do not try to compile and run a test SDL program
1042 --enable-omf use OMF object format (OS/2)
1043 --disable-precomp-headers
1044 don't use precompiled headers even if compiler can
1045
1046 Optional Packages:
1047 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1048 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1049 --with-gtk use GTK+
1050 --with-motif use Motif/Lesstif
1051 --with-mac use Mac OS X
1052 --with-cocoa use Cocoa
1053 --with-wine use Wine
1054 --with-msw use MS-Windows
1055 --with-pm use OS/2 Presentation Manager
1056 --with-mgl use SciTech MGL
1057 --with-microwin use MicroWindows
1058 --with-x11 use X11
1059 --with-libpng use libpng (PNG image format)
1060 --with-libjpeg use libjpeg (JPEG file format)
1061 --with-libtiff use libtiff (TIFF file format)
1062 --with-libxpm use libxpm (XPM file format)
1063 --with-libmspack use libmspack (CHM help files loading)
1064 --with-sdl use SDL for audio on Unix
1065 --with-gnomeprint use GNOME print for printing under Unix
1066 --with-opengl use OpenGL (or Mesa)
1067 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1068 --with-regex enable support for wxRegEx class
1069 --with-zlib use zlib for LZW compression
1070 --with-odbc use the IODBC and wxODBC classes
1071 --with-expat enable XML support using expat parser
1072 --with-flavour=NAME specify a name to identify this build
1073 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1074 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1075 --with-x use the X Window System
1076 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1077 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1078 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1079 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1080 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1081
1082 Some influential environment variables:
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1089 CPP C preprocessor
1090 CXX C++ compiler command
1091 CXXFLAGS C++ compiler flags
1092 CXXCPP C++ preprocessor
1093
1094 Use these variables to override the choices made by `configure' or to help
1095 it to find libraries and programs with nonstandard names/locations.
1096
1097 Report bugs to <wx-dev@lists.wxwidgets.org>.
1098 _ACEOF
1099 fi
1100
1101 if test "$ac_init_help" = "recursive"; then
1102 # If there are subdirs, report their specific --help.
1103 ac_popdir=`pwd`
1104 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1105 test -d $ac_dir || continue
1106 ac_builddir=.
1107
1108 if test "$ac_dir" != .; then
1109 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1110 # A "../" for each directory in $ac_dir_suffix.
1111 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1112 else
1113 ac_dir_suffix= ac_top_builddir=
1114 fi
1115
1116 case $srcdir in
1117 .) # No --srcdir option. We are building in place.
1118 ac_srcdir=.
1119 if test -z "$ac_top_builddir"; then
1120 ac_top_srcdir=.
1121 else
1122 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1123 fi ;;
1124 [\\/]* | ?:[\\/]* ) # Absolute path.
1125 ac_srcdir=$srcdir$ac_dir_suffix;
1126 ac_top_srcdir=$srcdir ;;
1127 *) # Relative path.
1128 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1129 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1130 esac
1131
1132 # Do not use `cd foo && pwd` to compute absolute paths, because
1133 # the directories may not exist.
1134 case `pwd` in
1135 .) ac_abs_builddir="$ac_dir";;
1136 *)
1137 case "$ac_dir" in
1138 .) ac_abs_builddir=`pwd`;;
1139 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1140 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1141 esac;;
1142 esac
1143 case $ac_abs_builddir in
1144 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 *)
1146 case ${ac_top_builddir}. in
1147 .) ac_abs_top_builddir=$ac_abs_builddir;;
1148 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1149 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1150 esac;;
1151 esac
1152 case $ac_abs_builddir in
1153 .) ac_abs_srcdir=$ac_srcdir;;
1154 *)
1155 case $ac_srcdir in
1156 .) ac_abs_srcdir=$ac_abs_builddir;;
1157 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1158 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1159 esac;;
1160 esac
1161 case $ac_abs_builddir in
1162 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 *)
1164 case $ac_top_srcdir in
1165 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1166 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1167 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1168 esac;;
1169 esac
1170
1171 cd $ac_dir
1172 # Check for guested configure; otherwise get Cygnus style configure.
1173 if test -f $ac_srcdir/configure.gnu; then
1174 echo
1175 $SHELL $ac_srcdir/configure.gnu --help=recursive
1176 elif test -f $ac_srcdir/configure; then
1177 echo
1178 $SHELL $ac_srcdir/configure --help=recursive
1179 elif test -f $ac_srcdir/configure.ac ||
1180 test -f $ac_srcdir/configure.in; then
1181 echo
1182 $ac_configure --help
1183 else
1184 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1185 fi
1186 cd $ac_popdir
1187 done
1188 fi
1189
1190 test -n "$ac_init_help" && exit 0
1191 if $ac_init_version; then
1192 cat <<\_ACEOF
1193 wxWidgets configure 2.5.3
1194 generated by GNU Autoconf 2.59
1195
1196 Copyright (C) 2003 Free Software Foundation, Inc.
1197 This configure script is free software; the Free Software Foundation
1198 gives unlimited permission to copy, distribute and modify it.
1199 _ACEOF
1200 exit 0
1201 fi
1202 exec 5>config.log
1203 cat >&5 <<_ACEOF
1204 This file contains any messages produced by compilers while
1205 running configure, to aid debugging if configure makes a mistake.
1206
1207 It was created by wxWidgets $as_me 2.5.3, which was
1208 generated by GNU Autoconf 2.59. Invocation command line was
1209
1210 $ $0 $@
1211
1212 _ACEOF
1213 {
1214 cat <<_ASUNAME
1215 ## --------- ##
1216 ## Platform. ##
1217 ## --------- ##
1218
1219 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1220 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1221 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1222 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1223 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1224
1225 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1226 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1227
1228 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1229 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1230 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1231 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1232 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1233 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1234 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1235
1236 _ASUNAME
1237
1238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1239 for as_dir in $PATH
1240 do
1241 IFS=$as_save_IFS
1242 test -z "$as_dir" && as_dir=.
1243 echo "PATH: $as_dir"
1244 done
1245
1246 } >&5
1247
1248 cat >&5 <<_ACEOF
1249
1250
1251 ## ----------- ##
1252 ## Core tests. ##
1253 ## ----------- ##
1254
1255 _ACEOF
1256
1257
1258 # Keep a trace of the command line.
1259 # Strip out --no-create and --no-recursion so they do not pile up.
1260 # Strip out --silent because we don't want to record it for future runs.
1261 # Also quote any args containing shell meta-characters.
1262 # Make two passes to allow for proper duplicate-argument suppression.
1263 ac_configure_args=
1264 ac_configure_args0=
1265 ac_configure_args1=
1266 ac_sep=
1267 ac_must_keep_next=false
1268 for ac_pass in 1 2
1269 do
1270 for ac_arg
1271 do
1272 case $ac_arg in
1273 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1274 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1275 | -silent | --silent | --silen | --sile | --sil)
1276 continue ;;
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1279 esac
1280 case $ac_pass in
1281 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1282 2)
1283 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1284 if test $ac_must_keep_next = true; then
1285 ac_must_keep_next=false # Got value, back to normal.
1286 else
1287 case $ac_arg in
1288 *=* | --config-cache | -C | -disable-* | --disable-* \
1289 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1290 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1291 | -with-* | --with-* | -without-* | --without-* | --x)
1292 case "$ac_configure_args0 " in
1293 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1294 esac
1295 ;;
1296 -* ) ac_must_keep_next=true ;;
1297 esac
1298 fi
1299 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1300 # Get rid of the leading space.
1301 ac_sep=" "
1302 ;;
1303 esac
1304 done
1305 done
1306 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1307 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1308
1309 # When interrupted or exit'd, cleanup temporary files, and complete
1310 # config.log. We remove comments because anyway the quotes in there
1311 # would cause problems or look ugly.
1312 # WARNING: Be sure not to use single quotes in there, as some shells,
1313 # such as our DU 5.0 friend, will then `close' the trap.
1314 trap 'exit_status=$?
1315 # Save into config.log some information that might help in debugging.
1316 {
1317 echo
1318
1319 cat <<\_ASBOX
1320 ## ---------------- ##
1321 ## Cache variables. ##
1322 ## ---------------- ##
1323 _ASBOX
1324 echo
1325 # The following way of writing the cache mishandles newlines in values,
1326 {
1327 (set) 2>&1 |
1328 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1329 *ac_space=\ *)
1330 sed -n \
1331 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 ;;
1334 *)
1335 sed -n \
1336 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 ;;
1338 esac;
1339 }
1340 echo
1341
1342 cat <<\_ASBOX
1343 ## ----------------- ##
1344 ## Output variables. ##
1345 ## ----------------- ##
1346 _ASBOX
1347 echo
1348 for ac_var in $ac_subst_vars
1349 do
1350 eval ac_val=$`echo $ac_var`
1351 echo "$ac_var='"'"'$ac_val'"'"'"
1352 done | sort
1353 echo
1354
1355 if test -n "$ac_subst_files"; then
1356 cat <<\_ASBOX
1357 ## ------------- ##
1358 ## Output files. ##
1359 ## ------------- ##
1360 _ASBOX
1361 echo
1362 for ac_var in $ac_subst_files
1363 do
1364 eval ac_val=$`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1366 done | sort
1367 echo
1368 fi
1369
1370 if test -s confdefs.h; then
1371 cat <<\_ASBOX
1372 ## ----------- ##
1373 ## confdefs.h. ##
1374 ## ----------- ##
1375 _ASBOX
1376 echo
1377 sed "/^$/d" confdefs.h | sort
1378 echo
1379 fi
1380 test "$ac_signal" != 0 &&
1381 echo "$as_me: caught signal $ac_signal"
1382 echo "$as_me: exit $exit_status"
1383 } >&5
1384 rm -f core *.core &&
1385 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1386 exit $exit_status
1387 ' 0
1388 for ac_signal in 1 2 13 15; do
1389 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1390 done
1391 ac_signal=0
1392
1393 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1394 rm -rf conftest* confdefs.h
1395 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1396 echo >confdefs.h
1397
1398 # Predefined preprocessor variables.
1399
1400 cat >>confdefs.h <<_ACEOF
1401 #define PACKAGE_NAME "$PACKAGE_NAME"
1402 _ACEOF
1403
1404
1405 cat >>confdefs.h <<_ACEOF
1406 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1407 _ACEOF
1408
1409
1410 cat >>confdefs.h <<_ACEOF
1411 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1412 _ACEOF
1413
1414
1415 cat >>confdefs.h <<_ACEOF
1416 #define PACKAGE_STRING "$PACKAGE_STRING"
1417 _ACEOF
1418
1419
1420 cat >>confdefs.h <<_ACEOF
1421 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1422 _ACEOF
1423
1424
1425 # Let the site file select an alternate cache file if it wants to.
1426 # Prefer explicitly selected file to automatically selected ones.
1427 if test -z "$CONFIG_SITE"; then
1428 if test "x$prefix" != xNONE; then
1429 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1430 else
1431 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 fi
1433 fi
1434 for ac_site_file in $CONFIG_SITE; do
1435 if test -r "$ac_site_file"; then
1436 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1437 echo "$as_me: loading site script $ac_site_file" >&6;}
1438 sed 's/^/| /' "$ac_site_file" >&5
1439 . "$ac_site_file"
1440 fi
1441 done
1442
1443 if test -r "$cache_file"; then
1444 # Some versions of bash will fail to source /dev/null (special
1445 # files actually), so we avoid doing that.
1446 if test -f "$cache_file"; then
1447 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1448 echo "$as_me: loading cache $cache_file" >&6;}
1449 case $cache_file in
1450 [\\/]* | ?:[\\/]* ) . $cache_file;;
1451 *) . ./$cache_file;;
1452 esac
1453 fi
1454 else
1455 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1456 echo "$as_me: creating cache $cache_file" >&6;}
1457 >$cache_file
1458 fi
1459
1460 # Check that the precious variables saved in the cache have kept the same
1461 # value.
1462 ac_cache_corrupted=false
1463 for ac_var in `(set) 2>&1 |
1464 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1465 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1466 eval ac_new_set=\$ac_env_${ac_var}_set
1467 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1468 eval ac_new_val="\$ac_env_${ac_var}_value"
1469 case $ac_old_set,$ac_new_set in
1470 set,)
1471 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1472 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1473 ac_cache_corrupted=: ;;
1474 ,set)
1475 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1476 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1477 ac_cache_corrupted=: ;;
1478 ,);;
1479 *)
1480 if test "x$ac_old_val" != "x$ac_new_val"; then
1481 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1482 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1483 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1484 echo "$as_me: former value: $ac_old_val" >&2;}
1485 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1486 echo "$as_me: current value: $ac_new_val" >&2;}
1487 ac_cache_corrupted=:
1488 fi;;
1489 esac
1490 # Pass precious variables to config.status.
1491 if test "$ac_new_set" = set; then
1492 case $ac_new_val in
1493 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1494 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1495 *) ac_arg=$ac_var=$ac_new_val ;;
1496 esac
1497 case " $ac_configure_args " in
1498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1499 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1500 esac
1501 fi
1502 done
1503 if $ac_cache_corrupted; then
1504 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1505 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1506 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1507 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1508 { (exit 1); exit 1; }; }
1509 fi
1510
1511 ac_ext=c
1512 ac_cpp='$CPP $CPPFLAGS'
1513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546 ac_aux_dir=
1547 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1548 if test -f $ac_dir/install-sh; then
1549 ac_aux_dir=$ac_dir
1550 ac_install_sh="$ac_aux_dir/install-sh -c"
1551 break
1552 elif test -f $ac_dir/install.sh; then
1553 ac_aux_dir=$ac_dir
1554 ac_install_sh="$ac_aux_dir/install.sh -c"
1555 break
1556 elif test -f $ac_dir/shtool; then
1557 ac_aux_dir=$ac_dir
1558 ac_install_sh="$ac_aux_dir/shtool install -c"
1559 break
1560 fi
1561 done
1562 if test -z "$ac_aux_dir"; then
1563 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1564 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1565 { (exit 1); exit 1; }; }
1566 fi
1567 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1568 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1569 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1570
1571 # Make sure we can run config.sub.
1572 $ac_config_sub sun4 >/dev/null 2>&1 ||
1573 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1574 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1575 { (exit 1); exit 1; }; }
1576
1577 echo "$as_me:$LINENO: checking build system type" >&5
1578 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1579 if test "${ac_cv_build+set}" = set; then
1580 echo $ECHO_N "(cached) $ECHO_C" >&6
1581 else
1582 ac_cv_build_alias=$build_alias
1583 test -z "$ac_cv_build_alias" &&
1584 ac_cv_build_alias=`$ac_config_guess`
1585 test -z "$ac_cv_build_alias" &&
1586 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1587 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1588 { (exit 1); exit 1; }; }
1589 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1590 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1591 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1592 { (exit 1); exit 1; }; }
1593
1594 fi
1595 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1596 echo "${ECHO_T}$ac_cv_build" >&6
1597 build=$ac_cv_build
1598 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1599 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1600 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1601
1602
1603 echo "$as_me:$LINENO: checking host system type" >&5
1604 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1605 if test "${ac_cv_host+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 else
1608 ac_cv_host_alias=$host_alias
1609 test -z "$ac_cv_host_alias" &&
1610 ac_cv_host_alias=$ac_cv_build_alias
1611 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1612 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1613 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1614 { (exit 1); exit 1; }; }
1615
1616 fi
1617 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1618 echo "${ECHO_T}$ac_cv_host" >&6
1619 host=$ac_cv_host
1620 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1621 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1622 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1623
1624
1625 echo "$as_me:$LINENO: checking target system type" >&5
1626 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1627 if test "${ac_cv_target+set}" = set; then
1628 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 else
1630 ac_cv_target_alias=$target_alias
1631 test "x$ac_cv_target_alias" = "x" &&
1632 ac_cv_target_alias=$ac_cv_host_alias
1633 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1634 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1635 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1636 { (exit 1); exit 1; }; }
1637
1638 fi
1639 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1640 echo "${ECHO_T}$ac_cv_target" >&6
1641 target=$ac_cv_target
1642 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1643 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1644 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1645
1646
1647 # The aliases save the names the user supplied, while $host etc.
1648 # will get canonicalized.
1649 test -n "$target_alias" &&
1650 test "$program_prefix$program_suffix$program_transform_name" = \
1651 NONENONEs,x,x, &&
1652 program_prefix=${target_alias}-
1653
1654
1655
1656 wx_major_version_number=2
1657 wx_minor_version_number=5
1658 wx_release_number=3
1659 wx_subrelease_number=3
1660
1661 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1662 WX_VERSION=$WX_RELEASE.$wx_release_number
1663 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1664
1665 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1666
1667 WX_CURRENT=3
1668 WX_REVISION=0
1669 WX_AGE=3
1670
1671
1672
1673 USE_UNIX=1
1674 USE_OS2=0
1675 USE_WIN32=0
1676 USE_DOS=0
1677 USE_BEOS=0
1678 USE_MAC=0
1679
1680 USE_AIX=
1681 USE_BSD= USE_DARWIN= USE_FREEBSD=
1682 USE_GNU= USE_HPUX=
1683 USE_LINUX=
1684 USE_NETBSD=
1685 USE_OPENBSD=
1686 USE_OSF= USE_SGI=
1687 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1688 USE_ULTRIX=
1689 USE_UNIXWARE=
1690
1691 USE_ALPHA=
1692
1693 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1694
1695 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1696
1697 DEFAULT_wxUSE_COCOA=0
1698 DEFAULT_wxUSE_GTK=0
1699 DEFAULT_wxUSE_MAC=0
1700 DEFAULT_wxUSE_MGL=0
1701 DEFAULT_wxUSE_MICROWIN=0
1702 DEFAULT_wxUSE_MOTIF=0
1703 DEFAULT_wxUSE_MSW=0
1704 DEFAULT_wxUSE_PM=0
1705 DEFAULT_wxUSE_X11=0
1706
1707 DEFAULT_DEFAULT_wxUSE_COCOA=0
1708 DEFAULT_DEFAULT_wxUSE_GTK=0
1709 DEFAULT_DEFAULT_wxUSE_MAC=0
1710 DEFAULT_DEFAULT_wxUSE_MGL=0
1711 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1712 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1713 DEFAULT_DEFAULT_wxUSE_MSW=0
1714 DEFAULT_DEFAULT_wxUSE_PM=0
1715 DEFAULT_DEFAULT_wxUSE_X11=0
1716
1717 PROGRAM_EXT=
1718 SO_SUFFIX=so
1719 SAMPLES_RPATH_FLAG=
1720 SAMPLES_RPATH_POSTLINK=
1721
1722 case "${host}" in
1723 *-hp-hpux* )
1724 USE_HPUX=1
1725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1727 SO_SUFFIX=sl
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __HPUX__ 1
1730 _ACEOF
1731
1732 ;;
1733 *-*-linux* )
1734 USE_LINUX=1
1735 cat >>confdefs.h <<\_ACEOF
1736 #define __LINUX__ 1
1737 _ACEOF
1738
1739 TMP=`uname -m`
1740 if test "x$TMP" = "xalpha"; then
1741 USE_ALPHA=1
1742 cat >>confdefs.h <<\_ACEOF
1743 #define __ALPHA__ 1
1744 _ACEOF
1745
1746 fi
1747 DEFAULT_DEFAULT_wxUSE_GTK=1
1748 ;;
1749 *-*-gnu* | *-*-k*bsd*-gnu )
1750 USE_GNU=1
1751 TMP=`uname -m`
1752 if test "x$TMP" = "xalpha"; then
1753 USE_ALPHA=1
1754 cat >>confdefs.h <<\_ACEOF
1755 #define __ALPHA__ 1
1756 _ACEOF
1757
1758 fi
1759 DEFAULT_DEFAULT_wxUSE_GTK=1
1760 ;;
1761 *-*-irix5* | *-*-irix6* )
1762 USE_SGI=1
1763 USE_SVR4=1
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __SGI__ 1
1766 _ACEOF
1767
1768 cat >>confdefs.h <<\_ACEOF
1769 #define __SVR4__ 1
1770 _ACEOF
1771
1772 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1773 ;;
1774 *-*-solaris2* )
1775 USE_SUN=1
1776 USE_SOLARIS=1
1777 USE_SVR4=1
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __SUN__ 1
1780 _ACEOF
1781
1782 cat >>confdefs.h <<\_ACEOF
1783 #define __SOLARIS__ 1
1784 _ACEOF
1785
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __SVR4__ 1
1788 _ACEOF
1789
1790 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1791 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1792 ;;
1793 *-*-sunos4* )
1794 USE_SUN=1
1795 USE_SUNOS=1
1796 USE_BSD=1
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __SUN__ 1
1799 _ACEOF
1800
1801 cat >>confdefs.h <<\_ACEOF
1802 #define __SUNOS__ 1
1803 _ACEOF
1804
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __BSD__ 1
1807 _ACEOF
1808
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 ;;
1811 *-*-freebsd*)
1812 USE_BSD=1
1813 USE_FREEBSD=1
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __FREEBSD__ 1
1816 _ACEOF
1817
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __BSD__ 1
1820 _ACEOF
1821
1822 DEFAULT_DEFAULT_wxUSE_GTK=1
1823 ;;
1824 *-*-openbsd*)
1825 USE_BSD=1
1826 USE_OPENBSD=1
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __OPENBSD__ 1
1829 _ACEOF
1830
1831 cat >>confdefs.h <<\_ACEOF
1832 #define __BSD__ 1
1833 _ACEOF
1834
1835 DEFAULT_DEFAULT_wxUSE_GTK=1
1836 ;;
1837 *-*-netbsd*)
1838 USE_BSD=1
1839 USE_NETBSD=1
1840 cat >>confdefs.h <<\_ACEOF
1841 #define __NETBSD__ 1
1842 _ACEOF
1843
1844 cat >>confdefs.h <<\_ACEOF
1845 #define __BSD__ 1
1846 _ACEOF
1847
1848 DEFAULT_DEFAULT_wxUSE_GTK=1
1849 ;;
1850 *-*-osf* )
1851 USE_ALPHA=1
1852 USE_OSF=1
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __ALPHA__ 1
1855 _ACEOF
1856
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __OSF__ 1
1859 _ACEOF
1860
1861 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1862 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1863 ;;
1864 *-*-dgux5* )
1865 USE_ALPHA=1
1866 USE_SVR4=1
1867 cat >>confdefs.h <<\_ACEOF
1868 #define __ALPHA__ 1
1869 _ACEOF
1870
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __SVR4__ 1
1873 _ACEOF
1874
1875 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1876 ;;
1877 *-*-sysv5* )
1878 USE_SYSV=1
1879 USE_SVR4=1
1880 cat >>confdefs.h <<\_ACEOF
1881 #define __SYSV__ 1
1882 _ACEOF
1883
1884 cat >>confdefs.h <<\_ACEOF
1885 #define __SVR4__ 1
1886 _ACEOF
1887
1888 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1889 ;;
1890 *-*-aix* )
1891 USE_AIX=1
1892 USE_SYSV=1
1893 USE_SVR4=1
1894 SO_SUFFIX=a
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __AIX__ 1
1897 _ACEOF
1898
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __SYSV__ 1
1901 _ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __SVR4__ 1
1905 _ACEOF
1906
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1908 ;;
1909
1910 *-*-*UnixWare*)
1911 USE_SYSV=1
1912 USE_SVR4=1
1913 USE_UNIXWARE=1
1914 cat >>confdefs.h <<\_ACEOF
1915 #define __UNIXWARE__ 1
1916 _ACEOF
1917
1918 ;;
1919
1920 *-*-cygwin* | *-*-mingw32* )
1921 SO_SUFFIX=dll
1922 PROGRAM_EXT=".exe"
1923 RESCOMP=windres
1924 DEFAULT_DEFAULT_wxUSE_MSW=1
1925 ;;
1926
1927 *-pc-msdosdjgpp )
1928 USE_UNIX=0
1929 USE_DOS=1
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __DOS__ 1
1932 _ACEOF
1933
1934 PROGRAM_EXT=".exe"
1935 DEFAULT_DEFAULT_wxUSE_MGL=1
1936 LIBS="$LIBS -lstdc++"
1937 ;;
1938
1939 *-pc-os2_emx | *-pc-os2-emx )
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __EMX__ 1
1942 _ACEOF
1943
1944 USE_OS2=1
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __OS2__ 1
1947 _ACEOF
1948
1949 PROGRAM_EXT=".exe"
1950 DEFAULT_DEFAULT_wxUSE_PM=1
1951 CXX=gcc
1952 LDFLAGS="$LDFLAGS -Zcrtdll"
1953 ac_executable_extensions=".exe"
1954 export ac_executable_extensions
1955 ac_save_IFS="$IFS"
1956 IFS='\\'
1957 ac_TEMP_PATH=
1958 for ac_dir in $PATH; do
1959 IFS=$ac_save_IFS
1960 if test -z "$ac_TEMP_PATH"; then
1961 ac_TEMP_PATH="$ac_dir"
1962 else
1963 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1964 fi
1965 done
1966 export PATH="$ac_TEMP_PATH"
1967 unset ac_TEMP_PATH
1968 ;;
1969
1970 powerpc-*-darwin* )
1971 USE_BSD=1
1972 USE_DARWIN=1
1973 SO_SUFFIX=dylib
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __BSD__ 1
1976 _ACEOF
1977
1978 cat >>confdefs.h <<\_ACEOF
1979 #define __DARWIN__ 1
1980 _ACEOF
1981
1982 cat >>confdefs.h <<\_ACEOF
1983 #define __POWERPC__ 1
1984 _ACEOF
1985
1986 cat >>confdefs.h <<\_ACEOF
1987 #define TARGET_CARBON 1
1988 _ACEOF
1989
1990 DEFAULT_DEFAULT_wxUSE_MAC=1
1991 ;;
1992 powerpc-apple-macos* )
1993 USE_UNIX=0
1994 ac_cv_c_bigendian=yes
1995 SO_SUFFIX=shlib
1996 DEFAULT_DEFAULT_wxUSE_MAC=1
1997 ;;
1998
1999 *-*-beos* )
2000 USE_BEOS=1
2001 cat >>confdefs.h <<\_ACEOF
2002 #define __BEOS__ 1
2003 _ACEOF
2004
2005 ;;
2006
2007 *)
2008 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2009 echo "$as_me: error: unknown system type ${host}." >&2;}
2010 { (exit 1); exit 1; }; }
2011 esac
2012
2013
2014
2015
2016 wx_arg_cache_file="configarg.cache"
2017 echo "loading argument cache $wx_arg_cache_file"
2018 rm -f ${wx_arg_cache_file}.tmp
2019 touch ${wx_arg_cache_file}.tmp
2020 touch ${wx_arg_cache_file}
2021
2022
2023 DEBUG_CONFIGURE=0
2024 if test $DEBUG_CONFIGURE = 1; then
2025 DEFAULT_wxUSE_UNIVERSAL=no
2026 DEFAULT_wxUSE_STL=no
2027
2028 DEFAULT_wxUSE_NANOX=no
2029
2030 DEFAULT_wxUSE_THREADS=yes
2031
2032 DEFAULT_wxUSE_SHARED=yes
2033 DEFAULT_wxUSE_OPTIMISE=no
2034 DEFAULT_wxUSE_PROFILE=no
2035 DEFAULT_wxUSE_NO_DEPS=no
2036 DEFAULT_wxUSE_NO_RTTI=no
2037 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2038 DEFAULT_wxUSE_RPATH=yes
2039 DEFAULT_wxUSE_PERMISSIVE=no
2040 DEFAULT_wxUSE_DEBUG_FLAG=yes
2041 DEFAULT_wxUSE_DEBUG_INFO=yes
2042 DEFAULT_wxUSE_DEBUG_GDB=yes
2043 DEFAULT_wxUSE_MEM_TRACING=no
2044 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2045 DEFAULT_wxUSE_DMALLOC=no
2046 DEFAULT_wxUSE_APPLE_IEEE=no
2047
2048 DEFAULT_wxUSE_EXCEPTIONS=no
2049 DEFAULT_wxUSE_LOG=yes
2050 DEFAULT_wxUSE_LOGWINDOW=no
2051 DEFAULT_wxUSE_LOGGUI=no
2052 DEFAULT_wxUSE_LOGDIALOG=no
2053
2054 DEFAULT_wxUSE_GUI=yes
2055 DEFAULT_wxUSE_CONTROLS=no
2056
2057 DEFAULT_wxUSE_REGEX=no
2058 DEFAULT_wxUSE_XML=no
2059 DEFAULT_wxUSE_EXPAT=no
2060 DEFAULT_wxUSE_ZLIB=no
2061 DEFAULT_wxUSE_LIBPNG=no
2062 DEFAULT_wxUSE_LIBJPEG=no
2063 DEFAULT_wxUSE_LIBTIFF=no
2064 DEFAULT_wxUSE_LIBXPM=no
2065 DEFAULT_wxUSE_LIBMSPACK=no
2066 DEFAULT_wxUSE_LIBSDL=no
2067 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2068 DEFAULT_wxUSE_ODBC=no
2069 DEFAULT_wxUSE_OPENGL=no
2070
2071 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2072 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2073 DEFAULT_wxUSE_STD_IOSTREAM=no
2074 DEFAULT_wxUSE_CMDLINE_PARSER=no
2075 DEFAULT_wxUSE_DATETIME=no
2076 DEFAULT_wxUSE_TIMER=no
2077 DEFAULT_wxUSE_STOPWATCH=no
2078 DEFAULT_wxUSE_FILE=no
2079 DEFAULT_wxUSE_FFILE=no
2080 DEFAULT_wxUSE_TEXTBUFFER=no
2081 DEFAULT_wxUSE_TEXTFILE=no
2082 DEFAULT_wxUSE_SOUND=no
2083 DEFAULT_wxUSE_MEDIACTRL=no
2084 DEFAULT_wxUSE_DIRECTSHOW=no
2085 DEFAULT_wxUSE_INTL=no
2086 DEFAULT_wxUSE_CONFIG=no
2087 DEFAULT_wxUSE_FONTMAP=no
2088 DEFAULT_wxUSE_STREAMS=no
2089 DEFAULT_wxUSE_SOCKETS=no
2090 DEFAULT_wxUSE_OLE=no
2091 DEFAULT_wxUSE_DATAOBJ=no
2092 DEFAULT_wxUSE_DIALUP_MANAGER=no
2093 DEFAULT_wxUSE_JOYSTICK=no
2094 DEFAULT_wxUSE_DYNLIB_CLASS=no
2095 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2096 DEFAULT_wxUSE_LONGLONG=no
2097 DEFAULT_wxUSE_GEOMETRY=no
2098
2099 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2100 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2101 DEFAULT_wxUSE_POSTSCRIPT=no
2102
2103 DEFAULT_wxUSE_CLIPBOARD=no
2104 DEFAULT_wxUSE_TOOLTIPS=no
2105 DEFAULT_wxUSE_DRAG_AND_DROP=no
2106 DEFAULT_wxUSE_DRAGIMAGE=no
2107 DEFAULT_wxUSE_SPLINES=no
2108
2109 DEFAULT_wxUSE_MDI=no
2110 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2111 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2112 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2113
2114 DEFAULT_wxUSE_RESOURCES=no
2115 DEFAULT_wxUSE_CONSTRAINTS=no
2116 DEFAULT_wxUSE_IPC=no
2117 DEFAULT_wxUSE_HELP=no
2118 DEFAULT_wxUSE_MS_HTML_HELP=no
2119 DEFAULT_wxUSE_WXHTML_HELP=no
2120 DEFAULT_wxUSE_TREELAYOUT=no
2121 DEFAULT_wxUSE_METAFILE=no
2122 DEFAULT_wxUSE_MIMETYPE=no
2123 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2124 DEFAULT_wxUSE_PROTOCOL=no
2125 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2126 DEFAULT_wxUSE_PROTOCOL_FTP=no
2127 DEFAULT_wxUSE_PROTOCOL_FILE=no
2128 DEFAULT_wxUSE_URL=no
2129
2130 DEFAULT_wxUSE_COMMONDLGS=no
2131 DEFAULT_wxUSE_CHOICEDLG=no
2132 DEFAULT_wxUSE_COLOURDLG=no
2133 DEFAULT_wxUSE_DIRDLG=no
2134 DEFAULT_wxUSE_FILEDLG=no
2135 DEFAULT_wxUSE_FINDREPLDLG=no
2136 DEFAULT_wxUSE_FONTDLG=no
2137 DEFAULT_wxUSE_MSGDLG=no
2138 DEFAULT_wxUSE_NUMBERDLG=no
2139 DEFAULT_wxUSE_TEXTDLG=no
2140 DEFAULT_wxUSE_SPLASH=no
2141 DEFAULT_wxUSE_STARTUP_TIPS=no
2142 DEFAULT_wxUSE_PROGRESSDLG=no
2143 DEFAULT_wxUSE_WIZARDDLG=no
2144
2145 DEFAULT_wxUSE_MENUS=no
2146 DEFAULT_wxUSE_MINIFRAME=no
2147 DEFAULT_wxUSE_HTML=no
2148 DEFAULT_wxUSE_XRC=no
2149 DEFAULT_wxUSE_WEBKIT=no
2150 DEFAULT_wxUSE_FILESYSTEM=no
2151 DEFAULT_wxUSE_FS_INET=no
2152 DEFAULT_wxUSE_FS_ZIP=no
2153 DEFAULT_wxUSE_BUSYINFO=no
2154 DEFAULT_wxUSE_ZIPSTREAM=no
2155 DEFAULT_wxUSE_VALIDATORS=no
2156
2157 DEFAULT_wxUSE_ACCEL=no
2158 DEFAULT_wxUSE_BUTTON=no
2159 DEFAULT_wxUSE_BMPBUTTON=no
2160 DEFAULT_wxUSE_CALCTRL=no
2161 DEFAULT_wxUSE_CARET=no
2162 DEFAULT_wxUSE_CHECKBOX=no
2163 DEFAULT_wxUSE_CHECKLST=no
2164 DEFAULT_wxUSE_CHOICE=no
2165 DEFAULT_wxUSE_CHOICEBOOK=no
2166 DEFAULT_wxUSE_COMBOBOX=no
2167 DEFAULT_wxUSE_DISPLAY=no
2168 DEFAULT_wxUSE_GAUGE=no
2169 DEFAULT_wxUSE_GRID=no
2170 DEFAULT_wxUSE_IMAGLIST=no
2171 DEFAULT_wxUSE_LISTBOOK=no
2172 DEFAULT_wxUSE_LISTBOX=no
2173 DEFAULT_wxUSE_LISTCTRL=no
2174 DEFAULT_wxUSE_NOTEBOOK=no
2175 DEFAULT_wxUSE_RADIOBOX=no
2176 DEFAULT_wxUSE_RADIOBTN=no
2177 DEFAULT_wxUSE_SASH=no
2178 DEFAULT_wxUSE_SCROLLBAR=no
2179 DEFAULT_wxUSE_SLIDER=no
2180 DEFAULT_wxUSE_SPINBTN=no
2181 DEFAULT_wxUSE_SPINCTRL=no
2182 DEFAULT_wxUSE_SPLITTER=no
2183 DEFAULT_wxUSE_STATBMP=no
2184 DEFAULT_wxUSE_STATBOX=no
2185 DEFAULT_wxUSE_STATLINE=no
2186 DEFAULT_wxUSE_STATTEXT=no
2187 DEFAULT_wxUSE_STATUSBAR=yes
2188 DEFAULT_wxUSE_TABDIALOG=no
2189 DEFAULT_wxUSE_TEXTCTRL=no
2190 DEFAULT_wxUSE_TOGGLEBTN=no
2191 DEFAULT_wxUSE_TOOLBAR=no
2192 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2193 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2194 DEFAULT_wxUSE_TREECTRL=no
2195 DEFAULT_wxUSE_POPUPWIN=no
2196 DEFAULT_wxUSE_TIPWINDOW=no
2197
2198 DEFAULT_wxUSE_UNICODE=no
2199 DEFAULT_wxUSE_UNICODE_MSLU=no
2200 DEFAULT_wxUSE_WCSRTOMBS=no
2201
2202 DEFAULT_wxUSE_PALETTE=no
2203 DEFAULT_wxUSE_IMAGE=no
2204 DEFAULT_wxUSE_GIF=no
2205 DEFAULT_wxUSE_PCX=no
2206 DEFAULT_wxUSE_PNM=no
2207 DEFAULT_wxUSE_IFF=no
2208 DEFAULT_wxUSE_XPM=no
2209 DEFAULT_wxUSE_ICO_CUR=no
2210 DEFAULT_wxUSE_ACCESSIBILITY=no
2211
2212 DEFAULT_wxUSE_MONOLITHIC=no
2213 DEFAULT_wxUSE_PLUGINS=no
2214 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2215 else
2216 DEFAULT_wxUSE_UNIVERSAL=no
2217 DEFAULT_wxUSE_STL=no
2218
2219 DEFAULT_wxUSE_NANOX=no
2220
2221 DEFAULT_wxUSE_THREADS=yes
2222
2223 DEFAULT_wxUSE_SHARED=yes
2224 DEFAULT_wxUSE_OPTIMISE=yes
2225 DEFAULT_wxUSE_PROFILE=no
2226 DEFAULT_wxUSE_NO_DEPS=no
2227 DEFAULT_wxUSE_NO_RTTI=no
2228 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2229 DEFAULT_wxUSE_RPATH=yes
2230 DEFAULT_wxUSE_PERMISSIVE=no
2231 DEFAULT_wxUSE_DEBUG_FLAG=no
2232 DEFAULT_wxUSE_DEBUG_INFO=no
2233 DEFAULT_wxUSE_DEBUG_GDB=no
2234 DEFAULT_wxUSE_MEM_TRACING=no
2235 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2236 DEFAULT_wxUSE_DMALLOC=no
2237 DEFAULT_wxUSE_APPLE_IEEE=yes
2238
2239 DEFAULT_wxUSE_EXCEPTIONS=yes
2240 DEFAULT_wxUSE_LOG=yes
2241 DEFAULT_wxUSE_LOGWINDOW=yes
2242 DEFAULT_wxUSE_LOGGUI=yes
2243 DEFAULT_wxUSE_LOGDIALOG=yes
2244
2245 DEFAULT_wxUSE_GUI=yes
2246
2247 DEFAULT_wxUSE_REGEX=yes
2248 DEFAULT_wxUSE_XML=yes
2249 DEFAULT_wxUSE_EXPAT=yes
2250 DEFAULT_wxUSE_ZLIB=yes
2251 DEFAULT_wxUSE_LIBPNG=yes
2252 DEFAULT_wxUSE_LIBJPEG=yes
2253 DEFAULT_wxUSE_LIBTIFF=yes
2254 DEFAULT_wxUSE_LIBXPM=yes
2255 DEFAULT_wxUSE_LIBMSPACK=yes
2256 DEFAULT_wxUSE_LIBSDL=no
2257 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2258 DEFAULT_wxUSE_ODBC=no
2259 DEFAULT_wxUSE_OPENGL=no
2260
2261 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2262 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2263 DEFAULT_wxUSE_STD_IOSTREAM=no
2264 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2265 DEFAULT_wxUSE_DATETIME=yes
2266 DEFAULT_wxUSE_TIMER=yes
2267 DEFAULT_wxUSE_STOPWATCH=yes
2268 DEFAULT_wxUSE_FILE=yes
2269 DEFAULT_wxUSE_FFILE=yes
2270 DEFAULT_wxUSE_TEXTBUFFER=yes
2271 DEFAULT_wxUSE_TEXTFILE=yes
2272 DEFAULT_wxUSE_SOUND=yes
2273 DEFAULT_wxUSE_MEDIACTRL=no
2274 DEFAULT_wxUSE_DIRECTSHOW=no
2275 DEFAULT_wxUSE_INTL=yes
2276 DEFAULT_wxUSE_CONFIG=yes
2277 DEFAULT_wxUSE_FONTMAP=yes
2278 DEFAULT_wxUSE_STREAMS=yes
2279 DEFAULT_wxUSE_SOCKETS=yes
2280 DEFAULT_wxUSE_OLE=yes
2281 DEFAULT_wxUSE_DATAOBJ=yes
2282 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2283 DEFAULT_wxUSE_JOYSTICK=yes
2284 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2285 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2286 DEFAULT_wxUSE_LONGLONG=yes
2287 DEFAULT_wxUSE_GEOMETRY=yes
2288
2289 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2290 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2291 DEFAULT_wxUSE_POSTSCRIPT=yes
2292
2293 DEFAULT_wxUSE_CLIPBOARD=yes
2294 DEFAULT_wxUSE_TOOLTIPS=yes
2295 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2296 DEFAULT_wxUSE_DRAGIMAGE=yes
2297 DEFAULT_wxUSE_SPLINES=yes
2298
2299 DEFAULT_wxUSE_MDI=yes
2300 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2301 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2302 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2303
2304 DEFAULT_wxUSE_RESOURCES=no
2305 DEFAULT_wxUSE_CONSTRAINTS=yes
2306 DEFAULT_wxUSE_IPC=yes
2307 DEFAULT_wxUSE_HELP=yes
2308 DEFAULT_wxUSE_MS_HTML_HELP=yes
2309 DEFAULT_wxUSE_WXHTML_HELP=yes
2310 DEFAULT_wxUSE_TREELAYOUT=yes
2311 DEFAULT_wxUSE_METAFILE=yes
2312 DEFAULT_wxUSE_MIMETYPE=yes
2313 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2314 DEFAULT_wxUSE_PROTOCOL=yes
2315 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2316 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2317 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2318 DEFAULT_wxUSE_URL=yes
2319
2320 DEFAULT_wxUSE_COMMONDLGS=yes
2321 DEFAULT_wxUSE_CHOICEDLG=yes
2322 DEFAULT_wxUSE_COLOURDLG=yes
2323 DEFAULT_wxUSE_DIRDLG=yes
2324 DEFAULT_wxUSE_FILEDLG=yes
2325 DEFAULT_wxUSE_FINDREPLDLG=yes
2326 DEFAULT_wxUSE_FONTDLG=yes
2327 DEFAULT_wxUSE_MSGDLG=yes
2328 DEFAULT_wxUSE_NUMBERDLG=yes
2329 DEFAULT_wxUSE_TEXTDLG=yes
2330 DEFAULT_wxUSE_SPLASH=yes
2331 DEFAULT_wxUSE_STARTUP_TIPS=yes
2332 DEFAULT_wxUSE_PROGRESSDLG=yes
2333 DEFAULT_wxUSE_WIZARDDLG=yes
2334
2335 DEFAULT_wxUSE_MENUS=yes
2336 DEFAULT_wxUSE_MINIFRAME=yes
2337 DEFAULT_wxUSE_HTML=yes
2338 DEFAULT_wxUSE_XRC=yes
2339 DEFAULT_wxUSE_WEBKIT=yes
2340 DEFAULT_wxUSE_FILESYSTEM=yes
2341 DEFAULT_wxUSE_FS_INET=yes
2342 DEFAULT_wxUSE_FS_ZIP=yes
2343 DEFAULT_wxUSE_BUSYINFO=yes
2344 DEFAULT_wxUSE_ZIPSTREAM=yes
2345 DEFAULT_wxUSE_VALIDATORS=yes
2346
2347 DEFAULT_wxUSE_ACCEL=yes
2348 DEFAULT_wxUSE_BUTTON=yes
2349 DEFAULT_wxUSE_BMPBUTTON=yes
2350 DEFAULT_wxUSE_CALCTRL=yes
2351 DEFAULT_wxUSE_CARET=yes
2352 DEFAULT_wxUSE_CHECKBOX=yes
2353 DEFAULT_wxUSE_CHECKLST=yes
2354 DEFAULT_wxUSE_CHOICE=yes
2355 DEFAULT_wxUSE_CHOICEBOOK=yes
2356 DEFAULT_wxUSE_COMBOBOX=yes
2357 DEFAULT_wxUSE_DISPLAY=yes
2358 DEFAULT_wxUSE_GAUGE=yes
2359 DEFAULT_wxUSE_GRID=yes
2360 DEFAULT_wxUSE_IMAGLIST=yes
2361 DEFAULT_wxUSE_LISTBOOK=yes
2362 DEFAULT_wxUSE_LISTBOX=yes
2363 DEFAULT_wxUSE_LISTCTRL=yes
2364 DEFAULT_wxUSE_NOTEBOOK=yes
2365 DEFAULT_wxUSE_RADIOBOX=yes
2366 DEFAULT_wxUSE_RADIOBTN=yes
2367 DEFAULT_wxUSE_SASH=yes
2368 DEFAULT_wxUSE_SCROLLBAR=yes
2369 DEFAULT_wxUSE_SLIDER=yes
2370 DEFAULT_wxUSE_SPINBTN=yes
2371 DEFAULT_wxUSE_SPINCTRL=yes
2372 DEFAULT_wxUSE_SPLITTER=yes
2373 DEFAULT_wxUSE_STATBMP=yes
2374 DEFAULT_wxUSE_STATBOX=yes
2375 DEFAULT_wxUSE_STATLINE=yes
2376 DEFAULT_wxUSE_STATTEXT=yes
2377 DEFAULT_wxUSE_STATUSBAR=yes
2378 DEFAULT_wxUSE_TABDIALOG=no
2379 DEFAULT_wxUSE_TEXTCTRL=yes
2380 DEFAULT_wxUSE_TOGGLEBTN=yes
2381 DEFAULT_wxUSE_TOOLBAR=yes
2382 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2383 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2384 DEFAULT_wxUSE_TREECTRL=yes
2385 DEFAULT_wxUSE_POPUPWIN=yes
2386 DEFAULT_wxUSE_TIPWINDOW=yes
2387
2388 DEFAULT_wxUSE_UNICODE=no
2389 DEFAULT_wxUSE_UNICODE_MSLU=yes
2390 DEFAULT_wxUSE_WCSRTOMBS=no
2391
2392 DEFAULT_wxUSE_PALETTE=yes
2393 DEFAULT_wxUSE_IMAGE=yes
2394 DEFAULT_wxUSE_GIF=yes
2395 DEFAULT_wxUSE_PCX=yes
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_PNM=yes
2398 DEFAULT_wxUSE_XPM=yes
2399 DEFAULT_wxUSE_ICO_CUR=yes
2400 DEFAULT_wxUSE_ACCESSIBILITY=no
2401
2402 DEFAULT_wxUSE_MONOLITHIC=no
2403 DEFAULT_wxUSE_PLUGINS=no
2404 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2405
2406 DEFAULT_wxUSE_GTK2=yes
2407 fi
2408
2409
2410
2411 for toolkit in `echo $ALL_TOOLKITS`; do
2412 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2413 if test "x$LINE" != "x" ; then
2414 has_toolkit_in_cache=1
2415 eval "DEFAULT_$LINE"
2416 eval "CACHE_$toolkit=1"
2417 fi
2418 done
2419
2420
2421
2422 enablestring=
2423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2424 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2425 no_cache=0
2426 # Check whether --enable-gui or --disable-gui was given.
2427 if test "${enable_gui+set}" = set; then
2428 enableval="$enable_gui"
2429
2430 if test "$enableval" = yes; then
2431 ac_cv_use_gui='wxUSE_GUI=yes'
2432 else
2433 ac_cv_use_gui='wxUSE_GUI=no'
2434 fi
2435
2436 else
2437
2438 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x ; then
2440 eval "DEFAULT_$LINE"
2441 else
2442 no_cache=1
2443 fi
2444
2445 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2446
2447 fi;
2448
2449 eval "$ac_cv_use_gui"
2450 if test "$no_cache" != 1; then
2451 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2452 fi
2453
2454 if test "$wxUSE_GUI" = yes; then
2455 echo "$as_me:$LINENO: result: yes" >&5
2456 echo "${ECHO_T}yes" >&6
2457 else
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2460 fi
2461
2462
2463 enablestring=
2464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2465 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2466 no_cache=0
2467 # Check whether --enable-monolithic or --disable-monolithic was given.
2468 if test "${enable_monolithic+set}" = set; then
2469 enableval="$enable_monolithic"
2470
2471 if test "$enableval" = yes; then
2472 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2473 else
2474 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2475 fi
2476
2477 else
2478
2479 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x ; then
2481 eval "DEFAULT_$LINE"
2482 else
2483 no_cache=1
2484 fi
2485
2486 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2487
2488 fi;
2489
2490 eval "$ac_cv_use_monolithic"
2491 if test "$no_cache" != 1; then
2492 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2493 fi
2494
2495 if test "$wxUSE_MONOLITHIC" = yes; then
2496 echo "$as_me:$LINENO: result: yes" >&5
2497 echo "${ECHO_T}yes" >&6
2498 else
2499 echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6
2501 fi
2502
2503
2504 enablestring=
2505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2506 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2507 no_cache=0
2508 # Check whether --enable-plugins or --disable-plugins was given.
2509 if test "${enable_plugins+set}" = set; then
2510 enableval="$enable_plugins"
2511
2512 if test "$enableval" = yes; then
2513 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2514 else
2515 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2516 fi
2517
2518 else
2519
2520 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x ; then
2522 eval "DEFAULT_$LINE"
2523 else
2524 no_cache=1
2525 fi
2526
2527 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2528
2529 fi;
2530
2531 eval "$ac_cv_use_plugins"
2532 if test "$no_cache" != 1; then
2533 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2534 fi
2535
2536 if test "$wxUSE_PLUGINS" = yes; then
2537 echo "$as_me:$LINENO: result: yes" >&5
2538 echo "${ECHO_T}yes" >&6
2539 else
2540 echo "$as_me:$LINENO: result: no" >&5
2541 echo "${ECHO_T}no" >&6
2542 fi
2543
2544
2545 if test "$wxUSE_GUI" = "yes"; then
2546
2547
2548 enablestring=
2549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2550 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2551 no_cache=0
2552 # Check whether --enable-universal or --disable-universal was given.
2553 if test "${enable_universal+set}" = set; then
2554 enableval="$enable_universal"
2555
2556 if test "$enableval" = yes; then
2557 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2558 else
2559 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2560 fi
2561
2562 else
2563
2564 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x ; then
2566 eval "DEFAULT_$LINE"
2567 else
2568 no_cache=1
2569 fi
2570
2571 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2572
2573 fi;
2574
2575 eval "$ac_cv_use_universal"
2576 if test "$no_cache" != 1; then
2577 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2578 fi
2579
2580 if test "$wxUSE_UNIVERSAL" = yes; then
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2583 else
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2586 fi
2587
2588
2589 # Check whether --with-gtk or --without-gtk was given.
2590 if test "${with_gtk+set}" = set; then
2591 withval="$with_gtk"
2592 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2593 fi;
2594
2595 # Check whether --with-motif or --without-motif was given.
2596 if test "${with_motif+set}" = set; then
2597 withval="$with_motif"
2598 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2599 fi;
2600
2601 # Check whether --with-mac or --without-mac was given.
2602 if test "${with_mac+set}" = set; then
2603 withval="$with_mac"
2604 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2605 fi;
2606
2607 # Check whether --with-cocoa or --without-cocoa was given.
2608 if test "${with_cocoa+set}" = set; then
2609 withval="$with_cocoa"
2610 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2611 fi;
2612
2613 # Check whether --with-wine or --without-wine was given.
2614 if test "${with_wine+set}" = set; then
2615 withval="$with_wine"
2616 wxUSE_WINE="$withval" CACHE_WINE=1
2617 fi;
2618
2619 # Check whether --with-msw or --without-msw was given.
2620 if test "${with_msw+set}" = set; then
2621 withval="$with_msw"
2622 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2623 fi;
2624
2625 # Check whether --with-pm or --without-pm was given.
2626 if test "${with_pm+set}" = set; then
2627 withval="$with_pm"
2628 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2629 fi;
2630
2631 # Check whether --with-mgl or --without-mgl was given.
2632 if test "${with_mgl+set}" = set; then
2633 withval="$with_mgl"
2634 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2635 fi;
2636
2637 # Check whether --with-microwin or --without-microwin was given.
2638 if test "${with_microwin+set}" = set; then
2639 withval="$with_microwin"
2640 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2641 fi;
2642
2643 # Check whether --with-x11 or --without-x11 was given.
2644 if test "${with_x11+set}" = set; then
2645 withval="$with_x11"
2646 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2647 fi;
2648
2649 enablestring=
2650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2651 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2652 no_cache=0
2653 # Check whether --enable-nanox or --disable-nanox was given.
2654 if test "${enable_nanox+set}" = set; then
2655 enableval="$enable_nanox"
2656
2657 if test "$enableval" = yes; then
2658 ac_cv_use_nanox='wxUSE_NANOX=yes'
2659 else
2660 ac_cv_use_nanox='wxUSE_NANOX=no'
2661 fi
2662
2663 else
2664
2665 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x ; then
2667 eval "DEFAULT_$LINE"
2668 else
2669 no_cache=1
2670 fi
2671
2672 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2673
2674 fi;
2675
2676 eval "$ac_cv_use_nanox"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2679 fi
2680
2681 if test "$wxUSE_NANOX" = yes; then
2682 echo "$as_me:$LINENO: result: yes" >&5
2683 echo "${ECHO_T}yes" >&6
2684 else
2685 echo "$as_me:$LINENO: result: no" >&5
2686 echo "${ECHO_T}no" >&6
2687 fi
2688
2689
2690
2691 enablestring=
2692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2693 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2694 no_cache=0
2695 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2696 if test "${enable_gtk2+set}" = set; then
2697 enableval="$enable_gtk2"
2698
2699 if test "$enableval" = yes; then
2700 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2701 else
2702 ac_cv_use_gtk2='wxUSE_GTK2=no'
2703 fi
2704
2705 else
2706
2707 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x ; then
2709 eval "DEFAULT_$LINE"
2710 else
2711 no_cache=1
2712 fi
2713
2714 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2715
2716 fi;
2717
2718 eval "$ac_cv_use_gtk2"
2719 if test "$no_cache" != 1; then
2720 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2721 fi
2722
2723 if test "$wxUSE_GTK2" = yes; then
2724 echo "$as_me:$LINENO: result: yes" >&5
2725 echo "${ECHO_T}yes" >&6
2726 else
2727 echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2729 fi
2730
2731
2732 enablestring=
2733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2734 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2735 no_cache=0
2736 # Check whether --enable-gpe or --disable-gpe was given.
2737 if test "${enable_gpe+set}" = set; then
2738 enableval="$enable_gpe"
2739
2740 if test "$enableval" = yes; then
2741 ac_cv_use_gpe='wxUSE_GPE=yes'
2742 else
2743 ac_cv_use_gpe='wxUSE_GPE=no'
2744 fi
2745
2746 else
2747
2748 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x ; then
2750 eval "DEFAULT_$LINE"
2751 else
2752 no_cache=1
2753 fi
2754
2755 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2756
2757 fi;
2758
2759 eval "$ac_cv_use_gpe"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2762 fi
2763
2764 if test "$wxUSE_GPE" = yes; then
2765 echo "$as_me:$LINENO: result: yes" >&5
2766 echo "${ECHO_T}yes" >&6
2767 else
2768 echo "$as_me:$LINENO: result: no" >&5
2769 echo "${ECHO_T}no" >&6
2770 fi
2771
2772
2773
2774 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2775 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2776 no_cache=0
2777
2778 # Check whether --with-libpng or --without-libpng was given.
2779 if test "${with_libpng+set}" = set; then
2780 withval="$with_libpng"
2781
2782 if test "$withval" = yes; then
2783 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2784 elif test "$withval" = no; then
2785 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2786 elif test "$withval" = sys; then
2787 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2788 elif test "$withval" = builtin; then
2789 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2790 else
2791 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2792 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2793 { (exit 1); exit 1; }; }
2794 fi
2795
2796 else
2797
2798 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x ; then
2800 eval "DEFAULT_$LINE"
2801 else
2802 no_cache=1
2803 fi
2804
2805 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2806
2807 fi;
2808
2809 eval "$ac_cv_use_libpng"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2812 fi
2813
2814 if test "$wxUSE_LIBPNG" = yes; then
2815 echo "$as_me:$LINENO: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2817 elif test "$wxUSE_LIBPNG" = no; then
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2820 elif test "$wxUSE_LIBPNG" = sys; then
2821 echo "$as_me:$LINENO: result: system version" >&5
2822 echo "${ECHO_T}system version" >&6
2823 elif test "$wxUSE_LIBPNG" = builtin; then
2824 echo "$as_me:$LINENO: result: builtin version" >&5
2825 echo "${ECHO_T}builtin version" >&6
2826 else
2827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2828 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2829 { (exit 1); exit 1; }; }
2830 fi
2831
2832
2833 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2834 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2835 no_cache=0
2836
2837 # Check whether --with-libjpeg or --without-libjpeg was given.
2838 if test "${with_libjpeg+set}" = set; then
2839 withval="$with_libjpeg"
2840
2841 if test "$withval" = yes; then
2842 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2843 elif test "$withval" = no; then
2844 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2845 elif test "$withval" = sys; then
2846 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2847 elif test "$withval" = builtin; then
2848 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2849 else
2850 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2851 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2852 { (exit 1); exit 1; }; }
2853 fi
2854
2855 else
2856
2857 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x ; then
2859 eval "DEFAULT_$LINE"
2860 else
2861 no_cache=1
2862 fi
2863
2864 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2865
2866 fi;
2867
2868 eval "$ac_cv_use_libjpeg"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2871 fi
2872
2873 if test "$wxUSE_LIBJPEG" = yes; then
2874 echo "$as_me:$LINENO: result: yes" >&5
2875 echo "${ECHO_T}yes" >&6
2876 elif test "$wxUSE_LIBJPEG" = no; then
2877 echo "$as_me:$LINENO: result: no" >&5
2878 echo "${ECHO_T}no" >&6
2879 elif test "$wxUSE_LIBJPEG" = sys; then
2880 echo "$as_me:$LINENO: result: system version" >&5
2881 echo "${ECHO_T}system version" >&6
2882 elif test "$wxUSE_LIBJPEG" = builtin; then
2883 echo "$as_me:$LINENO: result: builtin version" >&5
2884 echo "${ECHO_T}builtin version" >&6
2885 else
2886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2887 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2888 { (exit 1); exit 1; }; }
2889 fi
2890
2891
2892 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2893 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2894 no_cache=0
2895
2896 # Check whether --with-libtiff or --without-libtiff was given.
2897 if test "${with_libtiff+set}" = set; then
2898 withval="$with_libtiff"
2899
2900 if test "$withval" = yes; then
2901 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2902 elif test "$withval" = no; then
2903 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2904 elif test "$withval" = sys; then
2905 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2906 elif test "$withval" = builtin; then
2907 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2908 else
2909 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2910 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2911 { (exit 1); exit 1; }; }
2912 fi
2913
2914 else
2915
2916 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x ; then
2918 eval "DEFAULT_$LINE"
2919 else
2920 no_cache=1
2921 fi
2922
2923 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2924
2925 fi;
2926
2927 eval "$ac_cv_use_libtiff"
2928 if test "$no_cache" != 1; then
2929 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2930 fi
2931
2932 if test "$wxUSE_LIBTIFF" = yes; then
2933 echo "$as_me:$LINENO: result: yes" >&5
2934 echo "${ECHO_T}yes" >&6
2935 elif test "$wxUSE_LIBTIFF" = no; then
2936 echo "$as_me:$LINENO: result: no" >&5
2937 echo "${ECHO_T}no" >&6
2938 elif test "$wxUSE_LIBTIFF" = sys; then
2939 echo "$as_me:$LINENO: result: system version" >&5
2940 echo "${ECHO_T}system version" >&6
2941 elif test "$wxUSE_LIBTIFF" = builtin; then
2942 echo "$as_me:$LINENO: result: builtin version" >&5
2943 echo "${ECHO_T}builtin version" >&6
2944 else
2945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2946 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2947 { (exit 1); exit 1; }; }
2948 fi
2949
2950
2951 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2952 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2953 no_cache=0
2954
2955 # Check whether --with-libxpm or --without-libxpm was given.
2956 if test "${with_libxpm+set}" = set; then
2957 withval="$with_libxpm"
2958
2959 if test "$withval" = yes; then
2960 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2961 elif test "$withval" = no; then
2962 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2963 elif test "$withval" = sys; then
2964 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2965 elif test "$withval" = builtin; then
2966 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2967 else
2968 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2969 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2970 { (exit 1); exit 1; }; }
2971 fi
2972
2973 else
2974
2975 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x ; then
2977 eval "DEFAULT_$LINE"
2978 else
2979 no_cache=1
2980 fi
2981
2982 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2983
2984 fi;
2985
2986 eval "$ac_cv_use_libxpm"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2989 fi
2990
2991 if test "$wxUSE_LIBXPM" = yes; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2994 elif test "$wxUSE_LIBXPM" = no; then
2995 echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6
2997 elif test "$wxUSE_LIBXPM" = sys; then
2998 echo "$as_me:$LINENO: result: system version" >&5
2999 echo "${ECHO_T}system version" >&6
3000 elif test "$wxUSE_LIBXPM" = builtin; then
3001 echo "$as_me:$LINENO: result: builtin version" >&5
3002 echo "${ECHO_T}builtin version" >&6
3003 else
3004 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3005 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3006 { (exit 1); exit 1; }; }
3007 fi
3008
3009
3010 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
3011 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
3012 no_cache=0
3013
3014 # Check whether --with-libmspack or --without-libmspack was given.
3015 if test "${with_libmspack+set}" = set; then
3016 withval="$with_libmspack"
3017
3018 if test "$withval" = yes; then
3019 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3020 else
3021 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3022 fi
3023
3024 else
3025
3026 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x ; then
3028 eval "DEFAULT_$LINE"
3029 else
3030 no_cache=1
3031 fi
3032
3033 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3034
3035 fi;
3036
3037 eval "$ac_cv_use_libmspack"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3040 fi
3041
3042 if test "$wxUSE_LIBMSPACK" = yes; then
3043 echo "$as_me:$LINENO: result: yes" >&5
3044 echo "${ECHO_T}yes" >&6
3045 else
3046 echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6
3048 fi
3049
3050
3051 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3052 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3053 no_cache=0
3054
3055 # Check whether --with-sdl or --without-sdl was given.
3056 if test "${with_sdl+set}" = set; then
3057 withval="$with_sdl"
3058
3059 if test "$withval" = yes; then
3060 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3061 else
3062 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3063 fi
3064
3065 else
3066
3067 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3068 if test "x$LINE" != x ; then
3069 eval "DEFAULT_$LINE"
3070 else
3071 no_cache=1
3072 fi
3073
3074 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3075
3076 fi;
3077
3078 eval "$ac_cv_use_sdl"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3081 fi
3082
3083 if test "$wxUSE_LIBSDL" = yes; then
3084 echo "$as_me:$LINENO: result: yes" >&5
3085 echo "${ECHO_T}yes" >&6
3086 else
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3089 fi
3090
3091
3092 echo "$as_me:$LINENO: checking for --with-gnomeprint" >&5
3093 echo $ECHO_N "checking for --with-gnomeprint... $ECHO_C" >&6
3094 no_cache=0
3095
3096 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3097 if test "${with_gnomeprint+set}" = set; then
3098 withval="$with_gnomeprint"
3099
3100 if test "$withval" = yes; then
3101 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3102 else
3103 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3104 fi
3105
3106 else
3107
3108 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3109 if test "x$LINE" != x ; then
3110 eval "DEFAULT_$LINE"
3111 else
3112 no_cache=1
3113 fi
3114
3115 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3116
3117 fi;
3118
3119 eval "$ac_cv_use_gnomeprint"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3122 fi
3123
3124 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3125 echo "$as_me:$LINENO: result: yes" >&5
3126 echo "${ECHO_T}yes" >&6
3127 else
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3130 fi
3131
3132
3133 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3134 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3135 no_cache=0
3136
3137 # Check whether --with-opengl or --without-opengl was given.
3138 if test "${with_opengl+set}" = set; then
3139 withval="$with_opengl"
3140
3141 if test "$withval" = yes; then
3142 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3143 else
3144 ac_cv_use_opengl='wxUSE_OPENGL=no'
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3157
3158 fi;
3159
3160 eval "$ac_cv_use_opengl"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3163 fi
3164
3165 if test "$wxUSE_OPENGL" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 else
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 fi
3172
3173
3174 fi
3175
3176
3177 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3178 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3179 no_cache=0
3180
3181 # Check whether --with-dmalloc or --without-dmalloc was given.
3182 if test "${with_dmalloc+set}" = set; then
3183 withval="$with_dmalloc"
3184
3185 if test "$withval" = yes; then
3186 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3187 else
3188 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3189 fi
3190
3191 else
3192
3193 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3194 if test "x$LINE" != x ; then
3195 eval "DEFAULT_$LINE"
3196 else
3197 no_cache=1
3198 fi
3199
3200 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3201
3202 fi;
3203
3204 eval "$ac_cv_use_dmalloc"
3205 if test "$no_cache" != 1; then
3206 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3207 fi
3208
3209 if test "$wxUSE_DMALLOC" = yes; then
3210 echo "$as_me:$LINENO: result: yes" >&5
3211 echo "${ECHO_T}yes" >&6
3212 else
3213 echo "$as_me:$LINENO: result: no" >&5
3214 echo "${ECHO_T}no" >&6
3215 fi
3216
3217
3218 echo "$as_me:$LINENO: checking for --with-regex" >&5
3219 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3220 no_cache=0
3221
3222 # Check whether --with-regex or --without-regex was given.
3223 if test "${with_regex+set}" = set; then
3224 withval="$with_regex"
3225
3226 if test "$withval" = yes; then
3227 ac_cv_use_regex='wxUSE_REGEX=yes'
3228 elif test "$withval" = no; then
3229 ac_cv_use_regex='wxUSE_REGEX=no'
3230 elif test "$withval" = sys; then
3231 ac_cv_use_regex='wxUSE_REGEX=sys'
3232 elif test "$withval" = builtin; then
3233 ac_cv_use_regex='wxUSE_REGEX=builtin'
3234 else
3235 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3236 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3237 { (exit 1); exit 1; }; }
3238 fi
3239
3240 else
3241
3242 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3245 else
3246 no_cache=1
3247 fi
3248
3249 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3250
3251 fi;
3252
3253 eval "$ac_cv_use_regex"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test "$wxUSE_REGEX" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3261 elif test "$wxUSE_REGEX" = no; then
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3264 elif test "$wxUSE_REGEX" = sys; then
3265 echo "$as_me:$LINENO: result: system version" >&5
3266 echo "${ECHO_T}system version" >&6
3267 elif test "$wxUSE_REGEX" = builtin; then
3268 echo "$as_me:$LINENO: result: builtin version" >&5
3269 echo "${ECHO_T}builtin version" >&6
3270 else
3271 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3272 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3273 { (exit 1); exit 1; }; }
3274 fi
3275
3276
3277 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3278 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3279 no_cache=0
3280
3281 # Check whether --with-zlib or --without-zlib was given.
3282 if test "${with_zlib+set}" = set; then
3283 withval="$with_zlib"
3284
3285 if test "$withval" = yes; then
3286 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3287 elif test "$withval" = no; then
3288 ac_cv_use_zlib='wxUSE_ZLIB=no'
3289 elif test "$withval" = sys; then
3290 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3291 elif test "$withval" = builtin; then
3292 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3293 else
3294 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3295 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3296 { (exit 1); exit 1; }; }
3297 fi
3298
3299 else
3300
3301 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3302 if test "x$LINE" != x ; then
3303 eval "DEFAULT_$LINE"
3304 else
3305 no_cache=1
3306 fi
3307
3308 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3309
3310 fi;
3311
3312 eval "$ac_cv_use_zlib"
3313 if test "$no_cache" != 1; then
3314 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3315 fi
3316
3317 if test "$wxUSE_ZLIB" = yes; then
3318 echo "$as_me:$LINENO: result: yes" >&5
3319 echo "${ECHO_T}yes" >&6
3320 elif test "$wxUSE_ZLIB" = no; then
3321 echo "$as_me:$LINENO: result: no" >&5
3322 echo "${ECHO_T}no" >&6
3323 elif test "$wxUSE_ZLIB" = sys; then
3324 echo "$as_me:$LINENO: result: system version" >&5
3325 echo "${ECHO_T}system version" >&6
3326 elif test "$wxUSE_ZLIB" = builtin; then
3327 echo "$as_me:$LINENO: result: builtin version" >&5
3328 echo "${ECHO_T}builtin version" >&6
3329 else
3330 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3331 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3332 { (exit 1); exit 1; }; }
3333 fi
3334
3335
3336 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3337 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3338 no_cache=0
3339
3340 # Check whether --with-odbc or --without-odbc was given.
3341 if test "${with_odbc+set}" = set; then
3342 withval="$with_odbc"
3343
3344 if test "$withval" = yes; then
3345 ac_cv_use_odbc='wxUSE_ODBC=yes'
3346 elif test "$withval" = no; then
3347 ac_cv_use_odbc='wxUSE_ODBC=no'
3348 elif test "$withval" = sys; then
3349 ac_cv_use_odbc='wxUSE_ODBC=sys'
3350 elif test "$withval" = builtin; then
3351 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3352 else
3353 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3354 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3355 { (exit 1); exit 1; }; }
3356 fi
3357
3358 else
3359
3360 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3361 if test "x$LINE" != x ; then
3362 eval "DEFAULT_$LINE"
3363 else
3364 no_cache=1
3365 fi
3366
3367 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3368
3369 fi;
3370
3371 eval "$ac_cv_use_odbc"
3372 if test "$no_cache" != 1; then
3373 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3374 fi
3375
3376 if test "$wxUSE_ODBC" = yes; then
3377 echo "$as_me:$LINENO: result: yes" >&5
3378 echo "${ECHO_T}yes" >&6
3379 elif test "$wxUSE_ODBC" = no; then
3380 echo "$as_me:$LINENO: result: no" >&5
3381 echo "${ECHO_T}no" >&6
3382 elif test "$wxUSE_ODBC" = sys; then
3383 echo "$as_me:$LINENO: result: system version" >&5
3384 echo "${ECHO_T}system version" >&6
3385 elif test "$wxUSE_ODBC" = builtin; then
3386 echo "$as_me:$LINENO: result: builtin version" >&5
3387 echo "${ECHO_T}builtin version" >&6
3388 else
3389 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3390 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3391 { (exit 1); exit 1; }; }
3392 fi
3393
3394
3395 echo "$as_me:$LINENO: checking for --with-expat" >&5
3396 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3397 no_cache=0
3398
3399 # Check whether --with-expat or --without-expat was given.
3400 if test "${with_expat+set}" = set; then
3401 withval="$with_expat"
3402
3403 if test "$withval" = yes; then
3404 ac_cv_use_expat='wxUSE_EXPAT=yes'
3405 elif test "$withval" = no; then
3406 ac_cv_use_expat='wxUSE_EXPAT=no'
3407 elif test "$withval" = sys; then
3408 ac_cv_use_expat='wxUSE_EXPAT=sys'
3409 elif test "$withval" = builtin; then
3410 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3411 else
3412 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3413 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3414 { (exit 1); exit 1; }; }
3415 fi
3416
3417 else
3418
3419 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x ; then
3421 eval "DEFAULT_$LINE"
3422 else
3423 no_cache=1
3424 fi
3425
3426 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3427
3428 fi;
3429
3430 eval "$ac_cv_use_expat"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3433 fi
3434
3435 if test "$wxUSE_EXPAT" = yes; then
3436 echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6
3438 elif test "$wxUSE_EXPAT" = no; then
3439 echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6
3441 elif test "$wxUSE_EXPAT" = sys; then
3442 echo "$as_me:$LINENO: result: system version" >&5
3443 echo "${ECHO_T}system version" >&6
3444 elif test "$wxUSE_EXPAT" = builtin; then
3445 echo "$as_me:$LINENO: result: builtin version" >&5
3446 echo "${ECHO_T}builtin version" >&6
3447 else
3448 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3449 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3450 { (exit 1); exit 1; }; }
3451 fi
3452
3453
3454
3455
3456 enablestring=
3457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3458 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3459 no_cache=0
3460 # Check whether --enable-shared or --disable-shared was given.
3461 if test "${enable_shared+set}" = set; then
3462 enableval="$enable_shared"
3463
3464 if test "$enableval" = yes; then
3465 ac_cv_use_shared='wxUSE_SHARED=yes'
3466 else
3467 ac_cv_use_shared='wxUSE_SHARED=no'
3468 fi
3469
3470 else
3471
3472 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x ; then
3474 eval "DEFAULT_$LINE"
3475 else
3476 no_cache=1
3477 fi
3478
3479 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3480
3481 fi;
3482
3483 eval "$ac_cv_use_shared"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3486 fi
3487
3488 if test "$wxUSE_SHARED" = yes; then
3489 echo "$as_me:$LINENO: result: yes" >&5
3490 echo "${ECHO_T}yes" >&6
3491 else
3492 echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6
3494 fi
3495
3496
3497 enablestring=
3498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3499 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3500 no_cache=0
3501 # Check whether --enable-optimise or --disable-optimise was given.
3502 if test "${enable_optimise+set}" = set; then
3503 enableval="$enable_optimise"
3504
3505 if test "$enableval" = yes; then
3506 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3507 else
3508 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3509 fi
3510
3511 else
3512
3513 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3514 if test "x$LINE" != x ; then
3515 eval "DEFAULT_$LINE"
3516 else
3517 no_cache=1
3518 fi
3519
3520 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3521
3522 fi;
3523
3524 eval "$ac_cv_use_optimise"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3527 fi
3528
3529 if test "$wxUSE_OPTIMISE" = yes; then
3530 echo "$as_me:$LINENO: result: yes" >&5
3531 echo "${ECHO_T}yes" >&6
3532 else
3533 echo "$as_me:$LINENO: result: no" >&5
3534 echo "${ECHO_T}no" >&6
3535 fi
3536
3537
3538 enablestring=
3539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3540 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3541 no_cache=0
3542 # Check whether --enable-debug or --disable-debug was given.
3543 if test "${enable_debug+set}" = set; then
3544 enableval="$enable_debug"
3545
3546 if test "$enableval" = yes; then
3547 ac_cv_use_debug='wxUSE_DEBUG=yes'
3548 else
3549 ac_cv_use_debug='wxUSE_DEBUG=no'
3550 fi
3551
3552 else
3553
3554 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x ; then
3556 eval "DEFAULT_$LINE"
3557 else
3558 no_cache=1
3559 fi
3560
3561 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3562
3563 fi;
3564
3565 eval "$ac_cv_use_debug"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3568 fi
3569
3570 if test "$wxUSE_DEBUG" = yes; then
3571 echo "$as_me:$LINENO: result: yes" >&5
3572 echo "${ECHO_T}yes" >&6
3573 else
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3576 fi
3577
3578
3579 enablestring=
3580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3581 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3582 no_cache=0
3583 # Check whether --enable-stl or --disable-stl was given.
3584 if test "${enable_stl+set}" = set; then
3585 enableval="$enable_stl"
3586
3587 if test "$enableval" = yes; then
3588 ac_cv_use_stl='wxUSE_STL=yes'
3589 else
3590 ac_cv_use_stl='wxUSE_STL=no'
3591 fi
3592
3593 else
3594
3595 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3596 if test "x$LINE" != x ; then
3597 eval "DEFAULT_$LINE"
3598 else
3599 no_cache=1
3600 fi
3601
3602 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3603
3604 fi;
3605
3606 eval "$ac_cv_use_stl"
3607 if test "$no_cache" != 1; then
3608 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3609 fi
3610
3611 if test "$wxUSE_STL" = yes; then
3612 echo "$as_me:$LINENO: result: yes" >&5
3613 echo "${ECHO_T}yes" >&6
3614 else
3615 echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3617 fi
3618
3619 if test "$USE_OS2" = "1"; then
3620
3621 enablestring=
3622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3623 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3624 no_cache=0
3625 # Check whether --enable-omf or --disable-omf was given.
3626 if test "${enable_omf+set}" = set; then
3627 enableval="$enable_omf"
3628
3629 if test "$enableval" = yes; then
3630 ac_cv_use_omf='wxUSE_OMF=yes'
3631 else
3632 ac_cv_use_omf='wxUSE_OMF=no'
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3645
3646 fi;
3647
3648 eval "$ac_cv_use_omf"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_OMF" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 else
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 fi
3660
3661 fi
3662
3663 if test "$wxUSE_DEBUG" = "yes"; then
3664 DEFAULT_wxUSE_DEBUG_FLAG=yes
3665 DEFAULT_wxUSE_DEBUG_INFO=yes
3666 BUILD=debug
3667 elif test "$wxUSE_DEBUG" = "no"; then
3668 DEFAULT_wxUSE_DEBUG_FLAG=no
3669 DEFAULT_wxUSE_DEBUG_INFO=no
3670 BUILD=release
3671 fi
3672
3673
3674 enablestring=
3675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3676 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3677 no_cache=0
3678 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3679 if test "${enable_debug_flag+set}" = set; then
3680 enableval="$enable_debug_flag"
3681
3682 if test "$enableval" = yes; then
3683 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3684 else
3685 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3686 fi
3687
3688 else
3689
3690 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x ; then
3692 eval "DEFAULT_$LINE"
3693 else
3694 no_cache=1
3695 fi
3696
3697 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3698
3699 fi;
3700
3701 eval "$ac_cv_use_debug_flag"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3704 fi
3705
3706 if test "$wxUSE_DEBUG_FLAG" = yes; then
3707 echo "$as_me:$LINENO: result: yes" >&5
3708 echo "${ECHO_T}yes" >&6
3709 else
3710 echo "$as_me:$LINENO: result: no" >&5
3711 echo "${ECHO_T}no" >&6
3712 fi
3713
3714
3715 enablestring=
3716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3717 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3718 no_cache=0
3719 # Check whether --enable-debug_info or --disable-debug_info was given.
3720 if test "${enable_debug_info+set}" = set; then
3721 enableval="$enable_debug_info"
3722
3723 if test "$enableval" = yes; then
3724 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3725 else
3726 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3727 fi
3728
3729 else
3730
3731 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x ; then
3733 eval "DEFAULT_$LINE"
3734 else
3735 no_cache=1
3736 fi
3737
3738 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3739
3740 fi;
3741
3742 eval "$ac_cv_use_debug_info"
3743 if test "$no_cache" != 1; then
3744 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3745 fi
3746
3747 if test "$wxUSE_DEBUG_INFO" = yes; then
3748 echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6
3750 else
3751 echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6
3753 fi
3754
3755
3756 enablestring=
3757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3758 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3759 no_cache=0
3760 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3761 if test "${enable_debug_gdb+set}" = set; then
3762 enableval="$enable_debug_gdb"
3763
3764 if test "$enableval" = yes; then
3765 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3766 else
3767 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3768 fi
3769
3770 else
3771
3772 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x ; then
3774 eval "DEFAULT_$LINE"
3775 else
3776 no_cache=1
3777 fi
3778
3779 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3780
3781 fi;
3782
3783 eval "$ac_cv_use_debug_gdb"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3786 fi
3787
3788 if test "$wxUSE_DEBUG_GDB" = yes; then
3789 echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6
3791 else
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3794 fi
3795
3796
3797 enablestring=
3798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3799 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3800 no_cache=0
3801 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3802 if test "${enable_debug_cntxt+set}" = set; then
3803 enableval="$enable_debug_cntxt"
3804
3805 if test "$enableval" = yes; then
3806 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3807 else
3808 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3809 fi
3810
3811 else
3812
3813 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "DEFAULT_$LINE"
3816 else
3817 no_cache=1
3818 fi
3819
3820 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3821
3822 fi;
3823
3824 eval "$ac_cv_use_debug_cntxt"
3825 if test "$no_cache" != 1; then
3826 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3827 fi
3828
3829 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3830 echo "$as_me:$LINENO: result: yes" >&5
3831 echo "${ECHO_T}yes" >&6
3832 else
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3835 fi
3836
3837
3838 enablestring=
3839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3840 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3841 no_cache=0
3842 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3843 if test "${enable_mem_tracing+set}" = set; then
3844 enableval="$enable_mem_tracing"
3845
3846 if test "$enableval" = yes; then
3847 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3848 else
3849 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3850 fi
3851
3852 else
3853
3854 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x ; then
3856 eval "DEFAULT_$LINE"
3857 else
3858 no_cache=1
3859 fi
3860
3861 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3862
3863 fi;
3864
3865 eval "$ac_cv_use_mem_tracing"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3868 fi
3869
3870 if test "$wxUSE_MEM_TRACING" = yes; then
3871 echo "$as_me:$LINENO: result: yes" >&5
3872 echo "${ECHO_T}yes" >&6
3873 else
3874 echo "$as_me:$LINENO: result: no" >&5
3875 echo "${ECHO_T}no" >&6
3876 fi
3877
3878
3879 enablestring=
3880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3881 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3882 no_cache=0
3883 # Check whether --enable-profile or --disable-profile was given.
3884 if test "${enable_profile+set}" = set; then
3885 enableval="$enable_profile"
3886
3887 if test "$enableval" = yes; then
3888 ac_cv_use_profile='wxUSE_PROFILE=yes'
3889 else
3890 ac_cv_use_profile='wxUSE_PROFILE=no'
3891 fi
3892
3893 else
3894
3895 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3896 if test "x$LINE" != x ; then
3897 eval "DEFAULT_$LINE"
3898 else
3899 no_cache=1
3900 fi
3901
3902 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3903
3904 fi;
3905
3906 eval "$ac_cv_use_profile"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3909 fi
3910
3911 if test "$wxUSE_PROFILE" = yes; then
3912 echo "$as_me:$LINENO: result: yes" >&5
3913 echo "${ECHO_T}yes" >&6
3914 else
3915 echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6
3917 fi
3918
3919
3920 enablestring=
3921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3922 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3923 no_cache=0
3924 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3925 if test "${enable_no_rtti+set}" = set; then
3926 enableval="$enable_no_rtti"
3927
3928 if test "$enableval" = yes; then
3929 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3930 else
3931 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3932 fi
3933
3934 else
3935
3936 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x ; then
3938 eval "DEFAULT_$LINE"
3939 else
3940 no_cache=1
3941 fi
3942
3943 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3944
3945 fi;
3946
3947 eval "$ac_cv_use_no_rtti"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3950 fi
3951
3952 if test "$wxUSE_NO_RTTI" = yes; then
3953 echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6
3955 else
3956 echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6
3958 fi
3959
3960
3961 enablestring=
3962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3963 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3964 no_cache=0
3965 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3966 if test "${enable_no_exceptions+set}" = set; then
3967 enableval="$enable_no_exceptions"
3968
3969 if test "$enableval" = yes; then
3970 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3971 else
3972 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3973 fi
3974
3975 else
3976
3977 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x ; then
3979 eval "DEFAULT_$LINE"
3980 else
3981 no_cache=1
3982 fi
3983
3984 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3985
3986 fi;
3987
3988 eval "$ac_cv_use_no_exceptions"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3991 fi
3992
3993 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3994 echo "$as_me:$LINENO: result: yes" >&5
3995 echo "${ECHO_T}yes" >&6
3996 else
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
3999 fi
4000
4001
4002 enablestring=
4003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4004 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4005 no_cache=0
4006 # Check whether --enable-permissive or --disable-permissive was given.
4007 if test "${enable_permissive+set}" = set; then
4008 enableval="$enable_permissive"
4009
4010 if test "$enableval" = yes; then
4011 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4012 else
4013 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4014 fi
4015
4016 else
4017
4018 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x ; then
4020 eval "DEFAULT_$LINE"
4021 else
4022 no_cache=1
4023 fi
4024
4025 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4026
4027 fi;
4028
4029 eval "$ac_cv_use_permissive"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4032 fi
4033
4034 if test "$wxUSE_PERMISSIVE" = yes; then
4035 echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6
4037 else
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4040 fi
4041
4042
4043 enablestring=
4044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4045 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4046 no_cache=0
4047 # Check whether --enable-no_deps or --disable-no_deps was given.
4048 if test "${enable_no_deps+set}" = set; then
4049 enableval="$enable_no_deps"
4050
4051 if test "$enableval" = yes; then
4052 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4053 else
4054 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4055 fi
4056
4057 else
4058
4059 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4062 else
4063 no_cache=1
4064 fi
4065
4066 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4067
4068 fi;
4069
4070 eval "$ac_cv_use_no_deps"
4071 if test "$no_cache" != 1; then
4072 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4073 fi
4074
4075 if test "$wxUSE_NO_DEPS" = yes; then
4076 echo "$as_me:$LINENO: result: yes" >&5
4077 echo "${ECHO_T}yes" >&6
4078 else
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4081 fi
4082
4083
4084
4085 enablestring=
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4088 no_cache=0
4089 # Check whether --enable-compat22 or --disable-compat22 was given.
4090 if test "${enable_compat22+set}" = set; then
4091 enableval="$enable_compat22"
4092
4093 if test "$enableval" = yes; then
4094 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4095 else
4096 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4109
4110 fi;
4111
4112 eval "$ac_cv_use_compat22"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4115 fi
4116
4117 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4120 else
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4123 fi
4124
4125
4126 enablestring=disable
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4129 no_cache=0
4130 # Check whether --enable-compat24 or --disable-compat24 was given.
4131 if test "${enable_compat24+set}" = set; then
4132 enableval="$enable_compat24"
4133
4134 if test "$enableval" = yes; then
4135 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4136 else
4137 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4138 fi
4139
4140 else
4141
4142 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4145 else
4146 no_cache=1
4147 fi
4148
4149 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4150
4151 fi;
4152
4153 eval "$ac_cv_use_compat24"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4156 fi
4157
4158 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4161 else
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4164 fi
4165
4166
4167
4168 enablestring=
4169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4170 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4171 no_cache=0
4172 # Check whether --enable-rpath or --disable-rpath was given.
4173 if test "${enable_rpath+set}" = set; then
4174 enableval="$enable_rpath"
4175
4176 if test "$enableval" = yes; then
4177 ac_cv_use_rpath='wxUSE_RPATH=yes'
4178 else
4179 ac_cv_use_rpath='wxUSE_RPATH=no'
4180 fi
4181
4182 else
4183
4184 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x ; then
4186 eval "DEFAULT_$LINE"
4187 else
4188 no_cache=1
4189 fi
4190
4191 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4192
4193 fi;
4194
4195 eval "$ac_cv_use_rpath"
4196 if test "$no_cache" != 1; then
4197 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4198 fi
4199
4200 if test "$wxUSE_RPATH" = yes; then
4201 echo "$as_me:$LINENO: result: yes" >&5
4202 echo "${ECHO_T}yes" >&6
4203 else
4204 echo "$as_me:$LINENO: result: no" >&5
4205 echo "${ECHO_T}no" >&6
4206 fi
4207
4208
4209
4210
4211
4212 enablestring=
4213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4214 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4215 no_cache=0
4216 # Check whether --enable-intl or --disable-intl was given.
4217 if test "${enable_intl+set}" = set; then
4218 enableval="$enable_intl"
4219
4220 if test "$enableval" = yes; then
4221 ac_cv_use_intl='wxUSE_INTL=yes'
4222 else
4223 ac_cv_use_intl='wxUSE_INTL=no'
4224 fi
4225
4226 else
4227
4228 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4229 if test "x$LINE" != x ; then
4230 eval "DEFAULT_$LINE"
4231 else
4232 no_cache=1
4233 fi
4234
4235 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4236
4237 fi;
4238
4239 eval "$ac_cv_use_intl"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4242 fi
4243
4244 if test "$wxUSE_INTL" = yes; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4247 else
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4250 fi
4251
4252
4253 enablestring=
4254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4255 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4256 no_cache=0
4257 # Check whether --enable-config or --disable-config was given.
4258 if test "${enable_config+set}" = set; then
4259 enableval="$enable_config"
4260
4261 if test "$enableval" = yes; then
4262 ac_cv_use_config='wxUSE_CONFIG=yes'
4263 else
4264 ac_cv_use_config='wxUSE_CONFIG=no'
4265 fi
4266
4267 else
4268
4269 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x ; then
4271 eval "DEFAULT_$LINE"
4272 else
4273 no_cache=1
4274 fi
4275
4276 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4277
4278 fi;
4279
4280 eval "$ac_cv_use_config"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4283 fi
4284
4285 if test "$wxUSE_CONFIG" = yes; then
4286 echo "$as_me:$LINENO: result: yes" >&5
4287 echo "${ECHO_T}yes" >&6
4288 else
4289 echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6
4291 fi
4292
4293
4294
4295 enablestring=
4296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4297 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4298 no_cache=0
4299 # Check whether --enable-protocols or --disable-protocols was given.
4300 if test "${enable_protocols+set}" = set; then
4301 enableval="$enable_protocols"
4302
4303 if test "$enableval" = yes; then
4304 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4305 else
4306 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4307 fi
4308
4309 else
4310
4311 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4312 if test "x$LINE" != x ; then
4313 eval "DEFAULT_$LINE"
4314 else
4315 no_cache=1
4316 fi
4317
4318 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4319
4320 fi;
4321
4322 eval "$ac_cv_use_protocols"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4325 fi
4326
4327 if test "$wxUSE_PROTOCOL" = yes; then
4328 echo "$as_me:$LINENO: result: yes" >&5
4329 echo "${ECHO_T}yes" >&6
4330 else
4331 echo "$as_me:$LINENO: result: no" >&5
4332 echo "${ECHO_T}no" >&6
4333 fi
4334
4335
4336 enablestring=
4337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4338 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4339 no_cache=0
4340 # Check whether --enable-ftp or --disable-ftp was given.
4341 if test "${enable_ftp+set}" = set; then
4342 enableval="$enable_ftp"
4343
4344 if test "$enableval" = yes; then
4345 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4346 else
4347 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4348 fi
4349
4350 else
4351
4352 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x ; then
4354 eval "DEFAULT_$LINE"
4355 else
4356 no_cache=1
4357 fi
4358
4359 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4360
4361 fi;
4362
4363 eval "$ac_cv_use_ftp"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4366 fi
4367
4368 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4369 echo "$as_me:$LINENO: result: yes" >&5
4370 echo "${ECHO_T}yes" >&6
4371 else
4372 echo "$as_me:$LINENO: result: no" >&5
4373 echo "${ECHO_T}no" >&6
4374 fi
4375
4376
4377 enablestring=
4378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4379 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4380 no_cache=0
4381 # Check whether --enable-http or --disable-http was given.
4382 if test "${enable_http+set}" = set; then
4383 enableval="$enable_http"
4384
4385 if test "$enableval" = yes; then
4386 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4387 else
4388 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4389 fi
4390
4391 else
4392
4393 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x ; then
4395 eval "DEFAULT_$LINE"
4396 else
4397 no_cache=1
4398 fi
4399
4400 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4401
4402 fi;
4403
4404 eval "$ac_cv_use_http"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4407 fi
4408
4409 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4410 echo "$as_me:$LINENO: result: yes" >&5
4411 echo "${ECHO_T}yes" >&6
4412 else
4413 echo "$as_me:$LINENO: result: no" >&5
4414 echo "${ECHO_T}no" >&6
4415 fi
4416
4417
4418 enablestring=
4419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4420 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4421 no_cache=0
4422 # Check whether --enable-fileproto or --disable-fileproto was given.
4423 if test "${enable_fileproto+set}" = set; then
4424 enableval="$enable_fileproto"
4425
4426 if test "$enableval" = yes; then
4427 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4428 else
4429 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4430 fi
4431
4432 else
4433
4434 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4435 if test "x$LINE" != x ; then
4436 eval "DEFAULT_$LINE"
4437 else
4438 no_cache=1
4439 fi
4440
4441 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4442
4443 fi;
4444
4445 eval "$ac_cv_use_fileproto"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4448 fi
4449
4450 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4451 echo "$as_me:$LINENO: result: yes" >&5
4452 echo "${ECHO_T}yes" >&6
4453 else
4454 echo "$as_me:$LINENO: result: no" >&5
4455 echo "${ECHO_T}no" >&6
4456 fi
4457
4458
4459 enablestring=
4460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4461 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4462 no_cache=0
4463 # Check whether --enable-sockets or --disable-sockets was given.
4464 if test "${enable_sockets+set}" = set; then
4465 enableval="$enable_sockets"
4466
4467 if test "$enableval" = yes; then
4468 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4469 else
4470 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4471 fi
4472
4473 else
4474
4475 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x ; then
4477 eval "DEFAULT_$LINE"
4478 else
4479 no_cache=1
4480 fi
4481
4482 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4483
4484 fi;
4485
4486 eval "$ac_cv_use_sockets"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4489 fi
4490
4491 if test "$wxUSE_SOCKETS" = yes; then
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4494 else
4495 echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6
4497 fi
4498
4499
4500 enablestring=
4501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4503 no_cache=0
4504 # Check whether --enable-ole or --disable-ole was given.
4505 if test "${enable_ole+set}" = set; then
4506 enableval="$enable_ole"
4507
4508 if test "$enableval" = yes; then
4509 ac_cv_use_ole='wxUSE_OLE=yes'
4510 else
4511 ac_cv_use_ole='wxUSE_OLE=no'
4512 fi
4513
4514 else
4515
4516 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x ; then
4518 eval "DEFAULT_$LINE"
4519 else
4520 no_cache=1
4521 fi
4522
4523 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4524
4525 fi;
4526
4527 eval "$ac_cv_use_ole"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4530 fi
4531
4532 if test "$wxUSE_OLE" = yes; then
4533 echo "$as_me:$LINENO: result: yes" >&5
4534 echo "${ECHO_T}yes" >&6
4535 else
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4538 fi
4539
4540
4541 enablestring=
4542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4544 no_cache=0
4545 # Check whether --enable-dataobj or --disable-dataobj was given.
4546 if test "${enable_dataobj+set}" = set; then
4547 enableval="$enable_dataobj"
4548
4549 if test "$enableval" = yes; then
4550 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4551 else
4552 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4553 fi
4554
4555 else
4556
4557 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x ; then
4559 eval "DEFAULT_$LINE"
4560 else
4561 no_cache=1
4562 fi
4563
4564 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4565
4566 fi;
4567
4568 eval "$ac_cv_use_dataobj"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4571 fi
4572
4573 if test "$wxUSE_DATAOBJ" = yes; then
4574 echo "$as_me:$LINENO: result: yes" >&5
4575 echo "${ECHO_T}yes" >&6
4576 else
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4579 fi
4580
4581
4582
4583 enablestring=
4584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4586 no_cache=0
4587 # Check whether --enable-ipc or --disable-ipc was given.
4588 if test "${enable_ipc+set}" = set; then
4589 enableval="$enable_ipc"
4590
4591 if test "$enableval" = yes; then
4592 ac_cv_use_ipc='wxUSE_IPC=yes'
4593 else
4594 ac_cv_use_ipc='wxUSE_IPC=no'
4595 fi
4596
4597 else
4598
4599 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x ; then
4601 eval "DEFAULT_$LINE"
4602 else
4603 no_cache=1
4604 fi
4605
4606 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4607
4608 fi;
4609
4610 eval "$ac_cv_use_ipc"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4613 fi
4614
4615 if test "$wxUSE_IPC" = yes; then
4616 echo "$as_me:$LINENO: result: yes" >&5
4617 echo "${ECHO_T}yes" >&6
4618 else
4619 echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6
4621 fi
4622
4623
4624
4625 enablestring=
4626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4628 no_cache=0
4629 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4630 if test "${enable_apple_ieee+set}" = set; then
4631 enableval="$enable_apple_ieee"
4632
4633 if test "$enableval" = yes; then
4634 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4635 else
4636 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4637 fi
4638
4639 else
4640
4641 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4649
4650 fi;
4651
4652 eval "$ac_cv_use_apple_ieee"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4655 fi
4656
4657 if test "$wxUSE_APPLE_IEEE" = yes; then
4658 echo "$as_me:$LINENO: result: yes" >&5
4659 echo "${ECHO_T}yes" >&6
4660 else
4661 echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6
4663 fi
4664
4665
4666 enablestring=
4667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4669 no_cache=0
4670 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4671 if test "${enable_catch_segvs+set}" = set; then
4672 enableval="$enable_catch_segvs"
4673
4674 if test "$enableval" = yes; then
4675 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4676 else
4677 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4678 fi
4679
4680 else
4681
4682 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x ; then
4684 eval "DEFAULT_$LINE"
4685 else
4686 no_cache=1
4687 fi
4688
4689 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4690
4691 fi;
4692
4693 eval "$ac_cv_use_catch_segvs"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4696 fi
4697
4698 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4699 echo "$as_me:$LINENO: result: yes" >&5
4700 echo "${ECHO_T}yes" >&6
4701 else
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4704 fi
4705
4706
4707 enablestring=
4708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4710 no_cache=0
4711 # Check whether --enable-cmdline or --disable-cmdline was given.
4712 if test "${enable_cmdline+set}" = set; then
4713 enableval="$enable_cmdline"
4714
4715 if test "$enableval" = yes; then
4716 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4717 else
4718 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4719 fi
4720
4721 else
4722
4723 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4726 else
4727 no_cache=1
4728 fi
4729
4730 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4731
4732 fi;
4733
4734 eval "$ac_cv_use_cmdline"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4737 fi
4738
4739 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4740 echo "$as_me:$LINENO: result: yes" >&5
4741 echo "${ECHO_T}yes" >&6
4742 else
4743 echo "$as_me:$LINENO: result: no" >&5
4744 echo "${ECHO_T}no" >&6
4745 fi
4746
4747
4748 enablestring=
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4751 no_cache=0
4752 # Check whether --enable-datetime or --disable-datetime was given.
4753 if test "${enable_datetime+set}" = set; then
4754 enableval="$enable_datetime"
4755
4756 if test "$enableval" = yes; then
4757 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4758 else
4759 ac_cv_use_datetime='wxUSE_DATETIME=no'
4760 fi
4761
4762 else
4763
4764 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 else
4768 no_cache=1
4769 fi
4770
4771 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4772
4773 fi;
4774
4775 eval "$ac_cv_use_datetime"
4776 if test "$no_cache" != 1; then
4777 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4778 fi
4779
4780 if test "$wxUSE_DATETIME" = yes; then
4781 echo "$as_me:$LINENO: result: yes" >&5
4782 echo "${ECHO_T}yes" >&6
4783 else
4784 echo "$as_me:$LINENO: result: no" >&5
4785 echo "${ECHO_T}no" >&6
4786 fi
4787
4788
4789 enablestring=
4790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4792 no_cache=0
4793 # Check whether --enable-dialupman or --disable-dialupman was given.
4794 if test "${enable_dialupman+set}" = set; then
4795 enableval="$enable_dialupman"
4796
4797 if test "$enableval" = yes; then
4798 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4799 else
4800 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4801 fi
4802
4803 else
4804
4805 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x ; then
4807 eval "DEFAULT_$LINE"
4808 else
4809 no_cache=1
4810 fi
4811
4812 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4813
4814 fi;
4815
4816 eval "$ac_cv_use_dialupman"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4819 fi
4820
4821 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4822 echo "$as_me:$LINENO: result: yes" >&5
4823 echo "${ECHO_T}yes" >&6
4824 else
4825 echo "$as_me:$LINENO: result: no" >&5
4826 echo "${ECHO_T}no" >&6
4827 fi
4828
4829
4830 enablestring=
4831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4832 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4833 no_cache=0
4834 # Check whether --enable-dynlib or --disable-dynlib was given.
4835 if test "${enable_dynlib+set}" = set; then
4836 enableval="$enable_dynlib"
4837
4838 if test "$enableval" = yes; then
4839 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4840 else
4841 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4842 fi
4843
4844 else
4845
4846 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x ; then
4848 eval "DEFAULT_$LINE"
4849 else
4850 no_cache=1
4851 fi
4852
4853 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4854
4855 fi;
4856
4857 eval "$ac_cv_use_dynlib"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4860 fi
4861
4862 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4863 echo "$as_me:$LINENO: result: yes" >&5
4864 echo "${ECHO_T}yes" >&6
4865 else
4866 echo "$as_me:$LINENO: result: no" >&5
4867 echo "${ECHO_T}no" >&6
4868 fi
4869
4870
4871 enablestring=
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4873 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4874 no_cache=0
4875 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4876 if test "${enable_dynamicloader+set}" = set; then
4877 enableval="$enable_dynamicloader"
4878
4879 if test "$enableval" = yes; then
4880 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4881 else
4882 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4883 fi
4884
4885 else
4886
4887 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x ; then
4889 eval "DEFAULT_$LINE"
4890 else
4891 no_cache=1
4892 fi
4893
4894 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4895
4896 fi;
4897
4898 eval "$ac_cv_use_dynamicloader"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4901 fi
4902
4903 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4904 echo "$as_me:$LINENO: result: yes" >&5
4905 echo "${ECHO_T}yes" >&6
4906 else
4907 echo "$as_me:$LINENO: result: no" >&5
4908 echo "${ECHO_T}no" >&6
4909 fi
4910
4911
4912 enablestring=
4913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4914 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4915 no_cache=0
4916 # Check whether --enable-exceptions or --disable-exceptions was given.
4917 if test "${enable_exceptions+set}" = set; then
4918 enableval="$enable_exceptions"
4919
4920 if test "$enableval" = yes; then
4921 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4922 else
4923 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4924 fi
4925
4926 else
4927
4928 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x ; then
4930 eval "DEFAULT_$LINE"
4931 else
4932 no_cache=1
4933 fi
4934
4935 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4936
4937 fi;
4938
4939 eval "$ac_cv_use_exceptions"
4940 if test "$no_cache" != 1; then
4941 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4942 fi
4943
4944 if test "$wxUSE_EXCEPTIONS" = yes; then
4945 echo "$as_me:$LINENO: result: yes" >&5
4946 echo "${ECHO_T}yes" >&6
4947 else
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4950 fi
4951
4952
4953 enablestring=
4954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4955 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4956 no_cache=0
4957 # Check whether --enable-ffile or --disable-ffile was given.
4958 if test "${enable_ffile+set}" = set; then
4959 enableval="$enable_ffile"
4960
4961 if test "$enableval" = yes; then
4962 ac_cv_use_ffile='wxUSE_FFILE=yes'
4963 else
4964 ac_cv_use_ffile='wxUSE_FFILE=no'
4965 fi
4966
4967 else
4968
4969 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4970 if test "x$LINE" != x ; then
4971 eval "DEFAULT_$LINE"
4972 else
4973 no_cache=1
4974 fi
4975
4976 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4977
4978 fi;
4979
4980 eval "$ac_cv_use_ffile"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4983 fi
4984
4985 if test "$wxUSE_FFILE" = yes; then
4986 echo "$as_me:$LINENO: result: yes" >&5
4987 echo "${ECHO_T}yes" >&6
4988 else
4989 echo "$as_me:$LINENO: result: no" >&5
4990 echo "${ECHO_T}no" >&6
4991 fi
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-file or --disable-file was given.
4999 if test "${enable_file+set}" = set; then
5000 enableval="$enable_file"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_file='wxUSE_FILE=yes'
5004 else
5005 ac_cv_use_file='wxUSE_FILE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_file"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_FILE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-filesystem or --disable-filesystem was given.
5040 if test "${enable_filesystem+set}" = set; then
5041 enableval="$enable_filesystem"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5045 else
5046 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5059
5060 fi;
5061
5062 eval "$ac_cv_use_filesystem"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_FILESYSTEM" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-fontmap or --disable-fontmap was given.
5081 if test "${enable_fontmap+set}" = set; then
5082 enableval="$enable_fontmap"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5086 else
5087 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5100
5101 fi;
5102
5103 eval "$ac_cv_use_fontmap"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_FONTMAP" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5122 if test "${enable_fs_inet+set}" = set; then
5123 enableval="$enable_fs_inet"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5127 else
5128 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5141
5142 fi;
5143
5144 eval "$ac_cv_use_fs_inet"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_FS_INET" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5163 if test "${enable_fs_zip+set}" = set; then
5164 enableval="$enable_fs_zip"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5168 else
5169 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5182
5183 fi;
5184
5185 eval "$ac_cv_use_fs_zip"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_FS_ZIP" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-geometry or --disable-geometry was given.
5204 if test "${enable_geometry+set}" = set; then
5205 enableval="$enable_geometry"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5209 else
5210 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5223
5224 fi;
5225
5226 eval "$ac_cv_use_geometry"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_GEOMETRY" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-log or --disable-log was given.
5245 if test "${enable_log+set}" = set; then
5246 enableval="$enable_log"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_log='wxUSE_LOG=yes'
5250 else
5251 ac_cv_use_log='wxUSE_LOG=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5264
5265 fi;
5266
5267 eval "$ac_cv_use_log"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_LOG" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-longlong or --disable-longlong was given.
5286 if test "${enable_longlong+set}" = set; then
5287 enableval="$enable_longlong"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5291 else
5292 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5305
5306 fi;
5307
5308 eval "$ac_cv_use_longlong"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_LONGLONG" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-mimetype or --disable-mimetype was given.
5327 if test "${enable_mimetype+set}" = set; then
5328 enableval="$enable_mimetype"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5332 else
5333 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5346
5347 fi;
5348
5349 eval "$ac_cv_use_mimetype"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_MIMETYPE" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-mslu or --disable-mslu was given.
5368 if test "${enable_mslu+set}" = set; then
5369 enableval="$enable_mslu"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5373 else
5374 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5387
5388 fi;
5389
5390 eval "$ac_cv_use_mslu"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_UNICODE_MSLU" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-snglinst or --disable-snglinst was given.
5409 if test "${enable_snglinst+set}" = set; then
5410 enableval="$enable_snglinst"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5414 else
5415 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5428
5429 fi;
5430
5431 eval "$ac_cv_use_snglinst"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-streams or --disable-streams was given.
5450 if test "${enable_streams+set}" = set; then
5451 enableval="$enable_streams"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_streams='wxUSE_STREAMS=yes'
5455 else
5456 ac_cv_use_streams='wxUSE_STREAMS=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5469
5470 fi;
5471
5472 eval "$ac_cv_use_streams"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_STREAMS" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5491 if test "${enable_std_iostreams+set}" = set; then
5492 enableval="$enable_std_iostreams"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5496 else
5497 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5510
5511 fi;
5512
5513 eval "$ac_cv_use_std_iostreams"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_STD_IOSTREAM" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5532 if test "${enable_stopwatch+set}" = set; then
5533 enableval="$enable_stopwatch"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5537 else
5538 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5551
5552 fi;
5553
5554 eval "$ac_cv_use_stopwatch"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_STOPWATCH" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-system_options or --disable-system_options was given.
5573 if test "${enable_system_options+set}" = set; then
5574 enableval="$enable_system_options"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5578 else
5579 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5592
5593 fi;
5594
5595 eval "$ac_cv_use_system_options"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-textbuf or --disable-textbuf was given.
5614 if test "${enable_textbuf+set}" = set; then
5615 enableval="$enable_textbuf"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5619 else
5620 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5633
5634 fi;
5635
5636 eval "$ac_cv_use_textbuf"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_TEXTBUFFER" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-textfile or --disable-textfile was given.
5655 if test "${enable_textfile+set}" = set; then
5656 enableval="$enable_textfile"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5660 else
5661 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5674
5675 fi;
5676
5677 eval "$ac_cv_use_textfile"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_TEXTFILE" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-timer or --disable-timer was given.
5696 if test "${enable_timer+set}" = set; then
5697 enableval="$enable_timer"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_timer='wxUSE_TIMER=yes'
5701 else
5702 ac_cv_use_timer='wxUSE_TIMER=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5715
5716 fi;
5717
5718 eval "$ac_cv_use_timer"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_TIMER" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-unicode or --disable-unicode was given.
5737 if test "${enable_unicode+set}" = set; then
5738 enableval="$enable_unicode"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5742 else
5743 ac_cv_use_unicode='wxUSE_UNICODE=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5756
5757 fi;
5758
5759 eval "$ac_cv_use_unicode"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_UNICODE" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-sound or --disable-sound was given.
5778 if test "${enable_sound+set}" = set; then
5779 enableval="$enable_sound"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_sound='wxUSE_SOUND=yes'
5783 else
5784 ac_cv_use_sound='wxUSE_SOUND=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5797
5798 fi;
5799
5800 eval "$ac_cv_use_sound"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_SOUND" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-mediactrl or --disable-mediactrl was given.
5819 if test "${enable_mediactrl+set}" = set; then
5820 enableval="$enable_mediactrl"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
5824 else
5825 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
5838
5839 fi;
5840
5841 eval "$ac_cv_use_mediactrl"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_MEDIACTRL" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5860 if test "${enable_wxprintfv+set}" = set; then
5861 enableval="$enable_wxprintfv"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5865 else
5866 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5879
5880 fi;
5881
5882 eval "$ac_cv_use_wxprintfv"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-zipstream or --disable-zipstream was given.
5901 if test "${enable_zipstream+set}" = set; then
5902 enableval="$enable_zipstream"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5906 else
5907 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5920
5921 fi;
5922
5923 eval "$ac_cv_use_zipstream"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_ZIPSTREAM" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937
5938 enablestring=
5939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5941 no_cache=0
5942 # Check whether --enable-url or --disable-url was given.
5943 if test "${enable_url+set}" = set; then
5944 enableval="$enable_url"
5945
5946 if test "$enableval" = yes; then
5947 ac_cv_use_url='wxUSE_URL=yes'
5948 else
5949 ac_cv_use_url='wxUSE_URL=no'
5950 fi
5951
5952 else
5953
5954 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5955 if test "x$LINE" != x ; then
5956 eval "DEFAULT_$LINE"
5957 else
5958 no_cache=1
5959 fi
5960
5961 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5962
5963 fi;
5964
5965 eval "$ac_cv_use_url"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5968 fi
5969
5970 if test "$wxUSE_URL" = yes; then
5971 echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6
5973 else
5974 echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6
5976 fi
5977
5978
5979 enablestring=
5980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5982 no_cache=0
5983 # Check whether --enable-protocol or --disable-protocol was given.
5984 if test "${enable_protocol+set}" = set; then
5985 enableval="$enable_protocol"
5986
5987 if test "$enableval" = yes; then
5988 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5989 else
5990 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5991 fi
5992
5993 else
5994
5995 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x ; then
5997 eval "DEFAULT_$LINE"
5998 else
5999 no_cache=1
6000 fi
6001
6002 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6003
6004 fi;
6005
6006 eval "$ac_cv_use_protocol"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6009 fi
6010
6011 if test "$wxUSE_PROTOCOL" = yes; then
6012 echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6
6014 else
6015 echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6
6017 fi
6018
6019
6020 enablestring=
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6023 no_cache=0
6024 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6025 if test "${enable_protocol_http+set}" = set; then
6026 enableval="$enable_protocol_http"
6027
6028 if test "$enableval" = yes; then
6029 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6030 else
6031 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6032 fi
6033
6034 else
6035
6036 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x ; then
6038 eval "DEFAULT_$LINE"
6039 else
6040 no_cache=1
6041 fi
6042
6043 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6044
6045 fi;
6046
6047 eval "$ac_cv_use_protocol_http"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6053 echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6
6055 else
6056 echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6
6058 fi
6059
6060
6061 enablestring=
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6064 no_cache=0
6065 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6066 if test "${enable_protocol_ftp+set}" = set; then
6067 enableval="$enable_protocol_ftp"
6068
6069 if test "$enableval" = yes; then
6070 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6071 else
6072 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6073 fi
6074
6075 else
6076
6077 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x ; then
6079 eval "DEFAULT_$LINE"
6080 else
6081 no_cache=1
6082 fi
6083
6084 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6085
6086 fi;
6087
6088 eval "$ac_cv_use_protocol_ftp"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6096 else
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6099 fi
6100
6101
6102 enablestring=
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6105 no_cache=0
6106 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6107 if test "${enable_protocol_file+set}" = set; then
6108 enableval="$enable_protocol_file"
6109
6110 if test "$enableval" = yes; then
6111 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6112 else
6113 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6114 fi
6115
6116 else
6117
6118 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6121 else
6122 no_cache=1
6123 fi
6124
6125 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6126
6127 fi;
6128
6129 eval "$ac_cv_use_protocol_file"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6137 else
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6140 fi
6141
6142
6143
6144
6145
6146 enablestring=
6147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6148 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6149 no_cache=0
6150 # Check whether --enable-threads or --disable-threads was given.
6151 if test "${enable_threads+set}" = set; then
6152 enableval="$enable_threads"
6153
6154 if test "$enableval" = yes; then
6155 ac_cv_use_threads='wxUSE_THREADS=yes'
6156 else
6157 ac_cv_use_threads='wxUSE_THREADS=no'
6158 fi
6159
6160 else
6161
6162 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x ; then
6164 eval "DEFAULT_$LINE"
6165 else
6166 no_cache=1
6167 fi
6168
6169 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6170
6171 fi;
6172
6173 eval "$ac_cv_use_threads"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6176 fi
6177
6178 if test "$wxUSE_THREADS" = yes; then
6179 echo "$as_me:$LINENO: result: yes" >&5
6180 echo "${ECHO_T}yes" >&6
6181 else
6182 echo "$as_me:$LINENO: result: no" >&5
6183 echo "${ECHO_T}no" >&6
6184 fi
6185
6186
6187 if test "$wxUSE_GUI" = "yes"; then
6188
6189
6190
6191 enablestring=
6192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6194 no_cache=0
6195 # Check whether --enable-docview or --disable-docview was given.
6196 if test "${enable_docview+set}" = set; then
6197 enableval="$enable_docview"
6198
6199 if test "$enableval" = yes; then
6200 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6201 else
6202 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6203 fi
6204
6205 else
6206
6207 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x ; then
6209 eval "DEFAULT_$LINE"
6210 else
6211 no_cache=1
6212 fi
6213
6214 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6215
6216 fi;
6217
6218 eval "$ac_cv_use_docview"
6219 if test "$no_cache" != 1; then
6220 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6221 fi
6222
6223 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6224 echo "$as_me:$LINENO: result: yes" >&5
6225 echo "${ECHO_T}yes" >&6
6226 else
6227 echo "$as_me:$LINENO: result: no" >&5
6228 echo "${ECHO_T}no" >&6
6229 fi
6230
6231
6232 enablestring=
6233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6234 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6235 no_cache=0
6236 # Check whether --enable-help or --disable-help was given.
6237 if test "${enable_help+set}" = set; then
6238 enableval="$enable_help"
6239
6240 if test "$enableval" = yes; then
6241 ac_cv_use_help='wxUSE_HELP=yes'
6242 else
6243 ac_cv_use_help='wxUSE_HELP=no'
6244 fi
6245
6246 else
6247
6248 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x ; then
6250 eval "DEFAULT_$LINE"
6251 else
6252 no_cache=1
6253 fi
6254
6255 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6256
6257 fi;
6258
6259 eval "$ac_cv_use_help"
6260 if test "$no_cache" != 1; then
6261 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6262 fi
6263
6264 if test "$wxUSE_HELP" = yes; then
6265 echo "$as_me:$LINENO: result: yes" >&5
6266 echo "${ECHO_T}yes" >&6
6267 else
6268 echo "$as_me:$LINENO: result: no" >&5
6269 echo "${ECHO_T}no" >&6
6270 fi
6271
6272
6273 enablestring=
6274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6275 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6276 no_cache=0
6277 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6278 if test "${enable_mshtmlhelp+set}" = set; then
6279 enableval="$enable_mshtmlhelp"
6280
6281 if test "$enableval" = yes; then
6282 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6283 else
6284 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6285 fi
6286
6287 else
6288
6289 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x ; then
6291 eval "DEFAULT_$LINE"
6292 else
6293 no_cache=1
6294 fi
6295
6296 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6297
6298 fi;
6299
6300 eval "$ac_cv_use_mshtmlhelp"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6303 fi
6304
6305 if test "$wxUSE_MS_HTML_HELP" = yes; then
6306 echo "$as_me:$LINENO: result: yes" >&5
6307 echo "${ECHO_T}yes" >&6
6308 else
6309 echo "$as_me:$LINENO: result: no" >&5
6310 echo "${ECHO_T}no" >&6
6311 fi
6312
6313
6314 enablestring=
6315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6316 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6317 no_cache=0
6318 # Check whether --enable-html or --disable-html was given.
6319 if test "${enable_html+set}" = set; then
6320 enableval="$enable_html"
6321
6322 if test "$enableval" = yes; then
6323 ac_cv_use_html='wxUSE_HTML=yes'
6324 else
6325 ac_cv_use_html='wxUSE_HTML=no'
6326 fi
6327
6328 else
6329
6330 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x ; then
6332 eval "DEFAULT_$LINE"
6333 else
6334 no_cache=1
6335 fi
6336
6337 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6338
6339 fi;
6340
6341 eval "$ac_cv_use_html"
6342 if test "$no_cache" != 1; then
6343 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6344 fi
6345
6346 if test "$wxUSE_HTML" = yes; then
6347 echo "$as_me:$LINENO: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6
6349 else
6350 echo "$as_me:$LINENO: result: no" >&5
6351 echo "${ECHO_T}no" >&6
6352 fi
6353
6354
6355 enablestring=
6356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6357 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6358 no_cache=0
6359 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6360 if test "${enable_htmlhelp+set}" = set; then
6361 enableval="$enable_htmlhelp"
6362
6363 if test "$enableval" = yes; then
6364 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6365 else
6366 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6367 fi
6368
6369 else
6370
6371 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6372 if test "x$LINE" != x ; then
6373 eval "DEFAULT_$LINE"
6374 else
6375 no_cache=1
6376 fi
6377
6378 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6379
6380 fi;
6381
6382 eval "$ac_cv_use_htmlhelp"
6383 if test "$no_cache" != 1; then
6384 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6385 fi
6386
6387 if test "$wxUSE_WXHTML_HELP" = yes; then
6388 echo "$as_me:$LINENO: result: yes" >&5
6389 echo "${ECHO_T}yes" >&6
6390 else
6391 echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6393 fi
6394
6395
6396 enablestring=
6397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6398 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6399 no_cache=0
6400 # Check whether --enable-xrc or --disable-xrc was given.
6401 if test "${enable_xrc+set}" = set; then
6402 enableval="$enable_xrc"
6403
6404 if test "$enableval" = yes; then
6405 ac_cv_use_xrc='wxUSE_XRC=yes'
6406 else
6407 ac_cv_use_xrc='wxUSE_XRC=no'
6408 fi
6409
6410 else
6411
6412 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6413 if test "x$LINE" != x ; then
6414 eval "DEFAULT_$LINE"
6415 else
6416 no_cache=1
6417 fi
6418
6419 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6420
6421 fi;
6422
6423 eval "$ac_cv_use_xrc"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6426 fi
6427
6428 if test "$wxUSE_XRC" = yes; then
6429 echo "$as_me:$LINENO: result: yes" >&5
6430 echo "${ECHO_T}yes" >&6
6431 else
6432 echo "$as_me:$LINENO: result: no" >&5
6433 echo "${ECHO_T}no" >&6
6434 fi
6435
6436
6437 enablestring=
6438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6439 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6440 no_cache=0
6441 # Check whether --enable-constraints or --disable-constraints was given.
6442 if test "${enable_constraints+set}" = set; then
6443 enableval="$enable_constraints"
6444
6445 if test "$enableval" = yes; then
6446 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6447 else
6448 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6449 fi
6450
6451 else
6452
6453 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6454 if test "x$LINE" != x ; then
6455 eval "DEFAULT_$LINE"
6456 else
6457 no_cache=1
6458 fi
6459
6460 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6461
6462 fi;
6463
6464 eval "$ac_cv_use_constraints"
6465 if test "$no_cache" != 1; then
6466 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6467 fi
6468
6469 if test "$wxUSE_CONSTRAINTS" = yes; then
6470 echo "$as_me:$LINENO: result: yes" >&5
6471 echo "${ECHO_T}yes" >&6
6472 else
6473 echo "$as_me:$LINENO: result: no" >&5
6474 echo "${ECHO_T}no" >&6
6475 fi
6476
6477
6478 enablestring=
6479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6480 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6481 no_cache=0
6482 # Check whether --enable-printarch or --disable-printarch was given.
6483 if test "${enable_printarch+set}" = set; then
6484 enableval="$enable_printarch"
6485
6486 if test "$enableval" = yes; then
6487 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6488 else
6489 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6490 fi
6491
6492 else
6493
6494 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x ; then
6496 eval "DEFAULT_$LINE"
6497 else
6498 no_cache=1
6499 fi
6500
6501 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6502
6503 fi;
6504
6505 eval "$ac_cv_use_printarch"
6506 if test "$no_cache" != 1; then
6507 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6508 fi
6509
6510 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6511 echo "$as_me:$LINENO: result: yes" >&5
6512 echo "${ECHO_T}yes" >&6
6513 else
6514 echo "$as_me:$LINENO: result: no" >&5
6515 echo "${ECHO_T}no" >&6
6516 fi
6517
6518
6519 enablestring=
6520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6521 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6522 no_cache=0
6523 # Check whether --enable-mdi or --disable-mdi was given.
6524 if test "${enable_mdi+set}" = set; then
6525 enableval="$enable_mdi"
6526
6527 if test "$enableval" = yes; then
6528 ac_cv_use_mdi='wxUSE_MDI=yes'
6529 else
6530 ac_cv_use_mdi='wxUSE_MDI=no'
6531 fi
6532
6533 else
6534
6535 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6536 if test "x$LINE" != x ; then
6537 eval "DEFAULT_$LINE"
6538 else
6539 no_cache=1
6540 fi
6541
6542 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6543
6544 fi;
6545
6546 eval "$ac_cv_use_mdi"
6547 if test "$no_cache" != 1; then
6548 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6549 fi
6550
6551 if test "$wxUSE_MDI" = yes; then
6552 echo "$as_me:$LINENO: result: yes" >&5
6553 echo "${ECHO_T}yes" >&6
6554 else
6555 echo "$as_me:$LINENO: result: no" >&5
6556 echo "${ECHO_T}no" >&6
6557 fi
6558
6559
6560 enablestring=
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6563 no_cache=0
6564 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6565 if test "${enable_mdidoc+set}" = set; then
6566 enableval="$enable_mdidoc"
6567
6568 if test "$enableval" = yes; then
6569 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6570 else
6571 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6572 fi
6573
6574 else
6575
6576 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6579 else
6580 no_cache=1
6581 fi
6582
6583 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6584
6585 fi;
6586
6587 eval "$ac_cv_use_mdidoc"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6590 fi
6591
6592 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6595 else
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6598 fi
6599
6600
6601 enablestring=
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6604 no_cache=0
6605 # Check whether --enable-loggui or --disable-loggui was given.
6606 if test "${enable_loggui+set}" = set; then
6607 enableval="$enable_loggui"
6608
6609 if test "$enableval" = yes; then
6610 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6611 else
6612 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6613 fi
6614
6615 else
6616
6617 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x ; then
6619 eval "DEFAULT_$LINE"
6620 else
6621 no_cache=1
6622 fi
6623
6624 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6625
6626 fi;
6627
6628 eval "$ac_cv_use_loggui"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6631 fi
6632
6633 if test "$wxUSE_LOGGUI" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6636 else
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6639 fi
6640
6641
6642 enablestring=
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6645 no_cache=0
6646 # Check whether --enable-logwin or --disable-logwin was given.
6647 if test "${enable_logwin+set}" = set; then
6648 enableval="$enable_logwin"
6649
6650 if test "$enableval" = yes; then
6651 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6652 else
6653 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6654 fi
6655
6656 else
6657
6658 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6661 else
6662 no_cache=1
6663 fi
6664
6665 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6666
6667 fi;
6668
6669 eval "$ac_cv_use_logwin"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6672 fi
6673
6674 if test "$wxUSE_LOGWINDOW" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6677 else
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6680 fi
6681
6682
6683 enablestring=
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6686 no_cache=0
6687 # Check whether --enable-logdialog or --disable-logdialog was given.
6688 if test "${enable_logdialog+set}" = set; then
6689 enableval="$enable_logdialog"
6690
6691 if test "$enableval" = yes; then
6692 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6693 else
6694 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6695 fi
6696
6697 else
6698
6699 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6702 else
6703 no_cache=1
6704 fi
6705
6706 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6707
6708 fi;
6709
6710 eval "$ac_cv_use_logdialog"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6713 fi
6714
6715 if test "$wxUSE_LOGDIALOG" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6718 else
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6721 fi
6722
6723
6724 enablestring=
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
6727 no_cache=0
6728 # Check whether --enable-webkit or --disable-webkit was given.
6729 if test "${enable_webkit+set}" = set; then
6730 enableval="$enable_webkit"
6731
6732 if test "$enableval" = yes; then
6733 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
6734 else
6735 ac_cv_use_webkit='wxUSE_WEBKIT=no'
6736 fi
6737
6738 else
6739
6740 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x ; then
6742 eval "DEFAULT_$LINE"
6743 else
6744 no_cache=1
6745 fi
6746
6747 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
6748
6749 fi;
6750
6751 eval "$ac_cv_use_webkit"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
6754 fi
6755
6756 if test "$wxUSE_WEBKIT" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6759 else
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6762 fi
6763
6764
6765
6766 enablestring=
6767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6768 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6769 no_cache=0
6770 # Check whether --enable-postscript or --disable-postscript was given.
6771 if test "${enable_postscript+set}" = set; then
6772 enableval="$enable_postscript"
6773
6774 if test "$enableval" = yes; then
6775 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6776 else
6777 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6778 fi
6779
6780 else
6781
6782 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x ; then
6784 eval "DEFAULT_$LINE"
6785 else
6786 no_cache=1
6787 fi
6788
6789 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6790
6791 fi;
6792
6793 eval "$ac_cv_use_postscript"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6796 fi
6797
6798 if test "$wxUSE_POSTSCRIPT" = yes; then
6799 echo "$as_me:$LINENO: result: yes" >&5
6800 echo "${ECHO_T}yes" >&6
6801 else
6802 echo "$as_me:$LINENO: result: no" >&5
6803 echo "${ECHO_T}no" >&6
6804 fi
6805
6806
6807
6808
6809
6810 enablestring=
6811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6812 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6813 no_cache=0
6814 # Check whether --enable-prologio or --disable-prologio was given.
6815 if test "${enable_prologio+set}" = set; then
6816 enableval="$enable_prologio"
6817
6818 if test "$enableval" = yes; then
6819 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6820 else
6821 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6822 fi
6823
6824 else
6825
6826 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x ; then
6828 eval "DEFAULT_$LINE"
6829 else
6830 no_cache=1
6831 fi
6832
6833 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6834
6835 fi;
6836
6837 eval "$ac_cv_use_prologio"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6840 fi
6841
6842 if test "$wxUSE_PROLOGIO" = yes; then
6843 echo "$as_me:$LINENO: result: yes" >&5
6844 echo "${ECHO_T}yes" >&6
6845 else
6846 echo "$as_me:$LINENO: result: no" >&5
6847 echo "${ECHO_T}no" >&6
6848 fi
6849
6850
6851 enablestring=
6852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6853 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6854 no_cache=0
6855 # Check whether --enable-resources or --disable-resources was given.
6856 if test "${enable_resources+set}" = set; then
6857 enableval="$enable_resources"
6858
6859 if test "$enableval" = yes; then
6860 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6861 else
6862 ac_cv_use_resources='wxUSE_RESOURCES=no'
6863 fi
6864
6865 else
6866
6867 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6868 if test "x$LINE" != x ; then
6869 eval "DEFAULT_$LINE"
6870 else
6871 no_cache=1
6872 fi
6873
6874 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6875
6876 fi;
6877
6878 eval "$ac_cv_use_resources"
6879 if test "$no_cache" != 1; then
6880 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6881 fi
6882
6883 if test "$wxUSE_RESOURCES" = yes; then
6884 echo "$as_me:$LINENO: result: yes" >&5
6885 echo "${ECHO_T}yes" >&6
6886 else
6887 echo "$as_me:$LINENO: result: no" >&5
6888 echo "${ECHO_T}no" >&6
6889 fi
6890
6891
6892
6893
6894 enablestring=
6895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6897 no_cache=0
6898 # Check whether --enable-clipboard or --disable-clipboard was given.
6899 if test "${enable_clipboard+set}" = set; then
6900 enableval="$enable_clipboard"
6901
6902 if test "$enableval" = yes; then
6903 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6904 else
6905 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6906 fi
6907
6908 else
6909
6910 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6911 if test "x$LINE" != x ; then
6912 eval "DEFAULT_$LINE"
6913 else
6914 no_cache=1
6915 fi
6916
6917 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6918
6919 fi;
6920
6921 eval "$ac_cv_use_clipboard"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6924 fi
6925
6926 if test "$wxUSE_CLIPBOARD" = yes; then
6927 echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6
6929 else
6930 echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6
6932 fi
6933
6934
6935 enablestring=
6936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6938 no_cache=0
6939 # Check whether --enable-dnd or --disable-dnd was given.
6940 if test "${enable_dnd+set}" = set; then
6941 enableval="$enable_dnd"
6942
6943 if test "$enableval" = yes; then
6944 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6945 else
6946 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6947 fi
6948
6949 else
6950
6951 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x ; then
6953 eval "DEFAULT_$LINE"
6954 else
6955 no_cache=1
6956 fi
6957
6958 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6959
6960 fi;
6961
6962 eval "$ac_cv_use_dnd"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6965 fi
6966
6967 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6968 echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6970 else
6971 echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6
6973 fi
6974
6975
6976 enablestring=
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6979 no_cache=0
6980 # Check whether --enable-metafile or --disable-metafile was given.
6981 if test "${enable_metafile+set}" = set; then
6982 enableval="$enable_metafile"
6983
6984 if test "$enableval" = yes; then
6985 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6986 else
6987 ac_cv_use_metafile='wxUSE_METAFILE=no'
6988 fi
6989
6990 else
6991
6992 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x ; then
6994 eval "DEFAULT_$LINE"
6995 else
6996 no_cache=1
6997 fi
6998
6999 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7000
7001 fi;
7002
7003 eval "$ac_cv_use_metafile"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7006 fi
7007
7008 if test "$wxUSE_METAFILE" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7011 else
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7014 fi
7015
7016
7017
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-controls or --disable-controls was given.
7025 if test "${enable_controls+set}" = set; then
7026 enableval="$enable_controls"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7030 else
7031 ac_cv_use_controls='wxUSE_CONTROLS=no'
7032 fi
7033
7034 else
7035
7036 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7044
7045 fi;
7046
7047 eval "$ac_cv_use_controls"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_CONTROLS" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 if test "$wxUSE_CONTROLS" = "yes"; then
7062 DEFAULT_wxUSE_ACCEL=yes
7063 DEFAULT_wxUSE_BMPBUTTON=yes
7064 DEFAULT_wxUSE_BUTTON=yes
7065 DEFAULT_wxUSE_CALCTRL=no
7066 DEFAULT_wxUSE_CARET=yes
7067 DEFAULT_wxUSE_COMBOBOX=yes
7068 DEFAULT_wxUSE_CHECKBOX=yes
7069 DEFAULT_wxUSE_CHECKLISTBOX=yes
7070 DEFAULT_wxUSE_CHOICE=yes
7071 DEFAULT_wxUSE_CHOICEBOOK=yes
7072 DEFAULT_wxUSE_GAUGE=yes
7073 DEFAULT_wxUSE_GRID=yes
7074 DEFAULT_wxUSE_IMAGLIST=yes
7075 DEFAULT_wxUSE_LISTBOOK=yes
7076 DEFAULT_wxUSE_LISTBOX=yes
7077 DEFAULT_wxUSE_LISTCTRL=yes
7078 DEFAULT_wxUSE_NOTEBOOK=yes
7079 DEFAULT_wxUSE_RADIOBOX=yes
7080 DEFAULT_wxUSE_RADIOBTN=yes
7081 DEFAULT_wxUSE_SASH=yes
7082 DEFAULT_wxUSE_SCROLLBAR=yes
7083 DEFAULT_wxUSE_SLIDER=yes
7084 DEFAULT_wxUSE_SPINBTN=yes
7085 DEFAULT_wxUSE_SPINCTRL=yes
7086 DEFAULT_wxUSE_SPLITTER=yes
7087 DEFAULT_wxUSE_STATBMP=yes
7088 DEFAULT_wxUSE_STATBOX=yes
7089 DEFAULT_wxUSE_STATLINE=yes
7090 DEFAULT_wxUSE_STATUSBAR=yes
7091 DEFAULT_wxUSE_TAB_DIALOG=yes
7092 DEFAULT_wxUSE_TOGGLEBTN=yes
7093 DEFAULT_wxUSE_TOOLBAR=yes
7094 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7095 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7096 DEFAULT_wxUSE_TOOLTIPS=yes
7097 DEFAULT_wxUSE_TREECTRL=yes
7098 DEFAULT_wxUSE_POPUPWIN=yes
7099 DEFAULT_wxUSE_TIPWINDOW=yes
7100 elif test "$wxUSE_CONTROLS" = "no"; then
7101 DEFAULT_wxUSE_ACCEL=no
7102 DEFAULT_wxUSE_BMPBUTTON=no
7103 DEFAULT_wxUSE_BUTTON=no
7104 DEFAULT_wxUSE_CALCTRL=no
7105 DEFAULT_wxUSE_CARET=no
7106 DEFAULT_wxUSE_COMBOBOX=no
7107 DEFAULT_wxUSE_CHECKBOX=no
7108 DEFAULT_wxUSE_CHECKLISTBOX=no
7109 DEFAULT_wxUSE_CHOICE=no
7110 DEFAULT_wxUSE_CHOICEBOOK=no
7111 DEFAULT_wxUSE_GAUGE=no
7112 DEFAULT_wxUSE_GRID=no
7113 DEFAULT_wxUSE_IMAGLIST=no
7114 DEFAULT_wxUSE_LISTBOOK=no
7115 DEFAULT_wxUSE_LISTBOX=no
7116 DEFAULT_wxUSE_LISTCTRL=no
7117 DEFAULT_wxUSE_NOTEBOOK=no
7118 DEFAULT_wxUSE_RADIOBOX=no
7119 DEFAULT_wxUSE_RADIOBTN=no
7120 DEFAULT_wxUSE_SASH=no
7121 DEFAULT_wxUSE_SCROLLBAR=no
7122 DEFAULT_wxUSE_SLIDER=no
7123 DEFAULT_wxUSE_SPINBTN=no
7124 DEFAULT_wxUSE_SPINCTRL=no
7125 DEFAULT_wxUSE_SPLITTER=no
7126 DEFAULT_wxUSE_STATBMP=no
7127 DEFAULT_wxUSE_STATBOX=no
7128 DEFAULT_wxUSE_STATLINE=no
7129 DEFAULT_wxUSE_STATUSBAR=no
7130 DEFAULT_wxUSE_TAB_DIALOG=no
7131 DEFAULT_wxUSE_TOGGLEBTN=no
7132 DEFAULT_wxUSE_TOOLBAR=no
7133 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7134 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7135 DEFAULT_wxUSE_TOOLTIPS=no
7136 DEFAULT_wxUSE_TREECTRL=no
7137 DEFAULT_wxUSE_POPUPWIN=no
7138 DEFAULT_wxUSE_TIPWINDOW=no
7139 fi
7140
7141
7142 enablestring=
7143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7144 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7145 no_cache=0
7146 # Check whether --enable-accel or --disable-accel was given.
7147 if test "${enable_accel+set}" = set; then
7148 enableval="$enable_accel"
7149
7150 if test "$enableval" = yes; then
7151 ac_cv_use_accel='wxUSE_ACCEL=yes'
7152 else
7153 ac_cv_use_accel='wxUSE_ACCEL=no'
7154 fi
7155
7156 else
7157
7158 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x ; then
7160 eval "DEFAULT_$LINE"
7161 else
7162 no_cache=1
7163 fi
7164
7165 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7166
7167 fi;
7168
7169 eval "$ac_cv_use_accel"
7170 if test "$no_cache" != 1; then
7171 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7172 fi
7173
7174 if test "$wxUSE_ACCEL" = yes; then
7175 echo "$as_me:$LINENO: result: yes" >&5
7176 echo "${ECHO_T}yes" >&6
7177 else
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7180 fi
7181
7182
7183 enablestring=
7184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7185 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7186 no_cache=0
7187 # Check whether --enable-button or --disable-button was given.
7188 if test "${enable_button+set}" = set; then
7189 enableval="$enable_button"
7190
7191 if test "$enableval" = yes; then
7192 ac_cv_use_button='wxUSE_BUTTON=yes'
7193 else
7194 ac_cv_use_button='wxUSE_BUTTON=no'
7195 fi
7196
7197 else
7198
7199 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x ; then
7201 eval "DEFAULT_$LINE"
7202 else
7203 no_cache=1
7204 fi
7205
7206 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7207
7208 fi;
7209
7210 eval "$ac_cv_use_button"
7211 if test "$no_cache" != 1; then
7212 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7213 fi
7214
7215 if test "$wxUSE_BUTTON" = yes; then
7216 echo "$as_me:$LINENO: result: yes" >&5
7217 echo "${ECHO_T}yes" >&6
7218 else
7219 echo "$as_me:$LINENO: result: no" >&5
7220 echo "${ECHO_T}no" >&6
7221 fi
7222
7223
7224 enablestring=
7225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7227 no_cache=0
7228 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7229 if test "${enable_bmpbutton+set}" = set; then
7230 enableval="$enable_bmpbutton"
7231
7232 if test "$enableval" = yes; then
7233 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7234 else
7235 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7236 fi
7237
7238 else
7239
7240 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x ; then
7242 eval "DEFAULT_$LINE"
7243 else
7244 no_cache=1
7245 fi
7246
7247 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7248
7249 fi;
7250
7251 eval "$ac_cv_use_bmpbutton"
7252 if test "$no_cache" != 1; then
7253 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7254 fi
7255
7256 if test "$wxUSE_BMPBUTTON" = yes; then
7257 echo "$as_me:$LINENO: result: yes" >&5
7258 echo "${ECHO_T}yes" >&6
7259 else
7260 echo "$as_me:$LINENO: result: no" >&5
7261 echo "${ECHO_T}no" >&6
7262 fi
7263
7264
7265 enablestring=
7266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7268 no_cache=0
7269 # Check whether --enable-calendar or --disable-calendar was given.
7270 if test "${enable_calendar+set}" = set; then
7271 enableval="$enable_calendar"
7272
7273 if test "$enableval" = yes; then
7274 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7275 else
7276 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7277 fi
7278
7279 else
7280
7281 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x ; then
7283 eval "DEFAULT_$LINE"
7284 else
7285 no_cache=1
7286 fi
7287
7288 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7289
7290 fi;
7291
7292 eval "$ac_cv_use_calendar"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7295 fi
7296
7297 if test "$wxUSE_CALCTRL" = yes; then
7298 echo "$as_me:$LINENO: result: yes" >&5
7299 echo "${ECHO_T}yes" >&6
7300 else
7301 echo "$as_me:$LINENO: result: no" >&5
7302 echo "${ECHO_T}no" >&6
7303 fi
7304
7305
7306 enablestring=
7307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7309 no_cache=0
7310 # Check whether --enable-caret or --disable-caret was given.
7311 if test "${enable_caret+set}" = set; then
7312 enableval="$enable_caret"
7313
7314 if test "$enableval" = yes; then
7315 ac_cv_use_caret='wxUSE_CARET=yes'
7316 else
7317 ac_cv_use_caret='wxUSE_CARET=no'
7318 fi
7319
7320 else
7321
7322 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x ; then
7324 eval "DEFAULT_$LINE"
7325 else
7326 no_cache=1
7327 fi
7328
7329 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7330
7331 fi;
7332
7333 eval "$ac_cv_use_caret"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7336 fi
7337
7338 if test "$wxUSE_CARET" = yes; then
7339 echo "$as_me:$LINENO: result: yes" >&5
7340 echo "${ECHO_T}yes" >&6
7341 else
7342 echo "$as_me:$LINENO: result: no" >&5
7343 echo "${ECHO_T}no" >&6
7344 fi
7345
7346
7347 enablestring=
7348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7349 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7350 no_cache=0
7351 # Check whether --enable-checkbox or --disable-checkbox was given.
7352 if test "${enable_checkbox+set}" = set; then
7353 enableval="$enable_checkbox"
7354
7355 if test "$enableval" = yes; then
7356 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7357 else
7358 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7359 fi
7360
7361 else
7362
7363 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7366 else
7367 no_cache=1
7368 fi
7369
7370 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7371
7372 fi;
7373
7374 eval "$ac_cv_use_checkbox"
7375 if test "$no_cache" != 1; then
7376 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7377 fi
7378
7379 if test "$wxUSE_CHECKBOX" = yes; then
7380 echo "$as_me:$LINENO: result: yes" >&5
7381 echo "${ECHO_T}yes" >&6
7382 else
7383 echo "$as_me:$LINENO: result: no" >&5
7384 echo "${ECHO_T}no" >&6
7385 fi
7386
7387
7388 enablestring=
7389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7390 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7391 no_cache=0
7392 # Check whether --enable-checklst or --disable-checklst was given.
7393 if test "${enable_checklst+set}" = set; then
7394 enableval="$enable_checklst"
7395
7396 if test "$enableval" = yes; then
7397 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7398 else
7399 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7400 fi
7401
7402 else
7403
7404 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x ; then
7406 eval "DEFAULT_$LINE"
7407 else
7408 no_cache=1
7409 fi
7410
7411 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7412
7413 fi;
7414
7415 eval "$ac_cv_use_checklst"
7416 if test "$no_cache" != 1; then
7417 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7418 fi
7419
7420 if test "$wxUSE_CHECKLST" = yes; then
7421 echo "$as_me:$LINENO: result: yes" >&5
7422 echo "${ECHO_T}yes" >&6
7423 else
7424 echo "$as_me:$LINENO: result: no" >&5
7425 echo "${ECHO_T}no" >&6
7426 fi
7427
7428
7429 enablestring=
7430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7432 no_cache=0
7433 # Check whether --enable-choice or --disable-choice was given.
7434 if test "${enable_choice+set}" = set; then
7435 enableval="$enable_choice"
7436
7437 if test "$enableval" = yes; then
7438 ac_cv_use_choice='wxUSE_CHOICE=yes'
7439 else
7440 ac_cv_use_choice='wxUSE_CHOICE=no'
7441 fi
7442
7443 else
7444
7445 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7446 if test "x$LINE" != x ; then
7447 eval "DEFAULT_$LINE"
7448 else
7449 no_cache=1
7450 fi
7451
7452 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7453
7454 fi;
7455
7456 eval "$ac_cv_use_choice"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7459 fi
7460
7461 if test "$wxUSE_CHOICE" = yes; then
7462 echo "$as_me:$LINENO: result: yes" >&5
7463 echo "${ECHO_T}yes" >&6
7464 else
7465 echo "$as_me:$LINENO: result: no" >&5
7466 echo "${ECHO_T}no" >&6
7467 fi
7468
7469
7470 enablestring=
7471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7472 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7473 no_cache=0
7474 # Check whether --enable-choicebook or --disable-choicebook was given.
7475 if test "${enable_choicebook+set}" = set; then
7476 enableval="$enable_choicebook"
7477
7478 if test "$enableval" = yes; then
7479 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7480 else
7481 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7482 fi
7483
7484 else
7485
7486 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x ; then
7488 eval "DEFAULT_$LINE"
7489 else
7490 no_cache=1
7491 fi
7492
7493 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7494
7495 fi;
7496
7497 eval "$ac_cv_use_choicebook"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7500 fi
7501
7502 if test "$wxUSE_CHOICEBOOK" = yes; then
7503 echo "$as_me:$LINENO: result: yes" >&5
7504 echo "${ECHO_T}yes" >&6
7505 else
7506 echo "$as_me:$LINENO: result: no" >&5
7507 echo "${ECHO_T}no" >&6
7508 fi
7509
7510
7511 enablestring=
7512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7513 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7514 no_cache=0
7515 # Check whether --enable-combobox or --disable-combobox was given.
7516 if test "${enable_combobox+set}" = set; then
7517 enableval="$enable_combobox"
7518
7519 if test "$enableval" = yes; then
7520 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7521 else
7522 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7523 fi
7524
7525 else
7526
7527 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x ; then
7529 eval "DEFAULT_$LINE"
7530 else
7531 no_cache=1
7532 fi
7533
7534 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7535
7536 fi;
7537
7538 eval "$ac_cv_use_combobox"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7541 fi
7542
7543 if test "$wxUSE_COMBOBOX" = yes; then
7544 echo "$as_me:$LINENO: result: yes" >&5
7545 echo "${ECHO_T}yes" >&6
7546 else
7547 echo "$as_me:$LINENO: result: no" >&5
7548 echo "${ECHO_T}no" >&6
7549 fi
7550
7551
7552 enablestring=
7553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7554 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7555 no_cache=0
7556 # Check whether --enable-display or --disable-display was given.
7557 if test "${enable_display+set}" = set; then
7558 enableval="$enable_display"
7559
7560 if test "$enableval" = yes; then
7561 ac_cv_use_display='wxUSE_DISPLAY=yes'
7562 else
7563 ac_cv_use_display='wxUSE_DISPLAY=no'
7564 fi
7565
7566 else
7567
7568 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7569 if test "x$LINE" != x ; then
7570 eval "DEFAULT_$LINE"
7571 else
7572 no_cache=1
7573 fi
7574
7575 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7576
7577 fi;
7578
7579 eval "$ac_cv_use_display"
7580 if test "$no_cache" != 1; then
7581 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7582 fi
7583
7584 if test "$wxUSE_DISPLAY" = yes; then
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7587 else
7588 echo "$as_me:$LINENO: result: no" >&5
7589 echo "${ECHO_T}no" >&6
7590 fi
7591
7592
7593 enablestring=
7594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7595 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7596 no_cache=0
7597 # Check whether --enable-gauge or --disable-gauge was given.
7598 if test "${enable_gauge+set}" = set; then
7599 enableval="$enable_gauge"
7600
7601 if test "$enableval" = yes; then
7602 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7603 else
7604 ac_cv_use_gauge='wxUSE_GAUGE=no'
7605 fi
7606
7607 else
7608
7609 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x ; then
7611 eval "DEFAULT_$LINE"
7612 else
7613 no_cache=1
7614 fi
7615
7616 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7617
7618 fi;
7619
7620 eval "$ac_cv_use_gauge"
7621 if test "$no_cache" != 1; then
7622 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7623 fi
7624
7625 if test "$wxUSE_GAUGE" = yes; then
7626 echo "$as_me:$LINENO: result: yes" >&5
7627 echo "${ECHO_T}yes" >&6
7628 else
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7631 fi
7632
7633
7634 enablestring=
7635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7636 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7637 no_cache=0
7638 # Check whether --enable-grid or --disable-grid was given.
7639 if test "${enable_grid+set}" = set; then
7640 enableval="$enable_grid"
7641
7642 if test "$enableval" = yes; then
7643 ac_cv_use_grid='wxUSE_GRID=yes'
7644 else
7645 ac_cv_use_grid='wxUSE_GRID=no'
7646 fi
7647
7648 else
7649
7650 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x ; then
7652 eval "DEFAULT_$LINE"
7653 else
7654 no_cache=1
7655 fi
7656
7657 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7658
7659 fi;
7660
7661 eval "$ac_cv_use_grid"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7664 fi
7665
7666 if test "$wxUSE_GRID" = yes; then
7667 echo "$as_me:$LINENO: result: yes" >&5
7668 echo "${ECHO_T}yes" >&6
7669 else
7670 echo "$as_me:$LINENO: result: no" >&5
7671 echo "${ECHO_T}no" >&6
7672 fi
7673
7674
7675 enablestring=
7676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7677 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7678 no_cache=0
7679 # Check whether --enable-imaglist or --disable-imaglist was given.
7680 if test "${enable_imaglist+set}" = set; then
7681 enableval="$enable_imaglist"
7682
7683 if test "$enableval" = yes; then
7684 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7685 else
7686 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7687 fi
7688
7689 else
7690
7691 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7692 if test "x$LINE" != x ; then
7693 eval "DEFAULT_$LINE"
7694 else
7695 no_cache=1
7696 fi
7697
7698 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7699
7700 fi;
7701
7702 eval "$ac_cv_use_imaglist"
7703 if test "$no_cache" != 1; then
7704 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7705 fi
7706
7707 if test "$wxUSE_IMAGLIST" = yes; then
7708 echo "$as_me:$LINENO: result: yes" >&5
7709 echo "${ECHO_T}yes" >&6
7710 else
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7713 fi
7714
7715
7716 enablestring=
7717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7718 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7719 no_cache=0
7720 # Check whether --enable-listbook or --disable-listbook was given.
7721 if test "${enable_listbook+set}" = set; then
7722 enableval="$enable_listbook"
7723
7724 if test "$enableval" = yes; then
7725 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7726 else
7727 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7728 fi
7729
7730 else
7731
7732 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7733 if test "x$LINE" != x ; then
7734 eval "DEFAULT_$LINE"
7735 else
7736 no_cache=1
7737 fi
7738
7739 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7740
7741 fi;
7742
7743 eval "$ac_cv_use_listbook"
7744 if test "$no_cache" != 1; then
7745 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7746 fi
7747
7748 if test "$wxUSE_LISTBOOK" = yes; then
7749 echo "$as_me:$LINENO: result: yes" >&5
7750 echo "${ECHO_T}yes" >&6
7751 else
7752 echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6
7754 fi
7755
7756
7757 enablestring=
7758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7759 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7760 no_cache=0
7761 # Check whether --enable-listbox or --disable-listbox was given.
7762 if test "${enable_listbox+set}" = set; then
7763 enableval="$enable_listbox"
7764
7765 if test "$enableval" = yes; then
7766 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7767 else
7768 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7769 fi
7770
7771 else
7772
7773 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7774 if test "x$LINE" != x ; then
7775 eval "DEFAULT_$LINE"
7776 else
7777 no_cache=1
7778 fi
7779
7780 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7781
7782 fi;
7783
7784 eval "$ac_cv_use_listbox"
7785 if test "$no_cache" != 1; then
7786 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7787 fi
7788
7789 if test "$wxUSE_LISTBOX" = yes; then
7790 echo "$as_me:$LINENO: result: yes" >&5
7791 echo "${ECHO_T}yes" >&6
7792 else
7793 echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6
7795 fi
7796
7797
7798 enablestring=
7799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7800 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7801 no_cache=0
7802 # Check whether --enable-listctrl or --disable-listctrl was given.
7803 if test "${enable_listctrl+set}" = set; then
7804 enableval="$enable_listctrl"
7805
7806 if test "$enableval" = yes; then
7807 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7808 else
7809 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7810 fi
7811
7812 else
7813
7814 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7815 if test "x$LINE" != x ; then
7816 eval "DEFAULT_$LINE"
7817 else
7818 no_cache=1
7819 fi
7820
7821 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7822
7823 fi;
7824
7825 eval "$ac_cv_use_listctrl"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7828 fi
7829
7830 if test "$wxUSE_LISTCTRL" = yes; then
7831 echo "$as_me:$LINENO: result: yes" >&5
7832 echo "${ECHO_T}yes" >&6
7833 else
7834 echo "$as_me:$LINENO: result: no" >&5
7835 echo "${ECHO_T}no" >&6
7836 fi
7837
7838
7839 enablestring=
7840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7841 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7842 no_cache=0
7843 # Check whether --enable-notebook or --disable-notebook was given.
7844 if test "${enable_notebook+set}" = set; then
7845 enableval="$enable_notebook"
7846
7847 if test "$enableval" = yes; then
7848 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7849 else
7850 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7851 fi
7852
7853 else
7854
7855 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7856 if test "x$LINE" != x ; then
7857 eval "DEFAULT_$LINE"
7858 else
7859 no_cache=1
7860 fi
7861
7862 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7863
7864 fi;
7865
7866 eval "$ac_cv_use_notebook"
7867 if test "$no_cache" != 1; then
7868 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7869 fi
7870
7871 if test "$wxUSE_NOTEBOOK" = yes; then
7872 echo "$as_me:$LINENO: result: yes" >&5
7873 echo "${ECHO_T}yes" >&6
7874 else
7875 echo "$as_me:$LINENO: result: no" >&5
7876 echo "${ECHO_T}no" >&6
7877 fi
7878
7879
7880 enablestring=
7881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7882 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7883 no_cache=0
7884 # Check whether --enable-radiobox or --disable-radiobox was given.
7885 if test "${enable_radiobox+set}" = set; then
7886 enableval="$enable_radiobox"
7887
7888 if test "$enableval" = yes; then
7889 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7890 else
7891 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7892 fi
7893
7894 else
7895
7896 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x ; then
7898 eval "DEFAULT_$LINE"
7899 else
7900 no_cache=1
7901 fi
7902
7903 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7904
7905 fi;
7906
7907 eval "$ac_cv_use_radiobox"
7908 if test "$no_cache" != 1; then
7909 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7910 fi
7911
7912 if test "$wxUSE_RADIOBOX" = yes; then
7913 echo "$as_me:$LINENO: result: yes" >&5
7914 echo "${ECHO_T}yes" >&6
7915 else
7916 echo "$as_me:$LINENO: result: no" >&5
7917 echo "${ECHO_T}no" >&6
7918 fi
7919
7920
7921 enablestring=
7922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7924 no_cache=0
7925 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7926 if test "${enable_radiobtn+set}" = set; then
7927 enableval="$enable_radiobtn"
7928
7929 if test "$enableval" = yes; then
7930 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7931 else
7932 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7933 fi
7934
7935 else
7936
7937 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7938 if test "x$LINE" != x ; then
7939 eval "DEFAULT_$LINE"
7940 else
7941 no_cache=1
7942 fi
7943
7944 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7945
7946 fi;
7947
7948 eval "$ac_cv_use_radiobtn"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7951 fi
7952
7953 if test "$wxUSE_RADIOBTN" = yes; then
7954 echo "$as_me:$LINENO: result: yes" >&5
7955 echo "${ECHO_T}yes" >&6
7956 else
7957 echo "$as_me:$LINENO: result: no" >&5
7958 echo "${ECHO_T}no" >&6
7959 fi
7960
7961
7962 enablestring=
7963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7964 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7965 no_cache=0
7966 # Check whether --enable-sash or --disable-sash was given.
7967 if test "${enable_sash+set}" = set; then
7968 enableval="$enable_sash"
7969
7970 if test "$enableval" = yes; then
7971 ac_cv_use_sash='wxUSE_SASH=yes'
7972 else
7973 ac_cv_use_sash='wxUSE_SASH=no'
7974 fi
7975
7976 else
7977
7978 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x ; then
7980 eval "DEFAULT_$LINE"
7981 else
7982 no_cache=1
7983 fi
7984
7985 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7986
7987 fi;
7988
7989 eval "$ac_cv_use_sash"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7992 fi
7993
7994 if test "$wxUSE_SASH" = yes; then
7995 echo "$as_me:$LINENO: result: yes" >&5
7996 echo "${ECHO_T}yes" >&6
7997 else
7998 echo "$as_me:$LINENO: result: no" >&5
7999 echo "${ECHO_T}no" >&6
8000 fi
8001
8002
8003 enablestring=
8004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8006 no_cache=0
8007 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8008 if test "${enable_scrollbar+set}" = set; then
8009 enableval="$enable_scrollbar"
8010
8011 if test "$enableval" = yes; then
8012 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8013 else
8014 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8015 fi
8016
8017 else
8018
8019 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8020 if test "x$LINE" != x ; then
8021 eval "DEFAULT_$LINE"
8022 else
8023 no_cache=1
8024 fi
8025
8026 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8027
8028 fi;
8029
8030 eval "$ac_cv_use_scrollbar"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8033 fi
8034
8035 if test "$wxUSE_SCROLLBAR" = yes; then
8036 echo "$as_me:$LINENO: result: yes" >&5
8037 echo "${ECHO_T}yes" >&6
8038 else
8039 echo "$as_me:$LINENO: result: no" >&5
8040 echo "${ECHO_T}no" >&6
8041 fi
8042
8043
8044 enablestring=
8045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8047 no_cache=0
8048 # Check whether --enable-slider or --disable-slider was given.
8049 if test "${enable_slider+set}" = set; then
8050 enableval="$enable_slider"
8051
8052 if test "$enableval" = yes; then
8053 ac_cv_use_slider='wxUSE_SLIDER=yes'
8054 else
8055 ac_cv_use_slider='wxUSE_SLIDER=no'
8056 fi
8057
8058 else
8059
8060 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x ; then
8062 eval "DEFAULT_$LINE"
8063 else
8064 no_cache=1
8065 fi
8066
8067 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8068
8069 fi;
8070
8071 eval "$ac_cv_use_slider"
8072 if test "$no_cache" != 1; then
8073 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8074 fi
8075
8076 if test "$wxUSE_SLIDER" = yes; then
8077 echo "$as_me:$LINENO: result: yes" >&5
8078 echo "${ECHO_T}yes" >&6
8079 else
8080 echo "$as_me:$LINENO: result: no" >&5
8081 echo "${ECHO_T}no" >&6
8082 fi
8083
8084
8085 enablestring=
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8088 no_cache=0
8089 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8090 if test "${enable_spinbtn+set}" = set; then
8091 enableval="$enable_spinbtn"
8092
8093 if test "$enableval" = yes; then
8094 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8095 else
8096 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8097 fi
8098
8099 else
8100
8101 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x ; then
8103 eval "DEFAULT_$LINE"
8104 else
8105 no_cache=1
8106 fi
8107
8108 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8109
8110 fi;
8111
8112 eval "$ac_cv_use_spinbtn"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8115 fi
8116
8117 if test "$wxUSE_SPINBTN" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8120 else
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8123 fi
8124
8125
8126 enablestring=
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8129 no_cache=0
8130 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8131 if test "${enable_spinctrl+set}" = set; then
8132 enableval="$enable_spinctrl"
8133
8134 if test "$enableval" = yes; then
8135 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8136 else
8137 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8138 fi
8139
8140 else
8141
8142 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x ; then
8144 eval "DEFAULT_$LINE"
8145 else
8146 no_cache=1
8147 fi
8148
8149 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8150
8151 fi;
8152
8153 eval "$ac_cv_use_spinctrl"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8156 fi
8157
8158 if test "$wxUSE_SPINCTRL" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8161 else
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8164 fi
8165
8166
8167 enablestring=
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8170 no_cache=0
8171 # Check whether --enable-splitter or --disable-splitter was given.
8172 if test "${enable_splitter+set}" = set; then
8173 enableval="$enable_splitter"
8174
8175 if test "$enableval" = yes; then
8176 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8177 else
8178 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8179 fi
8180
8181 else
8182
8183 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x ; then
8185 eval "DEFAULT_$LINE"
8186 else
8187 no_cache=1
8188 fi
8189
8190 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8191
8192 fi;
8193
8194 eval "$ac_cv_use_splitter"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8197 fi
8198
8199 if test "$wxUSE_SPLITTER" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8202 else
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8205 fi
8206
8207
8208 enablestring=
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8211 no_cache=0
8212 # Check whether --enable-statbmp or --disable-statbmp was given.
8213 if test "${enable_statbmp+set}" = set; then
8214 enableval="$enable_statbmp"
8215
8216 if test "$enableval" = yes; then
8217 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8218 else
8219 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8220 fi
8221
8222 else
8223
8224 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x ; then
8226 eval "DEFAULT_$LINE"
8227 else
8228 no_cache=1
8229 fi
8230
8231 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8232
8233 fi;
8234
8235 eval "$ac_cv_use_statbmp"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8238 fi
8239
8240 if test "$wxUSE_STATBMP" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8243 else
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8246 fi
8247
8248
8249 enablestring=
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8252 no_cache=0
8253 # Check whether --enable-statbox or --disable-statbox was given.
8254 if test "${enable_statbox+set}" = set; then
8255 enableval="$enable_statbox"
8256
8257 if test "$enableval" = yes; then
8258 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8259 else
8260 ac_cv_use_statbox='wxUSE_STATBOX=no'
8261 fi
8262
8263 else
8264
8265 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 else
8269 no_cache=1
8270 fi
8271
8272 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8273
8274 fi;
8275
8276 eval "$ac_cv_use_statbox"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8279 fi
8280
8281 if test "$wxUSE_STATBOX" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8284 else
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8287 fi
8288
8289
8290 enablestring=
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8293 no_cache=0
8294 # Check whether --enable-statline or --disable-statline was given.
8295 if test "${enable_statline+set}" = set; then
8296 enableval="$enable_statline"
8297
8298 if test "$enableval" = yes; then
8299 ac_cv_use_statline='wxUSE_STATLINE=yes'
8300 else
8301 ac_cv_use_statline='wxUSE_STATLINE=no'
8302 fi
8303
8304 else
8305
8306 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x ; then
8308 eval "DEFAULT_$LINE"
8309 else
8310 no_cache=1
8311 fi
8312
8313 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8314
8315 fi;
8316
8317 eval "$ac_cv_use_statline"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8320 fi
8321
8322 if test "$wxUSE_STATLINE" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8325 else
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8328 fi
8329
8330
8331 enablestring=
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8334 no_cache=0
8335 # Check whether --enable-stattext or --disable-stattext was given.
8336 if test "${enable_stattext+set}" = set; then
8337 enableval="$enable_stattext"
8338
8339 if test "$enableval" = yes; then
8340 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8341 else
8342 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8343 fi
8344
8345 else
8346
8347 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x ; then
8349 eval "DEFAULT_$LINE"
8350 else
8351 no_cache=1
8352 fi
8353
8354 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8355
8356 fi;
8357
8358 eval "$ac_cv_use_stattext"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8361 fi
8362
8363 if test "$wxUSE_STATTEXT" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8366 else
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8369 fi
8370
8371
8372 enablestring=
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8375 no_cache=0
8376 # Check whether --enable-statusbar or --disable-statusbar was given.
8377 if test "${enable_statusbar+set}" = set; then
8378 enableval="$enable_statusbar"
8379
8380 if test "$enableval" = yes; then
8381 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8382 else
8383 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8384 fi
8385
8386 else
8387
8388 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8391 else
8392 no_cache=1
8393 fi
8394
8395 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8396
8397 fi;
8398
8399 eval "$ac_cv_use_statusbar"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8402 fi
8403
8404 if test "$wxUSE_STATUSBAR" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8407 else
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8410 fi
8411
8412
8413 enablestring=
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8416 no_cache=0
8417 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8418 if test "${enable_tabdialog+set}" = set; then
8419 enableval="$enable_tabdialog"
8420
8421 if test "$enableval" = yes; then
8422 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8423 else
8424 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8425 fi
8426
8427 else
8428
8429 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x ; then
8431 eval "DEFAULT_$LINE"
8432 else
8433 no_cache=1
8434 fi
8435
8436 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8437
8438 fi;
8439
8440 eval "$ac_cv_use_tabdialog"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8443 fi
8444
8445 if test "$wxUSE_TABDIALOG" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8448 else
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8451 fi
8452
8453
8454 enablestring=
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8457 no_cache=0
8458 # Check whether --enable-textctrl or --disable-textctrl was given.
8459 if test "${enable_textctrl+set}" = set; then
8460 enableval="$enable_textctrl"
8461
8462 if test "$enableval" = yes; then
8463 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8464 else
8465 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8466 fi
8467
8468 else
8469
8470 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x ; then
8472 eval "DEFAULT_$LINE"
8473 else
8474 no_cache=1
8475 fi
8476
8477 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8478
8479 fi;
8480
8481 eval "$ac_cv_use_textctrl"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8484 fi
8485
8486 if test "$wxUSE_TEXTCTRL" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8489 else
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8492 fi
8493
8494
8495 enablestring=
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8498 no_cache=0
8499 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8500 if test "${enable_togglebtn+set}" = set; then
8501 enableval="$enable_togglebtn"
8502
8503 if test "$enableval" = yes; then
8504 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8505 else
8506 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8507 fi
8508
8509 else
8510
8511 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x ; then
8513 eval "DEFAULT_$LINE"
8514 else
8515 no_cache=1
8516 fi
8517
8518 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8519
8520 fi;
8521
8522 eval "$ac_cv_use_togglebtn"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8525 fi
8526
8527 if test "$wxUSE_TOGGLEBTN" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8530 else
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8533 fi
8534
8535
8536 enablestring=
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8539 no_cache=0
8540 # Check whether --enable-toolbar or --disable-toolbar was given.
8541 if test "${enable_toolbar+set}" = set; then
8542 enableval="$enable_toolbar"
8543
8544 if test "$enableval" = yes; then
8545 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8546 else
8547 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8548 fi
8549
8550 else
8551
8552 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x ; then
8554 eval "DEFAULT_$LINE"
8555 else
8556 no_cache=1
8557 fi
8558
8559 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8560
8561 fi;
8562
8563 eval "$ac_cv_use_toolbar"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8566 fi
8567
8568 if test "$wxUSE_TOOLBAR" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8571 else
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8574 fi
8575
8576
8577 enablestring=
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8580 no_cache=0
8581 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8582 if test "${enable_tbarnative+set}" = set; then
8583 enableval="$enable_tbarnative"
8584
8585 if test "$enableval" = yes; then
8586 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8587 else
8588 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8589 fi
8590
8591 else
8592
8593 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x ; then
8595 eval "DEFAULT_$LINE"
8596 else
8597 no_cache=1
8598 fi
8599
8600 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8601
8602 fi;
8603
8604 eval "$ac_cv_use_tbarnative"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8607 fi
8608
8609 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8612 else
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8615 fi
8616
8617
8618 enablestring=
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8621 no_cache=0
8622 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8623 if test "${enable_tbarsmpl+set}" = set; then
8624 enableval="$enable_tbarsmpl"
8625
8626 if test "$enableval" = yes; then
8627 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8628 else
8629 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8630 fi
8631
8632 else
8633
8634 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x ; then
8636 eval "DEFAULT_$LINE"
8637 else
8638 no_cache=1
8639 fi
8640
8641 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8642
8643 fi;
8644
8645 eval "$ac_cv_use_tbarsmpl"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8648 fi
8649
8650 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8653 else
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8656 fi
8657
8658
8659 enablestring=
8660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8661 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8662 no_cache=0
8663 # Check whether --enable-treectrl or --disable-treectrl was given.
8664 if test "${enable_treectrl+set}" = set; then
8665 enableval="$enable_treectrl"
8666
8667 if test "$enableval" = yes; then
8668 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8669 else
8670 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8671 fi
8672
8673 else
8674
8675 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8676 if test "x$LINE" != x ; then
8677 eval "DEFAULT_$LINE"
8678 else
8679 no_cache=1
8680 fi
8681
8682 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8683
8684 fi;
8685
8686 eval "$ac_cv_use_treectrl"
8687 if test "$no_cache" != 1; then
8688 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8689 fi
8690
8691 if test "$wxUSE_TREECTRL" = yes; then
8692 echo "$as_me:$LINENO: result: yes" >&5
8693 echo "${ECHO_T}yes" >&6
8694 else
8695 echo "$as_me:$LINENO: result: no" >&5
8696 echo "${ECHO_T}no" >&6
8697 fi
8698
8699
8700 enablestring=
8701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8702 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8703 no_cache=0
8704 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8705 if test "${enable_tipwindow+set}" = set; then
8706 enableval="$enable_tipwindow"
8707
8708 if test "$enableval" = yes; then
8709 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8710 else
8711 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8712 fi
8713
8714 else
8715
8716 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x ; then
8718 eval "DEFAULT_$LINE"
8719 else
8720 no_cache=1
8721 fi
8722
8723 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8724
8725 fi;
8726
8727 eval "$ac_cv_use_tipwindow"
8728 if test "$no_cache" != 1; then
8729 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8730 fi
8731
8732 if test "$wxUSE_TIPWINDOW" = yes; then
8733 echo "$as_me:$LINENO: result: yes" >&5
8734 echo "${ECHO_T}yes" >&6
8735 else
8736 echo "$as_me:$LINENO: result: no" >&5
8737 echo "${ECHO_T}no" >&6
8738 fi
8739
8740
8741 enablestring=
8742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8743 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8744 no_cache=0
8745 # Check whether --enable-popupwin or --disable-popupwin was given.
8746 if test "${enable_popupwin+set}" = set; then
8747 enableval="$enable_popupwin"
8748
8749 if test "$enableval" = yes; then
8750 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8751 else
8752 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8753 fi
8754
8755 else
8756
8757 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8758 if test "x$LINE" != x ; then
8759 eval "DEFAULT_$LINE"
8760 else
8761 no_cache=1
8762 fi
8763
8764 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8765
8766 fi;
8767
8768 eval "$ac_cv_use_popupwin"
8769 if test "$no_cache" != 1; then
8770 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8771 fi
8772
8773 if test "$wxUSE_POPUPWIN" = yes; then
8774 echo "$as_me:$LINENO: result: yes" >&5
8775 echo "${ECHO_T}yes" >&6
8776 else
8777 echo "$as_me:$LINENO: result: no" >&5
8778 echo "${ECHO_T}no" >&6
8779 fi
8780
8781
8782
8783
8784 enablestring=
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8787 no_cache=0
8788 # Check whether --enable-commondlg or --disable-commondlg was given.
8789 if test "${enable_commondlg+set}" = set; then
8790 enableval="$enable_commondlg"
8791
8792 if test "$enableval" = yes; then
8793 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8794 else
8795 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8796 fi
8797
8798 else
8799
8800 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x ; then
8802 eval "DEFAULT_$LINE"
8803 else
8804 no_cache=1
8805 fi
8806
8807 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8808
8809 fi;
8810
8811 eval "$ac_cv_use_commondlg"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8814 fi
8815
8816 if test "$wxUSE_COMMONDLGS" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8819 else
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8822 fi
8823
8824
8825 enablestring=
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8828 no_cache=0
8829 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8830 if test "${enable_choicedlg+set}" = set; then
8831 enableval="$enable_choicedlg"
8832
8833 if test "$enableval" = yes; then
8834 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8835 else
8836 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8837 fi
8838
8839 else
8840
8841 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x ; then
8843 eval "DEFAULT_$LINE"
8844 else
8845 no_cache=1
8846 fi
8847
8848 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8849
8850 fi;
8851
8852 eval "$ac_cv_use_choicedlg"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8855 fi
8856
8857 if test "$wxUSE_CHOICEDLG" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8860 else
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8863 fi
8864
8865
8866 enablestring=
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8869 no_cache=0
8870 # Check whether --enable-coldlg or --disable-coldlg was given.
8871 if test "${enable_coldlg+set}" = set; then
8872 enableval="$enable_coldlg"
8873
8874 if test "$enableval" = yes; then
8875 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8876 else
8877 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8878 fi
8879
8880 else
8881
8882 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x ; then
8884 eval "DEFAULT_$LINE"
8885 else
8886 no_cache=1
8887 fi
8888
8889 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8890
8891 fi;
8892
8893 eval "$ac_cv_use_coldlg"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8896 fi
8897
8898 if test "$wxUSE_COLOURDLG" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8901 else
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8904 fi
8905
8906
8907 enablestring=
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8910 no_cache=0
8911 # Check whether --enable-filedlg or --disable-filedlg was given.
8912 if test "${enable_filedlg+set}" = set; then
8913 enableval="$enable_filedlg"
8914
8915 if test "$enableval" = yes; then
8916 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8917 else
8918 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8919 fi
8920
8921 else
8922
8923 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x ; then
8925 eval "DEFAULT_$LINE"
8926 else
8927 no_cache=1
8928 fi
8929
8930 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8931
8932 fi;
8933
8934 eval "$ac_cv_use_filedlg"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8937 fi
8938
8939 if test "$wxUSE_FILEDLG" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8942 else
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8945 fi
8946
8947
8948 enablestring=
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8951 no_cache=0
8952 # Check whether --enable-finddlg or --disable-finddlg was given.
8953 if test "${enable_finddlg+set}" = set; then
8954 enableval="$enable_finddlg"
8955
8956 if test "$enableval" = yes; then
8957 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8958 else
8959 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8960 fi
8961
8962 else
8963
8964 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x ; then
8966 eval "DEFAULT_$LINE"
8967 else
8968 no_cache=1
8969 fi
8970
8971 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8972
8973 fi;
8974
8975 eval "$ac_cv_use_finddlg"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8978 fi
8979
8980 if test "$wxUSE_FINDREPLDLG" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8983 else
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8986 fi
8987
8988
8989 enablestring=
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8992 no_cache=0
8993 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8994 if test "${enable_fontdlg+set}" = set; then
8995 enableval="$enable_fontdlg"
8996
8997 if test "$enableval" = yes; then
8998 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8999 else
9000 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9001 fi
9002
9003 else
9004
9005 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x ; then
9007 eval "DEFAULT_$LINE"
9008 else
9009 no_cache=1
9010 fi
9011
9012 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9013
9014 fi;
9015
9016 eval "$ac_cv_use_fontdlg"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9019 fi
9020
9021 if test "$wxUSE_FONTDLG" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9024 else
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9027 fi
9028
9029
9030 enablestring=
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9033 no_cache=0
9034 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9035 if test "${enable_dirdlg+set}" = set; then
9036 enableval="$enable_dirdlg"
9037
9038 if test "$enableval" = yes; then
9039 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9040 else
9041 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9042 fi
9043
9044 else
9045
9046 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x ; then
9048 eval "DEFAULT_$LINE"
9049 else
9050 no_cache=1
9051 fi
9052
9053 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9054
9055 fi;
9056
9057 eval "$ac_cv_use_dirdlg"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9060 fi
9061
9062 if test "$wxUSE_DIRDLG" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9065 else
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9068 fi
9069
9070
9071 enablestring=
9072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9074 no_cache=0
9075 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9076 if test "${enable_msgdlg+set}" = set; then
9077 enableval="$enable_msgdlg"
9078
9079 if test "$enableval" = yes; then
9080 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9081 else
9082 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9083 fi
9084
9085 else
9086
9087 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9088 if test "x$LINE" != x ; then
9089 eval "DEFAULT_$LINE"
9090 else
9091 no_cache=1
9092 fi
9093
9094 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9095
9096 fi;
9097
9098 eval "$ac_cv_use_msgdlg"
9099 if test "$no_cache" != 1; then
9100 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9101 fi
9102
9103 if test "$wxUSE_MSGDLG" = yes; then
9104 echo "$as_me:$LINENO: result: yes" >&5
9105 echo "${ECHO_T}yes" >&6
9106 else
9107 echo "$as_me:$LINENO: result: no" >&5
9108 echo "${ECHO_T}no" >&6
9109 fi
9110
9111
9112 enablestring=
9113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9114 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9115 no_cache=0
9116 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9117 if test "${enable_numberdlg+set}" = set; then
9118 enableval="$enable_numberdlg"
9119
9120 if test "$enableval" = yes; then
9121 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9122 else
9123 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9124 fi
9125
9126 else
9127
9128 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9129 if test "x$LINE" != x ; then
9130 eval "DEFAULT_$LINE"
9131 else
9132 no_cache=1
9133 fi
9134
9135 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9136
9137 fi;
9138
9139 eval "$ac_cv_use_numberdlg"
9140 if test "$no_cache" != 1; then
9141 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9142 fi
9143
9144 if test "$wxUSE_NUMBERDLG" = yes; then
9145 echo "$as_me:$LINENO: result: yes" >&5
9146 echo "${ECHO_T}yes" >&6
9147 else
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9150 fi
9151
9152
9153 enablestring=
9154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9155 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9156 no_cache=0
9157 # Check whether --enable-splash or --disable-splash was given.
9158 if test "${enable_splash+set}" = set; then
9159 enableval="$enable_splash"
9160
9161 if test "$enableval" = yes; then
9162 ac_cv_use_splash='wxUSE_SPLASH=yes'
9163 else
9164 ac_cv_use_splash='wxUSE_SPLASH=no'
9165 fi
9166
9167 else
9168
9169 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9170 if test "x$LINE" != x ; then
9171 eval "DEFAULT_$LINE"
9172 else
9173 no_cache=1
9174 fi
9175
9176 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9177
9178 fi;
9179
9180 eval "$ac_cv_use_splash"
9181 if test "$no_cache" != 1; then
9182 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9183 fi
9184
9185 if test "$wxUSE_SPLASH" = yes; then
9186 echo "$as_me:$LINENO: result: yes" >&5
9187 echo "${ECHO_T}yes" >&6
9188 else
9189 echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6
9191 fi
9192
9193
9194 enablestring=
9195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9197 no_cache=0
9198 # Check whether --enable-textdlg or --disable-textdlg was given.
9199 if test "${enable_textdlg+set}" = set; then
9200 enableval="$enable_textdlg"
9201
9202 if test "$enableval" = yes; then
9203 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9204 else
9205 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9206 fi
9207
9208 else
9209
9210 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9211 if test "x$LINE" != x ; then
9212 eval "DEFAULT_$LINE"
9213 else
9214 no_cache=1
9215 fi
9216
9217 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9218
9219 fi;
9220
9221 eval "$ac_cv_use_textdlg"
9222 if test "$no_cache" != 1; then
9223 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9224 fi
9225
9226 if test "$wxUSE_TEXTDLG" = yes; then
9227 echo "$as_me:$LINENO: result: yes" >&5
9228 echo "${ECHO_T}yes" >&6
9229 else
9230 echo "$as_me:$LINENO: result: no" >&5
9231 echo "${ECHO_T}no" >&6
9232 fi
9233
9234
9235 enablestring=
9236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9238 no_cache=0
9239 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9240 if test "${enable_tipdlg+set}" = set; then
9241 enableval="$enable_tipdlg"
9242
9243 if test "$enableval" = yes; then
9244 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9245 else
9246 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9247 fi
9248
9249 else
9250
9251 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9252 if test "x$LINE" != x ; then
9253 eval "DEFAULT_$LINE"
9254 else
9255 no_cache=1
9256 fi
9257
9258 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9259
9260 fi;
9261
9262 eval "$ac_cv_use_tipdlg"
9263 if test "$no_cache" != 1; then
9264 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9265 fi
9266
9267 if test "$wxUSE_STARTUP_TIPS" = yes; then
9268 echo "$as_me:$LINENO: result: yes" >&5
9269 echo "${ECHO_T}yes" >&6
9270 else
9271 echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6
9273 fi
9274
9275
9276 enablestring=
9277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9278 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9279 no_cache=0
9280 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9281 if test "${enable_progressdlg+set}" = set; then
9282 enableval="$enable_progressdlg"
9283
9284 if test "$enableval" = yes; then
9285 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9286 else
9287 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9288 fi
9289
9290 else
9291
9292 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9293 if test "x$LINE" != x ; then
9294 eval "DEFAULT_$LINE"
9295 else
9296 no_cache=1
9297 fi
9298
9299 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9300
9301 fi;
9302
9303 eval "$ac_cv_use_progressdlg"
9304 if test "$no_cache" != 1; then
9305 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9306 fi
9307
9308 if test "$wxUSE_PROGRESSDLG" = yes; then
9309 echo "$as_me:$LINENO: result: yes" >&5
9310 echo "${ECHO_T}yes" >&6
9311 else
9312 echo "$as_me:$LINENO: result: no" >&5
9313 echo "${ECHO_T}no" >&6
9314 fi
9315
9316
9317 enablestring=
9318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9319 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9320 no_cache=0
9321 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9322 if test "${enable_wizarddlg+set}" = set; then
9323 enableval="$enable_wizarddlg"
9324
9325 if test "$enableval" = yes; then
9326 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9327 else
9328 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9329 fi
9330
9331 else
9332
9333 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9334 if test "x$LINE" != x ; then
9335 eval "DEFAULT_$LINE"
9336 else
9337 no_cache=1
9338 fi
9339
9340 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9341
9342 fi;
9343
9344 eval "$ac_cv_use_wizarddlg"
9345 if test "$no_cache" != 1; then
9346 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9347 fi
9348
9349 if test "$wxUSE_WIZARDDLG" = yes; then
9350 echo "$as_me:$LINENO: result: yes" >&5
9351 echo "${ECHO_T}yes" >&6
9352 else
9353 echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6
9355 fi
9356
9357
9358
9359
9360 enablestring=
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9363 no_cache=0
9364 # Check whether --enable-menus or --disable-menus was given.
9365 if test "${enable_menus+set}" = set; then
9366 enableval="$enable_menus"
9367
9368 if test "$enableval" = yes; then
9369 ac_cv_use_menus='wxUSE_MENUS=yes'
9370 else
9371 ac_cv_use_menus='wxUSE_MENUS=no'
9372 fi
9373
9374 else
9375
9376 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x ; then
9378 eval "DEFAULT_$LINE"
9379 else
9380 no_cache=1
9381 fi
9382
9383 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9384
9385 fi;
9386
9387 eval "$ac_cv_use_menus"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9390 fi
9391
9392 if test "$wxUSE_MENUS" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9395 else
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9398 fi
9399
9400
9401 enablestring=
9402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9404 no_cache=0
9405 # Check whether --enable-miniframe or --disable-miniframe was given.
9406 if test "${enable_miniframe+set}" = set; then
9407 enableval="$enable_miniframe"
9408
9409 if test "$enableval" = yes; then
9410 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9411 else
9412 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9413 fi
9414
9415 else
9416
9417 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9418 if test "x$LINE" != x ; then
9419 eval "DEFAULT_$LINE"
9420 else
9421 no_cache=1
9422 fi
9423
9424 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9425
9426 fi;
9427
9428 eval "$ac_cv_use_miniframe"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9431 fi
9432
9433 if test "$wxUSE_MINIFRAME" = yes; then
9434 echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6
9436 else
9437 echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6
9439 fi
9440
9441
9442 enablestring=
9443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9445 no_cache=0
9446 # Check whether --enable-tooltips or --disable-tooltips was given.
9447 if test "${enable_tooltips+set}" = set; then
9448 enableval="$enable_tooltips"
9449
9450 if test "$enableval" = yes; then
9451 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9452 else
9453 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9454 fi
9455
9456 else
9457
9458 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9459 if test "x$LINE" != x ; then
9460 eval "DEFAULT_$LINE"
9461 else
9462 no_cache=1
9463 fi
9464
9465 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9466
9467 fi;
9468
9469 eval "$ac_cv_use_tooltips"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9472 fi
9473
9474 if test "$wxUSE_TOOLTIPS" = yes; then
9475 echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6
9477 else
9478 echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6
9480 fi
9481
9482
9483 enablestring=
9484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9486 no_cache=0
9487 # Check whether --enable-splines or --disable-splines was given.
9488 if test "${enable_splines+set}" = set; then
9489 enableval="$enable_splines"
9490
9491 if test "$enableval" = yes; then
9492 ac_cv_use_splines='wxUSE_SPLINES=yes'
9493 else
9494 ac_cv_use_splines='wxUSE_SPLINES=no'
9495 fi
9496
9497 else
9498
9499 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9500 if test "x$LINE" != x ; then
9501 eval "DEFAULT_$LINE"
9502 else
9503 no_cache=1
9504 fi
9505
9506 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9507
9508 fi;
9509
9510 eval "$ac_cv_use_splines"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9513 fi
9514
9515 if test "$wxUSE_SPLINES" = yes; then
9516 echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6
9518 else
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9521 fi
9522
9523
9524 enablestring=
9525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9527 no_cache=0
9528 # Check whether --enable-validators or --disable-validators was given.
9529 if test "${enable_validators+set}" = set; then
9530 enableval="$enable_validators"
9531
9532 if test "$enableval" = yes; then
9533 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9534 else
9535 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9536 fi
9537
9538 else
9539
9540 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9541 if test "x$LINE" != x ; then
9542 eval "DEFAULT_$LINE"
9543 else
9544 no_cache=1
9545 fi
9546
9547 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9548
9549 fi;
9550
9551 eval "$ac_cv_use_validators"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9554 fi
9555
9556 if test "$wxUSE_VALIDATORS" = yes; then
9557 echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6
9559 else
9560 echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6
9562 fi
9563
9564
9565 enablestring=
9566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9568 no_cache=0
9569 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9570 if test "${enable_busyinfo+set}" = set; then
9571 enableval="$enable_busyinfo"
9572
9573 if test "$enableval" = yes; then
9574 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9575 else
9576 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9577 fi
9578
9579 else
9580
9581 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9582 if test "x$LINE" != x ; then
9583 eval "DEFAULT_$LINE"
9584 else
9585 no_cache=1
9586 fi
9587
9588 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9589
9590 fi;
9591
9592 eval "$ac_cv_use_busyinfo"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9595 fi
9596
9597 if test "$wxUSE_BUSYINFO" = yes; then
9598 echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6
9600 else
9601 echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6
9603 fi
9604
9605
9606 enablestring=
9607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9609 no_cache=0
9610 # Check whether --enable-joystick or --disable-joystick was given.
9611 if test "${enable_joystick+set}" = set; then
9612 enableval="$enable_joystick"
9613
9614 if test "$enableval" = yes; then
9615 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9616 else
9617 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9618 fi
9619
9620 else
9621
9622 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9623 if test "x$LINE" != x ; then
9624 eval "DEFAULT_$LINE"
9625 else
9626 no_cache=1
9627 fi
9628
9629 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9630
9631 fi;
9632
9633 eval "$ac_cv_use_joystick"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9636 fi
9637
9638 if test "$wxUSE_JOYSTICK" = yes; then
9639 echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6
9641 else
9642 echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6
9644 fi
9645
9646
9647 enablestring=
9648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9650 no_cache=0
9651 # Check whether --enable-metafile or --disable-metafile was given.
9652 if test "${enable_metafile+set}" = set; then
9653 enableval="$enable_metafile"
9654
9655 if test "$enableval" = yes; then
9656 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9657 else
9658 ac_cv_use_metafile='wxUSE_METAFILE=no'
9659 fi
9660
9661 else
9662
9663 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9664 if test "x$LINE" != x ; then
9665 eval "DEFAULT_$LINE"
9666 else
9667 no_cache=1
9668 fi
9669
9670 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9671
9672 fi;
9673
9674 eval "$ac_cv_use_metafile"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9677 fi
9678
9679 if test "$wxUSE_METAFILE" = yes; then
9680 echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6
9682 else
9683 echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6
9685 fi
9686
9687
9688 enablestring=
9689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9691 no_cache=0
9692 # Check whether --enable-dragimage or --disable-dragimage was given.
9693 if test "${enable_dragimage+set}" = set; then
9694 enableval="$enable_dragimage"
9695
9696 if test "$enableval" = yes; then
9697 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9698 else
9699 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9700 fi
9701
9702 else
9703
9704 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9705 if test "x$LINE" != x ; then
9706 eval "DEFAULT_$LINE"
9707 else
9708 no_cache=1
9709 fi
9710
9711 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9712
9713 fi;
9714
9715 eval "$ac_cv_use_dragimage"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9718 fi
9719
9720 if test "$wxUSE_DRAGIMAGE" = yes; then
9721 echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6
9723 else
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9726 fi
9727
9728
9729 enablestring=
9730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9732 no_cache=0
9733 # Check whether --enable-accessibility or --disable-accessibility was given.
9734 if test "${enable_accessibility+set}" = set; then
9735 enableval="$enable_accessibility"
9736
9737 if test "$enableval" = yes; then
9738 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9739 else
9740 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9741 fi
9742
9743 else
9744
9745 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9746 if test "x$LINE" != x ; then
9747 eval "DEFAULT_$LINE"
9748 else
9749 no_cache=1
9750 fi
9751
9752 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9753
9754 fi;
9755
9756 eval "$ac_cv_use_accessibility"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9759 fi
9760
9761 if test "$wxUSE_ACCESSIBILITY" = yes; then
9762 echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6
9764 else
9765 echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6
9767 fi
9768
9769
9770
9771
9772 enablestring=
9773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9774 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9775 no_cache=0
9776 # Check whether --enable-palette or --disable-palette was given.
9777 if test "${enable_palette+set}" = set; then
9778 enableval="$enable_palette"
9779
9780 if test "$enableval" = yes; then
9781 ac_cv_use_palette='wxUSE_PALETTE=yes'
9782 else
9783 ac_cv_use_palette='wxUSE_PALETTE=no'
9784 fi
9785
9786 else
9787
9788 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9789 if test "x$LINE" != x ; then
9790 eval "DEFAULT_$LINE"
9791 else
9792 no_cache=1
9793 fi
9794
9795 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9796
9797 fi;
9798
9799 eval "$ac_cv_use_palette"
9800 if test "$no_cache" != 1; then
9801 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9802 fi
9803
9804 if test "$wxUSE_PALETTE" = yes; then
9805 echo "$as_me:$LINENO: result: yes" >&5
9806 echo "${ECHO_T}yes" >&6
9807 else
9808 echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6
9810 fi
9811
9812
9813 enablestring=
9814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9815 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9816 no_cache=0
9817 # Check whether --enable-image or --disable-image was given.
9818 if test "${enable_image+set}" = set; then
9819 enableval="$enable_image"
9820
9821 if test "$enableval" = yes; then
9822 ac_cv_use_image='wxUSE_IMAGE=yes'
9823 else
9824 ac_cv_use_image='wxUSE_IMAGE=no'
9825 fi
9826
9827 else
9828
9829 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9830 if test "x$LINE" != x ; then
9831 eval "DEFAULT_$LINE"
9832 else
9833 no_cache=1
9834 fi
9835
9836 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9837
9838 fi;
9839
9840 eval "$ac_cv_use_image"
9841 if test "$no_cache" != 1; then
9842 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9843 fi
9844
9845 if test "$wxUSE_IMAGE" = yes; then
9846 echo "$as_me:$LINENO: result: yes" >&5
9847 echo "${ECHO_T}yes" >&6
9848 else
9849 echo "$as_me:$LINENO: result: no" >&5
9850 echo "${ECHO_T}no" >&6
9851 fi
9852
9853
9854 enablestring=
9855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9856 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9857 no_cache=0
9858 # Check whether --enable-gif or --disable-gif was given.
9859 if test "${enable_gif+set}" = set; then
9860 enableval="$enable_gif"
9861
9862 if test "$enableval" = yes; then
9863 ac_cv_use_gif='wxUSE_GIF=yes'
9864 else
9865 ac_cv_use_gif='wxUSE_GIF=no'
9866 fi
9867
9868 else
9869
9870 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9871 if test "x$LINE" != x ; then
9872 eval "DEFAULT_$LINE"
9873 else
9874 no_cache=1
9875 fi
9876
9877 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9878
9879 fi;
9880
9881 eval "$ac_cv_use_gif"
9882 if test "$no_cache" != 1; then
9883 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9884 fi
9885
9886 if test "$wxUSE_GIF" = yes; then
9887 echo "$as_me:$LINENO: result: yes" >&5
9888 echo "${ECHO_T}yes" >&6
9889 else
9890 echo "$as_me:$LINENO: result: no" >&5
9891 echo "${ECHO_T}no" >&6
9892 fi
9893
9894
9895 enablestring=
9896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9897 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9898 no_cache=0
9899 # Check whether --enable-pcx or --disable-pcx was given.
9900 if test "${enable_pcx+set}" = set; then
9901 enableval="$enable_pcx"
9902
9903 if test "$enableval" = yes; then
9904 ac_cv_use_pcx='wxUSE_PCX=yes'
9905 else
9906 ac_cv_use_pcx='wxUSE_PCX=no'
9907 fi
9908
9909 else
9910
9911 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9912 if test "x$LINE" != x ; then
9913 eval "DEFAULT_$LINE"
9914 else
9915 no_cache=1
9916 fi
9917
9918 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9919
9920 fi;
9921
9922 eval "$ac_cv_use_pcx"
9923 if test "$no_cache" != 1; then
9924 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9925 fi
9926
9927 if test "$wxUSE_PCX" = yes; then
9928 echo "$as_me:$LINENO: result: yes" >&5
9929 echo "${ECHO_T}yes" >&6
9930 else
9931 echo "$as_me:$LINENO: result: no" >&5
9932 echo "${ECHO_T}no" >&6
9933 fi
9934
9935
9936 enablestring=
9937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9939 no_cache=0
9940 # Check whether --enable-iff or --disable-iff was given.
9941 if test "${enable_iff+set}" = set; then
9942 enableval="$enable_iff"
9943
9944 if test "$enableval" = yes; then
9945 ac_cv_use_iff='wxUSE_IFF=yes'
9946 else
9947 ac_cv_use_iff='wxUSE_IFF=no'
9948 fi
9949
9950 else
9951
9952 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9953 if test "x$LINE" != x ; then
9954 eval "DEFAULT_$LINE"
9955 else
9956 no_cache=1
9957 fi
9958
9959 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9960
9961 fi;
9962
9963 eval "$ac_cv_use_iff"
9964 if test "$no_cache" != 1; then
9965 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9966 fi
9967
9968 if test "$wxUSE_IFF" = yes; then
9969 echo "$as_me:$LINENO: result: yes" >&5
9970 echo "${ECHO_T}yes" >&6
9971 else
9972 echo "$as_me:$LINENO: result: no" >&5
9973 echo "${ECHO_T}no" >&6
9974 fi
9975
9976
9977 enablestring=
9978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9979 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9980 no_cache=0
9981 # Check whether --enable-pnm or --disable-pnm was given.
9982 if test "${enable_pnm+set}" = set; then
9983 enableval="$enable_pnm"
9984
9985 if test "$enableval" = yes; then
9986 ac_cv_use_pnm='wxUSE_PNM=yes'
9987 else
9988 ac_cv_use_pnm='wxUSE_PNM=no'
9989 fi
9990
9991 else
9992
9993 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9994 if test "x$LINE" != x ; then
9995 eval "DEFAULT_$LINE"
9996 else
9997 no_cache=1
9998 fi
9999
10000 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10001
10002 fi;
10003
10004 eval "$ac_cv_use_pnm"
10005 if test "$no_cache" != 1; then
10006 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10007 fi
10008
10009 if test "$wxUSE_PNM" = yes; then
10010 echo "$as_me:$LINENO: result: yes" >&5
10011 echo "${ECHO_T}yes" >&6
10012 else
10013 echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6
10015 fi
10016
10017
10018 enablestring=
10019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10021 no_cache=0
10022 # Check whether --enable-xpm or --disable-xpm was given.
10023 if test "${enable_xpm+set}" = set; then
10024 enableval="$enable_xpm"
10025
10026 if test "$enableval" = yes; then
10027 ac_cv_use_xpm='wxUSE_XPM=yes'
10028 else
10029 ac_cv_use_xpm='wxUSE_XPM=no'
10030 fi
10031
10032 else
10033
10034 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10035 if test "x$LINE" != x ; then
10036 eval "DEFAULT_$LINE"
10037 else
10038 no_cache=1
10039 fi
10040
10041 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10042
10043 fi;
10044
10045 eval "$ac_cv_use_xpm"
10046 if test "$no_cache" != 1; then
10047 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10048 fi
10049
10050 if test "$wxUSE_XPM" = yes; then
10051 echo "$as_me:$LINENO: result: yes" >&5
10052 echo "${ECHO_T}yes" >&6
10053 else
10054 echo "$as_me:$LINENO: result: no" >&5
10055 echo "${ECHO_T}no" >&6
10056 fi
10057
10058
10059 enablestring=
10060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10061 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10062 no_cache=0
10063 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10064 if test "${enable_ico_cur+set}" = set; then
10065 enableval="$enable_ico_cur"
10066
10067 if test "$enableval" = yes; then
10068 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10069 else
10070 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10071 fi
10072
10073 else
10074
10075 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10076 if test "x$LINE" != x ; then
10077 eval "DEFAULT_$LINE"
10078 else
10079 no_cache=1
10080 fi
10081
10082 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10083
10084 fi;
10085
10086 eval "$ac_cv_use_ico_cur"
10087 if test "$no_cache" != 1; then
10088 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10089 fi
10090
10091 if test "$wxUSE_ICO_CUR" = yes; then
10092 echo "$as_me:$LINENO: result: yes" >&5
10093 echo "${ECHO_T}yes" >&6
10094 else
10095 echo "$as_me:$LINENO: result: no" >&5
10096 echo "${ECHO_T}no" >&6
10097 fi
10098
10099
10100 fi
10101
10102
10103
10104 # Check whether --with-flavour or --without-flavour was given.
10105 if test "${with_flavour+set}" = set; then
10106 withval="$with_flavour"
10107 WX_FLAVOUR="$withval"
10108 fi;
10109
10110
10111
10112 enablestring=
10113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10115 no_cache=0
10116 # Check whether --enable-official_build or --disable-official_build was given.
10117 if test "${enable_official_build+set}" = set; then
10118 enableval="$enable_official_build"
10119
10120 if test "$enableval" = yes; then
10121 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10122 else
10123 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10124 fi
10125
10126 else
10127
10128 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10129 if test "x$LINE" != x ; then
10130 eval "DEFAULT_$LINE"
10131 else
10132 no_cache=1
10133 fi
10134
10135 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10136
10137 fi;
10138
10139 eval "$ac_cv_use_official_build"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10142 fi
10143
10144 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10145 echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6
10147 else
10148 echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6
10150 fi
10151
10152 # Check whether --enable-vendor or --disable-vendor was given.
10153 if test "${enable_vendor+set}" = set; then
10154 enableval="$enable_vendor"
10155 VENDOR="$enableval"
10156 fi;
10157 if test "x$VENDOR" = "x"; then
10158 VENDOR="custom"
10159 fi
10160
10161
10162
10163
10164 echo "saving argument cache $wx_arg_cache_file"
10165 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10166
10167
10168
10169 echo "$as_me:$LINENO: checking for toolkit" >&5
10170 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10171
10172 # In Wine, we need to default to MSW, not GTK or MOTIF
10173 if test "$wxUSE_WINE" = "yes"; then
10174 DEFAULT_DEFAULT_wxUSE_GTK=0
10175 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10176 DEFAULT_DEFAULT_wxUSE_MSW=1
10177 wxUSE_SHARED=no
10178 fi
10179
10180 if test "$wxUSE_GUI" = "yes"; then
10181
10182 if test "$USE_BEOS" = 1; then
10183 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10184 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10185 { (exit 1); exit 1; }; }
10186 fi
10187
10188 if test "$TOOLKIT_GIVEN" = 1; then
10189 for toolkit in `echo $ALL_TOOLKITS`; do
10190 var=wxUSE_$toolkit
10191 eval "value=\$${var}"
10192 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
10193 done
10194 else
10195 for toolkit in `echo $ALL_TOOLKITS`; do
10196 if test "$has_toolkit_in_cache" != 1; then
10197 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10198 else
10199 var=DEFAULT_wxUSE_$toolkit
10200 fi
10201 eval "wxUSE_$toolkit=\$${var}"
10202 done
10203 fi
10204
10205 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10206 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10207 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10208
10209 case "${host}" in
10210 *-pc-os2_emx | *-pc-os2-emx )
10211 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10212 esac
10213
10214 case "$NUM_TOOLKITS" in
10215 1)
10216 ;;
10217 0)
10218 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10219 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10220 { (exit 1); exit 1; }; }
10221 ;;
10222 *)
10223 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10224 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10225 { (exit 1); exit 1; }; }
10226 esac
10227
10228 for toolkit in `echo $ALL_TOOLKITS`; do
10229 var=wxUSE_$toolkit
10230 eval "value=\$${var}"
10231 if test "x$value" != x; then
10232 cache_var=CACHE_$toolkit
10233 eval "cache=\$${cache_var}"
10234 if test "$cache" = 1; then
10235 echo "$var=$value" >> ${wx_arg_cache_file}
10236 fi
10237 if test "$value" = 1; then
10238 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10239 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10240 echo "${ECHO_T}$toolkit_echo" >&6
10241 fi
10242 fi
10243 done
10244 else
10245 if test "x$host_alias" != "x"; then
10246 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10247 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10248 else
10249 echo "$as_me:$LINENO: result: base only" >&5
10250 echo "${ECHO_T}base only" >&6
10251 fi
10252 fi
10253
10254 wants_win32=0
10255 doesnt_want_win32=0
10256 case "${host}" in
10257 *-*-cygwin*)
10258 if test "$wxUSE_MSW" = 1 ; then
10259 wants_win32=1
10260 else
10261 doesnt_want_win32=1
10262 fi
10263 ;;
10264 *-*-mingw*)
10265 wants_win32=1
10266 ;;
10267 esac
10268
10269 if test "$wxUSE_WINE" = "yes"; then
10270 wants_win32=1
10271 CC=winegcc
10272 CXX=wineg++
10273 RESCOMP=wrc
10274 LDFLAGS_GUI="-mwindows"
10275 fi
10276
10277 if test "$wants_win32" = 1 ; then
10278 USE_UNIX=0
10279 USE_WIN32=1
10280 cat >>confdefs.h <<\_ACEOF
10281 #define __WIN32__ 1
10282 _ACEOF
10283
10284 cat >>confdefs.h <<\_ACEOF
10285 #define __WIN95__ 1
10286 _ACEOF
10287
10288 cat >>confdefs.h <<\_ACEOF
10289 #define __WINDOWS__ 1
10290 _ACEOF
10291
10292 cat >>confdefs.h <<\_ACEOF
10293 #define __GNUWIN32__ 1
10294 _ACEOF
10295
10296 cat >>confdefs.h <<\_ACEOF
10297 #define STRICT 1
10298 _ACEOF
10299
10300 cat >>confdefs.h <<\_ACEOF
10301 #define WINVER 0x0400
10302 _ACEOF
10303
10304 fi
10305 if test "$doesnt_want_win32" = 1 ; then
10306 USE_UNIX=1
10307 USE_WIN32=0
10308 fi
10309
10310 if test "$USE_UNIX" = 1 ; then
10311 wxUSE_UNIX=yes
10312 cat >>confdefs.h <<\_ACEOF
10313 #define __UNIX__ 1
10314 _ACEOF
10315
10316 fi
10317
10318
10319 cat >confcache <<\_ACEOF
10320 # This file is a shell script that caches the results of configure
10321 # tests run on this system so they can be shared between configure
10322 # scripts and configure runs, see configure's option --config-cache.
10323 # It is not useful on other systems. If it contains results you don't
10324 # want to keep, you may remove or edit it.
10325 #
10326 # config.status only pays attention to the cache file if you give it
10327 # the --recheck option to rerun configure.
10328 #
10329 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10330 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10331 # following values.
10332
10333 _ACEOF
10334
10335 # The following way of writing the cache mishandles newlines in values,
10336 # but we know of no workaround that is simple, portable, and efficient.
10337 # So, don't put newlines in cache variables' values.
10338 # Ultrix sh set writes to stderr and can't be redirected directly,
10339 # and sets the high bit in the cache file unless we assign to the vars.
10340 {
10341 (set) 2>&1 |
10342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10343 *ac_space=\ *)
10344 # `set' does not quote correctly, so add quotes (double-quote
10345 # substitution turns \\\\ into \\, and sed turns \\ into \).
10346 sed -n \
10347 "s/'/'\\\\''/g;
10348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10349 ;;
10350 *)
10351 # `set' quotes correctly as required by POSIX, so do not add quotes.
10352 sed -n \
10353 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10354 ;;
10355 esac;
10356 } |
10357 sed '
10358 t clear
10359 : clear
10360 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10361 t end
10362 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10363 : end' >>confcache
10364 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10365 if test -w $cache_file; then
10366 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10367 cat confcache >$cache_file
10368 else
10369 echo "not updating unwritable cache $cache_file"
10370 fi
10371 fi
10372 rm -f confcache
10373
10374 if test "$build" != "$host" ; then
10375 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX" = 1; then
10376 CC=$host_alias-gcc
10377 CXX=$host_alias-c++
10378 AR=$host_alias-ar
10379 RANLIB=$host_alias-ranlib
10380 DLLTOOL=$host_alias-dlltool
10381 RESCOMP=$host_alias-windres
10382 STRIP=$host_alias-strip
10383 elif test "x$CC" '!=' "x"; then
10384 echo "You set CC, I assume you know what you are doing."
10385 else
10386 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10387 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10388 { (exit 1); exit 1; }; }
10389 fi
10390 fi
10391
10392 CFLAGS=${CFLAGS:=}
10393 ac_ext=c
10394 ac_cpp='$CPP $CPPFLAGS'
10395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10398 if test -n "$ac_tool_prefix"; then
10399 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10400 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10401 echo "$as_me:$LINENO: checking for $ac_word" >&5
10402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10403 if test "${ac_cv_prog_CC+set}" = set; then
10404 echo $ECHO_N "(cached) $ECHO_C" >&6
10405 else
10406 if test -n "$CC"; then
10407 ac_cv_prog_CC="$CC" # Let the user override the test.
10408 else
10409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10410 for as_dir in $PATH
10411 do
10412 IFS=$as_save_IFS
10413 test -z "$as_dir" && as_dir=.
10414 for ac_exec_ext in '' $ac_executable_extensions; do
10415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10416 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10418 break 2
10419 fi
10420 done
10421 done
10422
10423 fi
10424 fi
10425 CC=$ac_cv_prog_CC
10426 if test -n "$CC"; then
10427 echo "$as_me:$LINENO: result: $CC" >&5
10428 echo "${ECHO_T}$CC" >&6
10429 else
10430 echo "$as_me:$LINENO: result: no" >&5
10431 echo "${ECHO_T}no" >&6
10432 fi
10433
10434 fi
10435 if test -z "$ac_cv_prog_CC"; then
10436 ac_ct_CC=$CC
10437 # Extract the first word of "gcc", so it can be a program name with args.
10438 set dummy gcc; ac_word=$2
10439 echo "$as_me:$LINENO: checking for $ac_word" >&5
10440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10442 echo $ECHO_N "(cached) $ECHO_C" >&6
10443 else
10444 if test -n "$ac_ct_CC"; then
10445 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10446 else
10447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10448 for as_dir in $PATH
10449 do
10450 IFS=$as_save_IFS
10451 test -z "$as_dir" && as_dir=.
10452 for ac_exec_ext in '' $ac_executable_extensions; do
10453 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10454 ac_cv_prog_ac_ct_CC="gcc"
10455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10456 break 2
10457 fi
10458 done
10459 done
10460
10461 fi
10462 fi
10463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10464 if test -n "$ac_ct_CC"; then
10465 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10466 echo "${ECHO_T}$ac_ct_CC" >&6
10467 else
10468 echo "$as_me:$LINENO: result: no" >&5
10469 echo "${ECHO_T}no" >&6
10470 fi
10471
10472 CC=$ac_ct_CC
10473 else
10474 CC="$ac_cv_prog_CC"
10475 fi
10476
10477 if test -z "$CC"; then
10478 if test -n "$ac_tool_prefix"; then
10479 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10480 set dummy ${ac_tool_prefix}cc; ac_word=$2
10481 echo "$as_me:$LINENO: checking for $ac_word" >&5
10482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10483 if test "${ac_cv_prog_CC+set}" = set; then
10484 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 else
10486 if test -n "$CC"; then
10487 ac_cv_prog_CC="$CC" # Let the user override the test.
10488 else
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10491 do
10492 IFS=$as_save_IFS
10493 test -z "$as_dir" && as_dir=.
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_CC="${ac_tool_prefix}cc"
10497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 break 2
10499 fi
10500 done
10501 done
10502
10503 fi
10504 fi
10505 CC=$ac_cv_prog_CC
10506 if test -n "$CC"; then
10507 echo "$as_me:$LINENO: result: $CC" >&5
10508 echo "${ECHO_T}$CC" >&6
10509 else
10510 echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6
10512 fi
10513
10514 fi
10515 if test -z "$ac_cv_prog_CC"; then
10516 ac_ct_CC=$CC
10517 # Extract the first word of "cc", so it can be a program name with args.
10518 set dummy cc; ac_word=$2
10519 echo "$as_me:$LINENO: checking for $ac_word" >&5
10520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10523 else
10524 if test -n "$ac_ct_CC"; then
10525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10526 else
10527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10528 for as_dir in $PATH
10529 do
10530 IFS=$as_save_IFS
10531 test -z "$as_dir" && as_dir=.
10532 for ac_exec_ext in '' $ac_executable_extensions; do
10533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10534 ac_cv_prog_ac_ct_CC="cc"
10535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10536 break 2
10537 fi
10538 done
10539 done
10540
10541 fi
10542 fi
10543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10544 if test -n "$ac_ct_CC"; then
10545 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10546 echo "${ECHO_T}$ac_ct_CC" >&6
10547 else
10548 echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6
10550 fi
10551
10552 CC=$ac_ct_CC
10553 else
10554 CC="$ac_cv_prog_CC"
10555 fi
10556
10557 fi
10558 if test -z "$CC"; then
10559 # Extract the first word of "cc", so it can be a program name with args.
10560 set dummy cc; ac_word=$2
10561 echo "$as_me:$LINENO: checking for $ac_word" >&5
10562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10563 if test "${ac_cv_prog_CC+set}" = set; then
10564 echo $ECHO_N "(cached) $ECHO_C" >&6
10565 else
10566 if test -n "$CC"; then
10567 ac_cv_prog_CC="$CC" # Let the user override the test.
10568 else
10569 ac_prog_rejected=no
10570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10571 for as_dir in $PATH
10572 do
10573 IFS=$as_save_IFS
10574 test -z "$as_dir" && as_dir=.
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10577 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10578 ac_prog_rejected=yes
10579 continue
10580 fi
10581 ac_cv_prog_CC="cc"
10582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10583 break 2
10584 fi
10585 done
10586 done
10587
10588 if test $ac_prog_rejected = yes; then
10589 # We found a bogon in the path, so make sure we never use it.
10590 set dummy $ac_cv_prog_CC
10591 shift
10592 if test $# != 0; then
10593 # We chose a different compiler from the bogus one.
10594 # However, it has the same basename, so the bogon will be chosen
10595 # first if we set CC to just the basename; use the full file name.
10596 shift
10597 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10598 fi
10599 fi
10600 fi
10601 fi
10602 CC=$ac_cv_prog_CC
10603 if test -n "$CC"; then
10604 echo "$as_me:$LINENO: result: $CC" >&5
10605 echo "${ECHO_T}$CC" >&6
10606 else
10607 echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6
10609 fi
10610
10611 fi
10612 if test -z "$CC"; then
10613 if test -n "$ac_tool_prefix"; then
10614 for ac_prog in cl
10615 do
10616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10618 echo "$as_me:$LINENO: checking for $ac_word" >&5
10619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10620 if test "${ac_cv_prog_CC+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 else
10623 if test -n "$CC"; then
10624 ac_cv_prog_CC="$CC" # Let the user override the test.
10625 else
10626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627 for as_dir in $PATH
10628 do
10629 IFS=$as_save_IFS
10630 test -z "$as_dir" && as_dir=.
10631 for ac_exec_ext in '' $ac_executable_extensions; do
10632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10633 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10635 break 2
10636 fi
10637 done
10638 done
10639
10640 fi
10641 fi
10642 CC=$ac_cv_prog_CC
10643 if test -n "$CC"; then
10644 echo "$as_me:$LINENO: result: $CC" >&5
10645 echo "${ECHO_T}$CC" >&6
10646 else
10647 echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6
10649 fi
10650
10651 test -n "$CC" && break
10652 done
10653 fi
10654 if test -z "$CC"; then
10655 ac_ct_CC=$CC
10656 for ac_prog in cl
10657 do
10658 # Extract the first word of "$ac_prog", so it can be a program name with args.
10659 set dummy $ac_prog; ac_word=$2
10660 echo "$as_me:$LINENO: checking for $ac_word" >&5
10661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10663 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 else
10665 if test -n "$ac_ct_CC"; then
10666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10667 else
10668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10669 for as_dir in $PATH
10670 do
10671 IFS=$as_save_IFS
10672 test -z "$as_dir" && as_dir=.
10673 for ac_exec_ext in '' $ac_executable_extensions; do
10674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10675 ac_cv_prog_ac_ct_CC="$ac_prog"
10676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10677 break 2
10678 fi
10679 done
10680 done
10681
10682 fi
10683 fi
10684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10685 if test -n "$ac_ct_CC"; then
10686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10687 echo "${ECHO_T}$ac_ct_CC" >&6
10688 else
10689 echo "$as_me:$LINENO: result: no" >&5
10690 echo "${ECHO_T}no" >&6
10691 fi
10692
10693 test -n "$ac_ct_CC" && break
10694 done
10695
10696 CC=$ac_ct_CC
10697 fi
10698
10699 fi
10700
10701
10702 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10703 See \`config.log' for more details." >&5
10704 echo "$as_me: error: no acceptable C compiler found in \$PATH
10705 See \`config.log' for more details." >&2;}
10706 { (exit 1); exit 1; }; }
10707
10708 # Provide some information about the compiler.
10709 echo "$as_me:$LINENO:" \
10710 "checking for C compiler version" >&5
10711 ac_compiler=`set X $ac_compile; echo $2`
10712 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10713 (eval $ac_compiler --version </dev/null >&5) 2>&5
10714 ac_status=$?
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }
10717 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10718 (eval $ac_compiler -v </dev/null >&5) 2>&5
10719 ac_status=$?
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }
10722 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10723 (eval $ac_compiler -V </dev/null >&5) 2>&5
10724 ac_status=$?
10725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10726 (exit $ac_status); }
10727
10728 cat >conftest.$ac_ext <<_ACEOF
10729 /* confdefs.h. */
10730 _ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10734
10735 int
10736 main ()
10737 {
10738
10739 ;
10740 return 0;
10741 }
10742 _ACEOF
10743 ac_clean_files_save=$ac_clean_files
10744 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10745 # Try to create an executable without -o first, disregard a.out.
10746 # It will help us diagnose broken compilers, and finding out an intuition
10747 # of exeext.
10748 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10749 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10750 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10751 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10752 (eval $ac_link_default) 2>&5
10753 ac_status=$?
10754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10755 (exit $ac_status); }; then
10756 # Find the output, starting from the most likely. This scheme is
10757 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10758 # resort.
10759
10760 # Be careful to initialize this variable, since it used to be cached.
10761 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10762 ac_cv_exeext=
10763 # b.out is created by i960 compilers.
10764 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10765 do
10766 test -f "$ac_file" || continue
10767 case $ac_file in
10768 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10769 ;;
10770 conftest.$ac_ext )
10771 # This is the source file.
10772 ;;
10773 [ab].out )
10774 # We found the default executable, but exeext='' is most
10775 # certainly right.
10776 break;;
10777 *.* )
10778 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10779 # FIXME: I believe we export ac_cv_exeext for Libtool,
10780 # but it would be cool to find out if it's true. Does anybody
10781 # maintain Libtool? --akim.
10782 export ac_cv_exeext
10783 break;;
10784 * )
10785 break;;
10786 esac
10787 done
10788 else
10789 echo "$as_me: failed program was:" >&5
10790 sed 's/^/| /' conftest.$ac_ext >&5
10791
10792 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10793 See \`config.log' for more details." >&5
10794 echo "$as_me: error: C compiler cannot create executables
10795 See \`config.log' for more details." >&2;}
10796 { (exit 77); exit 77; }; }
10797 fi
10798
10799 ac_exeext=$ac_cv_exeext
10800 echo "$as_me:$LINENO: result: $ac_file" >&5
10801 echo "${ECHO_T}$ac_file" >&6
10802
10803 # Check the compiler produces executables we can run. If not, either
10804 # the compiler is broken, or we cross compile.
10805 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10806 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10807 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10808 # If not cross compiling, check that we can run a simple program.
10809 if test "$cross_compiling" != yes; then
10810 if { ac_try='./$ac_file'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10813 ac_status=$?
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; }; then
10816 cross_compiling=no
10817 else
10818 if test "$cross_compiling" = maybe; then
10819 cross_compiling=yes
10820 else
10821 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10822 If you meant to cross compile, use \`--host'.
10823 See \`config.log' for more details." >&5
10824 echo "$as_me: error: cannot run C compiled programs.
10825 If you meant to cross compile, use \`--host'.
10826 See \`config.log' for more details." >&2;}
10827 { (exit 1); exit 1; }; }
10828 fi
10829 fi
10830 fi
10831 echo "$as_me:$LINENO: result: yes" >&5
10832 echo "${ECHO_T}yes" >&6
10833
10834 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10835 ac_clean_files=$ac_clean_files_save
10836 # Check the compiler produces executables we can run. If not, either
10837 # the compiler is broken, or we cross compile.
10838 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10839 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10840 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10841 echo "${ECHO_T}$cross_compiling" >&6
10842
10843 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10844 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10846 (eval $ac_link) 2>&5
10847 ac_status=$?
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; then
10850 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10851 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10852 # work properly (i.e., refer to `conftest.exe'), while it won't with
10853 # `rm'.
10854 for ac_file in conftest.exe conftest conftest.*; do
10855 test -f "$ac_file" || continue
10856 case $ac_file in
10857 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10858 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10859 export ac_cv_exeext
10860 break;;
10861 * ) break;;
10862 esac
10863 done
10864 else
10865 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10866 See \`config.log' for more details." >&5
10867 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10868 See \`config.log' for more details." >&2;}
10869 { (exit 1); exit 1; }; }
10870 fi
10871
10872 rm -f conftest$ac_cv_exeext
10873 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10874 echo "${ECHO_T}$ac_cv_exeext" >&6
10875
10876 rm -f conftest.$ac_ext
10877 EXEEXT=$ac_cv_exeext
10878 ac_exeext=$EXEEXT
10879 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10880 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10881 if test "${ac_cv_objext+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 else
10884 cat >conftest.$ac_ext <<_ACEOF
10885 /* confdefs.h. */
10886 _ACEOF
10887 cat confdefs.h >>conftest.$ac_ext
10888 cat >>conftest.$ac_ext <<_ACEOF
10889 /* end confdefs.h. */
10890
10891 int
10892 main ()
10893 {
10894
10895 ;
10896 return 0;
10897 }
10898 _ACEOF
10899 rm -f conftest.o conftest.obj
10900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10901 (eval $ac_compile) 2>&5
10902 ac_status=$?
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); }; then
10905 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10906 case $ac_file in
10907 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10908 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10909 break;;
10910 esac
10911 done
10912 else
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10915
10916 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10917 See \`config.log' for more details." >&5
10918 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10919 See \`config.log' for more details." >&2;}
10920 { (exit 1); exit 1; }; }
10921 fi
10922
10923 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10924 fi
10925 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10926 echo "${ECHO_T}$ac_cv_objext" >&6
10927 OBJEXT=$ac_cv_objext
10928 ac_objext=$OBJEXT
10929 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10930 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10931 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 else
10934 cat >conftest.$ac_ext <<_ACEOF
10935 /* confdefs.h. */
10936 _ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10940
10941 int
10942 main ()
10943 {
10944 #ifndef __GNUC__
10945 choke me
10946 #endif
10947
10948 ;
10949 return 0;
10950 }
10951 _ACEOF
10952 rm -f conftest.$ac_objext
10953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10954 (eval $ac_compile) 2>conftest.er1
10955 ac_status=$?
10956 grep -v '^ *+' conftest.er1 >conftest.err
10957 rm -f conftest.er1
10958 cat conftest.err >&5
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); } &&
10961 { ac_try='test -z "$ac_c_werror_flag"
10962 || test ! -s conftest.err'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10965 ac_status=$?
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; } &&
10968 { ac_try='test -s conftest.$ac_objext'
10969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10970 (eval $ac_try) 2>&5
10971 ac_status=$?
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); }; }; then
10974 ac_compiler_gnu=yes
10975 else
10976 echo "$as_me: failed program was:" >&5
10977 sed 's/^/| /' conftest.$ac_ext >&5
10978
10979 ac_compiler_gnu=no
10980 fi
10981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10983
10984 fi
10985 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10986 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10987 GCC=`test $ac_compiler_gnu = yes && echo yes`
10988 ac_test_CFLAGS=${CFLAGS+set}
10989 ac_save_CFLAGS=$CFLAGS
10990 CFLAGS="-g"
10991 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10992 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10993 if test "${ac_cv_prog_cc_g+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10995 else
10996 cat >conftest.$ac_ext <<_ACEOF
10997 /* confdefs.h. */
10998 _ACEOF
10999 cat confdefs.h >>conftest.$ac_ext
11000 cat >>conftest.$ac_ext <<_ACEOF
11001 /* end confdefs.h. */
11002
11003 int
11004 main ()
11005 {
11006
11007 ;
11008 return 0;
11009 }
11010 _ACEOF
11011 rm -f conftest.$ac_objext
11012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11013 (eval $ac_compile) 2>conftest.er1
11014 ac_status=$?
11015 grep -v '^ *+' conftest.er1 >conftest.err
11016 rm -f conftest.er1
11017 cat conftest.err >&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } &&
11020 { ac_try='test -z "$ac_c_werror_flag"
11021 || test ! -s conftest.err'
11022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 (eval $ac_try) 2>&5
11024 ac_status=$?
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }; } &&
11027 { ac_try='test -s conftest.$ac_objext'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11030 ac_status=$?
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; }; then
11033 ac_cv_prog_cc_g=yes
11034 else
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.$ac_ext >&5
11037
11038 ac_cv_prog_cc_g=no
11039 fi
11040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11041 fi
11042 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11043 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11044 if test "$ac_test_CFLAGS" = set; then
11045 CFLAGS=$ac_save_CFLAGS
11046 elif test $ac_cv_prog_cc_g = yes; then
11047 if test "$GCC" = yes; then
11048 CFLAGS="-g -O2"
11049 else
11050 CFLAGS="-g"
11051 fi
11052 else
11053 if test "$GCC" = yes; then
11054 CFLAGS="-O2"
11055 else
11056 CFLAGS=
11057 fi
11058 fi
11059 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11060 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11061 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11063 else
11064 ac_cv_prog_cc_stdc=no
11065 ac_save_CC=$CC
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072 #include <stdarg.h>
11073 #include <stdio.h>
11074 #include <sys/types.h>
11075 #include <sys/stat.h>
11076 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11077 struct buf { int x; };
11078 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11079 static char *e (p, i)
11080 char **p;
11081 int i;
11082 {
11083 return p[i];
11084 }
11085 static char *f (char * (*g) (char **, int), char **p, ...)
11086 {
11087 char *s;
11088 va_list v;
11089 va_start (v,p);
11090 s = g (p, va_arg (v,int));
11091 va_end (v);
11092 return s;
11093 }
11094
11095 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11096 function prototypes and stuff, but not '\xHH' hex character constants.
11097 These don't provoke an error unfortunately, instead are silently treated
11098 as 'x'. The following induces an error, until -std1 is added to get
11099 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11100 array size at least. It's necessary to write '\x00'==0 to get something
11101 that's true only with -std1. */
11102 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11103
11104 int test (int i, double x);
11105 struct s1 {int (*f) (int a);};
11106 struct s2 {int (*f) (double a);};
11107 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11108 int argc;
11109 char **argv;
11110 int
11111 main ()
11112 {
11113 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11114 ;
11115 return 0;
11116 }
11117 _ACEOF
11118 # Don't try gcc -ansi; that turns off useful extensions and
11119 # breaks some systems' header files.
11120 # AIX -qlanglvl=ansi
11121 # Ultrix and OSF/1 -std1
11122 # HP-UX 10.20 and later -Ae
11123 # HP-UX older versions -Aa -D_HPUX_SOURCE
11124 # SVR4 -Xc -D__EXTENSIONS__
11125 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11126 do
11127 CC="$ac_save_CC $ac_arg"
11128 rm -f conftest.$ac_objext
11129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11130 (eval $ac_compile) 2>conftest.er1
11131 ac_status=$?
11132 grep -v '^ *+' conftest.er1 >conftest.err
11133 rm -f conftest.er1
11134 cat conftest.err >&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 { ac_try='test -z "$ac_c_werror_flag"
11138 || test ! -s conftest.err'
11139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11140 (eval $ac_try) 2>&5
11141 ac_status=$?
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); }; } &&
11144 { ac_try='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_prog_cc_stdc=$ac_arg
11151 break
11152 else
11153 echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.$ac_ext >&5
11155
11156 fi
11157 rm -f conftest.err conftest.$ac_objext
11158 done
11159 rm -f conftest.$ac_ext conftest.$ac_objext
11160 CC=$ac_save_CC
11161
11162 fi
11163
11164 case "x$ac_cv_prog_cc_stdc" in
11165 x|xno)
11166 echo "$as_me:$LINENO: result: none needed" >&5
11167 echo "${ECHO_T}none needed" >&6 ;;
11168 *)
11169 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11170 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11171 CC="$CC $ac_cv_prog_cc_stdc" ;;
11172 esac
11173
11174 # Some people use a C++ compiler to compile C. Since we use `exit',
11175 # in C++ we need to declare it. In case someone uses the same compiler
11176 # for both compiling C and C++ we need to have the C++ compiler decide
11177 # the declaration of exit, since it's the most demanding environment.
11178 cat >conftest.$ac_ext <<_ACEOF
11179 #ifndef __cplusplus
11180 choke me
11181 #endif
11182 _ACEOF
11183 rm -f conftest.$ac_objext
11184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11185 (eval $ac_compile) 2>conftest.er1
11186 ac_status=$?
11187 grep -v '^ *+' conftest.er1 >conftest.err
11188 rm -f conftest.er1
11189 cat conftest.err >&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } &&
11192 { ac_try='test -z "$ac_c_werror_flag"
11193 || test ! -s conftest.err'
11194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11195 (eval $ac_try) 2>&5
11196 ac_status=$?
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); }; } &&
11199 { ac_try='test -s conftest.$ac_objext'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11202 ac_status=$?
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; }; then
11205 for ac_declaration in \
11206 '' \
11207 'extern "C" void std::exit (int) throw (); using std::exit;' \
11208 'extern "C" void std::exit (int); using std::exit;' \
11209 'extern "C" void exit (int) throw ();' \
11210 'extern "C" void exit (int);' \
11211 'void exit (int);'
11212 do
11213 cat >conftest.$ac_ext <<_ACEOF
11214 /* confdefs.h. */
11215 _ACEOF
11216 cat confdefs.h >>conftest.$ac_ext
11217 cat >>conftest.$ac_ext <<_ACEOF
11218 /* end confdefs.h. */
11219 $ac_declaration
11220 #include <stdlib.h>
11221 int
11222 main ()
11223 {
11224 exit (42);
11225 ;
11226 return 0;
11227 }
11228 _ACEOF
11229 rm -f conftest.$ac_objext
11230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11231 (eval $ac_compile) 2>conftest.er1
11232 ac_status=$?
11233 grep -v '^ *+' conftest.er1 >conftest.err
11234 rm -f conftest.er1
11235 cat conftest.err >&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); } &&
11238 { ac_try='test -z "$ac_c_werror_flag"
11239 || test ! -s conftest.err'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; } &&
11245 { ac_try='test -s conftest.$ac_objext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11248 ac_status=$?
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11251 :
11252 else
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.$ac_ext >&5
11255
11256 continue
11257 fi
11258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11259 cat >conftest.$ac_ext <<_ACEOF
11260 /* confdefs.h. */
11261 _ACEOF
11262 cat confdefs.h >>conftest.$ac_ext
11263 cat >>conftest.$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11265 $ac_declaration
11266 int
11267 main ()
11268 {
11269 exit (42);
11270 ;
11271 return 0;
11272 }
11273 _ACEOF
11274 rm -f conftest.$ac_objext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11276 (eval $ac_compile) 2>conftest.er1
11277 ac_status=$?
11278 grep -v '^ *+' conftest.er1 >conftest.err
11279 rm -f conftest.er1
11280 cat conftest.err >&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } &&
11283 { ac_try='test -z "$ac_c_werror_flag"
11284 || test ! -s conftest.err'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11287 ac_status=$?
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; } &&
11290 { ac_try='test -s conftest.$ac_objext'
11291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11292 (eval $ac_try) 2>&5
11293 ac_status=$?
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11296 break
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 done
11304 rm -f conftest*
11305 if test -n "$ac_declaration"; then
11306 echo '#ifdef __cplusplus' >>confdefs.h
11307 echo $ac_declaration >>confdefs.h
11308 echo '#endif' >>confdefs.h
11309 fi
11310
11311 else
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.$ac_ext >&5
11314
11315 fi
11316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11317 ac_ext=c
11318 ac_cpp='$CPP $CPPFLAGS'
11319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11322
11323
11324
11325 ac_ext=c
11326 ac_cpp='$CPP $CPPFLAGS'
11327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11330 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11331 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11332 # On Suns, sometimes $CPP names a directory.
11333 if test -n "$CPP" && test -d "$CPP"; then
11334 CPP=
11335 fi
11336 if test -z "$CPP"; then
11337 if test "${ac_cv_prog_CPP+set}" = set; then
11338 echo $ECHO_N "(cached) $ECHO_C" >&6
11339 else
11340 # Double quotes because CPP needs to be expanded
11341 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11342 do
11343 ac_preproc_ok=false
11344 for ac_c_preproc_warn_flag in '' yes
11345 do
11346 # Use a header file that comes with gcc, so configuring glibc
11347 # with a fresh cross-compiler works.
11348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11349 # <limits.h> exists even on freestanding compilers.
11350 # On the NeXT, cc -E runs the code through the compiler's parser,
11351 # not just through cpp. "Syntax error" is here to catch this case.
11352 cat >conftest.$ac_ext <<_ACEOF
11353 /* confdefs.h. */
11354 _ACEOF
11355 cat confdefs.h >>conftest.$ac_ext
11356 cat >>conftest.$ac_ext <<_ACEOF
11357 /* end confdefs.h. */
11358 #ifdef __STDC__
11359 # include <limits.h>
11360 #else
11361 # include <assert.h>
11362 #endif
11363 Syntax error
11364 _ACEOF
11365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11366 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11367 ac_status=$?
11368 grep -v '^ *+' conftest.er1 >conftest.err
11369 rm -f conftest.er1
11370 cat conftest.err >&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } >/dev/null; then
11373 if test -s conftest.err; then
11374 ac_cpp_err=$ac_c_preproc_warn_flag
11375 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11376 else
11377 ac_cpp_err=
11378 fi
11379 else
11380 ac_cpp_err=yes
11381 fi
11382 if test -z "$ac_cpp_err"; then
11383 :
11384 else
11385 echo "$as_me: failed program was:" >&5
11386 sed 's/^/| /' conftest.$ac_ext >&5
11387
11388 # Broken: fails on valid input.
11389 continue
11390 fi
11391 rm -f conftest.err conftest.$ac_ext
11392
11393 # OK, works on sane cases. Now check whether non-existent headers
11394 # can be detected and how.
11395 cat >conftest.$ac_ext <<_ACEOF
11396 /* confdefs.h. */
11397 _ACEOF
11398 cat confdefs.h >>conftest.$ac_ext
11399 cat >>conftest.$ac_ext <<_ACEOF
11400 /* end confdefs.h. */
11401 #include <ac_nonexistent.h>
11402 _ACEOF
11403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11405 ac_status=$?
11406 grep -v '^ *+' conftest.er1 >conftest.err
11407 rm -f conftest.er1
11408 cat conftest.err >&5
11409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410 (exit $ac_status); } >/dev/null; then
11411 if test -s conftest.err; then
11412 ac_cpp_err=$ac_c_preproc_warn_flag
11413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11414 else
11415 ac_cpp_err=
11416 fi
11417 else
11418 ac_cpp_err=yes
11419 fi
11420 if test -z "$ac_cpp_err"; then
11421 # Broken: success on invalid input.
11422 continue
11423 else
11424 echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.$ac_ext >&5
11426
11427 # Passes both tests.
11428 ac_preproc_ok=:
11429 break
11430 fi
11431 rm -f conftest.err conftest.$ac_ext
11432
11433 done
11434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11435 rm -f conftest.err conftest.$ac_ext
11436 if $ac_preproc_ok; then
11437 break
11438 fi
11439
11440 done
11441 ac_cv_prog_CPP=$CPP
11442
11443 fi
11444 CPP=$ac_cv_prog_CPP
11445 else
11446 ac_cv_prog_CPP=$CPP
11447 fi
11448 echo "$as_me:$LINENO: result: $CPP" >&5
11449 echo "${ECHO_T}$CPP" >&6
11450 ac_preproc_ok=false
11451 for ac_c_preproc_warn_flag in '' yes
11452 do
11453 # Use a header file that comes with gcc, so configuring glibc
11454 # with a fresh cross-compiler works.
11455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11456 # <limits.h> exists even on freestanding compilers.
11457 # On the NeXT, cc -E runs the code through the compiler's parser,
11458 # not just through cpp. "Syntax error" is here to catch this case.
11459 cat >conftest.$ac_ext <<_ACEOF
11460 /* confdefs.h. */
11461 _ACEOF
11462 cat confdefs.h >>conftest.$ac_ext
11463 cat >>conftest.$ac_ext <<_ACEOF
11464 /* end confdefs.h. */
11465 #ifdef __STDC__
11466 # include <limits.h>
11467 #else
11468 # include <assert.h>
11469 #endif
11470 Syntax error
11471 _ACEOF
11472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11473 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11474 ac_status=$?
11475 grep -v '^ *+' conftest.er1 >conftest.err
11476 rm -f conftest.er1
11477 cat conftest.err >&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); } >/dev/null; then
11480 if test -s conftest.err; then
11481 ac_cpp_err=$ac_c_preproc_warn_flag
11482 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11483 else
11484 ac_cpp_err=
11485 fi
11486 else
11487 ac_cpp_err=yes
11488 fi
11489 if test -z "$ac_cpp_err"; then
11490 :
11491 else
11492 echo "$as_me: failed program was:" >&5
11493 sed 's/^/| /' conftest.$ac_ext >&5
11494
11495 # Broken: fails on valid input.
11496 continue
11497 fi
11498 rm -f conftest.err conftest.$ac_ext
11499
11500 # OK, works on sane cases. Now check whether non-existent headers
11501 # can be detected and how.
11502 cat >conftest.$ac_ext <<_ACEOF
11503 /* confdefs.h. */
11504 _ACEOF
11505 cat confdefs.h >>conftest.$ac_ext
11506 cat >>conftest.$ac_ext <<_ACEOF
11507 /* end confdefs.h. */
11508 #include <ac_nonexistent.h>
11509 _ACEOF
11510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11512 ac_status=$?
11513 grep -v '^ *+' conftest.er1 >conftest.err
11514 rm -f conftest.er1
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } >/dev/null; then
11518 if test -s conftest.err; then
11519 ac_cpp_err=$ac_c_preproc_warn_flag
11520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11521 else
11522 ac_cpp_err=
11523 fi
11524 else
11525 ac_cpp_err=yes
11526 fi
11527 if test -z "$ac_cpp_err"; then
11528 # Broken: success on invalid input.
11529 continue
11530 else
11531 echo "$as_me: failed program was:" >&5
11532 sed 's/^/| /' conftest.$ac_ext >&5
11533
11534 # Passes both tests.
11535 ac_preproc_ok=:
11536 break
11537 fi
11538 rm -f conftest.err conftest.$ac_ext
11539
11540 done
11541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11542 rm -f conftest.err conftest.$ac_ext
11543 if $ac_preproc_ok; then
11544 :
11545 else
11546 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11547 See \`config.log' for more details." >&5
11548 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11549 See \`config.log' for more details." >&2;}
11550 { (exit 1); exit 1; }; }
11551 fi
11552
11553 ac_ext=c
11554 ac_cpp='$CPP $CPPFLAGS'
11555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11558
11559
11560 echo "$as_me:$LINENO: checking for egrep" >&5
11561 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11562 if test "${ac_cv_prog_egrep+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11564 else
11565 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11566 then ac_cv_prog_egrep='grep -E'
11567 else ac_cv_prog_egrep='egrep'
11568 fi
11569 fi
11570 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11571 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11572 EGREP=$ac_cv_prog_egrep
11573
11574
11575 if test $ac_cv_c_compiler_gnu = yes; then
11576 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11577 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11578 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11580 else
11581 ac_pattern="Autoconf.*'x'"
11582 cat >conftest.$ac_ext <<_ACEOF
11583 /* confdefs.h. */
11584 _ACEOF
11585 cat confdefs.h >>conftest.$ac_ext
11586 cat >>conftest.$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11588 #include <sgtty.h>
11589 Autoconf TIOCGETP
11590 _ACEOF
11591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11592 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11593 ac_cv_prog_gcc_traditional=yes
11594 else
11595 ac_cv_prog_gcc_traditional=no
11596 fi
11597 rm -f conftest*
11598
11599
11600 if test $ac_cv_prog_gcc_traditional = no; then
11601 cat >conftest.$ac_ext <<_ACEOF
11602 /* confdefs.h. */
11603 _ACEOF
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11607 #include <termio.h>
11608 Autoconf TCGETA
11609 _ACEOF
11610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11611 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11612 ac_cv_prog_gcc_traditional=yes
11613 fi
11614 rm -f conftest*
11615
11616 fi
11617 fi
11618 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11619 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11620 if test $ac_cv_prog_gcc_traditional = yes; then
11621 CC="$CC -traditional"
11622 fi
11623 fi
11624
11625
11626
11627
11628 ac_ext=cc
11629 ac_cpp='$CXXCPP $CPPFLAGS'
11630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11633
11634
11635 CXXFLAGS=${CXXFLAGS:=}
11636 ac_ext=cc
11637 ac_cpp='$CXXCPP $CPPFLAGS'
11638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11641 if test -n "$ac_tool_prefix"; then
11642 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11643 do
11644 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11645 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11646 echo "$as_me:$LINENO: checking for $ac_word" >&5
11647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11648 if test "${ac_cv_prog_CXX+set}" = set; then
11649 echo $ECHO_N "(cached) $ECHO_C" >&6
11650 else
11651 if test -n "$CXX"; then
11652 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11653 else
11654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11655 for as_dir in $PATH
11656 do
11657 IFS=$as_save_IFS
11658 test -z "$as_dir" && as_dir=.
11659 for ac_exec_ext in '' $ac_executable_extensions; do
11660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11661 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11663 break 2
11664 fi
11665 done
11666 done
11667
11668 fi
11669 fi
11670 CXX=$ac_cv_prog_CXX
11671 if test -n "$CXX"; then
11672 echo "$as_me:$LINENO: result: $CXX" >&5
11673 echo "${ECHO_T}$CXX" >&6
11674 else
11675 echo "$as_me:$LINENO: result: no" >&5
11676 echo "${ECHO_T}no" >&6
11677 fi
11678
11679 test -n "$CXX" && break
11680 done
11681 fi
11682 if test -z "$CXX"; then
11683 ac_ct_CXX=$CXX
11684 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11685 do
11686 # Extract the first word of "$ac_prog", so it can be a program name with args.
11687 set dummy $ac_prog; ac_word=$2
11688 echo "$as_me:$LINENO: checking for $ac_word" >&5
11689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11690 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11693 if test -n "$ac_ct_CXX"; then
11694 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11695 else
11696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11697 for as_dir in $PATH
11698 do
11699 IFS=$as_save_IFS
11700 test -z "$as_dir" && as_dir=.
11701 for ac_exec_ext in '' $ac_executable_extensions; do
11702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11703 ac_cv_prog_ac_ct_CXX="$ac_prog"
11704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11705 break 2
11706 fi
11707 done
11708 done
11709
11710 fi
11711 fi
11712 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11713 if test -n "$ac_ct_CXX"; then
11714 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11715 echo "${ECHO_T}$ac_ct_CXX" >&6
11716 else
11717 echo "$as_me:$LINENO: result: no" >&5
11718 echo "${ECHO_T}no" >&6
11719 fi
11720
11721 test -n "$ac_ct_CXX" && break
11722 done
11723 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11724
11725 CXX=$ac_ct_CXX
11726 fi
11727
11728
11729 # Provide some information about the compiler.
11730 echo "$as_me:$LINENO:" \
11731 "checking for C++ compiler version" >&5
11732 ac_compiler=`set X $ac_compile; echo $2`
11733 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11734 (eval $ac_compiler --version </dev/null >&5) 2>&5
11735 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }
11738 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11739 (eval $ac_compiler -v </dev/null >&5) 2>&5
11740 ac_status=$?
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }
11743 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11744 (eval $ac_compiler -V </dev/null >&5) 2>&5
11745 ac_status=$?
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); }
11748
11749 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11750 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11751 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 else
11754 cat >conftest.$ac_ext <<_ACEOF
11755 /* confdefs.h. */
11756 _ACEOF
11757 cat confdefs.h >>conftest.$ac_ext
11758 cat >>conftest.$ac_ext <<_ACEOF
11759 /* end confdefs.h. */
11760
11761 int
11762 main ()
11763 {
11764 #ifndef __GNUC__
11765 choke me
11766 #endif
11767
11768 ;
11769 return 0;
11770 }
11771 _ACEOF
11772 rm -f conftest.$ac_objext
11773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11774 (eval $ac_compile) 2>conftest.er1
11775 ac_status=$?
11776 grep -v '^ *+' conftest.er1 >conftest.err
11777 rm -f conftest.er1
11778 cat conftest.err >&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); } &&
11781 { ac_try='test -z "$ac_cxx_werror_flag"
11782 || test ! -s conftest.err'
11783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11784 (eval $ac_try) 2>&5
11785 ac_status=$?
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); }; } &&
11788 { ac_try='test -s conftest.$ac_objext'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11791 ac_status=$?
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; }; then
11794 ac_compiler_gnu=yes
11795 else
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.$ac_ext >&5
11798
11799 ac_compiler_gnu=no
11800 fi
11801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11802 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11803
11804 fi
11805 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11806 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11807 GXX=`test $ac_compiler_gnu = yes && echo yes`
11808 ac_test_CXXFLAGS=${CXXFLAGS+set}
11809 ac_save_CXXFLAGS=$CXXFLAGS
11810 CXXFLAGS="-g"
11811 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11812 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11813 if test "${ac_cv_prog_cxx_g+set}" = set; then
11814 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 else
11816 cat >conftest.$ac_ext <<_ACEOF
11817 /* confdefs.h. */
11818 _ACEOF
11819 cat confdefs.h >>conftest.$ac_ext
11820 cat >>conftest.$ac_ext <<_ACEOF
11821 /* end confdefs.h. */
11822
11823 int
11824 main ()
11825 {
11826
11827 ;
11828 return 0;
11829 }
11830 _ACEOF
11831 rm -f conftest.$ac_objext
11832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11833 (eval $ac_compile) 2>conftest.er1
11834 ac_status=$?
11835 grep -v '^ *+' conftest.er1 >conftest.err
11836 rm -f conftest.er1
11837 cat conftest.err >&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } &&
11840 { ac_try='test -z "$ac_cxx_werror_flag"
11841 || test ! -s conftest.err'
11842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11843 (eval $ac_try) 2>&5
11844 ac_status=$?
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); }; } &&
11847 { ac_try='test -s conftest.$ac_objext'
11848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11849 (eval $ac_try) 2>&5
11850 ac_status=$?
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); }; }; then
11853 ac_cv_prog_cxx_g=yes
11854 else
11855 echo "$as_me: failed program was:" >&5
11856 sed 's/^/| /' conftest.$ac_ext >&5
11857
11858 ac_cv_prog_cxx_g=no
11859 fi
11860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11861 fi
11862 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11863 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11864 if test "$ac_test_CXXFLAGS" = set; then
11865 CXXFLAGS=$ac_save_CXXFLAGS
11866 elif test $ac_cv_prog_cxx_g = yes; then
11867 if test "$GXX" = yes; then
11868 CXXFLAGS="-g -O2"
11869 else
11870 CXXFLAGS="-g"
11871 fi
11872 else
11873 if test "$GXX" = yes; then
11874 CXXFLAGS="-O2"
11875 else
11876 CXXFLAGS=
11877 fi
11878 fi
11879 for ac_declaration in \
11880 '' \
11881 'extern "C" void std::exit (int) throw (); using std::exit;' \
11882 'extern "C" void std::exit (int); using std::exit;' \
11883 'extern "C" void exit (int) throw ();' \
11884 'extern "C" void exit (int);' \
11885 'void exit (int);'
11886 do
11887 cat >conftest.$ac_ext <<_ACEOF
11888 /* confdefs.h. */
11889 _ACEOF
11890 cat confdefs.h >>conftest.$ac_ext
11891 cat >>conftest.$ac_ext <<_ACEOF
11892 /* end confdefs.h. */
11893 $ac_declaration
11894 #include <stdlib.h>
11895 int
11896 main ()
11897 {
11898 exit (42);
11899 ;
11900 return 0;
11901 }
11902 _ACEOF
11903 rm -f conftest.$ac_objext
11904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11905 (eval $ac_compile) 2>conftest.er1
11906 ac_status=$?
11907 grep -v '^ *+' conftest.er1 >conftest.err
11908 rm -f conftest.er1
11909 cat conftest.err >&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try='test -z "$ac_cxx_werror_flag"
11913 || test ! -s conftest.err'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11916 ac_status=$?
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; } &&
11919 { ac_try='test -s conftest.$ac_objext'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11922 ac_status=$?
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; }; then
11925 :
11926 else
11927 echo "$as_me: failed program was:" >&5
11928 sed 's/^/| /' conftest.$ac_ext >&5
11929
11930 continue
11931 fi
11932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11933 cat >conftest.$ac_ext <<_ACEOF
11934 /* confdefs.h. */
11935 _ACEOF
11936 cat confdefs.h >>conftest.$ac_ext
11937 cat >>conftest.$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11939 $ac_declaration
11940 int
11941 main ()
11942 {
11943 exit (42);
11944 ;
11945 return 0;
11946 }
11947 _ACEOF
11948 rm -f conftest.$ac_objext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11950 (eval $ac_compile) 2>conftest.er1
11951 ac_status=$?
11952 grep -v '^ *+' conftest.er1 >conftest.err
11953 rm -f conftest.er1
11954 cat conftest.err >&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try='test -z "$ac_cxx_werror_flag"
11958 || test ! -s conftest.err'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11961 ac_status=$?
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; } &&
11964 { ac_try='test -s conftest.$ac_objext'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11967 ac_status=$?
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; }; then
11970 break
11971 else
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.$ac_ext >&5
11974
11975 fi
11976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11977 done
11978 rm -f conftest*
11979 if test -n "$ac_declaration"; then
11980 echo '#ifdef __cplusplus' >>confdefs.h
11981 echo $ac_declaration >>confdefs.h
11982 echo '#endif' >>confdefs.h
11983 fi
11984
11985 ac_ext=cc
11986 ac_cpp='$CXXCPP $CPPFLAGS'
11987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11990
11991
11992 ac_ext=c
11993 ac_cpp='$CPP $CPPFLAGS'
11994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11997
11998
11999 if test -n "$ac_tool_prefix"; then
12000 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
12001 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
12002 echo "$as_me:$LINENO: checking for $ac_word" >&5
12003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12004 if test "${ac_cv_prog_RANLIB+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12006 else
12007 if test -n "$RANLIB"; then
12008 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
12009 else
12010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12011 for as_dir in $PATH
12012 do
12013 IFS=$as_save_IFS
12014 test -z "$as_dir" && as_dir=.
12015 for ac_exec_ext in '' $ac_executable_extensions; do
12016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12017 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
12018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12019 break 2
12020 fi
12021 done
12022 done
12023
12024 fi
12025 fi
12026 RANLIB=$ac_cv_prog_RANLIB
12027 if test -n "$RANLIB"; then
12028 echo "$as_me:$LINENO: result: $RANLIB" >&5
12029 echo "${ECHO_T}$RANLIB" >&6
12030 else
12031 echo "$as_me:$LINENO: result: no" >&5
12032 echo "${ECHO_T}no" >&6
12033 fi
12034
12035 fi
12036 if test -z "$ac_cv_prog_RANLIB"; then
12037 ac_ct_RANLIB=$RANLIB
12038 # Extract the first word of "ranlib", so it can be a program name with args.
12039 set dummy ranlib; ac_word=$2
12040 echo "$as_me:$LINENO: checking for $ac_word" >&5
12041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12042 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12044 else
12045 if test -n "$ac_ct_RANLIB"; then
12046 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
12047 else
12048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12049 for as_dir in $PATH
12050 do
12051 IFS=$as_save_IFS
12052 test -z "$as_dir" && as_dir=.
12053 for ac_exec_ext in '' $ac_executable_extensions; do
12054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12055 ac_cv_prog_ac_ct_RANLIB="ranlib"
12056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12057 break 2
12058 fi
12059 done
12060 done
12061
12062 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
12063 fi
12064 fi
12065 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
12066 if test -n "$ac_ct_RANLIB"; then
12067 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
12068 echo "${ECHO_T}$ac_ct_RANLIB" >&6
12069 else
12070 echo "$as_me:$LINENO: result: no" >&5
12071 echo "${ECHO_T}no" >&6
12072 fi
12073
12074 RANLIB=$ac_ct_RANLIB
12075 else
12076 RANLIB="$ac_cv_prog_RANLIB"
12077 fi
12078
12079
12080 # Extract the first word of "ar", so it can be a program name with args.
12081 set dummy ar; ac_word=$2
12082 echo "$as_me:$LINENO: checking for $ac_word" >&5
12083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12084 if test "${ac_cv_prog_AR+set}" = set; then
12085 echo $ECHO_N "(cached) $ECHO_C" >&6
12086 else
12087 if test -n "$AR"; then
12088 ac_cv_prog_AR="$AR" # Let the user override the test.
12089 else
12090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12091 for as_dir in $PATH
12092 do
12093 IFS=$as_save_IFS
12094 test -z "$as_dir" && as_dir=.
12095 for ac_exec_ext in '' $ac_executable_extensions; do
12096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12097 ac_cv_prog_AR="ar"
12098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12099 break 2
12100 fi
12101 done
12102 done
12103
12104 fi
12105 fi
12106 AR=$ac_cv_prog_AR
12107 if test -n "$AR"; then
12108 echo "$as_me:$LINENO: result: $AR" >&5
12109 echo "${ECHO_T}$AR" >&6
12110 else
12111 echo "$as_me:$LINENO: result: no" >&5
12112 echo "${ECHO_T}no" >&6
12113 fi
12114
12115 if test "x$AR" = "x" ; then
12116 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
12117 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
12118 { (exit 1); exit 1; }; }
12119 fi
12120
12121 # Find a good install program. We prefer a C program (faster),
12122 # so one script is as good as another. But avoid the broken or
12123 # incompatible versions:
12124 # SysV /etc/install, /usr/sbin/install
12125 # SunOS /usr/etc/install
12126 # IRIX /sbin/install
12127 # AIX /bin/install
12128 # AmigaOS /C/install, which installs bootblocks on floppy discs
12129 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
12130 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
12131 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12132 # OS/2's system install, which has a completely different semantic
12133 # ./install, which can be erroneously created by make from ./install.sh.
12134 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12135 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12136 if test -z "$INSTALL"; then
12137 if test "${ac_cv_path_install+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 else
12140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12141 for as_dir in $PATH
12142 do
12143 IFS=$as_save_IFS
12144 test -z "$as_dir" && as_dir=.
12145 # Account for people who put trailing slashes in PATH elements.
12146 case $as_dir/ in
12147 ./ | .// | /cC/* | \
12148 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
12149 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
12150 /usr/ucb/* ) ;;
12151 *)
12152 # OSF1 and SCO ODT 3.0 have their own names for install.
12153 # Don't use installbsd from OSF since it installs stuff as root
12154 # by default.
12155 for ac_prog in ginstall scoinst install; do
12156 for ac_exec_ext in '' $ac_executable_extensions; do
12157 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12158 if test $ac_prog = install &&
12159 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12160 # AIX install. It has an incompatible calling convention.
12161 :
12162 elif test $ac_prog = install &&
12163 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12164 # program-specific install script used by HP pwplus--don't use.
12165 :
12166 else
12167 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
12168 break 3
12169 fi
12170 fi
12171 done
12172 done
12173 ;;
12174 esac
12175 done
12176
12177
12178 fi
12179 if test "${ac_cv_path_install+set}" = set; then
12180 INSTALL=$ac_cv_path_install
12181 else
12182 # As a last resort, use the slow shell script. We don't cache a
12183 # path for INSTALL within a source directory, because that will
12184 # break other packages using the cache if that directory is
12185 # removed, or if the path is relative.
12186 INSTALL=$ac_install_sh
12187 fi
12188 fi
12189 echo "$as_me:$LINENO: result: $INSTALL" >&5
12190 echo "${ECHO_T}$INSTALL" >&6
12191
12192 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12193 # It thinks the first close brace ends the variable substitution.
12194 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
12195
12196 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
12197
12198 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
12199
12200
12201 case ${INSTALL} in
12202 /* ) # Absolute
12203 ;;
12204 ?:* ) # Drive letter, considered as absolute.
12205 ;;
12206 *)
12207 INSTALL=`pwd`/${INSTALL} ;;
12208 esac
12209
12210
12211 case "${host}" in
12212
12213 powerpc-*-darwin* )
12214 INSTALL_PROGRAM="cp -fp"
12215 INSTALL_DATA="cp -fp"
12216 ;;
12217 *)
12218 ;;
12219 esac
12220
12221 # Extract the first word of "strip", so it can be a program name with args.
12222 set dummy strip; ac_word=$2
12223 echo "$as_me:$LINENO: checking for $ac_word" >&5
12224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12225 if test "${ac_cv_prog_STRIP+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12227 else
12228 if test -n "$STRIP"; then
12229 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
12230 else
12231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12232 for as_dir in $PATH
12233 do
12234 IFS=$as_save_IFS
12235 test -z "$as_dir" && as_dir=.
12236 for ac_exec_ext in '' $ac_executable_extensions; do
12237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12238 ac_cv_prog_STRIP="strip"
12239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12240 break 2
12241 fi
12242 done
12243 done
12244
12245 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12246 fi
12247 fi
12248 STRIP=$ac_cv_prog_STRIP
12249 if test -n "$STRIP"; then
12250 echo "$as_me:$LINENO: result: $STRIP" >&5
12251 echo "${ECHO_T}$STRIP" >&6
12252 else
12253 echo "$as_me:$LINENO: result: no" >&5
12254 echo "${ECHO_T}no" >&6
12255 fi
12256
12257
12258 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12259 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12260 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12261 echo $ECHO_N "(cached) $ECHO_C" >&6
12262 else
12263
12264 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12265 egrep -s GNU > /dev/null); then
12266 wx_cv_prog_makeisgnu="yes"
12267 else
12268 wx_cv_prog_makeisgnu="no"
12269 fi
12270
12271 fi
12272 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12273 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12274
12275 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12276 IF_GNU_MAKE=""
12277 else
12278 IF_GNU_MAKE="#"
12279 fi
12280
12281
12282
12283 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12284 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12285 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12286 if test "${wx_cv_prog_makevpath+set}" = set; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12288 else
12289
12290 cat - << EOF > confMake
12291 check : file
12292 cp \$? \$@
12293 cp \$? final_file
12294 EOF
12295
12296 if test ! -d sub ; then
12297 mkdir sub
12298 fi
12299 echo dummy > sub/file
12300 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12301 RESULT=$?
12302 rm -f sub/file check final_file confMake
12303 rmdir sub
12304 if test "$RESULT" = 0; then
12305 wx_cv_prog_makevpath="yes"
12306 else
12307 wx_cv_prog_makevpath="no"
12308 fi
12309
12310 fi
12311 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12312 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12313
12314 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12315 { { echo "$as_me:$LINENO: error:
12316 You need a make-utility that is able to use the variable
12317 VPATH correctly.
12318 If your version of make does not support VPATH correctly,
12319 please install GNU-make (possibly as gmake), and start
12320 configure with the following command:
12321 export MAKE=gmake; ./configure for sh-type shells
12322 setenv MAKE gmake; ./configure for csh-type shells
12323 Also please do remember to use gmake in this case every time
12324 you are trying to compile.
12325 " >&5
12326 echo "$as_me: error:
12327 You need a make-utility that is able to use the variable
12328 VPATH correctly.
12329 If your version of make does not support VPATH correctly,
12330 please install GNU-make (possibly as gmake), and start
12331 configure with the following command:
12332 export MAKE=gmake; ./configure for sh-type shells
12333 setenv MAKE gmake; ./configure for csh-type shells
12334 Also please do remember to use gmake in this case every time
12335 you are trying to compile.
12336 " >&2;}
12337 { (exit 1); exit 1; }; }
12338 fi fi
12339 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12340 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12341 LN_S=$as_ln_s
12342 if test "$LN_S" = "ln -s"; then
12343 echo "$as_me:$LINENO: result: yes" >&5
12344 echo "${ECHO_T}yes" >&6
12345 else
12346 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12347 echo "${ECHO_T}no, using $LN_S" >&6
12348 fi
12349
12350
12351
12352 case "${host}" in
12353 *-pc-os2_emx | *-pc-os2-emx )
12354 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12355 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12356 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12357 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12358 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 else
12360 ac_check_lib_save_LIBS=$LIBS
12361 LIBS="-lcExt $LIBS"
12362 cat >conftest.$ac_ext <<_ACEOF
12363 /* confdefs.h. */
12364 _ACEOF
12365 cat confdefs.h >>conftest.$ac_ext
12366 cat >>conftest.$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12368
12369 /* Override any gcc2 internal prototype to avoid an error. */
12370 #ifdef __cplusplus
12371 extern "C"
12372 #endif
12373 /* We use char because int might match the return type of a gcc2
12374 builtin and then its argument prototype would still apply. */
12375 char drand48 ();
12376 int
12377 main ()
12378 {
12379 drand48 ();
12380 ;
12381 return 0;
12382 }
12383 _ACEOF
12384 rm -f conftest.$ac_objext conftest$ac_exeext
12385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12386 (eval $ac_link) 2>conftest.er1
12387 ac_status=$?
12388 grep -v '^ *+' conftest.er1 >conftest.err
12389 rm -f conftest.er1
12390 cat conftest.err >&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } &&
12393 { ac_try='test -z "$ac_c_werror_flag"
12394 || test ! -s conftest.err'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12397 ac_status=$?
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; } &&
12400 { ac_try='test -s conftest$ac_exeext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_cv_lib_cExt_drand48=yes
12407 else
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12410
12411 ac_cv_lib_cExt_drand48=no
12412 fi
12413 rm -f conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 LIBS=$ac_check_lib_save_LIBS
12416 fi
12417 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12418 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12419 if test $ac_cv_lib_cExt_drand48 = yes; then
12420 LIBS="$LIBS -lcExt"
12421 fi
12422
12423 else
12424 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12425 fi
12426 echo "$as_me:$LINENO: checking for gcc version" >&5
12427 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12428 if test "${wx_cv_gccversion+set}" = set; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 else
12431
12432 cat >conftest.$ac_ext <<_ACEOF
12433 /* confdefs.h. */
12434 _ACEOF
12435 cat confdefs.h >>conftest.$ac_ext
12436 cat >>conftest.$ac_ext <<_ACEOF
12437 /* end confdefs.h. */
12438
12439 int
12440 main ()
12441 {
12442
12443 #if (__GNUC__ < 3)
12444 #error old gcc
12445 #endif
12446
12447 ;
12448 return 0;
12449 }
12450 _ACEOF
12451 rm -f conftest.$ac_objext
12452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12453 (eval $ac_compile) 2>conftest.er1
12454 ac_status=$?
12455 grep -v '^ *+' conftest.er1 >conftest.err
12456 rm -f conftest.er1
12457 cat conftest.err >&5
12458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12459 (exit $ac_status); } &&
12460 { ac_try='test -z "$ac_c_werror_flag"
12461 || test ! -s conftest.err'
12462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12463 (eval $ac_try) 2>&5
12464 ac_status=$?
12465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466 (exit $ac_status); }; } &&
12467 { ac_try='test -s conftest.$ac_objext'
12468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12469 (eval $ac_try) 2>&5
12470 ac_status=$?
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then
12473
12474 cat >conftest.$ac_ext <<_ACEOF
12475 /* confdefs.h. */
12476 _ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480
12481 int
12482 main ()
12483 {
12484
12485 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12486 #error intermediate gcc
12487 #endif
12488
12489 ;
12490 return 0;
12491 }
12492 _ACEOF
12493 rm -f conftest.$ac_objext
12494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12495 (eval $ac_compile) 2>conftest.er1
12496 ac_status=$?
12497 grep -v '^ *+' conftest.er1 >conftest.err
12498 rm -f conftest.er1
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -z "$ac_c_werror_flag"
12503 || test ! -s conftest.err'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5
12506 ac_status=$?
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; } &&
12509 { ac_try='test -s conftest.$ac_objext'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12512 ac_status=$?
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); }; }; then
12515
12516 wx_cv_gccversion=Innotek
12517
12518 else
12519 echo "$as_me: failed program was:" >&5
12520 sed 's/^/| /' conftest.$ac_ext >&5
12521
12522
12523 wx_cv_gccversion=3
12524
12525
12526 fi
12527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12528
12529 else
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12532
12533
12534 wx_cv_gccversion=2
12535
12536
12537 fi
12538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12539
12540 fi
12541 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12542 echo "${ECHO_T}$wx_cv_gccversion" >&6
12543 if test "$wx_cv_gccversion" = "2"; then
12544 LIBS="$LIBS -lstdcpp"
12545 LDFLAGS="$LDFLAGS -Zsysv-signals"
12546 else
12547 if test "$wx_cv_gccversion" = "3"; then
12548 LIBS="$LIBS -lstdcxx"
12549 LDFLAGS="$LDFLAGS -Zsysv-signals"
12550 else
12551 LIBS="$LIBS -lstdc++"
12552 fi
12553 fi
12554 if test "$wxUSE_OMF" = "yes"; then
12555 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12556 fi
12557 ;;
12558 *)
12559
12560
12561
12562 ac_ext=cc
12563 ac_cpp='$CXXCPP $CPPFLAGS'
12564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12567
12568
12569
12570 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12571 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12572 if test "${ac_cv_string_strcasecmp+set}" = set; then
12573 echo $ECHO_N "(cached) $ECHO_C" >&6
12574 else
12575
12576 cat >conftest.$ac_ext <<_ACEOF
12577 /* confdefs.h. */
12578 _ACEOF
12579 cat confdefs.h >>conftest.$ac_ext
12580 cat >>conftest.$ac_ext <<_ACEOF
12581 /* end confdefs.h. */
12582
12583 #include <string.h>
12584
12585 int
12586 main ()
12587 {
12588
12589 strcasecmp("foo", "bar");
12590
12591 ;
12592 return 0;
12593 }
12594 _ACEOF
12595 rm -f conftest.$ac_objext conftest$ac_exeext
12596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12597 (eval $ac_link) 2>conftest.er1
12598 ac_status=$?
12599 grep -v '^ *+' conftest.er1 >conftest.err
12600 rm -f conftest.er1
12601 cat conftest.err >&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } &&
12604 { ac_try='test -z "$ac_cxx_werror_flag"
12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12608 ac_status=$?
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try='test -s conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); }; }; then
12617 ac_cv_string_strcasecmp=yes
12618 else
12619 echo "$as_me: failed program was:" >&5
12620 sed 's/^/| /' conftest.$ac_ext >&5
12621
12622 ac_cv_string_strcasecmp=no
12623
12624 fi
12625 rm -f conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627
12628 fi
12629 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12630 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12631
12632 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12633 cat >>confdefs.h <<\_ACEOF
12634 #define HAVE_STRCASECMP_IN_STRING_H 1
12635 _ACEOF
12636
12637 else
12638 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12639 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12640 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 else
12643
12644 cat >conftest.$ac_ext <<_ACEOF
12645 /* confdefs.h. */
12646 _ACEOF
12647 cat confdefs.h >>conftest.$ac_ext
12648 cat >>conftest.$ac_ext <<_ACEOF
12649 /* end confdefs.h. */
12650
12651 #include <strings.h>
12652
12653 int
12654 main ()
12655 {
12656
12657 strcasecmp("foo", "bar");
12658
12659 ;
12660 return 0;
12661 }
12662 _ACEOF
12663 rm -f conftest.$ac_objext conftest$ac_exeext
12664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12665 (eval $ac_link) 2>conftest.er1
12666 ac_status=$?
12667 grep -v '^ *+' conftest.er1 >conftest.err
12668 rm -f conftest.er1
12669 cat conftest.err >&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } &&
12672 { ac_try='test -z "$ac_cxx_werror_flag"
12673 || test ! -s conftest.err'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12676 ac_status=$?
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; } &&
12679 { ac_try='test -s conftest$ac_exeext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12682 ac_status=$?
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ac_cv_strings_strcasecmp=yes
12686 else
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.$ac_ext >&5
12689
12690 ac_cv_strings_strcasecmp=no
12691
12692 fi
12693 rm -f conftest.err conftest.$ac_objext \
12694 conftest$ac_exeext conftest.$ac_ext
12695
12696 fi
12697 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12698 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12699
12700 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
12701 cat >>confdefs.h <<\_ACEOF
12702 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12703 _ACEOF
12704
12705 else
12706 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12707 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12708 { (exit 1); exit 1; }; }
12709 fi
12710 fi
12711
12712 ac_ext=c
12713 ac_cpp='$CPP $CPPFLAGS'
12714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12717
12718 ;;
12719 esac
12720
12721
12722 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12723 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12724 if test "${ac_cv_header_stdc+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 else
12727 cat >conftest.$ac_ext <<_ACEOF
12728 /* confdefs.h. */
12729 _ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 #include <stdlib.h>
12734 #include <stdarg.h>
12735 #include <string.h>
12736 #include <float.h>
12737
12738 int
12739 main ()
12740 {
12741
12742 ;
12743 return 0;
12744 }
12745 _ACEOF
12746 rm -f conftest.$ac_objext
12747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12748 (eval $ac_compile) 2>conftest.er1
12749 ac_status=$?
12750 grep -v '^ *+' conftest.er1 >conftest.err
12751 rm -f conftest.er1
12752 cat conftest.err >&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); } &&
12755 { ac_try='test -z "$ac_c_werror_flag"
12756 || test ! -s conftest.err'
12757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12758 (eval $ac_try) 2>&5
12759 ac_status=$?
12760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12761 (exit $ac_status); }; } &&
12762 { ac_try='test -s conftest.$ac_objext'
12763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12764 (eval $ac_try) 2>&5
12765 ac_status=$?
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; }; then
12768 ac_cv_header_stdc=yes
12769 else
12770 echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.$ac_ext >&5
12772
12773 ac_cv_header_stdc=no
12774 fi
12775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12776
12777 if test $ac_cv_header_stdc = yes; then
12778 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12779 cat >conftest.$ac_ext <<_ACEOF
12780 /* confdefs.h. */
12781 _ACEOF
12782 cat confdefs.h >>conftest.$ac_ext
12783 cat >>conftest.$ac_ext <<_ACEOF
12784 /* end confdefs.h. */
12785 #include <string.h>
12786
12787 _ACEOF
12788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12789 $EGREP "memchr" >/dev/null 2>&1; then
12790 :
12791 else
12792 ac_cv_header_stdc=no
12793 fi
12794 rm -f conftest*
12795
12796 fi
12797
12798 if test $ac_cv_header_stdc = yes; then
12799 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
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 <stdlib.h>
12807
12808 _ACEOF
12809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12810 $EGREP "free" >/dev/null 2>&1; then
12811 :
12812 else
12813 ac_cv_header_stdc=no
12814 fi
12815 rm -f conftest*
12816
12817 fi
12818
12819 if test $ac_cv_header_stdc = yes; then
12820 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12821 if test "$cross_compiling" = yes; then
12822 :
12823 else
12824 cat >conftest.$ac_ext <<_ACEOF
12825 /* confdefs.h. */
12826 _ACEOF
12827 cat confdefs.h >>conftest.$ac_ext
12828 cat >>conftest.$ac_ext <<_ACEOF
12829 /* end confdefs.h. */
12830 #include <ctype.h>
12831 #if ((' ' & 0x0FF) == 0x020)
12832 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12833 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12834 #else
12835 # define ISLOWER(c) \
12836 (('a' <= (c) && (c) <= 'i') \
12837 || ('j' <= (c) && (c) <= 'r') \
12838 || ('s' <= (c) && (c) <= 'z'))
12839 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12840 #endif
12841
12842 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12843 int
12844 main ()
12845 {
12846 int i;
12847 for (i = 0; i < 256; i++)
12848 if (XOR (islower (i), ISLOWER (i))
12849 || toupper (i) != TOUPPER (i))
12850 exit(2);
12851 exit (0);
12852 }
12853 _ACEOF
12854 rm -f conftest$ac_exeext
12855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856 (eval $ac_link) 2>&5
12857 ac_status=$?
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12861 (eval $ac_try) 2>&5
12862 ac_status=$?
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); }; }; then
12865 :
12866 else
12867 echo "$as_me: program exited with status $ac_status" >&5
12868 echo "$as_me: failed program was:" >&5
12869 sed 's/^/| /' conftest.$ac_ext >&5
12870
12871 ( exit $ac_status )
12872 ac_cv_header_stdc=no
12873 fi
12874 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12875 fi
12876 fi
12877 fi
12878 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12879 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12880 if test $ac_cv_header_stdc = yes; then
12881
12882 cat >>confdefs.h <<\_ACEOF
12883 #define STDC_HEADERS 1
12884 _ACEOF
12885
12886 fi
12887
12888 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12899 inttypes.h stdint.h unistd.h
12900 do
12901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12902 echo "$as_me:$LINENO: checking for $ac_header" >&5
12903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 else
12907 cat >conftest.$ac_ext <<_ACEOF
12908 /* confdefs.h. */
12909 _ACEOF
12910 cat confdefs.h >>conftest.$ac_ext
12911 cat >>conftest.$ac_ext <<_ACEOF
12912 /* end confdefs.h. */
12913 $ac_includes_default
12914
12915 #include <$ac_header>
12916 _ACEOF
12917 rm -f conftest.$ac_objext
12918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12919 (eval $ac_compile) 2>conftest.er1
12920 ac_status=$?
12921 grep -v '^ *+' conftest.er1 >conftest.err
12922 rm -f conftest.er1
12923 cat conftest.err >&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 (exit $ac_status); } &&
12926 { ac_try='test -z "$ac_c_werror_flag"
12927 || test ! -s conftest.err'
12928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12929 (eval $ac_try) 2>&5
12930 ac_status=$?
12931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 (exit $ac_status); }; } &&
12933 { ac_try='test -s conftest.$ac_objext'
12934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12935 (eval $ac_try) 2>&5
12936 ac_status=$?
12937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 (exit $ac_status); }; }; then
12939 eval "$as_ac_Header=yes"
12940 else
12941 echo "$as_me: failed program was:" >&5
12942 sed 's/^/| /' conftest.$ac_ext >&5
12943
12944 eval "$as_ac_Header=no"
12945 fi
12946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12947 fi
12948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12951 cat >>confdefs.h <<_ACEOF
12952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12953 _ACEOF
12954
12955 fi
12956
12957 done
12958
12959
12960
12961 for ac_header in stdlib.h
12962 do
12963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12965 echo "$as_me:$LINENO: checking for $ac_header" >&5
12966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12968 echo $ECHO_N "(cached) $ECHO_C" >&6
12969 fi
12970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12972 else
12973 # Is the header compilable?
12974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12976 cat >conftest.$ac_ext <<_ACEOF
12977 /* confdefs.h. */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982 $ac_includes_default
12983 #include <$ac_header>
12984 _ACEOF
12985 rm -f conftest.$ac_objext
12986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12987 (eval $ac_compile) 2>conftest.er1
12988 ac_status=$?
12989 grep -v '^ *+' conftest.er1 >conftest.err
12990 rm -f conftest.er1
12991 cat conftest.err >&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try='test -z "$ac_c_werror_flag"
12995 || test ! -s conftest.err'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12998 ac_status=$?
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; } &&
13001 { ac_try='test -s conftest.$ac_objext'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13004 ac_status=$?
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; }; then
13007 ac_header_compiler=yes
13008 else
13009 echo "$as_me: failed program was:" >&5
13010 sed 's/^/| /' conftest.$ac_ext >&5
13011
13012 ac_header_compiler=no
13013 fi
13014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13015 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13016 echo "${ECHO_T}$ac_header_compiler" >&6
13017
13018 # Is the header present?
13019 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13021 cat >conftest.$ac_ext <<_ACEOF
13022 /* confdefs.h. */
13023 _ACEOF
13024 cat confdefs.h >>conftest.$ac_ext
13025 cat >>conftest.$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13027 #include <$ac_header>
13028 _ACEOF
13029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13031 ac_status=$?
13032 grep -v '^ *+' conftest.er1 >conftest.err
13033 rm -f conftest.er1
13034 cat conftest.err >&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); } >/dev/null; then
13037 if test -s conftest.err; then
13038 ac_cpp_err=$ac_c_preproc_warn_flag
13039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13040 else
13041 ac_cpp_err=
13042 fi
13043 else
13044 ac_cpp_err=yes
13045 fi
13046 if test -z "$ac_cpp_err"; then
13047 ac_header_preproc=yes
13048 else
13049 echo "$as_me: failed program was:" >&5
13050 sed 's/^/| /' conftest.$ac_ext >&5
13051
13052 ac_header_preproc=no
13053 fi
13054 rm -f conftest.err conftest.$ac_ext
13055 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13056 echo "${ECHO_T}$ac_header_preproc" >&6
13057
13058 # So? What about this header?
13059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13060 yes:no: )
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13062 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13064 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13065 ac_header_preproc=yes
13066 ;;
13067 no:yes:* )
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13073 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13074 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13075 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13078 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13079 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13080 (
13081 cat <<\_ASBOX
13082 ## ----------------------------------------- ##
13083 ## Report this to wx-dev@lists.wxwidgets.org ##
13084 ## ----------------------------------------- ##
13085 _ASBOX
13086 ) |
13087 sed "s/^/$as_me: WARNING: /" >&2
13088 ;;
13089 esac
13090 echo "$as_me:$LINENO: checking for $ac_header" >&5
13091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13093 echo $ECHO_N "(cached) $ECHO_C" >&6
13094 else
13095 eval "$as_ac_Header=\$ac_header_preproc"
13096 fi
13097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13099
13100 fi
13101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13102 cat >>confdefs.h <<_ACEOF
13103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13104 _ACEOF
13105
13106 fi
13107
13108 done
13109
13110
13111 for ac_header in malloc.h
13112 do
13113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13115 echo "$as_me:$LINENO: checking for $ac_header" >&5
13116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13118 echo $ECHO_N "(cached) $ECHO_C" >&6
13119 fi
13120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13122 else
13123 # Is the header compilable?
13124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13126 cat >conftest.$ac_ext <<_ACEOF
13127 /* confdefs.h. */
13128 _ACEOF
13129 cat confdefs.h >>conftest.$ac_ext
13130 cat >>conftest.$ac_ext <<_ACEOF
13131 /* end confdefs.h. */
13132 $ac_includes_default
13133 #include <$ac_header>
13134 _ACEOF
13135 rm -f conftest.$ac_objext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13137 (eval $ac_compile) 2>conftest.er1
13138 ac_status=$?
13139 grep -v '^ *+' conftest.er1 >conftest.err
13140 rm -f conftest.er1
13141 cat conftest.err >&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try='test -z "$ac_c_werror_flag"
13145 || test ! -s conftest.err'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13148 ac_status=$?
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; } &&
13151 { ac_try='test -s conftest.$ac_objext'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13154 ac_status=$?
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; }; then
13157 ac_header_compiler=yes
13158 else
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13161
13162 ac_header_compiler=no
13163 fi
13164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13165 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13166 echo "${ECHO_T}$ac_header_compiler" >&6
13167
13168 # Is the header present?
13169 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13170 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13171 cat >conftest.$ac_ext <<_ACEOF
13172 /* confdefs.h. */
13173 _ACEOF
13174 cat confdefs.h >>conftest.$ac_ext
13175 cat >>conftest.$ac_ext <<_ACEOF
13176 /* end confdefs.h. */
13177 #include <$ac_header>
13178 _ACEOF
13179 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13180 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13181 ac_status=$?
13182 grep -v '^ *+' conftest.er1 >conftest.err
13183 rm -f conftest.er1
13184 cat conftest.err >&5
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); } >/dev/null; then
13187 if test -s conftest.err; then
13188 ac_cpp_err=$ac_c_preproc_warn_flag
13189 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13190 else
13191 ac_cpp_err=
13192 fi
13193 else
13194 ac_cpp_err=yes
13195 fi
13196 if test -z "$ac_cpp_err"; then
13197 ac_header_preproc=yes
13198 else
13199 echo "$as_me: failed program was:" >&5
13200 sed 's/^/| /' conftest.$ac_ext >&5
13201
13202 ac_header_preproc=no
13203 fi
13204 rm -f conftest.err conftest.$ac_ext
13205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13206 echo "${ECHO_T}$ac_header_preproc" >&6
13207
13208 # So? What about this header?
13209 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13210 yes:no: )
13211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13214 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13215 ac_header_preproc=yes
13216 ;;
13217 no:yes:* )
13218 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13219 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13220 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13221 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13222 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13223 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13224 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13225 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13228 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13229 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13230 (
13231 cat <<\_ASBOX
13232 ## ----------------------------------------- ##
13233 ## Report this to wx-dev@lists.wxwidgets.org ##
13234 ## ----------------------------------------- ##
13235 _ASBOX
13236 ) |
13237 sed "s/^/$as_me: WARNING: /" >&2
13238 ;;
13239 esac
13240 echo "$as_me:$LINENO: checking for $ac_header" >&5
13241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13243 echo $ECHO_N "(cached) $ECHO_C" >&6
13244 else
13245 eval "$as_ac_Header=\$ac_header_preproc"
13246 fi
13247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13249
13250 fi
13251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13252 cat >>confdefs.h <<_ACEOF
13253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13254 _ACEOF
13255
13256 fi
13257
13258 done
13259
13260
13261 for ac_header in unistd.h
13262 do
13263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13265 echo "$as_me:$LINENO: checking for $ac_header" >&5
13266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13268 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 fi
13270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13272 else
13273 # Is the header compilable?
13274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13276 cat >conftest.$ac_ext <<_ACEOF
13277 /* confdefs.h. */
13278 _ACEOF
13279 cat confdefs.h >>conftest.$ac_ext
13280 cat >>conftest.$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282 $ac_includes_default
13283 #include <$ac_header>
13284 _ACEOF
13285 rm -f conftest.$ac_objext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>conftest.er1
13288 ac_status=$?
13289 grep -v '^ *+' conftest.er1 >conftest.err
13290 rm -f conftest.er1
13291 cat conftest.err >&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try='test -z "$ac_c_werror_flag"
13295 || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13298 ac_status=$?
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13304 ac_status=$?
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 ac_header_compiler=yes
13308 else
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.$ac_ext >&5
13311
13312 ac_header_compiler=no
13313 fi
13314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13316 echo "${ECHO_T}$ac_header_compiler" >&6
13317
13318 # Is the header present?
13319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13321 cat >conftest.$ac_ext <<_ACEOF
13322 /* confdefs.h. */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327 #include <$ac_header>
13328 _ACEOF
13329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13331 ac_status=$?
13332 grep -v '^ *+' conftest.er1 >conftest.err
13333 rm -f conftest.er1
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } >/dev/null; then
13337 if test -s conftest.err; then
13338 ac_cpp_err=$ac_c_preproc_warn_flag
13339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13340 else
13341 ac_cpp_err=
13342 fi
13343 else
13344 ac_cpp_err=yes
13345 fi
13346 if test -z "$ac_cpp_err"; then
13347 ac_header_preproc=yes
13348 else
13349 echo "$as_me: failed program was:" >&5
13350 sed 's/^/| /' conftest.$ac_ext >&5
13351
13352 ac_header_preproc=no
13353 fi
13354 rm -f conftest.err conftest.$ac_ext
13355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13356 echo "${ECHO_T}$ac_header_preproc" >&6
13357
13358 # So? What about this header?
13359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13360 yes:no: )
13361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13365 ac_header_preproc=yes
13366 ;;
13367 no:yes:* )
13368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13380 (
13381 cat <<\_ASBOX
13382 ## ----------------------------------------- ##
13383 ## Report this to wx-dev@lists.wxwidgets.org ##
13384 ## ----------------------------------------- ##
13385 _ASBOX
13386 ) |
13387 sed "s/^/$as_me: WARNING: /" >&2
13388 ;;
13389 esac
13390 echo "$as_me:$LINENO: checking for $ac_header" >&5
13391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 else
13395 eval "$as_ac_Header=\$ac_header_preproc"
13396 fi
13397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13399
13400 fi
13401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13402 cat >>confdefs.h <<_ACEOF
13403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13404 _ACEOF
13405
13406 fi
13407
13408 done
13409
13410
13411 for ac_header in wchar.h
13412 do
13413 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13415 echo "$as_me:$LINENO: checking for $ac_header" >&5
13416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13419 fi
13420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13422 else
13423 # Is the header compilable?
13424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13426 cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h. */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432 $ac_includes_default
13433 #include <$ac_header>
13434 _ACEOF
13435 rm -f conftest.$ac_objext
13436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13437 (eval $ac_compile) 2>conftest.er1
13438 ac_status=$?
13439 grep -v '^ *+' conftest.er1 >conftest.err
13440 rm -f conftest.er1
13441 cat conftest.err >&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); } &&
13444 { ac_try='test -z "$ac_c_werror_flag"
13445 || test ! -s conftest.err'
13446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447 (eval $ac_try) 2>&5
13448 ac_status=$?
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); }; } &&
13451 { ac_try='test -s conftest.$ac_objext'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13454 ac_status=$?
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; }; then
13457 ac_header_compiler=yes
13458 else
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.$ac_ext >&5
13461
13462 ac_header_compiler=no
13463 fi
13464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13465 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13466 echo "${ECHO_T}$ac_header_compiler" >&6
13467
13468 # Is the header present?
13469 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13471 cat >conftest.$ac_ext <<_ACEOF
13472 /* confdefs.h. */
13473 _ACEOF
13474 cat confdefs.h >>conftest.$ac_ext
13475 cat >>conftest.$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 #include <$ac_header>
13478 _ACEOF
13479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13481 ac_status=$?
13482 grep -v '^ *+' conftest.er1 >conftest.err
13483 rm -f conftest.er1
13484 cat conftest.err >&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); } >/dev/null; then
13487 if test -s conftest.err; then
13488 ac_cpp_err=$ac_c_preproc_warn_flag
13489 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13490 else
13491 ac_cpp_err=
13492 fi
13493 else
13494 ac_cpp_err=yes
13495 fi
13496 if test -z "$ac_cpp_err"; then
13497 ac_header_preproc=yes
13498 else
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.$ac_ext >&5
13501
13502 ac_header_preproc=no
13503 fi
13504 rm -f conftest.err conftest.$ac_ext
13505 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13506 echo "${ECHO_T}$ac_header_preproc" >&6
13507
13508 # So? What about this header?
13509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13510 yes:no: )
13511 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13512 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13514 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13515 ac_header_preproc=yes
13516 ;;
13517 no:yes:* )
13518 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13519 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13520 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13521 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13522 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13523 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13524 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13525 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13526 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13527 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13528 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13529 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13530 (
13531 cat <<\_ASBOX
13532 ## ----------------------------------------- ##
13533 ## Report this to wx-dev@lists.wxwidgets.org ##
13534 ## ----------------------------------------- ##
13535 _ASBOX
13536 ) |
13537 sed "s/^/$as_me: WARNING: /" >&2
13538 ;;
13539 esac
13540 echo "$as_me:$LINENO: checking for $ac_header" >&5
13541 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13544 else
13545 eval "$as_ac_Header=\$ac_header_preproc"
13546 fi
13547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13548 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13549
13550 fi
13551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13552 cat >>confdefs.h <<_ACEOF
13553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13554 _ACEOF
13555
13556 fi
13557
13558 done
13559
13560
13561 if test "$ac_cv_header_wchar_h" != "yes"; then
13562
13563 for ac_header in wcstr.h
13564 do
13565 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13566 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13567 echo "$as_me:$LINENO: checking for $ac_header" >&5
13568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 fi
13572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13574 else
13575 # Is the header compilable?
13576 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13577 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13578 cat >conftest.$ac_ext <<_ACEOF
13579 /* confdefs.h. */
13580 _ACEOF
13581 cat confdefs.h >>conftest.$ac_ext
13582 cat >>conftest.$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13584 $ac_includes_default
13585 #include <$ac_header>
13586 _ACEOF
13587 rm -f conftest.$ac_objext
13588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13589 (eval $ac_compile) 2>conftest.er1
13590 ac_status=$?
13591 grep -v '^ *+' conftest.er1 >conftest.err
13592 rm -f conftest.er1
13593 cat conftest.err >&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); } &&
13596 { ac_try='test -z "$ac_c_werror_flag"
13597 || test ! -s conftest.err'
13598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 (eval $ac_try) 2>&5
13600 ac_status=$?
13601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); }; } &&
13603 { ac_try='test -s conftest.$ac_objext'
13604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 (eval $ac_try) 2>&5
13606 ac_status=$?
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); }; }; then
13609 ac_header_compiler=yes
13610 else
13611 echo "$as_me: failed program was:" >&5
13612 sed 's/^/| /' conftest.$ac_ext >&5
13613
13614 ac_header_compiler=no
13615 fi
13616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13618 echo "${ECHO_T}$ac_header_compiler" >&6
13619
13620 # Is the header present?
13621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13623 cat >conftest.$ac_ext <<_ACEOF
13624 /* confdefs.h. */
13625 _ACEOF
13626 cat confdefs.h >>conftest.$ac_ext
13627 cat >>conftest.$ac_ext <<_ACEOF
13628 /* end confdefs.h. */
13629 #include <$ac_header>
13630 _ACEOF
13631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13632 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13633 ac_status=$?
13634 grep -v '^ *+' conftest.er1 >conftest.err
13635 rm -f conftest.er1
13636 cat conftest.err >&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); } >/dev/null; then
13639 if test -s conftest.err; then
13640 ac_cpp_err=$ac_c_preproc_warn_flag
13641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13642 else
13643 ac_cpp_err=
13644 fi
13645 else
13646 ac_cpp_err=yes
13647 fi
13648 if test -z "$ac_cpp_err"; then
13649 ac_header_preproc=yes
13650 else
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.$ac_ext >&5
13653
13654 ac_header_preproc=no
13655 fi
13656 rm -f conftest.err conftest.$ac_ext
13657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13658 echo "${ECHO_T}$ac_header_preproc" >&6
13659
13660 # So? What about this header?
13661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13662 yes:no: )
13663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13667 ac_header_preproc=yes
13668 ;;
13669 no:yes:* )
13670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13682 (
13683 cat <<\_ASBOX
13684 ## ----------------------------------------- ##
13685 ## Report this to wx-dev@lists.wxwidgets.org ##
13686 ## ----------------------------------------- ##
13687 _ASBOX
13688 ) |
13689 sed "s/^/$as_me: WARNING: /" >&2
13690 ;;
13691 esac
13692 echo "$as_me:$LINENO: checking for $ac_header" >&5
13693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 else
13697 eval "$as_ac_Header=\$ac_header_preproc"
13698 fi
13699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13701
13702 fi
13703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13704 cat >>confdefs.h <<_ACEOF
13705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13706 _ACEOF
13707
13708 fi
13709
13710 done
13711
13712 fi
13713
13714
13715 for ac_header in fnmatch.h
13716 do
13717 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13719 echo "$as_me:$LINENO: checking for $ac_header" >&5
13720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13722 echo $ECHO_N "(cached) $ECHO_C" >&6
13723 fi
13724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13726 else
13727 # Is the header compilable?
13728 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13729 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13730 cat >conftest.$ac_ext <<_ACEOF
13731 /* confdefs.h. */
13732 _ACEOF
13733 cat confdefs.h >>conftest.$ac_ext
13734 cat >>conftest.$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13736 $ac_includes_default
13737 #include <$ac_header>
13738 _ACEOF
13739 rm -f conftest.$ac_objext
13740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13741 (eval $ac_compile) 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try='test -z "$ac_c_werror_flag"
13749 || test ! -s conftest.err'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13752 ac_status=$?
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; } &&
13755 { ac_try='test -s conftest.$ac_objext'
13756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13757 (eval $ac_try) 2>&5
13758 ac_status=$?
13759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13760 (exit $ac_status); }; }; then
13761 ac_header_compiler=yes
13762 else
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.$ac_ext >&5
13765
13766 ac_header_compiler=no
13767 fi
13768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13769 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13770 echo "${ECHO_T}$ac_header_compiler" >&6
13771
13772 # Is the header present?
13773 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13774 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13775 cat >conftest.$ac_ext <<_ACEOF
13776 /* confdefs.h. */
13777 _ACEOF
13778 cat confdefs.h >>conftest.$ac_ext
13779 cat >>conftest.$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 #include <$ac_header>
13782 _ACEOF
13783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13785 ac_status=$?
13786 grep -v '^ *+' conftest.er1 >conftest.err
13787 rm -f conftest.er1
13788 cat conftest.err >&5
13789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13790 (exit $ac_status); } >/dev/null; then
13791 if test -s conftest.err; then
13792 ac_cpp_err=$ac_c_preproc_warn_flag
13793 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13794 else
13795 ac_cpp_err=
13796 fi
13797 else
13798 ac_cpp_err=yes
13799 fi
13800 if test -z "$ac_cpp_err"; then
13801 ac_header_preproc=yes
13802 else
13803 echo "$as_me: failed program was:" >&5
13804 sed 's/^/| /' conftest.$ac_ext >&5
13805
13806 ac_header_preproc=no
13807 fi
13808 rm -f conftest.err conftest.$ac_ext
13809 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13810 echo "${ECHO_T}$ac_header_preproc" >&6
13811
13812 # So? What about this header?
13813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13814 yes:no: )
13815 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13816 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13817 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13818 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13819 ac_header_preproc=yes
13820 ;;
13821 no:yes:* )
13822 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13823 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13824 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13825 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13826 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13827 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13828 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13829 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13831 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13832 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13833 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13834 (
13835 cat <<\_ASBOX
13836 ## ----------------------------------------- ##
13837 ## Report this to wx-dev@lists.wxwidgets.org ##
13838 ## ----------------------------------------- ##
13839 _ASBOX
13840 ) |
13841 sed "s/^/$as_me: WARNING: /" >&2
13842 ;;
13843 esac
13844 echo "$as_me:$LINENO: checking for $ac_header" >&5
13845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13847 echo $ECHO_N "(cached) $ECHO_C" >&6
13848 else
13849 eval "$as_ac_Header=\$ac_header_preproc"
13850 fi
13851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13853
13854 fi
13855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13856 cat >>confdefs.h <<_ACEOF
13857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13858 _ACEOF
13859
13860 fi
13861
13862 done
13863
13864
13865 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13866
13867 for ac_func in fnmatch
13868 do
13869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13870 echo "$as_me:$LINENO: checking for $ac_func" >&5
13871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13872 if eval "test \"\${$as_ac_var+set}\" = set"; then
13873 echo $ECHO_N "(cached) $ECHO_C" >&6
13874 else
13875 cat >conftest.$ac_ext <<_ACEOF
13876 /* confdefs.h. */
13877 _ACEOF
13878 cat confdefs.h >>conftest.$ac_ext
13879 cat >>conftest.$ac_ext <<_ACEOF
13880 /* end confdefs.h. */
13881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13883 #define $ac_func innocuous_$ac_func
13884
13885 /* System header to define __stub macros and hopefully few prototypes,
13886 which can conflict with char $ac_func (); below.
13887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13888 <limits.h> exists even on freestanding compilers. */
13889
13890 #ifdef __STDC__
13891 # include <limits.h>
13892 #else
13893 # include <assert.h>
13894 #endif
13895
13896 #undef $ac_func
13897
13898 /* Override any gcc2 internal prototype to avoid an error. */
13899 #ifdef __cplusplus
13900 extern "C"
13901 {
13902 #endif
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13905 char $ac_func ();
13906 /* The GNU C library defines this for functions which it implements
13907 to always fail with ENOSYS. Some functions are actually named
13908 something starting with __ and the normal name is an alias. */
13909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13910 choke me
13911 #else
13912 char (*f) () = $ac_func;
13913 #endif
13914 #ifdef __cplusplus
13915 }
13916 #endif
13917
13918 int
13919 main ()
13920 {
13921 return f != $ac_func;
13922 ;
13923 return 0;
13924 }
13925 _ACEOF
13926 rm -f conftest.$ac_objext conftest$ac_exeext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13928 (eval $ac_link) 2>conftest.er1
13929 ac_status=$?
13930 grep -v '^ *+' conftest.er1 >conftest.err
13931 rm -f conftest.er1
13932 cat conftest.err >&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try='test -z "$ac_c_werror_flag"
13936 || test ! -s conftest.err'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13939 ac_status=$?
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; } &&
13942 { ac_try='test -s conftest$ac_exeext'
13943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13944 (eval $ac_try) 2>&5
13945 ac_status=$?
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; }; then
13948 eval "$as_ac_var=yes"
13949 else
13950 echo "$as_me: failed program was:" >&5
13951 sed 's/^/| /' conftest.$ac_ext >&5
13952
13953 eval "$as_ac_var=no"
13954 fi
13955 rm -f conftest.err conftest.$ac_objext \
13956 conftest$ac_exeext conftest.$ac_ext
13957 fi
13958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13960 if test `eval echo '${'$as_ac_var'}'` = yes; then
13961 cat >>confdefs.h <<_ACEOF
13962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13963 _ACEOF
13964
13965 fi
13966 done
13967
13968 fi
13969
13970
13971 for ac_header in langinfo.h
13972 do
13973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13975 echo "$as_me:$LINENO: checking for $ac_header" >&5
13976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 fi
13980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13982 else
13983 # Is the header compilable?
13984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13986 cat >conftest.$ac_ext <<_ACEOF
13987 /* confdefs.h. */
13988 _ACEOF
13989 cat confdefs.h >>conftest.$ac_ext
13990 cat >>conftest.$ac_ext <<_ACEOF
13991 /* end confdefs.h. */
13992 $ac_includes_default
13993 #include <$ac_header>
13994 _ACEOF
13995 rm -f conftest.$ac_objext
13996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13997 (eval $ac_compile) 2>conftest.er1
13998 ac_status=$?
13999 grep -v '^ *+' conftest.er1 >conftest.err
14000 rm -f conftest.er1
14001 cat conftest.err >&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); } &&
14004 { ac_try='test -z "$ac_c_werror_flag"
14005 || test ! -s conftest.err'
14006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14007 (eval $ac_try) 2>&5
14008 ac_status=$?
14009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010 (exit $ac_status); }; } &&
14011 { ac_try='test -s conftest.$ac_objext'
14012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14013 (eval $ac_try) 2>&5
14014 ac_status=$?
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); }; }; then
14017 ac_header_compiler=yes
14018 else
14019 echo "$as_me: failed program was:" >&5
14020 sed 's/^/| /' conftest.$ac_ext >&5
14021
14022 ac_header_compiler=no
14023 fi
14024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14026 echo "${ECHO_T}$ac_header_compiler" >&6
14027
14028 # Is the header present?
14029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14031 cat >conftest.$ac_ext <<_ACEOF
14032 /* confdefs.h. */
14033 _ACEOF
14034 cat confdefs.h >>conftest.$ac_ext
14035 cat >>conftest.$ac_ext <<_ACEOF
14036 /* end confdefs.h. */
14037 #include <$ac_header>
14038 _ACEOF
14039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14041 ac_status=$?
14042 grep -v '^ *+' conftest.er1 >conftest.err
14043 rm -f conftest.er1
14044 cat conftest.err >&5
14045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046 (exit $ac_status); } >/dev/null; then
14047 if test -s conftest.err; then
14048 ac_cpp_err=$ac_c_preproc_warn_flag
14049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14050 else
14051 ac_cpp_err=
14052 fi
14053 else
14054 ac_cpp_err=yes
14055 fi
14056 if test -z "$ac_cpp_err"; then
14057 ac_header_preproc=yes
14058 else
14059 echo "$as_me: failed program was:" >&5
14060 sed 's/^/| /' conftest.$ac_ext >&5
14061
14062 ac_header_preproc=no
14063 fi
14064 rm -f conftest.err conftest.$ac_ext
14065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14066 echo "${ECHO_T}$ac_header_preproc" >&6
14067
14068 # So? What about this header?
14069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14070 yes:no: )
14071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14075 ac_header_preproc=yes
14076 ;;
14077 no:yes:* )
14078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14090 (
14091 cat <<\_ASBOX
14092 ## ----------------------------------------- ##
14093 ## Report this to wx-dev@lists.wxwidgets.org ##
14094 ## ----------------------------------------- ##
14095 _ASBOX
14096 ) |
14097 sed "s/^/$as_me: WARNING: /" >&2
14098 ;;
14099 esac
14100 echo "$as_me:$LINENO: checking for $ac_header" >&5
14101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14104 else
14105 eval "$as_ac_Header=\$ac_header_preproc"
14106 fi
14107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14109
14110 fi
14111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14112 cat >>confdefs.h <<_ACEOF
14113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14114 _ACEOF
14115
14116 fi
14117
14118 done
14119
14120
14121 case "${host}" in
14122 *-pc-os2_emx | *-pc-os2-emx )
14123 if test $ac_cv_header_langinfo_h = "yes"; then
14124 LIBS="$LIBS -lintl"
14125 fi
14126 ;;
14127 esac
14128
14129 if test "$wxUSE_GUI" = "yes"; then
14130 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
14131
14132 for ac_header in X11/Xlib.h
14133 do
14134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14136 echo "$as_me:$LINENO: checking for $ac_header" >&5
14137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 fi
14141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14143 else
14144 # Is the header compilable?
14145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14147 cat >conftest.$ac_ext <<_ACEOF
14148 /* confdefs.h. */
14149 _ACEOF
14150 cat confdefs.h >>conftest.$ac_ext
14151 cat >>conftest.$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14153 $ac_includes_default
14154 #include <$ac_header>
14155 _ACEOF
14156 rm -f conftest.$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158 (eval $ac_compile) 2>conftest.er1
14159 ac_status=$?
14160 grep -v '^ *+' conftest.er1 >conftest.err
14161 rm -f conftest.er1
14162 cat conftest.err >&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try='test -z "$ac_c_werror_flag"
14166 || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14169 ac_status=$?
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14175 ac_status=$?
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 ac_header_compiler=yes
14179 else
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.$ac_ext >&5
14182
14183 ac_header_compiler=no
14184 fi
14185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14187 echo "${ECHO_T}$ac_header_compiler" >&6
14188
14189 # Is the header present?
14190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198 #include <$ac_header>
14199 _ACEOF
14200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14202 ac_status=$?
14203 grep -v '^ *+' conftest.er1 >conftest.err
14204 rm -f conftest.er1
14205 cat conftest.err >&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); } >/dev/null; then
14208 if test -s conftest.err; then
14209 ac_cpp_err=$ac_c_preproc_warn_flag
14210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14211 else
14212 ac_cpp_err=
14213 fi
14214 else
14215 ac_cpp_err=yes
14216 fi
14217 if test -z "$ac_cpp_err"; then
14218 ac_header_preproc=yes
14219 else
14220 echo "$as_me: failed program was:" >&5
14221 sed 's/^/| /' conftest.$ac_ext >&5
14222
14223 ac_header_preproc=no
14224 fi
14225 rm -f conftest.err conftest.$ac_ext
14226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14227 echo "${ECHO_T}$ac_header_preproc" >&6
14228
14229 # So? What about this header?
14230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14231 yes:no: )
14232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14236 ac_header_preproc=yes
14237 ;;
14238 no:yes:* )
14239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14251 (
14252 cat <<\_ASBOX
14253 ## ----------------------------------------- ##
14254 ## Report this to wx-dev@lists.wxwidgets.org ##
14255 ## ----------------------------------------- ##
14256 _ASBOX
14257 ) |
14258 sed "s/^/$as_me: WARNING: /" >&2
14259 ;;
14260 esac
14261 echo "$as_me:$LINENO: checking for $ac_header" >&5
14262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14264 echo $ECHO_N "(cached) $ECHO_C" >&6
14265 else
14266 eval "$as_ac_Header=\$ac_header_preproc"
14267 fi
14268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14270
14271 fi
14272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14273 cat >>confdefs.h <<_ACEOF
14274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14275 _ACEOF
14276
14277 fi
14278
14279 done
14280
14281
14282 for ac_header in X11/XKBlib.h
14283 do
14284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14285 echo "$as_me:$LINENO: checking for $ac_header" >&5
14286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14288 echo $ECHO_N "(cached) $ECHO_C" >&6
14289 else
14290 cat >conftest.$ac_ext <<_ACEOF
14291 /* confdefs.h. */
14292 _ACEOF
14293 cat confdefs.h >>conftest.$ac_ext
14294 cat >>conftest.$ac_ext <<_ACEOF
14295 /* end confdefs.h. */
14296
14297 #if HAVE_X11_XLIB_H
14298 #include <X11/Xlib.h>
14299 #endif
14300
14301
14302 #include <$ac_header>
14303 _ACEOF
14304 rm -f conftest.$ac_objext
14305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14306 (eval $ac_compile) 2>conftest.er1
14307 ac_status=$?
14308 grep -v '^ *+' conftest.er1 >conftest.err
14309 rm -f conftest.er1
14310 cat conftest.err >&5
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } &&
14313 { ac_try='test -z "$ac_c_werror_flag"
14314 || test ! -s conftest.err'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14317 ac_status=$?
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; } &&
14320 { ac_try='test -s conftest.$ac_objext'
14321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14322 (eval $ac_try) 2>&5
14323 ac_status=$?
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; }; then
14326 eval "$as_ac_Header=yes"
14327 else
14328 echo "$as_me: failed program was:" >&5
14329 sed 's/^/| /' conftest.$ac_ext >&5
14330
14331 eval "$as_ac_Header=no"
14332 fi
14333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14334 fi
14335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14338 cat >>confdefs.h <<_ACEOF
14339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14340 _ACEOF
14341
14342 fi
14343
14344 done
14345
14346 fi
14347 fi
14348
14349
14350 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14351 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14352 if test "${ac_cv_c_const+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 cat >conftest.$ac_ext <<_ACEOF
14356 /* confdefs.h. */
14357 _ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361
14362 int
14363 main ()
14364 {
14365 /* FIXME: Include the comments suggested by Paul. */
14366 #ifndef __cplusplus
14367 /* Ultrix mips cc rejects this. */
14368 typedef int charset[2];
14369 const charset x;
14370 /* SunOS 4.1.1 cc rejects this. */
14371 char const *const *ccp;
14372 char **p;
14373 /* NEC SVR4.0.2 mips cc rejects this. */
14374 struct point {int x, y;};
14375 static struct point const zero = {0,0};
14376 /* AIX XL C 1.02.0.0 rejects this.
14377 It does not let you subtract one const X* pointer from another in
14378 an arm of an if-expression whose if-part is not a constant
14379 expression */
14380 const char *g = "string";
14381 ccp = &g + (g ? g-g : 0);
14382 /* HPUX 7.0 cc rejects these. */
14383 ++ccp;
14384 p = (char**) ccp;
14385 ccp = (char const *const *) p;
14386 { /* SCO 3.2v4 cc rejects this. */
14387 char *t;
14388 char const *s = 0 ? (char *) 0 : (char const *) 0;
14389
14390 *t++ = 0;
14391 }
14392 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14393 int x[] = {25, 17};
14394 const int *foo = &x[0];
14395 ++foo;
14396 }
14397 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14398 typedef const int *iptr;
14399 iptr p = 0;
14400 ++p;
14401 }
14402 { /* AIX XL C 1.02.0.0 rejects this saying
14403 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14404 struct s { int j; const int *ap[3]; };
14405 struct s *b; b->j = 5;
14406 }
14407 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14408 const int foo = 10;
14409 }
14410 #endif
14411
14412 ;
14413 return 0;
14414 }
14415 _ACEOF
14416 rm -f conftest.$ac_objext
14417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14418 (eval $ac_compile) 2>conftest.er1
14419 ac_status=$?
14420 grep -v '^ *+' conftest.er1 >conftest.err
14421 rm -f conftest.er1
14422 cat conftest.err >&5
14423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14424 (exit $ac_status); } &&
14425 { ac_try='test -z "$ac_c_werror_flag"
14426 || test ! -s conftest.err'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; } &&
14432 { ac_try='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 ac_cv_c_const=yes
14439 else
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.$ac_ext >&5
14442
14443 ac_cv_c_const=no
14444 fi
14445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14446 fi
14447 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14448 echo "${ECHO_T}$ac_cv_c_const" >&6
14449 if test $ac_cv_c_const = no; then
14450
14451 cat >>confdefs.h <<\_ACEOF
14452 #define const
14453 _ACEOF
14454
14455 fi
14456
14457 echo "$as_me:$LINENO: checking for inline" >&5
14458 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14459 if test "${ac_cv_c_inline+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14461 else
14462 ac_cv_c_inline=no
14463 for ac_kw in inline __inline__ __inline; do
14464 cat >conftest.$ac_ext <<_ACEOF
14465 /* confdefs.h. */
14466 _ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470 #ifndef __cplusplus
14471 typedef int foo_t;
14472 static $ac_kw foo_t static_foo () {return 0; }
14473 $ac_kw foo_t foo () {return 0; }
14474 #endif
14475
14476 _ACEOF
14477 rm -f conftest.$ac_objext
14478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14479 (eval $ac_compile) 2>conftest.er1
14480 ac_status=$?
14481 grep -v '^ *+' conftest.er1 >conftest.err
14482 rm -f conftest.er1
14483 cat conftest.err >&5
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try='test -z "$ac_c_werror_flag"
14487 || test ! -s conftest.err'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; } &&
14493 { ac_try='test -s conftest.$ac_objext'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14496 ac_status=$?
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then
14499 ac_cv_c_inline=$ac_kw; break
14500 else
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.$ac_ext >&5
14503
14504 fi
14505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14506 done
14507
14508 fi
14509 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14510 echo "${ECHO_T}$ac_cv_c_inline" >&6
14511
14512
14513 case $ac_cv_c_inline in
14514 inline | yes) ;;
14515 *)
14516 case $ac_cv_c_inline in
14517 no) ac_val=;;
14518 *) ac_val=$ac_cv_c_inline;;
14519 esac
14520 cat >>confdefs.h <<_ACEOF
14521 #ifndef __cplusplus
14522 #define inline $ac_val
14523 #endif
14524 _ACEOF
14525 ;;
14526 esac
14527
14528
14529 echo "$as_me:$LINENO: checking for char" >&5
14530 echo $ECHO_N "checking for char... $ECHO_C" >&6
14531 if test "${ac_cv_type_char+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 else
14534 cat >conftest.$ac_ext <<_ACEOF
14535 /* confdefs.h. */
14536 _ACEOF
14537 cat confdefs.h >>conftest.$ac_ext
14538 cat >>conftest.$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 $ac_includes_default
14541 int
14542 main ()
14543 {
14544 if ((char *) 0)
14545 return 0;
14546 if (sizeof (char))
14547 return 0;
14548 ;
14549 return 0;
14550 }
14551 _ACEOF
14552 rm -f conftest.$ac_objext
14553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14554 (eval $ac_compile) 2>conftest.er1
14555 ac_status=$?
14556 grep -v '^ *+' conftest.er1 >conftest.err
14557 rm -f conftest.er1
14558 cat conftest.err >&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); } &&
14561 { ac_try='test -z "$ac_c_werror_flag"
14562 || test ! -s conftest.err'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; } &&
14568 { ac_try='test -s conftest.$ac_objext'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; }; then
14574 ac_cv_type_char=yes
14575 else
14576 echo "$as_me: failed program was:" >&5
14577 sed 's/^/| /' conftest.$ac_ext >&5
14578
14579 ac_cv_type_char=no
14580 fi
14581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14582 fi
14583 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14584 echo "${ECHO_T}$ac_cv_type_char" >&6
14585
14586 echo "$as_me:$LINENO: checking size of char" >&5
14587 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14588 if test "${ac_cv_sizeof_char+set}" = set; then
14589 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 else
14591 if test "$ac_cv_type_char" = yes; then
14592 # The cast to unsigned long works around a bug in the HP C Compiler
14593 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14594 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14595 # This bug is HP SR number 8606223364.
14596 if test "$cross_compiling" = yes; then
14597 # Depending upon the size, compute the lo and hi bounds.
14598 cat >conftest.$ac_ext <<_ACEOF
14599 /* confdefs.h. */
14600 _ACEOF
14601 cat confdefs.h >>conftest.$ac_ext
14602 cat >>conftest.$ac_ext <<_ACEOF
14603 /* end confdefs.h. */
14604 $ac_includes_default
14605 int
14606 main ()
14607 {
14608 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14609 test_array [0] = 0
14610
14611 ;
14612 return 0;
14613 }
14614 _ACEOF
14615 rm -f conftest.$ac_objext
14616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14617 (eval $ac_compile) 2>conftest.er1
14618 ac_status=$?
14619 grep -v '^ *+' conftest.er1 >conftest.err
14620 rm -f conftest.er1
14621 cat conftest.err >&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } &&
14624 { ac_try='test -z "$ac_c_werror_flag"
14625 || test ! -s conftest.err'
14626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14627 (eval $ac_try) 2>&5
14628 ac_status=$?
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; } &&
14631 { ac_try='test -s conftest.$ac_objext'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14634 ac_status=$?
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; }; then
14637 ac_lo=0 ac_mid=0
14638 while :; do
14639 cat >conftest.$ac_ext <<_ACEOF
14640 /* confdefs.h. */
14641 _ACEOF
14642 cat confdefs.h >>conftest.$ac_ext
14643 cat >>conftest.$ac_ext <<_ACEOF
14644 /* end confdefs.h. */
14645 $ac_includes_default
14646 int
14647 main ()
14648 {
14649 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14650 test_array [0] = 0
14651
14652 ;
14653 return 0;
14654 }
14655 _ACEOF
14656 rm -f conftest.$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658 (eval $ac_compile) 2>conftest.er1
14659 ac_status=$?
14660 grep -v '^ *+' conftest.er1 >conftest.err
14661 rm -f conftest.er1
14662 cat conftest.err >&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } &&
14665 { ac_try='test -z "$ac_c_werror_flag"
14666 || test ! -s conftest.err'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try='test -s conftest.$ac_objext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14675 ac_status=$?
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_hi=$ac_mid; break
14679 else
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14682
14683 ac_lo=`expr $ac_mid + 1`
14684 if test $ac_lo -le $ac_mid; then
14685 ac_lo= ac_hi=
14686 break
14687 fi
14688 ac_mid=`expr 2 '*' $ac_mid + 1`
14689 fi
14690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14691 done
14692 else
14693 echo "$as_me: failed program was:" >&5
14694 sed 's/^/| /' conftest.$ac_ext >&5
14695
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))) < 0)];
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"
14723 || test ! -s conftest.err'
14724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14725 (eval $ac_try) 2>&5
14726 ac_status=$?
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); }; } &&
14729 { ac_try='test -s conftest.$ac_objext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14732 ac_status=$?
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 ac_hi=-1 ac_mid=-1
14736 while :; do
14737 cat >conftest.$ac_ext <<_ACEOF
14738 /* confdefs.h. */
14739 _ACEOF
14740 cat confdefs.h >>conftest.$ac_ext
14741 cat >>conftest.$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14743 $ac_includes_default
14744 int
14745 main ()
14746 {
14747 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14748 test_array [0] = 0
14749
14750 ;
14751 return 0;
14752 }
14753 _ACEOF
14754 rm -f conftest.$ac_objext
14755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14756 (eval $ac_compile) 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } &&
14763 { ac_try='test -z "$ac_c_werror_flag"
14764 || test ! -s conftest.err'
14765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766 (eval $ac_try) 2>&5
14767 ac_status=$?
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); }; } &&
14770 { ac_try='test -s conftest.$ac_objext'
14771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772 (eval $ac_try) 2>&5
14773 ac_status=$?
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); }; }; then
14776 ac_lo=$ac_mid; break
14777 else
14778 echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.$ac_ext >&5
14780
14781 ac_hi=`expr '(' $ac_mid ')' - 1`
14782 if test $ac_mid -le $ac_hi; then
14783 ac_lo= ac_hi=
14784 break
14785 fi
14786 ac_mid=`expr 2 '*' $ac_mid`
14787 fi
14788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14789 done
14790 else
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.$ac_ext >&5
14793
14794 ac_lo= ac_hi=
14795 fi
14796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14797 fi
14798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14799 # Binary search between lo and hi bounds.
14800 while test "x$ac_lo" != "x$ac_hi"; do
14801 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14802 cat >conftest.$ac_ext <<_ACEOF
14803 /* confdefs.h. */
14804 _ACEOF
14805 cat confdefs.h >>conftest.$ac_ext
14806 cat >>conftest.$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 $ac_includes_default
14809 int
14810 main ()
14811 {
14812 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14813 test_array [0] = 0
14814
14815 ;
14816 return 0;
14817 }
14818 _ACEOF
14819 rm -f conftest.$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>conftest.er1
14822 ac_status=$?
14823 grep -v '^ *+' conftest.er1 >conftest.err
14824 rm -f conftest.er1
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try='test -z "$ac_c_werror_flag"
14829 || test ! -s conftest.err'
14830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14831 (eval $ac_try) 2>&5
14832 ac_status=$?
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; } &&
14835 { ac_try='test -s conftest.$ac_objext'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14838 ac_status=$?
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; }; then
14841 ac_hi=$ac_mid
14842 else
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.$ac_ext >&5
14845
14846 ac_lo=`expr '(' $ac_mid ')' + 1`
14847 fi
14848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14849 done
14850 case $ac_lo in
14851 ?*) ac_cv_sizeof_char=$ac_lo;;
14852 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14853 See \`config.log' for more details." >&5
14854 echo "$as_me: error: cannot compute sizeof (char), 77
14855 See \`config.log' for more details." >&2;}
14856 { (exit 1); exit 1; }; } ;;
14857 esac
14858 else
14859 if test "$cross_compiling" = yes; then
14860 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14861 See \`config.log' for more details." >&5
14862 echo "$as_me: error: cannot run test program while cross compiling
14863 See \`config.log' for more details." >&2;}
14864 { (exit 1); exit 1; }; }
14865 else
14866 cat >conftest.$ac_ext <<_ACEOF
14867 /* confdefs.h. */
14868 _ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 $ac_includes_default
14873 long longval () { return (long) (sizeof (char)); }
14874 unsigned long ulongval () { return (long) (sizeof (char)); }
14875 #include <stdio.h>
14876 #include <stdlib.h>
14877 int
14878 main ()
14879 {
14880
14881 FILE *f = fopen ("conftest.val", "w");
14882 if (! f)
14883 exit (1);
14884 if (((long) (sizeof (char))) < 0)
14885 {
14886 long i = longval ();
14887 if (i != ((long) (sizeof (char))))
14888 exit (1);
14889 fprintf (f, "%ld\n", i);
14890 }
14891 else
14892 {
14893 unsigned long i = ulongval ();
14894 if (i != ((long) (sizeof (char))))
14895 exit (1);
14896 fprintf (f, "%lu\n", i);
14897 }
14898 exit (ferror (f) || fclose (f) != 0);
14899
14900 ;
14901 return 0;
14902 }
14903 _ACEOF
14904 rm -f conftest$ac_exeext
14905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14906 (eval $ac_link) 2>&5
14907 ac_status=$?
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911 (eval $ac_try) 2>&5
14912 ac_status=$?
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; }; then
14915 ac_cv_sizeof_char=`cat conftest.val`
14916 else
14917 echo "$as_me: program exited with status $ac_status" >&5
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14920
14921 ( exit $ac_status )
14922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14923 See \`config.log' for more details." >&5
14924 echo "$as_me: error: cannot compute sizeof (char), 77
14925 See \`config.log' for more details." >&2;}
14926 { (exit 1); exit 1; }; }
14927 fi
14928 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14929 fi
14930 fi
14931 rm -f conftest.val
14932 else
14933 ac_cv_sizeof_char=0
14934 fi
14935 fi
14936 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14937 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14938 cat >>confdefs.h <<_ACEOF
14939 #define SIZEOF_CHAR $ac_cv_sizeof_char
14940 _ACEOF
14941
14942
14943 echo "$as_me:$LINENO: checking for short" >&5
14944 echo $ECHO_N "checking for short... $ECHO_C" >&6
14945 if test "${ac_cv_type_short+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 cat >conftest.$ac_ext <<_ACEOF
14949 /* confdefs.h. */
14950 _ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 $ac_includes_default
14955 int
14956 main ()
14957 {
14958 if ((short *) 0)
14959 return 0;
14960 if (sizeof (short))
14961 return 0;
14962 ;
14963 return 0;
14964 }
14965 _ACEOF
14966 rm -f conftest.$ac_objext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14968 (eval $ac_compile) 2>conftest.er1
14969 ac_status=$?
14970 grep -v '^ *+' conftest.er1 >conftest.err
14971 rm -f conftest.er1
14972 cat conftest.err >&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } &&
14975 { ac_try='test -z "$ac_c_werror_flag"
14976 || test ! -s conftest.err'
14977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 (eval $ac_try) 2>&5
14979 ac_status=$?
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); }; } &&
14982 { ac_try='test -s conftest.$ac_objext'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14985 ac_status=$?
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; }; then
14988 ac_cv_type_short=yes
14989 else
14990 echo "$as_me: failed program was:" >&5
14991 sed 's/^/| /' conftest.$ac_ext >&5
14992
14993 ac_cv_type_short=no
14994 fi
14995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14996 fi
14997 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14998 echo "${ECHO_T}$ac_cv_type_short" >&6
14999
15000 echo "$as_me:$LINENO: checking size of short" >&5
15001 echo $ECHO_N "checking size of short... $ECHO_C" >&6
15002 if test "${ac_cv_sizeof_short+set}" = set; then
15003 echo $ECHO_N "(cached) $ECHO_C" >&6
15004 else
15005 if test "$ac_cv_type_short" = yes; then
15006 # The cast to unsigned long works around a bug in the HP C Compiler
15007 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15008 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15009 # This bug is HP SR number 8606223364.
15010 if test "$cross_compiling" = yes; then
15011 # Depending upon the size, compute the lo and hi bounds.
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15018 $ac_includes_default
15019 int
15020 main ()
15021 {
15022 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
15023 test_array [0] = 0
15024
15025 ;
15026 return 0;
15027 }
15028 _ACEOF
15029 rm -f conftest.$ac_objext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15031 (eval $ac_compile) 2>conftest.er1
15032 ac_status=$?
15033 grep -v '^ *+' conftest.er1 >conftest.err
15034 rm -f conftest.er1
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } &&
15038 { ac_try='test -z "$ac_c_werror_flag"
15039 || test ! -s conftest.err'
15040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15041 (eval $ac_try) 2>&5
15042 ac_status=$?
15043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15044 (exit $ac_status); }; } &&
15045 { ac_try='test -s conftest.$ac_objext'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; }; then
15051 ac_lo=0 ac_mid=0
15052 while :; do
15053 cat >conftest.$ac_ext <<_ACEOF
15054 /* confdefs.h. */
15055 _ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059 $ac_includes_default
15060 int
15061 main ()
15062 {
15063 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15064 test_array [0] = 0
15065
15066 ;
15067 return 0;
15068 }
15069 _ACEOF
15070 rm -f conftest.$ac_objext
15071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15072 (eval $ac_compile) 2>conftest.er1
15073 ac_status=$?
15074 grep -v '^ *+' conftest.er1 >conftest.err
15075 rm -f conftest.er1
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try='test -z "$ac_c_werror_flag"
15080 || test ! -s conftest.err'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15083 ac_status=$?
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; } &&
15086 { ac_try='test -s conftest.$ac_objext'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15089 ac_status=$?
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; }; then
15092 ac_hi=$ac_mid; break
15093 else
15094 echo "$as_me: failed program was:" >&5
15095 sed 's/^/| /' conftest.$ac_ext >&5
15096
15097 ac_lo=`expr $ac_mid + 1`
15098 if test $ac_lo -le $ac_mid; then
15099 ac_lo= ac_hi=
15100 break
15101 fi
15102 ac_mid=`expr 2 '*' $ac_mid + 1`
15103 fi
15104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15105 done
15106 else
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15109
15110 cat >conftest.$ac_ext <<_ACEOF
15111 /* confdefs.h. */
15112 _ACEOF
15113 cat confdefs.h >>conftest.$ac_ext
15114 cat >>conftest.$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 $ac_includes_default
15117 int
15118 main ()
15119 {
15120 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
15121 test_array [0] = 0
15122
15123 ;
15124 return 0;
15125 }
15126 _ACEOF
15127 rm -f conftest.$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129 (eval $ac_compile) 2>conftest.er1
15130 ac_status=$?
15131 grep -v '^ *+' conftest.er1 >conftest.err
15132 rm -f conftest.er1
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } &&
15136 { ac_try='test -z "$ac_c_werror_flag"
15137 || test ! -s conftest.err'
15138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139 (eval $ac_try) 2>&5
15140 ac_status=$?
15141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); }; } &&
15143 { ac_try='test -s conftest.$ac_objext'
15144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145 (eval $ac_try) 2>&5
15146 ac_status=$?
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; }; then
15149 ac_hi=-1 ac_mid=-1
15150 while :; do
15151 cat >conftest.$ac_ext <<_ACEOF
15152 /* confdefs.h. */
15153 _ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15157 $ac_includes_default
15158 int
15159 main ()
15160 {
15161 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
15162 test_array [0] = 0
15163
15164 ;
15165 return 0;
15166 }
15167 _ACEOF
15168 rm -f conftest.$ac_objext
15169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15170 (eval $ac_compile) 2>conftest.er1
15171 ac_status=$?
15172 grep -v '^ *+' conftest.er1 >conftest.err
15173 rm -f conftest.er1
15174 cat conftest.err >&5
15175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15176 (exit $ac_status); } &&
15177 { ac_try='test -z "$ac_c_werror_flag"
15178 || test ! -s conftest.err'
15179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15180 (eval $ac_try) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; } &&
15184 { ac_try='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15187 ac_status=$?
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_lo=$ac_mid; break
15191 else
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15194
15195 ac_hi=`expr '(' $ac_mid ')' - 1`
15196 if test $ac_mid -le $ac_hi; then
15197 ac_lo= ac_hi=
15198 break
15199 fi
15200 ac_mid=`expr 2 '*' $ac_mid`
15201 fi
15202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15203 done
15204 else
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.$ac_ext >&5
15207
15208 ac_lo= ac_hi=
15209 fi
15210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15211 fi
15212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15213 # Binary search between lo and hi bounds.
15214 while test "x$ac_lo" != "x$ac_hi"; do
15215 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15216 cat >conftest.$ac_ext <<_ACEOF
15217 /* confdefs.h. */
15218 _ACEOF
15219 cat confdefs.h >>conftest.$ac_ext
15220 cat >>conftest.$ac_ext <<_ACEOF
15221 /* end confdefs.h. */
15222 $ac_includes_default
15223 int
15224 main ()
15225 {
15226 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
15227 test_array [0] = 0
15228
15229 ;
15230 return 0;
15231 }
15232 _ACEOF
15233 rm -f conftest.$ac_objext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15235 (eval $ac_compile) 2>conftest.er1
15236 ac_status=$?
15237 grep -v '^ *+' conftest.er1 >conftest.err
15238 rm -f conftest.er1
15239 cat conftest.err >&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try='test -z "$ac_c_werror_flag"
15243 || test ! -s conftest.err'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; } &&
15249 { ac_try='test -s conftest.$ac_objext'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15252 ac_status=$?
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; }; then
15255 ac_hi=$ac_mid
15256 else
15257 echo "$as_me: failed program was:" >&5
15258 sed 's/^/| /' conftest.$ac_ext >&5
15259
15260 ac_lo=`expr '(' $ac_mid ')' + 1`
15261 fi
15262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15263 done
15264 case $ac_lo in
15265 ?*) ac_cv_sizeof_short=$ac_lo;;
15266 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15267 See \`config.log' for more details." >&5
15268 echo "$as_me: error: cannot compute sizeof (short), 77
15269 See \`config.log' for more details." >&2;}
15270 { (exit 1); exit 1; }; } ;;
15271 esac
15272 else
15273 if test "$cross_compiling" = yes; then
15274 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15275 See \`config.log' for more details." >&5
15276 echo "$as_me: error: cannot run test program while cross compiling
15277 See \`config.log' for more details." >&2;}
15278 { (exit 1); exit 1; }; }
15279 else
15280 cat >conftest.$ac_ext <<_ACEOF
15281 /* confdefs.h. */
15282 _ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286 $ac_includes_default
15287 long longval () { return (long) (sizeof (short)); }
15288 unsigned long ulongval () { return (long) (sizeof (short)); }
15289 #include <stdio.h>
15290 #include <stdlib.h>
15291 int
15292 main ()
15293 {
15294
15295 FILE *f = fopen ("conftest.val", "w");
15296 if (! f)
15297 exit (1);
15298 if (((long) (sizeof (short))) < 0)
15299 {
15300 long i = longval ();
15301 if (i != ((long) (sizeof (short))))
15302 exit (1);
15303 fprintf (f, "%ld\n", i);
15304 }
15305 else
15306 {
15307 unsigned long i = ulongval ();
15308 if (i != ((long) (sizeof (short))))
15309 exit (1);
15310 fprintf (f, "%lu\n", i);
15311 }
15312 exit (ferror (f) || fclose (f) != 0);
15313
15314 ;
15315 return 0;
15316 }
15317 _ACEOF
15318 rm -f conftest$ac_exeext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15320 (eval $ac_link) 2>&5
15321 ac_status=$?
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15325 (eval $ac_try) 2>&5
15326 ac_status=$?
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); }; }; then
15329 ac_cv_sizeof_short=`cat conftest.val`
15330 else
15331 echo "$as_me: program exited with status $ac_status" >&5
15332 echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.$ac_ext >&5
15334
15335 ( exit $ac_status )
15336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15337 See \`config.log' for more details." >&5
15338 echo "$as_me: error: cannot compute sizeof (short), 77
15339 See \`config.log' for more details." >&2;}
15340 { (exit 1); exit 1; }; }
15341 fi
15342 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15343 fi
15344 fi
15345 rm -f conftest.val
15346 else
15347 ac_cv_sizeof_short=0
15348 fi
15349 fi
15350 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15351 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15352 cat >>confdefs.h <<_ACEOF
15353 #define SIZEOF_SHORT $ac_cv_sizeof_short
15354 _ACEOF
15355
15356
15357 echo "$as_me:$LINENO: checking for void *" >&5
15358 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15359 if test "${ac_cv_type_void_p+set}" = set; then
15360 echo $ECHO_N "(cached) $ECHO_C" >&6
15361 else
15362 cat >conftest.$ac_ext <<_ACEOF
15363 /* confdefs.h. */
15364 _ACEOF
15365 cat confdefs.h >>conftest.$ac_ext
15366 cat >>conftest.$ac_ext <<_ACEOF
15367 /* end confdefs.h. */
15368 $ac_includes_default
15369 int
15370 main ()
15371 {
15372 if ((void * *) 0)
15373 return 0;
15374 if (sizeof (void *))
15375 return 0;
15376 ;
15377 return 0;
15378 }
15379 _ACEOF
15380 rm -f conftest.$ac_objext
15381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15382 (eval $ac_compile) 2>conftest.er1
15383 ac_status=$?
15384 grep -v '^ *+' conftest.er1 >conftest.err
15385 rm -f conftest.er1
15386 cat conftest.err >&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); } &&
15389 { ac_try='test -z "$ac_c_werror_flag"
15390 || test ! -s conftest.err'
15391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392 (eval $ac_try) 2>&5
15393 ac_status=$?
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); }; } &&
15396 { ac_try='test -s conftest.$ac_objext'
15397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398 (eval $ac_try) 2>&5
15399 ac_status=$?
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); }; }; then
15402 ac_cv_type_void_p=yes
15403 else
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15406
15407 ac_cv_type_void_p=no
15408 fi
15409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15410 fi
15411 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15412 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15413
15414 echo "$as_me:$LINENO: checking size of void *" >&5
15415 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15416 if test "${ac_cv_sizeof_void_p+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 else
15419 if test "$ac_cv_type_void_p" = yes; then
15420 # The cast to unsigned long works around a bug in the HP C Compiler
15421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15423 # This bug is HP SR number 8606223364.
15424 if test "$cross_compiling" = yes; then
15425 # Depending upon the size, compute the lo and hi bounds.
15426 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15432 $ac_includes_default
15433 int
15434 main ()
15435 {
15436 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15437 test_array [0] = 0
15438
15439 ;
15440 return 0;
15441 }
15442 _ACEOF
15443 rm -f conftest.$ac_objext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15445 (eval $ac_compile) 2>conftest.er1
15446 ac_status=$?
15447 grep -v '^ *+' conftest.er1 >conftest.err
15448 rm -f conftest.er1
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try='test -z "$ac_c_werror_flag"
15453 || test ! -s conftest.err'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15456 ac_status=$?
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; } &&
15459 { ac_try='test -s conftest.$ac_objext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15462 ac_status=$?
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15465 ac_lo=0 ac_mid=0
15466 while :; do
15467 cat >conftest.$ac_ext <<_ACEOF
15468 /* confdefs.h. */
15469 _ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473 $ac_includes_default
15474 int
15475 main ()
15476 {
15477 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15478 test_array [0] = 0
15479
15480 ;
15481 return 0;
15482 }
15483 _ACEOF
15484 rm -f conftest.$ac_objext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 (eval $ac_compile) 2>conftest.er1
15487 ac_status=$?
15488 grep -v '^ *+' conftest.er1 >conftest.err
15489 rm -f conftest.er1
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try='test -z "$ac_c_werror_flag"
15494 || 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=$ac_mid; break
15507 else
15508 echo "$as_me: failed program was:" >&5
15509 sed 's/^/| /' conftest.$ac_ext >&5
15510
15511 ac_lo=`expr $ac_mid + 1`
15512 if test $ac_lo -le $ac_mid; then
15513 ac_lo= ac_hi=
15514 break
15515 fi
15516 ac_mid=`expr 2 '*' $ac_mid + 1`
15517 fi
15518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15519 done
15520 else
15521 echo "$as_me: failed program was:" >&5
15522 sed 's/^/| /' conftest.$ac_ext >&5
15523
15524 cat >conftest.$ac_ext <<_ACEOF
15525 /* confdefs.h. */
15526 _ACEOF
15527 cat confdefs.h >>conftest.$ac_ext
15528 cat >>conftest.$ac_ext <<_ACEOF
15529 /* end confdefs.h. */
15530 $ac_includes_default
15531 int
15532 main ()
15533 {
15534 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15535 test_array [0] = 0
15536
15537 ;
15538 return 0;
15539 }
15540 _ACEOF
15541 rm -f conftest.$ac_objext
15542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15543 (eval $ac_compile) 2>conftest.er1
15544 ac_status=$?
15545 grep -v '^ *+' conftest.er1 >conftest.err
15546 rm -f conftest.er1
15547 cat conftest.err >&5
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try='test -z "$ac_c_werror_flag"
15551 || test ! -s conftest.err'
15552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15553 (eval $ac_try) 2>&5
15554 ac_status=$?
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); }; } &&
15557 { ac_try='test -s conftest.$ac_objext'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15560 ac_status=$?
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; }; then
15563 ac_hi=-1 ac_mid=-1
15564 while :; do
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h. */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h. */
15571 $ac_includes_default
15572 int
15573 main ()
15574 {
15575 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15576 test_array [0] = 0
15577
15578 ;
15579 return 0;
15580 }
15581 _ACEOF
15582 rm -f conftest.$ac_objext
15583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15584 (eval $ac_compile) 2>conftest.er1
15585 ac_status=$?
15586 grep -v '^ *+' conftest.er1 >conftest.err
15587 rm -f conftest.er1
15588 cat conftest.err >&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try='test -z "$ac_c_werror_flag"
15592 || test ! -s conftest.err'
15593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15594 (eval $ac_try) 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; } &&
15598 { ac_try='test -s conftest.$ac_objext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15604 ac_lo=$ac_mid; break
15605 else
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5
15608
15609 ac_hi=`expr '(' $ac_mid ')' - 1`
15610 if test $ac_mid -le $ac_hi; then
15611 ac_lo= ac_hi=
15612 break
15613 fi
15614 ac_mid=`expr 2 '*' $ac_mid`
15615 fi
15616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15617 done
15618 else
15619 echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.$ac_ext >&5
15621
15622 ac_lo= ac_hi=
15623 fi
15624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15625 fi
15626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15627 # Binary search between lo and hi bounds.
15628 while test "x$ac_lo" != "x$ac_hi"; do
15629 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15630 cat >conftest.$ac_ext <<_ACEOF
15631 /* confdefs.h. */
15632 _ACEOF
15633 cat confdefs.h >>conftest.$ac_ext
15634 cat >>conftest.$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 $ac_includes_default
15637 int
15638 main ()
15639 {
15640 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15641 test_array [0] = 0
15642
15643 ;
15644 return 0;
15645 }
15646 _ACEOF
15647 rm -f conftest.$ac_objext
15648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15649 (eval $ac_compile) 2>conftest.er1
15650 ac_status=$?
15651 grep -v '^ *+' conftest.er1 >conftest.err
15652 rm -f conftest.er1
15653 cat conftest.err >&5
15654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15655 (exit $ac_status); } &&
15656 { ac_try='test -z "$ac_c_werror_flag"
15657 || test ! -s conftest.err'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15660 ac_status=$?
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; } &&
15663 { ac_try='test -s conftest.$ac_objext'
15664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15666 ac_status=$?
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }; }; then
15669 ac_hi=$ac_mid
15670 else
15671 echo "$as_me: failed program was:" >&5
15672 sed 's/^/| /' conftest.$ac_ext >&5
15673
15674 ac_lo=`expr '(' $ac_mid ')' + 1`
15675 fi
15676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15677 done
15678 case $ac_lo in
15679 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15680 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15681 See \`config.log' for more details." >&5
15682 echo "$as_me: error: cannot compute sizeof (void *), 77
15683 See \`config.log' for more details." >&2;}
15684 { (exit 1); exit 1; }; } ;;
15685 esac
15686 else
15687 if test "$cross_compiling" = yes; then
15688 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15689 See \`config.log' for more details." >&5
15690 echo "$as_me: error: cannot run test program while cross compiling
15691 See \`config.log' for more details." >&2;}
15692 { (exit 1); exit 1; }; }
15693 else
15694 cat >conftest.$ac_ext <<_ACEOF
15695 /* confdefs.h. */
15696 _ACEOF
15697 cat confdefs.h >>conftest.$ac_ext
15698 cat >>conftest.$ac_ext <<_ACEOF
15699 /* end confdefs.h. */
15700 $ac_includes_default
15701 long longval () { return (long) (sizeof (void *)); }
15702 unsigned long ulongval () { return (long) (sizeof (void *)); }
15703 #include <stdio.h>
15704 #include <stdlib.h>
15705 int
15706 main ()
15707 {
15708
15709 FILE *f = fopen ("conftest.val", "w");
15710 if (! f)
15711 exit (1);
15712 if (((long) (sizeof (void *))) < 0)
15713 {
15714 long i = longval ();
15715 if (i != ((long) (sizeof (void *))))
15716 exit (1);
15717 fprintf (f, "%ld\n", i);
15718 }
15719 else
15720 {
15721 unsigned long i = ulongval ();
15722 if (i != ((long) (sizeof (void *))))
15723 exit (1);
15724 fprintf (f, "%lu\n", i);
15725 }
15726 exit (ferror (f) || fclose (f) != 0);
15727
15728 ;
15729 return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest$ac_exeext
15733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15734 (eval $ac_link) 2>&5
15735 ac_status=$?
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15740 ac_status=$?
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; }; then
15743 ac_cv_sizeof_void_p=`cat conftest.val`
15744 else
15745 echo "$as_me: program exited with status $ac_status" >&5
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15748
15749 ( exit $ac_status )
15750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15751 See \`config.log' for more details." >&5
15752 echo "$as_me: error: cannot compute sizeof (void *), 77
15753 See \`config.log' for more details." >&2;}
15754 { (exit 1); exit 1; }; }
15755 fi
15756 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15757 fi
15758 fi
15759 rm -f conftest.val
15760 else
15761 ac_cv_sizeof_void_p=0
15762 fi
15763 fi
15764 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15765 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15766 cat >>confdefs.h <<_ACEOF
15767 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15768 _ACEOF
15769
15770
15771 echo "$as_me:$LINENO: checking for int" >&5
15772 echo $ECHO_N "checking for int... $ECHO_C" >&6
15773 if test "${ac_cv_type_int+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15775 else
15776 cat >conftest.$ac_ext <<_ACEOF
15777 /* confdefs.h. */
15778 _ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15782 $ac_includes_default
15783 int
15784 main ()
15785 {
15786 if ((int *) 0)
15787 return 0;
15788 if (sizeof (int))
15789 return 0;
15790 ;
15791 return 0;
15792 }
15793 _ACEOF
15794 rm -f conftest.$ac_objext
15795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15796 (eval $ac_compile) 2>conftest.er1
15797 ac_status=$?
15798 grep -v '^ *+' conftest.er1 >conftest.err
15799 rm -f conftest.er1
15800 cat conftest.err >&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); } &&
15803 { ac_try='test -z "$ac_c_werror_flag"
15804 || 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_cv_type_int=yes
15817 else
15818 echo "$as_me: failed program was:" >&5
15819 sed 's/^/| /' conftest.$ac_ext >&5
15820
15821 ac_cv_type_int=no
15822 fi
15823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15824 fi
15825 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15826 echo "${ECHO_T}$ac_cv_type_int" >&6
15827
15828 echo "$as_me:$LINENO: checking size of int" >&5
15829 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15830 if test "${ac_cv_sizeof_int+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 if test "$ac_cv_type_int" = yes; then
15834 # The cast to unsigned long works around a bug in the HP C Compiler
15835 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15836 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15837 # This bug is HP SR number 8606223364.
15838 if test "$cross_compiling" = yes; then
15839 # Depending upon the size, compute the lo and hi bounds.
15840 cat >conftest.$ac_ext <<_ACEOF
15841 /* confdefs.h. */
15842 _ACEOF
15843 cat confdefs.h >>conftest.$ac_ext
15844 cat >>conftest.$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846 $ac_includes_default
15847 int
15848 main ()
15849 {
15850 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15851 test_array [0] = 0
15852
15853 ;
15854 return 0;
15855 }
15856 _ACEOF
15857 rm -f conftest.$ac_objext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15859 (eval $ac_compile) 2>conftest.er1
15860 ac_status=$?
15861 grep -v '^ *+' conftest.er1 >conftest.err
15862 rm -f conftest.er1
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15876 ac_status=$?
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 ac_lo=0 ac_mid=0
15880 while :; do
15881 cat >conftest.$ac_ext <<_ACEOF
15882 /* confdefs.h. */
15883 _ACEOF
15884 cat confdefs.h >>conftest.$ac_ext
15885 cat >>conftest.$ac_ext <<_ACEOF
15886 /* end confdefs.h. */
15887 $ac_includes_default
15888 int
15889 main ()
15890 {
15891 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15892 test_array [0] = 0
15893
15894 ;
15895 return 0;
15896 }
15897 _ACEOF
15898 rm -f conftest.$ac_objext
15899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15900 (eval $ac_compile) 2>conftest.er1
15901 ac_status=$?
15902 grep -v '^ *+' conftest.er1 >conftest.err
15903 rm -f conftest.er1
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } &&
15907 { ac_try='test -z "$ac_c_werror_flag"
15908 || test ! -s conftest.err'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15911 ac_status=$?
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; } &&
15914 { ac_try='test -s conftest.$ac_objext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15917 ac_status=$?
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 ac_hi=$ac_mid; break
15921 else
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15924
15925 ac_lo=`expr $ac_mid + 1`
15926 if test $ac_lo -le $ac_mid; then
15927 ac_lo= ac_hi=
15928 break
15929 fi
15930 ac_mid=`expr 2 '*' $ac_mid + 1`
15931 fi
15932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15933 done
15934 else
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15937
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 $ac_includes_default
15945 int
15946 main ()
15947 {
15948 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15949 test_array [0] = 0
15950
15951 ;
15952 return 0;
15953 }
15954 _ACEOF
15955 rm -f conftest.$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>conftest.er1
15958 ac_status=$?
15959 grep -v '^ *+' conftest.er1 >conftest.err
15960 rm -f conftest.er1
15961 cat conftest.err >&5
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); } &&
15964 { ac_try='test -z "$ac_c_werror_flag"
15965 || test ! -s conftest.err'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15968 ac_status=$?
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; } &&
15971 { ac_try='test -s conftest.$ac_objext'
15972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15973 (eval $ac_try) 2>&5
15974 ac_status=$?
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); }; }; then
15977 ac_hi=-1 ac_mid=-1
15978 while :; do
15979 cat >conftest.$ac_ext <<_ACEOF
15980 /* confdefs.h. */
15981 _ACEOF
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h. */
15985 $ac_includes_default
15986 int
15987 main ()
15988 {
15989 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15990 test_array [0] = 0
15991
15992 ;
15993 return 0;
15994 }
15995 _ACEOF
15996 rm -f conftest.$ac_objext
15997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15998 (eval $ac_compile) 2>conftest.er1
15999 ac_status=$?
16000 grep -v '^ *+' conftest.er1 >conftest.err
16001 rm -f conftest.er1
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } &&
16005 { ac_try='test -z "$ac_c_werror_flag"
16006 || test ! -s conftest.err'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16009 ac_status=$?
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; } &&
16012 { ac_try='test -s conftest.$ac_objext'
16013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16014 (eval $ac_try) 2>&5
16015 ac_status=$?
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16017 (exit $ac_status); }; }; then
16018 ac_lo=$ac_mid; break
16019 else
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16022
16023 ac_hi=`expr '(' $ac_mid ')' - 1`
16024 if test $ac_mid -le $ac_hi; then
16025 ac_lo= ac_hi=
16026 break
16027 fi
16028 ac_mid=`expr 2 '*' $ac_mid`
16029 fi
16030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16031 done
16032 else
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.$ac_ext >&5
16035
16036 ac_lo= ac_hi=
16037 fi
16038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16039 fi
16040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16041 # Binary search between lo and hi bounds.
16042 while test "x$ac_lo" != "x$ac_hi"; do
16043 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16044 cat >conftest.$ac_ext <<_ACEOF
16045 /* confdefs.h. */
16046 _ACEOF
16047 cat confdefs.h >>conftest.$ac_ext
16048 cat >>conftest.$ac_ext <<_ACEOF
16049 /* end confdefs.h. */
16050 $ac_includes_default
16051 int
16052 main ()
16053 {
16054 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16055 test_array [0] = 0
16056
16057 ;
16058 return 0;
16059 }
16060 _ACEOF
16061 rm -f conftest.$ac_objext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16063 (eval $ac_compile) 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try='test -z "$ac_c_werror_flag"
16071 || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try='test -s conftest.$ac_objext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 ac_hi=$ac_mid
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 ac_lo=`expr '(' $ac_mid ')' + 1`
16089 fi
16090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16091 done
16092 case $ac_lo in
16093 ?*) ac_cv_sizeof_int=$ac_lo;;
16094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16095 See \`config.log' for more details." >&5
16096 echo "$as_me: error: cannot compute sizeof (int), 77
16097 See \`config.log' for more details." >&2;}
16098 { (exit 1); exit 1; }; } ;;
16099 esac
16100 else
16101 if test "$cross_compiling" = yes; then
16102 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16103 See \`config.log' for more details." >&5
16104 echo "$as_me: error: cannot run test program while cross compiling
16105 See \`config.log' for more details." >&2;}
16106 { (exit 1); exit 1; }; }
16107 else
16108 cat >conftest.$ac_ext <<_ACEOF
16109 /* confdefs.h. */
16110 _ACEOF
16111 cat confdefs.h >>conftest.$ac_ext
16112 cat >>conftest.$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16114 $ac_includes_default
16115 long longval () { return (long) (sizeof (int)); }
16116 unsigned long ulongval () { return (long) (sizeof (int)); }
16117 #include <stdio.h>
16118 #include <stdlib.h>
16119 int
16120 main ()
16121 {
16122
16123 FILE *f = fopen ("conftest.val", "w");
16124 if (! f)
16125 exit (1);
16126 if (((long) (sizeof (int))) < 0)
16127 {
16128 long i = longval ();
16129 if (i != ((long) (sizeof (int))))
16130 exit (1);
16131 fprintf (f, "%ld\n", i);
16132 }
16133 else
16134 {
16135 unsigned long i = ulongval ();
16136 if (i != ((long) (sizeof (int))))
16137 exit (1);
16138 fprintf (f, "%lu\n", i);
16139 }
16140 exit (ferror (f) || fclose (f) != 0);
16141
16142 ;
16143 return 0;
16144 }
16145 _ACEOF
16146 rm -f conftest$ac_exeext
16147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16148 (eval $ac_link) 2>&5
16149 ac_status=$?
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16153 (eval $ac_try) 2>&5
16154 ac_status=$?
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; }; then
16157 ac_cv_sizeof_int=`cat conftest.val`
16158 else
16159 echo "$as_me: program exited with status $ac_status" >&5
16160 echo "$as_me: failed program was:" >&5
16161 sed 's/^/| /' conftest.$ac_ext >&5
16162
16163 ( exit $ac_status )
16164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16165 See \`config.log' for more details." >&5
16166 echo "$as_me: error: cannot compute sizeof (int), 77
16167 See \`config.log' for more details." >&2;}
16168 { (exit 1); exit 1; }; }
16169 fi
16170 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16171 fi
16172 fi
16173 rm -f conftest.val
16174 else
16175 ac_cv_sizeof_int=0
16176 fi
16177 fi
16178 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16179 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16180 cat >>confdefs.h <<_ACEOF
16181 #define SIZEOF_INT $ac_cv_sizeof_int
16182 _ACEOF
16183
16184
16185 echo "$as_me:$LINENO: checking for long" >&5
16186 echo $ECHO_N "checking for long... $ECHO_C" >&6
16187 if test "${ac_cv_type_long+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 cat >conftest.$ac_ext <<_ACEOF
16191 /* confdefs.h. */
16192 _ACEOF
16193 cat confdefs.h >>conftest.$ac_ext
16194 cat >>conftest.$ac_ext <<_ACEOF
16195 /* end confdefs.h. */
16196 $ac_includes_default
16197 int
16198 main ()
16199 {
16200 if ((long *) 0)
16201 return 0;
16202 if (sizeof (long))
16203 return 0;
16204 ;
16205 return 0;
16206 }
16207 _ACEOF
16208 rm -f conftest.$ac_objext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>conftest.er1
16211 ac_status=$?
16212 grep -v '^ *+' conftest.er1 >conftest.err
16213 rm -f conftest.er1
16214 cat conftest.err >&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } &&
16217 { ac_try='test -z "$ac_c_werror_flag"
16218 || test ! -s conftest.err'
16219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16220 (eval $ac_try) 2>&5
16221 ac_status=$?
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); }; } &&
16224 { ac_try='test -s conftest.$ac_objext'
16225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16226 (eval $ac_try) 2>&5
16227 ac_status=$?
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); }; }; then
16230 ac_cv_type_long=yes
16231 else
16232 echo "$as_me: failed program was:" >&5
16233 sed 's/^/| /' conftest.$ac_ext >&5
16234
16235 ac_cv_type_long=no
16236 fi
16237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16238 fi
16239 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16240 echo "${ECHO_T}$ac_cv_type_long" >&6
16241
16242 echo "$as_me:$LINENO: checking size of long" >&5
16243 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16244 if test "${ac_cv_sizeof_long+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 else
16247 if test "$ac_cv_type_long" = yes; then
16248 # The cast to unsigned long works around a bug in the HP C Compiler
16249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16251 # This bug is HP SR number 8606223364.
16252 if test "$cross_compiling" = yes; then
16253 # Depending upon the size, compute the lo and hi bounds.
16254 cat >conftest.$ac_ext <<_ACEOF
16255 /* confdefs.h. */
16256 _ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 $ac_includes_default
16261 int
16262 main ()
16263 {
16264 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16265 test_array [0] = 0
16266
16267 ;
16268 return 0;
16269 }
16270 _ACEOF
16271 rm -f conftest.$ac_objext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16273 (eval $ac_compile) 2>conftest.er1
16274 ac_status=$?
16275 grep -v '^ *+' conftest.er1 >conftest.err
16276 rm -f conftest.er1
16277 cat conftest.err >&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); } &&
16280 { ac_try='test -z "$ac_c_werror_flag"
16281 || test ! -s conftest.err'
16282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 (eval $ac_try) 2>&5
16284 ac_status=$?
16285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16286 (exit $ac_status); }; } &&
16287 { ac_try='test -s conftest.$ac_objext'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16290 ac_status=$?
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; }; then
16293 ac_lo=0 ac_mid=0
16294 while :; do
16295 cat >conftest.$ac_ext <<_ACEOF
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16302 int
16303 main ()
16304 {
16305 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16306 test_array [0] = 0
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>conftest.er1
16315 ac_status=$?
16316 grep -v '^ *+' conftest.er1 >conftest.err
16317 rm -f conftest.er1
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } &&
16321 { ac_try='test -z "$ac_c_werror_flag"
16322 || test ! -s conftest.err'
16323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16324 (eval $ac_try) 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }; } &&
16328 { ac_try='test -s conftest.$ac_objext'
16329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16330 (eval $ac_try) 2>&5
16331 ac_status=$?
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); }; }; then
16334 ac_hi=$ac_mid; break
16335 else
16336 echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339 ac_lo=`expr $ac_mid + 1`
16340 if test $ac_lo -le $ac_mid; then
16341 ac_lo= ac_hi=
16342 break
16343 fi
16344 ac_mid=`expr 2 '*' $ac_mid + 1`
16345 fi
16346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16347 done
16348 else
16349 echo "$as_me: failed program was:" >&5
16350 sed 's/^/| /' conftest.$ac_ext >&5
16351
16352 cat >conftest.$ac_ext <<_ACEOF
16353 /* confdefs.h. */
16354 _ACEOF
16355 cat confdefs.h >>conftest.$ac_ext
16356 cat >>conftest.$ac_ext <<_ACEOF
16357 /* end confdefs.h. */
16358 $ac_includes_default
16359 int
16360 main ()
16361 {
16362 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16363 test_array [0] = 0
16364
16365 ;
16366 return 0;
16367 }
16368 _ACEOF
16369 rm -f conftest.$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try='test -z "$ac_c_werror_flag"
16379 || test ! -s conftest.err'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16382 ac_status=$?
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } &&
16385 { ac_try='test -s conftest.$ac_objext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16388 ac_status=$?
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_hi=-1 ac_mid=-1
16392 while :; do
16393 cat >conftest.$ac_ext <<_ACEOF
16394 /* confdefs.h. */
16395 _ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16399 $ac_includes_default
16400 int
16401 main ()
16402 {
16403 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16404 test_array [0] = 0
16405
16406 ;
16407 return 0;
16408 }
16409 _ACEOF
16410 rm -f conftest.$ac_objext
16411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16412 (eval $ac_compile) 2>conftest.er1
16413 ac_status=$?
16414 grep -v '^ *+' conftest.er1 >conftest.err
16415 rm -f conftest.er1
16416 cat conftest.err >&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } &&
16419 { ac_try='test -z "$ac_c_werror_flag"
16420 || test ! -s conftest.err'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16423 ac_status=$?
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; } &&
16426 { ac_try='test -s conftest.$ac_objext'
16427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16428 (eval $ac_try) 2>&5
16429 ac_status=$?
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }; }; then
16432 ac_lo=$ac_mid; break
16433 else
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16436
16437 ac_hi=`expr '(' $ac_mid ')' - 1`
16438 if test $ac_mid -le $ac_hi; then
16439 ac_lo= ac_hi=
16440 break
16441 fi
16442 ac_mid=`expr 2 '*' $ac_mid`
16443 fi
16444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16445 done
16446 else
16447 echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.$ac_ext >&5
16449
16450 ac_lo= ac_hi=
16451 fi
16452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16453 fi
16454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16455 # Binary search between lo and hi bounds.
16456 while test "x$ac_lo" != "x$ac_hi"; do
16457 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16458 cat >conftest.$ac_ext <<_ACEOF
16459 /* confdefs.h. */
16460 _ACEOF
16461 cat confdefs.h >>conftest.$ac_ext
16462 cat >>conftest.$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464 $ac_includes_default
16465 int
16466 main ()
16467 {
16468 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16469 test_array [0] = 0
16470
16471 ;
16472 return 0;
16473 }
16474 _ACEOF
16475 rm -f conftest.$ac_objext
16476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16477 (eval $ac_compile) 2>conftest.er1
16478 ac_status=$?
16479 grep -v '^ *+' conftest.er1 >conftest.err
16480 rm -f conftest.er1
16481 cat conftest.err >&5
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); } &&
16484 { ac_try='test -z "$ac_c_werror_flag"
16485 || test ! -s conftest.err'
16486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16487 (eval $ac_try) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); }; } &&
16491 { ac_try='test -s conftest.$ac_objext'
16492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16493 (eval $ac_try) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); }; }; then
16497 ac_hi=$ac_mid
16498 else
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16501
16502 ac_lo=`expr '(' $ac_mid ')' + 1`
16503 fi
16504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16505 done
16506 case $ac_lo in
16507 ?*) ac_cv_sizeof_long=$ac_lo;;
16508 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16509 See \`config.log' for more details." >&5
16510 echo "$as_me: error: cannot compute sizeof (long), 77
16511 See \`config.log' for more details." >&2;}
16512 { (exit 1); exit 1; }; } ;;
16513 esac
16514 else
16515 if test "$cross_compiling" = yes; then
16516 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16517 See \`config.log' for more details." >&5
16518 echo "$as_me: error: cannot run test program while cross compiling
16519 See \`config.log' for more details." >&2;}
16520 { (exit 1); exit 1; }; }
16521 else
16522 cat >conftest.$ac_ext <<_ACEOF
16523 /* confdefs.h. */
16524 _ACEOF
16525 cat confdefs.h >>conftest.$ac_ext
16526 cat >>conftest.$ac_ext <<_ACEOF
16527 /* end confdefs.h. */
16528 $ac_includes_default
16529 long longval () { return (long) (sizeof (long)); }
16530 unsigned long ulongval () { return (long) (sizeof (long)); }
16531 #include <stdio.h>
16532 #include <stdlib.h>
16533 int
16534 main ()
16535 {
16536
16537 FILE *f = fopen ("conftest.val", "w");
16538 if (! f)
16539 exit (1);
16540 if (((long) (sizeof (long))) < 0)
16541 {
16542 long i = longval ();
16543 if (i != ((long) (sizeof (long))))
16544 exit (1);
16545 fprintf (f, "%ld\n", i);
16546 }
16547 else
16548 {
16549 unsigned long i = ulongval ();
16550 if (i != ((long) (sizeof (long))))
16551 exit (1);
16552 fprintf (f, "%lu\n", i);
16553 }
16554 exit (ferror (f) || fclose (f) != 0);
16555
16556 ;
16557 return 0;
16558 }
16559 _ACEOF
16560 rm -f conftest$ac_exeext
16561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16562 (eval $ac_link) 2>&5
16563 ac_status=$?
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16568 ac_status=$?
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; }; then
16571 ac_cv_sizeof_long=`cat conftest.val`
16572 else
16573 echo "$as_me: program exited with status $ac_status" >&5
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.$ac_ext >&5
16576
16577 ( exit $ac_status )
16578 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16579 See \`config.log' for more details." >&5
16580 echo "$as_me: error: cannot compute sizeof (long), 77
16581 See \`config.log' for more details." >&2;}
16582 { (exit 1); exit 1; }; }
16583 fi
16584 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16585 fi
16586 fi
16587 rm -f conftest.val
16588 else
16589 ac_cv_sizeof_long=0
16590 fi
16591 fi
16592 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16593 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16594 cat >>confdefs.h <<_ACEOF
16595 #define SIZEOF_LONG $ac_cv_sizeof_long
16596 _ACEOF
16597
16598
16599 echo "$as_me:$LINENO: checking for size_t" >&5
16600 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16601 if test "${ac_cv_type_size_t+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 else
16604 cat >conftest.$ac_ext <<_ACEOF
16605 /* confdefs.h. */
16606 _ACEOF
16607 cat confdefs.h >>conftest.$ac_ext
16608 cat >>conftest.$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 $ac_includes_default
16611 int
16612 main ()
16613 {
16614 if ((size_t *) 0)
16615 return 0;
16616 if (sizeof (size_t))
16617 return 0;
16618 ;
16619 return 0;
16620 }
16621 _ACEOF
16622 rm -f conftest.$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624 (eval $ac_compile) 2>conftest.er1
16625 ac_status=$?
16626 grep -v '^ *+' conftest.er1 >conftest.err
16627 rm -f conftest.er1
16628 cat conftest.err >&5
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); } &&
16631 { ac_try='test -z "$ac_c_werror_flag"
16632 || test ! -s conftest.err'
16633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634 (eval $ac_try) 2>&5
16635 ac_status=$?
16636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637 (exit $ac_status); }; } &&
16638 { ac_try='test -s conftest.$ac_objext'
16639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640 (eval $ac_try) 2>&5
16641 ac_status=$?
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); }; }; then
16644 ac_cv_type_size_t=yes
16645 else
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.$ac_ext >&5
16648
16649 ac_cv_type_size_t=no
16650 fi
16651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16652 fi
16653 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16654 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16655
16656 echo "$as_me:$LINENO: checking size of size_t" >&5
16657 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16658 if test "${ac_cv_sizeof_size_t+set}" = set; then
16659 echo $ECHO_N "(cached) $ECHO_C" >&6
16660 else
16661 if test "$ac_cv_type_size_t" = yes; then
16662 # The cast to unsigned long works around a bug in the HP C Compiler
16663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16665 # This bug is HP SR number 8606223364.
16666 if test "$cross_compiling" = yes; then
16667 # Depending upon the size, compute the lo and hi bounds.
16668 cat >conftest.$ac_ext <<_ACEOF
16669 /* confdefs.h. */
16670 _ACEOF
16671 cat confdefs.h >>conftest.$ac_ext
16672 cat >>conftest.$ac_ext <<_ACEOF
16673 /* end confdefs.h. */
16674 $ac_includes_default
16675 int
16676 main ()
16677 {
16678 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16679 test_array [0] = 0
16680
16681 ;
16682 return 0;
16683 }
16684 _ACEOF
16685 rm -f conftest.$ac_objext
16686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16687 (eval $ac_compile) 2>conftest.er1
16688 ac_status=$?
16689 grep -v '^ *+' conftest.er1 >conftest.err
16690 rm -f conftest.er1
16691 cat conftest.err >&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); } &&
16694 { ac_try='test -z "$ac_c_werror_flag"
16695 || test ! -s conftest.err'
16696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16697 (eval $ac_try) 2>&5
16698 ac_status=$?
16699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16700 (exit $ac_status); }; } &&
16701 { ac_try='test -s conftest.$ac_objext'
16702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16703 (eval $ac_try) 2>&5
16704 ac_status=$?
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; }; then
16707 ac_lo=0 ac_mid=0
16708 while :; do
16709 cat >conftest.$ac_ext <<_ACEOF
16710 /* confdefs.h. */
16711 _ACEOF
16712 cat confdefs.h >>conftest.$ac_ext
16713 cat >>conftest.$ac_ext <<_ACEOF
16714 /* end confdefs.h. */
16715 $ac_includes_default
16716 int
16717 main ()
16718 {
16719 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16720 test_array [0] = 0
16721
16722 ;
16723 return 0;
16724 }
16725 _ACEOF
16726 rm -f conftest.$ac_objext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16728 (eval $ac_compile) 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try='test -z "$ac_c_werror_flag"
16736 || test ! -s conftest.err'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16739 ac_status=$?
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; } &&
16742 { ac_try='test -s conftest.$ac_objext'
16743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16744 (eval $ac_try) 2>&5
16745 ac_status=$?
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); }; }; then
16748 ac_hi=$ac_mid; break
16749 else
16750 echo "$as_me: failed program was:" >&5
16751 sed 's/^/| /' conftest.$ac_ext >&5
16752
16753 ac_lo=`expr $ac_mid + 1`
16754 if test $ac_lo -le $ac_mid; then
16755 ac_lo= ac_hi=
16756 break
16757 fi
16758 ac_mid=`expr 2 '*' $ac_mid + 1`
16759 fi
16760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16761 done
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16765
16766 cat >conftest.$ac_ext <<_ACEOF
16767 /* confdefs.h. */
16768 _ACEOF
16769 cat confdefs.h >>conftest.$ac_ext
16770 cat >>conftest.$ac_ext <<_ACEOF
16771 /* end confdefs.h. */
16772 $ac_includes_default
16773 int
16774 main ()
16775 {
16776 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16777 test_array [0] = 0
16778
16779 ;
16780 return 0;
16781 }
16782 _ACEOF
16783 rm -f conftest.$ac_objext
16784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16785 (eval $ac_compile) 2>conftest.er1
16786 ac_status=$?
16787 grep -v '^ *+' conftest.er1 >conftest.err
16788 rm -f conftest.er1
16789 cat conftest.err >&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } &&
16792 { ac_try='test -z "$ac_c_werror_flag"
16793 || test ! -s conftest.err'
16794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16795 (eval $ac_try) 2>&5
16796 ac_status=$?
16797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16798 (exit $ac_status); }; } &&
16799 { ac_try='test -s conftest.$ac_objext'
16800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16801 (eval $ac_try) 2>&5
16802 ac_status=$?
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); }; }; then
16805 ac_hi=-1 ac_mid=-1
16806 while :; do
16807 cat >conftest.$ac_ext <<_ACEOF
16808 /* confdefs.h. */
16809 _ACEOF
16810 cat confdefs.h >>conftest.$ac_ext
16811 cat >>conftest.$ac_ext <<_ACEOF
16812 /* end confdefs.h. */
16813 $ac_includes_default
16814 int
16815 main ()
16816 {
16817 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16818 test_array [0] = 0
16819
16820 ;
16821 return 0;
16822 }
16823 _ACEOF
16824 rm -f conftest.$ac_objext
16825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16826 (eval $ac_compile) 2>conftest.er1
16827 ac_status=$?
16828 grep -v '^ *+' conftest.er1 >conftest.err
16829 rm -f conftest.er1
16830 cat conftest.err >&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); } &&
16833 { ac_try='test -z "$ac_c_werror_flag"
16834 || test ! -s conftest.err'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16837 ac_status=$?
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; } &&
16840 { ac_try='test -s conftest.$ac_objext'
16841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16842 (eval $ac_try) 2>&5
16843 ac_status=$?
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); }; }; then
16846 ac_lo=$ac_mid; break
16847 else
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16850
16851 ac_hi=`expr '(' $ac_mid ')' - 1`
16852 if test $ac_mid -le $ac_hi; then
16853 ac_lo= ac_hi=
16854 break
16855 fi
16856 ac_mid=`expr 2 '*' $ac_mid`
16857 fi
16858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16859 done
16860 else
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16863
16864 ac_lo= ac_hi=
16865 fi
16866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16867 fi
16868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16869 # Binary search between lo and hi bounds.
16870 while test "x$ac_lo" != "x$ac_hi"; do
16871 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16872 cat >conftest.$ac_ext <<_ACEOF
16873 /* confdefs.h. */
16874 _ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 $ac_includes_default
16879 int
16880 main ()
16881 {
16882 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16883 test_array [0] = 0
16884
16885 ;
16886 return 0;
16887 }
16888 _ACEOF
16889 rm -f conftest.$ac_objext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>conftest.er1
16892 ac_status=$?
16893 grep -v '^ *+' conftest.er1 >conftest.err
16894 rm -f conftest.er1
16895 cat conftest.err >&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try='test -z "$ac_c_werror_flag"
16899 || test ! -s conftest.err'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16902 ac_status=$?
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; } &&
16905 { ac_try='test -s conftest.$ac_objext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_hi=$ac_mid
16912 else
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16915
16916 ac_lo=`expr '(' $ac_mid ')' + 1`
16917 fi
16918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16919 done
16920 case $ac_lo in
16921 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16922 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16923 See \`config.log' for more details." >&5
16924 echo "$as_me: error: cannot compute sizeof (size_t), 77
16925 See \`config.log' for more details." >&2;}
16926 { (exit 1); exit 1; }; } ;;
16927 esac
16928 else
16929 if test "$cross_compiling" = yes; then
16930 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16931 See \`config.log' for more details." >&5
16932 echo "$as_me: error: cannot run test program while cross compiling
16933 See \`config.log' for more details." >&2;}
16934 { (exit 1); exit 1; }; }
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 long longval () { return (long) (sizeof (size_t)); }
16944 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16945 #include <stdio.h>
16946 #include <stdlib.h>
16947 int
16948 main ()
16949 {
16950
16951 FILE *f = fopen ("conftest.val", "w");
16952 if (! f)
16953 exit (1);
16954 if (((long) (sizeof (size_t))) < 0)
16955 {
16956 long i = longval ();
16957 if (i != ((long) (sizeof (size_t))))
16958 exit (1);
16959 fprintf (f, "%ld\n", i);
16960 }
16961 else
16962 {
16963 unsigned long i = ulongval ();
16964 if (i != ((long) (sizeof (size_t))))
16965 exit (1);
16966 fprintf (f, "%lu\n", i);
16967 }
16968 exit (ferror (f) || fclose (f) != 0);
16969
16970 ;
16971 return 0;
16972 }
16973 _ACEOF
16974 rm -f conftest$ac_exeext
16975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16976 (eval $ac_link) 2>&5
16977 ac_status=$?
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16982 ac_status=$?
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; }; then
16985 ac_cv_sizeof_size_t=`cat conftest.val`
16986 else
16987 echo "$as_me: program exited with status $ac_status" >&5
16988 echo "$as_me: failed program was:" >&5
16989 sed 's/^/| /' conftest.$ac_ext >&5
16990
16991 ( exit $ac_status )
16992 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16993 See \`config.log' for more details." >&5
16994 echo "$as_me: error: cannot compute sizeof (size_t), 77
16995 See \`config.log' for more details." >&2;}
16996 { (exit 1); exit 1; }; }
16997 fi
16998 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16999 fi
17000 fi
17001 rm -f conftest.val
17002 else
17003 ac_cv_sizeof_size_t=0
17004 fi
17005 fi
17006 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
17007 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
17008 cat >>confdefs.h <<_ACEOF
17009 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
17010 _ACEOF
17011
17012
17013
17014 case "${host}" in
17015 arm-*-linux* )
17016 echo "$as_me:$LINENO: checking for long long" >&5
17017 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17018 if test "${ac_cv_type_long_long+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 else
17021 cat >conftest.$ac_ext <<_ACEOF
17022 /* confdefs.h. */
17023 _ACEOF
17024 cat confdefs.h >>conftest.$ac_ext
17025 cat >>conftest.$ac_ext <<_ACEOF
17026 /* end confdefs.h. */
17027 $ac_includes_default
17028 int
17029 main ()
17030 {
17031 if ((long long *) 0)
17032 return 0;
17033 if (sizeof (long long))
17034 return 0;
17035 ;
17036 return 0;
17037 }
17038 _ACEOF
17039 rm -f conftest.$ac_objext
17040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17041 (eval $ac_compile) 2>conftest.er1
17042 ac_status=$?
17043 grep -v '^ *+' conftest.er1 >conftest.err
17044 rm -f conftest.er1
17045 cat conftest.err >&5
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); } &&
17048 { ac_try='test -z "$ac_c_werror_flag"
17049 || test ! -s conftest.err'
17050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17051 (eval $ac_try) 2>&5
17052 ac_status=$?
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); }; } &&
17055 { ac_try='test -s conftest.$ac_objext'
17056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17057 (eval $ac_try) 2>&5
17058 ac_status=$?
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); }; }; then
17061 ac_cv_type_long_long=yes
17062 else
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.$ac_ext >&5
17065
17066 ac_cv_type_long_long=no
17067 fi
17068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17069 fi
17070 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17071 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17072
17073 echo "$as_me:$LINENO: checking size of long long" >&5
17074 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17075 if test "${ac_cv_sizeof_long_long+set}" = set; then
17076 echo $ECHO_N "(cached) $ECHO_C" >&6
17077 else
17078 if test "$ac_cv_type_long_long" = yes; then
17079 # The cast to unsigned long works around a bug in the HP C Compiler
17080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17082 # This bug is HP SR number 8606223364.
17083 if test "$cross_compiling" = yes; then
17084 # Depending upon the size, compute the lo and hi bounds.
17085 cat >conftest.$ac_ext <<_ACEOF
17086 /* confdefs.h. */
17087 _ACEOF
17088 cat confdefs.h >>conftest.$ac_ext
17089 cat >>conftest.$ac_ext <<_ACEOF
17090 /* end confdefs.h. */
17091 $ac_includes_default
17092 int
17093 main ()
17094 {
17095 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17096 test_array [0] = 0
17097
17098 ;
17099 return 0;
17100 }
17101 _ACEOF
17102 rm -f conftest.$ac_objext
17103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17104 (eval $ac_compile) 2>conftest.er1
17105 ac_status=$?
17106 grep -v '^ *+' conftest.er1 >conftest.err
17107 rm -f conftest.er1
17108 cat conftest.err >&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } &&
17111 { ac_try='test -z "$ac_c_werror_flag"
17112 || test ! -s conftest.err'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17115 ac_status=$?
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; } &&
17118 { ac_try='test -s conftest.$ac_objext'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17121 ac_status=$?
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; }; then
17124 ac_lo=0 ac_mid=0
17125 while :; do
17126 cat >conftest.$ac_ext <<_ACEOF
17127 /* confdefs.h. */
17128 _ACEOF
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17132 $ac_includes_default
17133 int
17134 main ()
17135 {
17136 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17137 test_array [0] = 0
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17145 (eval $ac_compile) 2>conftest.er1
17146 ac_status=$?
17147 grep -v '^ *+' conftest.er1 >conftest.err
17148 rm -f conftest.er1
17149 cat conftest.err >&5
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); } &&
17152 { ac_try='test -z "$ac_c_werror_flag"
17153 || test ! -s conftest.err'
17154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17155 (eval $ac_try) 2>&5
17156 ac_status=$?
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); }; } &&
17159 { ac_try='test -s conftest.$ac_objext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17162 ac_status=$?
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_hi=$ac_mid; break
17166 else
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17169
17170 ac_lo=`expr $ac_mid + 1`
17171 if test $ac_lo -le $ac_mid; then
17172 ac_lo= ac_hi=
17173 break
17174 fi
17175 ac_mid=`expr 2 '*' $ac_mid + 1`
17176 fi
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17178 done
17179 else
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17182
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17190 int
17191 main ()
17192 {
17193 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17194 test_array [0] = 0
17195
17196 ;
17197 return 0;
17198 }
17199 _ACEOF
17200 rm -f conftest.$ac_objext
17201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17202 (eval $ac_compile) 2>conftest.er1
17203 ac_status=$?
17204 grep -v '^ *+' conftest.er1 >conftest.err
17205 rm -f conftest.er1
17206 cat conftest.err >&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } &&
17209 { ac_try='test -z "$ac_c_werror_flag"
17210 || test ! -s conftest.err'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; } &&
17216 { ac_try='test -s conftest.$ac_objext'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17219 ac_status=$?
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; }; then
17222 ac_hi=-1 ac_mid=-1
17223 while :; do
17224 cat >conftest.$ac_ext <<_ACEOF
17225 /* confdefs.h. */
17226 _ACEOF
17227 cat confdefs.h >>conftest.$ac_ext
17228 cat >>conftest.$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 $ac_includes_default
17231 int
17232 main ()
17233 {
17234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17235 test_array [0] = 0
17236
17237 ;
17238 return 0;
17239 }
17240 _ACEOF
17241 rm -f conftest.$ac_objext
17242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } &&
17250 { ac_try='test -z "$ac_c_werror_flag"
17251 || test ! -s conftest.err'
17252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 (eval $ac_try) 2>&5
17254 ac_status=$?
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); }; } &&
17257 { ac_try='test -s conftest.$ac_objext'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; }; then
17263 ac_lo=$ac_mid; break
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17267
17268 ac_hi=`expr '(' $ac_mid ')' - 1`
17269 if test $ac_mid -le $ac_hi; then
17270 ac_lo= ac_hi=
17271 break
17272 fi
17273 ac_mid=`expr 2 '*' $ac_mid`
17274 fi
17275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17276 done
17277 else
17278 echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17280
17281 ac_lo= ac_hi=
17282 fi
17283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17284 fi
17285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17286 # Binary search between lo and hi bounds.
17287 while test "x$ac_lo" != "x$ac_hi"; do
17288 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17289 cat >conftest.$ac_ext <<_ACEOF
17290 /* confdefs.h. */
17291 _ACEOF
17292 cat confdefs.h >>conftest.$ac_ext
17293 cat >>conftest.$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17295 $ac_includes_default
17296 int
17297 main ()
17298 {
17299 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17300 test_array [0] = 0
17301
17302 ;
17303 return 0;
17304 }
17305 _ACEOF
17306 rm -f conftest.$ac_objext
17307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17308 (eval $ac_compile) 2>conftest.er1
17309 ac_status=$?
17310 grep -v '^ *+' conftest.er1 >conftest.err
17311 rm -f conftest.er1
17312 cat conftest.err >&5
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try='test -z "$ac_c_werror_flag"
17316 || test ! -s conftest.err'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17319 ac_status=$?
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; } &&
17322 { ac_try='test -s conftest.$ac_objext'
17323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17324 (eval $ac_try) 2>&5
17325 ac_status=$?
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); }; }; then
17328 ac_hi=$ac_mid
17329 else
17330 echo "$as_me: failed program was:" >&5
17331 sed 's/^/| /' conftest.$ac_ext >&5
17332
17333 ac_lo=`expr '(' $ac_mid ')' + 1`
17334 fi
17335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17336 done
17337 case $ac_lo in
17338 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17340 See \`config.log' for more details." >&5
17341 echo "$as_me: error: cannot compute sizeof (long long), 77
17342 See \`config.log' for more details." >&2;}
17343 { (exit 1); exit 1; }; } ;;
17344 esac
17345 else
17346 if test "$cross_compiling" = yes; then
17347 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17348 See \`config.log' for more details." >&5
17349 echo "$as_me: error: cannot run test program while cross compiling
17350 See \`config.log' for more details." >&2;}
17351 { (exit 1); exit 1; }; }
17352 else
17353 cat >conftest.$ac_ext <<_ACEOF
17354 /* confdefs.h. */
17355 _ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 $ac_includes_default
17360 long longval () { return (long) (sizeof (long long)); }
17361 unsigned long ulongval () { return (long) (sizeof (long long)); }
17362 #include <stdio.h>
17363 #include <stdlib.h>
17364 int
17365 main ()
17366 {
17367
17368 FILE *f = fopen ("conftest.val", "w");
17369 if (! f)
17370 exit (1);
17371 if (((long) (sizeof (long long))) < 0)
17372 {
17373 long i = longval ();
17374 if (i != ((long) (sizeof (long long))))
17375 exit (1);
17376 fprintf (f, "%ld\n", i);
17377 }
17378 else
17379 {
17380 unsigned long i = ulongval ();
17381 if (i != ((long) (sizeof (long long))))
17382 exit (1);
17383 fprintf (f, "%lu\n", i);
17384 }
17385 exit (ferror (f) || fclose (f) != 0);
17386
17387 ;
17388 return 0;
17389 }
17390 _ACEOF
17391 rm -f conftest$ac_exeext
17392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17393 (eval $ac_link) 2>&5
17394 ac_status=$?
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17399 ac_status=$?
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; }; then
17402 ac_cv_sizeof_long_long=`cat conftest.val`
17403 else
17404 echo "$as_me: program exited with status $ac_status" >&5
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17407
17408 ( exit $ac_status )
17409 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17410 See \`config.log' for more details." >&5
17411 echo "$as_me: error: cannot compute sizeof (long long), 77
17412 See \`config.log' for more details." >&2;}
17413 { (exit 1); exit 1; }; }
17414 fi
17415 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17416 fi
17417 fi
17418 rm -f conftest.val
17419 else
17420 ac_cv_sizeof_long_long=0
17421 fi
17422 fi
17423 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17424 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17425 cat >>confdefs.h <<_ACEOF
17426 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17427 _ACEOF
17428
17429
17430 ;;
17431 *-hp-hpux* )
17432 echo "$as_me:$LINENO: checking for long long" >&5
17433 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17434 if test "${ac_cv_type_long_long+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437 cat >conftest.$ac_ext <<_ACEOF
17438 /* confdefs.h. */
17439 _ACEOF
17440 cat confdefs.h >>conftest.$ac_ext
17441 cat >>conftest.$ac_ext <<_ACEOF
17442 /* end confdefs.h. */
17443 $ac_includes_default
17444 int
17445 main ()
17446 {
17447 if ((long long *) 0)
17448 return 0;
17449 if (sizeof (long long))
17450 return 0;
17451 ;
17452 return 0;
17453 }
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_c_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 ac_cv_type_long_long=yes
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17481
17482 ac_cv_type_long_long=no
17483 fi
17484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17485 fi
17486 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17487 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17488
17489 echo "$as_me:$LINENO: checking size of long long" >&5
17490 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17491 if test "${ac_cv_sizeof_long_long+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17493 else
17494 if test "$ac_cv_type_long_long" = yes; then
17495 # The cast to unsigned long works around a bug in the HP C Compiler
17496 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17497 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17498 # This bug is HP SR number 8606223364.
17499 if test "$cross_compiling" = yes; then
17500 # Depending upon the size, compute the lo and hi bounds.
17501 cat >conftest.$ac_ext <<_ACEOF
17502 /* confdefs.h. */
17503 _ACEOF
17504 cat confdefs.h >>conftest.$ac_ext
17505 cat >>conftest.$ac_ext <<_ACEOF
17506 /* end confdefs.h. */
17507 $ac_includes_default
17508 int
17509 main ()
17510 {
17511 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17512 test_array [0] = 0
17513
17514 ;
17515 return 0;
17516 }
17517 _ACEOF
17518 rm -f conftest.$ac_objext
17519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17520 (eval $ac_compile) 2>conftest.er1
17521 ac_status=$?
17522 grep -v '^ *+' conftest.er1 >conftest.err
17523 rm -f conftest.er1
17524 cat conftest.err >&5
17525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17526 (exit $ac_status); } &&
17527 { ac_try='test -z "$ac_c_werror_flag"
17528 || test ! -s conftest.err'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17531 ac_status=$?
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; } &&
17534 { ac_try='test -s conftest.$ac_objext'
17535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17536 (eval $ac_try) 2>&5
17537 ac_status=$?
17538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539 (exit $ac_status); }; }; then
17540 ac_lo=0 ac_mid=0
17541 while :; do
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17549 int
17550 main ()
17551 {
17552 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17553 test_array [0] = 0
17554
17555 ;
17556 return 0;
17557 }
17558 _ACEOF
17559 rm -f conftest.$ac_objext
17560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17561 (eval $ac_compile) 2>conftest.er1
17562 ac_status=$?
17563 grep -v '^ *+' conftest.er1 >conftest.err
17564 rm -f conftest.er1
17565 cat conftest.err >&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } &&
17568 { ac_try='test -z "$ac_c_werror_flag"
17569 || 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_hi=$ac_mid; break
17582 else
17583 echo "$as_me: failed program was:" >&5
17584 sed 's/^/| /' conftest.$ac_ext >&5
17585
17586 ac_lo=`expr $ac_mid + 1`
17587 if test $ac_lo -le $ac_mid; then
17588 ac_lo= ac_hi=
17589 break
17590 fi
17591 ac_mid=`expr 2 '*' $ac_mid + 1`
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 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 $ac_includes_default
17606 int
17607 main ()
17608 {
17609 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17610 test_array [0] = 0
17611
17612 ;
17613 return 0;
17614 }
17615 _ACEOF
17616 rm -f conftest.$ac_objext
17617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17618 (eval $ac_compile) 2>conftest.er1
17619 ac_status=$?
17620 grep -v '^ *+' conftest.er1 >conftest.err
17621 rm -f conftest.er1
17622 cat conftest.err >&5
17623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17624 (exit $ac_status); } &&
17625 { ac_try='test -z "$ac_c_werror_flag"
17626 || test ! -s conftest.err'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17629 ac_status=$?
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; } &&
17632 { ac_try='test -s conftest.$ac_objext'
17633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17634 (eval $ac_try) 2>&5
17635 ac_status=$?
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); }; }; then
17638 ac_hi=-1 ac_mid=-1
17639 while :; do
17640 cat >conftest.$ac_ext <<_ACEOF
17641 /* confdefs.h. */
17642 _ACEOF
17643 cat confdefs.h >>conftest.$ac_ext
17644 cat >>conftest.$ac_ext <<_ACEOF
17645 /* end confdefs.h. */
17646 $ac_includes_default
17647 int
17648 main ()
17649 {
17650 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17651 test_array [0] = 0
17652
17653 ;
17654 return 0;
17655 }
17656 _ACEOF
17657 rm -f conftest.$ac_objext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 (eval $ac_compile) 2>conftest.er1
17660 ac_status=$?
17661 grep -v '^ *+' conftest.er1 >conftest.err
17662 rm -f conftest.er1
17663 cat conftest.err >&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try='test -z "$ac_c_werror_flag"
17667 || test ! -s conftest.err'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17670 ac_status=$?
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; } &&
17673 { ac_try='test -s conftest.$ac_objext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17676 ac_status=$?
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 ac_lo=$ac_mid; break
17680 else
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17683
17684 ac_hi=`expr '(' $ac_mid ')' - 1`
17685 if test $ac_mid -le $ac_hi; then
17686 ac_lo= ac_hi=
17687 break
17688 fi
17689 ac_mid=`expr 2 '*' $ac_mid`
17690 fi
17691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17692 done
17693 else
17694 echo "$as_me: failed program was:" >&5
17695 sed 's/^/| /' conftest.$ac_ext >&5
17696
17697 ac_lo= ac_hi=
17698 fi
17699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17700 fi
17701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17702 # Binary search between lo and hi bounds.
17703 while test "x$ac_lo" != "x$ac_hi"; do
17704 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17705 cat >conftest.$ac_ext <<_ACEOF
17706 /* confdefs.h. */
17707 _ACEOF
17708 cat confdefs.h >>conftest.$ac_ext
17709 cat >>conftest.$ac_ext <<_ACEOF
17710 /* end confdefs.h. */
17711 $ac_includes_default
17712 int
17713 main ()
17714 {
17715 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17716 test_array [0] = 0
17717
17718 ;
17719 return 0;
17720 }
17721 _ACEOF
17722 rm -f conftest.$ac_objext
17723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17724 (eval $ac_compile) 2>conftest.er1
17725 ac_status=$?
17726 grep -v '^ *+' conftest.er1 >conftest.err
17727 rm -f conftest.er1
17728 cat conftest.err >&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); } &&
17731 { ac_try='test -z "$ac_c_werror_flag"
17732 || test ! -s conftest.err'
17733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17734 (eval $ac_try) 2>&5
17735 ac_status=$?
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); }; } &&
17738 { ac_try='test -s conftest.$ac_objext'
17739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17740 (eval $ac_try) 2>&5
17741 ac_status=$?
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); }; }; then
17744 ac_hi=$ac_mid
17745 else
17746 echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.$ac_ext >&5
17748
17749 ac_lo=`expr '(' $ac_mid ')' + 1`
17750 fi
17751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17752 done
17753 case $ac_lo in
17754 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17755 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17756 See \`config.log' for more details." >&5
17757 echo "$as_me: error: cannot compute sizeof (long long), 77
17758 See \`config.log' for more details." >&2;}
17759 { (exit 1); exit 1; }; } ;;
17760 esac
17761 else
17762 if test "$cross_compiling" = yes; then
17763 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17764 See \`config.log' for more details." >&5
17765 echo "$as_me: error: cannot run test program while cross compiling
17766 See \`config.log' for more details." >&2;}
17767 { (exit 1); exit 1; }; }
17768 else
17769 cat >conftest.$ac_ext <<_ACEOF
17770 /* confdefs.h. */
17771 _ACEOF
17772 cat confdefs.h >>conftest.$ac_ext
17773 cat >>conftest.$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17775 $ac_includes_default
17776 long longval () { return (long) (sizeof (long long)); }
17777 unsigned long ulongval () { return (long) (sizeof (long long)); }
17778 #include <stdio.h>
17779 #include <stdlib.h>
17780 int
17781 main ()
17782 {
17783
17784 FILE *f = fopen ("conftest.val", "w");
17785 if (! f)
17786 exit (1);
17787 if (((long) (sizeof (long long))) < 0)
17788 {
17789 long i = longval ();
17790 if (i != ((long) (sizeof (long long))))
17791 exit (1);
17792 fprintf (f, "%ld\n", i);
17793 }
17794 else
17795 {
17796 unsigned long i = ulongval ();
17797 if (i != ((long) (sizeof (long long))))
17798 exit (1);
17799 fprintf (f, "%lu\n", i);
17800 }
17801 exit (ferror (f) || fclose (f) != 0);
17802
17803 ;
17804 return 0;
17805 }
17806 _ACEOF
17807 rm -f conftest$ac_exeext
17808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17809 (eval $ac_link) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 (eval $ac_try) 2>&5
17815 ac_status=$?
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); }; }; then
17818 ac_cv_sizeof_long_long=`cat conftest.val`
17819 else
17820 echo "$as_me: program exited with status $ac_status" >&5
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 ( exit $ac_status )
17825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17826 See \`config.log' for more details." >&5
17827 echo "$as_me: error: cannot compute sizeof (long long), 77
17828 See \`config.log' for more details." >&2;}
17829 { (exit 1); exit 1; }; }
17830 fi
17831 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17832 fi
17833 fi
17834 rm -f conftest.val
17835 else
17836 ac_cv_sizeof_long_long=0
17837 fi
17838 fi
17839 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17840 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17841 cat >>confdefs.h <<_ACEOF
17842 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17843 _ACEOF
17844
17845
17846 if test "$ac_cv_sizeof_long_long" != "0"; then
17847 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17848 fi
17849 ;;
17850 * )
17851 echo "$as_me:$LINENO: checking for long long" >&5
17852 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17853 if test "${ac_cv_type_long_long+set}" = set; then
17854 echo $ECHO_N "(cached) $ECHO_C" >&6
17855 else
17856 cat >conftest.$ac_ext <<_ACEOF
17857 /* confdefs.h. */
17858 _ACEOF
17859 cat confdefs.h >>conftest.$ac_ext
17860 cat >>conftest.$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 $ac_includes_default
17863 int
17864 main ()
17865 {
17866 if ((long long *) 0)
17867 return 0;
17868 if (sizeof (long long))
17869 return 0;
17870 ;
17871 return 0;
17872 }
17873 _ACEOF
17874 rm -f conftest.$ac_objext
17875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17876 (eval $ac_compile) 2>conftest.er1
17877 ac_status=$?
17878 grep -v '^ *+' conftest.er1 >conftest.err
17879 rm -f conftest.er1
17880 cat conftest.err >&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } &&
17883 { ac_try='test -z "$ac_c_werror_flag"
17884 || 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_cv_type_long_long=yes
17897 else
17898 echo "$as_me: failed program was:" >&5
17899 sed 's/^/| /' conftest.$ac_ext >&5
17900
17901 ac_cv_type_long_long=no
17902 fi
17903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17904 fi
17905 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17906 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17907
17908 echo "$as_me:$LINENO: checking size of long long" >&5
17909 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17910 if test "${ac_cv_sizeof_long_long+set}" = set; then
17911 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 else
17913 if test "$ac_cv_type_long_long" = yes; then
17914 # The cast to unsigned long works around a bug in the HP C Compiler
17915 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17916 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17917 # This bug is HP SR number 8606223364.
17918 if test "$cross_compiling" = yes; then
17919 # Depending upon the size, compute the lo and hi bounds.
17920 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h. */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 $ac_includes_default
17927 int
17928 main ()
17929 {
17930 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17931 test_array [0] = 0
17932
17933 ;
17934 return 0;
17935 }
17936 _ACEOF
17937 rm -f conftest.$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17940 ac_status=$?
17941 grep -v '^ *+' conftest.er1 >conftest.err
17942 rm -f conftest.er1
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try='test -z "$ac_c_werror_flag"
17947 || test ! -s conftest.err'
17948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17949 (eval $ac_try) 2>&5
17950 ac_status=$?
17951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17952 (exit $ac_status); }; } &&
17953 { ac_try='test -s conftest.$ac_objext'
17954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17955 (eval $ac_try) 2>&5
17956 ac_status=$?
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); }; }; then
17959 ac_lo=0 ac_mid=0
17960 while :; do
17961 cat >conftest.$ac_ext <<_ACEOF
17962 /* confdefs.h. */
17963 _ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17968 int
17969 main ()
17970 {
17971 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17972 test_array [0] = 0
17973
17974 ;
17975 return 0;
17976 }
17977 _ACEOF
17978 rm -f conftest.$ac_objext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17980 (eval $ac_compile) 2>conftest.er1
17981 ac_status=$?
17982 grep -v '^ *+' conftest.er1 >conftest.err
17983 rm -f conftest.er1
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } &&
17987 { ac_try='test -z "$ac_c_werror_flag"
17988 || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17991 ac_status=$?
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17997 ac_status=$?
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18000 ac_hi=$ac_mid; break
18001 else
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18004
18005 ac_lo=`expr $ac_mid + 1`
18006 if test $ac_lo -le $ac_mid; then
18007 ac_lo= ac_hi=
18008 break
18009 fi
18010 ac_mid=`expr 2 '*' $ac_mid + 1`
18011 fi
18012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18013 done
18014 else
18015 echo "$as_me: failed program was:" >&5
18016 sed 's/^/| /' conftest.$ac_ext >&5
18017
18018 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))) < 0)];
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"
18045 || test ! -s conftest.err'
18046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18047 (eval $ac_try) 2>&5
18048 ac_status=$?
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); }; } &&
18051 { ac_try='test -s conftest.$ac_objext'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18054 ac_status=$?
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; }; then
18057 ac_hi=-1 ac_mid=-1
18058 while :; do
18059 cat >conftest.$ac_ext <<_ACEOF
18060 /* confdefs.h. */
18061 _ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065 $ac_includes_default
18066 int
18067 main ()
18068 {
18069 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
18070 test_array [0] = 0
18071
18072 ;
18073 return 0;
18074 }
18075 _ACEOF
18076 rm -f conftest.$ac_objext
18077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18078 (eval $ac_compile) 2>conftest.er1
18079 ac_status=$?
18080 grep -v '^ *+' conftest.er1 >conftest.err
18081 rm -f conftest.er1
18082 cat conftest.err >&5
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } &&
18085 { ac_try='test -z "$ac_c_werror_flag"
18086 || test ! -s conftest.err'
18087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18088 (eval $ac_try) 2>&5
18089 ac_status=$?
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); }; } &&
18092 { ac_try='test -s conftest.$ac_objext'
18093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18094 (eval $ac_try) 2>&5
18095 ac_status=$?
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); }; }; then
18098 ac_lo=$ac_mid; break
18099 else
18100 echo "$as_me: failed program was:" >&5
18101 sed 's/^/| /' conftest.$ac_ext >&5
18102
18103 ac_hi=`expr '(' $ac_mid ')' - 1`
18104 if test $ac_mid -le $ac_hi; then
18105 ac_lo= ac_hi=
18106 break
18107 fi
18108 ac_mid=`expr 2 '*' $ac_mid`
18109 fi
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18111 done
18112 else
18113 echo "$as_me: failed program was:" >&5
18114 sed 's/^/| /' conftest.$ac_ext >&5
18115
18116 ac_lo= ac_hi=
18117 fi
18118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18119 fi
18120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18121 # Binary search between lo and hi bounds.
18122 while test "x$ac_lo" != "x$ac_hi"; do
18123 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18124 cat >conftest.$ac_ext <<_ACEOF
18125 /* confdefs.h. */
18126 _ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130 $ac_includes_default
18131 int
18132 main ()
18133 {
18134 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
18135 test_array [0] = 0
18136
18137 ;
18138 return 0;
18139 }
18140 _ACEOF
18141 rm -f conftest.$ac_objext
18142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18143 (eval $ac_compile) 2>conftest.er1
18144 ac_status=$?
18145 grep -v '^ *+' conftest.er1 >conftest.err
18146 rm -f conftest.er1
18147 cat conftest.err >&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } &&
18150 { ac_try='test -z "$ac_c_werror_flag"
18151 || test ! -s conftest.err'
18152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18153 (eval $ac_try) 2>&5
18154 ac_status=$?
18155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18156 (exit $ac_status); }; } &&
18157 { ac_try='test -s conftest.$ac_objext'
18158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18159 (eval $ac_try) 2>&5
18160 ac_status=$?
18161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18162 (exit $ac_status); }; }; then
18163 ac_hi=$ac_mid
18164 else
18165 echo "$as_me: failed program was:" >&5
18166 sed 's/^/| /' conftest.$ac_ext >&5
18167
18168 ac_lo=`expr '(' $ac_mid ')' + 1`
18169 fi
18170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18171 done
18172 case $ac_lo in
18173 ?*) ac_cv_sizeof_long_long=$ac_lo;;
18174 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18175 See \`config.log' for more details." >&5
18176 echo "$as_me: error: cannot compute sizeof (long long), 77
18177 See \`config.log' for more details." >&2;}
18178 { (exit 1); exit 1; }; } ;;
18179 esac
18180 else
18181 if test "$cross_compiling" = yes; then
18182 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18183 See \`config.log' for more details." >&5
18184 echo "$as_me: error: cannot run test program while cross compiling
18185 See \`config.log' for more details." >&2;}
18186 { (exit 1); exit 1; }; }
18187 else
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 $ac_includes_default
18195 long longval () { return (long) (sizeof (long long)); }
18196 unsigned long ulongval () { return (long) (sizeof (long long)); }
18197 #include <stdio.h>
18198 #include <stdlib.h>
18199 int
18200 main ()
18201 {
18202
18203 FILE *f = fopen ("conftest.val", "w");
18204 if (! f)
18205 exit (1);
18206 if (((long) (sizeof (long long))) < 0)
18207 {
18208 long i = longval ();
18209 if (i != ((long) (sizeof (long long))))
18210 exit (1);
18211 fprintf (f, "%ld\n", i);
18212 }
18213 else
18214 {
18215 unsigned long i = ulongval ();
18216 if (i != ((long) (sizeof (long long))))
18217 exit (1);
18218 fprintf (f, "%lu\n", i);
18219 }
18220 exit (ferror (f) || fclose (f) != 0);
18221
18222 ;
18223 return 0;
18224 }
18225 _ACEOF
18226 rm -f conftest$ac_exeext
18227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18228 (eval $ac_link) 2>&5
18229 ac_status=$?
18230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18234 ac_status=$?
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_cv_sizeof_long_long=`cat conftest.val`
18238 else
18239 echo "$as_me: program exited with status $ac_status" >&5
18240 echo "$as_me: failed program was:" >&5
18241 sed 's/^/| /' conftest.$ac_ext >&5
18242
18243 ( exit $ac_status )
18244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
18245 See \`config.log' for more details." >&5
18246 echo "$as_me: error: cannot compute sizeof (long long), 77
18247 See \`config.log' for more details." >&2;}
18248 { (exit 1); exit 1; }; }
18249 fi
18250 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18251 fi
18252 fi
18253 rm -f conftest.val
18254 else
18255 ac_cv_sizeof_long_long=0
18256 fi
18257 fi
18258 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
18259 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
18260 cat >>confdefs.h <<_ACEOF
18261 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
18262 _ACEOF
18263
18264
18265 esac
18266
18267 echo "$as_me:$LINENO: checking size of wchar_t" >&5
18268 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
18269 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
18270 echo $ECHO_N "(cached) $ECHO_C" >&6
18271 else
18272
18273 if test "$cross_compiling" = yes; then
18274
18275 case "${host}" in
18276 *-pc-msdosdjgpp )
18277 wx_cv_sizeof_wchar_t=0
18278 ;;
18279 * )
18280 wx_cv_sizeof_wchar_t=4
18281 ;;
18282 esac
18283
18284
18285 else
18286 cat >conftest.$ac_ext <<_ACEOF
18287 /* confdefs.h. */
18288 _ACEOF
18289 cat confdefs.h >>conftest.$ac_ext
18290 cat >>conftest.$ac_ext <<_ACEOF
18291 /* end confdefs.h. */
18292
18293 /* DJGPP only has fake wchar_t: */
18294 #ifdef __DJGPP__
18295 # error "fake wchar_t"
18296 #endif
18297 #ifdef HAVE_WCHAR_H
18298 # ifdef __CYGWIN__
18299 # include <stddef.h>
18300 # endif
18301 # include <wchar.h>
18302 #endif
18303 #ifdef HAVE_STDLIB_H
18304 # include <stdlib.h>
18305 #endif
18306 #include <stdio.h>
18307 int main()
18308 {
18309 FILE *f=fopen("conftestval", "w");
18310 if (!f) exit(1);
18311 fprintf(f, "%i", sizeof(wchar_t));
18312 exit(0);
18313 }
18314
18315 _ACEOF
18316 rm -f conftest$ac_exeext
18317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18318 (eval $ac_link) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 wx_cv_sizeof_wchar_t=`cat conftestval`
18328 else
18329 echo "$as_me: program exited with status $ac_status" >&5
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18332
18333 ( exit $ac_status )
18334 wx_cv_sizeof_wchar_t=0
18335 fi
18336 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18337 fi
18338
18339 fi
18340 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18341 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18342
18343 cat >>confdefs.h <<_ACEOF
18344 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18345 _ACEOF
18346
18347
18348 echo "$as_me:$LINENO: checking for va_copy" >&5
18349 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
18350 if test "${wx_cv_func_va_copy+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18352 else
18353
18354 cat >conftest.$ac_ext <<_ACEOF
18355
18356 #include <stdarg.h>
18357 void foo(char *f, ...)
18358 {
18359 va_list ap1, ap2;
18360 va_start(ap1, f);
18361 va_copy(ap2, ap1);
18362 va_end(ap2);
18363 va_end(ap1);
18364 }
18365 int main()
18366 {
18367 return foo("hi", 17);
18368 }
18369 _ACEOF
18370 rm -f conftest.$ac_objext conftest$ac_exeext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18372 (eval $ac_link) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_c_werror_flag"
18380 || test ! -s conftest.err'
18381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18382 (eval $ac_try) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); }; } &&
18386 { ac_try='test -s conftest$ac_exeext'
18387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18388 (eval $ac_try) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); }; }; then
18392 wx_cv_func_va_copy=yes
18393 else
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18396
18397 wx_cv_func_va_copy=no
18398
18399 fi
18400 rm -f conftest.err conftest.$ac_objext \
18401 conftest$ac_exeext conftest.$ac_ext
18402
18403
18404 fi
18405 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
18406 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
18407
18408 if test $wx_cv_func_va_copy = "yes"; then
18409 cat >>confdefs.h <<\_ACEOF
18410 #define HAVE_VA_COPY 1
18411 _ACEOF
18412
18413 else
18414 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
18415 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
18416 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18418 else
18419
18420 if test "$cross_compiling" = yes; then
18421 wx_cv_type_va_list_lvalue=yes
18422
18423 else
18424 cat >conftest.$ac_ext <<_ACEOF
18425
18426 #include <stdarg.h>
18427 int foo(char *f, ...)
18428 {
18429 va_list ap1, ap2;
18430 va_start(ap1, f);
18431 ap2 = ap1;
18432 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
18433 return 1;
18434 va_end(ap2);
18435 va_end(ap1);
18436 return 0;
18437 }
18438 int main()
18439 {
18440 return foo("hi", 17);
18441 }
18442 _ACEOF
18443 rm -f conftest$ac_exeext
18444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18445 (eval $ac_link) 2>&5
18446 ac_status=$?
18447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18450 (eval $ac_try) 2>&5
18451 ac_status=$?
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); }; }; then
18454 wx_cv_type_va_list_lvalue=yes
18455 else
18456 echo "$as_me: program exited with status $ac_status" >&5
18457 echo "$as_me: failed program was:" >&5
18458 sed 's/^/| /' conftest.$ac_ext >&5
18459
18460 ( exit $ac_status )
18461 wx_cv_type_va_list_lvalue=no
18462 fi
18463 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18464 fi
18465
18466
18467 fi
18468 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
18469 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
18470
18471 if test $wx_cv_type_va_list_lvalue != "yes"; then
18472 cat >>confdefs.h <<\_ACEOF
18473 #define VA_LIST_IS_ARRAY 1
18474 _ACEOF
18475
18476 fi
18477 fi
18478
18479 # Check whether --enable-largefile or --disable-largefile was given.
18480 if test "${enable_largefile+set}" = set; then
18481 enableval="$enable_largefile"
18482
18483 fi;
18484 if test "$enable_largefile" != no; then
18485 wx_largefile=no
18486
18487 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18488 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18489 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18491 else
18492
18493 cat >conftest.$ac_ext <<_ACEOF
18494 /* confdefs.h. */
18495 _ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 #define _FILE_OFFSET_BITS 64
18500 #include <sys/types.h>
18501 int
18502 main ()
18503 {
18504 typedef struct {
18505 unsigned int field: sizeof(off_t) == 8;
18506 } wxlf;
18507
18508 ;
18509 return 0;
18510 }
18511 _ACEOF
18512 rm -f conftest.$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try='test -z "$ac_c_werror_flag"
18522 || test ! -s conftest.err'
18523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18524 (eval $ac_try) 2>&5
18525 ac_status=$?
18526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18527 (exit $ac_status); }; } &&
18528 { ac_try='test -s conftest.$ac_objext'
18529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 (eval $ac_try) 2>&5
18531 ac_status=$?
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); }; }; then
18534 ac_cv_sys_file_offset_bits=64
18535 else
18536 echo "$as_me: failed program was:" >&5
18537 sed 's/^/| /' conftest.$ac_ext >&5
18538
18539 ac_cv_sys_file_offset_bits=no
18540 fi
18541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18542
18543
18544 fi
18545 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18546 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18547
18548 if test "$ac_cv_sys_file_offset_bits" != no; then
18549 wx_largefile=yes
18550 cat >>confdefs.h <<_ACEOF
18551 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18552 _ACEOF
18553
18554 fi
18555
18556 if test "x$wx_largefile" != "xyes"; then
18557
18558 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18559 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18560 if test "${ac_cv_sys_large_files+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18562 else
18563
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #define _LARGE_FILES 1
18571 #include <sys/types.h>
18572 int
18573 main ()
18574 {
18575 typedef struct {
18576 unsigned int field: sizeof(off_t) == 8;
18577 } wxlf;
18578
18579 ;
18580 return 0;
18581 }
18582 _ACEOF
18583 rm -f conftest.$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -z "$ac_c_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 ac_cv_sys_large_files=1
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18609
18610 ac_cv_sys_large_files=no
18611 fi
18612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18613
18614
18615 fi
18616 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18617 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18618
18619 if test "$ac_cv_sys_large_files" != no; then
18620 wx_largefile=yes
18621 cat >>confdefs.h <<_ACEOF
18622 #define _LARGE_FILES $ac_cv_sys_large_files
18623 _ACEOF
18624
18625 fi
18626
18627 fi
18628
18629 echo "$as_me:$LINENO: checking if large file support is available" >&5
18630 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18631 if test "x$wx_largefile" = "xyes"; then
18632 cat >>confdefs.h <<\_ACEOF
18633 #define HAVE_LARGEFILE_SUPPORT 1
18634 _ACEOF
18635
18636 fi
18637 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18638 echo "${ECHO_T}$wx_largefile" >&6
18639 fi
18640
18641
18642 if test "x$wx_largefile" = "xyes"; then
18643 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18644 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18645 else
18646 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18647 fi
18648 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18649 fi
18650
18651 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18652 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18653 if test "${ac_cv_c_bigendian+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 else
18656 ac_cv_c_bigendian=unknown
18657 # See if sys/param.h defines the BYTE_ORDER macro.
18658 cat >conftest.$ac_ext <<_ACEOF
18659 /* confdefs.h. */
18660 _ACEOF
18661 cat confdefs.h >>conftest.$ac_ext
18662 cat >>conftest.$ac_ext <<_ACEOF
18663 /* end confdefs.h. */
18664 #include <sys/types.h>
18665 #include <sys/param.h>
18666 int
18667 main ()
18668 {
18669
18670 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18671 bogus endian macros
18672 #endif
18673 ;
18674 return 0;
18675 }
18676 _ACEOF
18677 rm -f conftest.$ac_objext
18678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18679 (eval $ac_compile) 2>conftest.er1
18680 ac_status=$?
18681 grep -v '^ *+' conftest.er1 >conftest.err
18682 rm -f conftest.er1
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } &&
18686 { ac_try='test -z "$ac_c_werror_flag"
18687 || test ! -s conftest.err'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18690 ac_status=$?
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; } &&
18693 { ac_try='test -s conftest.$ac_objext'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18696 ac_status=$?
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; }; then
18699 # It does; now see whether it defined to BIG_ENDIAN or not.
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 #include <sys/types.h>
18707 #include <sys/param.h>
18708 int
18709 main ()
18710 {
18711
18712 #if BYTE_ORDER != BIG_ENDIAN
18713 not big endian
18714 #endif
18715 ;
18716 return 0;
18717 }
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>conftest.er1
18722 ac_status=$?
18723 grep -v '^ *+' conftest.er1 >conftest.err
18724 rm -f conftest.er1
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try='test -z "$ac_c_werror_flag"
18729 || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest.$ac_objext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 ac_cv_c_bigendian=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 ac_cv_c_bigendian=no
18747 fi
18748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18749 else
18750 echo "$as_me: failed program was:" >&5
18751 sed 's/^/| /' conftest.$ac_ext >&5
18752
18753 fi
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18755 if test $ac_cv_c_bigendian = unknown; then
18756 if test "$cross_compiling" = yes; then
18757 ac_cv_c_bigendian=unknown
18758 else
18759 cat >conftest.$ac_ext <<_ACEOF
18760 /* confdefs.h. */
18761 _ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 main () {
18766 /* Are we little or big endian? From Harbison&Steele. */
18767 union
18768 {
18769 long l;
18770 char c[sizeof (long)];
18771 } u;
18772 u.l = 1;
18773 exit (u.c[sizeof (long) - 1] == 1);
18774 }
18775 _ACEOF
18776 rm -f conftest$ac_exeext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18778 (eval $ac_link) 2>&5
18779 ac_status=$?
18780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18784 ac_status=$?
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 ac_cv_c_bigendian=no
18788 else
18789 echo "$as_me: program exited with status $ac_status" >&5
18790 echo "$as_me: failed program was:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18792
18793 ( exit $ac_status )
18794 ac_cv_c_bigendian=yes
18795 fi
18796 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18797 fi
18798 fi
18799 fi
18800 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18801 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18802 if test $ac_cv_c_bigendian = unknown; then
18803 { 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
18804 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;}
18805 fi
18806 if test $ac_cv_c_bigendian = yes; then
18807 cat >>confdefs.h <<\_ACEOF
18808 #define WORDS_BIGENDIAN 1
18809 _ACEOF
18810
18811 fi
18812
18813
18814 ac_ext=cc
18815 ac_cpp='$CXXCPP $CPPFLAGS'
18816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18819 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18820 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18821 if test -z "$CXXCPP"; then
18822 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18824 else
18825 # Double quotes because CXXCPP needs to be expanded
18826 for CXXCPP in "$CXX -E" "/lib/cpp"
18827 do
18828 ac_preproc_ok=false
18829 for ac_cxx_preproc_warn_flag in '' yes
18830 do
18831 # Use a header file that comes with gcc, so configuring glibc
18832 # with a fresh cross-compiler works.
18833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18834 # <limits.h> exists even on freestanding compilers.
18835 # On the NeXT, cc -E runs the code through the compiler's parser,
18836 # not just through cpp. "Syntax error" is here to catch this case.
18837 cat >conftest.$ac_ext <<_ACEOF
18838 /* confdefs.h. */
18839 _ACEOF
18840 cat confdefs.h >>conftest.$ac_ext
18841 cat >>conftest.$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 #ifdef __STDC__
18844 # include <limits.h>
18845 #else
18846 # include <assert.h>
18847 #endif
18848 Syntax error
18849 _ACEOF
18850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18852 ac_status=$?
18853 grep -v '^ *+' conftest.er1 >conftest.err
18854 rm -f conftest.er1
18855 cat conftest.err >&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); } >/dev/null; then
18858 if test -s conftest.err; then
18859 ac_cpp_err=$ac_cxx_preproc_warn_flag
18860 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18861 else
18862 ac_cpp_err=
18863 fi
18864 else
18865 ac_cpp_err=yes
18866 fi
18867 if test -z "$ac_cpp_err"; then
18868 :
18869 else
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18872
18873 # Broken: fails on valid input.
18874 continue
18875 fi
18876 rm -f conftest.err conftest.$ac_ext
18877
18878 # OK, works on sane cases. Now check whether non-existent headers
18879 # can be detected and how.
18880 cat >conftest.$ac_ext <<_ACEOF
18881 /* confdefs.h. */
18882 _ACEOF
18883 cat confdefs.h >>conftest.$ac_ext
18884 cat >>conftest.$ac_ext <<_ACEOF
18885 /* end confdefs.h. */
18886 #include <ac_nonexistent.h>
18887 _ACEOF
18888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18889 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18890 ac_status=$?
18891 grep -v '^ *+' conftest.er1 >conftest.err
18892 rm -f conftest.er1
18893 cat conftest.err >&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } >/dev/null; then
18896 if test -s conftest.err; then
18897 ac_cpp_err=$ac_cxx_preproc_warn_flag
18898 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18899 else
18900 ac_cpp_err=
18901 fi
18902 else
18903 ac_cpp_err=yes
18904 fi
18905 if test -z "$ac_cpp_err"; then
18906 # Broken: success on invalid input.
18907 continue
18908 else
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18911
18912 # Passes both tests.
18913 ac_preproc_ok=:
18914 break
18915 fi
18916 rm -f conftest.err conftest.$ac_ext
18917
18918 done
18919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18920 rm -f conftest.err conftest.$ac_ext
18921 if $ac_preproc_ok; then
18922 break
18923 fi
18924
18925 done
18926 ac_cv_prog_CXXCPP=$CXXCPP
18927
18928 fi
18929 CXXCPP=$ac_cv_prog_CXXCPP
18930 else
18931 ac_cv_prog_CXXCPP=$CXXCPP
18932 fi
18933 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18934 echo "${ECHO_T}$CXXCPP" >&6
18935 ac_preproc_ok=false
18936 for ac_cxx_preproc_warn_flag in '' yes
18937 do
18938 # Use a header file that comes with gcc, so configuring glibc
18939 # with a fresh cross-compiler works.
18940 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18941 # <limits.h> exists even on freestanding compilers.
18942 # On the NeXT, cc -E runs the code through the compiler's parser,
18943 # not just through cpp. "Syntax error" is here to catch this case.
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950 #ifdef __STDC__
18951 # include <limits.h>
18952 #else
18953 # include <assert.h>
18954 #endif
18955 Syntax error
18956 _ACEOF
18957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18959 ac_status=$?
18960 grep -v '^ *+' conftest.er1 >conftest.err
18961 rm -f conftest.er1
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } >/dev/null; then
18965 if test -s conftest.err; then
18966 ac_cpp_err=$ac_cxx_preproc_warn_flag
18967 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18968 else
18969 ac_cpp_err=
18970 fi
18971 else
18972 ac_cpp_err=yes
18973 fi
18974 if test -z "$ac_cpp_err"; then
18975 :
18976 else
18977 echo "$as_me: failed program was:" >&5
18978 sed 's/^/| /' conftest.$ac_ext >&5
18979
18980 # Broken: fails on valid input.
18981 continue
18982 fi
18983 rm -f conftest.err conftest.$ac_ext
18984
18985 # OK, works on sane cases. Now check whether non-existent headers
18986 # can be detected and how.
18987 cat >conftest.$ac_ext <<_ACEOF
18988 /* confdefs.h. */
18989 _ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 #include <ac_nonexistent.h>
18994 _ACEOF
18995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18997 ac_status=$?
18998 grep -v '^ *+' conftest.er1 >conftest.err
18999 rm -f conftest.er1
19000 cat conftest.err >&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); } >/dev/null; then
19003 if test -s conftest.err; then
19004 ac_cpp_err=$ac_cxx_preproc_warn_flag
19005 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19006 else
19007 ac_cpp_err=
19008 fi
19009 else
19010 ac_cpp_err=yes
19011 fi
19012 if test -z "$ac_cpp_err"; then
19013 # Broken: success on invalid input.
19014 continue
19015 else
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.$ac_ext >&5
19018
19019 # Passes both tests.
19020 ac_preproc_ok=:
19021 break
19022 fi
19023 rm -f conftest.err conftest.$ac_ext
19024
19025 done
19026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19027 rm -f conftest.err conftest.$ac_ext
19028 if $ac_preproc_ok; then
19029 :
19030 else
19031 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19032 See \`config.log' for more details." >&5
19033 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
19034 See \`config.log' for more details." >&2;}
19035 { (exit 1); exit 1; }; }
19036 fi
19037
19038 ac_ext=cc
19039 ac_cpp='$CXXCPP $CPPFLAGS'
19040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19043
19044
19045
19046
19047
19048 ac_ext=cc
19049 ac_cpp='$CXXCPP $CPPFLAGS'
19050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19053
19054
19055
19056 for ac_header in iostream
19057 do
19058 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19060 echo "$as_me:$LINENO: checking for $ac_header" >&5
19061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19063 echo $ECHO_N "(cached) $ECHO_C" >&6
19064 fi
19065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19067 else
19068 # Is the header compilable?
19069 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19070 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19071 cat >conftest.$ac_ext <<_ACEOF
19072 /* confdefs.h. */
19073 _ACEOF
19074 cat confdefs.h >>conftest.$ac_ext
19075 cat >>conftest.$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19077 $ac_includes_default
19078 #include <$ac_header>
19079 _ACEOF
19080 rm -f conftest.$ac_objext
19081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19082 (eval $ac_compile) 2>conftest.er1
19083 ac_status=$?
19084 grep -v '^ *+' conftest.er1 >conftest.err
19085 rm -f conftest.er1
19086 cat conftest.err >&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); } &&
19089 { ac_try='test -z "$ac_cxx_werror_flag"
19090 || test ! -s conftest.err'
19091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19092 (eval $ac_try) 2>&5
19093 ac_status=$?
19094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19095 (exit $ac_status); }; } &&
19096 { ac_try='test -s conftest.$ac_objext'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19099 ac_status=$?
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; }; then
19102 ac_header_compiler=yes
19103 else
19104 echo "$as_me: failed program was:" >&5
19105 sed 's/^/| /' conftest.$ac_ext >&5
19106
19107 ac_header_compiler=no
19108 fi
19109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19110 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19111 echo "${ECHO_T}$ac_header_compiler" >&6
19112
19113 # Is the header present?
19114 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19115 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19116 cat >conftest.$ac_ext <<_ACEOF
19117 /* confdefs.h. */
19118 _ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 #include <$ac_header>
19123 _ACEOF
19124 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19125 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19126 ac_status=$?
19127 grep -v '^ *+' conftest.er1 >conftest.err
19128 rm -f conftest.er1
19129 cat conftest.err >&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); } >/dev/null; then
19132 if test -s conftest.err; then
19133 ac_cpp_err=$ac_cxx_preproc_warn_flag
19134 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19135 else
19136 ac_cpp_err=
19137 fi
19138 else
19139 ac_cpp_err=yes
19140 fi
19141 if test -z "$ac_cpp_err"; then
19142 ac_header_preproc=yes
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19146
19147 ac_header_preproc=no
19148 fi
19149 rm -f conftest.err conftest.$ac_ext
19150 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19151 echo "${ECHO_T}$ac_header_preproc" >&6
19152
19153 # So? What about this header?
19154 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19155 yes:no: )
19156 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19157 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19159 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19160 ac_header_preproc=yes
19161 ;;
19162 no:yes:* )
19163 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19164 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19165 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19166 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19168 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19169 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19170 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19173 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19174 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19175 (
19176 cat <<\_ASBOX
19177 ## ----------------------------------------- ##
19178 ## Report this to wx-dev@lists.wxwidgets.org ##
19179 ## ----------------------------------------- ##
19180 _ASBOX
19181 ) |
19182 sed "s/^/$as_me: WARNING: /" >&2
19183 ;;
19184 esac
19185 echo "$as_me:$LINENO: checking for $ac_header" >&5
19186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19189 else
19190 eval "$as_ac_Header=\$ac_header_preproc"
19191 fi
19192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19194
19195 fi
19196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19197 cat >>confdefs.h <<_ACEOF
19198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19199 _ACEOF
19200
19201 fi
19202
19203 done
19204
19205
19206 if test "$ac_cv_header_iostream" = "yes" ; then
19207 :
19208 else
19209 cat >>confdefs.h <<\_ACEOF
19210 #define wxUSE_IOSTREAMH 1
19211 _ACEOF
19212
19213 fi
19214
19215 ac_ext=c
19216 ac_cpp='$CPP $CPPFLAGS'
19217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19220
19221
19222
19223
19224 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
19225 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
19226 if test "${wx_cv_cpp_bool+set}" = set; then
19227 echo $ECHO_N "(cached) $ECHO_C" >&6
19228 else
19229
19230
19231
19232 ac_ext=cc
19233 ac_cpp='$CXXCPP $CPPFLAGS'
19234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19237
19238
19239 cat >conftest.$ac_ext <<_ACEOF
19240 /* confdefs.h. */
19241 _ACEOF
19242 cat confdefs.h >>conftest.$ac_ext
19243 cat >>conftest.$ac_ext <<_ACEOF
19244 /* end confdefs.h. */
19245
19246
19247 int
19248 main ()
19249 {
19250
19251 bool b = true;
19252
19253 return 0;
19254
19255 ;
19256 return 0;
19257 }
19258 _ACEOF
19259 rm -f conftest.$ac_objext
19260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19261 (eval $ac_compile) 2>conftest.er1
19262 ac_status=$?
19263 grep -v '^ *+' conftest.er1 >conftest.err
19264 rm -f conftest.er1
19265 cat conftest.err >&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try='test -z "$ac_cxx_werror_flag"
19269 || test ! -s conftest.err'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19272 ac_status=$?
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; } &&
19275 { ac_try='test -s conftest.$ac_objext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19278 ac_status=$?
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19281
19282 wx_cv_cpp_bool=yes
19283
19284 else
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.$ac_ext >&5
19287
19288
19289 wx_cv_cpp_bool=no
19290
19291
19292 fi
19293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19294
19295 ac_ext=c
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19300
19301
19302 fi
19303 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
19304 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
19305
19306 if test "$wx_cv_cpp_bool" = "yes"; then
19307 cat >>confdefs.h <<\_ACEOF
19308 #define HAVE_BOOL 1
19309 _ACEOF
19310
19311 fi
19312
19313
19314
19315 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
19316 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
19317 if test "${wx_cv_explicit+set}" = set; then
19318 echo $ECHO_N "(cached) $ECHO_C" >&6
19319 else
19320
19321
19322
19323 ac_ext=cc
19324 ac_cpp='$CXXCPP $CPPFLAGS'
19325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19328
19329
19330 cat >conftest.$ac_ext <<_ACEOF
19331 /* confdefs.h. */
19332 _ACEOF
19333 cat confdefs.h >>conftest.$ac_ext
19334 cat >>conftest.$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19336
19337 class Foo { public: explicit Foo(int) {} };
19338
19339 int
19340 main ()
19341 {
19342
19343 return 0;
19344
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 rm -f conftest.$ac_objext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19351 (eval $ac_compile) 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try='test -z "$ac_cxx_werror_flag"
19359 || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19362 ac_status=$?
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try='test -s conftest.$ac_objext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19371
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378
19379 class Foo { public: explicit Foo(int) {} };
19380 static void TakeFoo(const Foo& foo) { }
19381
19382 int
19383 main ()
19384 {
19385
19386 TakeFoo(17);
19387 return 0;
19388
19389 ;
19390 return 0;
19391 }
19392 _ACEOF
19393 rm -f conftest.$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>conftest.er1
19396 ac_status=$?
19397 grep -v '^ *+' conftest.er1 >conftest.err
19398 rm -f conftest.er1
19399 cat conftest.err >&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try='test -z "$ac_cxx_werror_flag"
19403 || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19406 ac_status=$?
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19412 ac_status=$?
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19415 wx_cv_explicit=no
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 wx_cv_explicit=yes
19421
19422 fi
19423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19424
19425 else
19426 echo "$as_me: failed program was:" >&5
19427 sed 's/^/| /' conftest.$ac_ext >&5
19428
19429 wx_cv_explicit=no
19430
19431 fi
19432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19433
19434 ac_ext=c
19435 ac_cpp='$CPP $CPPFLAGS'
19436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19439
19440
19441 fi
19442 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
19443 echo "${ECHO_T}$wx_cv_explicit" >&6
19444
19445 if test "$wx_cv_explicit" = "yes"; then
19446 cat >>confdefs.h <<\_ACEOF
19447 #define HAVE_EXPLICIT 1
19448 _ACEOF
19449
19450 fi
19451
19452
19453 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19454 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19455 if test "${ac_cv_cxx_const_cast+set}" = set; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19457 else
19458
19459
19460 ac_ext=cc
19461 ac_cpp='$CXXCPP $CPPFLAGS'
19462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19465
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472
19473 int
19474 main ()
19475 {
19476 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19477 ;
19478 return 0;
19479 }
19480 _ACEOF
19481 rm -f conftest.$ac_objext
19482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19483 (eval $ac_compile) 2>conftest.er1
19484 ac_status=$?
19485 grep -v '^ *+' conftest.er1 >conftest.err
19486 rm -f conftest.er1
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } &&
19490 { ac_try='test -z "$ac_cxx_werror_flag"
19491 || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19494 ac_status=$?
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 ac_cv_cxx_const_cast=yes
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19507
19508 ac_cv_cxx_const_cast=no
19509 fi
19510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19511 ac_ext=c
19512 ac_cpp='$CPP $CPPFLAGS'
19513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19516
19517
19518 fi
19519 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19520 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19521 if test "$ac_cv_cxx_const_cast" = yes; then
19522
19523 cat >>confdefs.h <<\_ACEOF
19524 #define HAVE_CONST_CAST
19525 _ACEOF
19526
19527 fi
19528
19529 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
19530 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
19531 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
19532 echo $ECHO_N "(cached) $ECHO_C" >&6
19533 else
19534
19535
19536 ac_ext=cc
19537 ac_cpp='$CXXCPP $CPPFLAGS'
19538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19541
19542 cat >conftest.$ac_ext <<_ACEOF
19543 /* confdefs.h. */
19544 _ACEOF
19545 cat confdefs.h >>conftest.$ac_ext
19546 cat >>conftest.$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 #include <typeinfo>
19549 class Base { public : Base () {} virtual void f () = 0;};
19550 class Derived : public Base { public : Derived () {} virtual void f () {} };
19551 class Unrelated { public : Unrelated () {} };
19552 int g (Unrelated&) { return 0; }
19553 int
19554 main ()
19555 {
19556
19557 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
19558 ;
19559 return 0;
19560 }
19561 _ACEOF
19562 rm -f conftest.$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } &&
19571 { ac_try='test -z "$ac_cxx_werror_flag"
19572 || test ! -s conftest.err'
19573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19574 (eval $ac_try) 2>&5
19575 ac_status=$?
19576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19577 (exit $ac_status); }; } &&
19578 { ac_try='test -s conftest.$ac_objext'
19579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19580 (eval $ac_try) 2>&5
19581 ac_status=$?
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); }; }; then
19584 ac_cv_cxx_reinterpret_cast=yes
19585 else
19586 echo "$as_me: failed program was:" >&5
19587 sed 's/^/| /' conftest.$ac_ext >&5
19588
19589 ac_cv_cxx_reinterpret_cast=no
19590 fi
19591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19592 ac_ext=c
19593 ac_cpp='$CPP $CPPFLAGS'
19594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19597
19598
19599 fi
19600 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
19601 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
19602 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
19603
19604 cat >>confdefs.h <<\_ACEOF
19605 #define HAVE_REINTERPRET_CAST
19606 _ACEOF
19607
19608 fi
19609
19610 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19611 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19612 if test "${ac_cv_cxx_static_cast+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19614 else
19615
19616
19617 ac_ext=cc
19618 ac_cpp='$CXXCPP $CPPFLAGS'
19619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19622
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 #include <typeinfo>
19630 class Base { public : Base () {} virtual void f () = 0; };
19631 class Derived : public Base { public : Derived () {} virtual void f () {} };
19632 int g (Derived&) { return 0; }
19633 int
19634 main ()
19635 {
19636
19637 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19638 ;
19639 return 0;
19640 }
19641 _ACEOF
19642 rm -f conftest.$ac_objext
19643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19644 (eval $ac_compile) 2>conftest.er1
19645 ac_status=$?
19646 grep -v '^ *+' conftest.er1 >conftest.err
19647 rm -f conftest.er1
19648 cat conftest.err >&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try='test -z "$ac_cxx_werror_flag"
19652 || test ! -s conftest.err'
19653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19654 (eval $ac_try) 2>&5
19655 ac_status=$?
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try='test -s conftest.$ac_objext'
19659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19660 (eval $ac_try) 2>&5
19661 ac_status=$?
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); }; }; then
19664 ac_cv_cxx_static_cast=yes
19665 else
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19668
19669 ac_cv_cxx_static_cast=no
19670 fi
19671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19672 ac_ext=c
19673 ac_cpp='$CPP $CPPFLAGS'
19674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19677
19678
19679 fi
19680 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19681 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19682 if test "$ac_cv_cxx_static_cast" = yes; then
19683
19684 cat >>confdefs.h <<\_ACEOF
19685 #define HAVE_STATIC_CAST
19686 _ACEOF
19687
19688 fi
19689
19690
19691 if test "$wxUSE_STL" = "yes"; then
19692 ac_ext=cc
19693 ac_cpp='$CXXCPP $CPPFLAGS'
19694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19697
19698
19699 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19700 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19701 cat >conftest.$ac_ext <<_ACEOF
19702 /* confdefs.h. */
19703 _ACEOF
19704 cat confdefs.h >>conftest.$ac_ext
19705 cat >>conftest.$ac_ext <<_ACEOF
19706 /* end confdefs.h. */
19707 #include <string>
19708 #include <functional>
19709 #include <algorithm>
19710 #include <vector>
19711 #include <list>
19712 int
19713 main ()
19714 {
19715 std::vector<int> moo;
19716 std::list<int> foo;
19717 std::vector<int>::iterator it =
19718 std::find_if(moo.begin(), moo.end(),
19719 std::bind2nd(std::less<int>(), 3));
19720 ;
19721 return 0;
19722 }
19723 _ACEOF
19724 rm -f conftest.$ac_objext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19726 (eval $ac_compile) 2>conftest.er1
19727 ac_status=$?
19728 grep -v '^ *+' conftest.er1 >conftest.err
19729 rm -f conftest.er1
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } &&
19733 { ac_try='test -z "$ac_cxx_werror_flag"
19734 || test ! -s conftest.err'
19735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19736 (eval $ac_try) 2>&5
19737 ac_status=$?
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); }; } &&
19740 { ac_try='test -s conftest.$ac_objext'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 echo "$as_me:$LINENO: result: yes" >&5
19747 echo "${ECHO_T}yes" >&6
19748 else
19749 echo "$as_me: failed program was:" >&5
19750 sed 's/^/| /' conftest.$ac_ext >&5
19751
19752 echo "$as_me:$LINENO: result: no" >&5
19753 echo "${ECHO_T}no" >&6
19754 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19755 echo "$as_me: error: Basic STL functionality missing" >&2;}
19756 { (exit 1); exit 1; }; }
19757 fi
19758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19759
19760 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19761 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19762 cat >conftest.$ac_ext <<_ACEOF
19763 /* confdefs.h. */
19764 _ACEOF
19765 cat confdefs.h >>conftest.$ac_ext
19766 cat >>conftest.$ac_ext <<_ACEOF
19767 /* end confdefs.h. */
19768 #include <string>
19769 int
19770 main ()
19771 {
19772 std::wstring foo;
19773 ;
19774 return 0;
19775 }
19776 _ACEOF
19777 rm -f conftest.$ac_objext
19778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19779 (eval $ac_compile) 2>conftest.er1
19780 ac_status=$?
19781 grep -v '^ *+' conftest.er1 >conftest.err
19782 rm -f conftest.er1
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } &&
19786 { ac_try='test -z "$ac_cxx_werror_flag"
19787 || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19790 ac_status=$?
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try='test -s conftest.$ac_objext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19796 ac_status=$?
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 echo "$as_me:$LINENO: result: yes" >&5
19800 echo "${ECHO_T}yes" >&6
19801 cat >>confdefs.h <<\_ACEOF
19802 #define HAVE_STD_WSTRING 1
19803 _ACEOF
19804
19805 else
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19808
19809 echo "$as_me:$LINENO: result: no" >&5
19810 echo "${ECHO_T}no" >&6
19811 fi
19812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19813
19814 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19815 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 #include <string>
19823 int
19824 main ()
19825 {
19826 std::string foo, bar;
19827 foo.compare(bar);
19828 foo.compare(1, 1, bar);
19829 foo.compare(1, 1, bar, 1, 1);
19830 foo.compare("");
19831 foo.compare(1, 1, "");
19832 foo.compare(1, 1, "", 2);
19833 ;
19834 return 0;
19835 }
19836 _ACEOF
19837 rm -f conftest.$ac_objext
19838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19839 (eval $ac_compile) 2>conftest.er1
19840 ac_status=$?
19841 grep -v '^ *+' conftest.er1 >conftest.err
19842 rm -f conftest.er1
19843 cat conftest.err >&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } &&
19846 { ac_try='test -z "$ac_cxx_werror_flag"
19847 || test ! -s conftest.err'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19850 ac_status=$?
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; } &&
19853 { ac_try='test -s conftest.$ac_objext'
19854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19855 (eval $ac_try) 2>&5
19856 ac_status=$?
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19859 echo "$as_me:$LINENO: result: yes" >&5
19860 echo "${ECHO_T}yes" >&6
19861 cat >>confdefs.h <<\_ACEOF
19862 #define HAVE_STD_STRING_COMPARE 1
19863 _ACEOF
19864
19865 else
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.$ac_ext >&5
19868
19869 echo "$as_me:$LINENO: result: no" >&5
19870 echo "${ECHO_T}no" >&6
19871 fi
19872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19873
19874 if test "${ac_cv_header_hash_map+set}" = set; then
19875 echo "$as_me:$LINENO: checking for hash_map" >&5
19876 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
19877 if test "${ac_cv_header_hash_map+set}" = set; then
19878 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 fi
19880 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
19881 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
19882 else
19883 # Is the header compilable?
19884 echo "$as_me:$LINENO: checking hash_map usability" >&5
19885 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
19886 cat >conftest.$ac_ext <<_ACEOF
19887 /* confdefs.h. */
19888 _ACEOF
19889 cat confdefs.h >>conftest.$ac_ext
19890 cat >>conftest.$ac_ext <<_ACEOF
19891 /* end confdefs.h. */
19892 $ac_includes_default
19893 #include <hash_map>
19894 _ACEOF
19895 rm -f conftest.$ac_objext
19896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19897 (eval $ac_compile) 2>conftest.er1
19898 ac_status=$?
19899 grep -v '^ *+' conftest.er1 >conftest.err
19900 rm -f conftest.er1
19901 cat conftest.err >&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); } &&
19904 { ac_try='test -z "$ac_cxx_werror_flag"
19905 || test ! -s conftest.err'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19908 ac_status=$?
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; } &&
19911 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19917 ac_header_compiler=yes
19918 else
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.$ac_ext >&5
19921
19922 ac_header_compiler=no
19923 fi
19924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19926 echo "${ECHO_T}$ac_header_compiler" >&6
19927
19928 # Is the header present?
19929 echo "$as_me:$LINENO: checking hash_map presence" >&5
19930 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
19931 cat >conftest.$ac_ext <<_ACEOF
19932 /* confdefs.h. */
19933 _ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19937 #include <hash_map>
19938 _ACEOF
19939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19941 ac_status=$?
19942 grep -v '^ *+' conftest.er1 >conftest.err
19943 rm -f conftest.er1
19944 cat conftest.err >&5
19945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19946 (exit $ac_status); } >/dev/null; then
19947 if test -s conftest.err; then
19948 ac_cpp_err=$ac_cxx_preproc_warn_flag
19949 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
19950 else
19951 ac_cpp_err=
19952 fi
19953 else
19954 ac_cpp_err=yes
19955 fi
19956 if test -z "$ac_cpp_err"; then
19957 ac_header_preproc=yes
19958 else
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19961
19962 ac_header_preproc=no
19963 fi
19964 rm -f conftest.err conftest.$ac_ext
19965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19966 echo "${ECHO_T}$ac_header_preproc" >&6
19967
19968 # So? What about this header?
19969 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
19970 yes:no: )
19971 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
19972 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
19973 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
19974 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
19975 ac_header_preproc=yes
19976 ;;
19977 no:yes:* )
19978 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
19979 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
19980 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
19981 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
19982 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
19983 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
19984 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
19985 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
19986 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
19987 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
19988 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
19989 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
19990 (
19991 cat <<\_ASBOX
19992 ## ----------------------------------------- ##
19993 ## Report this to wx-dev@lists.wxwidgets.org ##
19994 ## ----------------------------------------- ##
19995 _ASBOX
19996 ) |
19997 sed "s/^/$as_me: WARNING: /" >&2
19998 ;;
19999 esac
20000 echo "$as_me:$LINENO: checking for hash_map" >&5
20001 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
20002 if test "${ac_cv_header_hash_map+set}" = set; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 else
20005 ac_cv_header_hash_map=$ac_header_preproc
20006 fi
20007 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
20008 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
20009
20010 fi
20011 if test $ac_cv_header_hash_map = yes; then
20012 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20013 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20014 cat >conftest.$ac_ext <<_ACEOF
20015 /* confdefs.h. */
20016 _ACEOF
20017 cat confdefs.h >>conftest.$ac_ext
20018 cat >>conftest.$ac_ext <<_ACEOF
20019 /* end confdefs.h. */
20020 #include <hash_map>
20021 #include <hash_set>
20022 int
20023 main ()
20024 {
20025 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
20026 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
20027 ;
20028 return 0;
20029 }
20030 _ACEOF
20031 rm -f conftest.$ac_objext
20032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 (eval $ac_compile) 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } &&
20040 { ac_try='test -z "$ac_cxx_werror_flag"
20041 || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20044 ac_status=$?
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try='test -s conftest.$ac_objext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20050 ac_status=$?
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 echo "$as_me:$LINENO: result: yes" >&5
20054 echo "${ECHO_T}yes" >&6
20055 cat >>confdefs.h <<\_ACEOF
20056 #define HAVE_HASH_MAP 1
20057 _ACEOF
20058
20059 cat >>confdefs.h <<\_ACEOF
20060 #define HAVE_STD_HASH_MAP 1
20061 _ACEOF
20062
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20066
20067 echo "$as_me:$LINENO: result: no" >&5
20068 echo "${ECHO_T}no" >&6
20069 fi
20070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20071
20072 fi
20073
20074
20075
20076 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20077 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20078 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20079 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 fi
20082 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20083 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20084 else
20085 # Is the header compilable?
20086 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
20087 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 $ac_includes_default
20095 #include <ext/hash_map>
20096 _ACEOF
20097 rm -f conftest.$ac_objext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20099 (eval $ac_compile) 2>conftest.er1
20100 ac_status=$?
20101 grep -v '^ *+' conftest.er1 >conftest.err
20102 rm -f conftest.er1
20103 cat conftest.err >&5
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } &&
20106 { ac_try='test -z "$ac_cxx_werror_flag"
20107 || test ! -s conftest.err'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; } &&
20113 { ac_try='test -s conftest.$ac_objext'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; }; then
20119 ac_header_compiler=yes
20120 else
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 ac_header_compiler=no
20125 fi
20126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20128 echo "${ECHO_T}$ac_header_compiler" >&6
20129
20130 # Is the header present?
20131 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
20132 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 #include <ext/hash_map>
20140 _ACEOF
20141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20143 ac_status=$?
20144 grep -v '^ *+' conftest.er1 >conftest.err
20145 rm -f conftest.er1
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } >/dev/null; then
20149 if test -s conftest.err; then
20150 ac_cpp_err=$ac_cxx_preproc_warn_flag
20151 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20152 else
20153 ac_cpp_err=
20154 fi
20155 else
20156 ac_cpp_err=yes
20157 fi
20158 if test -z "$ac_cpp_err"; then
20159 ac_header_preproc=yes
20160 else
20161 echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.$ac_ext >&5
20163
20164 ac_header_preproc=no
20165 fi
20166 rm -f conftest.err conftest.$ac_ext
20167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20168 echo "${ECHO_T}$ac_header_preproc" >&6
20169
20170 # So? What about this header?
20171 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20172 yes:no: )
20173 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
20174 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
20175 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
20176 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
20177 ac_header_preproc=yes
20178 ;;
20179 no:yes:* )
20180 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
20181 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
20182 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
20183 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
20184 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
20185 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
20186 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
20187 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
20188 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
20189 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
20190 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
20191 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
20192 (
20193 cat <<\_ASBOX
20194 ## ----------------------------------------- ##
20195 ## Report this to wx-dev@lists.wxwidgets.org ##
20196 ## ----------------------------------------- ##
20197 _ASBOX
20198 ) |
20199 sed "s/^/$as_me: WARNING: /" >&2
20200 ;;
20201 esac
20202 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
20203 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
20204 if test "${ac_cv_header_ext_hash_map+set}" = set; then
20205 echo $ECHO_N "(cached) $ECHO_C" >&6
20206 else
20207 ac_cv_header_ext_hash_map=$ac_header_preproc
20208 fi
20209 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
20210 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
20211
20212 fi
20213 if test $ac_cv_header_ext_hash_map = yes; then
20214 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
20215 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
20216 cat >conftest.$ac_ext <<_ACEOF
20217 /* confdefs.h. */
20218 _ACEOF
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 #include <ext/hash_map>
20223 #include <ext/hash_set>
20224 int
20225 main ()
20226 {
20227 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
20228 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest.$ac_objext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20235 (eval $ac_compile) 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_cxx_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20252 ac_status=$?
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 echo "$as_me:$LINENO: result: yes" >&5
20256 echo "${ECHO_T}yes" >&6
20257 cat >>confdefs.h <<\_ACEOF
20258 #define HAVE_EXT_HASH_MAP 1
20259 _ACEOF
20260
20261 cat >>confdefs.h <<\_ACEOF
20262 #define HAVE_GNU_CXX_HASH_MAP 1
20263 _ACEOF
20264
20265 else
20266 echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.$ac_ext >&5
20268
20269 echo "$as_me:$LINENO: result: no" >&5
20270 echo "${ECHO_T}no" >&6
20271 fi
20272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20273
20274 fi
20275
20276
20277
20278 ac_ext=c
20279 ac_cpp='$CPP $CPPFLAGS'
20280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20283
20284 fi
20285
20286
20287 SEARCH_INCLUDE="\
20288 /usr/local/include \
20289 \
20290 /usr/Motif-2.1/include \
20291 /usr/Motif-1.2/include \
20292 /usr/include/Motif1.2 \
20293 /opt/xpm/include/X11 \
20294 /opt/GBxpm/include/ \
20295 /opt/GBxpm/X11/include/ \
20296 \
20297 /usr/dt/include \
20298 /usr/openwin/include \
20299 \
20300 /usr/include/Xm \
20301 \
20302 /usr/X11R6/include \
20303 /usr/X11R6.4/include \
20304 /usr/X11R5/include \
20305 /usr/X11R4/include \
20306 \
20307 /usr/include/X11R6 \
20308 /usr/include/X11R5 \
20309 /usr/include/X11R4 \
20310 \
20311 /usr/local/X11R6/include \
20312 /usr/local/X11R5/include \
20313 /usr/local/X11R4/include \
20314 \
20315 /usr/local/include/X11R6 \
20316 /usr/local/include/X11R5 \
20317 /usr/local/include/X11R4 \
20318 \
20319 /usr/X11/include \
20320 /usr/include/X11 \
20321 /usr/local/X11/include \
20322 /usr/local/include/X11 \
20323 \
20324 /usr/X386/include \
20325 /usr/x386/include \
20326 /usr/XFree86/include/X11 \
20327 \
20328 X:/XFree86/include \
20329 X:/XFree86/include/X11 \
20330 \
20331 /usr/include/gtk \
20332 /usr/local/include/gtk \
20333 /usr/include/glib \
20334 /usr/local/include/glib \
20335 \
20336 /usr/include/qt \
20337 /usr/local/include/qt \
20338 \
20339 /usr/local/arm/3.3.2/include \
20340 \
20341 /usr/include/windows \
20342 /usr/include/wine \
20343 /usr/local/include/wine \
20344 \
20345 /usr/unsupported/include \
20346 /usr/athena/include \
20347 /usr/local/x11r5/include \
20348 /usr/lpp/Xamples/include \
20349 \
20350 /usr/openwin/share/include"
20351
20352 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
20353
20354
20355 cat >confcache <<\_ACEOF
20356 # This file is a shell script that caches the results of configure
20357 # tests run on this system so they can be shared between configure
20358 # scripts and configure runs, see configure's option --config-cache.
20359 # It is not useful on other systems. If it contains results you don't
20360 # want to keep, you may remove or edit it.
20361 #
20362 # config.status only pays attention to the cache file if you give it
20363 # the --recheck option to rerun configure.
20364 #
20365 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20366 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20367 # following values.
20368
20369 _ACEOF
20370
20371 # The following way of writing the cache mishandles newlines in values,
20372 # but we know of no workaround that is simple, portable, and efficient.
20373 # So, don't put newlines in cache variables' values.
20374 # Ultrix sh set writes to stderr and can't be redirected directly,
20375 # and sets the high bit in the cache file unless we assign to the vars.
20376 {
20377 (set) 2>&1 |
20378 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20379 *ac_space=\ *)
20380 # `set' does not quote correctly, so add quotes (double-quote
20381 # substitution turns \\\\ into \\, and sed turns \\ into \).
20382 sed -n \
20383 "s/'/'\\\\''/g;
20384 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20385 ;;
20386 *)
20387 # `set' quotes correctly as required by POSIX, so do not add quotes.
20388 sed -n \
20389 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20390 ;;
20391 esac;
20392 } |
20393 sed '
20394 t clear
20395 : clear
20396 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20397 t end
20398 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20399 : end' >>confcache
20400 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20401 if test -w $cache_file; then
20402 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20403 cat confcache >$cache_file
20404 else
20405 echo "not updating unwritable cache $cache_file"
20406 fi
20407 fi
20408 rm -f confcache
20409
20410 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
20411 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
20412 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
20413 if test "${wx_cv_lib_glibc21+set}" = set; then
20414 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 else
20416
20417 cat >conftest.$ac_ext <<_ACEOF
20418 /* confdefs.h. */
20419 _ACEOF
20420 cat confdefs.h >>conftest.$ac_ext
20421 cat >>conftest.$ac_ext <<_ACEOF
20422 /* end confdefs.h. */
20423 #include <features.h>
20424 int
20425 main ()
20426 {
20427
20428 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
20429 #error not glibc2.1
20430 #endif
20431
20432 ;
20433 return 0;
20434 }
20435 _ACEOF
20436 rm -f conftest.$ac_objext
20437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20438 (eval $ac_compile) 2>conftest.er1
20439 ac_status=$?
20440 grep -v '^ *+' conftest.er1 >conftest.err
20441 rm -f conftest.er1
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } &&
20445 { ac_try='test -z "$ac_c_werror_flag"
20446 || test ! -s conftest.err'
20447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448 (eval $ac_try) 2>&5
20449 ac_status=$?
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; } &&
20452 { ac_try='test -s conftest.$ac_objext'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20455 ac_status=$?
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; }; then
20458
20459 wx_cv_lib_glibc21=yes
20460
20461 else
20462 echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20464
20465
20466 wx_cv_lib_glibc21=no
20467
20468
20469 fi
20470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20471
20472 fi
20473 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
20474 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
20475 if test "$wx_cv_lib_glibc21" = "yes"; then
20476 cat >>confdefs.h <<\_ACEOF
20477 #define wxHAVE_GLIBC2 1
20478 _ACEOF
20479
20480 fi
20481 fi
20482
20483 if test "x$wx_cv_lib_glibc21" = "xyes"; then
20484 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
20485 cat >>confdefs.h <<\_ACEOF
20486 #define _GNU_SOURCE 1
20487 _ACEOF
20488
20489 fi
20490 fi
20491
20492
20493
20494 if test "$wxUSE_REGEX" != "no"; then
20495 cat >>confdefs.h <<\_ACEOF
20496 #define wxUSE_REGEX 1
20497 _ACEOF
20498
20499
20500 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
20501 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
20502 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
20503 wxUSE_REGEX=builtin
20504 fi
20505
20506 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
20507 if test "${ac_cv_header_regex_h+set}" = set; then
20508 echo "$as_me:$LINENO: checking for regex.h" >&5
20509 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20510 if test "${ac_cv_header_regex_h+set}" = set; then
20511 echo $ECHO_N "(cached) $ECHO_C" >&6
20512 fi
20513 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20514 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20515 else
20516 # Is the header compilable?
20517 echo "$as_me:$LINENO: checking regex.h usability" >&5
20518 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
20519 cat >conftest.$ac_ext <<_ACEOF
20520 /* confdefs.h. */
20521 _ACEOF
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 $ac_includes_default
20526 #include <regex.h>
20527 _ACEOF
20528 rm -f conftest.$ac_objext
20529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20530 (eval $ac_compile) 2>conftest.er1
20531 ac_status=$?
20532 grep -v '^ *+' conftest.er1 >conftest.err
20533 rm -f conftest.er1
20534 cat conftest.err >&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } &&
20537 { ac_try='test -z "$ac_c_werror_flag"
20538 || test ! -s conftest.err'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; } &&
20544 { ac_try='test -s conftest.$ac_objext'
20545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20546 (eval $ac_try) 2>&5
20547 ac_status=$?
20548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549 (exit $ac_status); }; }; then
20550 ac_header_compiler=yes
20551 else
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20554
20555 ac_header_compiler=no
20556 fi
20557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20558 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20559 echo "${ECHO_T}$ac_header_compiler" >&6
20560
20561 # Is the header present?
20562 echo "$as_me:$LINENO: checking regex.h presence" >&5
20563 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
20564 cat >conftest.$ac_ext <<_ACEOF
20565 /* confdefs.h. */
20566 _ACEOF
20567 cat confdefs.h >>conftest.$ac_ext
20568 cat >>conftest.$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20570 #include <regex.h>
20571 _ACEOF
20572 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20573 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
20580 if test -s conftest.err; then
20581 ac_cpp_err=$ac_c_preproc_warn_flag
20582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20583 else
20584 ac_cpp_err=
20585 fi
20586 else
20587 ac_cpp_err=yes
20588 fi
20589 if test -z "$ac_cpp_err"; then
20590 ac_header_preproc=yes
20591 else
20592 echo "$as_me: failed program was:" >&5
20593 sed 's/^/| /' conftest.$ac_ext >&5
20594
20595 ac_header_preproc=no
20596 fi
20597 rm -f conftest.err conftest.$ac_ext
20598 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20599 echo "${ECHO_T}$ac_header_preproc" >&6
20600
20601 # So? What about this header?
20602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20603 yes:no: )
20604 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
20605 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20606 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
20607 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
20608 ac_header_preproc=yes
20609 ;;
20610 no:yes:* )
20611 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
20612 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
20613 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
20614 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
20615 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
20616 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
20617 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
20618 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
20619 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
20620 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
20621 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
20622 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
20623 (
20624 cat <<\_ASBOX
20625 ## ----------------------------------------- ##
20626 ## Report this to wx-dev@lists.wxwidgets.org ##
20627 ## ----------------------------------------- ##
20628 _ASBOX
20629 ) |
20630 sed "s/^/$as_me: WARNING: /" >&2
20631 ;;
20632 esac
20633 echo "$as_me:$LINENO: checking for regex.h" >&5
20634 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
20635 if test "${ac_cv_header_regex_h+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 else
20638 ac_cv_header_regex_h=$ac_header_preproc
20639 fi
20640 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
20641 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
20642
20643 fi
20644 if test $ac_cv_header_regex_h = yes; then
20645
20646 for ac_func in regcomp
20647 do
20648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20649 echo "$as_me:$LINENO: checking for $ac_func" >&5
20650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20651 if eval "test \"\${$as_ac_var+set}\" = set"; then
20652 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 else
20654 cat >conftest.$ac_ext <<_ACEOF
20655 /* confdefs.h. */
20656 _ACEOF
20657 cat confdefs.h >>conftest.$ac_ext
20658 cat >>conftest.$ac_ext <<_ACEOF
20659 /* end confdefs.h. */
20660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20662 #define $ac_func innocuous_$ac_func
20663
20664 /* System header to define __stub macros and hopefully few prototypes,
20665 which can conflict with char $ac_func (); below.
20666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20667 <limits.h> exists even on freestanding compilers. */
20668
20669 #ifdef __STDC__
20670 # include <limits.h>
20671 #else
20672 # include <assert.h>
20673 #endif
20674
20675 #undef $ac_func
20676
20677 /* Override any gcc2 internal prototype to avoid an error. */
20678 #ifdef __cplusplus
20679 extern "C"
20680 {
20681 #endif
20682 /* We use char because int might match the return type of a gcc2
20683 builtin and then its argument prototype would still apply. */
20684 char $ac_func ();
20685 /* The GNU C library defines this for functions which it implements
20686 to always fail with ENOSYS. Some functions are actually named
20687 something starting with __ and the normal name is an alias. */
20688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20689 choke me
20690 #else
20691 char (*f) () = $ac_func;
20692 #endif
20693 #ifdef __cplusplus
20694 }
20695 #endif
20696
20697 int
20698 main ()
20699 {
20700 return f != $ac_func;
20701 ;
20702 return 0;
20703 }
20704 _ACEOF
20705 rm -f conftest.$ac_objext conftest$ac_exeext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20707 (eval $ac_link) 2>conftest.er1
20708 ac_status=$?
20709 grep -v '^ *+' conftest.er1 >conftest.err
20710 rm -f conftest.er1
20711 cat conftest.err >&5
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); } &&
20714 { ac_try='test -z "$ac_c_werror_flag"
20715 || test ! -s conftest.err'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20718 ac_status=$?
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; } &&
20721 { ac_try='test -s conftest$ac_exeext'
20722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723 (eval $ac_try) 2>&5
20724 ac_status=$?
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); }; }; then
20727 eval "$as_ac_var=yes"
20728 else
20729 echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.$ac_ext >&5
20731
20732 eval "$as_ac_var=no"
20733 fi
20734 rm -f conftest.err conftest.$ac_objext \
20735 conftest$ac_exeext conftest.$ac_ext
20736 fi
20737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20739 if test `eval echo '${'$as_ac_var'}'` = yes; then
20740 cat >>confdefs.h <<_ACEOF
20741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20742 _ACEOF
20743
20744 fi
20745 done
20746
20747 fi
20748
20749
20750
20751 if test "x$ac_cv_func_regcomp" != "xyes"; then
20752 if test "$wxUSE_REGEX" = "sys" ; then
20753 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
20754 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
20755 { (exit 1); exit 1; }; }
20756 else
20757 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
20758 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
20759 wxUSE_REGEX=builtin
20760 fi
20761 else
20762 wxUSE_REGEX=sys
20763 cat >>confdefs.h <<\_ACEOF
20764 #define WX_NO_REGEX_ADVANCED 1
20765 _ACEOF
20766
20767 fi
20768 fi
20769 fi
20770
20771
20772 ZLIB_LINK=
20773 if test "$wxUSE_ZLIB" != "no" ; then
20774 cat >>confdefs.h <<\_ACEOF
20775 #define wxUSE_ZLIB 1
20776 _ACEOF
20777
20778
20779 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
20780 if test "$USE_DARWIN" = 1; then
20781 system_zlib_h_ok="yes"
20782 else
20783 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
20784 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
20785 if test "${ac_cv_header_zlib_h+set}" = set; then
20786 echo $ECHO_N "(cached) $ECHO_C" >&6
20787 else
20788 if test "$cross_compiling" = yes; then
20789 unset ac_cv_header_zlib_h
20790
20791 else
20792 cat >conftest.$ac_ext <<_ACEOF
20793 /* confdefs.h. */
20794 _ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798
20799 #include <zlib.h>
20800 #include <stdio.h>
20801
20802 int main()
20803 {
20804 FILE *f=fopen("conftestval", "w");
20805 if (!f) exit(1);
20806 fprintf(f, "%s",
20807 ZLIB_VERSION[0] == '1' &&
20808 (ZLIB_VERSION[2] > '1' ||
20809 (ZLIB_VERSION[2] == '1' &&
20810 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
20811 exit(0);
20812 }
20813
20814 _ACEOF
20815 rm -f conftest$ac_exeext
20816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20817 (eval $ac_link) 2>&5
20818 ac_status=$?
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; }; then
20826 ac_cv_header_zlib_h=`cat conftestval`
20827 else
20828 echo "$as_me: program exited with status $ac_status" >&5
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20831
20832 ( exit $ac_status )
20833 ac_cv_header_zlib_h=no
20834 fi
20835 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20836 fi
20837
20838 fi
20839 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20840 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20841 if test "${ac_cv_header_zlib_h+set}" = set; then
20842 echo "$as_me:$LINENO: checking for zlib.h" >&5
20843 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20844 if test "${ac_cv_header_zlib_h+set}" = set; then
20845 echo $ECHO_N "(cached) $ECHO_C" >&6
20846 fi
20847 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20848 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20849 else
20850 # Is the header compilable?
20851 echo "$as_me:$LINENO: checking zlib.h usability" >&5
20852 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
20853 cat >conftest.$ac_ext <<_ACEOF
20854 /* confdefs.h. */
20855 _ACEOF
20856 cat confdefs.h >>conftest.$ac_ext
20857 cat >>conftest.$ac_ext <<_ACEOF
20858 /* end confdefs.h. */
20859 $ac_includes_default
20860 #include <zlib.h>
20861 _ACEOF
20862 rm -f conftest.$ac_objext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20864 (eval $ac_compile) 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try='test -z "$ac_c_werror_flag"
20872 || test ! -s conftest.err'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; } &&
20878 { ac_try='test -s conftest.$ac_objext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20881 ac_status=$?
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 ac_header_compiler=yes
20885 else
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.$ac_ext >&5
20888
20889 ac_header_compiler=no
20890 fi
20891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20893 echo "${ECHO_T}$ac_header_compiler" >&6
20894
20895 # Is the header present?
20896 echo "$as_me:$LINENO: checking zlib.h presence" >&5
20897 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
20898 cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h. */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 #include <zlib.h>
20905 _ACEOF
20906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20908 ac_status=$?
20909 grep -v '^ *+' conftest.er1 >conftest.err
20910 rm -f conftest.er1
20911 cat conftest.err >&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } >/dev/null; then
20914 if test -s conftest.err; then
20915 ac_cpp_err=$ac_c_preproc_warn_flag
20916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20917 else
20918 ac_cpp_err=
20919 fi
20920 else
20921 ac_cpp_err=yes
20922 fi
20923 if test -z "$ac_cpp_err"; then
20924 ac_header_preproc=yes
20925 else
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20928
20929 ac_header_preproc=no
20930 fi
20931 rm -f conftest.err conftest.$ac_ext
20932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20933 echo "${ECHO_T}$ac_header_preproc" >&6
20934
20935 # So? What about this header?
20936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20937 yes:no: )
20938 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20939 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20940 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20941 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20942 ac_header_preproc=yes
20943 ;;
20944 no:yes:* )
20945 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20946 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20947 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20948 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20949 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20950 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20951 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20952 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20953 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20954 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20955 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20956 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20957 (
20958 cat <<\_ASBOX
20959 ## ----------------------------------------- ##
20960 ## Report this to wx-dev@lists.wxwidgets.org ##
20961 ## ----------------------------------------- ##
20962 _ASBOX
20963 ) |
20964 sed "s/^/$as_me: WARNING: /" >&2
20965 ;;
20966 esac
20967 echo "$as_me:$LINENO: checking for zlib.h" >&5
20968 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20969 if test "${ac_cv_header_zlib_h+set}" = set; then
20970 echo $ECHO_N "(cached) $ECHO_C" >&6
20971 else
20972 ac_cv_header_zlib_h=$ac_header_preproc
20973 fi
20974 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20975 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20976
20977 fi
20978
20979
20980
20981 system_zlib_h_ok=$ac_cv_header_zlib_h
20982 fi
20983
20984 if test "$system_zlib_h_ok" = "yes"; then
20985 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20986 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20987 if test "${ac_cv_lib_z_deflate+set}" = set; then
20988 echo $ECHO_N "(cached) $ECHO_C" >&6
20989 else
20990 ac_check_lib_save_LIBS=$LIBS
20991 LIBS="-lz $LIBS"
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h. */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998
20999 /* Override any gcc2 internal prototype to avoid an error. */
21000 #ifdef __cplusplus
21001 extern "C"
21002 #endif
21003 /* We use char because int might match the return type of a gcc2
21004 builtin and then its argument prototype would still apply. */
21005 char deflate ();
21006 int
21007 main ()
21008 {
21009 deflate ();
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext conftest$ac_exeext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21016 (eval $ac_link) 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try='test -z "$ac_c_werror_flag"
21024 || test ! -s conftest.err'
21025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21026 (eval $ac_try) 2>&5
21027 ac_status=$?
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); }; } &&
21030 { ac_try='test -s conftest$ac_exeext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21033 ac_status=$?
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 ac_cv_lib_z_deflate=yes
21037 else
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21040
21041 ac_cv_lib_z_deflate=no
21042 fi
21043 rm -f conftest.err conftest.$ac_objext \
21044 conftest$ac_exeext conftest.$ac_ext
21045 LIBS=$ac_check_lib_save_LIBS
21046 fi
21047 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
21048 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
21049 if test $ac_cv_lib_z_deflate = yes; then
21050 ZLIB_LINK=" -lz"
21051 fi
21052
21053 fi
21054
21055 if test "x$ZLIB_LINK" = "x" ; then
21056 if test "$wxUSE_ZLIB" = "sys" ; then
21057 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
21058 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
21059 { (exit 1); exit 1; }; }
21060 else
21061 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
21062 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
21063 wxUSE_ZLIB=builtin
21064 fi
21065 else
21066 wxUSE_ZLIB=sys
21067 fi
21068 fi
21069 fi
21070
21071
21072 PNG_LINK=
21073 if test "$wxUSE_LIBPNG" != "no" ; then
21074 cat >>confdefs.h <<\_ACEOF
21075 #define wxUSE_LIBPNG 1
21076 _ACEOF
21077
21078
21079 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
21080 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
21081 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
21082 wxUSE_LIBPNG=sys
21083 fi
21084
21085 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
21086 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
21087 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
21088 wxUSE_LIBPNG=builtin
21089 fi
21090
21091 if test "$wxUSE_MGL" != 1 ; then
21092 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
21093 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
21094 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
21095 if test "${ac_cv_header_png_h+set}" = set; then
21096 echo $ECHO_N "(cached) $ECHO_C" >&6
21097 else
21098 if test "$cross_compiling" = yes; then
21099 unset ac_cv_header_png_h
21100
21101 else
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108
21109 #include <png.h>
21110 #include <stdio.h>
21111
21112 int main()
21113 {
21114 FILE *f=fopen("conftestval", "w");
21115 if (!f) exit(1);
21116 fprintf(f, "%s",
21117 PNG_LIBPNG_VER > 90 ? "yes" : "no");
21118 exit(0);
21119 }
21120
21121 _ACEOF
21122 rm -f conftest$ac_exeext
21123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21124 (eval $ac_link) 2>&5
21125 ac_status=$?
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; }; then
21133 ac_cv_header_png_h=`cat conftestval`
21134 else
21135 echo "$as_me: program exited with status $ac_status" >&5
21136 echo "$as_me: failed program was:" >&5
21137 sed 's/^/| /' conftest.$ac_ext >&5
21138
21139 ( exit $ac_status )
21140 ac_cv_header_png_h=no
21141 fi
21142 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21143 fi
21144
21145 fi
21146 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21147 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21148 if test "${ac_cv_header_png_h+set}" = set; then
21149 echo "$as_me:$LINENO: checking for png.h" >&5
21150 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21151 if test "${ac_cv_header_png_h+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 fi
21154 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21155 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21156 else
21157 # Is the header compilable?
21158 echo "$as_me:$LINENO: checking png.h usability" >&5
21159 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
21160 cat >conftest.$ac_ext <<_ACEOF
21161 /* confdefs.h. */
21162 _ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 #include <png.h>
21168 _ACEOF
21169 rm -f conftest.$ac_objext
21170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21171 (eval $ac_compile) 2>conftest.er1
21172 ac_status=$?
21173 grep -v '^ *+' conftest.er1 >conftest.err
21174 rm -f conftest.er1
21175 cat conftest.err >&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } &&
21178 { ac_try='test -z "$ac_c_werror_flag"
21179 || test ! -s conftest.err'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21182 ac_status=$?
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; } &&
21185 { ac_try='test -s conftest.$ac_objext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21188 ac_status=$?
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 ac_header_compiler=yes
21192 else
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21195
21196 ac_header_compiler=no
21197 fi
21198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21200 echo "${ECHO_T}$ac_header_compiler" >&6
21201
21202 # Is the header present?
21203 echo "$as_me:$LINENO: checking png.h presence" >&5
21204 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 #include <png.h>
21212 _ACEOF
21213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21215 ac_status=$?
21216 grep -v '^ *+' conftest.er1 >conftest.err
21217 rm -f conftest.er1
21218 cat conftest.err >&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } >/dev/null; then
21221 if test -s conftest.err; then
21222 ac_cpp_err=$ac_c_preproc_warn_flag
21223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21224 else
21225 ac_cpp_err=
21226 fi
21227 else
21228 ac_cpp_err=yes
21229 fi
21230 if test -z "$ac_cpp_err"; then
21231 ac_header_preproc=yes
21232 else
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 ac_header_preproc=no
21237 fi
21238 rm -f conftest.err conftest.$ac_ext
21239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21240 echo "${ECHO_T}$ac_header_preproc" >&6
21241
21242 # So? What about this header?
21243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21244 yes:no: )
21245 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
21246 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21247 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
21248 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
21249 ac_header_preproc=yes
21250 ;;
21251 no:yes:* )
21252 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
21253 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
21254 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
21255 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
21256 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
21257 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
21258 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
21259 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
21260 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
21261 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
21263 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
21264 (
21265 cat <<\_ASBOX
21266 ## ----------------------------------------- ##
21267 ## Report this to wx-dev@lists.wxwidgets.org ##
21268 ## ----------------------------------------- ##
21269 _ASBOX
21270 ) |
21271 sed "s/^/$as_me: WARNING: /" >&2
21272 ;;
21273 esac
21274 echo "$as_me:$LINENO: checking for png.h" >&5
21275 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
21276 if test "${ac_cv_header_png_h+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 else
21279 ac_cv_header_png_h=$ac_header_preproc
21280 fi
21281 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
21282 echo "${ECHO_T}$ac_cv_header_png_h" >&6
21283
21284 fi
21285
21286
21287
21288 if test "$ac_cv_header_png_h" = "yes"; then
21289 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
21290 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
21291 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 else
21294 ac_check_lib_save_LIBS=$LIBS
21295 LIBS="-lpng -lz -lm $LIBS"
21296 cat >conftest.$ac_ext <<_ACEOF
21297 /* confdefs.h. */
21298 _ACEOF
21299 cat confdefs.h >>conftest.$ac_ext
21300 cat >>conftest.$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21302
21303 /* Override any gcc2 internal prototype to avoid an error. */
21304 #ifdef __cplusplus
21305 extern "C"
21306 #endif
21307 /* We use char because int might match the return type of a gcc2
21308 builtin and then its argument prototype would still apply. */
21309 char png_check_sig ();
21310 int
21311 main ()
21312 {
21313 png_check_sig ();
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext conftest$ac_exeext
21319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21320 (eval $ac_link) 2>conftest.er1
21321 ac_status=$?
21322 grep -v '^ *+' conftest.er1 >conftest.err
21323 rm -f conftest.er1
21324 cat conftest.err >&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); } &&
21327 { ac_try='test -z "$ac_c_werror_flag"
21328 || test ! -s conftest.err'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21331 ac_status=$?
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; } &&
21334 { ac_try='test -s conftest$ac_exeext'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; }; then
21340 ac_cv_lib_png_png_check_sig=yes
21341 else
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21344
21345 ac_cv_lib_png_png_check_sig=no
21346 fi
21347 rm -f conftest.err conftest.$ac_objext \
21348 conftest$ac_exeext conftest.$ac_ext
21349 LIBS=$ac_check_lib_save_LIBS
21350 fi
21351 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
21352 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
21353 if test $ac_cv_lib_png_png_check_sig = yes; then
21354 PNG_LINK=" -lpng -lz"
21355 fi
21356
21357 fi
21358
21359 if test "x$PNG_LINK" = "x" ; then
21360 if test "$wxUSE_LIBPNG" = "sys" ; then
21361 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
21362 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
21363 { (exit 1); exit 1; }; }
21364 else
21365 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
21366 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
21367 wxUSE_LIBPNG=builtin
21368 fi
21369 else
21370 wxUSE_LIBPNG=sys
21371 fi
21372 fi
21373 fi
21374
21375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
21376 fi
21377
21378
21379 JPEG_LINK=
21380 if test "$wxUSE_LIBJPEG" != "no" ; then
21381 cat >>confdefs.h <<\_ACEOF
21382 #define wxUSE_LIBJPEG 1
21383 _ACEOF
21384
21385
21386 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
21387 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
21388 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
21389 wxUSE_LIBJPEG=sys
21390 fi
21391
21392 if test "$wxUSE_MGL" != 1 ; then
21393 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
21394 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
21395 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
21396 if test "${ac_cv_header_jpeglib_h+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21398 else
21399 cat >conftest.$ac_ext <<_ACEOF
21400 /* confdefs.h. */
21401 _ACEOF
21402 cat confdefs.h >>conftest.$ac_ext
21403 cat >>conftest.$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405
21406 #undef HAVE_STDLIB_H
21407 #include <stdio.h>
21408 #include <jpeglib.h>
21409
21410 int
21411 main ()
21412 {
21413
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421 (eval $ac_compile) 2>conftest.er1
21422 ac_status=$?
21423 grep -v '^ *+' conftest.er1 >conftest.err
21424 rm -f conftest.er1
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try='test -z "$ac_c_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 ac_cv_header_jpeglib_h=yes
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 ac_cv_header_jpeglib_h=no
21447
21448 fi
21449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21450
21451 fi
21452
21453 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
21454 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
21455
21456 if test "$ac_cv_header_jpeglib_h" = "yes"; then
21457 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
21458 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
21459 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
21460 echo $ECHO_N "(cached) $ECHO_C" >&6
21461 else
21462 ac_check_lib_save_LIBS=$LIBS
21463 LIBS="-ljpeg $LIBS"
21464 cat >conftest.$ac_ext <<_ACEOF
21465 /* confdefs.h. */
21466 _ACEOF
21467 cat confdefs.h >>conftest.$ac_ext
21468 cat >>conftest.$ac_ext <<_ACEOF
21469 /* end confdefs.h. */
21470
21471 /* Override any gcc2 internal prototype to avoid an error. */
21472 #ifdef __cplusplus
21473 extern "C"
21474 #endif
21475 /* We use char because int might match the return type of a gcc2
21476 builtin and then its argument prototype would still apply. */
21477 char jpeg_read_header ();
21478 int
21479 main ()
21480 {
21481 jpeg_read_header ();
21482 ;
21483 return 0;
21484 }
21485 _ACEOF
21486 rm -f conftest.$ac_objext conftest$ac_exeext
21487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21488 (eval $ac_link) 2>conftest.er1
21489 ac_status=$?
21490 grep -v '^ *+' conftest.er1 >conftest.err
21491 rm -f conftest.er1
21492 cat conftest.err >&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); } &&
21495 { ac_try='test -z "$ac_c_werror_flag"
21496 || test ! -s conftest.err'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21499 ac_status=$?
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; } &&
21502 { ac_try='test -s conftest$ac_exeext'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21505 ac_status=$?
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; }; then
21508 ac_cv_lib_jpeg_jpeg_read_header=yes
21509 else
21510 echo "$as_me: failed program was:" >&5
21511 sed 's/^/| /' conftest.$ac_ext >&5
21512
21513 ac_cv_lib_jpeg_jpeg_read_header=no
21514 fi
21515 rm -f conftest.err conftest.$ac_objext \
21516 conftest$ac_exeext conftest.$ac_ext
21517 LIBS=$ac_check_lib_save_LIBS
21518 fi
21519 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
21520 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
21521 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
21522 JPEG_LINK=" -ljpeg"
21523 fi
21524
21525 fi
21526
21527 if test "x$JPEG_LINK" = "x" ; then
21528 if test "$wxUSE_LIBJPEG" = "sys" ; then
21529 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
21530 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
21531 { (exit 1); exit 1; }; }
21532 else
21533 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
21534 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
21535 wxUSE_LIBJPEG=builtin
21536 fi
21537 else
21538 wxUSE_LIBJPEG=sys
21539 fi
21540 fi
21541 fi
21542 fi
21543
21544
21545 TIFF_LINK=
21546 TIFF_PREREQ_LINKS=-lm
21547 if test "$wxUSE_LIBTIFF" != "no" ; then
21548 cat >>confdefs.h <<\_ACEOF
21549 #define wxUSE_LIBTIFF 1
21550 _ACEOF
21551
21552
21553 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
21554 if test "$wxUSE_LIBJPEG" = "sys"; then
21555 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
21556 fi
21557 if test "$wxUSE_ZLIB" = "sys"; then
21558 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
21559 fi
21560 if test "${ac_cv_header_tiffio_h+set}" = set; then
21561 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21562 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21563 if test "${ac_cv_header_tiffio_h+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
21565 fi
21566 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21567 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21568 else
21569 # Is the header compilable?
21570 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
21571 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
21572 cat >conftest.$ac_ext <<_ACEOF
21573 /* confdefs.h. */
21574 _ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578 $ac_includes_default
21579 #include <tiffio.h>
21580 _ACEOF
21581 rm -f conftest.$ac_objext
21582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21583 (eval $ac_compile) 2>conftest.er1
21584 ac_status=$?
21585 grep -v '^ *+' conftest.er1 >conftest.err
21586 rm -f conftest.er1
21587 cat conftest.err >&5
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try='test -z "$ac_c_werror_flag"
21591 || test ! -s conftest.err'
21592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593 (eval $ac_try) 2>&5
21594 ac_status=$?
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); }; } &&
21597 { ac_try='test -s conftest.$ac_objext'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; }; then
21603 ac_header_compiler=yes
21604 else
21605 echo "$as_me: failed program was:" >&5
21606 sed 's/^/| /' conftest.$ac_ext >&5
21607
21608 ac_header_compiler=no
21609 fi
21610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21612 echo "${ECHO_T}$ac_header_compiler" >&6
21613
21614 # Is the header present?
21615 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
21616 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h. */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 #include <tiffio.h>
21624 _ACEOF
21625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21627 ac_status=$?
21628 grep -v '^ *+' conftest.er1 >conftest.err
21629 rm -f conftest.er1
21630 cat conftest.err >&5
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); } >/dev/null; then
21633 if test -s conftest.err; then
21634 ac_cpp_err=$ac_c_preproc_warn_flag
21635 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21636 else
21637 ac_cpp_err=
21638 fi
21639 else
21640 ac_cpp_err=yes
21641 fi
21642 if test -z "$ac_cpp_err"; then
21643 ac_header_preproc=yes
21644 else
21645 echo "$as_me: failed program was:" >&5
21646 sed 's/^/| /' conftest.$ac_ext >&5
21647
21648 ac_header_preproc=no
21649 fi
21650 rm -f conftest.err conftest.$ac_ext
21651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21652 echo "${ECHO_T}$ac_header_preproc" >&6
21653
21654 # So? What about this header?
21655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21656 yes:no: )
21657 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
21658 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21659 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
21660 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
21661 ac_header_preproc=yes
21662 ;;
21663 no:yes:* )
21664 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
21665 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
21666 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
21667 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
21668 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
21669 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
21670 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
21671 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
21672 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
21673 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
21674 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
21675 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
21676 (
21677 cat <<\_ASBOX
21678 ## ----------------------------------------- ##
21679 ## Report this to wx-dev@lists.wxwidgets.org ##
21680 ## ----------------------------------------- ##
21681 _ASBOX
21682 ) |
21683 sed "s/^/$as_me: WARNING: /" >&2
21684 ;;
21685 esac
21686 echo "$as_me:$LINENO: checking for tiffio.h" >&5
21687 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
21688 if test "${ac_cv_header_tiffio_h+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21690 else
21691 ac_cv_header_tiffio_h=$ac_header_preproc
21692 fi
21693 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
21694 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
21695
21696 fi
21697 if test $ac_cv_header_tiffio_h = yes; then
21698
21699 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
21700 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
21701 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21703 else
21704 ac_check_lib_save_LIBS=$LIBS
21705 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
21706 cat >conftest.$ac_ext <<_ACEOF
21707 /* confdefs.h. */
21708 _ACEOF
21709 cat confdefs.h >>conftest.$ac_ext
21710 cat >>conftest.$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21712
21713 /* Override any gcc2 internal prototype to avoid an error. */
21714 #ifdef __cplusplus
21715 extern "C"
21716 #endif
21717 /* We use char because int might match the return type of a gcc2
21718 builtin and then its argument prototype would still apply. */
21719 char TIFFError ();
21720 int
21721 main ()
21722 {
21723 TIFFError ();
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 rm -f conftest.$ac_objext conftest$ac_exeext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21730 (eval $ac_link) 2>conftest.er1
21731 ac_status=$?
21732 grep -v '^ *+' conftest.er1 >conftest.err
21733 rm -f conftest.er1
21734 cat conftest.err >&5
21735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21736 (exit $ac_status); } &&
21737 { ac_try='test -z "$ac_c_werror_flag"
21738 || test ! -s conftest.err'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21741 ac_status=$?
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; } &&
21744 { ac_try='test -s conftest$ac_exeext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21747 ac_status=$?
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 ac_cv_lib_tiff_TIFFError=yes
21751 else
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.$ac_ext >&5
21754
21755 ac_cv_lib_tiff_TIFFError=no
21756 fi
21757 rm -f conftest.err conftest.$ac_objext \
21758 conftest$ac_exeext conftest.$ac_ext
21759 LIBS=$ac_check_lib_save_LIBS
21760 fi
21761 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
21762 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
21763 if test $ac_cv_lib_tiff_TIFFError = yes; then
21764 TIFF_LINK=" -ltiff"
21765 fi
21766
21767
21768
21769 fi
21770
21771
21772
21773 if test "x$TIFF_LINK" = "x" ; then
21774 if test "$wxUSE_LIBTIFF" = "sys" ; then
21775 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
21776 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
21777 { (exit 1); exit 1; }; }
21778 else
21779 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
21780 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
21781 wxUSE_LIBTIFF=builtin
21782 fi
21783 else
21784 wxUSE_LIBTIFF=sys
21785 fi
21786 fi
21787 fi
21788
21789
21790 if test "$wxUSE_EXPAT" != "no"; then
21791 wxUSE_XML=yes
21792 cat >>confdefs.h <<\_ACEOF
21793 #define wxUSE_EXPAT 1
21794 _ACEOF
21795
21796 cat >>confdefs.h <<\_ACEOF
21797 #define wxUSE_XML 1
21798 _ACEOF
21799
21800
21801 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
21802 if test "${ac_cv_header_expat_h+set}" = set; then
21803 echo "$as_me:$LINENO: checking for expat.h" >&5
21804 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21805 if test "${ac_cv_header_expat_h+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 fi
21808 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21809 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21810 else
21811 # Is the header compilable?
21812 echo "$as_me:$LINENO: checking expat.h usability" >&5
21813 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820 $ac_includes_default
21821 #include <expat.h>
21822 _ACEOF
21823 rm -f conftest.$ac_objext
21824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21825 (eval $ac_compile) 2>conftest.er1
21826 ac_status=$?
21827 grep -v '^ *+' conftest.er1 >conftest.err
21828 rm -f conftest.er1
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try='test -z "$ac_c_werror_flag"
21833 || test ! -s conftest.err'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21836 ac_status=$?
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; } &&
21839 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21845 ac_header_compiler=yes
21846 else
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.$ac_ext >&5
21849
21850 ac_header_compiler=no
21851 fi
21852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21853 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21854 echo "${ECHO_T}$ac_header_compiler" >&6
21855
21856 # Is the header present?
21857 echo "$as_me:$LINENO: checking expat.h presence" >&5
21858 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
21859 cat >conftest.$ac_ext <<_ACEOF
21860 /* confdefs.h. */
21861 _ACEOF
21862 cat confdefs.h >>conftest.$ac_ext
21863 cat >>conftest.$ac_ext <<_ACEOF
21864 /* end confdefs.h. */
21865 #include <expat.h>
21866 _ACEOF
21867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21869 ac_status=$?
21870 grep -v '^ *+' conftest.er1 >conftest.err
21871 rm -f conftest.er1
21872 cat conftest.err >&5
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); } >/dev/null; then
21875 if test -s conftest.err; then
21876 ac_cpp_err=$ac_c_preproc_warn_flag
21877 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21878 else
21879 ac_cpp_err=
21880 fi
21881 else
21882 ac_cpp_err=yes
21883 fi
21884 if test -z "$ac_cpp_err"; then
21885 ac_header_preproc=yes
21886 else
21887 echo "$as_me: failed program was:" >&5
21888 sed 's/^/| /' conftest.$ac_ext >&5
21889
21890 ac_header_preproc=no
21891 fi
21892 rm -f conftest.err conftest.$ac_ext
21893 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21894 echo "${ECHO_T}$ac_header_preproc" >&6
21895
21896 # So? What about this header?
21897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21898 yes:no: )
21899 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
21900 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21901 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
21902 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
21903 ac_header_preproc=yes
21904 ;;
21905 no:yes:* )
21906 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
21907 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
21909 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
21910 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
21911 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
21912 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
21913 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
21914 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
21915 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
21916 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
21917 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
21918 (
21919 cat <<\_ASBOX
21920 ## ----------------------------------------- ##
21921 ## Report this to wx-dev@lists.wxwidgets.org ##
21922 ## ----------------------------------------- ##
21923 _ASBOX
21924 ) |
21925 sed "s/^/$as_me: WARNING: /" >&2
21926 ;;
21927 esac
21928 echo "$as_me:$LINENO: checking for expat.h" >&5
21929 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
21930 if test "${ac_cv_header_expat_h+set}" = set; then
21931 echo $ECHO_N "(cached) $ECHO_C" >&6
21932 else
21933 ac_cv_header_expat_h=$ac_header_preproc
21934 fi
21935 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
21936 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
21937
21938 fi
21939 if test $ac_cv_header_expat_h = yes; then
21940 found_expat_h=1
21941 fi
21942
21943
21944 if test "x$found_expat_h" = "x1"; then
21945 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
21946 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21947 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21948 echo $ECHO_N "(cached) $ECHO_C" >&6
21949 else
21950
21951
21952
21953 ac_ext=cc
21954 ac_cpp='$CXXCPP $CPPFLAGS'
21955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21958
21959 cat >conftest.$ac_ext <<_ACEOF
21960 /* confdefs.h. */
21961 _ACEOF
21962 cat confdefs.h >>conftest.$ac_ext
21963 cat >>conftest.$ac_ext <<_ACEOF
21964 /* end confdefs.h. */
21965 #include <expat.h>
21966 int
21967 main ()
21968 {
21969
21970 ;
21971 return 0;
21972 }
21973 _ACEOF
21974 rm -f conftest.$ac_objext
21975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21976 (eval $ac_compile) 2>conftest.er1
21977 ac_status=$?
21978 grep -v '^ *+' conftest.er1 >conftest.err
21979 rm -f conftest.er1
21980 cat conftest.err >&5
21981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21982 (exit $ac_status); } &&
21983 { ac_try='test -z "$ac_cxx_werror_flag"
21984 || test ! -s conftest.err'
21985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21986 (eval $ac_try) 2>&5
21987 ac_status=$?
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); }; } &&
21990 { ac_try='test -s conftest.$ac_objext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21993 ac_status=$?
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 wx_cv_expat_is_not_broken=yes
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22000
22001 wx_cv_expat_is_not_broken=no
22002
22003 fi
22004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22005 ac_ext=c
22006 ac_cpp='$CPP $CPPFLAGS'
22007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22010
22011
22012
22013 fi
22014 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
22015 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
22016 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22017 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
22018 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
22019 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
22020 echo $ECHO_N "(cached) $ECHO_C" >&6
22021 else
22022 ac_check_lib_save_LIBS=$LIBS
22023 LIBS="-lexpat $LIBS"
22024 cat >conftest.$ac_ext <<_ACEOF
22025 /* confdefs.h. */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030
22031 /* Override any gcc2 internal prototype to avoid an error. */
22032 #ifdef __cplusplus
22033 extern "C"
22034 #endif
22035 /* We use char because int might match the return type of a gcc2
22036 builtin and then its argument prototype would still apply. */
22037 char XML_ParserCreate ();
22038 int
22039 main ()
22040 {
22041 XML_ParserCreate ();
22042 ;
22043 return 0;
22044 }
22045 _ACEOF
22046 rm -f conftest.$ac_objext conftest$ac_exeext
22047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22048 (eval $ac_link) 2>conftest.er1
22049 ac_status=$?
22050 grep -v '^ *+' conftest.er1 >conftest.err
22051 rm -f conftest.er1
22052 cat conftest.err >&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); } &&
22055 { ac_try='test -z "$ac_c_werror_flag"
22056 || test ! -s conftest.err'
22057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058 (eval $ac_try) 2>&5
22059 ac_status=$?
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; } &&
22062 { ac_try='test -s conftest$ac_exeext'
22063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22064 (eval $ac_try) 2>&5
22065 ac_status=$?
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_lib_expat_XML_ParserCreate=yes
22069 else
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22072
22073 ac_cv_lib_expat_XML_ParserCreate=no
22074 fi
22075 rm -f conftest.err conftest.$ac_objext \
22076 conftest$ac_exeext conftest.$ac_ext
22077 LIBS=$ac_check_lib_save_LIBS
22078 fi
22079 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22080 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
22081 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
22082 EXPAT_LINK=" -lexpat"
22083 fi
22084
22085 fi
22086 fi
22087 if test "x$EXPAT_LINK" = "x" ; then
22088 if test "$wxUSE_EXPAT" = "sys" ; then
22089 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
22090 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
22091 { (exit 1); exit 1; }; }
22092 else
22093 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
22094 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22095 wxUSE_EXPAT=builtin
22096 fi
22097 else
22098 wxUSE_EXPAT=sys
22099 fi
22100 fi
22101 if test "$wxUSE_EXPAT" = "builtin" ; then
22102
22103
22104 subdirs="$subdirs src/expat"
22105
22106 fi
22107 fi
22108
22109
22110
22111 if test "$wxUSE_LIBMSPACK" != "no"; then
22112
22113 if test "${ac_cv_header_mspack_h+set}" = set; then
22114 echo "$as_me:$LINENO: checking for mspack.h" >&5
22115 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22116 if test "${ac_cv_header_mspack_h+set}" = set; then
22117 echo $ECHO_N "(cached) $ECHO_C" >&6
22118 fi
22119 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22120 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22121 else
22122 # Is the header compilable?
22123 echo "$as_me:$LINENO: checking mspack.h usability" >&5
22124 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
22125 cat >conftest.$ac_ext <<_ACEOF
22126 /* confdefs.h. */
22127 _ACEOF
22128 cat confdefs.h >>conftest.$ac_ext
22129 cat >>conftest.$ac_ext <<_ACEOF
22130 /* end confdefs.h. */
22131 $ac_includes_default
22132 #include <mspack.h>
22133 _ACEOF
22134 rm -f conftest.$ac_objext
22135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22136 (eval $ac_compile) 2>conftest.er1
22137 ac_status=$?
22138 grep -v '^ *+' conftest.er1 >conftest.err
22139 rm -f conftest.er1
22140 cat conftest.err >&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); } &&
22143 { ac_try='test -z "$ac_c_werror_flag"
22144 || test ! -s conftest.err'
22145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146 (eval $ac_try) 2>&5
22147 ac_status=$?
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); }; } &&
22150 { ac_try='test -s conftest.$ac_objext'
22151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22152 (eval $ac_try) 2>&5
22153 ac_status=$?
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); }; }; then
22156 ac_header_compiler=yes
22157 else
22158 echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22160
22161 ac_header_compiler=no
22162 fi
22163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22165 echo "${ECHO_T}$ac_header_compiler" >&6
22166
22167 # Is the header present?
22168 echo "$as_me:$LINENO: checking mspack.h presence" >&5
22169 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
22170 cat >conftest.$ac_ext <<_ACEOF
22171 /* confdefs.h. */
22172 _ACEOF
22173 cat confdefs.h >>conftest.$ac_ext
22174 cat >>conftest.$ac_ext <<_ACEOF
22175 /* end confdefs.h. */
22176 #include <mspack.h>
22177 _ACEOF
22178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22180 ac_status=$?
22181 grep -v '^ *+' conftest.er1 >conftest.err
22182 rm -f conftest.er1
22183 cat conftest.err >&5
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); } >/dev/null; then
22186 if test -s conftest.err; then
22187 ac_cpp_err=$ac_c_preproc_warn_flag
22188 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22189 else
22190 ac_cpp_err=
22191 fi
22192 else
22193 ac_cpp_err=yes
22194 fi
22195 if test -z "$ac_cpp_err"; then
22196 ac_header_preproc=yes
22197 else
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.$ac_ext >&5
22200
22201 ac_header_preproc=no
22202 fi
22203 rm -f conftest.err conftest.$ac_ext
22204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22205 echo "${ECHO_T}$ac_header_preproc" >&6
22206
22207 # So? What about this header?
22208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22209 yes:no: )
22210 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
22211 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22212 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
22213 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
22214 ac_header_preproc=yes
22215 ;;
22216 no:yes:* )
22217 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
22218 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
22219 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
22220 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
22221 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
22222 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
22223 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
22224 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
22225 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
22226 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
22227 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
22228 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
22229 (
22230 cat <<\_ASBOX
22231 ## ----------------------------------------- ##
22232 ## Report this to wx-dev@lists.wxwidgets.org ##
22233 ## ----------------------------------------- ##
22234 _ASBOX
22235 ) |
22236 sed "s/^/$as_me: WARNING: /" >&2
22237 ;;
22238 esac
22239 echo "$as_me:$LINENO: checking for mspack.h" >&5
22240 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
22241 if test "${ac_cv_header_mspack_h+set}" = set; then
22242 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 else
22244 ac_cv_header_mspack_h=$ac_header_preproc
22245 fi
22246 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
22247 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
22248
22249 fi
22250 if test $ac_cv_header_mspack_h = yes; then
22251 found_mspack_h=1
22252 fi
22253
22254
22255 if test "x$found_mspack_h" = "x1"; then
22256 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
22257 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
22258 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
22259 echo $ECHO_N "(cached) $ECHO_C" >&6
22260 else
22261 ac_check_lib_save_LIBS=$LIBS
22262 LIBS="-lmspack $LIBS"
22263 cat >conftest.$ac_ext <<_ACEOF
22264 /* confdefs.h. */
22265 _ACEOF
22266 cat confdefs.h >>conftest.$ac_ext
22267 cat >>conftest.$ac_ext <<_ACEOF
22268 /* end confdefs.h. */
22269
22270 /* Override any gcc2 internal prototype to avoid an error. */
22271 #ifdef __cplusplus
22272 extern "C"
22273 #endif
22274 /* We use char because int might match the return type of a gcc2
22275 builtin and then its argument prototype would still apply. */
22276 char mspack_create_chm_decompressor ();
22277 int
22278 main ()
22279 {
22280 mspack_create_chm_decompressor ();
22281 ;
22282 return 0;
22283 }
22284 _ACEOF
22285 rm -f conftest.$ac_objext conftest$ac_exeext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22287 (eval $ac_link) 2>conftest.er1
22288 ac_status=$?
22289 grep -v '^ *+' conftest.er1 >conftest.err
22290 rm -f conftest.er1
22291 cat conftest.err >&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try='test -z "$ac_c_werror_flag"
22295 || test ! -s conftest.err'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22298 ac_status=$?
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; } &&
22301 { ac_try='test -s conftest$ac_exeext'
22302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303 (eval $ac_try) 2>&5
22304 ac_status=$?
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); }; }; then
22307 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22308 else
22309 echo "$as_me: failed program was:" >&5
22310 sed 's/^/| /' conftest.$ac_ext >&5
22311
22312 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22313 fi
22314 rm -f conftest.err conftest.$ac_objext \
22315 conftest$ac_exeext conftest.$ac_ext
22316 LIBS=$ac_check_lib_save_LIBS
22317 fi
22318 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22319 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
22320 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
22321 MSPACK_LINK=" -lmspack"
22322 fi
22323
22324 fi
22325 if test "x$MSPACK_LINK" = "x" ; then
22326 wxUSE_LIBMSPACK=no
22327 else
22328 cat >>confdefs.h <<\_ACEOF
22329 #define wxUSE_LIBMSPACK 1
22330 _ACEOF
22331
22332 fi
22333 fi
22334
22335
22336
22337 AFMINSTALL=
22338 WIN32INSTALL=
22339
22340 TOOLKIT=
22341 TOOLKIT_INCLUDE=
22342 WIDGET_SET=
22343
22344 if test "$USE_WIN32" = 1 ; then
22345
22346 for ac_header in w32api.h
22347 do
22348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22350 echo "$as_me:$LINENO: checking for $ac_header" >&5
22351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 fi
22355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22357 else
22358 # Is the header compilable?
22359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22361 cat >conftest.$ac_ext <<_ACEOF
22362 /* confdefs.h. */
22363 _ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367 $ac_includes_default
22368 #include <$ac_header>
22369 _ACEOF
22370 rm -f conftest.$ac_objext
22371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22372 (eval $ac_compile) 2>conftest.er1
22373 ac_status=$?
22374 grep -v '^ *+' conftest.er1 >conftest.err
22375 rm -f conftest.er1
22376 cat conftest.err >&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } &&
22379 { ac_try='test -z "$ac_c_werror_flag"
22380 || test ! -s conftest.err'
22381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22382 (eval $ac_try) 2>&5
22383 ac_status=$?
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; } &&
22386 { ac_try='test -s conftest.$ac_objext'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; }; then
22392 ac_header_compiler=yes
22393 else
22394 echo "$as_me: failed program was:" >&5
22395 sed 's/^/| /' conftest.$ac_ext >&5
22396
22397 ac_header_compiler=no
22398 fi
22399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22401 echo "${ECHO_T}$ac_header_compiler" >&6
22402
22403 # Is the header present?
22404 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22406 cat >conftest.$ac_ext <<_ACEOF
22407 /* confdefs.h. */
22408 _ACEOF
22409 cat confdefs.h >>conftest.$ac_ext
22410 cat >>conftest.$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412 #include <$ac_header>
22413 _ACEOF
22414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } >/dev/null; then
22422 if test -s conftest.err; then
22423 ac_cpp_err=$ac_c_preproc_warn_flag
22424 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22425 else
22426 ac_cpp_err=
22427 fi
22428 else
22429 ac_cpp_err=yes
22430 fi
22431 if test -z "$ac_cpp_err"; then
22432 ac_header_preproc=yes
22433 else
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.$ac_ext >&5
22436
22437 ac_header_preproc=no
22438 fi
22439 rm -f conftest.err conftest.$ac_ext
22440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22441 echo "${ECHO_T}$ac_header_preproc" >&6
22442
22443 # So? What about this header?
22444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22445 yes:no: )
22446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22450 ac_header_preproc=yes
22451 ;;
22452 no:yes:* )
22453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22465 (
22466 cat <<\_ASBOX
22467 ## ----------------------------------------- ##
22468 ## Report this to wx-dev@lists.wxwidgets.org ##
22469 ## ----------------------------------------- ##
22470 _ASBOX
22471 ) |
22472 sed "s/^/$as_me: WARNING: /" >&2
22473 ;;
22474 esac
22475 echo "$as_me:$LINENO: checking for $ac_header" >&5
22476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22478 echo $ECHO_N "(cached) $ECHO_C" >&6
22479 else
22480 eval "$as_ac_Header=\$ac_header_preproc"
22481 fi
22482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22484
22485 fi
22486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22487 cat >>confdefs.h <<_ACEOF
22488 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22489 _ACEOF
22490
22491 fi
22492
22493 done
22494
22495 if test "${ac_cv_header_windows_h+set}" = set; then
22496 echo "$as_me:$LINENO: checking for windows.h" >&5
22497 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22498 if test "${ac_cv_header_windows_h+set}" = set; then
22499 echo $ECHO_N "(cached) $ECHO_C" >&6
22500 fi
22501 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22502 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22503 else
22504 # Is the header compilable?
22505 echo "$as_me:$LINENO: checking windows.h usability" >&5
22506 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
22507 cat >conftest.$ac_ext <<_ACEOF
22508 /* confdefs.h. */
22509 _ACEOF
22510 cat confdefs.h >>conftest.$ac_ext
22511 cat >>conftest.$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22513 $ac_includes_default
22514 #include <windows.h>
22515 _ACEOF
22516 rm -f conftest.$ac_objext
22517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22518 (eval $ac_compile) 2>conftest.er1
22519 ac_status=$?
22520 grep -v '^ *+' conftest.er1 >conftest.err
22521 rm -f conftest.er1
22522 cat conftest.err >&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); } &&
22525 { ac_try='test -z "$ac_c_werror_flag"
22526 || test ! -s conftest.err'
22527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22528 (eval $ac_try) 2>&5
22529 ac_status=$?
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); }; } &&
22532 { ac_try='test -s conftest.$ac_objext'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22535 ac_status=$?
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; }; then
22538 ac_header_compiler=yes
22539 else
22540 echo "$as_me: failed program was:" >&5
22541 sed 's/^/| /' conftest.$ac_ext >&5
22542
22543 ac_header_compiler=no
22544 fi
22545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22547 echo "${ECHO_T}$ac_header_compiler" >&6
22548
22549 # Is the header present?
22550 echo "$as_me:$LINENO: checking windows.h presence" >&5
22551 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
22552 cat >conftest.$ac_ext <<_ACEOF
22553 /* confdefs.h. */
22554 _ACEOF
22555 cat confdefs.h >>conftest.$ac_ext
22556 cat >>conftest.$ac_ext <<_ACEOF
22557 /* end confdefs.h. */
22558 #include <windows.h>
22559 _ACEOF
22560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22562 ac_status=$?
22563 grep -v '^ *+' conftest.er1 >conftest.err
22564 rm -f conftest.er1
22565 cat conftest.err >&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } >/dev/null; then
22568 if test -s conftest.err; then
22569 ac_cpp_err=$ac_c_preproc_warn_flag
22570 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22571 else
22572 ac_cpp_err=
22573 fi
22574 else
22575 ac_cpp_err=yes
22576 fi
22577 if test -z "$ac_cpp_err"; then
22578 ac_header_preproc=yes
22579 else
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22582
22583 ac_header_preproc=no
22584 fi
22585 rm -f conftest.err conftest.$ac_ext
22586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22587 echo "${ECHO_T}$ac_header_preproc" >&6
22588
22589 # So? What about this header?
22590 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22591 yes:no: )
22592 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
22593 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22594 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
22595 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
22596 ac_header_preproc=yes
22597 ;;
22598 no:yes:* )
22599 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
22600 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
22601 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
22602 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
22603 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
22604 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
22605 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
22606 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
22607 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
22608 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
22609 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
22610 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
22611 (
22612 cat <<\_ASBOX
22613 ## ----------------------------------------- ##
22614 ## Report this to wx-dev@lists.wxwidgets.org ##
22615 ## ----------------------------------------- ##
22616 _ASBOX
22617 ) |
22618 sed "s/^/$as_me: WARNING: /" >&2
22619 ;;
22620 esac
22621 echo "$as_me:$LINENO: checking for windows.h" >&5
22622 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
22623 if test "${ac_cv_header_windows_h+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 else
22626 ac_cv_header_windows_h=$ac_header_preproc
22627 fi
22628 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
22629 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
22630
22631 fi
22632 if test $ac_cv_header_windows_h = yes; then
22633 :
22634 else
22635
22636 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
22637 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
22638 { (exit 1); exit 1; }; }
22639
22640 fi
22641
22642
22643
22644 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
22645
22646 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22647 LIBS="$LIBS -loleacc"
22648 fi
22649
22650 case "${host}" in
22651 *-*-cygwin* )
22652 LIBS="$LIBS -lkernel32 -luser32"
22653 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
22654 esac
22655
22656 if test "$wxUSE_ODBC" = "sys" ; then
22657 wxUSE_ODBC = "yes"
22658 fi
22659 if test "$wxUSE_ODBC" = "yes" ; then
22660 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
22661 cat >>confdefs.h <<\_ACEOF
22662 #define wxUSE_ODBC 1
22663 _ACEOF
22664
22665 fi
22666
22667 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
22668 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22669
22670 WIN32INSTALL=win32install
22671 fi
22672
22673 if test "$wxUSE_GUI" = "yes"; then
22674 USE_GUI=1
22675
22676 GUI_TK_LIBRARY=
22677
22678 WXGTK12=
22679 WXGTK127=
22680 WXGTK20=
22681 WXGPE=
22682
22683 if test "$wxUSE_COCOA" = 1 ; then
22684 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22685 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22686 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22687 wxUSE_PRINTING_ARCHITECTURE=no
22688 fi
22689 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22690 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22691 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22692 wxUSE_DRAG_AND_DROP=no
22693 fi
22694 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22695 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
22696 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
22697 wxUSE_DRAGIMAGE=no
22698 fi
22699 fi
22700
22701 if test "$wxUSE_MSW" = 1 ; then
22702 TOOLKIT=MSW
22703 GUIDIST=MSW_DIST
22704
22705 case "${host}" in
22706 *-*-mingw32* )
22707 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22708 esac
22709 fi
22710
22711 if test "$wxUSE_GTK" = 1; then
22712 echo "$as_me:$LINENO: checking for GTK+ version" >&5
22713 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
22714
22715 gtk_version_cached=1
22716 if test "${wx_cv_lib_gtk+set}" = set; then
22717 echo $ECHO_N "(cached) $ECHO_C" >&6
22718 else
22719
22720 gtk_version_cached=0
22721 echo "$as_me:$LINENO: result: " >&5
22722 echo "${ECHO_T}" >&6
22723
22724 GTK_MODULES=
22725 if test "$wxUSE_THREADS" = "yes"; then
22726 GTK_MODULES=gthread
22727 fi
22728
22729 wx_cv_lib_gtk=
22730 if test "x$wxUSE_GTK2" = "xyes"; then
22731 # Check whether --enable-gtktest or --disable-gtktest was given.
22732 if test "${enable_gtktest+set}" = set; then
22733 enableval="$enable_gtktest"
22734
22735 else
22736 enable_gtktest=yes
22737 fi;
22738
22739 pkg_config_args=gtk+-2.0
22740 for module in . $GTK_MODULES
22741 do
22742 case "$module" in
22743 gthread)
22744 pkg_config_args="$pkg_config_args gthread-2.0"
22745 ;;
22746 esac
22747 done
22748
22749 no_gtk=""
22750
22751 # Extract the first word of "pkg-config", so it can be a program name with args.
22752 set dummy pkg-config; ac_word=$2
22753 echo "$as_me:$LINENO: checking for $ac_word" >&5
22754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22755 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22756 echo $ECHO_N "(cached) $ECHO_C" >&6
22757 else
22758 case $PKG_CONFIG in
22759 [\\/]* | ?:[\\/]*)
22760 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22761 ;;
22762 *)
22763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22764 for as_dir in $PATH
22765 do
22766 IFS=$as_save_IFS
22767 test -z "$as_dir" && as_dir=.
22768 for ac_exec_ext in '' $ac_executable_extensions; do
22769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22770 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22772 break 2
22773 fi
22774 done
22775 done
22776
22777 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22778 ;;
22779 esac
22780 fi
22781 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22782
22783 if test -n "$PKG_CONFIG"; then
22784 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22785 echo "${ECHO_T}$PKG_CONFIG" >&6
22786 else
22787 echo "$as_me:$LINENO: result: no" >&5
22788 echo "${ECHO_T}no" >&6
22789 fi
22790
22791
22792 if test x$PKG_CONFIG != xno ; then
22793 if pkg-config --atleast-pkgconfig-version 0.7 ; then
22794 :
22795 else
22796 echo "*** pkg-config too old; version 0.7 or better required."
22797 no_gtk=yes
22798 PKG_CONFIG=no
22799 fi
22800 else
22801 no_gtk=yes
22802 fi
22803
22804 min_gtk_version=2.0.0
22805 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
22806 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
22807
22808 if test x$PKG_CONFIG != xno ; then
22809 ## don't try to run the test against uninstalled libtool libs
22810 if $PKG_CONFIG --uninstalled $pkg_config_args; then
22811 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
22812 enable_gtktest=no
22813 fi
22814
22815 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
22816 :
22817 else
22818 no_gtk=yes
22819 fi
22820 fi
22821
22822 if test x"$no_gtk" = x ; then
22823 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
22824 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
22825 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22826 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22827 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22829 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
22830 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22831 if test "x$enable_gtktest" = "xyes" ; then
22832 ac_save_CFLAGS="$CFLAGS"
22833 ac_save_LIBS="$LIBS"
22834 CFLAGS="$CFLAGS $GTK_CFLAGS"
22835 LIBS="$GTK_LIBS $LIBS"
22836 rm -f conf.gtktest
22837 if test "$cross_compiling" = yes; then
22838 echo $ac_n "cross compiling; assumed OK... $ac_c"
22839 else
22840 cat >conftest.$ac_ext <<_ACEOF
22841 /* confdefs.h. */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846
22847 #include <gtk/gtk.h>
22848 #include <stdio.h>
22849 #include <stdlib.h>
22850
22851 int
22852 main ()
22853 {
22854 int major, minor, micro;
22855 char *tmp_version;
22856
22857 system ("touch conf.gtktest");
22858
22859 /* HP/UX 9 (%@#!) writes to sscanf strings */
22860 tmp_version = g_strdup("$min_gtk_version");
22861 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22862 printf("%s, bad version string\n", "$min_gtk_version");
22863 exit(1);
22864 }
22865
22866 if ((gtk_major_version != $gtk_config_major_version) ||
22867 (gtk_minor_version != $gtk_config_minor_version) ||
22868 (gtk_micro_version != $gtk_config_micro_version))
22869 {
22870 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22871 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22872 gtk_major_version, gtk_minor_version, gtk_micro_version);
22873 printf ("*** was found! If pkg-config was correct, then it is best\n");
22874 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22875 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22876 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22877 printf("*** required on your system.\n");
22878 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
22879 printf("*** to point to the correct configuration files\n");
22880 }
22881 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22882 (gtk_minor_version != GTK_MINOR_VERSION) ||
22883 (gtk_micro_version != GTK_MICRO_VERSION))
22884 {
22885 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22886 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22887 printf("*** library (version %d.%d.%d)\n",
22888 gtk_major_version, gtk_minor_version, gtk_micro_version);
22889 }
22890 else
22891 {
22892 if ((gtk_major_version > major) ||
22893 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22894 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22895 {
22896 return 0;
22897 }
22898 else
22899 {
22900 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22901 gtk_major_version, gtk_minor_version, gtk_micro_version);
22902 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22903 major, minor, micro);
22904 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22905 printf("***\n");
22906 printf("*** If you have already installed a sufficiently new version, this error\n");
22907 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
22908 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22909 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
22910 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
22911 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22912 printf("*** so that the correct libraries are found at run-time))\n");
22913 }
22914 }
22915 return 1;
22916 }
22917
22918 _ACEOF
22919 rm -f conftest$ac_exeext
22920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22921 (eval $ac_link) 2>&5
22922 ac_status=$?
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22927 ac_status=$?
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; }; then
22930 :
22931 else
22932 echo "$as_me: program exited with status $ac_status" >&5
22933 echo "$as_me: failed program was:" >&5
22934 sed 's/^/| /' conftest.$ac_ext >&5
22935
22936 ( exit $ac_status )
22937 no_gtk=yes
22938 fi
22939 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22940 fi
22941 CFLAGS="$ac_save_CFLAGS"
22942 LIBS="$ac_save_LIBS"
22943 fi
22944 fi
22945 if test "x$no_gtk" = x ; then
22946 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
22947 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
22948 wx_cv_lib_gtk=2.0
22949 else
22950 echo "$as_me:$LINENO: result: no" >&5
22951 echo "${ECHO_T}no" >&6
22952 if test "$PKG_CONFIG" = "no" ; then
22953 echo "*** A new enough version of pkg-config was not found."
22954 echo "*** See http://pkgconfig.sourceforge.net"
22955 else
22956 if test -f conf.gtktest ; then
22957 :
22958 else
22959 echo "*** Could not run GTK+ test program, checking why..."
22960 ac_save_CFLAGS="$CFLAGS"
22961 ac_save_LIBS="$LIBS"
22962 CFLAGS="$CFLAGS $GTK_CFLAGS"
22963 LIBS="$LIBS $GTK_LIBS"
22964 cat >conftest.$ac_ext <<_ACEOF
22965 /* confdefs.h. */
22966 _ACEOF
22967 cat confdefs.h >>conftest.$ac_ext
22968 cat >>conftest.$ac_ext <<_ACEOF
22969 /* end confdefs.h. */
22970
22971 #include <gtk/gtk.h>
22972 #include <stdio.h>
22973
22974 int
22975 main ()
22976 {
22977 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22978 ;
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext conftest$ac_exeext
22983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22984 (eval $ac_link) 2>conftest.er1
22985 ac_status=$?
22986 grep -v '^ *+' conftest.er1 >conftest.err
22987 rm -f conftest.er1
22988 cat conftest.err >&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); } &&
22991 { ac_try='test -z "$ac_c_werror_flag"
22992 || test ! -s conftest.err'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22995 ac_status=$?
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; } &&
22998 { ac_try='test -s conftest$ac_exeext'
22999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23000 (eval $ac_try) 2>&5
23001 ac_status=$?
23002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23003 (exit $ac_status); }; }; then
23004 echo "*** The test program compiled, but did not run. This usually means"
23005 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23006 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23007 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23008 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23009 echo "*** is required on your system"
23010 echo "***"
23011 echo "*** If you have an old version installed, it is best to remove it, although"
23012 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23013 else
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23016
23017 echo "*** The test program failed to compile or link. See the file config.log for the"
23018 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23019 fi
23020 rm -f conftest.err conftest.$ac_objext \
23021 conftest$ac_exeext conftest.$ac_ext
23022 CFLAGS="$ac_save_CFLAGS"
23023 LIBS="$ac_save_LIBS"
23024 fi
23025 fi
23026 GTK_CFLAGS=""
23027 GTK_LIBS=""
23028 :
23029 fi
23030
23031
23032 rm -f conf.gtktest
23033
23034 else
23035
23036 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23037 if test "${with_gtk_prefix+set}" = set; then
23038 withval="$with_gtk_prefix"
23039 gtk_config_prefix="$withval"
23040 else
23041 gtk_config_prefix=""
23042 fi;
23043
23044 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23045 if test "${with_gtk_exec_prefix+set}" = set; then
23046 withval="$with_gtk_exec_prefix"
23047 gtk_config_exec_prefix="$withval"
23048 else
23049 gtk_config_exec_prefix=""
23050 fi;
23051 # Check whether --enable-gtktest or --disable-gtktest was given.
23052 if test "${enable_gtktest+set}" = set; then
23053 enableval="$enable_gtktest"
23054
23055 else
23056 enable_gtktest=yes
23057 fi;
23058
23059 for module in . $GTK_MODULES
23060 do
23061 case "$module" in
23062 gthread)
23063 gtk_config_args="$gtk_config_args gthread"
23064 ;;
23065 esac
23066 done
23067
23068 if test x$gtk_config_exec_prefix != x ; then
23069 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23070 if test x${GTK_CONFIG+set} != xset ; then
23071 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23072 fi
23073 fi
23074 if test x$gtk_config_prefix != x ; then
23075 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23076 if test x${GTK_CONFIG+set} != xset ; then
23077 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23078 fi
23079 fi
23080
23081 # Extract the first word of "gtk-config", so it can be a program name with args.
23082 set dummy gtk-config; ac_word=$2
23083 echo "$as_me:$LINENO: checking for $ac_word" >&5
23084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23085 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23086 echo $ECHO_N "(cached) $ECHO_C" >&6
23087 else
23088 case $GTK_CONFIG in
23089 [\\/]* | ?:[\\/]*)
23090 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23091 ;;
23092 *)
23093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23094 for as_dir in $PATH
23095 do
23096 IFS=$as_save_IFS
23097 test -z "$as_dir" && as_dir=.
23098 for ac_exec_ext in '' $ac_executable_extensions; do
23099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23100 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23102 break 2
23103 fi
23104 done
23105 done
23106
23107 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23108 ;;
23109 esac
23110 fi
23111 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23112
23113 if test -n "$GTK_CONFIG"; then
23114 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23115 echo "${ECHO_T}$GTK_CONFIG" >&6
23116 else
23117 echo "$as_me:$LINENO: result: no" >&5
23118 echo "${ECHO_T}no" >&6
23119 fi
23120
23121 min_gtk_version=1.2.7
23122 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23123 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23124 no_gtk=""
23125 if test "$GTK_CONFIG" = "no" ; then
23126 no_gtk=yes
23127 else
23128 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23129 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23130 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23132 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23134 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23136 if test "x$enable_gtktest" = "xyes" ; then
23137 ac_save_CFLAGS="$CFLAGS"
23138 ac_save_LIBS="$LIBS"
23139 CFLAGS="$CFLAGS $GTK_CFLAGS"
23140 LIBS="$GTK_LIBS $LIBS"
23141 rm -f conf.gtktest
23142 if test "$cross_compiling" = yes; then
23143 echo $ac_n "cross compiling; assumed OK... $ac_c"
23144 else
23145 cat >conftest.$ac_ext <<_ACEOF
23146 /* confdefs.h. */
23147 _ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23151
23152 #include <gtk/gtk.h>
23153 #include <stdio.h>
23154 #include <stdlib.h>
23155
23156 int
23157 main ()
23158 {
23159 int major, minor, micro;
23160 char *tmp_version;
23161
23162 system ("touch conf.gtktest");
23163
23164 /* HP/UX 9 (%@#!) writes to sscanf strings */
23165 tmp_version = g_strdup("$min_gtk_version");
23166 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23167 printf("%s, bad version string\n", "$min_gtk_version");
23168 exit(1);
23169 }
23170
23171 if ((gtk_major_version != $gtk_config_major_version) ||
23172 (gtk_minor_version != $gtk_config_minor_version) ||
23173 (gtk_micro_version != $gtk_config_micro_version))
23174 {
23175 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23176 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23177 gtk_major_version, gtk_minor_version, gtk_micro_version);
23178 printf ("*** was found! If gtk-config was correct, then it is best\n");
23179 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23180 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23181 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23182 printf("*** required on your system.\n");
23183 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23184 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23185 printf("*** before re-running configure\n");
23186 }
23187 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23188 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23189 (gtk_minor_version != GTK_MINOR_VERSION) ||
23190 (gtk_micro_version != GTK_MICRO_VERSION))
23191 {
23192 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23193 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23194 printf("*** library (version %d.%d.%d)\n",
23195 gtk_major_version, gtk_minor_version, gtk_micro_version);
23196 }
23197 #endif /* defined (GTK_MAJOR_VERSION) ... */
23198 else
23199 {
23200 if ((gtk_major_version > major) ||
23201 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23202 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23203 {
23204 return 0;
23205 }
23206 else
23207 {
23208 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23209 gtk_major_version, gtk_minor_version, gtk_micro_version);
23210 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23211 major, minor, micro);
23212 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23213 printf("***\n");
23214 printf("*** If you have already installed a sufficiently new version, this error\n");
23215 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23216 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23217 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23218 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23219 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23220 printf("*** so that the correct libraries are found at run-time))\n");
23221 }
23222 }
23223 return 1;
23224 }
23225
23226 _ACEOF
23227 rm -f conftest$ac_exeext
23228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23229 (eval $ac_link) 2>&5
23230 ac_status=$?
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 :
23239 else
23240 echo "$as_me: program exited with status $ac_status" >&5
23241 echo "$as_me: failed program was:" >&5
23242 sed 's/^/| /' conftest.$ac_ext >&5
23243
23244 ( exit $ac_status )
23245 no_gtk=yes
23246 fi
23247 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23248 fi
23249 CFLAGS="$ac_save_CFLAGS"
23250 LIBS="$ac_save_LIBS"
23251 fi
23252 fi
23253 if test "x$no_gtk" = x ; then
23254 echo "$as_me:$LINENO: result: yes" >&5
23255 echo "${ECHO_T}yes" >&6
23256 wx_cv_lib_gtk=1.2.7
23257 else
23258 echo "$as_me:$LINENO: result: no" >&5
23259 echo "${ECHO_T}no" >&6
23260 if test "$GTK_CONFIG" = "no" ; then
23261 echo "*** The gtk-config script installed by GTK could not be found"
23262 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23263 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23264 echo "*** full path to gtk-config."
23265 else
23266 if test -f conf.gtktest ; then
23267 :
23268 else
23269 echo "*** Could not run GTK test program, checking why..."
23270 CFLAGS="$CFLAGS $GTK_CFLAGS"
23271 LIBS="$LIBS $GTK_LIBS"
23272 cat >conftest.$ac_ext <<_ACEOF
23273 /* confdefs.h. */
23274 _ACEOF
23275 cat confdefs.h >>conftest.$ac_ext
23276 cat >>conftest.$ac_ext <<_ACEOF
23277 /* end confdefs.h. */
23278
23279 #include <gtk/gtk.h>
23280 #include <stdio.h>
23281
23282 int
23283 main ()
23284 {
23285 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23286 ;
23287 return 0;
23288 }
23289 _ACEOF
23290 rm -f conftest.$ac_objext conftest$ac_exeext
23291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23292 (eval $ac_link) 2>conftest.er1
23293 ac_status=$?
23294 grep -v '^ *+' conftest.er1 >conftest.err
23295 rm -f conftest.er1
23296 cat conftest.err >&5
23297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23298 (exit $ac_status); } &&
23299 { ac_try='test -z "$ac_c_werror_flag"
23300 || test ! -s conftest.err'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23303 ac_status=$?
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; } &&
23306 { ac_try='test -s conftest$ac_exeext'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23312 echo "*** The test program compiled, but did not run. This usually means"
23313 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23314 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23317 echo "*** is required on your system"
23318 echo "***"
23319 echo "*** If you have an old version installed, it is best to remove it, although"
23320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23321 echo "***"
23322 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23323 echo "*** came with the system with the command"
23324 echo "***"
23325 echo "*** rpm --erase --nodeps gtk gtk-devel"
23326 else
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23329
23330 echo "*** The test program failed to compile or link. See the file config.log for the"
23331 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23332 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23333 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23334 fi
23335 rm -f conftest.err conftest.$ac_objext \
23336 conftest$ac_exeext conftest.$ac_ext
23337 CFLAGS="$ac_save_CFLAGS"
23338 LIBS="$ac_save_LIBS"
23339 fi
23340 fi
23341 GTK_CFLAGS=""
23342 GTK_LIBS=""
23343 :
23344 fi
23345
23346
23347 rm -f conf.gtktest
23348
23349
23350 if test -z "$wx_cv_lib_gtk"; then
23351
23352 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
23353 if test "${with_gtk_prefix+set}" = set; then
23354 withval="$with_gtk_prefix"
23355 gtk_config_prefix="$withval"
23356 else
23357 gtk_config_prefix=""
23358 fi;
23359
23360 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
23361 if test "${with_gtk_exec_prefix+set}" = set; then
23362 withval="$with_gtk_exec_prefix"
23363 gtk_config_exec_prefix="$withval"
23364 else
23365 gtk_config_exec_prefix=""
23366 fi;
23367 # Check whether --enable-gtktest or --disable-gtktest was given.
23368 if test "${enable_gtktest+set}" = set; then
23369 enableval="$enable_gtktest"
23370
23371 else
23372 enable_gtktest=yes
23373 fi;
23374
23375 for module in . $GTK_MODULES
23376 do
23377 case "$module" in
23378 gthread)
23379 gtk_config_args="$gtk_config_args gthread"
23380 ;;
23381 esac
23382 done
23383
23384 if test x$gtk_config_exec_prefix != x ; then
23385 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23386 if test x${GTK_CONFIG+set} != xset ; then
23387 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23388 fi
23389 fi
23390 if test x$gtk_config_prefix != x ; then
23391 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23392 if test x${GTK_CONFIG+set} != xset ; then
23393 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23394 fi
23395 fi
23396
23397 # Extract the first word of "gtk-config", so it can be a program name with args.
23398 set dummy gtk-config; ac_word=$2
23399 echo "$as_me:$LINENO: checking for $ac_word" >&5
23400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23401 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
23402 echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404 case $GTK_CONFIG in
23405 [\\/]* | ?:[\\/]*)
23406 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23407 ;;
23408 *)
23409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23410 for as_dir in $PATH
23411 do
23412 IFS=$as_save_IFS
23413 test -z "$as_dir" && as_dir=.
23414 for ac_exec_ext in '' $ac_executable_extensions; do
23415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23416 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23418 break 2
23419 fi
23420 done
23421 done
23422
23423 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23424 ;;
23425 esac
23426 fi
23427 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23428
23429 if test -n "$GTK_CONFIG"; then
23430 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
23431 echo "${ECHO_T}$GTK_CONFIG" >&6
23432 else
23433 echo "$as_me:$LINENO: result: no" >&5
23434 echo "${ECHO_T}no" >&6
23435 fi
23436
23437 min_gtk_version=1.2.3
23438 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
23439 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
23440 no_gtk=""
23441 if test "$GTK_CONFIG" = "no" ; then
23442 no_gtk=yes
23443 else
23444 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23445 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23446 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23448 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23450 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23452 if test "x$enable_gtktest" = "xyes" ; then
23453 ac_save_CFLAGS="$CFLAGS"
23454 ac_save_LIBS="$LIBS"
23455 CFLAGS="$CFLAGS $GTK_CFLAGS"
23456 LIBS="$GTK_LIBS $LIBS"
23457 rm -f conf.gtktest
23458 if test "$cross_compiling" = yes; then
23459 echo $ac_n "cross compiling; assumed OK... $ac_c"
23460 else
23461 cat >conftest.$ac_ext <<_ACEOF
23462 /* confdefs.h. */
23463 _ACEOF
23464 cat confdefs.h >>conftest.$ac_ext
23465 cat >>conftest.$ac_ext <<_ACEOF
23466 /* end confdefs.h. */
23467
23468 #include <gtk/gtk.h>
23469 #include <stdio.h>
23470 #include <stdlib.h>
23471
23472 int
23473 main ()
23474 {
23475 int major, minor, micro;
23476 char *tmp_version;
23477
23478 system ("touch conf.gtktest");
23479
23480 /* HP/UX 9 (%@#!) writes to sscanf strings */
23481 tmp_version = g_strdup("$min_gtk_version");
23482 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23483 printf("%s, bad version string\n", "$min_gtk_version");
23484 exit(1);
23485 }
23486
23487 if ((gtk_major_version != $gtk_config_major_version) ||
23488 (gtk_minor_version != $gtk_config_minor_version) ||
23489 (gtk_micro_version != $gtk_config_micro_version))
23490 {
23491 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23492 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23493 gtk_major_version, gtk_minor_version, gtk_micro_version);
23494 printf ("*** was found! If gtk-config was correct, then it is best\n");
23495 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23496 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23497 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23498 printf("*** required on your system.\n");
23499 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23500 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23501 printf("*** before re-running configure\n");
23502 }
23503 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23504 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23505 (gtk_minor_version != GTK_MINOR_VERSION) ||
23506 (gtk_micro_version != GTK_MICRO_VERSION))
23507 {
23508 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23509 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23510 printf("*** library (version %d.%d.%d)\n",
23511 gtk_major_version, gtk_minor_version, gtk_micro_version);
23512 }
23513 #endif /* defined (GTK_MAJOR_VERSION) ... */
23514 else
23515 {
23516 if ((gtk_major_version > major) ||
23517 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23518 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23519 {
23520 return 0;
23521 }
23522 else
23523 {
23524 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23525 gtk_major_version, gtk_minor_version, gtk_micro_version);
23526 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23527 major, minor, micro);
23528 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23529 printf("***\n");
23530 printf("*** If you have already installed a sufficiently new version, this error\n");
23531 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23532 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23533 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23534 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23535 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23536 printf("*** so that the correct libraries are found at run-time))\n");
23537 }
23538 }
23539 return 1;
23540 }
23541
23542 _ACEOF
23543 rm -f conftest$ac_exeext
23544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>&5
23546 ac_status=$?
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23551 ac_status=$?
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; }; then
23554 :
23555 else
23556 echo "$as_me: program exited with status $ac_status" >&5
23557 echo "$as_me: failed program was:" >&5
23558 sed 's/^/| /' conftest.$ac_ext >&5
23559
23560 ( exit $ac_status )
23561 no_gtk=yes
23562 fi
23563 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23564 fi
23565 CFLAGS="$ac_save_CFLAGS"
23566 LIBS="$ac_save_LIBS"
23567 fi
23568 fi
23569 if test "x$no_gtk" = x ; then
23570 echo "$as_me:$LINENO: result: yes" >&5
23571 echo "${ECHO_T}yes" >&6
23572 wx_cv_lib_gtk=1.2.3
23573 else
23574 echo "$as_me:$LINENO: result: no" >&5
23575 echo "${ECHO_T}no" >&6
23576 if test "$GTK_CONFIG" = "no" ; then
23577 echo "*** The gtk-config script installed by GTK could not be found"
23578 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23579 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23580 echo "*** full path to gtk-config."
23581 else
23582 if test -f conf.gtktest ; then
23583 :
23584 else
23585 echo "*** Could not run GTK test program, checking why..."
23586 CFLAGS="$CFLAGS $GTK_CFLAGS"
23587 LIBS="$LIBS $GTK_LIBS"
23588 cat >conftest.$ac_ext <<_ACEOF
23589 /* confdefs.h. */
23590 _ACEOF
23591 cat confdefs.h >>conftest.$ac_ext
23592 cat >>conftest.$ac_ext <<_ACEOF
23593 /* end confdefs.h. */
23594
23595 #include <gtk/gtk.h>
23596 #include <stdio.h>
23597
23598 int
23599 main ()
23600 {
23601 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23602 ;
23603 return 0;
23604 }
23605 _ACEOF
23606 rm -f conftest.$ac_objext conftest$ac_exeext
23607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23608 (eval $ac_link) 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try='test -z "$ac_c_werror_flag"
23616 || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23619 ac_status=$?
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try='test -s conftest$ac_exeext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23625 ac_status=$?
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 echo "*** The test program compiled, but did not run. This usually means"
23629 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23630 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23631 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23632 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23633 echo "*** is required on your system"
23634 echo "***"
23635 echo "*** If you have an old version installed, it is best to remove it, although"
23636 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23637 echo "***"
23638 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23639 echo "*** came with the system with the command"
23640 echo "***"
23641 echo "*** rpm --erase --nodeps gtk gtk-devel"
23642 else
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23645
23646 echo "*** The test program failed to compile or link. See the file config.log for the"
23647 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
23648 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23649 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23650 fi
23651 rm -f conftest.err conftest.$ac_objext \
23652 conftest$ac_exeext conftest.$ac_ext
23653 CFLAGS="$ac_save_CFLAGS"
23654 LIBS="$ac_save_LIBS"
23655 fi
23656 fi
23657 GTK_CFLAGS=""
23658 GTK_LIBS=""
23659 :
23660 fi
23661
23662
23663 rm -f conf.gtktest
23664
23665 fi
23666 fi
23667
23668 if test -z "$wx_cv_lib_gtk"; then
23669 wx_cv_lib_gtk=none
23670 else
23671 wx_cv_cflags_gtk=$GTK_CFLAGS
23672 wx_cv_libs_gtk=$GTK_LIBS
23673 fi
23674
23675
23676 fi
23677
23678
23679 if test "$gtk_version_cached" = 1; then
23680 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
23681 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
23682 fi
23683
23684 case "$wx_cv_lib_gtk" in
23685 2.0) WXGTK20=1
23686 TOOLKIT_VERSION=2
23687 ;;
23688 1.2.7) WXGTK127=1
23689 WXGTK12=1
23690 ;;
23691 1.2.3) WXGTK12=1
23692 ;;
23693 *) { { echo "$as_me:$LINENO: error:
23694 Please check that gtk-config is in path, the directory
23695 where GTK+ libraries are installed (returned by
23696 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23697 equivalent variable and GTK+ is version 1.2.3 or above.
23698 " >&5
23699 echo "$as_me: error:
23700 Please check that gtk-config is in path, the directory
23701 where GTK+ libraries are installed (returned by
23702 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
23703 equivalent variable and GTK+ is version 1.2.3 or above.
23704 " >&2;}
23705 { (exit 1); exit 1; }; }
23706 ;;
23707 esac
23708
23709 if test "$WXGTK20" = 1; then
23710 save_CFLAGS="$CFLAGS"
23711 save_LIBS="$LIBS"
23712 CFLAGS="$CFLAGS $GTK_CFLAGS"
23713 LIBS="$LIBS $GTK_LIBS"
23714
23715
23716 for ac_func in pango_font_family_is_monospace
23717 do
23718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23719 echo "$as_me:$LINENO: checking for $ac_func" >&5
23720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23721 if eval "test \"\${$as_ac_var+set}\" = set"; then
23722 echo $ECHO_N "(cached) $ECHO_C" >&6
23723 else
23724 cat >conftest.$ac_ext <<_ACEOF
23725 /* confdefs.h. */
23726 _ACEOF
23727 cat confdefs.h >>conftest.$ac_ext
23728 cat >>conftest.$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23732 #define $ac_func innocuous_$ac_func
23733
23734 /* System header to define __stub macros and hopefully few prototypes,
23735 which can conflict with char $ac_func (); below.
23736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23737 <limits.h> exists even on freestanding compilers. */
23738
23739 #ifdef __STDC__
23740 # include <limits.h>
23741 #else
23742 # include <assert.h>
23743 #endif
23744
23745 #undef $ac_func
23746
23747 /* Override any gcc2 internal prototype to avoid an error. */
23748 #ifdef __cplusplus
23749 extern "C"
23750 {
23751 #endif
23752 /* We use char because int might match the return type of a gcc2
23753 builtin and then its argument prototype would still apply. */
23754 char $ac_func ();
23755 /* The GNU C library defines this for functions which it implements
23756 to always fail with ENOSYS. Some functions are actually named
23757 something starting with __ and the normal name is an alias. */
23758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23759 choke me
23760 #else
23761 char (*f) () = $ac_func;
23762 #endif
23763 #ifdef __cplusplus
23764 }
23765 #endif
23766
23767 int
23768 main ()
23769 {
23770 return f != $ac_func;
23771 ;
23772 return 0;
23773 }
23774 _ACEOF
23775 rm -f conftest.$ac_objext conftest$ac_exeext
23776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23777 (eval $ac_link) 2>conftest.er1
23778 ac_status=$?
23779 grep -v '^ *+' conftest.er1 >conftest.err
23780 rm -f conftest.er1
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try='test -z "$ac_c_werror_flag"
23785 || test ! -s conftest.err'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; } &&
23791 { ac_try='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797 eval "$as_ac_var=yes"
23798 else
23799 echo "$as_me: failed program was:" >&5
23800 sed 's/^/| /' conftest.$ac_ext >&5
23801
23802 eval "$as_ac_var=no"
23803 fi
23804 rm -f conftest.err conftest.$ac_objext \
23805 conftest$ac_exeext conftest.$ac_ext
23806 fi
23807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23809 if test `eval echo '${'$as_ac_var'}'` = yes; then
23810 cat >>confdefs.h <<_ACEOF
23811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23812 _ACEOF
23813
23814 fi
23815 done
23816
23817
23818 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
23819 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
23820 cat >conftest.$ac_ext <<_ACEOF
23821 /* confdefs.h. */
23822 _ACEOF
23823 cat confdefs.h >>conftest.$ac_ext
23824 cat >>conftest.$ac_ext <<_ACEOF
23825 /* end confdefs.h. */
23826
23827 #include <gtk/gtk.h>
23828
23829 int
23830 main ()
23831 {
23832
23833 #if !GTK_CHECK_VERSION(2,4,0)
23834 #error "Not GTK+ 2.4"
23835 #endif
23836
23837 ;
23838 return 0;
23839 }
23840 _ACEOF
23841 rm -f conftest.$ac_objext
23842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23843 (eval $ac_compile) 2>conftest.er1
23844 ac_status=$?
23845 grep -v '^ *+' conftest.er1 >conftest.err
23846 rm -f conftest.er1
23847 cat conftest.err >&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); } &&
23850 { ac_try='test -z "$ac_c_werror_flag"
23851 || test ! -s conftest.err'
23852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853 (eval $ac_try) 2>&5
23854 ac_status=$?
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); }; } &&
23857 { ac_try='test -s conftest.$ac_objext'
23858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23859 (eval $ac_try) 2>&5
23860 ac_status=$?
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); }; }; then
23863
23864 cat >>confdefs.h <<\_ACEOF
23865 #define __WXGTK24__ 1
23866 _ACEOF
23867
23868 echo "$as_me:$LINENO: result: yes" >&5
23869 echo "${ECHO_T}yes" >&6
23870
23871 else
23872 echo "$as_me: failed program was:" >&5
23873 sed 's/^/| /' conftest.$ac_ext >&5
23874
23875
23876 echo "$as_me:$LINENO: result: no" >&5
23877 echo "${ECHO_T}no" >&6
23878
23879 fi
23880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23881
23882 CFLAGS="$save_CFLAGS"
23883 LIBS="$save_LIBS"
23884 else
23885 if test "$wxUSE_UNICODE" = "yes"; then
23886 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
23887 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
23888 wxUSE_UNICODE=no
23889 fi
23890 fi
23891
23892 if test "$USE_DARWIN" != 1; then
23893
23894 for ac_func in poll
23895 do
23896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23897 echo "$as_me:$LINENO: checking for $ac_func" >&5
23898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23899 if eval "test \"\${$as_ac_var+set}\" = set"; then
23900 echo $ECHO_N "(cached) $ECHO_C" >&6
23901 else
23902 cat >conftest.$ac_ext <<_ACEOF
23903 /* confdefs.h. */
23904 _ACEOF
23905 cat confdefs.h >>conftest.$ac_ext
23906 cat >>conftest.$ac_ext <<_ACEOF
23907 /* end confdefs.h. */
23908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23910 #define $ac_func innocuous_$ac_func
23911
23912 /* System header to define __stub macros and hopefully few prototypes,
23913 which can conflict with char $ac_func (); below.
23914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23915 <limits.h> exists even on freestanding compilers. */
23916
23917 #ifdef __STDC__
23918 # include <limits.h>
23919 #else
23920 # include <assert.h>
23921 #endif
23922
23923 #undef $ac_func
23924
23925 /* Override any gcc2 internal prototype to avoid an error. */
23926 #ifdef __cplusplus
23927 extern "C"
23928 {
23929 #endif
23930 /* We use char because int might match the return type of a gcc2
23931 builtin and then its argument prototype would still apply. */
23932 char $ac_func ();
23933 /* The GNU C library defines this for functions which it implements
23934 to always fail with ENOSYS. Some functions are actually named
23935 something starting with __ and the normal name is an alias. */
23936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23937 choke me
23938 #else
23939 char (*f) () = $ac_func;
23940 #endif
23941 #ifdef __cplusplus
23942 }
23943 #endif
23944
23945 int
23946 main ()
23947 {
23948 return f != $ac_func;
23949 ;
23950 return 0;
23951 }
23952 _ACEOF
23953 rm -f conftest.$ac_objext conftest$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955 (eval $ac_link) 2>conftest.er1
23956 ac_status=$?
23957 grep -v '^ *+' conftest.er1 >conftest.err
23958 rm -f conftest.er1
23959 cat conftest.err >&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } &&
23962 { ac_try='test -z "$ac_c_werror_flag"
23963 || test ! -s conftest.err'
23964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23965 (eval $ac_try) 2>&5
23966 ac_status=$?
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); }; } &&
23969 { ac_try='test -s conftest$ac_exeext'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23972 ac_status=$?
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; }; then
23975 eval "$as_ac_var=yes"
23976 else
23977 echo "$as_me: failed program was:" >&5
23978 sed 's/^/| /' conftest.$ac_ext >&5
23979
23980 eval "$as_ac_var=no"
23981 fi
23982 rm -f conftest.err conftest.$ac_objext \
23983 conftest$ac_exeext conftest.$ac_ext
23984 fi
23985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23987 if test `eval echo '${'$as_ac_var'}'` = yes; then
23988 cat >>confdefs.h <<_ACEOF
23989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23990 _ACEOF
23991
23992 fi
23993 done
23994
23995 fi
23996
23997 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
23998 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
23999
24000 AFMINSTALL=afminstall
24001 TOOLKIT=GTK
24002 GUIDIST=GTK_DIST
24003
24004 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
24005 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
24006 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
24007 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 else
24009 ac_check_lib_save_LIBS=$LIBS
24010 LIBS="-lgdk $LIBS"
24011 cat >conftest.$ac_ext <<_ACEOF
24012 /* confdefs.h. */
24013 _ACEOF
24014 cat confdefs.h >>conftest.$ac_ext
24015 cat >>conftest.$ac_ext <<_ACEOF
24016 /* end confdefs.h. */
24017
24018 /* Override any gcc2 internal prototype to avoid an error. */
24019 #ifdef __cplusplus
24020 extern "C"
24021 #endif
24022 /* We use char because int might match the return type of a gcc2
24023 builtin and then its argument prototype would still apply. */
24024 char gdk_im_open ();
24025 int
24026 main ()
24027 {
24028 gdk_im_open ();
24029 ;
24030 return 0;
24031 }
24032 _ACEOF
24033 rm -f conftest.$ac_objext conftest$ac_exeext
24034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24035 (eval $ac_link) 2>conftest.er1
24036 ac_status=$?
24037 grep -v '^ *+' conftest.er1 >conftest.err
24038 rm -f conftest.er1
24039 cat conftest.err >&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); } &&
24042 { ac_try='test -z "$ac_c_werror_flag"
24043 || test ! -s conftest.err'
24044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24045 (eval $ac_try) 2>&5
24046 ac_status=$?
24047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24048 (exit $ac_status); }; } &&
24049 { ac_try='test -s conftest$ac_exeext'
24050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24051 (eval $ac_try) 2>&5
24052 ac_status=$?
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); }; }; then
24055 ac_cv_lib_gdk_gdk_im_open=yes
24056 else
24057 echo "$as_me: failed program was:" >&5
24058 sed 's/^/| /' conftest.$ac_ext >&5
24059
24060 ac_cv_lib_gdk_gdk_im_open=no
24061 fi
24062 rm -f conftest.err conftest.$ac_objext \
24063 conftest$ac_exeext conftest.$ac_ext
24064 LIBS=$ac_check_lib_save_LIBS
24065 fi
24066 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24067 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
24068 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
24069 cat >>confdefs.h <<\_ACEOF
24070 #define HAVE_XIM 1
24071 _ACEOF
24072
24073 fi
24074
24075
24076
24077 if test "$wxUSE_GPE" = "yes"; then
24078 echo "$as_me:$LINENO: checking for gpewidget library" >&5
24079 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
24080
24081 ac_find_libraries=
24082 for ac_dir in $SEARCH_LIB /usr/lib;
24083 do
24084 for ac_extension in a so sl dylib; do
24085 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24086 ac_find_libraries=$ac_dir
24087 break 2
24088 fi
24089 done
24090 done
24091
24092 if test "$ac_find_libraries" != "" ; then
24093
24094 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24095 result=$?
24096 if test $result = 0; then
24097 ac_path_to_link=""
24098 else
24099 ac_path_to_link=" -L$ac_find_libraries"
24100 fi
24101
24102 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24103 WXGPE=1
24104 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24105 echo "${ECHO_T}found at $ac_find_libraries" >&6
24106 else
24107 echo "$as_me:$LINENO: result: not found" >&5
24108 echo "${ECHO_T}not found" >&6
24109 fi
24110
24111 fi
24112 fi
24113
24114 if test "$wxUSE_MGL" = 1; then
24115 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
24116 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
24117 if test "x$MGL_ROOT" = x ; then
24118 echo "$as_me:$LINENO: result: not found" >&5
24119 echo "${ECHO_T}not found" >&6
24120 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
24121 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
24122 { (exit 1); exit 1; }; }
24123 else
24124 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
24125 echo "${ECHO_T}$MGL_ROOT" >&6
24126 fi
24127
24128 echo "$as_me:$LINENO: checking for libmgl location" >&5
24129 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
24130 case "${host}" in
24131 *-*-linux* )
24132 if test "x$wxUSE_SHARED" = xyes ; then
24133 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
24134 else
24135 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
24136 fi
24137 ;;
24138 *-pc-msdosdjgpp )
24139 mgl_os_candidates="dos32/dj2"
24140 ;;
24141 *)
24142 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
24143 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
24144 { (exit 1); exit 1; }; }
24145 esac
24146
24147 mgl_lib_type=""
24148 mgl_os=""
24149
24150 for mgl_os_i in $mgl_os_candidates ; do
24151 if test "x$mgl_os" = x ; then
24152 if test "$wxUSE_DEBUG_FLAG" = yes ; then
24153 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
24154 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
24155 mgl_lib_type=debug
24156 mgl_os=$mgl_os_i
24157 fi
24158 fi
24159 if test "x$mgl_lib_type" = x ; then
24160 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
24161 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
24162 mgl_lib_type=release
24163 mgl_os=$mgl_os_i
24164 fi
24165 fi
24166 fi
24167 done
24168
24169 if test "x$mgl_os" = x ; then
24170 echo "$as_me:$LINENO: result: not found" >&5
24171 echo "${ECHO_T}not found" >&6
24172 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
24173 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
24174 { (exit 1); exit 1; }; }
24175 fi
24176 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
24177 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
24178
24179 wxUSE_UNIVERSAL="yes"
24180
24181 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
24182 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
24183
24184 AFMINSTALL=afminstall
24185 TOOLKIT=MGL
24186 GUIDIST=MGL_DIST
24187 fi
24188
24189 if test "$wxUSE_MICROWIN" = 1; then
24190 echo "$as_me:$LINENO: checking for MicroWindows" >&5
24191 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
24192 if test "x$MICROWINDOWS" = x ; then
24193 echo "$as_me:$LINENO: result: not found" >&5
24194 echo "${ECHO_T}not found" >&6
24195 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
24196 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
24197 { (exit 1); exit 1; }; }
24198 else
24199 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
24200 echo "${ECHO_T}$MICROWINDOWS" >&6
24201 fi
24202
24203 if test -f $MICROWINDOWS/lib/libmwin.a; then
24204 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
24205 echo "${ECHO_T}MicroWindows' libraries found." >&6
24206 else
24207 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
24208 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
24209 { (exit 1); exit 1; }; }
24210 fi
24211
24212 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24213 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24214
24215 wxUSE_UNIVERSAL="yes"
24216
24217 AFMINSTALL=afminstall
24218 TOOLKIT=MICROWIN
24219 GUIDIST=MICROWIN_DIST
24220
24221 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24222 fi
24223
24224 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24225 echo "$as_me:$LINENO: checking for X" >&5
24226 echo $ECHO_N "checking for X... $ECHO_C" >&6
24227
24228
24229 # Check whether --with-x or --without-x was given.
24230 if test "${with_x+set}" = set; then
24231 withval="$with_x"
24232
24233 fi;
24234 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24235 if test "x$with_x" = xno; then
24236 # The user explicitly disabled X.
24237 have_x=disabled
24238 else
24239 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
24240 # Both variables are already set.
24241 have_x=yes
24242 else
24243 if test "${ac_cv_have_x+set}" = set; then
24244 echo $ECHO_N "(cached) $ECHO_C" >&6
24245 else
24246 # One or both of the vars are not set, and there is no cached value.
24247 ac_x_includes=no ac_x_libraries=no
24248 rm -fr conftest.dir
24249 if mkdir conftest.dir; then
24250 cd conftest.dir
24251 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
24252 cat >Imakefile <<'_ACEOF'
24253 acfindx:
24254 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
24255 _ACEOF
24256 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
24257 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
24258 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
24259 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24260 for ac_extension in a so sl; do
24261 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
24262 test -f $ac_im_libdir/libX11.$ac_extension; then
24263 ac_im_usrlibdir=$ac_im_libdir; break
24264 fi
24265 done
24266 # Screen out bogus values from the imake configuration. They are
24267 # bogus both because they are the default anyway, and because
24268 # using them would break gcc on systems where it needs fixed includes.
24269 case $ac_im_incroot in
24270 /usr/include) ;;
24271 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24272 esac
24273 case $ac_im_usrlibdir in
24274 /usr/lib | /lib) ;;
24275 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24276 esac
24277 fi
24278 cd ..
24279 rm -fr conftest.dir
24280 fi
24281
24282 # Standard set of common directories for X headers.
24283 # Check X11 before X11Rn because it is often a symlink to the current release.
24284 ac_x_header_dirs='
24285 /usr/X11/include
24286 /usr/X11R6/include
24287 /usr/X11R5/include
24288 /usr/X11R4/include
24289
24290 /usr/include/X11
24291 /usr/include/X11R6
24292 /usr/include/X11R5
24293 /usr/include/X11R4
24294
24295 /usr/local/X11/include
24296 /usr/local/X11R6/include
24297 /usr/local/X11R5/include
24298 /usr/local/X11R4/include
24299
24300 /usr/local/include/X11
24301 /usr/local/include/X11R6
24302 /usr/local/include/X11R5
24303 /usr/local/include/X11R4
24304
24305 /usr/X386/include
24306 /usr/x386/include
24307 /usr/XFree86/include/X11
24308
24309 /usr/include
24310 /usr/local/include
24311 /usr/unsupported/include
24312 /usr/athena/include
24313 /usr/local/x11r5/include
24314 /usr/lpp/Xamples/include
24315
24316 /usr/openwin/include
24317 /usr/openwin/share/include'
24318
24319 if test "$ac_x_includes" = no; then
24320 # Guess where to find include files, by looking for Intrinsic.h.
24321 # First, try using that file with no special directory specified.
24322 cat >conftest.$ac_ext <<_ACEOF
24323 /* confdefs.h. */
24324 _ACEOF
24325 cat confdefs.h >>conftest.$ac_ext
24326 cat >>conftest.$ac_ext <<_ACEOF
24327 /* end confdefs.h. */
24328 #include <X11/Intrinsic.h>
24329 _ACEOF
24330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24332 ac_status=$?
24333 grep -v '^ *+' conftest.er1 >conftest.err
24334 rm -f conftest.er1
24335 cat conftest.err >&5
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } >/dev/null; then
24338 if test -s conftest.err; then
24339 ac_cpp_err=$ac_c_preproc_warn_flag
24340 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24341 else
24342 ac_cpp_err=
24343 fi
24344 else
24345 ac_cpp_err=yes
24346 fi
24347 if test -z "$ac_cpp_err"; then
24348 # We can compile using X headers with no special include directory.
24349 ac_x_includes=
24350 else
24351 echo "$as_me: failed program was:" >&5
24352 sed 's/^/| /' conftest.$ac_ext >&5
24353
24354 for ac_dir in $ac_x_header_dirs; do
24355 if test -r "$ac_dir/X11/Intrinsic.h"; then
24356 ac_x_includes=$ac_dir
24357 break
24358 fi
24359 done
24360 fi
24361 rm -f conftest.err conftest.$ac_ext
24362 fi # $ac_x_includes = no
24363
24364 if test "$ac_x_libraries" = no; then
24365 # Check for the libraries.
24366 # See if we find them without any special options.
24367 # Don't add to $LIBS permanently.
24368 ac_save_LIBS=$LIBS
24369 LIBS="-lXt $LIBS"
24370 cat >conftest.$ac_ext <<_ACEOF
24371 /* confdefs.h. */
24372 _ACEOF
24373 cat confdefs.h >>conftest.$ac_ext
24374 cat >>conftest.$ac_ext <<_ACEOF
24375 /* end confdefs.h. */
24376 #include <X11/Intrinsic.h>
24377 int
24378 main ()
24379 {
24380 XtMalloc (0)
24381 ;
24382 return 0;
24383 }
24384 _ACEOF
24385 rm -f conftest.$ac_objext conftest$ac_exeext
24386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24387 (eval $ac_link) 2>conftest.er1
24388 ac_status=$?
24389 grep -v '^ *+' conftest.er1 >conftest.err
24390 rm -f conftest.er1
24391 cat conftest.err >&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } &&
24394 { ac_try='test -z "$ac_c_werror_flag"
24395 || test ! -s conftest.err'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24398 ac_status=$?
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; } &&
24401 { ac_try='test -s conftest$ac_exeext'
24402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24403 (eval $ac_try) 2>&5
24404 ac_status=$?
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); }; }; then
24407 LIBS=$ac_save_LIBS
24408 # We can link X programs with no special library path.
24409 ac_x_libraries=
24410 else
24411 echo "$as_me: failed program was:" >&5
24412 sed 's/^/| /' conftest.$ac_ext >&5
24413
24414 LIBS=$ac_save_LIBS
24415 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24416 do
24417 # Don't even attempt the hair of trying to link an X program!
24418 for ac_extension in a so sl; do
24419 if test -r $ac_dir/libXt.$ac_extension; then
24420 ac_x_libraries=$ac_dir
24421 break 2
24422 fi
24423 done
24424 done
24425 fi
24426 rm -f conftest.err conftest.$ac_objext \
24427 conftest$ac_exeext conftest.$ac_ext
24428 fi # $ac_x_libraries = no
24429
24430 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
24431 # Didn't find X anywhere. Cache the known absence of X.
24432 ac_cv_have_x="have_x=no"
24433 else
24434 # Record where we found X for the cache.
24435 ac_cv_have_x="have_x=yes \
24436 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
24437 fi
24438 fi
24439
24440 fi
24441 eval "$ac_cv_have_x"
24442 fi # $with_x != no
24443
24444 if test "$have_x" != yes; then
24445 echo "$as_me:$LINENO: result: $have_x" >&5
24446 echo "${ECHO_T}$have_x" >&6
24447 no_x=yes
24448 else
24449 # If each of the values was on the command line, it overrides each guess.
24450 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24451 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24452 # Update the cache value to reflect the command line values.
24453 ac_cv_have_x="have_x=yes \
24454 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
24455 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
24456 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
24457 fi
24458
24459 if test "$no_x" = yes; then
24460 # Not all programs may use this symbol, but it does not hurt to define it.
24461
24462 cat >>confdefs.h <<\_ACEOF
24463 #define X_DISPLAY_MISSING 1
24464 _ACEOF
24465
24466 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24467 else
24468 if test -n "$x_includes"; then
24469 X_CFLAGS="$X_CFLAGS -I$x_includes"
24470 fi
24471
24472 # It would also be nice to do this for all -L options, not just this one.
24473 if test -n "$x_libraries"; then
24474 X_LIBS="$X_LIBS -L$x_libraries"
24475 # For Solaris; some versions of Sun CC require a space after -R and
24476 # others require no space. Words are not sufficient . . . .
24477 case `(uname -sr) 2>/dev/null` in
24478 "SunOS 5"*)
24479 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24480 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24481 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24482 cat >conftest.$ac_ext <<_ACEOF
24483 /* confdefs.h. */
24484 _ACEOF
24485 cat confdefs.h >>conftest.$ac_ext
24486 cat >>conftest.$ac_ext <<_ACEOF
24487 /* end confdefs.h. */
24488
24489 int
24490 main ()
24491 {
24492
24493 ;
24494 return 0;
24495 }
24496 _ACEOF
24497 rm -f conftest.$ac_objext conftest$ac_exeext
24498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24499 (eval $ac_link) 2>conftest.er1
24500 ac_status=$?
24501 grep -v '^ *+' conftest.er1 >conftest.err
24502 rm -f conftest.er1
24503 cat conftest.err >&5
24504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24505 (exit $ac_status); } &&
24506 { ac_try='test -z "$ac_c_werror_flag"
24507 || test ! -s conftest.err'
24508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24509 (eval $ac_try) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); }; } &&
24513 { ac_try='test -s conftest$ac_exeext'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24516 ac_status=$?
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; }; then
24519 ac_R_nospace=yes
24520 else
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24523
24524 ac_R_nospace=no
24525 fi
24526 rm -f conftest.err conftest.$ac_objext \
24527 conftest$ac_exeext conftest.$ac_ext
24528 if test $ac_R_nospace = yes; then
24529 echo "$as_me:$LINENO: result: no" >&5
24530 echo "${ECHO_T}no" >&6
24531 X_LIBS="$X_LIBS -R$x_libraries"
24532 else
24533 LIBS="$ac_xsave_LIBS -R $x_libraries"
24534 cat >conftest.$ac_ext <<_ACEOF
24535 /* confdefs.h. */
24536 _ACEOF
24537 cat confdefs.h >>conftest.$ac_ext
24538 cat >>conftest.$ac_ext <<_ACEOF
24539 /* end confdefs.h. */
24540
24541 int
24542 main ()
24543 {
24544
24545 ;
24546 return 0;
24547 }
24548 _ACEOF
24549 rm -f conftest.$ac_objext conftest$ac_exeext
24550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24551 (eval $ac_link) 2>conftest.er1
24552 ac_status=$?
24553 grep -v '^ *+' conftest.er1 >conftest.err
24554 rm -f conftest.er1
24555 cat conftest.err >&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); } &&
24558 { ac_try='test -z "$ac_c_werror_flag"
24559 || test ! -s conftest.err'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24562 ac_status=$?
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; } &&
24565 { ac_try='test -s conftest$ac_exeext'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24568 ac_status=$?
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24571 ac_R_space=yes
24572 else
24573 echo "$as_me: failed program was:" >&5
24574 sed 's/^/| /' conftest.$ac_ext >&5
24575
24576 ac_R_space=no
24577 fi
24578 rm -f conftest.err conftest.$ac_objext \
24579 conftest$ac_exeext conftest.$ac_ext
24580 if test $ac_R_space = yes; then
24581 echo "$as_me:$LINENO: result: yes" >&5
24582 echo "${ECHO_T}yes" >&6
24583 X_LIBS="$X_LIBS -R $x_libraries"
24584 else
24585 echo "$as_me:$LINENO: result: neither works" >&5
24586 echo "${ECHO_T}neither works" >&6
24587 fi
24588 fi
24589 LIBS=$ac_xsave_LIBS
24590 esac
24591 fi
24592
24593 # Check for system-dependent libraries X programs must link with.
24594 # Do this before checking for the system-independent R6 libraries
24595 # (-lICE), since we may need -lsocket or whatever for X linking.
24596
24597 if test "$ISC" = yes; then
24598 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24599 else
24600 # Martyn Johnson says this is needed for Ultrix, if the X
24601 # libraries were built with DECnet support. And Karl Berry says
24602 # the Alpha needs dnet_stub (dnet does not exist).
24603 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24604 cat >conftest.$ac_ext <<_ACEOF
24605 /* confdefs.h. */
24606 _ACEOF
24607 cat confdefs.h >>conftest.$ac_ext
24608 cat >>conftest.$ac_ext <<_ACEOF
24609 /* end confdefs.h. */
24610
24611 /* Override any gcc2 internal prototype to avoid an error. */
24612 #ifdef __cplusplus
24613 extern "C"
24614 #endif
24615 /* We use char because int might match the return type of a gcc2
24616 builtin and then its argument prototype would still apply. */
24617 char XOpenDisplay ();
24618 int
24619 main ()
24620 {
24621 XOpenDisplay ();
24622 ;
24623 return 0;
24624 }
24625 _ACEOF
24626 rm -f conftest.$ac_objext conftest$ac_exeext
24627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24628 (eval $ac_link) 2>conftest.er1
24629 ac_status=$?
24630 grep -v '^ *+' conftest.er1 >conftest.err
24631 rm -f conftest.er1
24632 cat conftest.err >&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } &&
24635 { ac_try='test -z "$ac_c_werror_flag"
24636 || test ! -s conftest.err'
24637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24638 (eval $ac_try) 2>&5
24639 ac_status=$?
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); }; } &&
24642 { ac_try='test -s conftest$ac_exeext'
24643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24644 (eval $ac_try) 2>&5
24645 ac_status=$?
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); }; }; then
24648 :
24649 else
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24652
24653 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24654 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24655 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24656 echo $ECHO_N "(cached) $ECHO_C" >&6
24657 else
24658 ac_check_lib_save_LIBS=$LIBS
24659 LIBS="-ldnet $LIBS"
24660 cat >conftest.$ac_ext <<_ACEOF
24661 /* confdefs.h. */
24662 _ACEOF
24663 cat confdefs.h >>conftest.$ac_ext
24664 cat >>conftest.$ac_ext <<_ACEOF
24665 /* end confdefs.h. */
24666
24667 /* Override any gcc2 internal prototype to avoid an error. */
24668 #ifdef __cplusplus
24669 extern "C"
24670 #endif
24671 /* We use char because int might match the return type of a gcc2
24672 builtin and then its argument prototype would still apply. */
24673 char dnet_ntoa ();
24674 int
24675 main ()
24676 {
24677 dnet_ntoa ();
24678 ;
24679 return 0;
24680 }
24681 _ACEOF
24682 rm -f conftest.$ac_objext conftest$ac_exeext
24683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24684 (eval $ac_link) 2>conftest.er1
24685 ac_status=$?
24686 grep -v '^ *+' conftest.er1 >conftest.err
24687 rm -f conftest.er1
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } &&
24691 { ac_try='test -z "$ac_c_werror_flag"
24692 || test ! -s conftest.err'
24693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24694 (eval $ac_try) 2>&5
24695 ac_status=$?
24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24697 (exit $ac_status); }; } &&
24698 { ac_try='test -s conftest$ac_exeext'
24699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24700 (eval $ac_try) 2>&5
24701 ac_status=$?
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); }; }; then
24704 ac_cv_lib_dnet_dnet_ntoa=yes
24705 else
24706 echo "$as_me: failed program was:" >&5
24707 sed 's/^/| /' conftest.$ac_ext >&5
24708
24709 ac_cv_lib_dnet_dnet_ntoa=no
24710 fi
24711 rm -f conftest.err conftest.$ac_objext \
24712 conftest$ac_exeext conftest.$ac_ext
24713 LIBS=$ac_check_lib_save_LIBS
24714 fi
24715 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24716 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24717 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24718 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24719 fi
24720
24721 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24722 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24723 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24724 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727 ac_check_lib_save_LIBS=$LIBS
24728 LIBS="-ldnet_stub $LIBS"
24729 cat >conftest.$ac_ext <<_ACEOF
24730 /* confdefs.h. */
24731 _ACEOF
24732 cat confdefs.h >>conftest.$ac_ext
24733 cat >>conftest.$ac_ext <<_ACEOF
24734 /* end confdefs.h. */
24735
24736 /* Override any gcc2 internal prototype to avoid an error. */
24737 #ifdef __cplusplus
24738 extern "C"
24739 #endif
24740 /* We use char because int might match the return type of a gcc2
24741 builtin and then its argument prototype would still apply. */
24742 char dnet_ntoa ();
24743 int
24744 main ()
24745 {
24746 dnet_ntoa ();
24747 ;
24748 return 0;
24749 }
24750 _ACEOF
24751 rm -f conftest.$ac_objext conftest$ac_exeext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24753 (eval $ac_link) 2>conftest.er1
24754 ac_status=$?
24755 grep -v '^ *+' conftest.er1 >conftest.err
24756 rm -f conftest.er1
24757 cat conftest.err >&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try='test -z "$ac_c_werror_flag"
24761 || test ! -s conftest.err'
24762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763 (eval $ac_try) 2>&5
24764 ac_status=$?
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); }; } &&
24767 { ac_try='test -s conftest$ac_exeext'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24770 ac_status=$?
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; }; then
24773 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24774 else
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24777
24778 ac_cv_lib_dnet_stub_dnet_ntoa=no
24779 fi
24780 rm -f conftest.err conftest.$ac_objext \
24781 conftest$ac_exeext conftest.$ac_ext
24782 LIBS=$ac_check_lib_save_LIBS
24783 fi
24784 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24785 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24786 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24787 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24788 fi
24789
24790 fi
24791 fi
24792 rm -f conftest.err conftest.$ac_objext \
24793 conftest$ac_exeext conftest.$ac_ext
24794 LIBS="$ac_xsave_LIBS"
24795
24796 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24797 # to get the SysV transport functions.
24798 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24799 # needs -lnsl.
24800 # The nsl library prevents programs from opening the X display
24801 # on Irix 5.2, according to T.E. Dickey.
24802 # The functions gethostbyname, getservbyname, and inet_addr are
24803 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24804 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24805 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24806 if test "${ac_cv_func_gethostbyname+set}" = set; then
24807 echo $ECHO_N "(cached) $ECHO_C" >&6
24808 else
24809 cat >conftest.$ac_ext <<_ACEOF
24810 /* confdefs.h. */
24811 _ACEOF
24812 cat confdefs.h >>conftest.$ac_ext
24813 cat >>conftest.$ac_ext <<_ACEOF
24814 /* end confdefs.h. */
24815 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24817 #define gethostbyname innocuous_gethostbyname
24818
24819 /* System header to define __stub macros and hopefully few prototypes,
24820 which can conflict with char gethostbyname (); below.
24821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24822 <limits.h> exists even on freestanding compilers. */
24823
24824 #ifdef __STDC__
24825 # include <limits.h>
24826 #else
24827 # include <assert.h>
24828 #endif
24829
24830 #undef gethostbyname
24831
24832 /* Override any gcc2 internal prototype to avoid an error. */
24833 #ifdef __cplusplus
24834 extern "C"
24835 {
24836 #endif
24837 /* We use char because int might match the return type of a gcc2
24838 builtin and then its argument prototype would still apply. */
24839 char gethostbyname ();
24840 /* The GNU C library defines this for functions which it implements
24841 to always fail with ENOSYS. Some functions are actually named
24842 something starting with __ and the normal name is an alias. */
24843 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24844 choke me
24845 #else
24846 char (*f) () = gethostbyname;
24847 #endif
24848 #ifdef __cplusplus
24849 }
24850 #endif
24851
24852 int
24853 main ()
24854 {
24855 return f != gethostbyname;
24856 ;
24857 return 0;
24858 }
24859 _ACEOF
24860 rm -f conftest.$ac_objext conftest$ac_exeext
24861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24862 (eval $ac_link) 2>conftest.er1
24863 ac_status=$?
24864 grep -v '^ *+' conftest.er1 >conftest.err
24865 rm -f conftest.er1
24866 cat conftest.err >&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); } &&
24869 { ac_try='test -z "$ac_c_werror_flag"
24870 || test ! -s conftest.err'
24871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872 (eval $ac_try) 2>&5
24873 ac_status=$?
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); }; } &&
24876 { ac_try='test -s conftest$ac_exeext'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24879 ac_status=$?
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; }; then
24882 ac_cv_func_gethostbyname=yes
24883 else
24884 echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.$ac_ext >&5
24886
24887 ac_cv_func_gethostbyname=no
24888 fi
24889 rm -f conftest.err conftest.$ac_objext \
24890 conftest$ac_exeext conftest.$ac_ext
24891 fi
24892 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24893 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24894
24895 if test $ac_cv_func_gethostbyname = no; then
24896 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24897 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24898 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24899 echo $ECHO_N "(cached) $ECHO_C" >&6
24900 else
24901 ac_check_lib_save_LIBS=$LIBS
24902 LIBS="-lnsl $LIBS"
24903 cat >conftest.$ac_ext <<_ACEOF
24904 /* confdefs.h. */
24905 _ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909
24910 /* Override any gcc2 internal prototype to avoid an error. */
24911 #ifdef __cplusplus
24912 extern "C"
24913 #endif
24914 /* We use char because int might match the return type of a gcc2
24915 builtin and then its argument prototype would still apply. */
24916 char gethostbyname ();
24917 int
24918 main ()
24919 {
24920 gethostbyname ();
24921 ;
24922 return 0;
24923 }
24924 _ACEOF
24925 rm -f conftest.$ac_objext conftest$ac_exeext
24926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24927 (eval $ac_link) 2>conftest.er1
24928 ac_status=$?
24929 grep -v '^ *+' conftest.er1 >conftest.err
24930 rm -f conftest.er1
24931 cat conftest.err >&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } &&
24934 { ac_try='test -z "$ac_c_werror_flag"
24935 || test ! -s conftest.err'
24936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24937 (eval $ac_try) 2>&5
24938 ac_status=$?
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); }; } &&
24941 { ac_try='test -s conftest$ac_exeext'
24942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943 (eval $ac_try) 2>&5
24944 ac_status=$?
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); }; }; then
24947 ac_cv_lib_nsl_gethostbyname=yes
24948 else
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.$ac_ext >&5
24951
24952 ac_cv_lib_nsl_gethostbyname=no
24953 fi
24954 rm -f conftest.err conftest.$ac_objext \
24955 conftest$ac_exeext conftest.$ac_ext
24956 LIBS=$ac_check_lib_save_LIBS
24957 fi
24958 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24959 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24960 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24961 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24962 fi
24963
24964 if test $ac_cv_lib_nsl_gethostbyname = no; then
24965 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24966 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24967 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24968 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 else
24970 ac_check_lib_save_LIBS=$LIBS
24971 LIBS="-lbsd $LIBS"
24972 cat >conftest.$ac_ext <<_ACEOF
24973 /* confdefs.h. */
24974 _ACEOF
24975 cat confdefs.h >>conftest.$ac_ext
24976 cat >>conftest.$ac_ext <<_ACEOF
24977 /* end confdefs.h. */
24978
24979 /* Override any gcc2 internal prototype to avoid an error. */
24980 #ifdef __cplusplus
24981 extern "C"
24982 #endif
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24985 char gethostbyname ();
24986 int
24987 main ()
24988 {
24989 gethostbyname ();
24990 ;
24991 return 0;
24992 }
24993 _ACEOF
24994 rm -f conftest.$ac_objext conftest$ac_exeext
24995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24996 (eval $ac_link) 2>conftest.er1
24997 ac_status=$?
24998 grep -v '^ *+' conftest.er1 >conftest.err
24999 rm -f conftest.er1
25000 cat conftest.err >&5
25001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25002 (exit $ac_status); } &&
25003 { ac_try='test -z "$ac_c_werror_flag"
25004 || test ! -s conftest.err'
25005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25006 (eval $ac_try) 2>&5
25007 ac_status=$?
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); }; } &&
25010 { ac_try='test -s conftest$ac_exeext'
25011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25012 (eval $ac_try) 2>&5
25013 ac_status=$?
25014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25015 (exit $ac_status); }; }; then
25016 ac_cv_lib_bsd_gethostbyname=yes
25017 else
25018 echo "$as_me: failed program was:" >&5
25019 sed 's/^/| /' conftest.$ac_ext >&5
25020
25021 ac_cv_lib_bsd_gethostbyname=no
25022 fi
25023 rm -f conftest.err conftest.$ac_objext \
25024 conftest$ac_exeext conftest.$ac_ext
25025 LIBS=$ac_check_lib_save_LIBS
25026 fi
25027 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25028 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25029 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25030 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25031 fi
25032
25033 fi
25034 fi
25035
25036 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25037 # socket/setsockopt and other routines are undefined under SCO ODT
25038 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25039 # on later versions), says Simon Leinen: it contains gethostby*
25040 # variants that don't use the name server (or something). -lsocket
25041 # must be given before -lnsl if both are needed. We assume that
25042 # if connect needs -lnsl, so does gethostbyname.
25043 echo "$as_me:$LINENO: checking for connect" >&5
25044 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25045 if test "${ac_cv_func_connect+set}" = set; then
25046 echo $ECHO_N "(cached) $ECHO_C" >&6
25047 else
25048 cat >conftest.$ac_ext <<_ACEOF
25049 /* confdefs.h. */
25050 _ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25056 #define connect innocuous_connect
25057
25058 /* System header to define __stub macros and hopefully few prototypes,
25059 which can conflict with char connect (); below.
25060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25061 <limits.h> exists even on freestanding compilers. */
25062
25063 #ifdef __STDC__
25064 # include <limits.h>
25065 #else
25066 # include <assert.h>
25067 #endif
25068
25069 #undef connect
25070
25071 /* Override any gcc2 internal prototype to avoid an error. */
25072 #ifdef __cplusplus
25073 extern "C"
25074 {
25075 #endif
25076 /* We use char because int might match the return type of a gcc2
25077 builtin and then its argument prototype would still apply. */
25078 char connect ();
25079 /* The GNU C library defines this for functions which it implements
25080 to always fail with ENOSYS. Some functions are actually named
25081 something starting with __ and the normal name is an alias. */
25082 #if defined (__stub_connect) || defined (__stub___connect)
25083 choke me
25084 #else
25085 char (*f) () = connect;
25086 #endif
25087 #ifdef __cplusplus
25088 }
25089 #endif
25090
25091 int
25092 main ()
25093 {
25094 return f != connect;
25095 ;
25096 return 0;
25097 }
25098 _ACEOF
25099 rm -f conftest.$ac_objext conftest$ac_exeext
25100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25101 (eval $ac_link) 2>conftest.er1
25102 ac_status=$?
25103 grep -v '^ *+' conftest.er1 >conftest.err
25104 rm -f conftest.er1
25105 cat conftest.err >&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); } &&
25108 { ac_try='test -z "$ac_c_werror_flag"
25109 || test ! -s conftest.err'
25110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25111 (eval $ac_try) 2>&5
25112 ac_status=$?
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); }; } &&
25115 { ac_try='test -s conftest$ac_exeext'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25118 ac_status=$?
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; }; then
25121 ac_cv_func_connect=yes
25122 else
25123 echo "$as_me: failed program was:" >&5
25124 sed 's/^/| /' conftest.$ac_ext >&5
25125
25126 ac_cv_func_connect=no
25127 fi
25128 rm -f conftest.err conftest.$ac_objext \
25129 conftest$ac_exeext conftest.$ac_ext
25130 fi
25131 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25132 echo "${ECHO_T}$ac_cv_func_connect" >&6
25133
25134 if test $ac_cv_func_connect = no; then
25135 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25136 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25137 if test "${ac_cv_lib_socket_connect+set}" = set; then
25138 echo $ECHO_N "(cached) $ECHO_C" >&6
25139 else
25140 ac_check_lib_save_LIBS=$LIBS
25141 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25142 cat >conftest.$ac_ext <<_ACEOF
25143 /* confdefs.h. */
25144 _ACEOF
25145 cat confdefs.h >>conftest.$ac_ext
25146 cat >>conftest.$ac_ext <<_ACEOF
25147 /* end confdefs.h. */
25148
25149 /* Override any gcc2 internal prototype to avoid an error. */
25150 #ifdef __cplusplus
25151 extern "C"
25152 #endif
25153 /* We use char because int might match the return type of a gcc2
25154 builtin and then its argument prototype would still apply. */
25155 char connect ();
25156 int
25157 main ()
25158 {
25159 connect ();
25160 ;
25161 return 0;
25162 }
25163 _ACEOF
25164 rm -f conftest.$ac_objext conftest$ac_exeext
25165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25166 (eval $ac_link) 2>conftest.er1
25167 ac_status=$?
25168 grep -v '^ *+' conftest.er1 >conftest.err
25169 rm -f conftest.er1
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } &&
25173 { ac_try='test -z "$ac_c_werror_flag"
25174 || test ! -s conftest.err'
25175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25176 (eval $ac_try) 2>&5
25177 ac_status=$?
25178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25179 (exit $ac_status); }; } &&
25180 { ac_try='test -s conftest$ac_exeext'
25181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25182 (eval $ac_try) 2>&5
25183 ac_status=$?
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); }; }; then
25186 ac_cv_lib_socket_connect=yes
25187 else
25188 echo "$as_me: failed program was:" >&5
25189 sed 's/^/| /' conftest.$ac_ext >&5
25190
25191 ac_cv_lib_socket_connect=no
25192 fi
25193 rm -f conftest.err conftest.$ac_objext \
25194 conftest$ac_exeext conftest.$ac_ext
25195 LIBS=$ac_check_lib_save_LIBS
25196 fi
25197 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25198 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25199 if test $ac_cv_lib_socket_connect = yes; then
25200 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25201 fi
25202
25203 fi
25204
25205 # Guillermo Gomez says -lposix is necessary on A/UX.
25206 echo "$as_me:$LINENO: checking for remove" >&5
25207 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25208 if test "${ac_cv_func_remove+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 else
25211 cat >conftest.$ac_ext <<_ACEOF
25212 /* confdefs.h. */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25219 #define remove innocuous_remove
25220
25221 /* System header to define __stub macros and hopefully few prototypes,
25222 which can conflict with char remove (); below.
25223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25224 <limits.h> exists even on freestanding compilers. */
25225
25226 #ifdef __STDC__
25227 # include <limits.h>
25228 #else
25229 # include <assert.h>
25230 #endif
25231
25232 #undef remove
25233
25234 /* Override any gcc2 internal prototype to avoid an error. */
25235 #ifdef __cplusplus
25236 extern "C"
25237 {
25238 #endif
25239 /* We use char because int might match the return type of a gcc2
25240 builtin and then its argument prototype would still apply. */
25241 char remove ();
25242 /* The GNU C library defines this for functions which it implements
25243 to always fail with ENOSYS. Some functions are actually named
25244 something starting with __ and the normal name is an alias. */
25245 #if defined (__stub_remove) || defined (__stub___remove)
25246 choke me
25247 #else
25248 char (*f) () = remove;
25249 #endif
25250 #ifdef __cplusplus
25251 }
25252 #endif
25253
25254 int
25255 main ()
25256 {
25257 return f != remove;
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"
25272 || test ! -s conftest.err'
25273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274 (eval $ac_try) 2>&5
25275 ac_status=$?
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; } &&
25278 { ac_try='test -s conftest$ac_exeext'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25281 ac_status=$?
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; }; then
25284 ac_cv_func_remove=yes
25285 else
25286 echo "$as_me: failed program was:" >&5
25287 sed 's/^/| /' conftest.$ac_ext >&5
25288
25289 ac_cv_func_remove=no
25290 fi
25291 rm -f conftest.err conftest.$ac_objext \
25292 conftest$ac_exeext conftest.$ac_ext
25293 fi
25294 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25295 echo "${ECHO_T}$ac_cv_func_remove" >&6
25296
25297 if test $ac_cv_func_remove = no; then
25298 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25299 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25300 if test "${ac_cv_lib_posix_remove+set}" = set; then
25301 echo $ECHO_N "(cached) $ECHO_C" >&6
25302 else
25303 ac_check_lib_save_LIBS=$LIBS
25304 LIBS="-lposix $LIBS"
25305 cat >conftest.$ac_ext <<_ACEOF
25306 /* confdefs.h. */
25307 _ACEOF
25308 cat confdefs.h >>conftest.$ac_ext
25309 cat >>conftest.$ac_ext <<_ACEOF
25310 /* end confdefs.h. */
25311
25312 /* Override any gcc2 internal prototype to avoid an error. */
25313 #ifdef __cplusplus
25314 extern "C"
25315 #endif
25316 /* We use char because int might match the return type of a gcc2
25317 builtin and then its argument prototype would still apply. */
25318 char remove ();
25319 int
25320 main ()
25321 {
25322 remove ();
25323 ;
25324 return 0;
25325 }
25326 _ACEOF
25327 rm -f conftest.$ac_objext conftest$ac_exeext
25328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25329 (eval $ac_link) 2>conftest.er1
25330 ac_status=$?
25331 grep -v '^ *+' conftest.er1 >conftest.err
25332 rm -f conftest.er1
25333 cat conftest.err >&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } &&
25336 { ac_try='test -z "$ac_c_werror_flag"
25337 || test ! -s conftest.err'
25338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25339 (eval $ac_try) 2>&5
25340 ac_status=$?
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); }; } &&
25343 { ac_try='test -s conftest$ac_exeext'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; }; then
25349 ac_cv_lib_posix_remove=yes
25350 else
25351 echo "$as_me: failed program was:" >&5
25352 sed 's/^/| /' conftest.$ac_ext >&5
25353
25354 ac_cv_lib_posix_remove=no
25355 fi
25356 rm -f conftest.err conftest.$ac_objext \
25357 conftest$ac_exeext conftest.$ac_ext
25358 LIBS=$ac_check_lib_save_LIBS
25359 fi
25360 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25361 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25362 if test $ac_cv_lib_posix_remove = yes; then
25363 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25364 fi
25365
25366 fi
25367
25368 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25369 echo "$as_me:$LINENO: checking for shmat" >&5
25370 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25371 if test "${ac_cv_func_shmat+set}" = set; then
25372 echo $ECHO_N "(cached) $ECHO_C" >&6
25373 else
25374 cat >conftest.$ac_ext <<_ACEOF
25375 /* confdefs.h. */
25376 _ACEOF
25377 cat confdefs.h >>conftest.$ac_ext
25378 cat >>conftest.$ac_ext <<_ACEOF
25379 /* end confdefs.h. */
25380 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25382 #define shmat innocuous_shmat
25383
25384 /* System header to define __stub macros and hopefully few prototypes,
25385 which can conflict with char shmat (); below.
25386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25387 <limits.h> exists even on freestanding compilers. */
25388
25389 #ifdef __STDC__
25390 # include <limits.h>
25391 #else
25392 # include <assert.h>
25393 #endif
25394
25395 #undef shmat
25396
25397 /* Override any gcc2 internal prototype to avoid an error. */
25398 #ifdef __cplusplus
25399 extern "C"
25400 {
25401 #endif
25402 /* We use char because int might match the return type of a gcc2
25403 builtin and then its argument prototype would still apply. */
25404 char shmat ();
25405 /* The GNU C library defines this for functions which it implements
25406 to always fail with ENOSYS. Some functions are actually named
25407 something starting with __ and the normal name is an alias. */
25408 #if defined (__stub_shmat) || defined (__stub___shmat)
25409 choke me
25410 #else
25411 char (*f) () = shmat;
25412 #endif
25413 #ifdef __cplusplus
25414 }
25415 #endif
25416
25417 int
25418 main ()
25419 {
25420 return f != shmat;
25421 ;
25422 return 0;
25423 }
25424 _ACEOF
25425 rm -f conftest.$ac_objext conftest$ac_exeext
25426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25427 (eval $ac_link) 2>conftest.er1
25428 ac_status=$?
25429 grep -v '^ *+' conftest.er1 >conftest.err
25430 rm -f conftest.er1
25431 cat conftest.err >&5
25432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25433 (exit $ac_status); } &&
25434 { ac_try='test -z "$ac_c_werror_flag"
25435 || test ! -s conftest.err'
25436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25437 (eval $ac_try) 2>&5
25438 ac_status=$?
25439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25440 (exit $ac_status); }; } &&
25441 { ac_try='test -s conftest$ac_exeext'
25442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25443 (eval $ac_try) 2>&5
25444 ac_status=$?
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); }; }; then
25447 ac_cv_func_shmat=yes
25448 else
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.$ac_ext >&5
25451
25452 ac_cv_func_shmat=no
25453 fi
25454 rm -f conftest.err conftest.$ac_objext \
25455 conftest$ac_exeext conftest.$ac_ext
25456 fi
25457 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25458 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25459
25460 if test $ac_cv_func_shmat = no; then
25461 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25462 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25463 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25464 echo $ECHO_N "(cached) $ECHO_C" >&6
25465 else
25466 ac_check_lib_save_LIBS=$LIBS
25467 LIBS="-lipc $LIBS"
25468 cat >conftest.$ac_ext <<_ACEOF
25469 /* confdefs.h. */
25470 _ACEOF
25471 cat confdefs.h >>conftest.$ac_ext
25472 cat >>conftest.$ac_ext <<_ACEOF
25473 /* end confdefs.h. */
25474
25475 /* Override any gcc2 internal prototype to avoid an error. */
25476 #ifdef __cplusplus
25477 extern "C"
25478 #endif
25479 /* We use char because int might match the return type of a gcc2
25480 builtin and then its argument prototype would still apply. */
25481 char shmat ();
25482 int
25483 main ()
25484 {
25485 shmat ();
25486 ;
25487 return 0;
25488 }
25489 _ACEOF
25490 rm -f conftest.$ac_objext conftest$ac_exeext
25491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25492 (eval $ac_link) 2>conftest.er1
25493 ac_status=$?
25494 grep -v '^ *+' conftest.er1 >conftest.err
25495 rm -f conftest.er1
25496 cat conftest.err >&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); } &&
25499 { ac_try='test -z "$ac_c_werror_flag"
25500 || test ! -s conftest.err'
25501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25502 (eval $ac_try) 2>&5
25503 ac_status=$?
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); }; } &&
25506 { ac_try='test -s conftest$ac_exeext'
25507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25508 (eval $ac_try) 2>&5
25509 ac_status=$?
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); }; }; then
25512 ac_cv_lib_ipc_shmat=yes
25513 else
25514 echo "$as_me: failed program was:" >&5
25515 sed 's/^/| /' conftest.$ac_ext >&5
25516
25517 ac_cv_lib_ipc_shmat=no
25518 fi
25519 rm -f conftest.err conftest.$ac_objext \
25520 conftest$ac_exeext conftest.$ac_ext
25521 LIBS=$ac_check_lib_save_LIBS
25522 fi
25523 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25524 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25525 if test $ac_cv_lib_ipc_shmat = yes; then
25526 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25527 fi
25528
25529 fi
25530 fi
25531
25532 # Check for libraries that X11R6 Xt/Xaw programs need.
25533 ac_save_LDFLAGS=$LDFLAGS
25534 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25535 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25536 # check for ICE first), but we must link in the order -lSM -lICE or
25537 # we get undefined symbols. So assume we have SM if we have ICE.
25538 # These have to be linked with before -lX11, unlike the other
25539 # libraries we check for below, so use a different variable.
25540 # John Interrante, Karl Berry
25541 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25542 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25543 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546 ac_check_lib_save_LIBS=$LIBS
25547 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25548 cat >conftest.$ac_ext <<_ACEOF
25549 /* confdefs.h. */
25550 _ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25554
25555 /* Override any gcc2 internal prototype to avoid an error. */
25556 #ifdef __cplusplus
25557 extern "C"
25558 #endif
25559 /* We use char because int might match the return type of a gcc2
25560 builtin and then its argument prototype would still apply. */
25561 char IceConnectionNumber ();
25562 int
25563 main ()
25564 {
25565 IceConnectionNumber ();
25566 ;
25567 return 0;
25568 }
25569 _ACEOF
25570 rm -f conftest.$ac_objext conftest$ac_exeext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25572 (eval $ac_link) 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try='test -z "$ac_c_werror_flag"
25580 || test ! -s conftest.err'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25583 ac_status=$?
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; } &&
25586 { ac_try='test -s conftest$ac_exeext'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592 ac_cv_lib_ICE_IceConnectionNumber=yes
25593 else
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25596
25597 ac_cv_lib_ICE_IceConnectionNumber=no
25598 fi
25599 rm -f conftest.err conftest.$ac_objext \
25600 conftest$ac_exeext conftest.$ac_ext
25601 LIBS=$ac_check_lib_save_LIBS
25602 fi
25603 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25604 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25605 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25606 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25607 fi
25608
25609 LDFLAGS=$ac_save_LDFLAGS
25610
25611 fi
25612
25613
25614 if test "$no_x" = "yes"; then
25615 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25616 echo "$as_me: error: X11 not found" >&2;}
25617 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25618 fi
25619
25620 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25621 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25622 AFMINSTALL=afminstall
25623 COMPILED_X_PROGRAM=0
25624
25625 fi
25626
25627 if test "$wxUSE_X11" = 1; then
25628 if test "$wxUSE_NANOX" = "yes"; then
25629 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
25630 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
25631 if test "x$MICROWIN" = x ; then
25632 echo "$as_me:$LINENO: result: not found" >&5
25633 echo "${ECHO_T}not found" >&6
25634 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
25635 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
25636 { (exit 1); exit 1; }; }
25637 else
25638 echo "$as_me:$LINENO: result: $MICROWIN" >&5
25639 echo "${ECHO_T}$MICROWIN" >&6
25640 cat >>confdefs.h <<\_ACEOF
25641 #define wxUSE_NANOX 1
25642 _ACEOF
25643
25644 fi
25645 fi
25646
25647 if test "$wxUSE_UNICODE" = "yes"; then
25648
25649 succeeded=no
25650
25651 if test -z "$PKG_CONFIG"; then
25652 # Extract the first word of "pkg-config", so it can be a program name with args.
25653 set dummy pkg-config; ac_word=$2
25654 echo "$as_me:$LINENO: checking for $ac_word" >&5
25655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25656 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25657 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 else
25659 case $PKG_CONFIG in
25660 [\\/]* | ?:[\\/]*)
25661 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25662 ;;
25663 *)
25664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25665 for as_dir in $PATH
25666 do
25667 IFS=$as_save_IFS
25668 test -z "$as_dir" && as_dir=.
25669 for ac_exec_ext in '' $ac_executable_extensions; do
25670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25671 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25673 break 2
25674 fi
25675 done
25676 done
25677
25678 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25679 ;;
25680 esac
25681 fi
25682 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25683
25684 if test -n "$PKG_CONFIG"; then
25685 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25686 echo "${ECHO_T}$PKG_CONFIG" >&6
25687 else
25688 echo "$as_me:$LINENO: result: no" >&5
25689 echo "${ECHO_T}no" >&6
25690 fi
25691
25692 fi
25693
25694 if test "$PKG_CONFIG" = "no" ; then
25695 echo "*** The pkg-config script could not be found. Make sure it is"
25696 echo "*** in your path, or set the PKG_CONFIG environment variable"
25697 echo "*** to the full path to pkg-config."
25698 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25699 else
25700 PKG_CONFIG_MIN_VERSION=0.9.0
25701 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25702 echo "$as_me:$LINENO: checking for pangox" >&5
25703 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
25704
25705 if $PKG_CONFIG --exists "pangox" ; then
25706 echo "$as_me:$LINENO: result: yes" >&5
25707 echo "${ECHO_T}yes" >&6
25708 succeeded=yes
25709
25710 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
25711 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
25712 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
25713 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
25714 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
25715
25716 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
25717 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
25718 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
25719 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
25720 echo "${ECHO_T}$PANGOX_LIBS" >&6
25721 else
25722 PANGOX_CFLAGS=""
25723 PANGOX_LIBS=""
25724 ## If we have a custom action on failure, don't print errors, but
25725 ## do set a variable so people can do so.
25726 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25727
25728 fi
25729
25730
25731
25732 else
25733 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25734 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25735 fi
25736 fi
25737
25738 if test $succeeded = yes; then
25739
25740 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
25741 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25742
25743 else
25744
25745 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
25746 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
25747 { (exit 1); exit 1; }; }
25748
25749
25750 fi
25751
25752
25753 succeeded=no
25754
25755 if test -z "$PKG_CONFIG"; then
25756 # Extract the first word of "pkg-config", so it can be a program name with args.
25757 set dummy pkg-config; ac_word=$2
25758 echo "$as_me:$LINENO: checking for $ac_word" >&5
25759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25760 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25761 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 else
25763 case $PKG_CONFIG in
25764 [\\/]* | ?:[\\/]*)
25765 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25766 ;;
25767 *)
25768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25769 for as_dir in $PATH
25770 do
25771 IFS=$as_save_IFS
25772 test -z "$as_dir" && as_dir=.
25773 for ac_exec_ext in '' $ac_executable_extensions; do
25774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25775 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25777 break 2
25778 fi
25779 done
25780 done
25781
25782 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25783 ;;
25784 esac
25785 fi
25786 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25787
25788 if test -n "$PKG_CONFIG"; then
25789 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25790 echo "${ECHO_T}$PKG_CONFIG" >&6
25791 else
25792 echo "$as_me:$LINENO: result: no" >&5
25793 echo "${ECHO_T}no" >&6
25794 fi
25795
25796 fi
25797
25798 if test "$PKG_CONFIG" = "no" ; then
25799 echo "*** The pkg-config script could not be found. Make sure it is"
25800 echo "*** in your path, or set the PKG_CONFIG environment variable"
25801 echo "*** to the full path to pkg-config."
25802 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25803 else
25804 PKG_CONFIG_MIN_VERSION=0.9.0
25805 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25806 echo "$as_me:$LINENO: checking for pangoft2" >&5
25807 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
25808
25809 if $PKG_CONFIG --exists "pangoft2" ; then
25810 echo "$as_me:$LINENO: result: yes" >&5
25811 echo "${ECHO_T}yes" >&6
25812 succeeded=yes
25813
25814 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
25815 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
25816 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
25817 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
25818 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
25819
25820 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
25821 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
25822 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
25823 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
25824 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
25825 else
25826 PANGOFT2_CFLAGS=""
25827 PANGOFT2_LIBS=""
25828 ## If we have a custom action on failure, don't print errors, but
25829 ## do set a variable so people can do so.
25830 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25831
25832 fi
25833
25834
25835
25836 else
25837 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25838 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25839 fi
25840 fi
25841
25842 if test $succeeded = yes; then
25843
25844 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
25845 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25846
25847 else
25848
25849 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25850 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25851 wxUSE_PRINTING_ARCHITECTURE="no"
25852
25853
25854 fi
25855
25856
25857 succeeded=no
25858
25859 if test -z "$PKG_CONFIG"; then
25860 # Extract the first word of "pkg-config", so it can be a program name with args.
25861 set dummy pkg-config; ac_word=$2
25862 echo "$as_me:$LINENO: checking for $ac_word" >&5
25863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25865 echo $ECHO_N "(cached) $ECHO_C" >&6
25866 else
25867 case $PKG_CONFIG in
25868 [\\/]* | ?:[\\/]*)
25869 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25870 ;;
25871 *)
25872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25873 for as_dir in $PATH
25874 do
25875 IFS=$as_save_IFS
25876 test -z "$as_dir" && as_dir=.
25877 for ac_exec_ext in '' $ac_executable_extensions; do
25878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25879 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25881 break 2
25882 fi
25883 done
25884 done
25885
25886 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
25887 ;;
25888 esac
25889 fi
25890 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25891
25892 if test -n "$PKG_CONFIG"; then
25893 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25894 echo "${ECHO_T}$PKG_CONFIG" >&6
25895 else
25896 echo "$as_me:$LINENO: result: no" >&5
25897 echo "${ECHO_T}no" >&6
25898 fi
25899
25900 fi
25901
25902 if test "$PKG_CONFIG" = "no" ; then
25903 echo "*** The pkg-config script could not be found. Make sure it is"
25904 echo "*** in your path, or set the PKG_CONFIG environment variable"
25905 echo "*** to the full path to pkg-config."
25906 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25907 else
25908 PKG_CONFIG_MIN_VERSION=0.9.0
25909 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25910 echo "$as_me:$LINENO: checking for pangoxft" >&5
25911 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
25912
25913 if $PKG_CONFIG --exists "pangoxft" ; then
25914 echo "$as_me:$LINENO: result: yes" >&5
25915 echo "${ECHO_T}yes" >&6
25916 succeeded=yes
25917
25918 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
25919 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
25920 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
25921 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
25922 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
25923
25924 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
25925 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
25926 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
25927 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
25928 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
25929 else
25930 PANGOXFT_CFLAGS=""
25931 PANGOXFT_LIBS=""
25932 ## If we have a custom action on failure, don't print errors, but
25933 ## do set a variable so people can do so.
25934 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25935
25936 fi
25937
25938
25939
25940 else
25941 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25942 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25943 fi
25944 fi
25945
25946 if test $succeeded = yes; then
25947
25948 cat >>confdefs.h <<\_ACEOF
25949 #define HAVE_PANGO_XFT 1
25950 _ACEOF
25951
25952 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
25953 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25954
25955 else
25956
25957 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25958 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25959
25960
25961 fi
25962
25963 save_CFLAGS="$CFLAGS"
25964 save_LIBS="$LIBS"
25965 CFLAGS="$CFLAGS $PANGOX_CFLAGS"
25966 LIBS="$LIBS $PANGOX_LIBS"
25967
25968 for ac_func in pango_font_family_is_monospace
25969 do
25970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25971 echo "$as_me:$LINENO: checking for $ac_func" >&5
25972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25973 if eval "test \"\${$as_ac_var+set}\" = set"; then
25974 echo $ECHO_N "(cached) $ECHO_C" >&6
25975 else
25976 cat >conftest.$ac_ext <<_ACEOF
25977 /* confdefs.h. */
25978 _ACEOF
25979 cat confdefs.h >>conftest.$ac_ext
25980 cat >>conftest.$ac_ext <<_ACEOF
25981 /* end confdefs.h. */
25982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25984 #define $ac_func innocuous_$ac_func
25985
25986 /* System header to define __stub macros and hopefully few prototypes,
25987 which can conflict with char $ac_func (); below.
25988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25989 <limits.h> exists even on freestanding compilers. */
25990
25991 #ifdef __STDC__
25992 # include <limits.h>
25993 #else
25994 # include <assert.h>
25995 #endif
25996
25997 #undef $ac_func
25998
25999 /* Override any gcc2 internal prototype to avoid an error. */
26000 #ifdef __cplusplus
26001 extern "C"
26002 {
26003 #endif
26004 /* We use char because int might match the return type of a gcc2
26005 builtin and then its argument prototype would still apply. */
26006 char $ac_func ();
26007 /* The GNU C library defines this for functions which it implements
26008 to always fail with ENOSYS. Some functions are actually named
26009 something starting with __ and the normal name is an alias. */
26010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26011 choke me
26012 #else
26013 char (*f) () = $ac_func;
26014 #endif
26015 #ifdef __cplusplus
26016 }
26017 #endif
26018
26019 int
26020 main ()
26021 {
26022 return f != $ac_func;
26023 ;
26024 return 0;
26025 }
26026 _ACEOF
26027 rm -f conftest.$ac_objext conftest$ac_exeext
26028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26029 (eval $ac_link) 2>conftest.er1
26030 ac_status=$?
26031 grep -v '^ *+' conftest.er1 >conftest.err
26032 rm -f conftest.er1
26033 cat conftest.err >&5
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); } &&
26036 { ac_try='test -z "$ac_c_werror_flag"
26037 || test ! -s conftest.err'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; } &&
26043 { ac_try='test -s conftest$ac_exeext'
26044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26045 (eval $ac_try) 2>&5
26046 ac_status=$?
26047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26048 (exit $ac_status); }; }; then
26049 eval "$as_ac_var=yes"
26050 else
26051 echo "$as_me: failed program was:" >&5
26052 sed 's/^/| /' conftest.$ac_ext >&5
26053
26054 eval "$as_ac_var=no"
26055 fi
26056 rm -f conftest.err conftest.$ac_objext \
26057 conftest$ac_exeext conftest.$ac_ext
26058 fi
26059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26061 if test `eval echo '${'$as_ac_var'}'` = yes; then
26062 cat >>confdefs.h <<_ACEOF
26063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26064 _ACEOF
26065
26066 fi
26067 done
26068
26069 CFLAGS="$save_CFLAGS"
26070 LIBS="$save_LIBS"
26071 fi
26072
26073 wxUSE_UNIVERSAL="yes"
26074
26075 if test "$wxUSE_NANOX" = "yes"; then
26076 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
26077 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"
26078 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
26079 else
26080 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
26081 fi
26082
26083 TOOLKIT=X11
26084 GUIDIST=X11_DIST
26085 fi
26086
26087 if test "$wxUSE_MOTIF" = 1; then
26088 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26089 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26090
26091 ac_find_includes=
26092 for ac_dir in $SEARCH_INCLUDE /usr/include;
26093 do
26094 if test -f "$ac_dir/Xm/Xm.h"; then
26095 ac_find_includes=$ac_dir
26096 break
26097 fi
26098 done
26099
26100 if test "$ac_find_includes" != "" ; then
26101 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26102 echo "${ECHO_T}found in $ac_find_includes" >&6
26103
26104 if test "x$ac_find_includes" = "x/usr/include"; then
26105 ac_path_to_include=""
26106 else
26107 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26108 result=$?
26109 if test $result = 0; then
26110 ac_path_to_include=""
26111 else
26112 ac_path_to_include=" -I$ac_find_includes"
26113 fi
26114 fi
26115
26116 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26117 else
26118 cat >conftest.$ac_ext <<_ACEOF
26119 /* confdefs.h. */
26120 _ACEOF
26121 cat confdefs.h >>conftest.$ac_ext
26122 cat >>conftest.$ac_ext <<_ACEOF
26123 /* end confdefs.h. */
26124
26125 #include <Xm/Xm.h>
26126
26127 int
26128 main ()
26129 {
26130
26131 int version;
26132 version = xmUseVersion;
26133
26134 ;
26135 return 0;
26136 }
26137 _ACEOF
26138 rm -f conftest.$ac_objext
26139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26140 (eval $ac_compile) 2>conftest.er1
26141 ac_status=$?
26142 grep -v '^ *+' conftest.er1 >conftest.err
26143 rm -f conftest.er1
26144 cat conftest.err >&5
26145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26146 (exit $ac_status); } &&
26147 { ac_try='test -z "$ac_c_werror_flag"
26148 || test ! -s conftest.err'
26149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26150 (eval $ac_try) 2>&5
26151 ac_status=$?
26152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26153 (exit $ac_status); }; } &&
26154 { ac_try='test -s conftest.$ac_objext'
26155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26156 (eval $ac_try) 2>&5
26157 ac_status=$?
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); }; }; then
26160
26161 echo "$as_me:$LINENO: result: found in default search path" >&5
26162 echo "${ECHO_T}found in default search path" >&6
26163 COMPILED_X_PROGRAM=1
26164
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26168
26169
26170 echo "$as_me:$LINENO: result: no" >&5
26171 echo "${ECHO_T}no" >&6
26172 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26173 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26174 { (exit 1); exit 1; }; }
26175
26176
26177 fi
26178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26179 fi
26180
26181 if test "$COMPILED_X_PROGRAM" = 0; then
26182 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26183 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26184
26185 ac_find_libraries=
26186 for ac_dir in $SEARCH_LIB /usr/lib;
26187 do
26188 for ac_extension in a so sl dylib; do
26189 if test -f "$ac_dir/libXm.$ac_extension"; then
26190 ac_find_libraries=$ac_dir
26191 break 2
26192 fi
26193 done
26194 done
26195
26196 if test "$ac_find_libraries" != "" ; then
26197 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26198 echo "${ECHO_T}found at $ac_find_libraries" >&6
26199
26200
26201 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26202 result=$?
26203 if test $result = 0; then
26204 ac_path_to_link=""
26205 else
26206 ac_path_to_link=" -L$ac_find_libraries"
26207 fi
26208
26209 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26210 else
26211 save_CFLAGS=$CFLAGS
26212 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26213
26214 cat >conftest.$ac_ext <<_ACEOF
26215 /* confdefs.h. */
26216 _ACEOF
26217 cat confdefs.h >>conftest.$ac_ext
26218 cat >>conftest.$ac_ext <<_ACEOF
26219 /* end confdefs.h. */
26220
26221 #include <Xm/Xm.h>
26222
26223 int
26224 main ()
26225 {
26226
26227 int version;
26228 version = xmUseVersion;
26229
26230 ;
26231 return 0;
26232 }
26233 _ACEOF
26234 rm -f conftest.$ac_objext
26235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26236 (eval $ac_compile) 2>conftest.er1
26237 ac_status=$?
26238 grep -v '^ *+' conftest.er1 >conftest.err
26239 rm -f conftest.er1
26240 cat conftest.err >&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } &&
26243 { ac_try='test -z "$ac_c_werror_flag"
26244 || test ! -s conftest.err'
26245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26246 (eval $ac_try) 2>&5
26247 ac_status=$?
26248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26249 (exit $ac_status); }; } &&
26250 { ac_try='test -s conftest.$ac_objext'
26251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26252 (eval $ac_try) 2>&5
26253 ac_status=$?
26254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26255 (exit $ac_status); }; }; then
26256
26257 echo "$as_me:$LINENO: result: found in default search path" >&5
26258 echo "${ECHO_T}found in default search path" >&6
26259 COMPILED_X_PROGRAM=1
26260
26261 else
26262 echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.$ac_ext >&5
26264
26265
26266 echo "$as_me:$LINENO: result: no" >&5
26267 echo "${ECHO_T}no" >&6
26268 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26269 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26270 { (exit 1); exit 1; }; }
26271
26272
26273 fi
26274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26275
26276 CFLAGS=$save_CFLAGS
26277 fi
26278 fi
26279
26280 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26281 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26282 libp_link=""
26283 libsm_ice_link=""
26284 libs_found=0
26285 for libp in "" " -lXp"; do
26286 if test "$libs_found" = "0"; then
26287 for libsm_ice in "" " -lSM -lICE"; do
26288 if test "$libs_found" = "0"; then
26289 save_LIBS="$LIBS"
26290 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26291 save_CFLAGS=$CFLAGS
26292 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26293
26294 cat >conftest.$ac_ext <<_ACEOF
26295 /* confdefs.h. */
26296 _ACEOF
26297 cat confdefs.h >>conftest.$ac_ext
26298 cat >>conftest.$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26300
26301 #include <Xm/Xm.h>
26302 #include <Xm/List.h>
26303
26304 int
26305 main ()
26306 {
26307
26308 XmString string = NULL;
26309 Widget w = NULL;
26310 int position = 0;
26311 XmListAddItem(w, string, position);
26312
26313 ;
26314 return 0;
26315 }
26316 _ACEOF
26317 rm -f conftest.$ac_objext conftest$ac_exeext
26318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26319 (eval $ac_link) 2>conftest.er1
26320 ac_status=$?
26321 grep -v '^ *+' conftest.er1 >conftest.err
26322 rm -f conftest.er1
26323 cat conftest.err >&5
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); } &&
26326 { ac_try='test -z "$ac_c_werror_flag"
26327 || test ! -s conftest.err'
26328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26329 (eval $ac_try) 2>&5
26330 ac_status=$?
26331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26332 (exit $ac_status); }; } &&
26333 { ac_try='test -s conftest$ac_exeext'
26334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26335 (eval $ac_try) 2>&5
26336 ac_status=$?
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); }; }; then
26339
26340 libp_link="$libp"
26341 libsm_ice_link="$libsm_ice"
26342 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26343 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26344 libs_found=1
26345
26346 else
26347 echo "$as_me: failed program was:" >&5
26348 sed 's/^/| /' conftest.$ac_ext >&5
26349
26350
26351
26352 fi
26353 rm -f conftest.err conftest.$ac_objext \
26354 conftest$ac_exeext conftest.$ac_ext
26355
26356 LIBS="$save_LIBS"
26357 CFLAGS=$save_CFLAGS
26358 fi
26359 done
26360 fi
26361 done
26362
26363 if test "$libs_found" = "0"; then
26364 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26365 echo "${ECHO_T}can't find the right libraries" >&6
26366 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26367 echo "$as_me: error: can't link a simple motif program" >&2;}
26368 { (exit 1); exit 1; }; }
26369 fi
26370
26371 save_CFLAGS=$CFLAGS
26372 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26373 echo "$as_me:$LINENO: checking for Motif 2" >&5
26374 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26375 cat >conftest.$ac_ext <<_ACEOF
26376 /* confdefs.h. */
26377 _ACEOF
26378 cat confdefs.h >>conftest.$ac_ext
26379 cat >>conftest.$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26381
26382 #include <Xm/Xm.h>
26383
26384 int
26385 main ()
26386 {
26387
26388 #if XmVersion < 2000
26389 #error "Not Motif 2"
26390 #endif
26391
26392 ;
26393 return 0;
26394 }
26395 _ACEOF
26396 rm -f conftest.$ac_objext
26397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26398 (eval $ac_compile) 2>conftest.er1
26399 ac_status=$?
26400 grep -v '^ *+' conftest.er1 >conftest.err
26401 rm -f conftest.er1
26402 cat conftest.err >&5
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); } &&
26405 { ac_try='test -z "$ac_c_werror_flag"
26406 || test ! -s conftest.err'
26407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26408 (eval $ac_try) 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); }; } &&
26412 { ac_try='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26415 ac_status=$?
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418
26419 cat >>confdefs.h <<\_ACEOF
26420 #define __WXMOTIF20__ 1
26421 _ACEOF
26422
26423 echo "$as_me:$LINENO: result: found" >&5
26424 echo "${ECHO_T}found" >&6
26425
26426 else
26427 echo "$as_me: failed program was:" >&5
26428 sed 's/^/| /' conftest.$ac_ext >&5
26429
26430
26431 cat >>confdefs.h <<\_ACEOF
26432 #define __WXMOTIF20__ 0
26433 _ACEOF
26434
26435 echo "$as_me:$LINENO: result: not found" >&5
26436 echo "${ECHO_T}not found" >&6
26437
26438 fi
26439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26440 CFLAGS=$save_CFLAGS
26441
26442 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26443 TOOLKIT=MOTIF
26444 GUIDIST=MOTIF_DIST
26445 fi
26446
26447 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26448 if test "$wxUSE_LIBXPM" = "sys"; then
26449 echo "$as_me:$LINENO: checking for Xpm library" >&5
26450 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26451
26452 ac_find_libraries=
26453 for ac_dir in $SEARCH_LIB /usr/lib;
26454 do
26455 for ac_extension in a so sl dylib; do
26456 if test -f "$ac_dir/libXpm.$ac_extension"; then
26457 ac_find_libraries=$ac_dir
26458 break 2
26459 fi
26460 done
26461 done
26462
26463 if test "$ac_find_libraries" != "" ; then
26464
26465 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26466 result=$?
26467 if test $result = 0; then
26468 ac_path_to_link=""
26469 else
26470 ac_path_to_link=" -L$ac_find_libraries"
26471 fi
26472
26473 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26474 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26475 echo "${ECHO_T}found at $ac_find_libraries" >&6
26476
26477 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26478 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26479 if test "${wx_cv_x11_xpm_h+set}" = set; then
26480 echo $ECHO_N "(cached) $ECHO_C" >&6
26481 else
26482
26483 save_CFLAGS=$CFLAGS
26484 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26485
26486 cat >conftest.$ac_ext <<_ACEOF
26487 /* confdefs.h. */
26488 _ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492
26493 #include <X11/xpm.h>
26494
26495 int
26496 main ()
26497 {
26498
26499 int version;
26500 version = XpmLibraryVersion();
26501
26502 ;
26503 return 0;
26504 }
26505 _ACEOF
26506 rm -f conftest.$ac_objext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26508 (eval $ac_compile) 2>conftest.er1
26509 ac_status=$?
26510 grep -v '^ *+' conftest.er1 >conftest.err
26511 rm -f conftest.er1
26512 cat conftest.err >&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } &&
26515 { ac_try='test -z "$ac_c_werror_flag"
26516 || test ! -s conftest.err'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26519 ac_status=$?
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; } &&
26522 { ac_try='test -s conftest.$ac_objext'
26523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524 (eval $ac_try) 2>&5
26525 ac_status=$?
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; }; then
26528 wx_cv_x11_xpm_h=yes
26529 else
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.$ac_ext >&5
26532
26533 wx_cv_x11_xpm_h=no
26534
26535 fi
26536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26537
26538 CFLAGS=$save_CFLAGS
26539
26540
26541 fi
26542 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26543 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26544
26545 if test $wx_cv_x11_xpm_h = "yes"; then
26546 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26547 cat >>confdefs.h <<\_ACEOF
26548 #define wxHAVE_LIB_XPM 1
26549 _ACEOF
26550
26551 else
26552 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26553 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26554 fi
26555 fi
26556
26557 fi
26558
26559 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26560 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26561 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26563 else
26564 ac_check_lib_save_LIBS=$LIBS
26565 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26566 cat >conftest.$ac_ext <<_ACEOF
26567 /* confdefs.h. */
26568 _ACEOF
26569 cat confdefs.h >>conftest.$ac_ext
26570 cat >>conftest.$ac_ext <<_ACEOF
26571 /* end confdefs.h. */
26572
26573 /* Override any gcc2 internal prototype to avoid an error. */
26574 #ifdef __cplusplus
26575 extern "C"
26576 #endif
26577 /* We use char because int might match the return type of a gcc2
26578 builtin and then its argument prototype would still apply. */
26579 char XShapeQueryExtension ();
26580 int
26581 main ()
26582 {
26583 XShapeQueryExtension ();
26584 ;
26585 return 0;
26586 }
26587 _ACEOF
26588 rm -f conftest.$ac_objext conftest$ac_exeext
26589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26590 (eval $ac_link) 2>conftest.er1
26591 ac_status=$?
26592 grep -v '^ *+' conftest.er1 >conftest.err
26593 rm -f conftest.er1
26594 cat conftest.err >&5
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); } &&
26597 { ac_try='test -z "$ac_c_werror_flag"
26598 || test ! -s conftest.err'
26599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600 (eval $ac_try) 2>&5
26601 ac_status=$?
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); }; } &&
26604 { ac_try='test -s conftest$ac_exeext'
26605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26606 (eval $ac_try) 2>&5
26607 ac_status=$?
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); }; }; then
26610 ac_cv_lib_Xext_XShapeQueryExtension=yes
26611 else
26612 echo "$as_me: failed program was:" >&5
26613 sed 's/^/| /' conftest.$ac_ext >&5
26614
26615 ac_cv_lib_Xext_XShapeQueryExtension=no
26616 fi
26617 rm -f conftest.err conftest.$ac_objext \
26618 conftest$ac_exeext conftest.$ac_ext
26619 LIBS=$ac_check_lib_save_LIBS
26620 fi
26621 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26622 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26623 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26624
26625 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26626 wxHAVE_XEXT_LIB=1
26627
26628 fi
26629
26630
26631 if test "$wxHAVE_XEXT_LIB" = 1; then
26632 save_CFLAGS="$CFLAGS"
26633 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26634
26635 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26636 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26637 cat >conftest.$ac_ext <<_ACEOF
26638 /* confdefs.h. */
26639 _ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26643
26644 #include <X11/Xlib.h>
26645 #include <X11/extensions/shape.h>
26646
26647 int
26648 main ()
26649 {
26650
26651 int dummy1, dummy2;
26652 XShapeQueryExtension((Display*)NULL,
26653 (int*)NULL, (int*)NULL);
26654
26655 ;
26656 return 0;
26657 }
26658 _ACEOF
26659 rm -f conftest.$ac_objext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26661 (eval $ac_compile) 2>conftest.er1
26662 ac_status=$?
26663 grep -v '^ *+' conftest.er1 >conftest.err
26664 rm -f conftest.er1
26665 cat conftest.err >&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try='test -z "$ac_c_werror_flag"
26669 || test ! -s conftest.err'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26672 ac_status=$?
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; } &&
26675 { ac_try='test -s conftest.$ac_objext'
26676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677 (eval $ac_try) 2>&5
26678 ac_status=$?
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; }; then
26681
26682 cat >>confdefs.h <<\_ACEOF
26683 #define HAVE_XSHAPE 1
26684 _ACEOF
26685
26686 echo "$as_me:$LINENO: result: found" >&5
26687 echo "${ECHO_T}found" >&6
26688
26689 else
26690 echo "$as_me: failed program was:" >&5
26691 sed 's/^/| /' conftest.$ac_ext >&5
26692
26693
26694 echo "$as_me:$LINENO: result: not found" >&5
26695 echo "${ECHO_T}not found" >&6
26696
26697 fi
26698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26699 CFLAGS="$save_CFLAGS"
26700
26701 fi
26702 fi
26703
26704 if test "$wxUSE_MAC" = 1; then
26705 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26706 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26707 if test "$GCC" = yes; then
26708 echo "$as_me:$LINENO: result: gcc" >&5
26709 echo "${ECHO_T}gcc" >&6
26710 CPPFLAGS_PASCAL="-fpascal-strings"
26711 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26712 echo "$as_me:$LINENO: result: xlc" >&5
26713 echo "${ECHO_T}xlc" >&6
26714 CPPFLAGS_PASCAL="-qmacpstr"
26715 else
26716 echo "$as_me:$LINENO: result: none" >&5
26717 echo "${ECHO_T}none" >&6
26718 fi
26719
26720 if test "x$wxUSE_UNIX" = "xyes"; then
26721 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26722 else
26723 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON"
26724 fi
26725
26726 TOOLKIT=MAC
26727 GUIDIST=MACX_DIST
26728 WXBASEPORT="_carbon"
26729 fi
26730
26731 if test "$wxUSE_COCOA" = 1; then
26732 TOOLKIT=COCOA
26733 GUIDIST=COCOA_DIST
26734 fi
26735
26736 if test "$wxUSE_PM" = 1; then
26737 TOOLKIT=PM
26738 GUIDIST=PM_DIST
26739 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
26740 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
26741 if test "${wx_cv_spbcdata+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744
26745 cat >conftest.$ac_ext <<_ACEOF
26746 /* confdefs.h. */
26747 _ACEOF
26748 cat confdefs.h >>conftest.$ac_ext
26749 cat >>conftest.$ac_ext <<_ACEOF
26750 /* end confdefs.h. */
26751
26752 #define INCL_PM
26753 #include <os2.h>
26754
26755 int
26756 main ()
26757 {
26758
26759 SPBCDATA test;
26760
26761 ;
26762 return 0;
26763 }
26764 _ACEOF
26765 rm -f conftest.$ac_objext
26766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26767 (eval $ac_compile) 2>conftest.er1
26768 ac_status=$?
26769 grep -v '^ *+' conftest.er1 >conftest.err
26770 rm -f conftest.er1
26771 cat conftest.err >&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); } &&
26774 { ac_try='test -z "$ac_c_werror_flag"
26775 || test ! -s conftest.err'
26776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26777 (eval $ac_try) 2>&5
26778 ac_status=$?
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); }; } &&
26781 { ac_try='test -s conftest.$ac_objext'
26782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26783 (eval $ac_try) 2>&5
26784 ac_status=$?
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); }; }; then
26787 wx_cv_spbcdata=yes
26788 else
26789 echo "$as_me: failed program was:" >&5
26790 sed 's/^/| /' conftest.$ac_ext >&5
26791
26792 wx_cv_spbcdata=no
26793
26794 fi
26795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26796
26797
26798 fi
26799 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
26800 echo "${ECHO_T}$wx_cv_spbcdata" >&6
26801
26802 if test $wx_cv_spbcdata = "yes"; then
26803 cat >>confdefs.h <<\_ACEOF
26804 #define HAVE_SPBCDATA 1
26805 _ACEOF
26806
26807 fi
26808 fi
26809
26810 if test "$TOOLKIT" = "PM" ; then
26811 TOOLKIT_DIR="os2"
26812 else
26813 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26814 fi
26815
26816 if test "$wxUSE_UNIVERSAL" = "yes"; then
26817 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26818 WIDGET_SET=univ
26819 fi
26820
26821 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26822 DISTDIR="wx\$(TOOLKIT)"
26823 else
26824 USE_GUI=0
26825
26826 TOOLKIT_DIR="base"
26827
26828 if test "$USE_WIN32" = 1 ; then
26829 TOOLKIT="MSW"
26830 fi
26831
26832 GUIDIST="BASE_DIST"
26833 DISTDIR="wxBase"
26834 fi
26835
26836
26837
26838
26839 IODBC_C_SRC=""
26840
26841
26842 if test "$TOOLKIT" != "MSW" ; then
26843
26844 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26845
26846 if test "${ac_cv_header_sql_h+set}" = set; then
26847 echo "$as_me:$LINENO: checking for sql.h" >&5
26848 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26849 if test "${ac_cv_header_sql_h+set}" = set; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26851 fi
26852 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26853 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26854 else
26855 # Is the header compilable?
26856 echo "$as_me:$LINENO: checking sql.h usability" >&5
26857 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26858 cat >conftest.$ac_ext <<_ACEOF
26859 /* confdefs.h. */
26860 _ACEOF
26861 cat confdefs.h >>conftest.$ac_ext
26862 cat >>conftest.$ac_ext <<_ACEOF
26863 /* end confdefs.h. */
26864 $ac_includes_default
26865 #include <sql.h>
26866 _ACEOF
26867 rm -f conftest.$ac_objext
26868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26869 (eval $ac_compile) 2>conftest.er1
26870 ac_status=$?
26871 grep -v '^ *+' conftest.er1 >conftest.err
26872 rm -f conftest.er1
26873 cat conftest.err >&5
26874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26875 (exit $ac_status); } &&
26876 { ac_try='test -z "$ac_c_werror_flag"
26877 || test ! -s conftest.err'
26878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26879 (eval $ac_try) 2>&5
26880 ac_status=$?
26881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26882 (exit $ac_status); }; } &&
26883 { ac_try='test -s conftest.$ac_objext'
26884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885 (eval $ac_try) 2>&5
26886 ac_status=$?
26887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888 (exit $ac_status); }; }; then
26889 ac_header_compiler=yes
26890 else
26891 echo "$as_me: failed program was:" >&5
26892 sed 's/^/| /' conftest.$ac_ext >&5
26893
26894 ac_header_compiler=no
26895 fi
26896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26898 echo "${ECHO_T}$ac_header_compiler" >&6
26899
26900 # Is the header present?
26901 echo "$as_me:$LINENO: checking sql.h presence" >&5
26902 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26903 cat >conftest.$ac_ext <<_ACEOF
26904 /* confdefs.h. */
26905 _ACEOF
26906 cat confdefs.h >>conftest.$ac_ext
26907 cat >>conftest.$ac_ext <<_ACEOF
26908 /* end confdefs.h. */
26909 #include <sql.h>
26910 _ACEOF
26911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26913 ac_status=$?
26914 grep -v '^ *+' conftest.er1 >conftest.err
26915 rm -f conftest.er1
26916 cat conftest.err >&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); } >/dev/null; then
26919 if test -s conftest.err; then
26920 ac_cpp_err=$ac_c_preproc_warn_flag
26921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26922 else
26923 ac_cpp_err=
26924 fi
26925 else
26926 ac_cpp_err=yes
26927 fi
26928 if test -z "$ac_cpp_err"; then
26929 ac_header_preproc=yes
26930 else
26931 echo "$as_me: failed program was:" >&5
26932 sed 's/^/| /' conftest.$ac_ext >&5
26933
26934 ac_header_preproc=no
26935 fi
26936 rm -f conftest.err conftest.$ac_ext
26937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26938 echo "${ECHO_T}$ac_header_preproc" >&6
26939
26940 # So? What about this header?
26941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26942 yes:no: )
26943 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26944 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26945 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26946 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26947 ac_header_preproc=yes
26948 ;;
26949 no:yes:* )
26950 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26951 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26952 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26953 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26954 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26955 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26956 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26957 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26958 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26959 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26960 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26961 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26962 (
26963 cat <<\_ASBOX
26964 ## ----------------------------------------- ##
26965 ## Report this to wx-dev@lists.wxwidgets.org ##
26966 ## ----------------------------------------- ##
26967 _ASBOX
26968 ) |
26969 sed "s/^/$as_me: WARNING: /" >&2
26970 ;;
26971 esac
26972 echo "$as_me:$LINENO: checking for sql.h" >&5
26973 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26974 if test "${ac_cv_header_sql_h+set}" = set; then
26975 echo $ECHO_N "(cached) $ECHO_C" >&6
26976 else
26977 ac_cv_header_sql_h=$ac_header_preproc
26978 fi
26979 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26980 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26981
26982 fi
26983 if test $ac_cv_header_sql_h = yes; then
26984 found_sql_h=1
26985 fi
26986
26987
26988 if test "x$found_sql_h" = "x1" ; then
26989 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26990 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26991 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26992 echo $ECHO_N "(cached) $ECHO_C" >&6
26993 else
26994 ac_check_lib_save_LIBS=$LIBS
26995 LIBS="-liodbc $LIBS"
26996 cat >conftest.$ac_ext <<_ACEOF
26997 /* confdefs.h. */
26998 _ACEOF
26999 cat confdefs.h >>conftest.$ac_ext
27000 cat >>conftest.$ac_ext <<_ACEOF
27001 /* end confdefs.h. */
27002
27003 /* Override any gcc2 internal prototype to avoid an error. */
27004 #ifdef __cplusplus
27005 extern "C"
27006 #endif
27007 /* We use char because int might match the return type of a gcc2
27008 builtin and then its argument prototype would still apply. */
27009 char SQLAllocEnv ();
27010 int
27011 main ()
27012 {
27013 SQLAllocEnv ();
27014 ;
27015 return 0;
27016 }
27017 _ACEOF
27018 rm -f conftest.$ac_objext conftest$ac_exeext
27019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27020 (eval $ac_link) 2>conftest.er1
27021 ac_status=$?
27022 grep -v '^ *+' conftest.er1 >conftest.err
27023 rm -f conftest.er1
27024 cat conftest.err >&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try='test -z "$ac_c_werror_flag"
27028 || test ! -s conftest.err'
27029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27030 (eval $ac_try) 2>&5
27031 ac_status=$?
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); }; } &&
27034 { ac_try='test -s conftest$ac_exeext'
27035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27036 (eval $ac_try) 2>&5
27037 ac_status=$?
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); }; }; then
27040 ac_cv_lib_iodbc_SQLAllocEnv=yes
27041 else
27042 echo "$as_me: failed program was:" >&5
27043 sed 's/^/| /' conftest.$ac_ext >&5
27044
27045 ac_cv_lib_iodbc_SQLAllocEnv=no
27046 fi
27047 rm -f conftest.err conftest.$ac_objext \
27048 conftest$ac_exeext conftest.$ac_ext
27049 LIBS=$ac_check_lib_save_LIBS
27050 fi
27051 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
27052 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
27053 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27054 ODBC_LINK=" -liodbc"
27055 else
27056
27057 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27058 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27059 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27060 echo $ECHO_N "(cached) $ECHO_C" >&6
27061 else
27062 ac_check_lib_save_LIBS=$LIBS
27063 LIBS="-lunixodbc $LIBS"
27064 cat >conftest.$ac_ext <<_ACEOF
27065 /* confdefs.h. */
27066 _ACEOF
27067 cat confdefs.h >>conftest.$ac_ext
27068 cat >>conftest.$ac_ext <<_ACEOF
27069 /* end confdefs.h. */
27070
27071 /* Override any gcc2 internal prototype to avoid an error. */
27072 #ifdef __cplusplus
27073 extern "C"
27074 #endif
27075 /* We use char because int might match the return type of a gcc2
27076 builtin and then its argument prototype would still apply. */
27077 char SQLAllocEnv ();
27078 int
27079 main ()
27080 {
27081 SQLAllocEnv ();
27082 ;
27083 return 0;
27084 }
27085 _ACEOF
27086 rm -f conftest.$ac_objext conftest$ac_exeext
27087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27088 (eval $ac_link) 2>conftest.er1
27089 ac_status=$?
27090 grep -v '^ *+' conftest.er1 >conftest.err
27091 rm -f conftest.er1
27092 cat conftest.err >&5
27093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27094 (exit $ac_status); } &&
27095 { ac_try='test -z "$ac_c_werror_flag"
27096 || test ! -s conftest.err'
27097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 (eval $ac_try) 2>&5
27099 ac_status=$?
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); }; } &&
27102 { ac_try='test -s conftest$ac_exeext'
27103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27104 (eval $ac_try) 2>&5
27105 ac_status=$?
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); }; }; then
27108 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27109 else
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.$ac_ext >&5
27112
27113 ac_cv_lib_unixodbc_SQLAllocEnv=no
27114 fi
27115 rm -f conftest.err conftest.$ac_objext \
27116 conftest$ac_exeext conftest.$ac_ext
27117 LIBS=$ac_check_lib_save_LIBS
27118 fi
27119 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27120 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27121 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27122 ODBC_LINK=" -lunixodbc"
27123 else
27124
27125 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27126 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27127 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 else
27130 ac_check_lib_save_LIBS=$LIBS
27131 LIBS="-lodbc $LIBS"
27132 cat >conftest.$ac_ext <<_ACEOF
27133 /* confdefs.h. */
27134 _ACEOF
27135 cat confdefs.h >>conftest.$ac_ext
27136 cat >>conftest.$ac_ext <<_ACEOF
27137 /* end confdefs.h. */
27138
27139 /* Override any gcc2 internal prototype to avoid an error. */
27140 #ifdef __cplusplus
27141 extern "C"
27142 #endif
27143 /* We use char because int might match the return type of a gcc2
27144 builtin and then its argument prototype would still apply. */
27145 char SQLAllocEnv ();
27146 int
27147 main ()
27148 {
27149 SQLAllocEnv ();
27150 ;
27151 return 0;
27152 }
27153 _ACEOF
27154 rm -f conftest.$ac_objext conftest$ac_exeext
27155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27156 (eval $ac_link) 2>conftest.er1
27157 ac_status=$?
27158 grep -v '^ *+' conftest.er1 >conftest.err
27159 rm -f conftest.er1
27160 cat conftest.err >&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); } &&
27163 { ac_try='test -z "$ac_c_werror_flag"
27164 || test ! -s conftest.err'
27165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27166 (eval $ac_try) 2>&5
27167 ac_status=$?
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); }; } &&
27170 { ac_try='test -s conftest$ac_exeext'
27171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27172 (eval $ac_try) 2>&5
27173 ac_status=$?
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); }; }; then
27176 ac_cv_lib_odbc_SQLAllocEnv=yes
27177 else
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.$ac_ext >&5
27180
27181 ac_cv_lib_odbc_SQLAllocEnv=no
27182 fi
27183 rm -f conftest.err conftest.$ac_objext \
27184 conftest$ac_exeext conftest.$ac_ext
27185 LIBS=$ac_check_lib_save_LIBS
27186 fi
27187 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27188 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27189 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27190 ODBC_LINK=" -lodbc"
27191 fi
27192
27193
27194 fi
27195
27196
27197 fi
27198
27199 fi
27200 if test "x$ODBC_LINK" = "x" ; then
27201 if test "$wxUSE_ODBC" = "sys" ; then
27202 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27203 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27204 { (exit 1); exit 1; }; }
27205 else
27206 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27207 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27208 wxUSE_ODBC=builtin
27209 fi
27210 else
27211 wxUSE_ODBC=sys
27212 fi
27213 fi
27214 if test "$wxUSE_ODBC" != "no" ; then
27215 cat >>confdefs.h <<\_ACEOF
27216 #define wxUSE_ODBC 1
27217 _ACEOF
27218
27219 if test "$wxUSE_ODBC" = "builtin" ; then
27220 cat >>confdefs.h <<\_ACEOF
27221 #define wxUSE_BUILTIN_IODBC 1
27222 _ACEOF
27223
27224 fi
27225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27226
27227 WXODBCFLAG="-D_IODBC_"
27228 fi
27229 fi
27230
27231
27232
27233 if test "$wxUSE_DISPLAY" = "yes"; then
27234 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
27235 echo "$as_me:$LINENO: checking for Xinerama" >&5
27236 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27237
27238 ac_find_libraries=
27239 for ac_dir in $SEARCH_LIB /usr/lib;
27240 do
27241 for ac_extension in a so sl dylib; do
27242 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27243 ac_find_libraries=$ac_dir
27244 break 2
27245 fi
27246 done
27247 done
27248
27249 if test "$ac_find_libraries" != "" ; then
27250
27251 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27252 result=$?
27253 if test $result = 0; then
27254 ac_path_to_link=""
27255 else
27256 ac_path_to_link=" -L$ac_find_libraries"
27257 fi
27258
27259 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27260 LDFLAGS="$LDFLAGS $ac_path_to_link"
27261 fi
27262 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27263 echo "$as_me:$LINENO: result: yes" >&5
27264 echo "${ECHO_T}yes" >&6
27265
27266 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27267 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27268
27269 ac_find_libraries=
27270 for ac_dir in $SEARCH_LIB /usr/lib;
27271 do
27272 for ac_extension in a so sl dylib; do
27273 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27274 ac_find_libraries=$ac_dir
27275 break 2
27276 fi
27277 done
27278 done
27279
27280 if test "$ac_find_libraries" != "" ; then
27281 echo "$as_me:$LINENO: result: yes" >&5
27282 echo "${ECHO_T}yes" >&6
27283
27284 for ac_header in X11/extensions/xf86vmode.h
27285 do
27286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27287 echo "$as_me:$LINENO: checking for $ac_header" >&5
27288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27290 echo $ECHO_N "(cached) $ECHO_C" >&6
27291 else
27292 cat >conftest.$ac_ext <<_ACEOF
27293 /* confdefs.h. */
27294 _ACEOF
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27298
27299 #if HAVE_X11_XLIB_H
27300 #include <X11/Xlib.h>
27301 #endif
27302
27303
27304 #include <$ac_header>
27305 _ACEOF
27306 rm -f conftest.$ac_objext
27307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27308 (eval $ac_compile) 2>conftest.er1
27309 ac_status=$?
27310 grep -v '^ *+' conftest.er1 >conftest.err
27311 rm -f conftest.er1
27312 cat conftest.err >&5
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } &&
27315 { ac_try='test -z "$ac_c_werror_flag"
27316 || test ! -s conftest.err'
27317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27318 (eval $ac_try) 2>&5
27319 ac_status=$?
27320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27321 (exit $ac_status); }; } &&
27322 { ac_try='test -s conftest.$ac_objext'
27323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27324 (eval $ac_try) 2>&5
27325 ac_status=$?
27326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27327 (exit $ac_status); }; }; then
27328 eval "$as_ac_Header=yes"
27329 else
27330 echo "$as_me: failed program was:" >&5
27331 sed 's/^/| /' conftest.$ac_ext >&5
27332
27333 eval "$as_ac_Header=no"
27334 fi
27335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27336 fi
27337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27340 cat >>confdefs.h <<_ACEOF
27341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27342 _ACEOF
27343
27344 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27345
27346 fi
27347
27348 done
27349
27350 else
27351 echo "$as_me:$LINENO: result: no" >&5
27352 echo "${ECHO_T}no" >&6
27353 fi
27354
27355 else
27356 echo "$as_me:$LINENO: result: no" >&5
27357 echo "${ECHO_T}no" >&6
27358 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
27359 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
27360 wxUSE_DISPLAY="no"
27361 fi
27362 elif test "$wxUSE_MSW" = 1; then
27363
27364
27365 for ac_header in multimon.h ddraw.h
27366 do
27367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27369 echo "$as_me:$LINENO: checking for $ac_header" >&5
27370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27372 echo $ECHO_N "(cached) $ECHO_C" >&6
27373 fi
27374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27376 else
27377 # Is the header compilable?
27378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27380 cat >conftest.$ac_ext <<_ACEOF
27381 /* confdefs.h. */
27382 _ACEOF
27383 cat confdefs.h >>conftest.$ac_ext
27384 cat >>conftest.$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27386 $ac_includes_default
27387 #include <$ac_header>
27388 _ACEOF
27389 rm -f conftest.$ac_objext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27391 (eval $ac_compile) 2>conftest.er1
27392 ac_status=$?
27393 grep -v '^ *+' conftest.er1 >conftest.err
27394 rm -f conftest.er1
27395 cat conftest.err >&5
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); } &&
27398 { ac_try='test -z "$ac_c_werror_flag"
27399 || test ! -s conftest.err'
27400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401 (eval $ac_try) 2>&5
27402 ac_status=$?
27403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404 (exit $ac_status); }; } &&
27405 { ac_try='test -s conftest.$ac_objext'
27406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407 (eval $ac_try) 2>&5
27408 ac_status=$?
27409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410 (exit $ac_status); }; }; then
27411 ac_header_compiler=yes
27412 else
27413 echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.$ac_ext >&5
27415
27416 ac_header_compiler=no
27417 fi
27418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27420 echo "${ECHO_T}$ac_header_compiler" >&6
27421
27422 # Is the header present?
27423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27425 cat >conftest.$ac_ext <<_ACEOF
27426 /* confdefs.h. */
27427 _ACEOF
27428 cat confdefs.h >>conftest.$ac_ext
27429 cat >>conftest.$ac_ext <<_ACEOF
27430 /* end confdefs.h. */
27431 #include <$ac_header>
27432 _ACEOF
27433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } >/dev/null; then
27441 if test -s conftest.err; then
27442 ac_cpp_err=$ac_c_preproc_warn_flag
27443 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27444 else
27445 ac_cpp_err=
27446 fi
27447 else
27448 ac_cpp_err=yes
27449 fi
27450 if test -z "$ac_cpp_err"; then
27451 ac_header_preproc=yes
27452 else
27453 echo "$as_me: failed program was:" >&5
27454 sed 's/^/| /' conftest.$ac_ext >&5
27455
27456 ac_header_preproc=no
27457 fi
27458 rm -f conftest.err conftest.$ac_ext
27459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27460 echo "${ECHO_T}$ac_header_preproc" >&6
27461
27462 # So? What about this header?
27463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27464 yes:no: )
27465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27469 ac_header_preproc=yes
27470 ;;
27471 no:yes:* )
27472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27484 (
27485 cat <<\_ASBOX
27486 ## ----------------------------------------- ##
27487 ## Report this to wx-dev@lists.wxwidgets.org ##
27488 ## ----------------------------------------- ##
27489 _ASBOX
27490 ) |
27491 sed "s/^/$as_me: WARNING: /" >&2
27492 ;;
27493 esac
27494 echo "$as_me:$LINENO: checking for $ac_header" >&5
27495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27497 echo $ECHO_N "(cached) $ECHO_C" >&6
27498 else
27499 eval "$as_ac_Header=\$ac_header_preproc"
27500 fi
27501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27503
27504 fi
27505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27506 cat >>confdefs.h <<_ACEOF
27507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27508 _ACEOF
27509
27510 else
27511
27512 wxUSE_DISPLAY="no"
27513 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
27514 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
27515
27516 fi
27517
27518 done
27519
27520 fi
27521 fi
27522
27523
27524 if test "$wxUSE_MEDIACTRL" = "yes"; then
27525 if test "$wxUSE_MSW" = 1; then
27526 wxUSE_DIRECTSHOW="yes"
27527
27528 for ac_header in dshow.h
27529 do
27530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27532 echo "$as_me:$LINENO: checking for $ac_header" >&5
27533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27535 echo $ECHO_N "(cached) $ECHO_C" >&6
27536 fi
27537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27539 else
27540 # Is the header compilable?
27541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27543 cat >conftest.$ac_ext <<_ACEOF
27544 /* confdefs.h. */
27545 _ACEOF
27546 cat confdefs.h >>conftest.$ac_ext
27547 cat >>conftest.$ac_ext <<_ACEOF
27548 /* end confdefs.h. */
27549 $ac_includes_default
27550 #include <$ac_header>
27551 _ACEOF
27552 rm -f conftest.$ac_objext
27553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27554 (eval $ac_compile) 2>conftest.er1
27555 ac_status=$?
27556 grep -v '^ *+' conftest.er1 >conftest.err
27557 rm -f conftest.er1
27558 cat conftest.err >&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); } &&
27561 { ac_try='test -z "$ac_c_werror_flag"
27562 || test ! -s conftest.err'
27563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27564 (eval $ac_try) 2>&5
27565 ac_status=$?
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); }; } &&
27568 { ac_try='test -s conftest.$ac_objext'
27569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27570 (eval $ac_try) 2>&5
27571 ac_status=$?
27572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27573 (exit $ac_status); }; }; then
27574 ac_header_compiler=yes
27575 else
27576 echo "$as_me: failed program was:" >&5
27577 sed 's/^/| /' conftest.$ac_ext >&5
27578
27579 ac_header_compiler=no
27580 fi
27581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27583 echo "${ECHO_T}$ac_header_compiler" >&6
27584
27585 # Is the header present?
27586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 #include <$ac_header>
27595 _ACEOF
27596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27598 ac_status=$?
27599 grep -v '^ *+' conftest.er1 >conftest.err
27600 rm -f conftest.er1
27601 cat conftest.err >&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); } >/dev/null; then
27604 if test -s conftest.err; then
27605 ac_cpp_err=$ac_c_preproc_warn_flag
27606 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27607 else
27608 ac_cpp_err=
27609 fi
27610 else
27611 ac_cpp_err=yes
27612 fi
27613 if test -z "$ac_cpp_err"; then
27614 ac_header_preproc=yes
27615 else
27616 echo "$as_me: failed program was:" >&5
27617 sed 's/^/| /' conftest.$ac_ext >&5
27618
27619 ac_header_preproc=no
27620 fi
27621 rm -f conftest.err conftest.$ac_ext
27622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27623 echo "${ECHO_T}$ac_header_preproc" >&6
27624
27625 # So? What about this header?
27626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27627 yes:no: )
27628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27631 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27632 ac_header_preproc=yes
27633 ;;
27634 no:yes:* )
27635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27639 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27640 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27641 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27642 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27645 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27646 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27647 (
27648 cat <<\_ASBOX
27649 ## ----------------------------------------- ##
27650 ## Report this to wx-dev@lists.wxwidgets.org ##
27651 ## ----------------------------------------- ##
27652 _ASBOX
27653 ) |
27654 sed "s/^/$as_me: WARNING: /" >&2
27655 ;;
27656 esac
27657 echo "$as_me:$LINENO: checking for $ac_header" >&5
27658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27660 echo $ECHO_N "(cached) $ECHO_C" >&6
27661 else
27662 eval "$as_ac_Header=\$ac_header_preproc"
27663 fi
27664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27666
27667 fi
27668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27669 cat >>confdefs.h <<_ACEOF
27670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27671 _ACEOF
27672
27673 else
27674
27675 wxUSE_DIRECTSHOW="no"
27676 { echo "$as_me:$LINENO: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&5
27677 echo "$as_me: WARNING: DirectShow not installed; consider installing the DirectX7 SDK or higher" >&2;}
27678
27679 fi
27680
27681 done
27682
27683
27684 if test "$wxUSE_DIRECTSHOW" = "yes"; then
27685 cat >>confdefs.h <<\_ACEOF
27686 #define wxUSE_DIRECTSHOW 1
27687 _ACEOF
27688
27689 LIBS="$LIBS -lstrmiids"
27690 fi
27691 fi
27692
27693 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
27694 cat >>confdefs.h <<\_ACEOF
27695 #define wxUSE_MEDIACTRL 1
27696 _ACEOF
27697
27698 fi
27699
27700
27701 USE_OPENGL=0
27702 if test "$wxUSE_OPENGL" = "yes"; then
27703 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27704 OPENGL_LIBS="-framework OpenGL -framework AGL"
27705 elif test "$wxUSE_MSW" = 1; then
27706 OPENGL_LIBS="-lopengl32 -lglu32"
27707 else
27708
27709
27710 ac_find_includes=
27711 for ac_dir in $SEARCH_INCLUDE /usr/include;
27712 do
27713 if test -f "$ac_dir/GL/gl.h"; then
27714 ac_find_includes=$ac_dir
27715 break
27716 fi
27717 done
27718
27719 if test "$ac_find_includes" != "" ; then
27720 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27721 echo "${ECHO_T}found in $ac_find_includes" >&6
27722
27723 if test "x$ac_find_includes" = "x/usr/include"; then
27724 ac_path_to_include=""
27725 else
27726 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27727 result=$?
27728 if test $result = 0; then
27729 ac_path_to_include=""
27730 else
27731 ac_path_to_include=" -I$ac_find_includes"
27732 fi
27733 fi
27734
27735 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27736 fi
27737
27738 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27739 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27740 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27741 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27742 echo $ECHO_N "(cached) $ECHO_C" >&6
27743 fi
27744 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27745 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27746 else
27747 # Is the header compilable?
27748 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27749 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27750 cat >conftest.$ac_ext <<_ACEOF
27751 /* confdefs.h. */
27752 _ACEOF
27753 cat confdefs.h >>conftest.$ac_ext
27754 cat >>conftest.$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27756 $ac_includes_default
27757 #include <GL/gl.h>
27758 _ACEOF
27759 rm -f conftest.$ac_objext
27760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27761 (eval $ac_compile) 2>conftest.er1
27762 ac_status=$?
27763 grep -v '^ *+' conftest.er1 >conftest.err
27764 rm -f conftest.er1
27765 cat conftest.err >&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } &&
27768 { ac_try='test -z "$ac_c_werror_flag"
27769 || test ! -s conftest.err'
27770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27771 (eval $ac_try) 2>&5
27772 ac_status=$?
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); }; } &&
27775 { ac_try='test -s conftest.$ac_objext'
27776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27777 (eval $ac_try) 2>&5
27778 ac_status=$?
27779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27780 (exit $ac_status); }; }; then
27781 ac_header_compiler=yes
27782 else
27783 echo "$as_me: failed program was:" >&5
27784 sed 's/^/| /' conftest.$ac_ext >&5
27785
27786 ac_header_compiler=no
27787 fi
27788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27789 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27790 echo "${ECHO_T}$ac_header_compiler" >&6
27791
27792 # Is the header present?
27793 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27794 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27795 cat >conftest.$ac_ext <<_ACEOF
27796 /* confdefs.h. */
27797 _ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27801 #include <GL/gl.h>
27802 _ACEOF
27803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27805 ac_status=$?
27806 grep -v '^ *+' conftest.er1 >conftest.err
27807 rm -f conftest.er1
27808 cat conftest.err >&5
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); } >/dev/null; then
27811 if test -s conftest.err; then
27812 ac_cpp_err=$ac_c_preproc_warn_flag
27813 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27814 else
27815 ac_cpp_err=
27816 fi
27817 else
27818 ac_cpp_err=yes
27819 fi
27820 if test -z "$ac_cpp_err"; then
27821 ac_header_preproc=yes
27822 else
27823 echo "$as_me: failed program was:" >&5
27824 sed 's/^/| /' conftest.$ac_ext >&5
27825
27826 ac_header_preproc=no
27827 fi
27828 rm -f conftest.err conftest.$ac_ext
27829 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27830 echo "${ECHO_T}$ac_header_preproc" >&6
27831
27832 # So? What about this header?
27833 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27834 yes:no: )
27835 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27836 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27837 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27838 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27839 ac_header_preproc=yes
27840 ;;
27841 no:yes:* )
27842 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27843 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27844 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27845 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27846 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27847 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27848 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27849 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27850 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27851 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27852 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27853 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27854 (
27855 cat <<\_ASBOX
27856 ## ----------------------------------------- ##
27857 ## Report this to wx-dev@lists.wxwidgets.org ##
27858 ## ----------------------------------------- ##
27859 _ASBOX
27860 ) |
27861 sed "s/^/$as_me: WARNING: /" >&2
27862 ;;
27863 esac
27864 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27865 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27866 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27867 echo $ECHO_N "(cached) $ECHO_C" >&6
27868 else
27869 ac_cv_header_GL_gl_h=$ac_header_preproc
27870 fi
27871 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27872 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27873
27874 fi
27875 if test $ac_cv_header_GL_gl_h = yes; then
27876
27877 found_gl=0
27878
27879 echo "$as_me:$LINENO: checking for -lGL" >&5
27880 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27881
27882 ac_find_libraries=
27883 for ac_dir in $SEARCH_LIB /usr/lib;
27884 do
27885 for ac_extension in a so sl dylib; do
27886 if test -f "$ac_dir/libGL.$ac_extension"; then
27887 ac_find_libraries=$ac_dir
27888 break 2
27889 fi
27890 done
27891 done
27892
27893 if test "$ac_find_libraries" != "" ; then
27894
27895 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27896 result=$?
27897 if test $result = 0; then
27898 ac_path_to_link=""
27899 else
27900 ac_path_to_link=" -L$ac_find_libraries"
27901 fi
27902
27903 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27904 LDFLAGS_GL="$ac_path_to_link"
27905 fi
27906
27907
27908 ac_find_libraries=
27909 for ac_dir in $SEARCH_LIB /usr/lib;
27910 do
27911 for ac_extension in a so sl dylib; do
27912 if test -f "$ac_dir/libGLU.$ac_extension"; then
27913 ac_find_libraries=$ac_dir
27914 break 2
27915 fi
27916 done
27917 done
27918
27919 if test "$ac_find_libraries" != "" ; then
27920
27921 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27922 result=$?
27923 if test $result = 0; then
27924 ac_path_to_link=""
27925 else
27926 ac_path_to_link=" -L$ac_find_libraries"
27927 fi
27928
27929 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27930 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27931 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27932 fi
27933
27934 found_gl=1
27935 OPENGL_LIBS="-lGL -lGLU"
27936 echo "$as_me:$LINENO: result: yes" >&5
27937 echo "${ECHO_T}yes" >&6
27938 fi
27939 fi
27940
27941 if test "$found_gl" != 1; then
27942 echo "$as_me:$LINENO: result: no" >&5
27943 echo "${ECHO_T}no" >&6
27944 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27945 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27946
27947 ac_find_libraries=
27948 for ac_dir in $SEARCH_LIB /usr/lib;
27949 do
27950 for ac_extension in a so sl dylib; do
27951 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27952 ac_find_libraries=$ac_dir
27953 break 2
27954 fi
27955 done
27956 done
27957
27958 if test "$ac_find_libraries" != "" ; then
27959
27960 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27961 result=$?
27962 if test $result = 0; then
27963 ac_path_to_link=""
27964 else
27965 ac_path_to_link=" -L$ac_find_libraries"
27966 fi
27967
27968 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27969 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27970 echo "$as_me:$LINENO: result: yes" >&5
27971 echo "${ECHO_T}yes" >&6
27972 else
27973 echo "$as_me:$LINENO: result: no" >&5
27974 echo "${ECHO_T}no" >&6
27975 fi
27976 fi
27977
27978 fi
27979
27980
27981
27982 if test "x$OPENGL_LIBS" = "x"; then
27983 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27984 echo "$as_me: error: OpenGL libraries not available" >&2;}
27985 { (exit 1); exit 1; }; }
27986 fi
27987 fi
27988
27989 if test "$wxUSE_OPENGL" = "yes"; then
27990 USE_OPENGL=1
27991 cat >>confdefs.h <<\_ACEOF
27992 #define wxUSE_OPENGL 1
27993 _ACEOF
27994
27995 cat >>confdefs.h <<\_ACEOF
27996 #define wxUSE_GLCANVAS 1
27997 _ACEOF
27998
27999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28000 fi
28001 fi
28002
28003
28004 if test -n "$TOOLKIT" ; then
28005 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28006 fi
28007
28008
28009
28010 if test "$wxUSE_SHARED" = "yes"; then
28011 case "${host}" in
28012 *-pc-msdosdjgpp )
28013 wxUSE_SHARED=no
28014 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
28015 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28016 ;;
28017 esac
28018 fi
28019
28020 if test "$wxUSE_SHARED" = "yes"; then
28021
28022
28023 found_versioning=no
28024
28025
28026 if test $found_versioning = no ; then
28027 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
28028 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
28029 if test "${wx_cv_version_script+set}" = set; then
28030 echo $ECHO_N "(cached) $ECHO_C" >&6
28031 else
28032
28033 echo "VER_1 { *; };" >conftest.sym
28034 echo "int main() { return 0; }" >conftest.cpp
28035
28036 if { ac_try='
28037 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28038 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28040 (eval $ac_try) 2>&5
28041 ac_status=$?
28042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28043 (exit $ac_status); }; } ; then
28044 if test -s conftest.stderr ; then
28045 wx_cv_version_script=no
28046 else
28047 wx_cv_version_script=yes
28048 fi
28049 else
28050 wx_cv_version_script=no
28051 fi
28052 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28053
28054 fi
28055 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
28056 echo "${ECHO_T}$wx_cv_version_script" >&6
28057 if test $wx_cv_version_script = yes ; then
28058 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
28059 fi
28060 fi
28061
28062
28063 case "${host}" in
28064 *-*-linux* | *-*-gnu* )
28065 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28066 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28067 ;;
28068
28069 *-*-solaris2* )
28070 if test "$GCC" = yes ; then
28071 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
28072
28073 saveLdflags="$LDFLAGS"
28074 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28075 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
28076 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
28077 cat >conftest.$ac_ext <<_ACEOF
28078 /* confdefs.h. */
28079 _ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28083
28084 int
28085 main ()
28086 {
28087
28088 ;
28089 return 0;
28090 }
28091 _ACEOF
28092 rm -f conftest.$ac_objext conftest$ac_exeext
28093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28094 (eval $ac_link) 2>conftest.er1
28095 ac_status=$?
28096 grep -v '^ *+' conftest.er1 >conftest.err
28097 rm -f conftest.er1
28098 cat conftest.err >&5
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); } &&
28101 { ac_try='test -z "$ac_c_werror_flag"
28102 || test ! -s conftest.err'
28103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28104 (eval $ac_try) 2>&5
28105 ac_status=$?
28106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28107 (exit $ac_status); }; } &&
28108 { ac_try='test -s conftest$ac_exeext'
28109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28110 (eval $ac_try) 2>&5
28111 ac_status=$?
28112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28113 (exit $ac_status); }; }; then
28114
28115 echo "$as_me:$LINENO: result: yes" >&5
28116 echo "${ECHO_T}yes" >&6
28117 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
28118 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28119
28120 else
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28123
28124
28125 echo "$as_me:$LINENO: result: no" >&5
28126 echo "${ECHO_T}no" >&6
28127 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
28128 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
28129 LDFLAGS="$saveLdflags -Wl,-R,/"
28130 cat >conftest.$ac_ext <<_ACEOF
28131 /* confdefs.h. */
28132 _ACEOF
28133 cat confdefs.h >>conftest.$ac_ext
28134 cat >>conftest.$ac_ext <<_ACEOF
28135 /* end confdefs.h. */
28136
28137 int
28138 main ()
28139 {
28140
28141 ;
28142 return 0;
28143 }
28144 _ACEOF
28145 rm -f conftest.$ac_objext conftest$ac_exeext
28146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28147 (eval $ac_link) 2>conftest.er1
28148 ac_status=$?
28149 grep -v '^ *+' conftest.er1 >conftest.err
28150 rm -f conftest.er1
28151 cat conftest.err >&5
28152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28153 (exit $ac_status); } &&
28154 { ac_try='test -z "$ac_c_werror_flag"
28155 || test ! -s conftest.err'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; } &&
28161 { ac_try='test -s conftest$ac_exeext'
28162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28163 (eval $ac_try) 2>&5
28164 ac_status=$?
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); }; }; then
28167
28168 echo "$as_me:$LINENO: result: yes" >&5
28169 echo "${ECHO_T}yes" >&6
28170 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28171 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28172
28173 else
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.$ac_ext >&5
28176
28177
28178 echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6
28180
28181 fi
28182 rm -f conftest.err conftest.$ac_objext \
28183 conftest$ac_exeext conftest.$ac_ext
28184
28185 fi
28186 rm -f conftest.err conftest.$ac_objext \
28187 conftest$ac_exeext conftest.$ac_ext
28188 LDFLAGS="$saveLdflags"
28189 else
28190 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28191 WXCONFIG_RPATH="-R\$libdir"
28192 fi
28193 ;;
28194
28195 powerpc-*-darwin* )
28196 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28197 cat <<EOF >change-install-names
28198 #!/bin/sh
28199 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28200 inst_cmd="install_name_tool "
28201 for i in \${libnames} ; do
28202 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28203 done
28204 \${inst_cmd} \${3}
28205 EOF
28206 chmod +x change-install-names
28207 ;;
28208
28209 *-*-cygwin* | *-*-mingw32* )
28210 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28211 ;;
28212
28213 esac
28214
28215 if test $wxUSE_RPATH = "no"; then
28216 SAMPLES_RPATH_FLAG=''
28217 SAMPLES_RPATH_POSTLINK=''
28218 WXCONFIG_RPATH=''
28219 fi
28220
28221 SHARED=1
28222
28223 else
28224
28225 config_linkage_component="-static"
28226 SHARED=0
28227
28228 fi
28229
28230
28231 UNICODE=0
28232 lib_unicode_suffix=
28233 WX_CHARTYPE="ansi"
28234 if test "$wxUSE_UNICODE" = "yes"; then
28235 lib_unicode_suffix=u
28236 WX_CHARTYPE="unicode"
28237 UNICODE=1
28238 fi
28239
28240 lib_debug_suffix=
28241 WX_DEBUGTYPE="release"
28242 DEBUG_FLAG=0
28243 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
28244 lib_debug_suffix=d
28245 WX_DEBUGTYPE="debug"
28246 DEBUG_FLAG=1
28247 fi
28248
28249 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28250 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28251
28252 DEBUG_INFO=0
28253 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28254 DEBUG_INFO=1
28255 fi
28256
28257 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
28258
28259 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
28260
28261 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28262
28263 if test "$cross_compiling" = "yes"; then
28264 HOST_SUFFIX="-$host_alias"
28265 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
28266 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
28267 fi
28268
28269 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28270 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
28271
28272
28273
28274 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28275 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
28276 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
28277
28278 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28279
28280 # Extract the first word of "Rez", so it can be a program name with args.
28281 set dummy Rez; ac_word=$2
28282 echo "$as_me:$LINENO: checking for $ac_word" >&5
28283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28284 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28285 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 else
28287 if test -n "$RESCOMP"; then
28288 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28289 else
28290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28291 for as_dir in $PATH
28292 do
28293 IFS=$as_save_IFS
28294 test -z "$as_dir" && as_dir=.
28295 for ac_exec_ext in '' $ac_executable_extensions; do
28296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28297 ac_cv_prog_RESCOMP="Rez"
28298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28299 break 2
28300 fi
28301 done
28302 done
28303
28304 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28305 fi
28306 fi
28307 RESCOMP=$ac_cv_prog_RESCOMP
28308 if test -n "$RESCOMP"; then
28309 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28310 echo "${ECHO_T}$RESCOMP" >&6
28311 else
28312 echo "$as_me:$LINENO: result: no" >&5
28313 echo "${ECHO_T}no" >&6
28314 fi
28315
28316 # Extract the first word of "DeRez", so it can be a program name with args.
28317 set dummy DeRez; ac_word=$2
28318 echo "$as_me:$LINENO: checking for $ac_word" >&5
28319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28320 if test "${ac_cv_prog_DEREZ+set}" = set; then
28321 echo $ECHO_N "(cached) $ECHO_C" >&6
28322 else
28323 if test -n "$DEREZ"; then
28324 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28325 else
28326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28327 for as_dir in $PATH
28328 do
28329 IFS=$as_save_IFS
28330 test -z "$as_dir" && as_dir=.
28331 for ac_exec_ext in '' $ac_executable_extensions; do
28332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28333 ac_cv_prog_DEREZ="DeRez"
28334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28335 break 2
28336 fi
28337 done
28338 done
28339
28340 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28341 fi
28342 fi
28343 DEREZ=$ac_cv_prog_DEREZ
28344 if test -n "$DEREZ"; then
28345 echo "$as_me:$LINENO: result: $DEREZ" >&5
28346 echo "${ECHO_T}$DEREZ" >&6
28347 else
28348 echo "$as_me:$LINENO: result: no" >&5
28349 echo "${ECHO_T}no" >&6
28350 fi
28351
28352 # Extract the first word of "SetFile", so it can be a program name with args.
28353 set dummy SetFile; ac_word=$2
28354 echo "$as_me:$LINENO: checking for $ac_word" >&5
28355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28356 if test "${ac_cv_prog_SETFILE+set}" = set; then
28357 echo $ECHO_N "(cached) $ECHO_C" >&6
28358 else
28359 if test -n "$SETFILE"; then
28360 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28361 else
28362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28363 for as_dir in $PATH
28364 do
28365 IFS=$as_save_IFS
28366 test -z "$as_dir" && as_dir=.
28367 for ac_exec_ext in '' $ac_executable_extensions; do
28368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28369 ac_cv_prog_SETFILE="SetFile"
28370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28371 break 2
28372 fi
28373 done
28374 done
28375
28376 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28377 fi
28378 fi
28379 SETFILE=$ac_cv_prog_SETFILE
28380 if test -n "$SETFILE"; then
28381 echo "$as_me:$LINENO: result: $SETFILE" >&5
28382 echo "${ECHO_T}$SETFILE" >&6
28383 else
28384 echo "$as_me:$LINENO: result: no" >&5
28385 echo "${ECHO_T}no" >&6
28386 fi
28387
28388
28389 MACSETFILE="\$(SETFILE)"
28390
28391 if test "$wxUSE_MAC" = 1; then
28392 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28393
28394 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28395 else
28396 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28397 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28398 fi
28399 else
28400 MACSETFILE="@true"
28401 MACRESWXCONFIG="@true"
28402
28403 if test "$wxUSE_PM" = 1; then
28404 MACRESCOMP="emxbind -ep"
28405 else
28406 MACRESCOMP="@true"
28407 fi
28408 fi
28409
28410
28411
28412 echo "$as_me:$LINENO: checking for mode_t" >&5
28413 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28414 if test "${ac_cv_type_mode_t+set}" = set; then
28415 echo $ECHO_N "(cached) $ECHO_C" >&6
28416 else
28417 cat >conftest.$ac_ext <<_ACEOF
28418 /* confdefs.h. */
28419 _ACEOF
28420 cat confdefs.h >>conftest.$ac_ext
28421 cat >>conftest.$ac_ext <<_ACEOF
28422 /* end confdefs.h. */
28423 $ac_includes_default
28424 int
28425 main ()
28426 {
28427 if ((mode_t *) 0)
28428 return 0;
28429 if (sizeof (mode_t))
28430 return 0;
28431 ;
28432 return 0;
28433 }
28434 _ACEOF
28435 rm -f conftest.$ac_objext
28436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28437 (eval $ac_compile) 2>conftest.er1
28438 ac_status=$?
28439 grep -v '^ *+' conftest.er1 >conftest.err
28440 rm -f conftest.er1
28441 cat conftest.err >&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } &&
28444 { ac_try='test -z "$ac_c_werror_flag"
28445 || test ! -s conftest.err'
28446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28447 (eval $ac_try) 2>&5
28448 ac_status=$?
28449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28450 (exit $ac_status); }; } &&
28451 { ac_try='test -s conftest.$ac_objext'
28452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28453 (eval $ac_try) 2>&5
28454 ac_status=$?
28455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28456 (exit $ac_status); }; }; then
28457 ac_cv_type_mode_t=yes
28458 else
28459 echo "$as_me: failed program was:" >&5
28460 sed 's/^/| /' conftest.$ac_ext >&5
28461
28462 ac_cv_type_mode_t=no
28463 fi
28464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28465 fi
28466 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28467 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28468 if test $ac_cv_type_mode_t = yes; then
28469 :
28470 else
28471
28472 cat >>confdefs.h <<_ACEOF
28473 #define mode_t int
28474 _ACEOF
28475
28476 fi
28477
28478 echo "$as_me:$LINENO: checking for off_t" >&5
28479 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28480 if test "${ac_cv_type_off_t+set}" = set; then
28481 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 else
28483 cat >conftest.$ac_ext <<_ACEOF
28484 /* confdefs.h. */
28485 _ACEOF
28486 cat confdefs.h >>conftest.$ac_ext
28487 cat >>conftest.$ac_ext <<_ACEOF
28488 /* end confdefs.h. */
28489 $ac_includes_default
28490 int
28491 main ()
28492 {
28493 if ((off_t *) 0)
28494 return 0;
28495 if (sizeof (off_t))
28496 return 0;
28497 ;
28498 return 0;
28499 }
28500 _ACEOF
28501 rm -f conftest.$ac_objext
28502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28503 (eval $ac_compile) 2>conftest.er1
28504 ac_status=$?
28505 grep -v '^ *+' conftest.er1 >conftest.err
28506 rm -f conftest.er1
28507 cat conftest.err >&5
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); } &&
28510 { ac_try='test -z "$ac_c_werror_flag"
28511 || test ! -s conftest.err'
28512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28513 (eval $ac_try) 2>&5
28514 ac_status=$?
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); }; } &&
28517 { ac_try='test -s conftest.$ac_objext'
28518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28519 (eval $ac_try) 2>&5
28520 ac_status=$?
28521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28522 (exit $ac_status); }; }; then
28523 ac_cv_type_off_t=yes
28524 else
28525 echo "$as_me: failed program was:" >&5
28526 sed 's/^/| /' conftest.$ac_ext >&5
28527
28528 ac_cv_type_off_t=no
28529 fi
28530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28531 fi
28532 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28533 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28534 if test $ac_cv_type_off_t = yes; then
28535 :
28536 else
28537
28538 cat >>confdefs.h <<_ACEOF
28539 #define off_t long
28540 _ACEOF
28541
28542 fi
28543
28544 echo "$as_me:$LINENO: checking for pid_t" >&5
28545 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28546 if test "${ac_cv_type_pid_t+set}" = set; then
28547 echo $ECHO_N "(cached) $ECHO_C" >&6
28548 else
28549 cat >conftest.$ac_ext <<_ACEOF
28550 /* confdefs.h. */
28551 _ACEOF
28552 cat confdefs.h >>conftest.$ac_ext
28553 cat >>conftest.$ac_ext <<_ACEOF
28554 /* end confdefs.h. */
28555 $ac_includes_default
28556 int
28557 main ()
28558 {
28559 if ((pid_t *) 0)
28560 return 0;
28561 if (sizeof (pid_t))
28562 return 0;
28563 ;
28564 return 0;
28565 }
28566 _ACEOF
28567 rm -f conftest.$ac_objext
28568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28569 (eval $ac_compile) 2>conftest.er1
28570 ac_status=$?
28571 grep -v '^ *+' conftest.er1 >conftest.err
28572 rm -f conftest.er1
28573 cat conftest.err >&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } &&
28576 { ac_try='test -z "$ac_c_werror_flag"
28577 || test ! -s conftest.err'
28578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28579 (eval $ac_try) 2>&5
28580 ac_status=$?
28581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582 (exit $ac_status); }; } &&
28583 { ac_try='test -s conftest.$ac_objext'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; }; then
28589 ac_cv_type_pid_t=yes
28590 else
28591 echo "$as_me: failed program was:" >&5
28592 sed 's/^/| /' conftest.$ac_ext >&5
28593
28594 ac_cv_type_pid_t=no
28595 fi
28596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28597 fi
28598 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28599 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28600 if test $ac_cv_type_pid_t = yes; then
28601 :
28602 else
28603
28604 cat >>confdefs.h <<_ACEOF
28605 #define pid_t int
28606 _ACEOF
28607
28608 fi
28609
28610 echo "$as_me:$LINENO: checking for size_t" >&5
28611 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28612 if test "${ac_cv_type_size_t+set}" = set; then
28613 echo $ECHO_N "(cached) $ECHO_C" >&6
28614 else
28615 cat >conftest.$ac_ext <<_ACEOF
28616 /* confdefs.h. */
28617 _ACEOF
28618 cat confdefs.h >>conftest.$ac_ext
28619 cat >>conftest.$ac_ext <<_ACEOF
28620 /* end confdefs.h. */
28621 $ac_includes_default
28622 int
28623 main ()
28624 {
28625 if ((size_t *) 0)
28626 return 0;
28627 if (sizeof (size_t))
28628 return 0;
28629 ;
28630 return 0;
28631 }
28632 _ACEOF
28633 rm -f conftest.$ac_objext
28634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28635 (eval $ac_compile) 2>conftest.er1
28636 ac_status=$?
28637 grep -v '^ *+' conftest.er1 >conftest.err
28638 rm -f conftest.er1
28639 cat conftest.err >&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); } &&
28642 { ac_try='test -z "$ac_c_werror_flag"
28643 || test ! -s conftest.err'
28644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28645 (eval $ac_try) 2>&5
28646 ac_status=$?
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); }; } &&
28649 { ac_try='test -s conftest.$ac_objext'
28650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28651 (eval $ac_try) 2>&5
28652 ac_status=$?
28653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654 (exit $ac_status); }; }; then
28655 ac_cv_type_size_t=yes
28656 else
28657 echo "$as_me: failed program was:" >&5
28658 sed 's/^/| /' conftest.$ac_ext >&5
28659
28660 ac_cv_type_size_t=no
28661 fi
28662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28663 fi
28664 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28665 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28666 if test $ac_cv_type_size_t = yes; then
28667 :
28668 else
28669
28670 cat >>confdefs.h <<_ACEOF
28671 #define size_t unsigned
28672 _ACEOF
28673
28674 fi
28675
28676 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28677 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28678 if test "${ac_cv_type_uid_t+set}" = set; then
28679 echo $ECHO_N "(cached) $ECHO_C" >&6
28680 else
28681 cat >conftest.$ac_ext <<_ACEOF
28682 /* confdefs.h. */
28683 _ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687 #include <sys/types.h>
28688
28689 _ACEOF
28690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28691 $EGREP "uid_t" >/dev/null 2>&1; then
28692 ac_cv_type_uid_t=yes
28693 else
28694 ac_cv_type_uid_t=no
28695 fi
28696 rm -f conftest*
28697
28698 fi
28699 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28700 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28701 if test $ac_cv_type_uid_t = no; then
28702
28703 cat >>confdefs.h <<\_ACEOF
28704 #define uid_t int
28705 _ACEOF
28706
28707
28708 cat >>confdefs.h <<\_ACEOF
28709 #define gid_t int
28710 _ACEOF
28711
28712 fi
28713
28714
28715 echo "$as_me:$LINENO: checking for ssize_t" >&5
28716 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
28717 if test "${ac_cv_type_ssize_t+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28719 else
28720 cat >conftest.$ac_ext <<_ACEOF
28721 /* confdefs.h. */
28722 _ACEOF
28723 cat confdefs.h >>conftest.$ac_ext
28724 cat >>conftest.$ac_ext <<_ACEOF
28725 /* end confdefs.h. */
28726 $ac_includes_default
28727 int
28728 main ()
28729 {
28730 if ((ssize_t *) 0)
28731 return 0;
28732 if (sizeof (ssize_t))
28733 return 0;
28734 ;
28735 return 0;
28736 }
28737 _ACEOF
28738 rm -f conftest.$ac_objext
28739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28740 (eval $ac_compile) 2>conftest.er1
28741 ac_status=$?
28742 grep -v '^ *+' conftest.er1 >conftest.err
28743 rm -f conftest.er1
28744 cat conftest.err >&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); } &&
28747 { ac_try='test -z "$ac_c_werror_flag"
28748 || test ! -s conftest.err'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28751 ac_status=$?
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; } &&
28754 { ac_try='test -s conftest.$ac_objext'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28757 ac_status=$?
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28760 ac_cv_type_ssize_t=yes
28761 else
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.$ac_ext >&5
28764
28765 ac_cv_type_ssize_t=no
28766 fi
28767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28768 fi
28769 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
28770 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
28771 if test $ac_cv_type_ssize_t = yes; then
28772
28773 cat >>confdefs.h <<_ACEOF
28774 #define HAVE_SSIZE_T 1
28775 _ACEOF
28776
28777
28778 fi
28779
28780
28781
28782
28783 ac_ext=cc
28784 ac_cpp='$CXXCPP $CPPFLAGS'
28785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28788
28789 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28790 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28791 if test "${wx_cv_size_t_is_uint+set}" = set; then
28792 echo $ECHO_N "(cached) $ECHO_C" >&6
28793 else
28794
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h. */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801 #include <stddef.h>
28802 int
28803 main ()
28804 {
28805
28806 return 0; }
28807
28808 struct Foo { void foo(size_t); void foo(unsigned int); };
28809
28810 int bar() {
28811
28812 ;
28813 return 0;
28814 }
28815 _ACEOF
28816 rm -f conftest.$ac_objext
28817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28818 (eval $ac_compile) 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_cxx_werror_flag"
28826 || test ! -s conftest.err'
28827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28828 (eval $ac_try) 2>&5
28829 ac_status=$?
28830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28831 (exit $ac_status); }; } &&
28832 { ac_try='test -s conftest.$ac_objext'
28833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28834 (eval $ac_try) 2>&5
28835 ac_status=$?
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); }; }; then
28838 wx_cv_size_t_is_uint=no
28839 else
28840 echo "$as_me: failed program was:" >&5
28841 sed 's/^/| /' conftest.$ac_ext >&5
28842
28843 wx_cv_size_t_is_uint=yes
28844
28845 fi
28846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28847
28848
28849 fi
28850 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28851 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28852
28853 if test "$wx_cv_size_t_is_uint" = "yes"; then
28854 cat >>confdefs.h <<\_ACEOF
28855 #define wxSIZE_T_IS_UINT 1
28856 _ACEOF
28857
28858 else
28859 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28860 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28861 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28862 echo $ECHO_N "(cached) $ECHO_C" >&6
28863 else
28864 cat >conftest.$ac_ext <<_ACEOF
28865 /* confdefs.h. */
28866 _ACEOF
28867 cat confdefs.h >>conftest.$ac_ext
28868 cat >>conftest.$ac_ext <<_ACEOF
28869 /* end confdefs.h. */
28870 #include <stddef.h>
28871 int
28872 main ()
28873 {
28874
28875 return 0; }
28876
28877 struct Foo { void foo(size_t); void foo(unsigned long); };
28878
28879 int bar() {
28880
28881 ;
28882 return 0;
28883 }
28884 _ACEOF
28885 rm -f conftest.$ac_objext
28886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28887 (eval $ac_compile) 2>conftest.er1
28888 ac_status=$?
28889 grep -v '^ *+' conftest.er1 >conftest.err
28890 rm -f conftest.er1
28891 cat conftest.err >&5
28892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28893 (exit $ac_status); } &&
28894 { ac_try='test -z "$ac_cxx_werror_flag"
28895 || test ! -s conftest.err'
28896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28897 (eval $ac_try) 2>&5
28898 ac_status=$?
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; } &&
28901 { ac_try='test -s conftest.$ac_objext'
28902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28903 (eval $ac_try) 2>&5
28904 ac_status=$?
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); }; }; then
28907 wx_cv_size_t_is_ulong=no
28908 else
28909 echo "$as_me: failed program was:" >&5
28910 sed 's/^/| /' conftest.$ac_ext >&5
28911
28912 wx_cv_size_t_is_ulong=yes
28913
28914 fi
28915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28916
28917 fi
28918 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28919 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28920
28921 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28922 cat >>confdefs.h <<\_ACEOF
28923 #define wxSIZE_T_IS_ULONG 1
28924 _ACEOF
28925
28926 fi
28927 fi
28928
28929 ac_ext=c
28930 ac_cpp='$CPP $CPPFLAGS'
28931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28934
28935
28936
28937 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28938 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28939 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28941 else
28942
28943 cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h. */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949 #include <pwd.h>
28950 int
28951 main ()
28952 {
28953
28954 char *p;
28955 struct passwd *pw;
28956 p = pw->pw_gecos;
28957
28958 ;
28959 return 0;
28960 }
28961 _ACEOF
28962 rm -f conftest.$ac_objext
28963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28964 (eval $ac_compile) 2>conftest.er1
28965 ac_status=$?
28966 grep -v '^ *+' conftest.er1 >conftest.err
28967 rm -f conftest.er1
28968 cat conftest.err >&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } &&
28971 { ac_try='test -z "$ac_c_werror_flag"
28972 || test ! -s conftest.err'
28973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28974 (eval $ac_try) 2>&5
28975 ac_status=$?
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); }; } &&
28978 { ac_try='test -s conftest.$ac_objext'
28979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28980 (eval $ac_try) 2>&5
28981 ac_status=$?
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); }; }; then
28984
28985 wx_cv_struct_pw_gecos=yes
28986
28987 else
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28990
28991
28992 wx_cv_struct_pw_gecos=no
28993
28994
28995 fi
28996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28997
28998
28999 fi
29000 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
29001 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
29002
29003 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29004 cat >>confdefs.h <<\_ACEOF
29005 #define HAVE_PW_GECOS 1
29006 _ACEOF
29007
29008 fi
29009
29010
29011 if test "$wx_cv_sizeof_wchar_t" != "0"; then
29012 cat >>confdefs.h <<\_ACEOF
29013 #define wxUSE_WCHAR_T 1
29014 _ACEOF
29015
29016
29017 WCSLEN_FOUND=0
29018 WCHAR_LINK=
29019
29020 for ac_func in wcslen
29021 do
29022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29023 echo "$as_me:$LINENO: checking for $ac_func" >&5
29024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29025 if eval "test \"\${$as_ac_var+set}\" = set"; then
29026 echo $ECHO_N "(cached) $ECHO_C" >&6
29027 else
29028 cat >conftest.$ac_ext <<_ACEOF
29029 /* confdefs.h. */
29030 _ACEOF
29031 cat confdefs.h >>conftest.$ac_ext
29032 cat >>conftest.$ac_ext <<_ACEOF
29033 /* end confdefs.h. */
29034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29036 #define $ac_func innocuous_$ac_func
29037
29038 /* System header to define __stub macros and hopefully few prototypes,
29039 which can conflict with char $ac_func (); below.
29040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29041 <limits.h> exists even on freestanding compilers. */
29042
29043 #ifdef __STDC__
29044 # include <limits.h>
29045 #else
29046 # include <assert.h>
29047 #endif
29048
29049 #undef $ac_func
29050
29051 /* Override any gcc2 internal prototype to avoid an error. */
29052 #ifdef __cplusplus
29053 extern "C"
29054 {
29055 #endif
29056 /* We use char because int might match the return type of a gcc2
29057 builtin and then its argument prototype would still apply. */
29058 char $ac_func ();
29059 /* The GNU C library defines this for functions which it implements
29060 to always fail with ENOSYS. Some functions are actually named
29061 something starting with __ and the normal name is an alias. */
29062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29063 choke me
29064 #else
29065 char (*f) () = $ac_func;
29066 #endif
29067 #ifdef __cplusplus
29068 }
29069 #endif
29070
29071 int
29072 main ()
29073 {
29074 return f != $ac_func;
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 rm -f conftest.$ac_objext conftest$ac_exeext
29080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29081 (eval $ac_link) 2>conftest.er1
29082 ac_status=$?
29083 grep -v '^ *+' conftest.er1 >conftest.err
29084 rm -f conftest.er1
29085 cat conftest.err >&5
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); } &&
29088 { ac_try='test -z "$ac_c_werror_flag"
29089 || test ! -s conftest.err'
29090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29091 (eval $ac_try) 2>&5
29092 ac_status=$?
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); }; } &&
29095 { ac_try='test -s conftest$ac_exeext'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; }; then
29101 eval "$as_ac_var=yes"
29102 else
29103 echo "$as_me: failed program was:" >&5
29104 sed 's/^/| /' conftest.$ac_ext >&5
29105
29106 eval "$as_ac_var=no"
29107 fi
29108 rm -f conftest.err conftest.$ac_objext \
29109 conftest$ac_exeext conftest.$ac_ext
29110 fi
29111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29113 if test `eval echo '${'$as_ac_var'}'` = yes; then
29114 cat >>confdefs.h <<_ACEOF
29115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29116 _ACEOF
29117 WCSLEN_FOUND=1
29118 fi
29119 done
29120
29121
29122 if test "$WCSLEN_FOUND" = 0; then
29123 if test "$TOOLKIT" = "MSW"; then
29124 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
29125 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
29126 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
29127 echo $ECHO_N "(cached) $ECHO_C" >&6
29128 else
29129 ac_check_lib_save_LIBS=$LIBS
29130 LIBS="-lmsvcrt $LIBS"
29131 cat >conftest.$ac_ext <<_ACEOF
29132 /* confdefs.h. */
29133 _ACEOF
29134 cat confdefs.h >>conftest.$ac_ext
29135 cat >>conftest.$ac_ext <<_ACEOF
29136 /* end confdefs.h. */
29137
29138 /* Override any gcc2 internal prototype to avoid an error. */
29139 #ifdef __cplusplus
29140 extern "C"
29141 #endif
29142 /* We use char because int might match the return type of a gcc2
29143 builtin and then its argument prototype would still apply. */
29144 char wcslen ();
29145 int
29146 main ()
29147 {
29148 wcslen ();
29149 ;
29150 return 0;
29151 }
29152 _ACEOF
29153 rm -f conftest.$ac_objext conftest$ac_exeext
29154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29155 (eval $ac_link) 2>conftest.er1
29156 ac_status=$?
29157 grep -v '^ *+' conftest.er1 >conftest.err
29158 rm -f conftest.er1
29159 cat conftest.err >&5
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); } &&
29162 { ac_try='test -z "$ac_c_werror_flag"
29163 || test ! -s conftest.err'
29164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29165 (eval $ac_try) 2>&5
29166 ac_status=$?
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); }; } &&
29169 { ac_try='test -s conftest$ac_exeext'
29170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29171 (eval $ac_try) 2>&5
29172 ac_status=$?
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); }; }; then
29175 ac_cv_lib_msvcrt_wcslen=yes
29176 else
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29179
29180 ac_cv_lib_msvcrt_wcslen=no
29181 fi
29182 rm -f conftest.err conftest.$ac_objext \
29183 conftest$ac_exeext conftest.$ac_ext
29184 LIBS=$ac_check_lib_save_LIBS
29185 fi
29186 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
29187 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
29188 if test $ac_cv_lib_msvcrt_wcslen = yes; then
29189 WCHAR_OK=1
29190 fi
29191
29192 else
29193 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
29194 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
29195 if test "${ac_cv_lib_w_wcslen+set}" = set; then
29196 echo $ECHO_N "(cached) $ECHO_C" >&6
29197 else
29198 ac_check_lib_save_LIBS=$LIBS
29199 LIBS="-lw $LIBS"
29200 cat >conftest.$ac_ext <<_ACEOF
29201 /* confdefs.h. */
29202 _ACEOF
29203 cat confdefs.h >>conftest.$ac_ext
29204 cat >>conftest.$ac_ext <<_ACEOF
29205 /* end confdefs.h. */
29206
29207 /* Override any gcc2 internal prototype to avoid an error. */
29208 #ifdef __cplusplus
29209 extern "C"
29210 #endif
29211 /* We use char because int might match the return type of a gcc2
29212 builtin and then its argument prototype would still apply. */
29213 char wcslen ();
29214 int
29215 main ()
29216 {
29217 wcslen ();
29218 ;
29219 return 0;
29220 }
29221 _ACEOF
29222 rm -f conftest.$ac_objext conftest$ac_exeext
29223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29224 (eval $ac_link) 2>conftest.er1
29225 ac_status=$?
29226 grep -v '^ *+' conftest.er1 >conftest.err
29227 rm -f conftest.er1
29228 cat conftest.err >&5
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); } &&
29231 { ac_try='test -z "$ac_c_werror_flag"
29232 || test ! -s conftest.err'
29233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29234 (eval $ac_try) 2>&5
29235 ac_status=$?
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; } &&
29238 { ac_try='test -s conftest$ac_exeext'
29239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29240 (eval $ac_try) 2>&5
29241 ac_status=$?
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); }; }; then
29244 ac_cv_lib_w_wcslen=yes
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29248
29249 ac_cv_lib_w_wcslen=no
29250 fi
29251 rm -f conftest.err conftest.$ac_objext \
29252 conftest$ac_exeext conftest.$ac_ext
29253 LIBS=$ac_check_lib_save_LIBS
29254 fi
29255 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29256 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29257 if test $ac_cv_lib_w_wcslen = yes; then
29258
29259 WCHAR_LINK=" -lw"
29260 WCSLEN_FOUND=1
29261
29262 fi
29263
29264 fi
29265 fi
29266
29267 if test "$WCSLEN_FOUND" = 1; then
29268 cat >>confdefs.h <<\_ACEOF
29269 #define HAVE_WCSLEN 1
29270 _ACEOF
29271
29272 fi
29273
29274 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29275 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29276 fi
29277
29278
29279 for ac_func in wcsrtombs
29280 do
29281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29282 echo "$as_me:$LINENO: checking for $ac_func" >&5
29283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29284 if eval "test \"\${$as_ac_var+set}\" = set"; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 else
29287 cat >conftest.$ac_ext <<_ACEOF
29288 /* confdefs.h. */
29289 _ACEOF
29290 cat confdefs.h >>conftest.$ac_ext
29291 cat >>conftest.$ac_ext <<_ACEOF
29292 /* end confdefs.h. */
29293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29295 #define $ac_func innocuous_$ac_func
29296
29297 /* System header to define __stub macros and hopefully few prototypes,
29298 which can conflict with char $ac_func (); below.
29299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29300 <limits.h> exists even on freestanding compilers. */
29301
29302 #ifdef __STDC__
29303 # include <limits.h>
29304 #else
29305 # include <assert.h>
29306 #endif
29307
29308 #undef $ac_func
29309
29310 /* Override any gcc2 internal prototype to avoid an error. */
29311 #ifdef __cplusplus
29312 extern "C"
29313 {
29314 #endif
29315 /* We use char because int might match the return type of a gcc2
29316 builtin and then its argument prototype would still apply. */
29317 char $ac_func ();
29318 /* The GNU C library defines this for functions which it implements
29319 to always fail with ENOSYS. Some functions are actually named
29320 something starting with __ and the normal name is an alias. */
29321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29322 choke me
29323 #else
29324 char (*f) () = $ac_func;
29325 #endif
29326 #ifdef __cplusplus
29327 }
29328 #endif
29329
29330 int
29331 main ()
29332 {
29333 return f != $ac_func;
29334 ;
29335 return 0;
29336 }
29337 _ACEOF
29338 rm -f conftest.$ac_objext conftest$ac_exeext
29339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29340 (eval $ac_link) 2>conftest.er1
29341 ac_status=$?
29342 grep -v '^ *+' conftest.er1 >conftest.err
29343 rm -f conftest.er1
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } &&
29347 { ac_try='test -z "$ac_c_werror_flag"
29348 || test ! -s conftest.err'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29351 ac_status=$?
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; } &&
29354 { ac_try='test -s conftest$ac_exeext'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29357 ac_status=$?
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; }; then
29360 eval "$as_ac_var=yes"
29361 else
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.$ac_ext >&5
29364
29365 eval "$as_ac_var=no"
29366 fi
29367 rm -f conftest.err conftest.$ac_objext \
29368 conftest$ac_exeext conftest.$ac_ext
29369 fi
29370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29372 if test `eval echo '${'$as_ac_var'}'` = yes; then
29373 cat >>confdefs.h <<_ACEOF
29374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29375 _ACEOF
29376
29377 fi
29378 done
29379
29380 else
29381 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29382 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29383 fi
29384
29385
29386
29387 ac_ext=cc
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29392
29393
29394
29395 for ac_func in vsnprintf
29396 do
29397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29398 echo "$as_me:$LINENO: checking for $ac_func" >&5
29399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29400 if eval "test \"\${$as_ac_var+set}\" = set"; then
29401 echo $ECHO_N "(cached) $ECHO_C" >&6
29402 else
29403 cat >conftest.$ac_ext <<_ACEOF
29404 /* confdefs.h. */
29405 _ACEOF
29406 cat confdefs.h >>conftest.$ac_ext
29407 cat >>conftest.$ac_ext <<_ACEOF
29408 /* end confdefs.h. */
29409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29411 #define $ac_func innocuous_$ac_func
29412
29413 /* System header to define __stub macros and hopefully few prototypes,
29414 which can conflict with char $ac_func (); below.
29415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29416 <limits.h> exists even on freestanding compilers. */
29417
29418 #ifdef __STDC__
29419 # include <limits.h>
29420 #else
29421 # include <assert.h>
29422 #endif
29423
29424 #undef $ac_func
29425
29426 /* Override any gcc2 internal prototype to avoid an error. */
29427 #ifdef __cplusplus
29428 extern "C"
29429 {
29430 #endif
29431 /* We use char because int might match the return type of a gcc2
29432 builtin and then its argument prototype would still apply. */
29433 char $ac_func ();
29434 /* The GNU C library defines this for functions which it implements
29435 to always fail with ENOSYS. Some functions are actually named
29436 something starting with __ and the normal name is an alias. */
29437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29438 choke me
29439 #else
29440 char (*f) () = $ac_func;
29441 #endif
29442 #ifdef __cplusplus
29443 }
29444 #endif
29445
29446 int
29447 main ()
29448 {
29449 return f != $ac_func;
29450 ;
29451 return 0;
29452 }
29453 _ACEOF
29454 rm -f conftest.$ac_objext conftest$ac_exeext
29455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29456 (eval $ac_link) 2>conftest.er1
29457 ac_status=$?
29458 grep -v '^ *+' conftest.er1 >conftest.err
29459 rm -f conftest.er1
29460 cat conftest.err >&5
29461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29462 (exit $ac_status); } &&
29463 { ac_try='test -z "$ac_cxx_werror_flag"
29464 || test ! -s conftest.err'
29465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29466 (eval $ac_try) 2>&5
29467 ac_status=$?
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); }; } &&
29470 { ac_try='test -s conftest$ac_exeext'
29471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472 (eval $ac_try) 2>&5
29473 ac_status=$?
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); }; }; then
29476 eval "$as_ac_var=yes"
29477 else
29478 echo "$as_me: failed program was:" >&5
29479 sed 's/^/| /' conftest.$ac_ext >&5
29480
29481 eval "$as_ac_var=no"
29482 fi
29483 rm -f conftest.err conftest.$ac_objext \
29484 conftest$ac_exeext conftest.$ac_ext
29485 fi
29486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29488 if test `eval echo '${'$as_ac_var'}'` = yes; then
29489 cat >>confdefs.h <<_ACEOF
29490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29491 _ACEOF
29492
29493 fi
29494 done
29495
29496
29497 if test "$ac_cv_func_vsnprintf" = "yes"; then
29498 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29499 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29500 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29502 else
29503
29504 cat >conftest.$ac_ext <<_ACEOF
29505 /* confdefs.h. */
29506 _ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29510
29511 #include <stdio.h>
29512 #include <stdarg.h>
29513
29514 int
29515 main ()
29516 {
29517
29518 char *buf;
29519 va_list ap;
29520 vsnprintf(buf, 10u, "%s", ap);
29521
29522 ;
29523 return 0;
29524 }
29525 _ACEOF
29526 rm -f conftest.$ac_objext
29527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29528 (eval $ac_compile) 2>conftest.er1
29529 ac_status=$?
29530 grep -v '^ *+' conftest.er1 >conftest.err
29531 rm -f conftest.er1
29532 cat conftest.err >&5
29533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29534 (exit $ac_status); } &&
29535 { ac_try='test -z "$ac_cxx_werror_flag"
29536 || test ! -s conftest.err'
29537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29538 (eval $ac_try) 2>&5
29539 ac_status=$?
29540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29541 (exit $ac_status); }; } &&
29542 { ac_try='test -s conftest.$ac_objext'
29543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29544 (eval $ac_try) 2>&5
29545 ac_status=$?
29546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29547 (exit $ac_status); }; }; then
29548 wx_cv_func_vsnprintf_decl=yes
29549 else
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.$ac_ext >&5
29552
29553 wx_cv_func_vsnprintf_decl=no
29554
29555 fi
29556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29557
29558
29559 fi
29560 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29561 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29562
29563 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29564 cat >>confdefs.h <<\_ACEOF
29565 #define HAVE_VSNPRINTF_DECL 1
29566 _ACEOF
29567
29568 fi
29569 fi
29570
29571 if test "$wxUSE_UNICODE" = yes; then
29572
29573
29574
29575
29576
29577
29578 for ac_func in wputc wputchar putws fputws wprintf vswprintf
29579 do
29580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29581 echo "$as_me:$LINENO: checking for $ac_func" >&5
29582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29583 if eval "test \"\${$as_ac_var+set}\" = set"; then
29584 echo $ECHO_N "(cached) $ECHO_C" >&6
29585 else
29586 cat >conftest.$ac_ext <<_ACEOF
29587 /* confdefs.h. */
29588 _ACEOF
29589 cat confdefs.h >>conftest.$ac_ext
29590 cat >>conftest.$ac_ext <<_ACEOF
29591 /* end confdefs.h. */
29592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29594 #define $ac_func innocuous_$ac_func
29595
29596 /* System header to define __stub macros and hopefully few prototypes,
29597 which can conflict with char $ac_func (); below.
29598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29599 <limits.h> exists even on freestanding compilers. */
29600
29601 #ifdef __STDC__
29602 # include <limits.h>
29603 #else
29604 # include <assert.h>
29605 #endif
29606
29607 #undef $ac_func
29608
29609 /* Override any gcc2 internal prototype to avoid an error. */
29610 #ifdef __cplusplus
29611 extern "C"
29612 {
29613 #endif
29614 /* We use char because int might match the return type of a gcc2
29615 builtin and then its argument prototype would still apply. */
29616 char $ac_func ();
29617 /* The GNU C library defines this for functions which it implements
29618 to always fail with ENOSYS. Some functions are actually named
29619 something starting with __ and the normal name is an alias. */
29620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29621 choke me
29622 #else
29623 char (*f) () = $ac_func;
29624 #endif
29625 #ifdef __cplusplus
29626 }
29627 #endif
29628
29629 int
29630 main ()
29631 {
29632 return f != $ac_func;
29633 ;
29634 return 0;
29635 }
29636 _ACEOF
29637 rm -f conftest.$ac_objext conftest$ac_exeext
29638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29639 (eval $ac_link) 2>conftest.er1
29640 ac_status=$?
29641 grep -v '^ *+' conftest.er1 >conftest.err
29642 rm -f conftest.er1
29643 cat conftest.err >&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); } &&
29646 { ac_try='test -z "$ac_cxx_werror_flag"
29647 || test ! -s conftest.err'
29648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29649 (eval $ac_try) 2>&5
29650 ac_status=$?
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); }; } &&
29653 { ac_try='test -s conftest$ac_exeext'
29654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29655 (eval $ac_try) 2>&5
29656 ac_status=$?
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); }; }; then
29659 eval "$as_ac_var=yes"
29660 else
29661 echo "$as_me: failed program was:" >&5
29662 sed 's/^/| /' conftest.$ac_ext >&5
29663
29664 eval "$as_ac_var=no"
29665 fi
29666 rm -f conftest.err conftest.$ac_objext \
29667 conftest$ac_exeext conftest.$ac_ext
29668 fi
29669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29671 if test `eval echo '${'$as_ac_var'}'` = yes; then
29672 cat >>confdefs.h <<_ACEOF
29673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29674 _ACEOF
29675
29676 fi
29677 done
29678
29679
29680 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29681 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29682 cat >conftest.$ac_ext <<_ACEOF
29683 /* confdefs.h. */
29684 _ACEOF
29685 cat confdefs.h >>conftest.$ac_ext
29686 cat >>conftest.$ac_ext <<_ACEOF
29687 /* end confdefs.h. */
29688 #include <wchar.h>
29689 int
29690 main ()
29691 {
29692 &_vsnwprintf;
29693 ;
29694 return 0;
29695 }
29696 _ACEOF
29697 rm -f conftest.$ac_objext
29698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29699 (eval $ac_compile) 2>conftest.er1
29700 ac_status=$?
29701 grep -v '^ *+' conftest.er1 >conftest.err
29702 rm -f conftest.er1
29703 cat conftest.err >&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); } &&
29706 { ac_try='test -z "$ac_cxx_werror_flag"
29707 || test ! -s conftest.err'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; } &&
29713 { ac_try='test -s conftest.$ac_objext'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; }; then
29719 echo "$as_me:$LINENO: result: yes" >&5
29720 echo "${ECHO_T}yes" >&6
29721 cat >>confdefs.h <<\_ACEOF
29722 #define HAVE__VSNWPRINTF 1
29723 _ACEOF
29724
29725 else
29726 echo "$as_me: failed program was:" >&5
29727 sed 's/^/| /' conftest.$ac_ext >&5
29728
29729 echo "$as_me:$LINENO: result: no" >&5
29730 echo "${ECHO_T}no" >&6
29731 fi
29732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29733 fi
29734
29735 ac_ext=c
29736 ac_cpp='$CPP $CPPFLAGS'
29737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29740
29741
29742
29743
29744 if test "$TOOLKIT" != "MSW"; then
29745
29746
29747
29748
29749 ac_ext=cc
29750 ac_cpp='$CXXCPP $CPPFLAGS'
29751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29754
29755
29756
29757
29758 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29759 if test "${with_libiconv_prefix+set}" = set; then
29760 withval="$with_libiconv_prefix"
29761
29762 for dir in `echo "$withval" | tr : ' '`; do
29763 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29764 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29765 done
29766
29767 fi;
29768
29769 echo "$as_me:$LINENO: checking for iconv" >&5
29770 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29771 if test "${am_cv_func_iconv+set}" = set; then
29772 echo $ECHO_N "(cached) $ECHO_C" >&6
29773 else
29774
29775 am_cv_func_iconv="no, consider installing GNU libiconv"
29776 am_cv_lib_iconv=no
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h. */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783 #include <stdlib.h>
29784 #include <iconv.h>
29785 int
29786 main ()
29787 {
29788 iconv_t cd = iconv_open("","");
29789 iconv(cd,NULL,NULL,NULL,NULL);
29790 iconv_close(cd);
29791 ;
29792 return 0;
29793 }
29794 _ACEOF
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29797 (eval $ac_link) 2>conftest.er1
29798 ac_status=$?
29799 grep -v '^ *+' conftest.er1 >conftest.err
29800 rm -f conftest.er1
29801 cat conftest.err >&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } &&
29804 { ac_try='test -z "$ac_cxx_werror_flag"
29805 || test ! -s conftest.err'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29808 ac_status=$?
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; } &&
29811 { ac_try='test -s conftest$ac_exeext'
29812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813 (eval $ac_try) 2>&5
29814 ac_status=$?
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; }; then
29817 am_cv_func_iconv=yes
29818 else
29819 echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.$ac_ext >&5
29821
29822 fi
29823 rm -f conftest.err conftest.$ac_objext \
29824 conftest$ac_exeext conftest.$ac_ext
29825 if test "$am_cv_func_iconv" != yes; then
29826 am_save_LIBS="$LIBS"
29827 LIBS="$LIBS -liconv"
29828 cat >conftest.$ac_ext <<_ACEOF
29829 /* confdefs.h. */
29830 _ACEOF
29831 cat confdefs.h >>conftest.$ac_ext
29832 cat >>conftest.$ac_ext <<_ACEOF
29833 /* end confdefs.h. */
29834 #include <stdlib.h>
29835 #include <iconv.h>
29836 int
29837 main ()
29838 {
29839 iconv_t cd = iconv_open("","");
29840 iconv(cd,NULL,NULL,NULL,NULL);
29841 iconv_close(cd);
29842 ;
29843 return 0;
29844 }
29845 _ACEOF
29846 rm -f conftest.$ac_objext conftest$ac_exeext
29847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29848 (eval $ac_link) 2>conftest.er1
29849 ac_status=$?
29850 grep -v '^ *+' conftest.er1 >conftest.err
29851 rm -f conftest.er1
29852 cat conftest.err >&5
29853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29854 (exit $ac_status); } &&
29855 { ac_try='test -z "$ac_cxx_werror_flag"
29856 || test ! -s conftest.err'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; } &&
29862 { ac_try='test -s conftest$ac_exeext'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29865 ac_status=$?
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; }; then
29868 am_cv_lib_iconv=yes
29869 am_cv_func_iconv=yes
29870 else
29871 echo "$as_me: failed program was:" >&5
29872 sed 's/^/| /' conftest.$ac_ext >&5
29873
29874 fi
29875 rm -f conftest.err conftest.$ac_objext \
29876 conftest$ac_exeext conftest.$ac_ext
29877 LIBS="$am_save_LIBS"
29878 fi
29879
29880 fi
29881 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29882 echo "${ECHO_T}$am_cv_func_iconv" >&6
29883 if test "$am_cv_func_iconv" = yes; then
29884
29885 cat >>confdefs.h <<\_ACEOF
29886 #define HAVE_ICONV 1
29887 _ACEOF
29888
29889 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29890 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29891 if test "${wx_cv_func_iconv_const+set}" = set; then
29892 echo $ECHO_N "(cached) $ECHO_C" >&6
29893 else
29894 cat >conftest.$ac_ext <<_ACEOF
29895 /* confdefs.h. */
29896 _ACEOF
29897 cat confdefs.h >>conftest.$ac_ext
29898 cat >>conftest.$ac_ext <<_ACEOF
29899 /* end confdefs.h. */
29900
29901 #include <stdlib.h>
29902 #include <iconv.h>
29903 extern
29904 #ifdef __cplusplus
29905 "C"
29906 #endif
29907 #if defined(__STDC__) || defined(__cplusplus)
29908 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29909 #else
29910 size_t iconv();
29911 #endif
29912
29913 int
29914 main ()
29915 {
29916
29917 ;
29918 return 0;
29919 }
29920 _ACEOF
29921 rm -f conftest.$ac_objext
29922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29923 (eval $ac_compile) 2>conftest.er1
29924 ac_status=$?
29925 grep -v '^ *+' conftest.er1 >conftest.err
29926 rm -f conftest.er1
29927 cat conftest.err >&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); } &&
29930 { ac_try='test -z "$ac_cxx_werror_flag"
29931 || test ! -s conftest.err'
29932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29933 (eval $ac_try) 2>&5
29934 ac_status=$?
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); }; } &&
29937 { ac_try='test -s conftest.$ac_objext'
29938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29939 (eval $ac_try) 2>&5
29940 ac_status=$?
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); }; }; then
29943 wx_cv_func_iconv_const="no"
29944 else
29945 echo "$as_me: failed program was:" >&5
29946 sed 's/^/| /' conftest.$ac_ext >&5
29947
29948 wx_cv_func_iconv_const="yes"
29949
29950 fi
29951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29952
29953 fi
29954 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29955 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29956
29957 iconv_const=
29958 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29959 iconv_const="const"
29960 fi
29961
29962
29963 cat >>confdefs.h <<_ACEOF
29964 #define ICONV_CONST $iconv_const
29965 _ACEOF
29966
29967 fi
29968 LIBICONV=
29969 if test "$am_cv_lib_iconv" = yes; then
29970 LIBICONV="-liconv"
29971 fi
29972
29973
29974 LIBS="$LIBICONV $LIBS"
29975 ac_ext=c
29976 ac_cpp='$CPP $CPPFLAGS'
29977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29980
29981
29982 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29983
29984 for ac_func in sigaction
29985 do
29986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29987 echo "$as_me:$LINENO: checking for $ac_func" >&5
29988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29989 if eval "test \"\${$as_ac_var+set}\" = set"; then
29990 echo $ECHO_N "(cached) $ECHO_C" >&6
29991 else
29992 cat >conftest.$ac_ext <<_ACEOF
29993 /* confdefs.h. */
29994 _ACEOF
29995 cat confdefs.h >>conftest.$ac_ext
29996 cat >>conftest.$ac_ext <<_ACEOF
29997 /* end confdefs.h. */
29998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30000 #define $ac_func innocuous_$ac_func
30001
30002 /* System header to define __stub macros and hopefully few prototypes,
30003 which can conflict with char $ac_func (); below.
30004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30005 <limits.h> exists even on freestanding compilers. */
30006
30007 #ifdef __STDC__
30008 # include <limits.h>
30009 #else
30010 # include <assert.h>
30011 #endif
30012
30013 #undef $ac_func
30014
30015 /* Override any gcc2 internal prototype to avoid an error. */
30016 #ifdef __cplusplus
30017 extern "C"
30018 {
30019 #endif
30020 /* We use char because int might match the return type of a gcc2
30021 builtin and then its argument prototype would still apply. */
30022 char $ac_func ();
30023 /* The GNU C library defines this for functions which it implements
30024 to always fail with ENOSYS. Some functions are actually named
30025 something starting with __ and the normal name is an alias. */
30026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30027 choke me
30028 #else
30029 char (*f) () = $ac_func;
30030 #endif
30031 #ifdef __cplusplus
30032 }
30033 #endif
30034
30035 int
30036 main ()
30037 {
30038 return f != $ac_func;
30039 ;
30040 return 0;
30041 }
30042 _ACEOF
30043 rm -f conftest.$ac_objext conftest$ac_exeext
30044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30045 (eval $ac_link) 2>conftest.er1
30046 ac_status=$?
30047 grep -v '^ *+' conftest.er1 >conftest.err
30048 rm -f conftest.er1
30049 cat conftest.err >&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); } &&
30052 { ac_try='test -z "$ac_c_werror_flag"
30053 || test ! -s conftest.err'
30054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30055 (eval $ac_try) 2>&5
30056 ac_status=$?
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); }; } &&
30059 { ac_try='test -s conftest$ac_exeext'
30060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061 (eval $ac_try) 2>&5
30062 ac_status=$?
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); }; }; then
30065 eval "$as_ac_var=yes"
30066 else
30067 echo "$as_me: failed program was:" >&5
30068 sed 's/^/| /' conftest.$ac_ext >&5
30069
30070 eval "$as_ac_var=no"
30071 fi
30072 rm -f conftest.err conftest.$ac_objext \
30073 conftest$ac_exeext conftest.$ac_ext
30074 fi
30075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30077 if test `eval echo '${'$as_ac_var'}'` = yes; then
30078 cat >>confdefs.h <<_ACEOF
30079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30080 _ACEOF
30081
30082 fi
30083 done
30084
30085
30086 if test "$ac_cv_func_sigaction" = "no"; then
30087 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30088 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30089 wxUSE_ON_FATAL_EXCEPTION=no
30090 fi
30091
30092 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30093
30094
30095 ac_ext=cc
30096 ac_cpp='$CXXCPP $CPPFLAGS'
30097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30100
30101
30102 echo "$as_me:$LINENO: checking for sa_handler type" >&5
30103 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
30104 if test "${wx_cv_type_sa_handler+set}" = set; then
30105 echo $ECHO_N "(cached) $ECHO_C" >&6
30106 else
30107
30108 cat >conftest.$ac_ext <<_ACEOF
30109 /* confdefs.h. */
30110 _ACEOF
30111 cat confdefs.h >>conftest.$ac_ext
30112 cat >>conftest.$ac_ext <<_ACEOF
30113 /* end confdefs.h. */
30114 #include <signal.h>
30115 int
30116 main ()
30117 {
30118
30119 extern void testSigHandler(int);
30120
30121 struct sigaction sa;
30122 sa.sa_handler = testSigHandler;
30123
30124 ;
30125 return 0;
30126 }
30127 _ACEOF
30128 rm -f conftest.$ac_objext
30129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30130 (eval $ac_compile) 2>conftest.er1
30131 ac_status=$?
30132 grep -v '^ *+' conftest.er1 >conftest.err
30133 rm -f conftest.er1
30134 cat conftest.err >&5
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); } &&
30137 { ac_try='test -z "$ac_cxx_werror_flag"
30138 || test ! -s conftest.err'
30139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140 (eval $ac_try) 2>&5
30141 ac_status=$?
30142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143 (exit $ac_status); }; } &&
30144 { ac_try='test -s conftest.$ac_objext'
30145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146 (eval $ac_try) 2>&5
30147 ac_status=$?
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); }; }; then
30150
30151 wx_cv_type_sa_handler=int
30152
30153 else
30154 echo "$as_me: failed program was:" >&5
30155 sed 's/^/| /' conftest.$ac_ext >&5
30156
30157
30158 wx_cv_type_sa_handler=void
30159
30160 fi
30161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30162
30163 fi
30164 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
30165 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
30166
30167 ac_ext=c
30168 ac_cpp='$CPP $CPPFLAGS'
30169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30172
30173
30174 cat >>confdefs.h <<_ACEOF
30175 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30176 _ACEOF
30177
30178 fi
30179 fi
30180
30181
30182
30183 for ac_func in mkstemp mktemp
30184 do
30185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30186 echo "$as_me:$LINENO: checking for $ac_func" >&5
30187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30188 if eval "test \"\${$as_ac_var+set}\" = set"; then
30189 echo $ECHO_N "(cached) $ECHO_C" >&6
30190 else
30191 cat >conftest.$ac_ext <<_ACEOF
30192 /* confdefs.h. */
30193 _ACEOF
30194 cat confdefs.h >>conftest.$ac_ext
30195 cat >>conftest.$ac_ext <<_ACEOF
30196 /* end confdefs.h. */
30197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30199 #define $ac_func innocuous_$ac_func
30200
30201 /* System header to define __stub macros and hopefully few prototypes,
30202 which can conflict with char $ac_func (); below.
30203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30204 <limits.h> exists even on freestanding compilers. */
30205
30206 #ifdef __STDC__
30207 # include <limits.h>
30208 #else
30209 # include <assert.h>
30210 #endif
30211
30212 #undef $ac_func
30213
30214 /* Override any gcc2 internal prototype to avoid an error. */
30215 #ifdef __cplusplus
30216 extern "C"
30217 {
30218 #endif
30219 /* We use char because int might match the return type of a gcc2
30220 builtin and then its argument prototype would still apply. */
30221 char $ac_func ();
30222 /* The GNU C library defines this for functions which it implements
30223 to always fail with ENOSYS. Some functions are actually named
30224 something starting with __ and the normal name is an alias. */
30225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30226 choke me
30227 #else
30228 char (*f) () = $ac_func;
30229 #endif
30230 #ifdef __cplusplus
30231 }
30232 #endif
30233
30234 int
30235 main ()
30236 {
30237 return f != $ac_func;
30238 ;
30239 return 0;
30240 }
30241 _ACEOF
30242 rm -f conftest.$ac_objext conftest$ac_exeext
30243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30244 (eval $ac_link) 2>conftest.er1
30245 ac_status=$?
30246 grep -v '^ *+' conftest.er1 >conftest.err
30247 rm -f conftest.er1
30248 cat conftest.err >&5
30249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30250 (exit $ac_status); } &&
30251 { ac_try='test -z "$ac_c_werror_flag"
30252 || test ! -s conftest.err'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30255 ac_status=$?
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; } &&
30258 { ac_try='test -s conftest$ac_exeext'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30261 ac_status=$?
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 eval "$as_ac_var=yes"
30265 else
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30268
30269 eval "$as_ac_var=no"
30270 fi
30271 rm -f conftest.err conftest.$ac_objext \
30272 conftest$ac_exeext conftest.$ac_ext
30273 fi
30274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30276 if test `eval echo '${'$as_ac_var'}'` = yes; then
30277 cat >>confdefs.h <<_ACEOF
30278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30279 _ACEOF
30280 break
30281 fi
30282 done
30283
30284
30285 echo "$as_me:$LINENO: checking for statfs" >&5
30286 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30287 if test "${wx_cv_func_statfs+set}" = set; then
30288 echo $ECHO_N "(cached) $ECHO_C" >&6
30289 else
30290 cat >conftest.$ac_ext <<_ACEOF
30291 /* confdefs.h. */
30292 _ACEOF
30293 cat confdefs.h >>conftest.$ac_ext
30294 cat >>conftest.$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30296
30297 #if defined(__BSD__)
30298 #include <sys/param.h>
30299 #include <sys/mount.h>
30300 #else
30301 #include <sys/vfs.h>
30302 #endif
30303
30304 int
30305 main ()
30306 {
30307
30308 long l;
30309 struct statfs fs;
30310 statfs("/", &fs);
30311 l = fs.f_bsize;
30312 l += fs.f_blocks;
30313 l += fs.f_bavail;
30314
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 rm -f conftest.$ac_objext
30320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30321 (eval $ac_compile) 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } &&
30328 { ac_try='test -z "$ac_c_werror_flag"
30329 || test ! -s conftest.err'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30332 ac_status=$?
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; } &&
30335 { ac_try='test -s conftest.$ac_objext'
30336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30337 (eval $ac_try) 2>&5
30338 ac_status=$?
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); }; }; then
30341
30342 wx_cv_func_statfs=yes
30343
30344 else
30345 echo "$as_me: failed program was:" >&5
30346 sed 's/^/| /' conftest.$ac_ext >&5
30347
30348
30349 wx_cv_func_statfs=no
30350
30351
30352 fi
30353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30354
30355 fi
30356 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30357 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30358
30359 if test "$wx_cv_func_statfs" = "yes"; then
30360 wx_cv_type_statvfs_t="struct statfs"
30361 cat >>confdefs.h <<\_ACEOF
30362 #define HAVE_STATFS 1
30363 _ACEOF
30364
30365 else
30366 echo "$as_me:$LINENO: checking for statvfs" >&5
30367 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30368 if test "${wx_cv_func_statvfs+set}" = set; then
30369 echo $ECHO_N "(cached) $ECHO_C" >&6
30370 else
30371 cat >conftest.$ac_ext <<_ACEOF
30372 /* confdefs.h. */
30373 _ACEOF
30374 cat confdefs.h >>conftest.$ac_ext
30375 cat >>conftest.$ac_ext <<_ACEOF
30376 /* end confdefs.h. */
30377
30378 #include <stddef.h>
30379 #include <sys/statvfs.h>
30380
30381 int
30382 main ()
30383 {
30384
30385 statvfs("/", NULL);
30386
30387 ;
30388 return 0;
30389 }
30390 _ACEOF
30391 rm -f conftest.$ac_objext
30392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30393 (eval $ac_compile) 2>conftest.er1
30394 ac_status=$?
30395 grep -v '^ *+' conftest.er1 >conftest.err
30396 rm -f conftest.er1
30397 cat conftest.err >&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } &&
30400 { ac_try='test -z "$ac_c_werror_flag"
30401 || test ! -s conftest.err'
30402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30403 (eval $ac_try) 2>&5
30404 ac_status=$?
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); }; } &&
30407 { ac_try='test -s conftest.$ac_objext'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30410 ac_status=$?
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; }; then
30413 wx_cv_func_statvfs=yes
30414 else
30415 echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.$ac_ext >&5
30417
30418 wx_cv_func_statvfs=no
30419
30420 fi
30421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30422
30423 fi
30424 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30425 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30426
30427 if test "$wx_cv_func_statvfs" = "yes"; then
30428
30429
30430 ac_ext=cc
30431 ac_cpp='$CXXCPP $CPPFLAGS'
30432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30435
30436
30437 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30438 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30439 if test "${wx_cv_type_statvfs_t+set}" = set; then
30440 echo $ECHO_N "(cached) $ECHO_C" >&6
30441 else
30442 cat >conftest.$ac_ext <<_ACEOF
30443 /* confdefs.h. */
30444 _ACEOF
30445 cat confdefs.h >>conftest.$ac_ext
30446 cat >>conftest.$ac_ext <<_ACEOF
30447 /* end confdefs.h. */
30448
30449 #include <sys/statvfs.h>
30450
30451 int
30452 main ()
30453 {
30454
30455 long l;
30456 statvfs_t fs;
30457 statvfs("/", &fs);
30458 l = fs.f_bsize;
30459 l += fs.f_blocks;
30460 l += fs.f_bavail;
30461
30462 ;
30463 return 0;
30464 }
30465 _ACEOF
30466 rm -f conftest.$ac_objext
30467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30468 (eval $ac_compile) 2>conftest.er1
30469 ac_status=$?
30470 grep -v '^ *+' conftest.er1 >conftest.err
30471 rm -f conftest.er1
30472 cat conftest.err >&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); } &&
30475 { ac_try='test -z "$ac_cxx_werror_flag"
30476 || test ! -s conftest.err'
30477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478 (eval $ac_try) 2>&5
30479 ac_status=$?
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); }; } &&
30482 { ac_try='test -s conftest.$ac_objext'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30485 ac_status=$?
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; }; then
30488 wx_cv_type_statvfs_t=statvfs_t
30489 else
30490 echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.$ac_ext >&5
30492
30493
30494 cat >conftest.$ac_ext <<_ACEOF
30495 /* confdefs.h. */
30496 _ACEOF
30497 cat confdefs.h >>conftest.$ac_ext
30498 cat >>conftest.$ac_ext <<_ACEOF
30499 /* end confdefs.h. */
30500
30501 #include <sys/statvfs.h>
30502
30503 int
30504 main ()
30505 {
30506
30507 long l;
30508 struct statvfs fs;
30509 statvfs("/", &fs);
30510 l = fs.f_bsize;
30511 l += fs.f_blocks;
30512 l += fs.f_bavail;
30513
30514 ;
30515 return 0;
30516 }
30517 _ACEOF
30518 rm -f conftest.$ac_objext
30519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30520 (eval $ac_compile) 2>conftest.er1
30521 ac_status=$?
30522 grep -v '^ *+' conftest.er1 >conftest.err
30523 rm -f conftest.er1
30524 cat conftest.err >&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } &&
30527 { ac_try='test -z "$ac_cxx_werror_flag"
30528 || test ! -s conftest.err'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30531 ac_status=$?
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; } &&
30534 { ac_try='test -s conftest.$ac_objext'
30535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30536 (eval $ac_try) 2>&5
30537 ac_status=$?
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); }; }; then
30540 wx_cv_type_statvfs_t="struct statvfs"
30541 else
30542 echo "$as_me: failed program was:" >&5
30543 sed 's/^/| /' conftest.$ac_ext >&5
30544
30545 wx_cv_type_statvfs_t="unknown"
30546
30547 fi
30548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30549
30550
30551 fi
30552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30553
30554 fi
30555 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30556 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30557
30558 ac_ext=c
30559 ac_cpp='$CPP $CPPFLAGS'
30560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30563
30564
30565 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30566 cat >>confdefs.h <<\_ACEOF
30567 #define HAVE_STATVFS 1
30568 _ACEOF
30569
30570 fi
30571 else
30572 wx_cv_type_statvfs_t="unknown"
30573 fi
30574 fi
30575
30576 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30577 cat >>confdefs.h <<_ACEOF
30578 #define WX_STATFS_T $wx_cv_type_statvfs_t
30579 _ACEOF
30580
30581 else
30582 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30583 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30584 fi
30585
30586 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30587
30588
30589 for ac_func in fcntl flock
30590 do
30591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30592 echo "$as_me:$LINENO: checking for $ac_func" >&5
30593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30594 if eval "test \"\${$as_ac_var+set}\" = set"; then
30595 echo $ECHO_N "(cached) $ECHO_C" >&6
30596 else
30597 cat >conftest.$ac_ext <<_ACEOF
30598 /* confdefs.h. */
30599 _ACEOF
30600 cat confdefs.h >>conftest.$ac_ext
30601 cat >>conftest.$ac_ext <<_ACEOF
30602 /* end confdefs.h. */
30603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30605 #define $ac_func innocuous_$ac_func
30606
30607 /* System header to define __stub macros and hopefully few prototypes,
30608 which can conflict with char $ac_func (); below.
30609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30610 <limits.h> exists even on freestanding compilers. */
30611
30612 #ifdef __STDC__
30613 # include <limits.h>
30614 #else
30615 # include <assert.h>
30616 #endif
30617
30618 #undef $ac_func
30619
30620 /* Override any gcc2 internal prototype to avoid an error. */
30621 #ifdef __cplusplus
30622 extern "C"
30623 {
30624 #endif
30625 /* We use char because int might match the return type of a gcc2
30626 builtin and then its argument prototype would still apply. */
30627 char $ac_func ();
30628 /* The GNU C library defines this for functions which it implements
30629 to always fail with ENOSYS. Some functions are actually named
30630 something starting with __ and the normal name is an alias. */
30631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30632 choke me
30633 #else
30634 char (*f) () = $ac_func;
30635 #endif
30636 #ifdef __cplusplus
30637 }
30638 #endif
30639
30640 int
30641 main ()
30642 {
30643 return f != $ac_func;
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 rm -f conftest.$ac_objext conftest$ac_exeext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30650 (eval $ac_link) 2>conftest.er1
30651 ac_status=$?
30652 grep -v '^ *+' conftest.er1 >conftest.err
30653 rm -f conftest.er1
30654 cat conftest.err >&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } &&
30657 { ac_try='test -z "$ac_c_werror_flag"
30658 || test ! -s conftest.err'
30659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30660 (eval $ac_try) 2>&5
30661 ac_status=$?
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); }; } &&
30664 { ac_try='test -s conftest$ac_exeext'
30665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666 (eval $ac_try) 2>&5
30667 ac_status=$?
30668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669 (exit $ac_status); }; }; then
30670 eval "$as_ac_var=yes"
30671 else
30672 echo "$as_me: failed program was:" >&5
30673 sed 's/^/| /' conftest.$ac_ext >&5
30674
30675 eval "$as_ac_var=no"
30676 fi
30677 rm -f conftest.err conftest.$ac_objext \
30678 conftest$ac_exeext conftest.$ac_ext
30679 fi
30680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30682 if test `eval echo '${'$as_ac_var'}'` = yes; then
30683 cat >>confdefs.h <<_ACEOF
30684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30685 _ACEOF
30686 break
30687 fi
30688 done
30689
30690
30691 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30692 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30693 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30694 wxUSE_SNGLINST_CHECKER=no
30695 fi
30696 fi
30697
30698
30699 for ac_func in timegm
30700 do
30701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30702 echo "$as_me:$LINENO: checking for $ac_func" >&5
30703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30704 if eval "test \"\${$as_ac_var+set}\" = set"; then
30705 echo $ECHO_N "(cached) $ECHO_C" >&6
30706 else
30707 cat >conftest.$ac_ext <<_ACEOF
30708 /* confdefs.h. */
30709 _ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30715 #define $ac_func innocuous_$ac_func
30716
30717 /* System header to define __stub macros and hopefully few prototypes,
30718 which can conflict with char $ac_func (); below.
30719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30720 <limits.h> exists even on freestanding compilers. */
30721
30722 #ifdef __STDC__
30723 # include <limits.h>
30724 #else
30725 # include <assert.h>
30726 #endif
30727
30728 #undef $ac_func
30729
30730 /* Override any gcc2 internal prototype to avoid an error. */
30731 #ifdef __cplusplus
30732 extern "C"
30733 {
30734 #endif
30735 /* We use char because int might match the return type of a gcc2
30736 builtin and then its argument prototype would still apply. */
30737 char $ac_func ();
30738 /* The GNU C library defines this for functions which it implements
30739 to always fail with ENOSYS. Some functions are actually named
30740 something starting with __ and the normal name is an alias. */
30741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30742 choke me
30743 #else
30744 char (*f) () = $ac_func;
30745 #endif
30746 #ifdef __cplusplus
30747 }
30748 #endif
30749
30750 int
30751 main ()
30752 {
30753 return f != $ac_func;
30754 ;
30755 return 0;
30756 }
30757 _ACEOF
30758 rm -f conftest.$ac_objext conftest$ac_exeext
30759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30760 (eval $ac_link) 2>conftest.er1
30761 ac_status=$?
30762 grep -v '^ *+' conftest.er1 >conftest.err
30763 rm -f conftest.er1
30764 cat conftest.err >&5
30765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30766 (exit $ac_status); } &&
30767 { ac_try='test -z "$ac_c_werror_flag"
30768 || test ! -s conftest.err'
30769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30770 (eval $ac_try) 2>&5
30771 ac_status=$?
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); }; } &&
30774 { ac_try='test -s conftest$ac_exeext'
30775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30776 (eval $ac_try) 2>&5
30777 ac_status=$?
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); }; }; then
30780 eval "$as_ac_var=yes"
30781 else
30782 echo "$as_me: failed program was:" >&5
30783 sed 's/^/| /' conftest.$ac_ext >&5
30784
30785 eval "$as_ac_var=no"
30786 fi
30787 rm -f conftest.err conftest.$ac_objext \
30788 conftest$ac_exeext conftest.$ac_ext
30789 fi
30790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30792 if test `eval echo '${'$as_ac_var'}'` = yes; then
30793 cat >>confdefs.h <<_ACEOF
30794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30795 _ACEOF
30796
30797 fi
30798 done
30799
30800
30801
30802
30803 for ac_func in putenv setenv
30804 do
30805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30806 echo "$as_me:$LINENO: checking for $ac_func" >&5
30807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30808 if eval "test \"\${$as_ac_var+set}\" = set"; then
30809 echo $ECHO_N "(cached) $ECHO_C" >&6
30810 else
30811 cat >conftest.$ac_ext <<_ACEOF
30812 /* confdefs.h. */
30813 _ACEOF
30814 cat confdefs.h >>conftest.$ac_ext
30815 cat >>conftest.$ac_ext <<_ACEOF
30816 /* end confdefs.h. */
30817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30819 #define $ac_func innocuous_$ac_func
30820
30821 /* System header to define __stub macros and hopefully few prototypes,
30822 which can conflict with char $ac_func (); below.
30823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30824 <limits.h> exists even on freestanding compilers. */
30825
30826 #ifdef __STDC__
30827 # include <limits.h>
30828 #else
30829 # include <assert.h>
30830 #endif
30831
30832 #undef $ac_func
30833
30834 /* Override any gcc2 internal prototype to avoid an error. */
30835 #ifdef __cplusplus
30836 extern "C"
30837 {
30838 #endif
30839 /* We use char because int might match the return type of a gcc2
30840 builtin and then its argument prototype would still apply. */
30841 char $ac_func ();
30842 /* The GNU C library defines this for functions which it implements
30843 to always fail with ENOSYS. Some functions are actually named
30844 something starting with __ and the normal name is an alias. */
30845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30846 choke me
30847 #else
30848 char (*f) () = $ac_func;
30849 #endif
30850 #ifdef __cplusplus
30851 }
30852 #endif
30853
30854 int
30855 main ()
30856 {
30857 return f != $ac_func;
30858 ;
30859 return 0;
30860 }
30861 _ACEOF
30862 rm -f conftest.$ac_objext conftest$ac_exeext
30863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30864 (eval $ac_link) 2>conftest.er1
30865 ac_status=$?
30866 grep -v '^ *+' conftest.er1 >conftest.err
30867 rm -f conftest.er1
30868 cat conftest.err >&5
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); } &&
30871 { ac_try='test -z "$ac_c_werror_flag"
30872 || test ! -s conftest.err'
30873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30874 (eval $ac_try) 2>&5
30875 ac_status=$?
30876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30877 (exit $ac_status); }; } &&
30878 { ac_try='test -s conftest$ac_exeext'
30879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30880 (eval $ac_try) 2>&5
30881 ac_status=$?
30882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30883 (exit $ac_status); }; }; then
30884 eval "$as_ac_var=yes"
30885 else
30886 echo "$as_me: failed program was:" >&5
30887 sed 's/^/| /' conftest.$ac_ext >&5
30888
30889 eval "$as_ac_var=no"
30890 fi
30891 rm -f conftest.err conftest.$ac_objext \
30892 conftest$ac_exeext conftest.$ac_ext
30893 fi
30894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30896 if test `eval echo '${'$as_ac_var'}'` = yes; then
30897 cat >>confdefs.h <<_ACEOF
30898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30899 _ACEOF
30900 break
30901 fi
30902 done
30903
30904
30905 HAVE_SOME_SLEEP_FUNC=0
30906 if test "$USE_BEOS" = 1; then
30907 cat >>confdefs.h <<\_ACEOF
30908 #define HAVE_SLEEP 1
30909 _ACEOF
30910
30911 HAVE_SOME_SLEEP_FUNC=1
30912 fi
30913
30914 if test "$USE_DARWIN" = 1; then
30915 cat >>confdefs.h <<\_ACEOF
30916 #define HAVE_USLEEP 1
30917 _ACEOF
30918
30919 HAVE_SOME_SLEEP_FUNC=1
30920 fi
30921
30922 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30923 POSIX4_LINK=
30924
30925 for ac_func in nanosleep
30926 do
30927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30928 echo "$as_me:$LINENO: checking for $ac_func" >&5
30929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30930 if eval "test \"\${$as_ac_var+set}\" = set"; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 else
30933 cat >conftest.$ac_ext <<_ACEOF
30934 /* confdefs.h. */
30935 _ACEOF
30936 cat confdefs.h >>conftest.$ac_ext
30937 cat >>conftest.$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30941 #define $ac_func innocuous_$ac_func
30942
30943 /* System header to define __stub macros and hopefully few prototypes,
30944 which can conflict with char $ac_func (); below.
30945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30946 <limits.h> exists even on freestanding compilers. */
30947
30948 #ifdef __STDC__
30949 # include <limits.h>
30950 #else
30951 # include <assert.h>
30952 #endif
30953
30954 #undef $ac_func
30955
30956 /* Override any gcc2 internal prototype to avoid an error. */
30957 #ifdef __cplusplus
30958 extern "C"
30959 {
30960 #endif
30961 /* We use char because int might match the return type of a gcc2
30962 builtin and then its argument prototype would still apply. */
30963 char $ac_func ();
30964 /* The GNU C library defines this for functions which it implements
30965 to always fail with ENOSYS. Some functions are actually named
30966 something starting with __ and the normal name is an alias. */
30967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30968 choke me
30969 #else
30970 char (*f) () = $ac_func;
30971 #endif
30972 #ifdef __cplusplus
30973 }
30974 #endif
30975
30976 int
30977 main ()
30978 {
30979 return f != $ac_func;
30980 ;
30981 return 0;
30982 }
30983 _ACEOF
30984 rm -f conftest.$ac_objext conftest$ac_exeext
30985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30986 (eval $ac_link) 2>conftest.er1
30987 ac_status=$?
30988 grep -v '^ *+' conftest.er1 >conftest.err
30989 rm -f conftest.er1
30990 cat conftest.err >&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); } &&
30993 { ac_try='test -z "$ac_c_werror_flag"
30994 || test ! -s conftest.err'
30995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30996 (eval $ac_try) 2>&5
30997 ac_status=$?
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); }; } &&
31000 { ac_try='test -s conftest$ac_exeext'
31001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31002 (eval $ac_try) 2>&5
31003 ac_status=$?
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; }; then
31006 eval "$as_ac_var=yes"
31007 else
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.$ac_ext >&5
31010
31011 eval "$as_ac_var=no"
31012 fi
31013 rm -f conftest.err conftest.$ac_objext \
31014 conftest$ac_exeext conftest.$ac_ext
31015 fi
31016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31018 if test `eval echo '${'$as_ac_var'}'` = yes; then
31019 cat >>confdefs.h <<_ACEOF
31020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31021 _ACEOF
31022 cat >>confdefs.h <<\_ACEOF
31023 #define HAVE_NANOSLEEP 1
31024 _ACEOF
31025
31026 else
31027
31028 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
31029 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
31030 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
31031 echo $ECHO_N "(cached) $ECHO_C" >&6
31032 else
31033 ac_check_lib_save_LIBS=$LIBS
31034 LIBS="-lposix4 $LIBS"
31035 cat >conftest.$ac_ext <<_ACEOF
31036 /* confdefs.h. */
31037 _ACEOF
31038 cat confdefs.h >>conftest.$ac_ext
31039 cat >>conftest.$ac_ext <<_ACEOF
31040 /* end confdefs.h. */
31041
31042 /* Override any gcc2 internal prototype to avoid an error. */
31043 #ifdef __cplusplus
31044 extern "C"
31045 #endif
31046 /* We use char because int might match the return type of a gcc2
31047 builtin and then its argument prototype would still apply. */
31048 char nanosleep ();
31049 int
31050 main ()
31051 {
31052 nanosleep ();
31053 ;
31054 return 0;
31055 }
31056 _ACEOF
31057 rm -f conftest.$ac_objext conftest$ac_exeext
31058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31059 (eval $ac_link) 2>conftest.er1
31060 ac_status=$?
31061 grep -v '^ *+' conftest.er1 >conftest.err
31062 rm -f conftest.er1
31063 cat conftest.err >&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); } &&
31066 { ac_try='test -z "$ac_c_werror_flag"
31067 || test ! -s conftest.err'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31070 ac_status=$?
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; } &&
31073 { ac_try='test -s conftest$ac_exeext'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31076 ac_status=$?
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; }; then
31079 ac_cv_lib_posix4_nanosleep=yes
31080 else
31081 echo "$as_me: failed program was:" >&5
31082 sed 's/^/| /' conftest.$ac_ext >&5
31083
31084 ac_cv_lib_posix4_nanosleep=no
31085 fi
31086 rm -f conftest.err conftest.$ac_objext \
31087 conftest$ac_exeext conftest.$ac_ext
31088 LIBS=$ac_check_lib_save_LIBS
31089 fi
31090 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
31091 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
31092 if test $ac_cv_lib_posix4_nanosleep = yes; then
31093
31094 cat >>confdefs.h <<\_ACEOF
31095 #define HAVE_NANOSLEEP 1
31096 _ACEOF
31097
31098 POSIX4_LINK=" -lposix4"
31099
31100 else
31101
31102
31103 for ac_func in usleep
31104 do
31105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31106 echo "$as_me:$LINENO: checking for $ac_func" >&5
31107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31108 if eval "test \"\${$as_ac_var+set}\" = set"; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31111 cat >conftest.$ac_ext <<_ACEOF
31112 /* confdefs.h. */
31113 _ACEOF
31114 cat confdefs.h >>conftest.$ac_ext
31115 cat >>conftest.$ac_ext <<_ACEOF
31116 /* end confdefs.h. */
31117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31119 #define $ac_func innocuous_$ac_func
31120
31121 /* System header to define __stub macros and hopefully few prototypes,
31122 which can conflict with char $ac_func (); below.
31123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31124 <limits.h> exists even on freestanding compilers. */
31125
31126 #ifdef __STDC__
31127 # include <limits.h>
31128 #else
31129 # include <assert.h>
31130 #endif
31131
31132 #undef $ac_func
31133
31134 /* Override any gcc2 internal prototype to avoid an error. */
31135 #ifdef __cplusplus
31136 extern "C"
31137 {
31138 #endif
31139 /* We use char because int might match the return type of a gcc2
31140 builtin and then its argument prototype would still apply. */
31141 char $ac_func ();
31142 /* The GNU C library defines this for functions which it implements
31143 to always fail with ENOSYS. Some functions are actually named
31144 something starting with __ and the normal name is an alias. */
31145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31146 choke me
31147 #else
31148 char (*f) () = $ac_func;
31149 #endif
31150 #ifdef __cplusplus
31151 }
31152 #endif
31153
31154 int
31155 main ()
31156 {
31157 return f != $ac_func;
31158 ;
31159 return 0;
31160 }
31161 _ACEOF
31162 rm -f conftest.$ac_objext conftest$ac_exeext
31163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31164 (eval $ac_link) 2>conftest.er1
31165 ac_status=$?
31166 grep -v '^ *+' conftest.er1 >conftest.err
31167 rm -f conftest.er1
31168 cat conftest.err >&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); } &&
31171 { ac_try='test -z "$ac_c_werror_flag"
31172 || test ! -s conftest.err'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31175 ac_status=$?
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; } &&
31178 { ac_try='test -s conftest$ac_exeext'
31179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31180 (eval $ac_try) 2>&5
31181 ac_status=$?
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); }; }; then
31184 eval "$as_ac_var=yes"
31185 else
31186 echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.$ac_ext >&5
31188
31189 eval "$as_ac_var=no"
31190 fi
31191 rm -f conftest.err conftest.$ac_objext \
31192 conftest$ac_exeext conftest.$ac_ext
31193 fi
31194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31196 if test `eval echo '${'$as_ac_var'}'` = yes; then
31197 cat >>confdefs.h <<_ACEOF
31198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31199 _ACEOF
31200 cat >>confdefs.h <<\_ACEOF
31201 #define HAVE_USLEEP 1
31202 _ACEOF
31203
31204 else
31205 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
31206 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31207
31208 fi
31209 done
31210
31211
31212
31213 fi
31214
31215
31216
31217 fi
31218 done
31219
31220 fi
31221
31222
31223
31224 for ac_func in uname gethostname
31225 do
31226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31227 echo "$as_me:$LINENO: checking for $ac_func" >&5
31228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31229 if eval "test \"\${$as_ac_var+set}\" = set"; then
31230 echo $ECHO_N "(cached) $ECHO_C" >&6
31231 else
31232 cat >conftest.$ac_ext <<_ACEOF
31233 /* confdefs.h. */
31234 _ACEOF
31235 cat confdefs.h >>conftest.$ac_ext
31236 cat >>conftest.$ac_ext <<_ACEOF
31237 /* end confdefs.h. */
31238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31240 #define $ac_func innocuous_$ac_func
31241
31242 /* System header to define __stub macros and hopefully few prototypes,
31243 which can conflict with char $ac_func (); below.
31244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31245 <limits.h> exists even on freestanding compilers. */
31246
31247 #ifdef __STDC__
31248 # include <limits.h>
31249 #else
31250 # include <assert.h>
31251 #endif
31252
31253 #undef $ac_func
31254
31255 /* Override any gcc2 internal prototype to avoid an error. */
31256 #ifdef __cplusplus
31257 extern "C"
31258 {
31259 #endif
31260 /* We use char because int might match the return type of a gcc2
31261 builtin and then its argument prototype would still apply. */
31262 char $ac_func ();
31263 /* The GNU C library defines this for functions which it implements
31264 to always fail with ENOSYS. Some functions are actually named
31265 something starting with __ and the normal name is an alias. */
31266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31267 choke me
31268 #else
31269 char (*f) () = $ac_func;
31270 #endif
31271 #ifdef __cplusplus
31272 }
31273 #endif
31274
31275 int
31276 main ()
31277 {
31278 return f != $ac_func;
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"
31293 || test ! -s conftest.err'
31294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31295 (eval $ac_try) 2>&5
31296 ac_status=$?
31297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31298 (exit $ac_status); }; } &&
31299 { ac_try='test -s conftest$ac_exeext'
31300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31301 (eval $ac_try) 2>&5
31302 ac_status=$?
31303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31304 (exit $ac_status); }; }; then
31305 eval "$as_ac_var=yes"
31306 else
31307 echo "$as_me: failed program was:" >&5
31308 sed 's/^/| /' conftest.$ac_ext >&5
31309
31310 eval "$as_ac_var=no"
31311 fi
31312 rm -f conftest.err conftest.$ac_objext \
31313 conftest$ac_exeext conftest.$ac_ext
31314 fi
31315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31317 if test `eval echo '${'$as_ac_var'}'` = yes; then
31318 cat >>confdefs.h <<_ACEOF
31319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31320 _ACEOF
31321 break
31322 fi
31323 done
31324
31325
31326
31327
31328 ac_ext=cc
31329 ac_cpp='$CXXCPP $CPPFLAGS'
31330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31333
31334
31335
31336 for ac_func in strtok_r
31337 do
31338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31339 echo "$as_me:$LINENO: checking for $ac_func" >&5
31340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31341 if eval "test \"\${$as_ac_var+set}\" = set"; then
31342 echo $ECHO_N "(cached) $ECHO_C" >&6
31343 else
31344 cat >conftest.$ac_ext <<_ACEOF
31345 /* confdefs.h. */
31346 _ACEOF
31347 cat confdefs.h >>conftest.$ac_ext
31348 cat >>conftest.$ac_ext <<_ACEOF
31349 /* end confdefs.h. */
31350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31352 #define $ac_func innocuous_$ac_func
31353
31354 /* System header to define __stub macros and hopefully few prototypes,
31355 which can conflict with char $ac_func (); below.
31356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31357 <limits.h> exists even on freestanding compilers. */
31358
31359 #ifdef __STDC__
31360 # include <limits.h>
31361 #else
31362 # include <assert.h>
31363 #endif
31364
31365 #undef $ac_func
31366
31367 /* Override any gcc2 internal prototype to avoid an error. */
31368 #ifdef __cplusplus
31369 extern "C"
31370 {
31371 #endif
31372 /* We use char because int might match the return type of a gcc2
31373 builtin and then its argument prototype would still apply. */
31374 char $ac_func ();
31375 /* The GNU C library defines this for functions which it implements
31376 to always fail with ENOSYS. Some functions are actually named
31377 something starting with __ and the normal name is an alias. */
31378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31379 choke me
31380 #else
31381 char (*f) () = $ac_func;
31382 #endif
31383 #ifdef __cplusplus
31384 }
31385 #endif
31386
31387 int
31388 main ()
31389 {
31390 return f != $ac_func;
31391 ;
31392 return 0;
31393 }
31394 _ACEOF
31395 rm -f conftest.$ac_objext conftest$ac_exeext
31396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31397 (eval $ac_link) 2>conftest.er1
31398 ac_status=$?
31399 grep -v '^ *+' conftest.er1 >conftest.err
31400 rm -f conftest.er1
31401 cat conftest.err >&5
31402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31403 (exit $ac_status); } &&
31404 { ac_try='test -z "$ac_cxx_werror_flag"
31405 || test ! -s conftest.err'
31406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31407 (eval $ac_try) 2>&5
31408 ac_status=$?
31409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410 (exit $ac_status); }; } &&
31411 { ac_try='test -s conftest$ac_exeext'
31412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31413 (eval $ac_try) 2>&5
31414 ac_status=$?
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; }; then
31417 eval "$as_ac_var=yes"
31418 else
31419 echo "$as_me: failed program was:" >&5
31420 sed 's/^/| /' conftest.$ac_ext >&5
31421
31422 eval "$as_ac_var=no"
31423 fi
31424 rm -f conftest.err conftest.$ac_objext \
31425 conftest$ac_exeext conftest.$ac_ext
31426 fi
31427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31429 if test `eval echo '${'$as_ac_var'}'` = yes; then
31430 cat >>confdefs.h <<_ACEOF
31431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31432 _ACEOF
31433
31434 fi
31435 done
31436
31437
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31443
31444
31445 INET_LINK=
31446
31447 for ac_func in inet_addr
31448 do
31449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31450 echo "$as_me:$LINENO: checking for $ac_func" >&5
31451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31452 if eval "test \"\${$as_ac_var+set}\" = set"; then
31453 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 else
31455 cat >conftest.$ac_ext <<_ACEOF
31456 /* confdefs.h. */
31457 _ACEOF
31458 cat confdefs.h >>conftest.$ac_ext
31459 cat >>conftest.$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31463 #define $ac_func innocuous_$ac_func
31464
31465 /* System header to define __stub macros and hopefully few prototypes,
31466 which can conflict with char $ac_func (); below.
31467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31468 <limits.h> exists even on freestanding compilers. */
31469
31470 #ifdef __STDC__
31471 # include <limits.h>
31472 #else
31473 # include <assert.h>
31474 #endif
31475
31476 #undef $ac_func
31477
31478 /* Override any gcc2 internal prototype to avoid an error. */
31479 #ifdef __cplusplus
31480 extern "C"
31481 {
31482 #endif
31483 /* We use char because int might match the return type of a gcc2
31484 builtin and then its argument prototype would still apply. */
31485 char $ac_func ();
31486 /* The GNU C library defines this for functions which it implements
31487 to always fail with ENOSYS. Some functions are actually named
31488 something starting with __ and the normal name is an alias. */
31489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31490 choke me
31491 #else
31492 char (*f) () = $ac_func;
31493 #endif
31494 #ifdef __cplusplus
31495 }
31496 #endif
31497
31498 int
31499 main ()
31500 {
31501 return f != $ac_func;
31502 ;
31503 return 0;
31504 }
31505 _ACEOF
31506 rm -f conftest.$ac_objext conftest$ac_exeext
31507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31508 (eval $ac_link) 2>conftest.er1
31509 ac_status=$?
31510 grep -v '^ *+' conftest.er1 >conftest.err
31511 rm -f conftest.er1
31512 cat conftest.err >&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); } &&
31515 { ac_try='test -z "$ac_c_werror_flag"
31516 || test ! -s conftest.err'
31517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31518 (eval $ac_try) 2>&5
31519 ac_status=$?
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); }; } &&
31522 { ac_try='test -s conftest$ac_exeext'
31523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31524 (eval $ac_try) 2>&5
31525 ac_status=$?
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); }; }; then
31528 eval "$as_ac_var=yes"
31529 else
31530 echo "$as_me: failed program was:" >&5
31531 sed 's/^/| /' conftest.$ac_ext >&5
31532
31533 eval "$as_ac_var=no"
31534 fi
31535 rm -f conftest.err conftest.$ac_objext \
31536 conftest$ac_exeext conftest.$ac_ext
31537 fi
31538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31540 if test `eval echo '${'$as_ac_var'}'` = yes; then
31541 cat >>confdefs.h <<_ACEOF
31542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31543 _ACEOF
31544 cat >>confdefs.h <<\_ACEOF
31545 #define HAVE_INET_ADDR 1
31546 _ACEOF
31547
31548 else
31549
31550 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31551 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31552 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31554 else
31555 ac_check_lib_save_LIBS=$LIBS
31556 LIBS="-lnsl $LIBS"
31557 cat >conftest.$ac_ext <<_ACEOF
31558 /* confdefs.h. */
31559 _ACEOF
31560 cat confdefs.h >>conftest.$ac_ext
31561 cat >>conftest.$ac_ext <<_ACEOF
31562 /* end confdefs.h. */
31563
31564 /* Override any gcc2 internal prototype to avoid an error. */
31565 #ifdef __cplusplus
31566 extern "C"
31567 #endif
31568 /* We use char because int might match the return type of a gcc2
31569 builtin and then its argument prototype would still apply. */
31570 char inet_addr ();
31571 int
31572 main ()
31573 {
31574 inet_addr ();
31575 ;
31576 return 0;
31577 }
31578 _ACEOF
31579 rm -f conftest.$ac_objext conftest$ac_exeext
31580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31581 (eval $ac_link) 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } &&
31588 { ac_try='test -z "$ac_c_werror_flag"
31589 || test ! -s conftest.err'
31590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 (eval $ac_try) 2>&5
31592 ac_status=$?
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); }; } &&
31595 { ac_try='test -s conftest$ac_exeext'
31596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31597 (eval $ac_try) 2>&5
31598 ac_status=$?
31599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31600 (exit $ac_status); }; }; then
31601 ac_cv_lib_nsl_inet_addr=yes
31602 else
31603 echo "$as_me: failed program was:" >&5
31604 sed 's/^/| /' conftest.$ac_ext >&5
31605
31606 ac_cv_lib_nsl_inet_addr=no
31607 fi
31608 rm -f conftest.err conftest.$ac_objext \
31609 conftest$ac_exeext conftest.$ac_ext
31610 LIBS=$ac_check_lib_save_LIBS
31611 fi
31612 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31613 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31614 if test $ac_cv_lib_nsl_inet_addr = yes; then
31615 INET_LINK="nsl"
31616 else
31617
31618 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31619 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31620 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31621 echo $ECHO_N "(cached) $ECHO_C" >&6
31622 else
31623 ac_check_lib_save_LIBS=$LIBS
31624 LIBS="-lresolv $LIBS"
31625 cat >conftest.$ac_ext <<_ACEOF
31626 /* confdefs.h. */
31627 _ACEOF
31628 cat confdefs.h >>conftest.$ac_ext
31629 cat >>conftest.$ac_ext <<_ACEOF
31630 /* end confdefs.h. */
31631
31632 /* Override any gcc2 internal prototype to avoid an error. */
31633 #ifdef __cplusplus
31634 extern "C"
31635 #endif
31636 /* We use char because int might match the return type of a gcc2
31637 builtin and then its argument prototype would still apply. */
31638 char inet_addr ();
31639 int
31640 main ()
31641 {
31642 inet_addr ();
31643 ;
31644 return 0;
31645 }
31646 _ACEOF
31647 rm -f conftest.$ac_objext conftest$ac_exeext
31648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31649 (eval $ac_link) 2>conftest.er1
31650 ac_status=$?
31651 grep -v '^ *+' conftest.er1 >conftest.err
31652 rm -f conftest.er1
31653 cat conftest.err >&5
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); } &&
31656 { ac_try='test -z "$ac_c_werror_flag"
31657 || test ! -s conftest.err'
31658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659 (eval $ac_try) 2>&5
31660 ac_status=$?
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; } &&
31663 { ac_try='test -s conftest$ac_exeext'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31666 ac_status=$?
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; }; then
31669 ac_cv_lib_resolv_inet_addr=yes
31670 else
31671 echo "$as_me: failed program was:" >&5
31672 sed 's/^/| /' conftest.$ac_ext >&5
31673
31674 ac_cv_lib_resolv_inet_addr=no
31675 fi
31676 rm -f conftest.err conftest.$ac_objext \
31677 conftest$ac_exeext conftest.$ac_ext
31678 LIBS=$ac_check_lib_save_LIBS
31679 fi
31680 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31681 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31682 if test $ac_cv_lib_resolv_inet_addr = yes; then
31683 INET_LINK="resolv"
31684 else
31685
31686 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31687 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31688 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31690 else
31691 ac_check_lib_save_LIBS=$LIBS
31692 LIBS="-lsocket $LIBS"
31693 cat >conftest.$ac_ext <<_ACEOF
31694 /* confdefs.h. */
31695 _ACEOF
31696 cat confdefs.h >>conftest.$ac_ext
31697 cat >>conftest.$ac_ext <<_ACEOF
31698 /* end confdefs.h. */
31699
31700 /* Override any gcc2 internal prototype to avoid an error. */
31701 #ifdef __cplusplus
31702 extern "C"
31703 #endif
31704 /* We use char because int might match the return type of a gcc2
31705 builtin and then its argument prototype would still apply. */
31706 char inet_addr ();
31707 int
31708 main ()
31709 {
31710 inet_addr ();
31711 ;
31712 return 0;
31713 }
31714 _ACEOF
31715 rm -f conftest.$ac_objext conftest$ac_exeext
31716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31717 (eval $ac_link) 2>conftest.er1
31718 ac_status=$?
31719 grep -v '^ *+' conftest.er1 >conftest.err
31720 rm -f conftest.er1
31721 cat conftest.err >&5
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); } &&
31724 { ac_try='test -z "$ac_c_werror_flag"
31725 || test ! -s conftest.err'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; } &&
31731 { ac_try='test -s conftest$ac_exeext'
31732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31733 (eval $ac_try) 2>&5
31734 ac_status=$?
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); }; }; then
31737 ac_cv_lib_socket_inet_addr=yes
31738 else
31739 echo "$as_me: failed program was:" >&5
31740 sed 's/^/| /' conftest.$ac_ext >&5
31741
31742 ac_cv_lib_socket_inet_addr=no
31743 fi
31744 rm -f conftest.err conftest.$ac_objext \
31745 conftest$ac_exeext conftest.$ac_ext
31746 LIBS=$ac_check_lib_save_LIBS
31747 fi
31748 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31749 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31750 if test $ac_cv_lib_socket_inet_addr = yes; then
31751 INET_LINK="socket"
31752
31753 fi
31754
31755
31756
31757 fi
31758
31759
31760
31761 fi
31762
31763
31764
31765 fi
31766 done
31767
31768
31769
31770 for ac_func in inet_aton
31771 do
31772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31773 echo "$as_me:$LINENO: checking for $ac_func" >&5
31774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31775 if eval "test \"\${$as_ac_var+set}\" = set"; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 else
31778 cat >conftest.$ac_ext <<_ACEOF
31779 /* confdefs.h. */
31780 _ACEOF
31781 cat confdefs.h >>conftest.$ac_ext
31782 cat >>conftest.$ac_ext <<_ACEOF
31783 /* end confdefs.h. */
31784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31786 #define $ac_func innocuous_$ac_func
31787
31788 /* System header to define __stub macros and hopefully few prototypes,
31789 which can conflict with char $ac_func (); below.
31790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31791 <limits.h> exists even on freestanding compilers. */
31792
31793 #ifdef __STDC__
31794 # include <limits.h>
31795 #else
31796 # include <assert.h>
31797 #endif
31798
31799 #undef $ac_func
31800
31801 /* Override any gcc2 internal prototype to avoid an error. */
31802 #ifdef __cplusplus
31803 extern "C"
31804 {
31805 #endif
31806 /* We use char because int might match the return type of a gcc2
31807 builtin and then its argument prototype would still apply. */
31808 char $ac_func ();
31809 /* The GNU C library defines this for functions which it implements
31810 to always fail with ENOSYS. Some functions are actually named
31811 something starting with __ and the normal name is an alias. */
31812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31813 choke me
31814 #else
31815 char (*f) () = $ac_func;
31816 #endif
31817 #ifdef __cplusplus
31818 }
31819 #endif
31820
31821 int
31822 main ()
31823 {
31824 return f != $ac_func;
31825 ;
31826 return 0;
31827 }
31828 _ACEOF
31829 rm -f conftest.$ac_objext conftest$ac_exeext
31830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31831 (eval $ac_link) 2>conftest.er1
31832 ac_status=$?
31833 grep -v '^ *+' conftest.er1 >conftest.err
31834 rm -f conftest.er1
31835 cat conftest.err >&5
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); } &&
31838 { ac_try='test -z "$ac_c_werror_flag"
31839 || test ! -s conftest.err'
31840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31841 (eval $ac_try) 2>&5
31842 ac_status=$?
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); }; } &&
31845 { ac_try='test -s conftest$ac_exeext'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31848 ac_status=$?
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; }; then
31851 eval "$as_ac_var=yes"
31852 else
31853 echo "$as_me: failed program was:" >&5
31854 sed 's/^/| /' conftest.$ac_ext >&5
31855
31856 eval "$as_ac_var=no"
31857 fi
31858 rm -f conftest.err conftest.$ac_objext \
31859 conftest$ac_exeext conftest.$ac_ext
31860 fi
31861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31863 if test `eval echo '${'$as_ac_var'}'` = yes; then
31864 cat >>confdefs.h <<_ACEOF
31865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31866 _ACEOF
31867 cat >>confdefs.h <<\_ACEOF
31868 #define HAVE_INET_ATON 1
31869 _ACEOF
31870
31871 else
31872
31873 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31874 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31875 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31876 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31877 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 else
31879 ac_check_lib_save_LIBS=$LIBS
31880 LIBS="-l$INET_LINK $LIBS"
31881 cat >conftest.$ac_ext <<_ACEOF
31882 /* confdefs.h. */
31883 _ACEOF
31884 cat confdefs.h >>conftest.$ac_ext
31885 cat >>conftest.$ac_ext <<_ACEOF
31886 /* end confdefs.h. */
31887
31888 /* Override any gcc2 internal prototype to avoid an error. */
31889 #ifdef __cplusplus
31890 extern "C"
31891 #endif
31892 /* We use char because int might match the return type of a gcc2
31893 builtin and then its argument prototype would still apply. */
31894 char inet_aton ();
31895 int
31896 main ()
31897 {
31898 inet_aton ();
31899 ;
31900 return 0;
31901 }
31902 _ACEOF
31903 rm -f conftest.$ac_objext conftest$ac_exeext
31904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31905 (eval $ac_link) 2>conftest.er1
31906 ac_status=$?
31907 grep -v '^ *+' conftest.er1 >conftest.err
31908 rm -f conftest.er1
31909 cat conftest.err >&5
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); } &&
31912 { ac_try='test -z "$ac_c_werror_flag"
31913 || test ! -s conftest.err'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31916 ac_status=$?
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; } &&
31919 { ac_try='test -s conftest$ac_exeext'
31920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31921 (eval $ac_try) 2>&5
31922 ac_status=$?
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); }; }; then
31925 eval "$as_ac_Lib=yes"
31926 else
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.$ac_ext >&5
31929
31930 eval "$as_ac_Lib=no"
31931 fi
31932 rm -f conftest.err conftest.$ac_objext \
31933 conftest$ac_exeext conftest.$ac_ext
31934 LIBS=$ac_check_lib_save_LIBS
31935 fi
31936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31937 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31938 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31939 cat >>confdefs.h <<\_ACEOF
31940 #define HAVE_INET_ATON 1
31941 _ACEOF
31942
31943 fi
31944
31945
31946 fi
31947 done
31948
31949
31950 if test "x$INET_LINK" != "x"; then
31951 cat >>confdefs.h <<\_ACEOF
31952 #define HAVE_INET_ADDR 1
31953 _ACEOF
31954
31955 INET_LINK=" -l$INET_LINK"
31956 fi
31957
31958 fi
31959
31960
31961
31962 EXTRALIBS_ESD=
31963 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31964 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31965 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31966 echo $ECHO_N "(cached) $ECHO_C" >&6
31967 else
31968 ac_check_lib_save_LIBS=$LIBS
31969 LIBS="-lesd $LIBS"
31970 cat >conftest.$ac_ext <<_ACEOF
31971 /* confdefs.h. */
31972 _ACEOF
31973 cat confdefs.h >>conftest.$ac_ext
31974 cat >>conftest.$ac_ext <<_ACEOF
31975 /* end confdefs.h. */
31976
31977 /* Override any gcc2 internal prototype to avoid an error. */
31978 #ifdef __cplusplus
31979 extern "C"
31980 #endif
31981 /* We use char because int might match the return type of a gcc2
31982 builtin and then its argument prototype would still apply. */
31983 char esd_close ();
31984 int
31985 main ()
31986 {
31987 esd_close ();
31988 ;
31989 return 0;
31990 }
31991 _ACEOF
31992 rm -f conftest.$ac_objext conftest$ac_exeext
31993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31994 (eval $ac_link) 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } &&
32001 { ac_try='test -z "$ac_c_werror_flag"
32002 || test ! -s conftest.err'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32005 ac_status=$?
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; } &&
32008 { ac_try='test -s conftest$ac_exeext'
32009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32010 (eval $ac_try) 2>&5
32011 ac_status=$?
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); }; }; then
32014 ac_cv_lib_esd_esd_close=yes
32015 else
32016 echo "$as_me: failed program was:" >&5
32017 sed 's/^/| /' conftest.$ac_ext >&5
32018
32019 ac_cv_lib_esd_esd_close=no
32020 fi
32021 rm -f conftest.err conftest.$ac_objext \
32022 conftest$ac_exeext conftest.$ac_ext
32023 LIBS=$ac_check_lib_save_LIBS
32024 fi
32025 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
32026 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
32027 if test $ac_cv_lib_esd_esd_close = yes; then
32028
32029
32030 for ac_header in esd.h
32031 do
32032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32034 echo "$as_me:$LINENO: checking for $ac_header" >&5
32035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32037 echo $ECHO_N "(cached) $ECHO_C" >&6
32038 fi
32039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32041 else
32042 # Is the header compilable?
32043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32045 cat >conftest.$ac_ext <<_ACEOF
32046 /* confdefs.h. */
32047 _ACEOF
32048 cat confdefs.h >>conftest.$ac_ext
32049 cat >>conftest.$ac_ext <<_ACEOF
32050 /* end confdefs.h. */
32051 $ac_includes_default
32052 #include <$ac_header>
32053 _ACEOF
32054 rm -f conftest.$ac_objext
32055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32056 (eval $ac_compile) 2>conftest.er1
32057 ac_status=$?
32058 grep -v '^ *+' conftest.er1 >conftest.err
32059 rm -f conftest.er1
32060 cat conftest.err >&5
32061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32062 (exit $ac_status); } &&
32063 { ac_try='test -z "$ac_c_werror_flag"
32064 || test ! -s conftest.err'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32067 ac_status=$?
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; } &&
32070 { ac_try='test -s conftest.$ac_objext'
32071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32072 (eval $ac_try) 2>&5
32073 ac_status=$?
32074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32075 (exit $ac_status); }; }; then
32076 ac_header_compiler=yes
32077 else
32078 echo "$as_me: failed program was:" >&5
32079 sed 's/^/| /' conftest.$ac_ext >&5
32080
32081 ac_header_compiler=no
32082 fi
32083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32085 echo "${ECHO_T}$ac_header_compiler" >&6
32086
32087 # Is the header present?
32088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096 #include <$ac_header>
32097 _ACEOF
32098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32100 ac_status=$?
32101 grep -v '^ *+' conftest.er1 >conftest.err
32102 rm -f conftest.er1
32103 cat conftest.err >&5
32104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105 (exit $ac_status); } >/dev/null; then
32106 if test -s conftest.err; then
32107 ac_cpp_err=$ac_c_preproc_warn_flag
32108 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32109 else
32110 ac_cpp_err=
32111 fi
32112 else
32113 ac_cpp_err=yes
32114 fi
32115 if test -z "$ac_cpp_err"; then
32116 ac_header_preproc=yes
32117 else
32118 echo "$as_me: failed program was:" >&5
32119 sed 's/^/| /' conftest.$ac_ext >&5
32120
32121 ac_header_preproc=no
32122 fi
32123 rm -f conftest.err conftest.$ac_ext
32124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32125 echo "${ECHO_T}$ac_header_preproc" >&6
32126
32127 # So? What about this header?
32128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32129 yes:no: )
32130 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32131 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32133 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32134 ac_header_preproc=yes
32135 ;;
32136 no:yes:* )
32137 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32139 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32140 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32141 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32142 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32143 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32144 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32149 (
32150 cat <<\_ASBOX
32151 ## ----------------------------------------- ##
32152 ## Report this to wx-dev@lists.wxwidgets.org ##
32153 ## ----------------------------------------- ##
32154 _ASBOX
32155 ) |
32156 sed "s/^/$as_me: WARNING: /" >&2
32157 ;;
32158 esac
32159 echo "$as_me:$LINENO: checking for $ac_header" >&5
32160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32162 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 else
32164 eval "$as_ac_Header=\$ac_header_preproc"
32165 fi
32166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32168
32169 fi
32170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32171 cat >>confdefs.h <<_ACEOF
32172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32173 _ACEOF
32174
32175 EXTRALIBS_ESD="-lesd"
32176
32177 fi
32178
32179 done
32180
32181
32182 fi
32183
32184
32185
32186 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
32187 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
32188 cat >conftest.$ac_ext <<_ACEOF
32189 /* confdefs.h. */
32190 _ACEOF
32191 cat confdefs.h >>conftest.$ac_ext
32192 cat >>conftest.$ac_ext <<_ACEOF
32193 /* end confdefs.h. */
32194 #ifdef __linux__
32195 #include <linux/cdrom.h>
32196 #else
32197 /* For Solaris */
32198 #include <sys/cdio.h>
32199 #endif
32200
32201 int
32202 main ()
32203 {
32204 struct cdrom_tocentry entry, old_entry;
32205 ;
32206 return 0;
32207 }
32208 _ACEOF
32209 rm -f conftest.$ac_objext
32210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32211 (eval $ac_compile) 2>conftest.er1
32212 ac_status=$?
32213 grep -v '^ *+' conftest.er1 >conftest.err
32214 rm -f conftest.er1
32215 cat conftest.err >&5
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); } &&
32218 { ac_try='test -z "$ac_c_werror_flag"
32219 || test ! -s conftest.err'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; } &&
32225 { ac_try='test -s conftest.$ac_objext'
32226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32227 (eval $ac_try) 2>&5
32228 ac_status=$?
32229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32230 (exit $ac_status); }; }; then
32231 echo "$as_me:$LINENO: result: yes" >&5
32232 echo "${ECHO_T}yes" >&6
32233 cat >>confdefs.h <<\_ACEOF
32234 #define HAVE_KNOWN_CDROM_INTERFACE 1
32235 _ACEOF
32236
32237 else
32238 echo "$as_me: failed program was:" >&5
32239 sed 's/^/| /' conftest.$ac_ext >&5
32240
32241 echo "$as_me:$LINENO: result: no" >&5
32242 echo "${ECHO_T}no" >&6
32243 fi
32244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32245
32246
32247 cat >confcache <<\_ACEOF
32248 # This file is a shell script that caches the results of configure
32249 # tests run on this system so they can be shared between configure
32250 # scripts and configure runs, see configure's option --config-cache.
32251 # It is not useful on other systems. If it contains results you don't
32252 # want to keep, you may remove or edit it.
32253 #
32254 # config.status only pays attention to the cache file if you give it
32255 # the --recheck option to rerun configure.
32256 #
32257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32259 # following values.
32260
32261 _ACEOF
32262
32263 # The following way of writing the cache mishandles newlines in values,
32264 # but we know of no workaround that is simple, portable, and efficient.
32265 # So, don't put newlines in cache variables' values.
32266 # Ultrix sh set writes to stderr and can't be redirected directly,
32267 # and sets the high bit in the cache file unless we assign to the vars.
32268 {
32269 (set) 2>&1 |
32270 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32271 *ac_space=\ *)
32272 # `set' does not quote correctly, so add quotes (double-quote
32273 # substitution turns \\\\ into \\, and sed turns \\ into \).
32274 sed -n \
32275 "s/'/'\\\\''/g;
32276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32277 ;;
32278 *)
32279 # `set' quotes correctly as required by POSIX, so do not add quotes.
32280 sed -n \
32281 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32282 ;;
32283 esac;
32284 } |
32285 sed '
32286 t clear
32287 : clear
32288 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32289 t end
32290 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32291 : end' >>confcache
32292 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32293 if test -w $cache_file; then
32294 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32295 cat confcache >$cache_file
32296 else
32297 echo "not updating unwritable cache $cache_file"
32298 fi
32299 fi
32300 rm -f confcache
32301
32302
32303 CPP_MT_FLAG=
32304 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32305
32306
32307 THREADS_LINK=
32308 THREADS_CFLAGS=
32309
32310 if test "$wxUSE_THREADS" = "yes" ; then
32311 if test "$USE_BEOS" = 1; then
32312 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32313 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32314 wxUSE_THREADS="no"
32315 fi
32316 fi
32317
32318 if test "$wxUSE_THREADS" = "yes" ; then
32319
32320
32321 THREAD_OPTS="-pthread"
32322 case "${host}" in
32323 *-*-solaris2* | *-*-sunos4* )
32324 if test "x$GCC" = "xyes"; then
32325 THREAD_OPTS="-pthreads $THREAD_OPTS"
32326 else
32327 THREAD_OPTS="-mt $THREAD_OPTS"
32328 fi
32329 ;;
32330 *-*-freebsd*)
32331 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32332 ;;
32333 *-*-darwin* | *-*-cygwin* )
32334 THREAD_OPTS=""
32335 ;;
32336 *-*-aix*)
32337 THREAD_OPTS="pthreads"
32338 ;;
32339 *-hp-hpux* )
32340 if test "x$GCC" != "xyes"; then
32341 THREAD_OPTS=""
32342 fi
32343 ;;
32344
32345 *-*-irix* )
32346 if test "x$GCC" = "xyes"; then
32347 THREAD_OPTS=""
32348 fi
32349 ;;
32350
32351 *-*-*UnixWare*)
32352 if test "x$GCC" != "xyes"; then
32353 THREAD_OPTS="-Ethread"
32354 fi
32355 ;;
32356 esac
32357
32358 THREAD_OPTS="$THREAD_OPTS pthread none"
32359
32360 THREADS_OK=no
32361 for flag in $THREAD_OPTS; do
32362 case $flag in
32363 none)
32364 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32365 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32366 ;;
32367
32368 -*)
32369 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32370 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32371 THREADS_CFLAGS="$flag"
32372 ;;
32373
32374 *)
32375 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32376 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32377 THREADS_LINK="-l$flag"
32378 ;;
32379 esac
32380
32381 save_LIBS="$LIBS"
32382 save_CFLAGS="$CFLAGS"
32383 LIBS="$THREADS_LINK $LIBS"
32384 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32385
32386 cat >conftest.$ac_ext <<_ACEOF
32387 /* confdefs.h. */
32388 _ACEOF
32389 cat confdefs.h >>conftest.$ac_ext
32390 cat >>conftest.$ac_ext <<_ACEOF
32391 /* end confdefs.h. */
32392 #include <pthread.h>
32393 int
32394 main ()
32395 {
32396 pthread_create(0,0,0,0);
32397 ;
32398 return 0;
32399 }
32400 _ACEOF
32401 rm -f conftest.$ac_objext conftest$ac_exeext
32402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32403 (eval $ac_link) 2>conftest.er1
32404 ac_status=$?
32405 grep -v '^ *+' conftest.er1 >conftest.err
32406 rm -f conftest.er1
32407 cat conftest.err >&5
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); } &&
32410 { ac_try='test -z "$ac_c_werror_flag"
32411 || test ! -s conftest.err'
32412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32413 (eval $ac_try) 2>&5
32414 ac_status=$?
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; } &&
32417 { ac_try='test -s conftest$ac_exeext'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32420 ac_status=$?
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; }; then
32423 THREADS_OK=yes
32424 else
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.$ac_ext >&5
32427
32428 fi
32429 rm -f conftest.err conftest.$ac_objext \
32430 conftest$ac_exeext conftest.$ac_ext
32431
32432 LIBS="$save_LIBS"
32433 CFLAGS="$save_CFLAGS"
32434
32435 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32436 echo "${ECHO_T}$THREADS_OK" >&6
32437 if test "x$THREADS_OK" = "xyes"; then
32438 break;
32439 fi
32440
32441 THREADS_LINK=""
32442 THREADS_CFLAGS=""
32443 done
32444
32445 if test "x$THREADS_OK" != "xyes"; then
32446 wxUSE_THREADS=no
32447 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32448 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32449 else
32450 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32451 LIBS="$THREADS_LINK $LIBS"
32452
32453 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32454 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32455 flag=no
32456 case "${host}" in
32457 *-aix*)
32458 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32459 flag="-D_THREAD_SAFE"
32460 ;;
32461 *-freebsd*)
32462 flag="-D_THREAD_SAFE"
32463 ;;
32464 *-hp-hpux* )
32465 flag="-D_REENTRANT"
32466 if test "x$GCC" != "xyes"; then
32467 flag="$flag -D_RWSTD_MULTI_THREAD"
32468
32469 LIBS="$LIBS -lcma"
32470 fi
32471 ;;
32472 *solaris* | alpha*-osf*)
32473 flag="-D_REENTRANT"
32474 ;;
32475 esac
32476 echo "$as_me:$LINENO: result: ${flag}" >&5
32477 echo "${ECHO_T}${flag}" >&6
32478 if test "x$flag" != xno; then
32479 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32480 fi
32481
32482 if test "x$THREADS_CFLAGS" != "x"; then
32483 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32484 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32485 fi
32486 fi
32487 fi
32488
32489 if test "$wxUSE_THREADS" = "yes" ; then
32490
32491 for ac_func in thr_setconcurrency
32492 do
32493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32494 echo "$as_me:$LINENO: checking for $ac_func" >&5
32495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32496 if eval "test \"\${$as_ac_var+set}\" = set"; then
32497 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 else
32499 cat >conftest.$ac_ext <<_ACEOF
32500 /* confdefs.h. */
32501 _ACEOF
32502 cat confdefs.h >>conftest.$ac_ext
32503 cat >>conftest.$ac_ext <<_ACEOF
32504 /* end confdefs.h. */
32505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32507 #define $ac_func innocuous_$ac_func
32508
32509 /* System header to define __stub macros and hopefully few prototypes,
32510 which can conflict with char $ac_func (); below.
32511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32512 <limits.h> exists even on freestanding compilers. */
32513
32514 #ifdef __STDC__
32515 # include <limits.h>
32516 #else
32517 # include <assert.h>
32518 #endif
32519
32520 #undef $ac_func
32521
32522 /* Override any gcc2 internal prototype to avoid an error. */
32523 #ifdef __cplusplus
32524 extern "C"
32525 {
32526 #endif
32527 /* We use char because int might match the return type of a gcc2
32528 builtin and then its argument prototype would still apply. */
32529 char $ac_func ();
32530 /* The GNU C library defines this for functions which it implements
32531 to always fail with ENOSYS. Some functions are actually named
32532 something starting with __ and the normal name is an alias. */
32533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32534 choke me
32535 #else
32536 char (*f) () = $ac_func;
32537 #endif
32538 #ifdef __cplusplus
32539 }
32540 #endif
32541
32542 int
32543 main ()
32544 {
32545 return f != $ac_func;
32546 ;
32547 return 0;
32548 }
32549 _ACEOF
32550 rm -f conftest.$ac_objext conftest$ac_exeext
32551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32552 (eval $ac_link) 2>conftest.er1
32553 ac_status=$?
32554 grep -v '^ *+' conftest.er1 >conftest.err
32555 rm -f conftest.er1
32556 cat conftest.err >&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); } &&
32559 { ac_try='test -z "$ac_c_werror_flag"
32560 || test ! -s conftest.err'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; } &&
32566 { ac_try='test -s conftest$ac_exeext'
32567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32568 (eval $ac_try) 2>&5
32569 ac_status=$?
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); }; }; then
32572 eval "$as_ac_var=yes"
32573 else
32574 echo "$as_me: failed program was:" >&5
32575 sed 's/^/| /' conftest.$ac_ext >&5
32576
32577 eval "$as_ac_var=no"
32578 fi
32579 rm -f conftest.err conftest.$ac_objext \
32580 conftest$ac_exeext conftest.$ac_ext
32581 fi
32582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32584 if test `eval echo '${'$as_ac_var'}'` = yes; then
32585 cat >>confdefs.h <<_ACEOF
32586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32587 _ACEOF
32588
32589 fi
32590 done
32591
32592
32593
32594 for ac_header in sched.h
32595 do
32596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32598 echo "$as_me:$LINENO: checking for $ac_header" >&5
32599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32601 echo $ECHO_N "(cached) $ECHO_C" >&6
32602 fi
32603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32605 else
32606 # Is the header compilable?
32607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32609 cat >conftest.$ac_ext <<_ACEOF
32610 /* confdefs.h. */
32611 _ACEOF
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 $ac_includes_default
32616 #include <$ac_header>
32617 _ACEOF
32618 rm -f conftest.$ac_objext
32619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32620 (eval $ac_compile) 2>conftest.er1
32621 ac_status=$?
32622 grep -v '^ *+' conftest.er1 >conftest.err
32623 rm -f conftest.er1
32624 cat conftest.err >&5
32625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32626 (exit $ac_status); } &&
32627 { ac_try='test -z "$ac_c_werror_flag"
32628 || test ! -s conftest.err'
32629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32630 (eval $ac_try) 2>&5
32631 ac_status=$?
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); }; } &&
32634 { ac_try='test -s conftest.$ac_objext'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32637 ac_status=$?
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; }; then
32640 ac_header_compiler=yes
32641 else
32642 echo "$as_me: failed program was:" >&5
32643 sed 's/^/| /' conftest.$ac_ext >&5
32644
32645 ac_header_compiler=no
32646 fi
32647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32649 echo "${ECHO_T}$ac_header_compiler" >&6
32650
32651 # Is the header present?
32652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32654 cat >conftest.$ac_ext <<_ACEOF
32655 /* confdefs.h. */
32656 _ACEOF
32657 cat confdefs.h >>conftest.$ac_ext
32658 cat >>conftest.$ac_ext <<_ACEOF
32659 /* end confdefs.h. */
32660 #include <$ac_header>
32661 _ACEOF
32662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32664 ac_status=$?
32665 grep -v '^ *+' conftest.er1 >conftest.err
32666 rm -f conftest.er1
32667 cat conftest.err >&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); } >/dev/null; then
32670 if test -s conftest.err; then
32671 ac_cpp_err=$ac_c_preproc_warn_flag
32672 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32673 else
32674 ac_cpp_err=
32675 fi
32676 else
32677 ac_cpp_err=yes
32678 fi
32679 if test -z "$ac_cpp_err"; then
32680 ac_header_preproc=yes
32681 else
32682 echo "$as_me: failed program was:" >&5
32683 sed 's/^/| /' conftest.$ac_ext >&5
32684
32685 ac_header_preproc=no
32686 fi
32687 rm -f conftest.err conftest.$ac_ext
32688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32689 echo "${ECHO_T}$ac_header_preproc" >&6
32690
32691 # So? What about this header?
32692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32693 yes:no: )
32694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32698 ac_header_preproc=yes
32699 ;;
32700 no:yes:* )
32701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32713 (
32714 cat <<\_ASBOX
32715 ## ----------------------------------------- ##
32716 ## Report this to wx-dev@lists.wxwidgets.org ##
32717 ## ----------------------------------------- ##
32718 _ASBOX
32719 ) |
32720 sed "s/^/$as_me: WARNING: /" >&2
32721 ;;
32722 esac
32723 echo "$as_me:$LINENO: checking for $ac_header" >&5
32724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32726 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 else
32728 eval "$as_ac_Header=\$ac_header_preproc"
32729 fi
32730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32732
32733 fi
32734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32735 cat >>confdefs.h <<_ACEOF
32736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32737 _ACEOF
32738
32739 fi
32740
32741 done
32742
32743 if test "$ac_cv_header_sched_h" = "yes"; then
32744 echo "$as_me:$LINENO: checking for sched_yield" >&5
32745 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32746 if test "${ac_cv_func_sched_yield+set}" = set; then
32747 echo $ECHO_N "(cached) $ECHO_C" >&6
32748 else
32749 cat >conftest.$ac_ext <<_ACEOF
32750 /* confdefs.h. */
32751 _ACEOF
32752 cat confdefs.h >>conftest.$ac_ext
32753 cat >>conftest.$ac_ext <<_ACEOF
32754 /* end confdefs.h. */
32755 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32757 #define sched_yield innocuous_sched_yield
32758
32759 /* System header to define __stub macros and hopefully few prototypes,
32760 which can conflict with char sched_yield (); below.
32761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32762 <limits.h> exists even on freestanding compilers. */
32763
32764 #ifdef __STDC__
32765 # include <limits.h>
32766 #else
32767 # include <assert.h>
32768 #endif
32769
32770 #undef sched_yield
32771
32772 /* Override any gcc2 internal prototype to avoid an error. */
32773 #ifdef __cplusplus
32774 extern "C"
32775 {
32776 #endif
32777 /* We use char because int might match the return type of a gcc2
32778 builtin and then its argument prototype would still apply. */
32779 char sched_yield ();
32780 /* The GNU C library defines this for functions which it implements
32781 to always fail with ENOSYS. Some functions are actually named
32782 something starting with __ and the normal name is an alias. */
32783 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32784 choke me
32785 #else
32786 char (*f) () = sched_yield;
32787 #endif
32788 #ifdef __cplusplus
32789 }
32790 #endif
32791
32792 int
32793 main ()
32794 {
32795 return f != sched_yield;
32796 ;
32797 return 0;
32798 }
32799 _ACEOF
32800 rm -f conftest.$ac_objext conftest$ac_exeext
32801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32802 (eval $ac_link) 2>conftest.er1
32803 ac_status=$?
32804 grep -v '^ *+' conftest.er1 >conftest.err
32805 rm -f conftest.er1
32806 cat conftest.err >&5
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); } &&
32809 { ac_try='test -z "$ac_c_werror_flag"
32810 || test ! -s conftest.err'
32811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32812 (eval $ac_try) 2>&5
32813 ac_status=$?
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); }; } &&
32816 { ac_try='test -s conftest$ac_exeext'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32819 ac_status=$?
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; }; then
32822 ac_cv_func_sched_yield=yes
32823 else
32824 echo "$as_me: failed program was:" >&5
32825 sed 's/^/| /' conftest.$ac_ext >&5
32826
32827 ac_cv_func_sched_yield=no
32828 fi
32829 rm -f conftest.err conftest.$ac_objext \
32830 conftest$ac_exeext conftest.$ac_ext
32831 fi
32832 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32833 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32834 if test $ac_cv_func_sched_yield = yes; then
32835 cat >>confdefs.h <<\_ACEOF
32836 #define HAVE_SCHED_YIELD 1
32837 _ACEOF
32838
32839 else
32840
32841 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32842 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32843 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32844 echo $ECHO_N "(cached) $ECHO_C" >&6
32845 else
32846 ac_check_lib_save_LIBS=$LIBS
32847 LIBS="-lposix4 $LIBS"
32848 cat >conftest.$ac_ext <<_ACEOF
32849 /* confdefs.h. */
32850 _ACEOF
32851 cat confdefs.h >>conftest.$ac_ext
32852 cat >>conftest.$ac_ext <<_ACEOF
32853 /* end confdefs.h. */
32854
32855 /* Override any gcc2 internal prototype to avoid an error. */
32856 #ifdef __cplusplus
32857 extern "C"
32858 #endif
32859 /* We use char because int might match the return type of a gcc2
32860 builtin and then its argument prototype would still apply. */
32861 char sched_yield ();
32862 int
32863 main ()
32864 {
32865 sched_yield ();
32866 ;
32867 return 0;
32868 }
32869 _ACEOF
32870 rm -f conftest.$ac_objext conftest$ac_exeext
32871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32872 (eval $ac_link) 2>conftest.er1
32873 ac_status=$?
32874 grep -v '^ *+' conftest.er1 >conftest.err
32875 rm -f conftest.er1
32876 cat conftest.err >&5
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); } &&
32879 { ac_try='test -z "$ac_c_werror_flag"
32880 || test ! -s conftest.err'
32881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32882 (eval $ac_try) 2>&5
32883 ac_status=$?
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); }; } &&
32886 { ac_try='test -s conftest$ac_exeext'
32887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32888 (eval $ac_try) 2>&5
32889 ac_status=$?
32890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32891 (exit $ac_status); }; }; then
32892 ac_cv_lib_posix4_sched_yield=yes
32893 else
32894 echo "$as_me: failed program was:" >&5
32895 sed 's/^/| /' conftest.$ac_ext >&5
32896
32897 ac_cv_lib_posix4_sched_yield=no
32898 fi
32899 rm -f conftest.err conftest.$ac_objext \
32900 conftest$ac_exeext conftest.$ac_ext
32901 LIBS=$ac_check_lib_save_LIBS
32902 fi
32903 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32904 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32905 if test $ac_cv_lib_posix4_sched_yield = yes; then
32906 cat >>confdefs.h <<\_ACEOF
32907 #define HAVE_SCHED_YIELD 1
32908 _ACEOF
32909 POSIX4_LINK=" -lposix4"
32910 else
32911 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32912 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32913
32914 fi
32915
32916
32917
32918 fi
32919
32920 fi
32921
32922 HAVE_PRIOR_FUNCS=0
32923 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32924 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32925 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32926 echo $ECHO_N "(cached) $ECHO_C" >&6
32927 else
32928 cat >conftest.$ac_ext <<_ACEOF
32929 /* confdefs.h. */
32930 _ACEOF
32931 cat confdefs.h >>conftest.$ac_ext
32932 cat >>conftest.$ac_ext <<_ACEOF
32933 /* end confdefs.h. */
32934 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32936 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32937
32938 /* System header to define __stub macros and hopefully few prototypes,
32939 which can conflict with char pthread_attr_getschedpolicy (); below.
32940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32941 <limits.h> exists even on freestanding compilers. */
32942
32943 #ifdef __STDC__
32944 # include <limits.h>
32945 #else
32946 # include <assert.h>
32947 #endif
32948
32949 #undef pthread_attr_getschedpolicy
32950
32951 /* Override any gcc2 internal prototype to avoid an error. */
32952 #ifdef __cplusplus
32953 extern "C"
32954 {
32955 #endif
32956 /* We use char because int might match the return type of a gcc2
32957 builtin and then its argument prototype would still apply. */
32958 char pthread_attr_getschedpolicy ();
32959 /* The GNU C library defines this for functions which it implements
32960 to always fail with ENOSYS. Some functions are actually named
32961 something starting with __ and the normal name is an alias. */
32962 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32963 choke me
32964 #else
32965 char (*f) () = pthread_attr_getschedpolicy;
32966 #endif
32967 #ifdef __cplusplus
32968 }
32969 #endif
32970
32971 int
32972 main ()
32973 {
32974 return f != pthread_attr_getschedpolicy;
32975 ;
32976 return 0;
32977 }
32978 _ACEOF
32979 rm -f conftest.$ac_objext conftest$ac_exeext
32980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32981 (eval $ac_link) 2>conftest.er1
32982 ac_status=$?
32983 grep -v '^ *+' conftest.er1 >conftest.err
32984 rm -f conftest.er1
32985 cat conftest.err >&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } &&
32988 { ac_try='test -z "$ac_c_werror_flag"
32989 || test ! -s conftest.err'
32990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991 (eval $ac_try) 2>&5
32992 ac_status=$?
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); }; } &&
32995 { ac_try='test -s conftest$ac_exeext'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; }; then
33001 ac_cv_func_pthread_attr_getschedpolicy=yes
33002 else
33003 echo "$as_me: failed program was:" >&5
33004 sed 's/^/| /' conftest.$ac_ext >&5
33005
33006 ac_cv_func_pthread_attr_getschedpolicy=no
33007 fi
33008 rm -f conftest.err conftest.$ac_objext \
33009 conftest$ac_exeext conftest.$ac_ext
33010 fi
33011 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
33012 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
33013 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
33014 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
33015 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
33016 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33018 else
33019 cat >conftest.$ac_ext <<_ACEOF
33020 /* confdefs.h. */
33021 _ACEOF
33022 cat confdefs.h >>conftest.$ac_ext
33023 cat >>conftest.$ac_ext <<_ACEOF
33024 /* end confdefs.h. */
33025 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
33026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33027 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
33028
33029 /* System header to define __stub macros and hopefully few prototypes,
33030 which can conflict with char pthread_attr_setschedparam (); below.
33031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33032 <limits.h> exists even on freestanding compilers. */
33033
33034 #ifdef __STDC__
33035 # include <limits.h>
33036 #else
33037 # include <assert.h>
33038 #endif
33039
33040 #undef pthread_attr_setschedparam
33041
33042 /* Override any gcc2 internal prototype to avoid an error. */
33043 #ifdef __cplusplus
33044 extern "C"
33045 {
33046 #endif
33047 /* We use char because int might match the return type of a gcc2
33048 builtin and then its argument prototype would still apply. */
33049 char pthread_attr_setschedparam ();
33050 /* The GNU C library defines this for functions which it implements
33051 to always fail with ENOSYS. Some functions are actually named
33052 something starting with __ and the normal name is an alias. */
33053 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
33054 choke me
33055 #else
33056 char (*f) () = pthread_attr_setschedparam;
33057 #endif
33058 #ifdef __cplusplus
33059 }
33060 #endif
33061
33062 int
33063 main ()
33064 {
33065 return f != pthread_attr_setschedparam;
33066 ;
33067 return 0;
33068 }
33069 _ACEOF
33070 rm -f conftest.$ac_objext conftest$ac_exeext
33071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33072 (eval $ac_link) 2>conftest.er1
33073 ac_status=$?
33074 grep -v '^ *+' conftest.er1 >conftest.err
33075 rm -f conftest.er1
33076 cat conftest.err >&5
33077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 (exit $ac_status); } &&
33079 { ac_try='test -z "$ac_c_werror_flag"
33080 || test ! -s conftest.err'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33083 ac_status=$?
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; } &&
33086 { ac_try='test -s conftest$ac_exeext'
33087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33088 (eval $ac_try) 2>&5
33089 ac_status=$?
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); }; }; then
33092 ac_cv_func_pthread_attr_setschedparam=yes
33093 else
33094 echo "$as_me: failed program was:" >&5
33095 sed 's/^/| /' conftest.$ac_ext >&5
33096
33097 ac_cv_func_pthread_attr_setschedparam=no
33098 fi
33099 rm -f conftest.err conftest.$ac_objext \
33100 conftest$ac_exeext conftest.$ac_ext
33101 fi
33102 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
33103 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
33104 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
33105 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
33106 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
33107 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
33108 echo $ECHO_N "(cached) $ECHO_C" >&6
33109 else
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
33117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33118 #define sched_get_priority_max innocuous_sched_get_priority_max
33119
33120 /* System header to define __stub macros and hopefully few prototypes,
33121 which can conflict with char sched_get_priority_max (); below.
33122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33123 <limits.h> exists even on freestanding compilers. */
33124
33125 #ifdef __STDC__
33126 # include <limits.h>
33127 #else
33128 # include <assert.h>
33129 #endif
33130
33131 #undef sched_get_priority_max
33132
33133 /* Override any gcc2 internal prototype to avoid an error. */
33134 #ifdef __cplusplus
33135 extern "C"
33136 {
33137 #endif
33138 /* We use char because int might match the return type of a gcc2
33139 builtin and then its argument prototype would still apply. */
33140 char sched_get_priority_max ();
33141 /* The GNU C library defines this for functions which it implements
33142 to always fail with ENOSYS. Some functions are actually named
33143 something starting with __ and the normal name is an alias. */
33144 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
33145 choke me
33146 #else
33147 char (*f) () = sched_get_priority_max;
33148 #endif
33149 #ifdef __cplusplus
33150 }
33151 #endif
33152
33153 int
33154 main ()
33155 {
33156 return f != sched_get_priority_max;
33157 ;
33158 return 0;
33159 }
33160 _ACEOF
33161 rm -f conftest.$ac_objext conftest$ac_exeext
33162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33163 (eval $ac_link) 2>conftest.er1
33164 ac_status=$?
33165 grep -v '^ *+' conftest.er1 >conftest.err
33166 rm -f conftest.er1
33167 cat conftest.err >&5
33168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33169 (exit $ac_status); } &&
33170 { ac_try='test -z "$ac_c_werror_flag"
33171 || test ! -s conftest.err'
33172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33173 (eval $ac_try) 2>&5
33174 ac_status=$?
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); }; } &&
33177 { ac_try='test -s conftest$ac_exeext'
33178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33179 (eval $ac_try) 2>&5
33180 ac_status=$?
33181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33182 (exit $ac_status); }; }; then
33183 ac_cv_func_sched_get_priority_max=yes
33184 else
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.$ac_ext >&5
33187
33188 ac_cv_func_sched_get_priority_max=no
33189 fi
33190 rm -f conftest.err conftest.$ac_objext \
33191 conftest$ac_exeext conftest.$ac_ext
33192 fi
33193 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
33194 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
33195 if test $ac_cv_func_sched_get_priority_max = yes; then
33196 HAVE_PRIOR_FUNCS=1
33197 else
33198 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
33199 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
33200 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
33201 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203 ac_check_lib_save_LIBS=$LIBS
33204 LIBS="-lposix4 $LIBS"
33205 cat >conftest.$ac_ext <<_ACEOF
33206 /* confdefs.h. */
33207 _ACEOF
33208 cat confdefs.h >>conftest.$ac_ext
33209 cat >>conftest.$ac_ext <<_ACEOF
33210 /* end confdefs.h. */
33211
33212 /* Override any gcc2 internal prototype to avoid an error. */
33213 #ifdef __cplusplus
33214 extern "C"
33215 #endif
33216 /* We use char because int might match the return type of a gcc2
33217 builtin and then its argument prototype would still apply. */
33218 char sched_get_priority_max ();
33219 int
33220 main ()
33221 {
33222 sched_get_priority_max ();
33223 ;
33224 return 0;
33225 }
33226 _ACEOF
33227 rm -f conftest.$ac_objext conftest$ac_exeext
33228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33229 (eval $ac_link) 2>conftest.er1
33230 ac_status=$?
33231 grep -v '^ *+' conftest.er1 >conftest.err
33232 rm -f conftest.er1
33233 cat conftest.err >&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); } &&
33236 { ac_try='test -z "$ac_c_werror_flag"
33237 || test ! -s conftest.err'
33238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33239 (eval $ac_try) 2>&5
33240 ac_status=$?
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); }; } &&
33243 { ac_try='test -s conftest$ac_exeext'
33244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33245 (eval $ac_try) 2>&5
33246 ac_status=$?
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); }; }; then
33249 ac_cv_lib_posix4_sched_get_priority_max=yes
33250 else
33251 echo "$as_me: failed program was:" >&5
33252 sed 's/^/| /' conftest.$ac_ext >&5
33253
33254 ac_cv_lib_posix4_sched_get_priority_max=no
33255 fi
33256 rm -f conftest.err conftest.$ac_objext \
33257 conftest$ac_exeext conftest.$ac_ext
33258 LIBS=$ac_check_lib_save_LIBS
33259 fi
33260 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
33261 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
33262 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
33263
33264 HAVE_PRIOR_FUNCS=1
33265 POSIX4_LINK=" -lposix4"
33266
33267 fi
33268
33269
33270 fi
33271
33272
33273 fi
33274
33275
33276 fi
33277
33278
33279 if test "$HAVE_PRIOR_FUNCS" = 1; then
33280 cat >>confdefs.h <<\_ACEOF
33281 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
33282 _ACEOF
33283
33284 else
33285 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
33286 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
33287 fi
33288
33289 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
33290 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
33291 if test "${ac_cv_func_pthread_cancel+set}" = set; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33293 else
33294 cat >conftest.$ac_ext <<_ACEOF
33295 /* confdefs.h. */
33296 _ACEOF
33297 cat confdefs.h >>conftest.$ac_ext
33298 cat >>conftest.$ac_ext <<_ACEOF
33299 /* end confdefs.h. */
33300 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33302 #define pthread_cancel innocuous_pthread_cancel
33303
33304 /* System header to define __stub macros and hopefully few prototypes,
33305 which can conflict with char pthread_cancel (); below.
33306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33307 <limits.h> exists even on freestanding compilers. */
33308
33309 #ifdef __STDC__
33310 # include <limits.h>
33311 #else
33312 # include <assert.h>
33313 #endif
33314
33315 #undef pthread_cancel
33316
33317 /* Override any gcc2 internal prototype to avoid an error. */
33318 #ifdef __cplusplus
33319 extern "C"
33320 {
33321 #endif
33322 /* We use char because int might match the return type of a gcc2
33323 builtin and then its argument prototype would still apply. */
33324 char pthread_cancel ();
33325 /* The GNU C library defines this for functions which it implements
33326 to always fail with ENOSYS. Some functions are actually named
33327 something starting with __ and the normal name is an alias. */
33328 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33329 choke me
33330 #else
33331 char (*f) () = pthread_cancel;
33332 #endif
33333 #ifdef __cplusplus
33334 }
33335 #endif
33336
33337 int
33338 main ()
33339 {
33340 return f != pthread_cancel;
33341 ;
33342 return 0;
33343 }
33344 _ACEOF
33345 rm -f conftest.$ac_objext conftest$ac_exeext
33346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33347 (eval $ac_link) 2>conftest.er1
33348 ac_status=$?
33349 grep -v '^ *+' conftest.er1 >conftest.err
33350 rm -f conftest.er1
33351 cat conftest.err >&5
33352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33353 (exit $ac_status); } &&
33354 { ac_try='test -z "$ac_c_werror_flag"
33355 || test ! -s conftest.err'
33356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33357 (eval $ac_try) 2>&5
33358 ac_status=$?
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); }; } &&
33361 { ac_try='test -s conftest$ac_exeext'
33362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33363 (eval $ac_try) 2>&5
33364 ac_status=$?
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); }; }; then
33367 ac_cv_func_pthread_cancel=yes
33368 else
33369 echo "$as_me: failed program was:" >&5
33370 sed 's/^/| /' conftest.$ac_ext >&5
33371
33372 ac_cv_func_pthread_cancel=no
33373 fi
33374 rm -f conftest.err conftest.$ac_objext \
33375 conftest$ac_exeext conftest.$ac_ext
33376 fi
33377 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33378 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33379 if test $ac_cv_func_pthread_cancel = yes; then
33380 cat >>confdefs.h <<\_ACEOF
33381 #define HAVE_PTHREAD_CANCEL 1
33382 _ACEOF
33383
33384 else
33385 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33386 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33387 fi
33388
33389
33390
33391
33392 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33393 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33394 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33395 echo $ECHO_N "(cached) $ECHO_C" >&6
33396 else
33397
33398 cat >conftest.$ac_ext <<_ACEOF
33399 /* confdefs.h. */
33400 _ACEOF
33401 cat confdefs.h >>conftest.$ac_ext
33402 cat >>conftest.$ac_ext <<_ACEOF
33403 /* end confdefs.h. */
33404 #include <pthread.h>
33405 int
33406 main ()
33407 {
33408
33409 pthread_mutexattr_t attr;
33410 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33411
33412 ;
33413 return 0;
33414 }
33415 _ACEOF
33416 rm -f conftest.$ac_objext
33417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33418 (eval $ac_compile) 2>conftest.er1
33419 ac_status=$?
33420 grep -v '^ *+' conftest.er1 >conftest.err
33421 rm -f conftest.er1
33422 cat conftest.err >&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); } &&
33425 { ac_try='test -z "$ac_c_werror_flag"
33426 || test ! -s conftest.err'
33427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33428 (eval $ac_try) 2>&5
33429 ac_status=$?
33430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33431 (exit $ac_status); }; } &&
33432 { ac_try='test -s conftest.$ac_objext'
33433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33434 (eval $ac_try) 2>&5
33435 ac_status=$?
33436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33437 (exit $ac_status); }; }; then
33438
33439 wx_cv_type_pthread_mutexattr_t=yes
33440
33441 else
33442 echo "$as_me: failed program was:" >&5
33443 sed 's/^/| /' conftest.$ac_ext >&5
33444
33445
33446 wx_cv_type_pthread_mutexattr_t=no
33447
33448
33449 fi
33450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33451
33452 fi
33453 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33454 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33455
33456 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33457 cat >>confdefs.h <<\_ACEOF
33458 #define HAVE_PTHREAD_MUTEXATTR_T 1
33459 _ACEOF
33460
33461 else
33462 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33463 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33464 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33465 echo $ECHO_N "(cached) $ECHO_C" >&6
33466 else
33467
33468 cat >conftest.$ac_ext <<_ACEOF
33469 /* confdefs.h. */
33470 _ACEOF
33471 cat confdefs.h >>conftest.$ac_ext
33472 cat >>conftest.$ac_ext <<_ACEOF
33473 /* end confdefs.h. */
33474 #include <pthread.h>
33475 int
33476 main ()
33477 {
33478
33479 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33480
33481 ;
33482 return 0;
33483 }
33484 _ACEOF
33485 rm -f conftest.$ac_objext
33486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33487 (eval $ac_compile) 2>conftest.er1
33488 ac_status=$?
33489 grep -v '^ *+' conftest.er1 >conftest.err
33490 rm -f conftest.er1
33491 cat conftest.err >&5
33492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493 (exit $ac_status); } &&
33494 { ac_try='test -z "$ac_c_werror_flag"
33495 || test ! -s conftest.err'
33496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497 (eval $ac_try) 2>&5
33498 ac_status=$?
33499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 (exit $ac_status); }; } &&
33501 { ac_try='test -s conftest.$ac_objext'
33502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503 (eval $ac_try) 2>&5
33504 ac_status=$?
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; }; then
33507
33508 wx_cv_type_pthread_rec_mutex_init=yes
33509
33510 else
33511 echo "$as_me: failed program was:" >&5
33512 sed 's/^/| /' conftest.$ac_ext >&5
33513
33514
33515 wx_cv_type_pthread_rec_mutex_init=no
33516
33517
33518 fi
33519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33520
33521 fi
33522 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33523 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33524 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33525 cat >>confdefs.h <<\_ACEOF
33526 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33527 _ACEOF
33528
33529 else
33530 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33531 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33532 fi
33533 fi
33534 fi
33535
33536 else
33537 if test "$wxUSE_THREADS" = "yes" ; then
33538 case "${host}" in
33539 *-*-mingw32* )
33540 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33541 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33542 if test "${wx_cv_cflags_mthread+set}" = set; then
33543 echo $ECHO_N "(cached) $ECHO_C" >&6
33544 else
33545
33546 CFLAGS_OLD="$CFLAGS"
33547 CFLAGS="$CFLAGS -mthreads"
33548 cat >conftest.$ac_ext <<_ACEOF
33549 /* confdefs.h. */
33550 _ACEOF
33551 cat confdefs.h >>conftest.$ac_ext
33552 cat >>conftest.$ac_ext <<_ACEOF
33553 /* end confdefs.h. */
33554
33555 int
33556 main ()
33557 {
33558
33559 ;
33560 return 0;
33561 }
33562 _ACEOF
33563 rm -f conftest.$ac_objext
33564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33565 (eval $ac_compile) 2>conftest.er1
33566 ac_status=$?
33567 grep -v '^ *+' conftest.er1 >conftest.err
33568 rm -f conftest.er1
33569 cat conftest.err >&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); } &&
33572 { ac_try='test -z "$ac_c_werror_flag"
33573 || test ! -s conftest.err'
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); }; } &&
33579 { ac_try='test -s conftest.$ac_objext'
33580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33581 (eval $ac_try) 2>&5
33582 ac_status=$?
33583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584 (exit $ac_status); }; }; then
33585 wx_cv_cflags_mthread=yes
33586 else
33587 echo "$as_me: failed program was:" >&5
33588 sed 's/^/| /' conftest.$ac_ext >&5
33589
33590 wx_cv_cflags_mthread=no
33591
33592 fi
33593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33594
33595
33596 fi
33597 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33598 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33599
33600 if test "$wx_cv_cflags_mthread" = "yes"; then
33601 CXXFLAGS="$CXXFLAGS -mthreads"
33602 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33603 LDFLAGS="$LDFLAGS -mthreads"
33604 else
33605 CFLAGS="$CFLAGS_OLD"
33606 fi
33607 ;;
33608 *-pc-os2*emx )
33609 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33610 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33611 LDFLAGS="$LDFLAGS -Zmt"
33612 ;;
33613 esac
33614 fi
33615 fi
33616
33617 if test "$wxUSE_THREADS" = "yes"; then
33618 cat >>confdefs.h <<\_ACEOF
33619 #define wxUSE_THREADS 1
33620 _ACEOF
33621
33622
33623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33624 else
33625 if test "$ac_cv_func_strtok_r" = "yes"; then
33626 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33627 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33628 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33629 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33630 echo "$as_me:$LINENO: result: yes" >&5
33631 echo "${ECHO_T}yes" >&6
33632 else
33633 echo "$as_me:$LINENO: result: no" >&5
33634 echo "${ECHO_T}no" >&6
33635 fi
33636 fi
33637 fi
33638
33639 if test "$WXGTK20" = 1 ; then
33640 cat >>confdefs.h <<_ACEOF
33641 #define __WXGTK20__ $WXGTK20
33642 _ACEOF
33643
33644 WXGTK12=1
33645 fi
33646
33647 if test "$WXGTK12" = 1 ; then
33648 cat >>confdefs.h <<_ACEOF
33649 #define __WXGTK12__ $WXGTK12
33650 _ACEOF
33651
33652 fi
33653
33654 if test "$WXGTK127" = 1 ; then
33655 cat >>confdefs.h <<_ACEOF
33656 #define __WXGTK127__ $WXGTK127
33657 _ACEOF
33658
33659 fi
33660
33661 if test "$WXGPE" = 1 ; then
33662 cat >>confdefs.h <<_ACEOF
33663 #define __WXGPE__ $WXGPE
33664 _ACEOF
33665
33666 fi
33667
33668 WXDEBUG=
33669
33670 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33671 WXDEBUG="-g"
33672 wxUSE_OPTIMISE=no
33673 fi
33674
33675 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33676 wxUSE_DEBUG_INFO=yes
33677 WXDEBUG="-ggdb"
33678 fi
33679
33680 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33681 cat >>confdefs.h <<\_ACEOF
33682 #define WXDEBUG 1
33683 _ACEOF
33684
33685 WXDEBUG_DEFINE="-D__WXDEBUG__"
33686 else
33687 if test "$wxUSE_GTK" = 1 ; then
33688 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33689 fi
33690 fi
33691
33692 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33693 cat >>confdefs.h <<\_ACEOF
33694 #define wxUSE_MEMORY_TRACING 1
33695 _ACEOF
33696
33697 cat >>confdefs.h <<\_ACEOF
33698 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33699 _ACEOF
33700
33701 cat >>confdefs.h <<\_ACEOF
33702 #define wxUSE_DEBUG_NEW_ALWAYS 1
33703 _ACEOF
33704
33705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33706 fi
33707
33708 if test "$wxUSE_DMALLOC" = "yes" ; then
33709 DMALLOC_LIBS="-ldmalloc"
33710 fi
33711
33712 PROFILE=
33713 if test "$wxUSE_PROFILE" = "yes" ; then
33714 PROFILE=" -pg"
33715 fi
33716
33717 CODE_GEN_FLAGS=
33718 CODE_GEN_FLAGS_CXX=
33719 if test "$GCC" = "yes" ; then
33720 if test "$wxUSE_NO_RTTI" = "yes" ; then
33721 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33722 fi
33723 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33724 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33725 fi
33726 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33727 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33728 fi
33729
33730 case "${host}" in
33731 powerpc*-*-aix* )
33732 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33733 ;;
33734 *-hppa* )
33735 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33736 ;;
33737 esac
33738 fi
33739
33740 OPTIMISE=
33741 if test "$wxUSE_OPTIMISE" = "no" ; then
33742 if test "$GCC" = yes ; then
33743 OPTIMISE="-O0"
33744 fi
33745 else
33746 if test "$GCC" = yes ; then
33747 OPTIMISE="-O2"
33748
33749 case "${host}" in
33750 i586-*-*|i686-*-* )
33751 OPTIMISE="${OPTIMISE} "
33752 ;;
33753 esac
33754 else
33755 OPTIMISE="-O"
33756 fi
33757 fi
33758
33759
33760 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33761 cat >>confdefs.h <<\_ACEOF
33762 #define WXWIN_COMPATIBILITY_2_2 1
33763 _ACEOF
33764
33765
33766 WXWIN_COMPATIBILITY_2_4="yes"
33767 fi
33768
33769 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33770 cat >>confdefs.h <<\_ACEOF
33771 #define WXWIN_COMPATIBILITY_2_4 1
33772 _ACEOF
33773
33774 fi
33775
33776
33777 if test "$wxUSE_GUI" = "yes"; then
33778 cat >>confdefs.h <<\_ACEOF
33779 #define wxUSE_GUI 1
33780 _ACEOF
33781
33782
33783 else
33784 cat >>confdefs.h <<\_ACEOF
33785 #define wxUSE_NOGUI 1
33786 _ACEOF
33787
33788 fi
33789
33790
33791 if test "$wxUSE_UNIX" = "yes"; then
33792 cat >>confdefs.h <<\_ACEOF
33793 #define wxUSE_UNIX 1
33794 _ACEOF
33795
33796 fi
33797
33798
33799 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33800
33801 HAVE_DL_FUNCS=0
33802 HAVE_SHL_FUNCS=0
33803 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33804 if test "$USE_DARWIN" = 1; then
33805 HAVE_DL_FUNCS=1
33806 else
33807
33808 for ac_func in dlopen
33809 do
33810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33811 echo "$as_me:$LINENO: checking for $ac_func" >&5
33812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33813 if eval "test \"\${$as_ac_var+set}\" = set"; then
33814 echo $ECHO_N "(cached) $ECHO_C" >&6
33815 else
33816 cat >conftest.$ac_ext <<_ACEOF
33817 /* confdefs.h. */
33818 _ACEOF
33819 cat confdefs.h >>conftest.$ac_ext
33820 cat >>conftest.$ac_ext <<_ACEOF
33821 /* end confdefs.h. */
33822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33824 #define $ac_func innocuous_$ac_func
33825
33826 /* System header to define __stub macros and hopefully few prototypes,
33827 which can conflict with char $ac_func (); below.
33828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33829 <limits.h> exists even on freestanding compilers. */
33830
33831 #ifdef __STDC__
33832 # include <limits.h>
33833 #else
33834 # include <assert.h>
33835 #endif
33836
33837 #undef $ac_func
33838
33839 /* Override any gcc2 internal prototype to avoid an error. */
33840 #ifdef __cplusplus
33841 extern "C"
33842 {
33843 #endif
33844 /* We use char because int might match the return type of a gcc2
33845 builtin and then its argument prototype would still apply. */
33846 char $ac_func ();
33847 /* The GNU C library defines this for functions which it implements
33848 to always fail with ENOSYS. Some functions are actually named
33849 something starting with __ and the normal name is an alias. */
33850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33851 choke me
33852 #else
33853 char (*f) () = $ac_func;
33854 #endif
33855 #ifdef __cplusplus
33856 }
33857 #endif
33858
33859 int
33860 main ()
33861 {
33862 return f != $ac_func;
33863 ;
33864 return 0;
33865 }
33866 _ACEOF
33867 rm -f conftest.$ac_objext conftest$ac_exeext
33868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33869 (eval $ac_link) 2>conftest.er1
33870 ac_status=$?
33871 grep -v '^ *+' conftest.er1 >conftest.err
33872 rm -f conftest.er1
33873 cat conftest.err >&5
33874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33875 (exit $ac_status); } &&
33876 { ac_try='test -z "$ac_c_werror_flag"
33877 || test ! -s conftest.err'
33878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879 (eval $ac_try) 2>&5
33880 ac_status=$?
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); }; } &&
33883 { ac_try='test -s conftest$ac_exeext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33886 ac_status=$?
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33889 eval "$as_ac_var=yes"
33890 else
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.$ac_ext >&5
33893
33894 eval "$as_ac_var=no"
33895 fi
33896 rm -f conftest.err conftest.$ac_objext \
33897 conftest$ac_exeext conftest.$ac_ext
33898 fi
33899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33901 if test `eval echo '${'$as_ac_var'}'` = yes; then
33902 cat >>confdefs.h <<_ACEOF
33903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33904 _ACEOF
33905
33906 cat >>confdefs.h <<\_ACEOF
33907 #define HAVE_DLOPEN 1
33908 _ACEOF
33909
33910 HAVE_DL_FUNCS=1
33911
33912 else
33913
33914 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33915 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33916 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33917 echo $ECHO_N "(cached) $ECHO_C" >&6
33918 else
33919 ac_check_lib_save_LIBS=$LIBS
33920 LIBS="-ldl $LIBS"
33921 cat >conftest.$ac_ext <<_ACEOF
33922 /* confdefs.h. */
33923 _ACEOF
33924 cat confdefs.h >>conftest.$ac_ext
33925 cat >>conftest.$ac_ext <<_ACEOF
33926 /* end confdefs.h. */
33927
33928 /* Override any gcc2 internal prototype to avoid an error. */
33929 #ifdef __cplusplus
33930 extern "C"
33931 #endif
33932 /* We use char because int might match the return type of a gcc2
33933 builtin and then its argument prototype would still apply. */
33934 char dlopen ();
33935 int
33936 main ()
33937 {
33938 dlopen ();
33939 ;
33940 return 0;
33941 }
33942 _ACEOF
33943 rm -f conftest.$ac_objext conftest$ac_exeext
33944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33945 (eval $ac_link) 2>conftest.er1
33946 ac_status=$?
33947 grep -v '^ *+' conftest.er1 >conftest.err
33948 rm -f conftest.er1
33949 cat conftest.err >&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); } &&
33952 { ac_try='test -z "$ac_c_werror_flag"
33953 || test ! -s conftest.err'
33954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33955 (eval $ac_try) 2>&5
33956 ac_status=$?
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; } &&
33959 { ac_try='test -s conftest$ac_exeext'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33962 ac_status=$?
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; }; then
33965 ac_cv_lib_dl_dlopen=yes
33966 else
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.$ac_ext >&5
33969
33970 ac_cv_lib_dl_dlopen=no
33971 fi
33972 rm -f conftest.err conftest.$ac_objext \
33973 conftest$ac_exeext conftest.$ac_ext
33974 LIBS=$ac_check_lib_save_LIBS
33975 fi
33976 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33977 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33978 if test $ac_cv_lib_dl_dlopen = yes; then
33979
33980 cat >>confdefs.h <<\_ACEOF
33981 #define HAVE_DLOPEN 1
33982 _ACEOF
33983
33984 HAVE_DL_FUNCS=1
33985 DL_LINK=" -ldl$DL_LINK"
33986
33987 else
33988
33989
33990 for ac_func in shl_load
33991 do
33992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33993 echo "$as_me:$LINENO: checking for $ac_func" >&5
33994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33995 if eval "test \"\${$as_ac_var+set}\" = set"; then
33996 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 else
33998 cat >conftest.$ac_ext <<_ACEOF
33999 /* confdefs.h. */
34000 _ACEOF
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34006 #define $ac_func innocuous_$ac_func
34007
34008 /* System header to define __stub macros and hopefully few prototypes,
34009 which can conflict with char $ac_func (); below.
34010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34011 <limits.h> exists even on freestanding compilers. */
34012
34013 #ifdef __STDC__
34014 # include <limits.h>
34015 #else
34016 # include <assert.h>
34017 #endif
34018
34019 #undef $ac_func
34020
34021 /* Override any gcc2 internal prototype to avoid an error. */
34022 #ifdef __cplusplus
34023 extern "C"
34024 {
34025 #endif
34026 /* We use char because int might match the return type of a gcc2
34027 builtin and then its argument prototype would still apply. */
34028 char $ac_func ();
34029 /* The GNU C library defines this for functions which it implements
34030 to always fail with ENOSYS. Some functions are actually named
34031 something starting with __ and the normal name is an alias. */
34032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34033 choke me
34034 #else
34035 char (*f) () = $ac_func;
34036 #endif
34037 #ifdef __cplusplus
34038 }
34039 #endif
34040
34041 int
34042 main ()
34043 {
34044 return f != $ac_func;
34045 ;
34046 return 0;
34047 }
34048 _ACEOF
34049 rm -f conftest.$ac_objext conftest$ac_exeext
34050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34051 (eval $ac_link) 2>conftest.er1
34052 ac_status=$?
34053 grep -v '^ *+' conftest.er1 >conftest.err
34054 rm -f conftest.er1
34055 cat conftest.err >&5
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); } &&
34058 { ac_try='test -z "$ac_c_werror_flag"
34059 || test ! -s conftest.err'
34060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34061 (eval $ac_try) 2>&5
34062 ac_status=$?
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); }; } &&
34065 { ac_try='test -s conftest$ac_exeext'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34068 ac_status=$?
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; }; then
34071 eval "$as_ac_var=yes"
34072 else
34073 echo "$as_me: failed program was:" >&5
34074 sed 's/^/| /' conftest.$ac_ext >&5
34075
34076 eval "$as_ac_var=no"
34077 fi
34078 rm -f conftest.err conftest.$ac_objext \
34079 conftest$ac_exeext conftest.$ac_ext
34080 fi
34081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34083 if test `eval echo '${'$as_ac_var'}'` = yes; then
34084 cat >>confdefs.h <<_ACEOF
34085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34086 _ACEOF
34087
34088 cat >>confdefs.h <<\_ACEOF
34089 #define HAVE_SHL_LOAD 1
34090 _ACEOF
34091
34092 HAVE_SHL_FUNCS=1
34093
34094 else
34095
34096 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
34097 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
34098 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
34099 echo $ECHO_N "(cached) $ECHO_C" >&6
34100 else
34101 ac_check_lib_save_LIBS=$LIBS
34102 LIBS="-lshl_load $LIBS"
34103 cat >conftest.$ac_ext <<_ACEOF
34104 /* confdefs.h. */
34105 _ACEOF
34106 cat confdefs.h >>conftest.$ac_ext
34107 cat >>conftest.$ac_ext <<_ACEOF
34108 /* end confdefs.h. */
34109
34110 /* Override any gcc2 internal prototype to avoid an error. */
34111 #ifdef __cplusplus
34112 extern "C"
34113 #endif
34114 /* We use char because int might match the return type of a gcc2
34115 builtin and then its argument prototype would still apply. */
34116 char dld ();
34117 int
34118 main ()
34119 {
34120 dld ();
34121 ;
34122 return 0;
34123 }
34124 _ACEOF
34125 rm -f conftest.$ac_objext conftest$ac_exeext
34126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34127 (eval $ac_link) 2>conftest.er1
34128 ac_status=$?
34129 grep -v '^ *+' conftest.er1 >conftest.err
34130 rm -f conftest.er1
34131 cat conftest.err >&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); } &&
34134 { ac_try='test -z "$ac_c_werror_flag"
34135 || test ! -s conftest.err'
34136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34137 (eval $ac_try) 2>&5
34138 ac_status=$?
34139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34140 (exit $ac_status); }; } &&
34141 { ac_try='test -s conftest$ac_exeext'
34142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34143 (eval $ac_try) 2>&5
34144 ac_status=$?
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); }; }; then
34147 ac_cv_lib_shl_load_dld=yes
34148 else
34149 echo "$as_me: failed program was:" >&5
34150 sed 's/^/| /' conftest.$ac_ext >&5
34151
34152 ac_cv_lib_shl_load_dld=no
34153 fi
34154 rm -f conftest.err conftest.$ac_objext \
34155 conftest$ac_exeext conftest.$ac_ext
34156 LIBS=$ac_check_lib_save_LIBS
34157 fi
34158 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
34159 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
34160 if test $ac_cv_lib_shl_load_dld = yes; then
34161
34162 HAVE_SHL_FUNCS=1
34163 DL_LINK=" -ldld$DL_LINK"
34164
34165 fi
34166
34167
34168 fi
34169 done
34170
34171
34172 fi
34173
34174
34175 fi
34176 done
34177
34178
34179 if test "$HAVE_DL_FUNCS" = 1; then
34180
34181 for ac_func in dlerror
34182 do
34183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34184 echo "$as_me:$LINENO: checking for $ac_func" >&5
34185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34186 if eval "test \"\${$as_ac_var+set}\" = set"; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34188 else
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34197 #define $ac_func innocuous_$ac_func
34198
34199 /* System header to define __stub macros and hopefully few prototypes,
34200 which can conflict with char $ac_func (); below.
34201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34202 <limits.h> exists even on freestanding compilers. */
34203
34204 #ifdef __STDC__
34205 # include <limits.h>
34206 #else
34207 # include <assert.h>
34208 #endif
34209
34210 #undef $ac_func
34211
34212 /* Override any gcc2 internal prototype to avoid an error. */
34213 #ifdef __cplusplus
34214 extern "C"
34215 {
34216 #endif
34217 /* We use char because int might match the return type of a gcc2
34218 builtin and then its argument prototype would still apply. */
34219 char $ac_func ();
34220 /* The GNU C library defines this for functions which it implements
34221 to always fail with ENOSYS. Some functions are actually named
34222 something starting with __ and the normal name is an alias. */
34223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34224 choke me
34225 #else
34226 char (*f) () = $ac_func;
34227 #endif
34228 #ifdef __cplusplus
34229 }
34230 #endif
34231
34232 int
34233 main ()
34234 {
34235 return f != $ac_func;
34236 ;
34237 return 0;
34238 }
34239 _ACEOF
34240 rm -f conftest.$ac_objext conftest$ac_exeext
34241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34242 (eval $ac_link) 2>conftest.er1
34243 ac_status=$?
34244 grep -v '^ *+' conftest.er1 >conftest.err
34245 rm -f conftest.er1
34246 cat conftest.err >&5
34247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34248 (exit $ac_status); } &&
34249 { ac_try='test -z "$ac_c_werror_flag"
34250 || test ! -s conftest.err'
34251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34252 (eval $ac_try) 2>&5
34253 ac_status=$?
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); }; } &&
34256 { ac_try='test -s conftest$ac_exeext'
34257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34258 (eval $ac_try) 2>&5
34259 ac_status=$?
34260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34261 (exit $ac_status); }; }; then
34262 eval "$as_ac_var=yes"
34263 else
34264 echo "$as_me: failed program was:" >&5
34265 sed 's/^/| /' conftest.$ac_ext >&5
34266
34267 eval "$as_ac_var=no"
34268 fi
34269 rm -f conftest.err conftest.$ac_objext \
34270 conftest$ac_exeext conftest.$ac_ext
34271 fi
34272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34274 if test `eval echo '${'$as_ac_var'}'` = yes; then
34275 cat >>confdefs.h <<_ACEOF
34276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34277 _ACEOF
34278 cat >>confdefs.h <<\_ACEOF
34279 #define HAVE_DLERROR 1
34280 _ACEOF
34281
34282 else
34283
34284 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
34285 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
34286 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
34287 echo $ECHO_N "(cached) $ECHO_C" >&6
34288 else
34289 ac_check_lib_save_LIBS=$LIBS
34290 LIBS="-ldl $LIBS"
34291 cat >conftest.$ac_ext <<_ACEOF
34292 /* confdefs.h. */
34293 _ACEOF
34294 cat confdefs.h >>conftest.$ac_ext
34295 cat >>conftest.$ac_ext <<_ACEOF
34296 /* end confdefs.h. */
34297
34298 /* Override any gcc2 internal prototype to avoid an error. */
34299 #ifdef __cplusplus
34300 extern "C"
34301 #endif
34302 /* We use char because int might match the return type of a gcc2
34303 builtin and then its argument prototype would still apply. */
34304 char dlerror ();
34305 int
34306 main ()
34307 {
34308 dlerror ();
34309 ;
34310 return 0;
34311 }
34312 _ACEOF
34313 rm -f conftest.$ac_objext conftest$ac_exeext
34314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34315 (eval $ac_link) 2>conftest.er1
34316 ac_status=$?
34317 grep -v '^ *+' conftest.er1 >conftest.err
34318 rm -f conftest.er1
34319 cat conftest.err >&5
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); } &&
34322 { ac_try='test -z "$ac_c_werror_flag"
34323 || test ! -s conftest.err'
34324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34325 (eval $ac_try) 2>&5
34326 ac_status=$?
34327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34328 (exit $ac_status); }; } &&
34329 { ac_try='test -s conftest$ac_exeext'
34330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34331 (eval $ac_try) 2>&5
34332 ac_status=$?
34333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34334 (exit $ac_status); }; }; then
34335 ac_cv_lib_dl_dlerror=yes
34336 else
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34339
34340 ac_cv_lib_dl_dlerror=no
34341 fi
34342 rm -f conftest.err conftest.$ac_objext \
34343 conftest$ac_exeext conftest.$ac_ext
34344 LIBS=$ac_check_lib_save_LIBS
34345 fi
34346 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34347 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34348 if test $ac_cv_lib_dl_dlerror = yes; then
34349 cat >>confdefs.h <<\_ACEOF
34350 #define HAVE_DLERROR 1
34351 _ACEOF
34352
34353 fi
34354
34355
34356
34357 fi
34358 done
34359
34360 fi
34361 fi
34362
34363 if test "$HAVE_DL_FUNCS" = 0; then
34364 if test "$HAVE_SHL_FUNCS" = 0; then
34365 if test "$USE_UNIX" = 1; then
34366 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34367 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34368 wxUSE_DYNAMIC_LOADER=no
34369 wxUSE_DYNLIB_CLASS=no
34370 else
34371 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34372 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34373 fi
34374 fi
34375 fi
34376 fi
34377 fi
34378
34379 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34380 cat >>confdefs.h <<\_ACEOF
34381 #define wxUSE_DYNAMIC_LOADER 1
34382 _ACEOF
34383
34384 fi
34385 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34386 cat >>confdefs.h <<\_ACEOF
34387 #define wxUSE_DYNLIB_CLASS 1
34388 _ACEOF
34389
34390 fi
34391
34392
34393
34394 if test "$wxUSE_PLUGINS" = "yes" ; then
34395 if test "$wxUSE_SHARED" = "no" ; then
34396 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34397 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34398 wxUSE_PLUGINS=no
34399 fi
34400 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34401 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34402 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34403 wxUSE_PLUGINS=no
34404 fi
34405 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34406 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34407 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34408 wxUSE_PLUGINS=no
34409 fi
34410 if test "$wxUSE_PLUGINS" = "yes" ; then
34411 cat >>confdefs.h <<\_ACEOF
34412 #define wxUSE_PLUGINS 1
34413 _ACEOF
34414
34415 fi
34416 fi
34417
34418
34419 if test "$wxUSE_STL" = "yes"; then
34420 cat >>confdefs.h <<\_ACEOF
34421 #define wxUSE_STL 1
34422 _ACEOF
34423
34424 fi
34425
34426 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34427 cat >>confdefs.h <<\_ACEOF
34428 #define wxUSE_APPLE_IEEE 1
34429 _ACEOF
34430
34431 fi
34432
34433 if test "$wxUSE_TIMER" = "yes"; then
34434 cat >>confdefs.h <<\_ACEOF
34435 #define wxUSE_TIMER 1
34436 _ACEOF
34437
34438 fi
34439
34440 WITH_PLUGIN_SDL=0
34441 if test "$wxUSE_SOUND" = "yes"; then
34442 if test "$USE_UNIX" = "1" ; then
34443
34444 for ac_header in sys/soundcard.h
34445 do
34446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34448 echo "$as_me:$LINENO: checking for $ac_header" >&5
34449 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34451 echo $ECHO_N "(cached) $ECHO_C" >&6
34452 fi
34453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34455 else
34456 # Is the header compilable?
34457 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34458 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34459 cat >conftest.$ac_ext <<_ACEOF
34460 /* confdefs.h. */
34461 _ACEOF
34462 cat confdefs.h >>conftest.$ac_ext
34463 cat >>conftest.$ac_ext <<_ACEOF
34464 /* end confdefs.h. */
34465 $ac_includes_default
34466 #include <$ac_header>
34467 _ACEOF
34468 rm -f conftest.$ac_objext
34469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34470 (eval $ac_compile) 2>conftest.er1
34471 ac_status=$?
34472 grep -v '^ *+' conftest.er1 >conftest.err
34473 rm -f conftest.er1
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } &&
34477 { ac_try='test -z "$ac_c_werror_flag"
34478 || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34481 ac_status=$?
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try='test -s conftest.$ac_objext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34487 ac_status=$?
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 ac_header_compiler=yes
34491 else
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.$ac_ext >&5
34494
34495 ac_header_compiler=no
34496 fi
34497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34499 echo "${ECHO_T}$ac_header_compiler" >&6
34500
34501 # Is the header present?
34502 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34504 cat >conftest.$ac_ext <<_ACEOF
34505 /* confdefs.h. */
34506 _ACEOF
34507 cat confdefs.h >>conftest.$ac_ext
34508 cat >>conftest.$ac_ext <<_ACEOF
34509 /* end confdefs.h. */
34510 #include <$ac_header>
34511 _ACEOF
34512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34514 ac_status=$?
34515 grep -v '^ *+' conftest.er1 >conftest.err
34516 rm -f conftest.er1
34517 cat conftest.err >&5
34518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519 (exit $ac_status); } >/dev/null; then
34520 if test -s conftest.err; then
34521 ac_cpp_err=$ac_c_preproc_warn_flag
34522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34523 else
34524 ac_cpp_err=
34525 fi
34526 else
34527 ac_cpp_err=yes
34528 fi
34529 if test -z "$ac_cpp_err"; then
34530 ac_header_preproc=yes
34531 else
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34534
34535 ac_header_preproc=no
34536 fi
34537 rm -f conftest.err conftest.$ac_ext
34538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34539 echo "${ECHO_T}$ac_header_preproc" >&6
34540
34541 # So? What about this header?
34542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34543 yes:no: )
34544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34548 ac_header_preproc=yes
34549 ;;
34550 no:yes:* )
34551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34563 (
34564 cat <<\_ASBOX
34565 ## ----------------------------------------- ##
34566 ## Report this to wx-dev@lists.wxwidgets.org ##
34567 ## ----------------------------------------- ##
34568 _ASBOX
34569 ) |
34570 sed "s/^/$as_me: WARNING: /" >&2
34571 ;;
34572 esac
34573 echo "$as_me:$LINENO: checking for $ac_header" >&5
34574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34576 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 else
34578 eval "$as_ac_Header=\$ac_header_preproc"
34579 fi
34580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34581 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34582
34583 fi
34584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34585 cat >>confdefs.h <<_ACEOF
34586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34587 _ACEOF
34588
34589 fi
34590
34591 done
34592
34593
34594 if test "$wxUSE_LIBSDL" != "no"; then
34595
34596 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34597 if test "${with_sdl_prefix+set}" = set; then
34598 withval="$with_sdl_prefix"
34599 sdl_prefix="$withval"
34600 else
34601 sdl_prefix=""
34602 fi;
34603
34604 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34605 if test "${with_sdl_exec_prefix+set}" = set; then
34606 withval="$with_sdl_exec_prefix"
34607 sdl_exec_prefix="$withval"
34608 else
34609 sdl_exec_prefix=""
34610 fi;
34611 # Check whether --enable-sdltest or --disable-sdltest was given.
34612 if test "${enable_sdltest+set}" = set; then
34613 enableval="$enable_sdltest"
34614
34615 else
34616 enable_sdltest=yes
34617 fi;
34618
34619 if test x$sdl_exec_prefix != x ; then
34620 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34621 if test x${SDL_CONFIG+set} != xset ; then
34622 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34623 fi
34624 fi
34625 if test x$sdl_prefix != x ; then
34626 sdl_args="$sdl_args --prefix=$sdl_prefix"
34627 if test x${SDL_CONFIG+set} != xset ; then
34628 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34629 fi
34630 fi
34631
34632
34633 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34634 # Extract the first word of "sdl-config", so it can be a program name with args.
34635 set dummy sdl-config; ac_word=$2
34636 echo "$as_me:$LINENO: checking for $ac_word" >&5
34637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34638 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34639 echo $ECHO_N "(cached) $ECHO_C" >&6
34640 else
34641 case $SDL_CONFIG in
34642 [\\/]* | ?:[\\/]*)
34643 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34644 ;;
34645 *)
34646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34647 for as_dir in $PATH
34648 do
34649 IFS=$as_save_IFS
34650 test -z "$as_dir" && as_dir=.
34651 for ac_exec_ext in '' $ac_executable_extensions; do
34652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34653 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34655 break 2
34656 fi
34657 done
34658 done
34659
34660 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34661 ;;
34662 esac
34663 fi
34664 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34665
34666 if test -n "$SDL_CONFIG"; then
34667 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34668 echo "${ECHO_T}$SDL_CONFIG" >&6
34669 else
34670 echo "$as_me:$LINENO: result: no" >&5
34671 echo "${ECHO_T}no" >&6
34672 fi
34673
34674 min_sdl_version=1.2.0
34675 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34676 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34677 no_sdl=""
34678 if test "$SDL_CONFIG" = "no" ; then
34679 no_sdl=yes
34680 else
34681 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34682 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34683
34684 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34685 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34686 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34688 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34690 if test "x$enable_sdltest" = "xyes" ; then
34691 ac_save_CFLAGS="$CFLAGS"
34692 ac_save_CXXFLAGS="$CXXFLAGS"
34693 ac_save_LIBS="$LIBS"
34694 CFLAGS="$CFLAGS $SDL_CFLAGS"
34695 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34696 LIBS="$LIBS $SDL_LIBS"
34697 rm -f conf.sdltest
34698 if test "$cross_compiling" = yes; then
34699 echo $ac_n "cross compiling; assumed OK... $ac_c"
34700 else
34701 cat >conftest.$ac_ext <<_ACEOF
34702 /* confdefs.h. */
34703 _ACEOF
34704 cat confdefs.h >>conftest.$ac_ext
34705 cat >>conftest.$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34707
34708 #include <stdio.h>
34709 #include <stdlib.h>
34710 #include <string.h>
34711 #include "SDL.h"
34712
34713 char*
34714 my_strdup (char *str)
34715 {
34716 char *new_str;
34717
34718 if (str)
34719 {
34720 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34721 strcpy (new_str, str);
34722 }
34723 else
34724 new_str = NULL;
34725
34726 return new_str;
34727 }
34728
34729 int main (int argc, char *argv[])
34730 {
34731 int major, minor, micro;
34732 char *tmp_version;
34733
34734 /* This hangs on some systems (?)
34735 system ("touch conf.sdltest");
34736 */
34737 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34738
34739 /* HP/UX 9 (%@#!) writes to sscanf strings */
34740 tmp_version = my_strdup("$min_sdl_version");
34741 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34742 printf("%s, bad version string\n", "$min_sdl_version");
34743 exit(1);
34744 }
34745
34746 if (($sdl_major_version > major) ||
34747 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34748 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34749 {
34750 return 0;
34751 }
34752 else
34753 {
34754 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34755 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34756 printf("*** best to upgrade to the required version.\n");
34757 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34758 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34759 printf("*** config.cache before re-running configure\n");
34760 return 1;
34761 }
34762 }
34763
34764
34765 _ACEOF
34766 rm -f conftest$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>&5
34769 ac_status=$?
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34773 (eval $ac_try) 2>&5
34774 ac_status=$?
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); }; }; then
34777 :
34778 else
34779 echo "$as_me: program exited with status $ac_status" >&5
34780 echo "$as_me: failed program was:" >&5
34781 sed 's/^/| /' conftest.$ac_ext >&5
34782
34783 ( exit $ac_status )
34784 no_sdl=yes
34785 fi
34786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34787 fi
34788 CFLAGS="$ac_save_CFLAGS"
34789 CXXFLAGS="$ac_save_CXXFLAGS"
34790 LIBS="$ac_save_LIBS"
34791 fi
34792 fi
34793 if test "x$no_sdl" = x ; then
34794 echo "$as_me:$LINENO: result: yes" >&5
34795 echo "${ECHO_T}yes" >&6
34796
34797 EXTRALIBS_SDL="$SDL_LIBS"
34798 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34799 cat >>confdefs.h <<\_ACEOF
34800 #define wxUSE_LIBSDL 1
34801 _ACEOF
34802
34803
34804 else
34805 echo "$as_me:$LINENO: result: no" >&5
34806 echo "${ECHO_T}no" >&6
34807 if test "$SDL_CONFIG" = "no" ; then
34808 echo "*** The sdl-config script installed by SDL could not be found"
34809 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34810 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34811 echo "*** full path to sdl-config."
34812 else
34813 if test -f conf.sdltest ; then
34814 :
34815 else
34816 echo "*** Could not run SDL test program, checking why..."
34817 CFLAGS="$CFLAGS $SDL_CFLAGS"
34818 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34819 LIBS="$LIBS $SDL_LIBS"
34820 cat >conftest.$ac_ext <<_ACEOF
34821 /* confdefs.h. */
34822 _ACEOF
34823 cat confdefs.h >>conftest.$ac_ext
34824 cat >>conftest.$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34826
34827 #include <stdio.h>
34828 #include "SDL.h"
34829
34830 int main(int argc, char *argv[])
34831 { return 0; }
34832 #undef main
34833 #define main K_and_R_C_main
34834
34835 int
34836 main ()
34837 {
34838 return 0;
34839 ;
34840 return 0;
34841 }
34842 _ACEOF
34843 rm -f conftest.$ac_objext conftest$ac_exeext
34844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34845 (eval $ac_link) 2>conftest.er1
34846 ac_status=$?
34847 grep -v '^ *+' conftest.er1 >conftest.err
34848 rm -f conftest.er1
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } &&
34852 { ac_try='test -z "$ac_c_werror_flag"
34853 || test ! -s conftest.err'
34854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855 (eval $ac_try) 2>&5
34856 ac_status=$?
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; } &&
34859 { ac_try='test -s conftest$ac_exeext'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34862 ac_status=$?
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; }; then
34865 echo "*** The test program compiled, but did not run. This usually means"
34866 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34867 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34868 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34869 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34870 echo "*** is required on your system"
34871 echo "***"
34872 echo "*** If you have an old version installed, it is best to remove it, although"
34873 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34874 else
34875 echo "$as_me: failed program was:" >&5
34876 sed 's/^/| /' conftest.$ac_ext >&5
34877
34878 echo "*** The test program failed to compile or link. See the file config.log for the"
34879 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34880 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34881 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34882 fi
34883 rm -f conftest.err conftest.$ac_objext \
34884 conftest$ac_exeext conftest.$ac_ext
34885 CFLAGS="$ac_save_CFLAGS"
34886 CXXFLAGS="$ac_save_CXXFLAGS"
34887 LIBS="$ac_save_LIBS"
34888 fi
34889 fi
34890 SDL_CFLAGS=""
34891 SDL_LIBS=""
34892 wxUSE_LIBSDL="no"
34893 fi
34894
34895
34896 rm -f conf.sdltest
34897
34898 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34899 WITH_PLUGIN_SDL=1
34900 fi
34901 fi
34902 fi
34903
34904 cat >>confdefs.h <<\_ACEOF
34905 #define wxUSE_SOUND 1
34906 _ACEOF
34907
34908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34909 fi
34910
34911 if test "$WXGTK20" = 1; then
34912 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34913 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34914
34915
34916 succeeded=no
34917
34918 if test -z "$PKG_CONFIG"; then
34919 # Extract the first word of "pkg-config", so it can be a program name with args.
34920 set dummy pkg-config; ac_word=$2
34921 echo "$as_me:$LINENO: checking for $ac_word" >&5
34922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34923 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 else
34926 case $PKG_CONFIG in
34927 [\\/]* | ?:[\\/]*)
34928 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34929 ;;
34930 *)
34931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34932 for as_dir in $PATH
34933 do
34934 IFS=$as_save_IFS
34935 test -z "$as_dir" && as_dir=.
34936 for ac_exec_ext in '' $ac_executable_extensions; do
34937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34938 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34940 break 2
34941 fi
34942 done
34943 done
34944
34945 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
34946 ;;
34947 esac
34948 fi
34949 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34950
34951 if test -n "$PKG_CONFIG"; then
34952 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34953 echo "${ECHO_T}$PKG_CONFIG" >&6
34954 else
34955 echo "$as_me:$LINENO: result: no" >&5
34956 echo "${ECHO_T}no" >&6
34957 fi
34958
34959 fi
34960
34961 if test "$PKG_CONFIG" = "no" ; then
34962 echo "*** The pkg-config script could not be found. Make sure it is"
34963 echo "*** in your path, or set the PKG_CONFIG environment variable"
34964 echo "*** to the full path to pkg-config."
34965 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
34966 else
34967 PKG_CONFIG_MIN_VERSION=0.9.0
34968 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
34969 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
34970 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
34971
34972 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
34973 echo "$as_me:$LINENO: result: yes" >&5
34974 echo "${ECHO_T}yes" >&6
34975 succeeded=yes
34976
34977 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
34978 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
34979 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
34980 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
34981 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
34982
34983 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
34984 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
34985 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
34986 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
34987 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
34988 else
34989 LIBGNOMEPRINTUI_CFLAGS=""
34990 LIBGNOMEPRINTUI_LIBS=""
34991 ## If we have a custom action on failure, don't print errors, but
34992 ## do set a variable so people can do so.
34993 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34994
34995 fi
34996
34997
34998
34999 else
35000 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
35001 echo "*** See http://www.freedesktop.org/software/pkgconfig"
35002 fi
35003 fi
35004
35005 if test $succeeded = yes; then
35006
35007 CXXFLAGS="$CXXFLAGS $LIBGNOMEPRINTUI_CFLAGS"
35008 cat >>confdefs.h <<\_ACEOF
35009 #define wxUSE_LIBGNOMEPRINT 1
35010 _ACEOF
35011
35012
35013 else
35014
35015 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
35016 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
35017 wxUSE_LIBGNOMEPRINT="no"
35018
35019
35020 fi
35021
35022 fi
35023 fi
35024 fi
35025
35026
35027 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
35028 cat >>confdefs.h <<\_ACEOF
35029 #define wxUSE_CMDLINE_PARSER 1
35030 _ACEOF
35031
35032 fi
35033
35034 if test "$wxUSE_STOPWATCH" = "yes"; then
35035 cat >>confdefs.h <<\_ACEOF
35036 #define wxUSE_STOPWATCH 1
35037 _ACEOF
35038
35039 fi
35040
35041 if test "$wxUSE_DATETIME" = "yes"; then
35042 cat >>confdefs.h <<\_ACEOF
35043 #define wxUSE_DATETIME 1
35044 _ACEOF
35045
35046 fi
35047
35048 if test "$wxUSE_FILE" = "yes"; then
35049 cat >>confdefs.h <<\_ACEOF
35050 #define wxUSE_FILE 1
35051 _ACEOF
35052
35053 fi
35054
35055 if test "$wxUSE_FFILE" = "yes"; then
35056 cat >>confdefs.h <<\_ACEOF
35057 #define wxUSE_FFILE 1
35058 _ACEOF
35059
35060 fi
35061
35062 if test "$wxUSE_FILESYSTEM" = "yes"; then
35063 cat >>confdefs.h <<\_ACEOF
35064 #define wxUSE_FILESYSTEM 1
35065 _ACEOF
35066
35067 fi
35068
35069 if test "$wxUSE_FS_ZIP" = "yes"; then
35070 cat >>confdefs.h <<\_ACEOF
35071 #define wxUSE_FS_ZIP 1
35072 _ACEOF
35073
35074 fi
35075
35076 if test "$wxUSE_ZIPSTREAM" = "yes"; then
35077 cat >>confdefs.h <<\_ACEOF
35078 #define wxUSE_ZIPSTREAM 1
35079 _ACEOF
35080
35081 fi
35082
35083 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35084 cat >>confdefs.h <<\_ACEOF
35085 #define wxUSE_ON_FATAL_EXCEPTION 1
35086 _ACEOF
35087
35088 fi
35089
35090 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35091 cat >>confdefs.h <<\_ACEOF
35092 #define wxUSE_SNGLINST_CHECKER 1
35093 _ACEOF
35094
35095 fi
35096
35097 if test "$wxUSE_BUSYINFO" = "yes"; then
35098 cat >>confdefs.h <<\_ACEOF
35099 #define wxUSE_BUSYINFO 1
35100 _ACEOF
35101
35102 fi
35103
35104 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
35105 cat >>confdefs.h <<\_ACEOF
35106 #define wxUSE_STD_IOSTREAM 1
35107 _ACEOF
35108
35109 fi
35110
35111 if test "$wxUSE_TEXTBUFFER" = "yes"; then
35112 cat >>confdefs.h <<\_ACEOF
35113 #define wxUSE_TEXTBUFFER 1
35114 _ACEOF
35115
35116 fi
35117
35118 if test "$wxUSE_TEXTFILE" = "yes"; then
35119 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
35120 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
35121 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
35122 else
35123 cat >>confdefs.h <<\_ACEOF
35124 #define wxUSE_TEXTFILE 1
35125 _ACEOF
35126
35127 fi
35128 fi
35129
35130 if test "$wxUSE_CONFIG" = "yes" ; then
35131 if test "$wxUSE_TEXTFILE" != "yes"; then
35132 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
35133 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
35134 else
35135 cat >>confdefs.h <<\_ACEOF
35136 #define wxUSE_CONFIG 1
35137 _ACEOF
35138
35139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
35140 fi
35141 fi
35142
35143 if test "$wxUSE_INTL" = "yes" ; then
35144 if test "$wxUSE_FILE" != "yes"; then
35145 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
35146 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
35147 else
35148 cat >>confdefs.h <<\_ACEOF
35149 #define wxUSE_INTL 1
35150 _ACEOF
35151
35152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
35153 GUIDIST="$GUIDIST INTL_DIST"
35154 fi
35155 fi
35156
35157 if test "$wxUSE_LOG" = "yes"; then
35158 cat >>confdefs.h <<\_ACEOF
35159 #define wxUSE_LOG 1
35160 _ACEOF
35161
35162
35163 if test "$wxUSE_LOGGUI" = "yes"; then
35164 cat >>confdefs.h <<\_ACEOF
35165 #define wxUSE_LOGGUI 1
35166 _ACEOF
35167
35168 fi
35169
35170 if test "$wxUSE_LOGWINDOW" = "yes"; then
35171 cat >>confdefs.h <<\_ACEOF
35172 #define wxUSE_LOGWINDOW 1
35173 _ACEOF
35174
35175 fi
35176
35177 if test "$wxUSE_LOGDIALOG" = "yes"; then
35178 cat >>confdefs.h <<\_ACEOF
35179 #define wxUSE_LOG_DIALOG 1
35180 _ACEOF
35181
35182 fi
35183 fi
35184
35185 if test "$wxUSE_LONGLONG" = "yes"; then
35186 cat >>confdefs.h <<\_ACEOF
35187 #define wxUSE_LONGLONG 1
35188 _ACEOF
35189
35190 fi
35191
35192 if test "$wxUSE_GEOMETRY" = "yes"; then
35193 cat >>confdefs.h <<\_ACEOF
35194 #define wxUSE_GEOMETRY 1
35195 _ACEOF
35196
35197 fi
35198
35199 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
35200 cat >>confdefs.h <<\_ACEOF
35201 #define wxUSE_DIALUP_MANAGER 1
35202 _ACEOF
35203
35204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35205 fi
35206
35207 if test "$wxUSE_STREAMS" = "yes" ; then
35208 cat >>confdefs.h <<\_ACEOF
35209 #define wxUSE_STREAMS 1
35210 _ACEOF
35211
35212 fi
35213
35214
35215 if test "$wxUSE_DATETIME" = "yes"; then
35216
35217 for ac_func in strptime
35218 do
35219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35220 echo "$as_me:$LINENO: checking for $ac_func" >&5
35221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35222 if eval "test \"\${$as_ac_var+set}\" = set"; then
35223 echo $ECHO_N "(cached) $ECHO_C" >&6
35224 else
35225 cat >conftest.$ac_ext <<_ACEOF
35226 /* confdefs.h. */
35227 _ACEOF
35228 cat confdefs.h >>conftest.$ac_ext
35229 cat >>conftest.$ac_ext <<_ACEOF
35230 /* end confdefs.h. */
35231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35233 #define $ac_func innocuous_$ac_func
35234
35235 /* System header to define __stub macros and hopefully few prototypes,
35236 which can conflict with char $ac_func (); below.
35237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35238 <limits.h> exists even on freestanding compilers. */
35239
35240 #ifdef __STDC__
35241 # include <limits.h>
35242 #else
35243 # include <assert.h>
35244 #endif
35245
35246 #undef $ac_func
35247
35248 /* Override any gcc2 internal prototype to avoid an error. */
35249 #ifdef __cplusplus
35250 extern "C"
35251 {
35252 #endif
35253 /* We use char because int might match the return type of a gcc2
35254 builtin and then its argument prototype would still apply. */
35255 char $ac_func ();
35256 /* The GNU C library defines this for functions which it implements
35257 to always fail with ENOSYS. Some functions are actually named
35258 something starting with __ and the normal name is an alias. */
35259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35260 choke me
35261 #else
35262 char (*f) () = $ac_func;
35263 #endif
35264 #ifdef __cplusplus
35265 }
35266 #endif
35267
35268 int
35269 main ()
35270 {
35271 return f != $ac_func;
35272 ;
35273 return 0;
35274 }
35275 _ACEOF
35276 rm -f conftest.$ac_objext conftest$ac_exeext
35277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35278 (eval $ac_link) 2>conftest.er1
35279 ac_status=$?
35280 grep -v '^ *+' conftest.er1 >conftest.err
35281 rm -f conftest.er1
35282 cat conftest.err >&5
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); } &&
35285 { ac_try='test -z "$ac_c_werror_flag"
35286 || test ! -s conftest.err'
35287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35288 (eval $ac_try) 2>&5
35289 ac_status=$?
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); }; } &&
35292 { ac_try='test -s conftest$ac_exeext'
35293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35294 (eval $ac_try) 2>&5
35295 ac_status=$?
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); }; }; then
35298 eval "$as_ac_var=yes"
35299 else
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.$ac_ext >&5
35302
35303 eval "$as_ac_var=no"
35304 fi
35305 rm -f conftest.err conftest.$ac_objext \
35306 conftest$ac_exeext conftest.$ac_ext
35307 fi
35308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35310 if test `eval echo '${'$as_ac_var'}'` = yes; then
35311 cat >>confdefs.h <<_ACEOF
35312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35313 _ACEOF
35314
35315 fi
35316 done
35317
35318
35319 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
35320 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
35321 if test "${wx_cv_var_timezone+set}" = set; then
35322 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 else
35324
35325 cat >conftest.$ac_ext <<_ACEOF
35326 /* confdefs.h. */
35327 _ACEOF
35328 cat confdefs.h >>conftest.$ac_ext
35329 cat >>conftest.$ac_ext <<_ACEOF
35330 /* end confdefs.h. */
35331
35332 #include <time.h>
35333
35334 int
35335 main ()
35336 {
35337
35338 int tz;
35339 tz = timezone;
35340
35341 ;
35342 return 0;
35343 }
35344 _ACEOF
35345 rm -f conftest.$ac_objext
35346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35347 (eval $ac_compile) 2>conftest.er1
35348 ac_status=$?
35349 grep -v '^ *+' conftest.er1 >conftest.err
35350 rm -f conftest.er1
35351 cat conftest.err >&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); } &&
35354 { ac_try='test -z "$ac_c_werror_flag"
35355 || test ! -s conftest.err'
35356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35357 (eval $ac_try) 2>&5
35358 ac_status=$?
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); }; } &&
35361 { ac_try='test -s conftest.$ac_objext'
35362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35363 (eval $ac_try) 2>&5
35364 ac_status=$?
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); }; }; then
35367
35368 wx_cv_var_timezone=timezone
35369
35370 else
35371 echo "$as_me: failed program was:" >&5
35372 sed 's/^/| /' conftest.$ac_ext >&5
35373
35374
35375 cat >conftest.$ac_ext <<_ACEOF
35376 /* confdefs.h. */
35377 _ACEOF
35378 cat confdefs.h >>conftest.$ac_ext
35379 cat >>conftest.$ac_ext <<_ACEOF
35380 /* end confdefs.h. */
35381
35382 #include <time.h>
35383
35384 int
35385 main ()
35386 {
35387
35388 int tz;
35389 tz = _timezone;
35390
35391 ;
35392 return 0;
35393 }
35394 _ACEOF
35395 rm -f conftest.$ac_objext
35396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35397 (eval $ac_compile) 2>conftest.er1
35398 ac_status=$?
35399 grep -v '^ *+' conftest.er1 >conftest.err
35400 rm -f conftest.er1
35401 cat conftest.err >&5
35402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35403 (exit $ac_status); } &&
35404 { ac_try='test -z "$ac_c_werror_flag"
35405 || test ! -s conftest.err'
35406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35407 (eval $ac_try) 2>&5
35408 ac_status=$?
35409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35410 (exit $ac_status); }; } &&
35411 { ac_try='test -s conftest.$ac_objext'
35412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35413 (eval $ac_try) 2>&5
35414 ac_status=$?
35415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35416 (exit $ac_status); }; }; then
35417
35418 wx_cv_var_timezone=_timezone
35419
35420 else
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.$ac_ext >&5
35423
35424
35425 cat >conftest.$ac_ext <<_ACEOF
35426 /* confdefs.h. */
35427 _ACEOF
35428 cat confdefs.h >>conftest.$ac_ext
35429 cat >>conftest.$ac_ext <<_ACEOF
35430 /* end confdefs.h. */
35431
35432 #include <time.h>
35433
35434 int
35435 main ()
35436 {
35437
35438 int tz;
35439 tz = __timezone;
35440
35441 ;
35442 return 0;
35443 }
35444 _ACEOF
35445 rm -f conftest.$ac_objext
35446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35447 (eval $ac_compile) 2>conftest.er1
35448 ac_status=$?
35449 grep -v '^ *+' conftest.er1 >conftest.err
35450 rm -f conftest.er1
35451 cat conftest.err >&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } &&
35454 { ac_try='test -z "$ac_c_werror_flag"
35455 || test ! -s conftest.err'
35456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457 (eval $ac_try) 2>&5
35458 ac_status=$?
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); }; } &&
35461 { ac_try='test -s conftest.$ac_objext'
35462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35463 (eval $ac_try) 2>&5
35464 ac_status=$?
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); }; }; then
35467
35468 wx_cv_var_timezone=__timezone
35469
35470 else
35471 echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.$ac_ext >&5
35473
35474
35475 if test "$USE_DOS" = 0 ; then
35476 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35477 echo "$as_me: WARNING: no timezone variable" >&2;}
35478 fi
35479
35480
35481 fi
35482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35483
35484
35485 fi
35486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35487
35488
35489 fi
35490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35491
35492
35493 fi
35494 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35495 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35496
35497 if test "x$wx_cv_var_timezone" != x ; then
35498 cat >>confdefs.h <<_ACEOF
35499 #define WX_TIMEZONE $wx_cv_var_timezone
35500 _ACEOF
35501
35502 fi
35503
35504
35505 for ac_func in localtime
35506 do
35507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35508 echo "$as_me:$LINENO: checking for $ac_func" >&5
35509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35510 if eval "test \"\${$as_ac_var+set}\" = set"; then
35511 echo $ECHO_N "(cached) $ECHO_C" >&6
35512 else
35513 cat >conftest.$ac_ext <<_ACEOF
35514 /* confdefs.h. */
35515 _ACEOF
35516 cat confdefs.h >>conftest.$ac_ext
35517 cat >>conftest.$ac_ext <<_ACEOF
35518 /* end confdefs.h. */
35519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35521 #define $ac_func innocuous_$ac_func
35522
35523 /* System header to define __stub macros and hopefully few prototypes,
35524 which can conflict with char $ac_func (); below.
35525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35526 <limits.h> exists even on freestanding compilers. */
35527
35528 #ifdef __STDC__
35529 # include <limits.h>
35530 #else
35531 # include <assert.h>
35532 #endif
35533
35534 #undef $ac_func
35535
35536 /* Override any gcc2 internal prototype to avoid an error. */
35537 #ifdef __cplusplus
35538 extern "C"
35539 {
35540 #endif
35541 /* We use char because int might match the return type of a gcc2
35542 builtin and then its argument prototype would still apply. */
35543 char $ac_func ();
35544 /* The GNU C library defines this for functions which it implements
35545 to always fail with ENOSYS. Some functions are actually named
35546 something starting with __ and the normal name is an alias. */
35547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35548 choke me
35549 #else
35550 char (*f) () = $ac_func;
35551 #endif
35552 #ifdef __cplusplus
35553 }
35554 #endif
35555
35556 int
35557 main ()
35558 {
35559 return f != $ac_func;
35560 ;
35561 return 0;
35562 }
35563 _ACEOF
35564 rm -f conftest.$ac_objext conftest$ac_exeext
35565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35566 (eval $ac_link) 2>conftest.er1
35567 ac_status=$?
35568 grep -v '^ *+' conftest.er1 >conftest.err
35569 rm -f conftest.er1
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } &&
35573 { ac_try='test -z "$ac_c_werror_flag"
35574 || test ! -s conftest.err'
35575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35576 (eval $ac_try) 2>&5
35577 ac_status=$?
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); }; } &&
35580 { ac_try='test -s conftest$ac_exeext'
35581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35582 (eval $ac_try) 2>&5
35583 ac_status=$?
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); }; }; then
35586 eval "$as_ac_var=yes"
35587 else
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35590
35591 eval "$as_ac_var=no"
35592 fi
35593 rm -f conftest.err conftest.$ac_objext \
35594 conftest$ac_exeext conftest.$ac_ext
35595 fi
35596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35598 if test `eval echo '${'$as_ac_var'}'` = yes; then
35599 cat >>confdefs.h <<_ACEOF
35600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35601 _ACEOF
35602
35603 fi
35604 done
35605
35606
35607 if test "$ac_cv_func_localtime" = "yes"; then
35608 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35609 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35610 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35611 echo $ECHO_N "(cached) $ECHO_C" >&6
35612 else
35613
35614 cat >conftest.$ac_ext <<_ACEOF
35615 /* confdefs.h. */
35616 _ACEOF
35617 cat confdefs.h >>conftest.$ac_ext
35618 cat >>conftest.$ac_ext <<_ACEOF
35619 /* end confdefs.h. */
35620
35621 #include <time.h>
35622
35623 int
35624 main ()
35625 {
35626
35627 struct tm tm;
35628 tm.tm_gmtoff++;
35629
35630 ;
35631 return 0;
35632 }
35633 _ACEOF
35634 rm -f conftest.$ac_objext
35635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35636 (eval $ac_compile) 2>conftest.er1
35637 ac_status=$?
35638 grep -v '^ *+' conftest.er1 >conftest.err
35639 rm -f conftest.er1
35640 cat conftest.err >&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); } &&
35643 { ac_try='test -z "$ac_c_werror_flag"
35644 || test ! -s conftest.err'
35645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35646 (eval $ac_try) 2>&5
35647 ac_status=$?
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); }; } &&
35650 { ac_try='test -s conftest.$ac_objext'
35651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652 (eval $ac_try) 2>&5
35653 ac_status=$?
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); }; }; then
35656
35657 wx_cv_struct_tm_has_gmtoff=yes
35658
35659 else
35660 echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.$ac_ext >&5
35662
35663 wx_cv_struct_tm_has_gmtoff=no
35664
35665 fi
35666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35667
35668 fi
35669 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35670 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35671 fi
35672
35673 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35674 cat >>confdefs.h <<\_ACEOF
35675 #define WX_GMTOFF_IN_TM 1
35676 _ACEOF
35677
35678 fi
35679
35680
35681
35682 for ac_func in gettimeofday ftime
35683 do
35684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35685 echo "$as_me:$LINENO: checking for $ac_func" >&5
35686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35687 if eval "test \"\${$as_ac_var+set}\" = set"; then
35688 echo $ECHO_N "(cached) $ECHO_C" >&6
35689 else
35690 cat >conftest.$ac_ext <<_ACEOF
35691 /* confdefs.h. */
35692 _ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35698 #define $ac_func innocuous_$ac_func
35699
35700 /* System header to define __stub macros and hopefully few prototypes,
35701 which can conflict with char $ac_func (); below.
35702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35703 <limits.h> exists even on freestanding compilers. */
35704
35705 #ifdef __STDC__
35706 # include <limits.h>
35707 #else
35708 # include <assert.h>
35709 #endif
35710
35711 #undef $ac_func
35712
35713 /* Override any gcc2 internal prototype to avoid an error. */
35714 #ifdef __cplusplus
35715 extern "C"
35716 {
35717 #endif
35718 /* We use char because int might match the return type of a gcc2
35719 builtin and then its argument prototype would still apply. */
35720 char $ac_func ();
35721 /* The GNU C library defines this for functions which it implements
35722 to always fail with ENOSYS. Some functions are actually named
35723 something starting with __ and the normal name is an alias. */
35724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35725 choke me
35726 #else
35727 char (*f) () = $ac_func;
35728 #endif
35729 #ifdef __cplusplus
35730 }
35731 #endif
35732
35733 int
35734 main ()
35735 {
35736 return f != $ac_func;
35737 ;
35738 return 0;
35739 }
35740 _ACEOF
35741 rm -f conftest.$ac_objext conftest$ac_exeext
35742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35743 (eval $ac_link) 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } &&
35750 { ac_try='test -z "$ac_c_werror_flag"
35751 || test ! -s conftest.err'
35752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753 (eval $ac_try) 2>&5
35754 ac_status=$?
35755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756 (exit $ac_status); }; } &&
35757 { ac_try='test -s conftest$ac_exeext'
35758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759 (eval $ac_try) 2>&5
35760 ac_status=$?
35761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762 (exit $ac_status); }; }; then
35763 eval "$as_ac_var=yes"
35764 else
35765 echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 eval "$as_ac_var=no"
35769 fi
35770 rm -f conftest.err conftest.$ac_objext \
35771 conftest$ac_exeext conftest.$ac_ext
35772 fi
35773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35775 if test `eval echo '${'$as_ac_var'}'` = yes; then
35776 cat >>confdefs.h <<_ACEOF
35777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35778 _ACEOF
35779 break
35780 fi
35781 done
35782
35783
35784 if test "$ac_cv_func_gettimeofday" = "yes"; then
35785 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35786 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35787 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35788 echo $ECHO_N "(cached) $ECHO_C" >&6
35789 else
35790
35791
35792
35793 ac_ext=cc
35794 ac_cpp='$CXXCPP $CPPFLAGS'
35795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35798
35799
35800 cat >conftest.$ac_ext <<_ACEOF
35801 /* confdefs.h. */
35802 _ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35806
35807 #include <sys/time.h>
35808 #include <unistd.h>
35809
35810 int
35811 main ()
35812 {
35813
35814 struct timeval tv;
35815 gettimeofday(&tv, NULL);
35816
35817 ;
35818 return 0;
35819 }
35820 _ACEOF
35821 rm -f conftest.$ac_objext
35822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35823 (eval $ac_compile) 2>conftest.er1
35824 ac_status=$?
35825 grep -v '^ *+' conftest.er1 >conftest.err
35826 rm -f conftest.er1
35827 cat conftest.err >&5
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); } &&
35830 { ac_try='test -z "$ac_cxx_werror_flag"
35831 || test ! -s conftest.err'
35832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35833 (eval $ac_try) 2>&5
35834 ac_status=$?
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); }; } &&
35837 { ac_try='test -s conftest.$ac_objext'
35838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839 (eval $ac_try) 2>&5
35840 ac_status=$?
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); }; }; then
35843 wx_cv_func_gettimeofday_has_2_args=yes
35844 else
35845 echo "$as_me: failed program was:" >&5
35846 sed 's/^/| /' conftest.$ac_ext >&5
35847
35848 cat >conftest.$ac_ext <<_ACEOF
35849 /* confdefs.h. */
35850 _ACEOF
35851 cat confdefs.h >>conftest.$ac_ext
35852 cat >>conftest.$ac_ext <<_ACEOF
35853 /* end confdefs.h. */
35854
35855 #include <sys/time.h>
35856 #include <unistd.h>
35857
35858 int
35859 main ()
35860 {
35861
35862 struct timeval tv;
35863 gettimeofday(&tv);
35864
35865 ;
35866 return 0;
35867 }
35868 _ACEOF
35869 rm -f conftest.$ac_objext
35870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35871 (eval $ac_compile) 2>conftest.er1
35872 ac_status=$?
35873 grep -v '^ *+' conftest.er1 >conftest.err
35874 rm -f conftest.er1
35875 cat conftest.err >&5
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); } &&
35878 { ac_try='test -z "$ac_cxx_werror_flag"
35879 || test ! -s conftest.err'
35880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35881 (eval $ac_try) 2>&5
35882 ac_status=$?
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); }; } &&
35885 { ac_try='test -s conftest.$ac_objext'
35886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35887 (eval $ac_try) 2>&5
35888 ac_status=$?
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); }; }; then
35891 wx_cv_func_gettimeofday_has_2_args=no
35892 else
35893 echo "$as_me: failed program was:" >&5
35894 sed 's/^/| /' conftest.$ac_ext >&5
35895
35896
35897 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35898 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35899 wx_cv_func_gettimeofday_has_2_args=unknown
35900
35901
35902 fi
35903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35904
35905 fi
35906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35907 ac_ext=c
35908 ac_cpp='$CPP $CPPFLAGS'
35909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35912
35913
35914 fi
35915 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35916 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35917
35918 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35919 cat >>confdefs.h <<\_ACEOF
35920 #define WX_GETTIMEOFDAY_NO_TZ 1
35921 _ACEOF
35922
35923 fi
35924 fi
35925
35926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35927 fi
35928
35929
35930 if test "$wxUSE_SOCKETS" = "yes"; then
35931 if test "$wxUSE_MGL" = "1"; then
35932 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35933 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35934 wxUSE_SOCKETS="no"
35935 fi
35936 fi
35937
35938 if test "$wxUSE_SOCKETS" = "yes"; then
35939 if test "$TOOLKIT" != "MSW"; then
35940 echo "$as_me:$LINENO: checking for socket" >&5
35941 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35942 if test "${ac_cv_func_socket+set}" = set; then
35943 echo $ECHO_N "(cached) $ECHO_C" >&6
35944 else
35945 cat >conftest.$ac_ext <<_ACEOF
35946 /* confdefs.h. */
35947 _ACEOF
35948 cat confdefs.h >>conftest.$ac_ext
35949 cat >>conftest.$ac_ext <<_ACEOF
35950 /* end confdefs.h. */
35951 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35953 #define socket innocuous_socket
35954
35955 /* System header to define __stub macros and hopefully few prototypes,
35956 which can conflict with char socket (); below.
35957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35958 <limits.h> exists even on freestanding compilers. */
35959
35960 #ifdef __STDC__
35961 # include <limits.h>
35962 #else
35963 # include <assert.h>
35964 #endif
35965
35966 #undef socket
35967
35968 /* Override any gcc2 internal prototype to avoid an error. */
35969 #ifdef __cplusplus
35970 extern "C"
35971 {
35972 #endif
35973 /* We use char because int might match the return type of a gcc2
35974 builtin and then its argument prototype would still apply. */
35975 char socket ();
35976 /* The GNU C library defines this for functions which it implements
35977 to always fail with ENOSYS. Some functions are actually named
35978 something starting with __ and the normal name is an alias. */
35979 #if defined (__stub_socket) || defined (__stub___socket)
35980 choke me
35981 #else
35982 char (*f) () = socket;
35983 #endif
35984 #ifdef __cplusplus
35985 }
35986 #endif
35987
35988 int
35989 main ()
35990 {
35991 return f != socket;
35992 ;
35993 return 0;
35994 }
35995 _ACEOF
35996 rm -f conftest.$ac_objext conftest$ac_exeext
35997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35998 (eval $ac_link) 2>conftest.er1
35999 ac_status=$?
36000 grep -v '^ *+' conftest.er1 >conftest.err
36001 rm -f conftest.er1
36002 cat conftest.err >&5
36003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36004 (exit $ac_status); } &&
36005 { ac_try='test -z "$ac_c_werror_flag"
36006 || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36009 ac_status=$?
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try='test -s conftest$ac_exeext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 ac_cv_func_socket=yes
36019 else
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36022
36023 ac_cv_func_socket=no
36024 fi
36025 rm -f conftest.err conftest.$ac_objext \
36026 conftest$ac_exeext conftest.$ac_ext
36027 fi
36028 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
36029 echo "${ECHO_T}$ac_cv_func_socket" >&6
36030 if test $ac_cv_func_socket = yes; then
36031 :
36032 else
36033
36034 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
36035 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
36036 if test "${ac_cv_lib_socket_socket+set}" = set; then
36037 echo $ECHO_N "(cached) $ECHO_C" >&6
36038 else
36039 ac_check_lib_save_LIBS=$LIBS
36040 LIBS="-lsocket $LIBS"
36041 cat >conftest.$ac_ext <<_ACEOF
36042 /* confdefs.h. */
36043 _ACEOF
36044 cat confdefs.h >>conftest.$ac_ext
36045 cat >>conftest.$ac_ext <<_ACEOF
36046 /* end confdefs.h. */
36047
36048 /* Override any gcc2 internal prototype to avoid an error. */
36049 #ifdef __cplusplus
36050 extern "C"
36051 #endif
36052 /* We use char because int might match the return type of a gcc2
36053 builtin and then its argument prototype would still apply. */
36054 char socket ();
36055 int
36056 main ()
36057 {
36058 socket ();
36059 ;
36060 return 0;
36061 }
36062 _ACEOF
36063 rm -f conftest.$ac_objext conftest$ac_exeext
36064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36065 (eval $ac_link) 2>conftest.er1
36066 ac_status=$?
36067 grep -v '^ *+' conftest.er1 >conftest.err
36068 rm -f conftest.er1
36069 cat conftest.err >&5
36070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36071 (exit $ac_status); } &&
36072 { ac_try='test -z "$ac_c_werror_flag"
36073 || test ! -s conftest.err'
36074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36075 (eval $ac_try) 2>&5
36076 ac_status=$?
36077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36078 (exit $ac_status); }; } &&
36079 { ac_try='test -s conftest$ac_exeext'
36080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36081 (eval $ac_try) 2>&5
36082 ac_status=$?
36083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36084 (exit $ac_status); }; }; then
36085 ac_cv_lib_socket_socket=yes
36086 else
36087 echo "$as_me: failed program was:" >&5
36088 sed 's/^/| /' conftest.$ac_ext >&5
36089
36090 ac_cv_lib_socket_socket=no
36091 fi
36092 rm -f conftest.err conftest.$ac_objext \
36093 conftest$ac_exeext conftest.$ac_ext
36094 LIBS=$ac_check_lib_save_LIBS
36095 fi
36096 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
36097 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
36098 if test $ac_cv_lib_socket_socket = yes; then
36099 if test "$INET_LINK" != " -lsocket"; then
36100 INET_LINK="$INET_LINK -lsocket"
36101 fi
36102 else
36103
36104 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
36105 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
36106 wxUSE_SOCKETS=no
36107
36108
36109 fi
36110
36111
36112
36113 fi
36114
36115 fi
36116 fi
36117
36118 if test "$wxUSE_SOCKETS" = "yes" ; then
36119 if test "$TOOLKIT" != "MSW"; then
36120 ac_ext=cc
36121 ac_cpp='$CXXCPP $CPPFLAGS'
36122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36125
36126 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
36127 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
36128 if test "${wx_cv_type_getsockname3+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131
36132 cat >conftest.$ac_ext <<_ACEOF
36133 /* confdefs.h. */
36134 _ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138
36139 #include <sys/types.h>
36140 #include <sys/socket.h>
36141
36142 int
36143 main ()
36144 {
36145
36146 socklen_t len;
36147 getsockname(0, 0, &len);
36148
36149 ;
36150 return 0;
36151 }
36152 _ACEOF
36153 rm -f conftest.$ac_objext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36155 (eval $ac_compile) 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try='test -z "$ac_cxx_werror_flag"
36163 || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36166 ac_status=$?
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try='test -s conftest.$ac_objext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36172 ac_status=$?
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36175 wx_cv_type_getsockname3=socklen_t
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36179
36180
36181 CFLAGS_OLD="$CFLAGS"
36182 if test "$GCC" = yes ; then
36183 CFLAGS="$CFLAGS -Werror"
36184 fi
36185
36186 cat >conftest.$ac_ext <<_ACEOF
36187 /* confdefs.h. */
36188 _ACEOF
36189 cat confdefs.h >>conftest.$ac_ext
36190 cat >>conftest.$ac_ext <<_ACEOF
36191 /* end confdefs.h. */
36192
36193 #include <sys/types.h>
36194 #include <sys/socket.h>
36195
36196 int
36197 main ()
36198 {
36199
36200 size_t len;
36201 getsockname(0, 0, &len);
36202
36203 ;
36204 return 0;
36205 }
36206 _ACEOF
36207 rm -f conftest.$ac_objext
36208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36209 (eval $ac_compile) 2>conftest.er1
36210 ac_status=$?
36211 grep -v '^ *+' conftest.er1 >conftest.err
36212 rm -f conftest.er1
36213 cat conftest.err >&5
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); } &&
36216 { ac_try='test -z "$ac_cxx_werror_flag"
36217 || test ! -s conftest.err'
36218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36219 (eval $ac_try) 2>&5
36220 ac_status=$?
36221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36222 (exit $ac_status); }; } &&
36223 { ac_try='test -s conftest.$ac_objext'
36224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36225 (eval $ac_try) 2>&5
36226 ac_status=$?
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); }; }; then
36229 wx_cv_type_getsockname3=size_t
36230 else
36231 echo "$as_me: failed program was:" >&5
36232 sed 's/^/| /' conftest.$ac_ext >&5
36233
36234 cat >conftest.$ac_ext <<_ACEOF
36235 /* confdefs.h. */
36236 _ACEOF
36237 cat confdefs.h >>conftest.$ac_ext
36238 cat >>conftest.$ac_ext <<_ACEOF
36239 /* end confdefs.h. */
36240
36241 #include <sys/types.h>
36242 #include <sys/socket.h>
36243
36244 int
36245 main ()
36246 {
36247
36248 int len;
36249 getsockname(0, 0, &len);
36250
36251 ;
36252 return 0;
36253 }
36254 _ACEOF
36255 rm -f conftest.$ac_objext
36256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36257 (eval $ac_compile) 2>conftest.er1
36258 ac_status=$?
36259 grep -v '^ *+' conftest.er1 >conftest.err
36260 rm -f conftest.er1
36261 cat conftest.err >&5
36262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36263 (exit $ac_status); } &&
36264 { ac_try='test -z "$ac_cxx_werror_flag"
36265 || test ! -s conftest.err'
36266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36267 (eval $ac_try) 2>&5
36268 ac_status=$?
36269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36270 (exit $ac_status); }; } &&
36271 { ac_try='test -s conftest.$ac_objext'
36272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36273 (eval $ac_try) 2>&5
36274 ac_status=$?
36275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36276 (exit $ac_status); }; }; then
36277 wx_cv_type_getsockname3=int
36278 else
36279 echo "$as_me: failed program was:" >&5
36280 sed 's/^/| /' conftest.$ac_ext >&5
36281
36282 wx_cv_type_getsockname3=unknown
36283
36284 fi
36285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36286
36287 fi
36288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36289
36290 CFLAGS="$CFLAGS_OLD"
36291
36292
36293 fi
36294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36295
36296 fi
36297 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
36298 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
36299
36300 if test "$wx_cv_type_getsockname3" = "unknown"; then
36301 wxUSE_SOCKETS=no
36302 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
36303 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
36304 else
36305 cat >>confdefs.h <<_ACEOF
36306 #define SOCKLEN_T $wx_cv_type_getsockname3
36307 _ACEOF
36308
36309 fi
36310 ac_ext=c
36311 ac_cpp='$CPP $CPPFLAGS'
36312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36315
36316 fi
36317 fi
36318
36319 if test "$wxUSE_SOCKETS" = "yes" ; then
36320 cat >>confdefs.h <<\_ACEOF
36321 #define wxUSE_SOCKETS 1
36322 _ACEOF
36323
36324 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36325 fi
36326
36327 if test "$wxUSE_PROTOCOL" = "yes"; then
36328 if test "$wxUSE_SOCKETS" != "yes"; then
36329 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
36330 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
36331 wxUSE_PROTOCOL=no
36332 fi
36333 fi
36334
36335 if test "$wxUSE_PROTOCOL" = "yes"; then
36336 cat >>confdefs.h <<\_ACEOF
36337 #define wxUSE_PROTOCOL 1
36338 _ACEOF
36339
36340
36341 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
36342 cat >>confdefs.h <<\_ACEOF
36343 #define wxUSE_PROTOCOL_HTTP 1
36344 _ACEOF
36345
36346 fi
36347 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
36348 cat >>confdefs.h <<\_ACEOF
36349 #define wxUSE_PROTOCOL_FTP 1
36350 _ACEOF
36351
36352 fi
36353 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
36354 cat >>confdefs.h <<\_ACEOF
36355 #define wxUSE_PROTOCOL_FILE 1
36356 _ACEOF
36357
36358 fi
36359 else
36360 if test "$wxUSE_FS_INET" = "yes"; then
36361 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
36362 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
36363 wxUSE_FS_INET="no"
36364 fi
36365 fi
36366
36367 if test "$wxUSE_URL" = "yes"; then
36368 if test "$wxUSE_PROTOCOL" != "yes"; then
36369 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
36370 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
36371 wxUSE_URL=no
36372 fi
36373 if test "$wxUSE_URL" = "yes"; then
36374 cat >>confdefs.h <<\_ACEOF
36375 #define wxUSE_URL 1
36376 _ACEOF
36377
36378 fi
36379 fi
36380
36381 if test "$wxUSE_FS_INET" = "yes"; then
36382 cat >>confdefs.h <<\_ACEOF
36383 #define wxUSE_FS_INET 1
36384 _ACEOF
36385
36386 fi
36387
36388
36389 if test "$wxUSE_GUI" = "yes"; then
36390
36391 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
36392 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
36393 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
36394 wxUSE_JOYSTICK=no
36395 fi
36396
36397 if test "$TOOLKIT" != "MSW"; then
36398 if test "$wxUSE_JOYSTICK" = "yes"; then
36399
36400 for ac_header in linux/joystick.h
36401 do
36402 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36404 echo "$as_me:$LINENO: checking for $ac_header" >&5
36405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36407 echo $ECHO_N "(cached) $ECHO_C" >&6
36408 fi
36409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36411 else
36412 # Is the header compilable?
36413 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36414 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36415 cat >conftest.$ac_ext <<_ACEOF
36416 /* confdefs.h. */
36417 _ACEOF
36418 cat confdefs.h >>conftest.$ac_ext
36419 cat >>conftest.$ac_ext <<_ACEOF
36420 /* end confdefs.h. */
36421 $ac_includes_default
36422 #include <$ac_header>
36423 _ACEOF
36424 rm -f conftest.$ac_objext
36425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36426 (eval $ac_compile) 2>conftest.er1
36427 ac_status=$?
36428 grep -v '^ *+' conftest.er1 >conftest.err
36429 rm -f conftest.er1
36430 cat conftest.err >&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); } &&
36433 { ac_try='test -z "$ac_c_werror_flag"
36434 || test ! -s conftest.err'
36435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36436 (eval $ac_try) 2>&5
36437 ac_status=$?
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); }; } &&
36440 { ac_try='test -s conftest.$ac_objext'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36443 ac_status=$?
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; }; then
36446 ac_header_compiler=yes
36447 else
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.$ac_ext >&5
36450
36451 ac_header_compiler=no
36452 fi
36453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36454 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36455 echo "${ECHO_T}$ac_header_compiler" >&6
36456
36457 # Is the header present?
36458 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36459 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36460 cat >conftest.$ac_ext <<_ACEOF
36461 /* confdefs.h. */
36462 _ACEOF
36463 cat confdefs.h >>conftest.$ac_ext
36464 cat >>conftest.$ac_ext <<_ACEOF
36465 /* end confdefs.h. */
36466 #include <$ac_header>
36467 _ACEOF
36468 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36469 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36470 ac_status=$?
36471 grep -v '^ *+' conftest.er1 >conftest.err
36472 rm -f conftest.er1
36473 cat conftest.err >&5
36474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36475 (exit $ac_status); } >/dev/null; then
36476 if test -s conftest.err; then
36477 ac_cpp_err=$ac_c_preproc_warn_flag
36478 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36479 else
36480 ac_cpp_err=
36481 fi
36482 else
36483 ac_cpp_err=yes
36484 fi
36485 if test -z "$ac_cpp_err"; then
36486 ac_header_preproc=yes
36487 else
36488 echo "$as_me: failed program was:" >&5
36489 sed 's/^/| /' conftest.$ac_ext >&5
36490
36491 ac_header_preproc=no
36492 fi
36493 rm -f conftest.err conftest.$ac_ext
36494 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36495 echo "${ECHO_T}$ac_header_preproc" >&6
36496
36497 # So? What about this header?
36498 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36499 yes:no: )
36500 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36501 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36503 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36504 ac_header_preproc=yes
36505 ;;
36506 no:yes:* )
36507 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36508 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36509 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36510 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36511 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36512 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36513 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36514 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36516 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36517 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36518 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36519 (
36520 cat <<\_ASBOX
36521 ## ----------------------------------------- ##
36522 ## Report this to wx-dev@lists.wxwidgets.org ##
36523 ## ----------------------------------------- ##
36524 _ASBOX
36525 ) |
36526 sed "s/^/$as_me: WARNING: /" >&2
36527 ;;
36528 esac
36529 echo "$as_me:$LINENO: checking for $ac_header" >&5
36530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36532 echo $ECHO_N "(cached) $ECHO_C" >&6
36533 else
36534 eval "$as_ac_Header=\$ac_header_preproc"
36535 fi
36536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36537 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36538
36539 fi
36540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36541 cat >>confdefs.h <<_ACEOF
36542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36543 _ACEOF
36544
36545 fi
36546
36547 done
36548
36549 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36550 wxUSE_JOYSTICK=no
36551 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36552 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36553 fi
36554 fi
36555 fi
36556
36557 if test "$wxUSE_JOYSTICK" = "yes"; then
36558 cat >>confdefs.h <<\_ACEOF
36559 #define wxUSE_JOYSTICK 1
36560 _ACEOF
36561
36562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36563 fi
36564 fi
36565
36566
36567
36568 if test "$wxUSE_FONTMAP" = "yes" ; then
36569 cat >>confdefs.h <<\_ACEOF
36570 #define wxUSE_FONTMAP 1
36571 _ACEOF
36572
36573 fi
36574
36575 if test "$wxUSE_UNICODE" = "yes" ; then
36576 cat >>confdefs.h <<\_ACEOF
36577 #define wxUSE_UNICODE 1
36578 _ACEOF
36579
36580
36581 if test "$USE_WIN32" != 1; then
36582 wxUSE_UNICODE_MSLU=no
36583 fi
36584
36585 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36586 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36587 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36588 if test "${ac_cv_lib_unicows_main+set}" = set; then
36589 echo $ECHO_N "(cached) $ECHO_C" >&6
36590 else
36591 ac_check_lib_save_LIBS=$LIBS
36592 LIBS="-lunicows $LIBS"
36593 cat >conftest.$ac_ext <<_ACEOF
36594 /* confdefs.h. */
36595 _ACEOF
36596 cat confdefs.h >>conftest.$ac_ext
36597 cat >>conftest.$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599
36600
36601 int
36602 main ()
36603 {
36604 main ();
36605 ;
36606 return 0;
36607 }
36608 _ACEOF
36609 rm -f conftest.$ac_objext conftest$ac_exeext
36610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36611 (eval $ac_link) 2>conftest.er1
36612 ac_status=$?
36613 grep -v '^ *+' conftest.er1 >conftest.err
36614 rm -f conftest.er1
36615 cat conftest.err >&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); } &&
36618 { ac_try='test -z "$ac_c_werror_flag"
36619 || test ! -s conftest.err'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36622 ac_status=$?
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; } &&
36625 { ac_try='test -s conftest$ac_exeext'
36626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36627 (eval $ac_try) 2>&5
36628 ac_status=$?
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); }; }; then
36631 ac_cv_lib_unicows_main=yes
36632 else
36633 echo "$as_me: failed program was:" >&5
36634 sed 's/^/| /' conftest.$ac_ext >&5
36635
36636 ac_cv_lib_unicows_main=no
36637 fi
36638 rm -f conftest.err conftest.$ac_objext \
36639 conftest$ac_exeext conftest.$ac_ext
36640 LIBS=$ac_check_lib_save_LIBS
36641 fi
36642 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36643 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36644 if test $ac_cv_lib_unicows_main = yes; then
36645
36646 cat >>confdefs.h <<\_ACEOF
36647 #define wxUSE_UNICODE_MSLU 1
36648 _ACEOF
36649
36650
36651 else
36652
36653 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36654 Applications will only run on Windows NT/2000/XP!" >&5
36655 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36656 Applications will only run on Windows NT/2000/XP!" >&2;}
36657 wxUSE_UNICODE_MSLU=no
36658
36659 fi
36660
36661 fi
36662 fi
36663
36664 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36665 cat >>confdefs.h <<\_ACEOF
36666 #define wxUSE_EXPERIMENTAL_PRINTF 1
36667 _ACEOF
36668
36669 fi
36670
36671
36672 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36673 cat >>confdefs.h <<\_ACEOF
36674 #define wxUSE_POSTSCRIPT 1
36675 _ACEOF
36676
36677 fi
36678
36679 cat >>confdefs.h <<\_ACEOF
36680 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36681 _ACEOF
36682
36683
36684 cat >>confdefs.h <<\_ACEOF
36685 #define wxUSE_NORMALIZED_PS_FONTS 1
36686 _ACEOF
36687
36688
36689
36690 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36691 cat >>confdefs.h <<\_ACEOF
36692 #define wxUSE_CONSTRAINTS 1
36693 _ACEOF
36694
36695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36696 fi
36697
36698 if test "$wxUSE_MDI" = "yes"; then
36699 cat >>confdefs.h <<\_ACEOF
36700 #define wxUSE_MDI 1
36701 _ACEOF
36702
36703
36704 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36705 cat >>confdefs.h <<\_ACEOF
36706 #define wxUSE_MDI_ARCHITECTURE 1
36707 _ACEOF
36708
36709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36710 fi
36711 fi
36712
36713 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36714 cat >>confdefs.h <<\_ACEOF
36715 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36716 _ACEOF
36717
36718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36719 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36721 fi
36722 fi
36723
36724 if test "$wxUSE_HELP" = "yes"; then
36725 cat >>confdefs.h <<\_ACEOF
36726 #define wxUSE_HELP 1
36727 _ACEOF
36728
36729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36730
36731 if test "$wxUSE_MSW" = 1; then
36732 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36733 cat >>confdefs.h <<\_ACEOF
36734 #define wxUSE_MS_HTML_HELP 1
36735 _ACEOF
36736
36737 fi
36738 fi
36739
36740 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36741 if test "$wxUSE_HTML" = "yes"; then
36742 cat >>confdefs.h <<\_ACEOF
36743 #define wxUSE_WXHTML_HELP 1
36744 _ACEOF
36745
36746 else
36747 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36748 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36749 wxUSE_WXHTML_HELP=no
36750 fi
36751 fi
36752 fi
36753
36754 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36755 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36756 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36757 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36758 else
36759 cat >>confdefs.h <<\_ACEOF
36760 #define wxUSE_PRINTING_ARCHITECTURE 1
36761 _ACEOF
36762
36763 fi
36764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36765 fi
36766
36767 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36768 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36769 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36770 { (exit 1); exit 1; }; }
36771 fi
36772
36773
36774 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36775 -o "$wxUSE_CLIPBOARD" = "yes" \
36776 -o "$wxUSE_OLE" = "yes" \
36777 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36778
36779 for ac_header in ole2.h
36780 do
36781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36783 echo "$as_me:$LINENO: checking for $ac_header" >&5
36784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36786 echo $ECHO_N "(cached) $ECHO_C" >&6
36787 fi
36788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36790 else
36791 # Is the header compilable?
36792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36794 cat >conftest.$ac_ext <<_ACEOF
36795 /* confdefs.h. */
36796 _ACEOF
36797 cat confdefs.h >>conftest.$ac_ext
36798 cat >>conftest.$ac_ext <<_ACEOF
36799 /* end confdefs.h. */
36800 $ac_includes_default
36801 #include <$ac_header>
36802 _ACEOF
36803 rm -f conftest.$ac_objext
36804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36805 (eval $ac_compile) 2>conftest.er1
36806 ac_status=$?
36807 grep -v '^ *+' conftest.er1 >conftest.err
36808 rm -f conftest.er1
36809 cat conftest.err >&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); } &&
36812 { ac_try='test -z "$ac_c_werror_flag"
36813 || test ! -s conftest.err'
36814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36815 (eval $ac_try) 2>&5
36816 ac_status=$?
36817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36818 (exit $ac_status); }; } &&
36819 { ac_try='test -s conftest.$ac_objext'
36820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36821 (eval $ac_try) 2>&5
36822 ac_status=$?
36823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36824 (exit $ac_status); }; }; then
36825 ac_header_compiler=yes
36826 else
36827 echo "$as_me: failed program was:" >&5
36828 sed 's/^/| /' conftest.$ac_ext >&5
36829
36830 ac_header_compiler=no
36831 fi
36832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36834 echo "${ECHO_T}$ac_header_compiler" >&6
36835
36836 # Is the header present?
36837 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36839 cat >conftest.$ac_ext <<_ACEOF
36840 /* confdefs.h. */
36841 _ACEOF
36842 cat confdefs.h >>conftest.$ac_ext
36843 cat >>conftest.$ac_ext <<_ACEOF
36844 /* end confdefs.h. */
36845 #include <$ac_header>
36846 _ACEOF
36847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36849 ac_status=$?
36850 grep -v '^ *+' conftest.er1 >conftest.err
36851 rm -f conftest.er1
36852 cat conftest.err >&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } >/dev/null; then
36855 if test -s conftest.err; then
36856 ac_cpp_err=$ac_c_preproc_warn_flag
36857 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36858 else
36859 ac_cpp_err=
36860 fi
36861 else
36862 ac_cpp_err=yes
36863 fi
36864 if test -z "$ac_cpp_err"; then
36865 ac_header_preproc=yes
36866 else
36867 echo "$as_me: failed program was:" >&5
36868 sed 's/^/| /' conftest.$ac_ext >&5
36869
36870 ac_header_preproc=no
36871 fi
36872 rm -f conftest.err conftest.$ac_ext
36873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36874 echo "${ECHO_T}$ac_header_preproc" >&6
36875
36876 # So? What about this header?
36877 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36878 yes:no: )
36879 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36880 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36882 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36883 ac_header_preproc=yes
36884 ;;
36885 no:yes:* )
36886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36890 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36891 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36892 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36893 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36896 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36897 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36898 (
36899 cat <<\_ASBOX
36900 ## ----------------------------------------- ##
36901 ## Report this to wx-dev@lists.wxwidgets.org ##
36902 ## ----------------------------------------- ##
36903 _ASBOX
36904 ) |
36905 sed "s/^/$as_me: WARNING: /" >&2
36906 ;;
36907 esac
36908 echo "$as_me:$LINENO: checking for $ac_header" >&5
36909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36911 echo $ECHO_N "(cached) $ECHO_C" >&6
36912 else
36913 eval "$as_ac_Header=\$ac_header_preproc"
36914 fi
36915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36917
36918 fi
36919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36920 cat >>confdefs.h <<_ACEOF
36921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36922 _ACEOF
36923
36924 fi
36925
36926 done
36927
36928
36929 if test "$ac_cv_header_ole2_h" = "yes" ; then
36930 if test "$GCC" = yes ; then
36931
36932
36933 ac_ext=cc
36934 ac_cpp='$CXXCPP $CPPFLAGS'
36935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36938
36939
36940 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36941 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36942 cat >conftest.$ac_ext <<_ACEOF
36943 /* confdefs.h. */
36944 _ACEOF
36945 cat confdefs.h >>conftest.$ac_ext
36946 cat >>conftest.$ac_ext <<_ACEOF
36947 /* end confdefs.h. */
36948 #include <windows.h>
36949 #include <ole2.h>
36950 int
36951 main ()
36952 {
36953
36954 ;
36955 return 0;
36956 }
36957 _ACEOF
36958 rm -f conftest.$ac_objext
36959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36960 (eval $ac_compile) 2>conftest.er1
36961 ac_status=$?
36962 grep -v '^ *+' conftest.er1 >conftest.err
36963 rm -f conftest.er1
36964 cat conftest.err >&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); } &&
36967 { ac_try='test -z "$ac_cxx_werror_flag"
36968 || test ! -s conftest.err'
36969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36970 (eval $ac_try) 2>&5
36971 ac_status=$?
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); }; } &&
36974 { ac_try='test -s conftest.$ac_objext'
36975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36976 (eval $ac_try) 2>&5
36977 ac_status=$?
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); }; }; then
36980 echo "$as_me:$LINENO: result: no" >&5
36981 echo "${ECHO_T}no" >&6
36982 else
36983 echo "$as_me: failed program was:" >&5
36984 sed 's/^/| /' conftest.$ac_ext >&5
36985
36986 echo "$as_me:$LINENO: result: yes" >&5
36987 echo "${ECHO_T}yes" >&6
36988 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36989 fi
36990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36991 ac_ext=c
36992 ac_cpp='$CPP $CPPFLAGS'
36993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36996
36997 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36998 if test "$wxUSE_OLE" = "yes" ; then
36999 cat >>confdefs.h <<\_ACEOF
37000 #define wxUSE_OLE 1
37001 _ACEOF
37002
37003 fi
37004 fi
37005
37006 if test "$wxUSE_DATAOBJ" = "yes" ; then
37007 cat >>confdefs.h <<\_ACEOF
37008 #define wxUSE_DATAOBJ 1
37009 _ACEOF
37010
37011 fi
37012 else
37013 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
37014 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
37015
37016 wxUSE_CLIPBOARD=no
37017 wxUSE_DRAG_AND_DROP=no
37018 wxUSE_DATAOBJ=no
37019 wxUSE_OLE=no
37020 fi
37021
37022 if test "$wxUSE_METAFILE" = "yes"; then
37023 cat >>confdefs.h <<\_ACEOF
37024 #define wxUSE_METAFILE 1
37025 _ACEOF
37026
37027
37028 cat >>confdefs.h <<\_ACEOF
37029 #define wxUSE_ENH_METAFILE 1
37030 _ACEOF
37031
37032 fi
37033 fi
37034
37035 if test "$wxUSE_IPC" = "yes"; then
37036 if test "$wxUSE_SOCKETS" != "yes"; then
37037 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
37038 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
37039 fi
37040
37041 cat >>confdefs.h <<\_ACEOF
37042 #define wxUSE_IPC 1
37043 _ACEOF
37044
37045 fi
37046
37047 if test "$wxUSE_CLIPBOARD" = "yes"; then
37048 if test "$wxUSE_MGL" = 1; then
37049 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
37050 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
37051 wxUSE_CLIPBOARD=no
37052 fi
37053
37054 if test "$wxUSE_CLIPBOARD" = "yes"; then
37055 cat >>confdefs.h <<\_ACEOF
37056 #define wxUSE_CLIPBOARD 1
37057 _ACEOF
37058
37059
37060 cat >>confdefs.h <<\_ACEOF
37061 #define wxUSE_DATAOBJ 1
37062 _ACEOF
37063
37064 fi
37065 fi
37066
37067 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
37068 if test "$wxUSE_GTK" = 1; then
37069 if test "$WXGTK12" != 1; then
37070 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
37071 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
37072 wxUSE_DRAG_AND_DROP=no
37073 fi
37074 fi
37075
37076 if test "$wxUSE_MOTIF" = 1; then
37077 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
37078 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
37079 wxUSE_DRAG_AND_DROP=no
37080 fi
37081
37082 if test "$wxUSE_X11" = 1; then
37083 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
37084 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
37085 wxUSE_DRAG_AND_DROP=no
37086 fi
37087
37088 if test "$wxUSE_MGL" = 1; then
37089 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
37090 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
37091 wxUSE_DRAG_AND_DROP=no
37092 fi
37093
37094 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
37095 cat >>confdefs.h <<\_ACEOF
37096 #define wxUSE_DRAG_AND_DROP 1
37097 _ACEOF
37098
37099 fi
37100
37101 fi
37102
37103 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
37104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
37105 fi
37106
37107 if test "$wxUSE_SPLINES" = "yes" ; then
37108 cat >>confdefs.h <<\_ACEOF
37109 #define wxUSE_SPLINES 1
37110 _ACEOF
37111
37112 fi
37113
37114
37115 USES_CONTROLS=0
37116 if test "$wxUSE_CONTROLS" = "yes"; then
37117 USES_CONTROLS=1
37118 fi
37119
37120 if test "$wxUSE_ACCEL" = "yes"; then
37121 cat >>confdefs.h <<\_ACEOF
37122 #define wxUSE_ACCEL 1
37123 _ACEOF
37124
37125 USES_CONTROLS=1
37126 fi
37127
37128 if test "$wxUSE_BUTTON" = "yes"; then
37129 cat >>confdefs.h <<\_ACEOF
37130 #define wxUSE_BUTTON 1
37131 _ACEOF
37132
37133 USES_CONTROLS=1
37134 fi
37135
37136 if test "$wxUSE_BMPBUTTON" = "yes"; then
37137 cat >>confdefs.h <<\_ACEOF
37138 #define wxUSE_BMPBUTTON 1
37139 _ACEOF
37140
37141 USES_CONTROLS=1
37142 fi
37143
37144 if test "$wxUSE_CALCTRL" = "yes"; then
37145 cat >>confdefs.h <<\_ACEOF
37146 #define wxUSE_CALENDARCTRL 1
37147 _ACEOF
37148
37149 USES_CONTROLS=1
37150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
37151 fi
37152
37153 if test "$wxUSE_CARET" = "yes"; then
37154 cat >>confdefs.h <<\_ACEOF
37155 #define wxUSE_CARET 1
37156 _ACEOF
37157
37158 USES_CONTROLS=1
37159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
37160 fi
37161
37162 if test "$wxUSE_COMBOBOX" = "yes"; then
37163 cat >>confdefs.h <<\_ACEOF
37164 #define wxUSE_COMBOBOX 1
37165 _ACEOF
37166
37167 USES_CONTROLS=1
37168 fi
37169
37170 if test "$wxUSE_CHOICE" = "yes"; then
37171 cat >>confdefs.h <<\_ACEOF
37172 #define wxUSE_CHOICE 1
37173 _ACEOF
37174
37175 USES_CONTROLS=1
37176 fi
37177
37178 if test "$wxUSE_CHOICEBOOK" = "yes"; then
37179 cat >>confdefs.h <<\_ACEOF
37180 #define wxUSE_CHOICEBOOK 1
37181 _ACEOF
37182
37183 USES_CONTROLS=1
37184 fi
37185
37186 if test "$wxUSE_CHECKBOX" = "yes"; then
37187 cat >>confdefs.h <<\_ACEOF
37188 #define wxUSE_CHECKBOX 1
37189 _ACEOF
37190
37191 USES_CONTROLS=1
37192 fi
37193
37194 if test "$wxUSE_CHECKLST" = "yes"; then
37195 cat >>confdefs.h <<\_ACEOF
37196 #define wxUSE_CHECKLISTBOX 1
37197 _ACEOF
37198
37199 USES_CONTROLS=1
37200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
37201 fi
37202
37203 if test "$wxUSE_DISPLAY" = "yes"; then
37204 cat >>confdefs.h <<\_ACEOF
37205 #define wxUSE_DISPLAY 1
37206 _ACEOF
37207
37208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
37209 fi
37210
37211 if test "$wxUSE_GAUGE" = "yes"; then
37212 cat >>confdefs.h <<\_ACEOF
37213 #define wxUSE_GAUGE 1
37214 _ACEOF
37215
37216 USES_CONTROLS=1
37217 fi
37218
37219 if test "$wxUSE_GRID" = "yes"; then
37220 cat >>confdefs.h <<\_ACEOF
37221 #define wxUSE_GRID 1
37222 _ACEOF
37223
37224 USES_CONTROLS=1
37225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
37226 fi
37227
37228 if test "$wxUSE_IMAGLIST" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define wxUSE_IMAGLIST 1
37231 _ACEOF
37232
37233 fi
37234
37235 if test "$wxUSE_LISTBOOK" = "yes"; then
37236 cat >>confdefs.h <<\_ACEOF
37237 #define wxUSE_LISTBOOK 1
37238 _ACEOF
37239
37240 USES_CONTROLS=1
37241 fi
37242
37243 if test "$wxUSE_LISTBOX" = "yes"; then
37244 cat >>confdefs.h <<\_ACEOF
37245 #define wxUSE_LISTBOX 1
37246 _ACEOF
37247
37248 USES_CONTROLS=1
37249 fi
37250
37251 if test "$wxUSE_LISTCTRL" = "yes"; then
37252 if test "$wxUSE_IMAGLIST" = "yes"; then
37253 cat >>confdefs.h <<\_ACEOF
37254 #define wxUSE_LISTCTRL 1
37255 _ACEOF
37256
37257 USES_CONTROLS=1
37258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
37259 else
37260 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
37261 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
37262 fi
37263 fi
37264
37265 if test "$wxUSE_NOTEBOOK" = "yes"; then
37266 cat >>confdefs.h <<\_ACEOF
37267 #define wxUSE_NOTEBOOK 1
37268 _ACEOF
37269
37270 USES_CONTROLS=1
37271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
37272 fi
37273
37274
37275 if test "$wxUSE_RADIOBOX" = "yes"; then
37276 cat >>confdefs.h <<\_ACEOF
37277 #define wxUSE_RADIOBOX 1
37278 _ACEOF
37279
37280 USES_CONTROLS=1
37281 fi
37282
37283 if test "$wxUSE_RADIOBTN" = "yes"; then
37284 cat >>confdefs.h <<\_ACEOF
37285 #define wxUSE_RADIOBTN 1
37286 _ACEOF
37287
37288 USES_CONTROLS=1
37289 fi
37290
37291 if test "$wxUSE_SASH" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define wxUSE_SASH 1
37294 _ACEOF
37295
37296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
37297 fi
37298
37299 if test "$wxUSE_SCROLLBAR" = "yes"; then
37300 cat >>confdefs.h <<\_ACEOF
37301 #define wxUSE_SCROLLBAR 1
37302 _ACEOF
37303
37304 USES_CONTROLS=1
37305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
37306 fi
37307
37308 if test "$wxUSE_SLIDER" = "yes"; then
37309 cat >>confdefs.h <<\_ACEOF
37310 #define wxUSE_SLIDER 1
37311 _ACEOF
37312
37313 USES_CONTROLS=1
37314 fi
37315
37316 if test "$wxUSE_SPINBTN" = "yes"; then
37317 cat >>confdefs.h <<\_ACEOF
37318 #define wxUSE_SPINBTN 1
37319 _ACEOF
37320
37321 USES_CONTROLS=1
37322 fi
37323
37324 if test "$wxUSE_SPINCTRL" = "yes"; then
37325 cat >>confdefs.h <<\_ACEOF
37326 #define wxUSE_SPINCTRL 1
37327 _ACEOF
37328
37329 USES_CONTROLS=1
37330 fi
37331
37332 if test "$wxUSE_SPLITTER" = "yes"; then
37333 cat >>confdefs.h <<\_ACEOF
37334 #define wxUSE_SPLITTER 1
37335 _ACEOF
37336
37337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
37338 fi
37339
37340 if test "$wxUSE_STATBMP" = "yes"; then
37341 cat >>confdefs.h <<\_ACEOF
37342 #define wxUSE_STATBMP 1
37343 _ACEOF
37344
37345 USES_CONTROLS=1
37346 fi
37347
37348 if test "$wxUSE_STATBOX" = "yes"; then
37349 cat >>confdefs.h <<\_ACEOF
37350 #define wxUSE_STATBOX 1
37351 _ACEOF
37352
37353 USES_CONTROLS=1
37354 fi
37355
37356 if test "$wxUSE_STATTEXT" = "yes"; then
37357 cat >>confdefs.h <<\_ACEOF
37358 #define wxUSE_STATTEXT 1
37359 _ACEOF
37360
37361 USES_CONTROLS=1
37362 fi
37363
37364 if test "$wxUSE_STATLINE" = "yes"; then
37365 cat >>confdefs.h <<\_ACEOF
37366 #define wxUSE_STATLINE 1
37367 _ACEOF
37368
37369 USES_CONTROLS=1
37370 fi
37371
37372 if test "$wxUSE_STATUSBAR" = "yes"; then
37373 cat >>confdefs.h <<\_ACEOF
37374 #define wxUSE_STATUSBAR 1
37375 _ACEOF
37376
37377 USES_CONTROLS=1
37378
37379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
37380 fi
37381
37382 if test "$wxUSE_TABDIALOG" = "yes"; then
37383 cat >>confdefs.h <<\_ACEOF
37384 #define wxUSE_TAB_DIALOG 1
37385 _ACEOF
37386
37387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
37388 fi
37389
37390 if test "$wxUSE_TEXTCTRL" = "yes"; then
37391 cat >>confdefs.h <<\_ACEOF
37392 #define wxUSE_TEXTCTRL 1
37393 _ACEOF
37394
37395 USES_CONTROLS=1
37396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
37397 fi
37398
37399 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37400 if test "$wxUSE_COCOA" = 1 ; then
37401 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
37402 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
37403 wxUSE_TOGGLEBTN=no
37404 else
37405 if test "$wxUSE_PM" = 1; then
37406 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
37407 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
37408 wxUSE_TOGGLEBTN=no
37409 fi
37410 fi
37411 if test "$wxUSE_UNIVERSAL" = "yes"; then
37412 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
37413 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
37414 wxUSE_TOGGLEBTN=no
37415 fi
37416
37417 if test "$wxUSE_TOGGLEBTN" = "yes"; then
37418 cat >>confdefs.h <<\_ACEOF
37419 #define wxUSE_TOGGLEBTN 1
37420 _ACEOF
37421
37422 USES_CONTROLS=1
37423 fi
37424 fi
37425
37426 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
37427 cat >>confdefs.h <<\_ACEOF
37428 #define wxUSE_TOOLBAR_SIMPLE 1
37429 _ACEOF
37430
37431 wxUSE_TOOLBAR="yes"
37432 USES_CONTROLS=1
37433 fi
37434
37435 if test "$wxUSE_TOOLBAR" = "yes"; then
37436 cat >>confdefs.h <<\_ACEOF
37437 #define wxUSE_TOOLBAR 1
37438 _ACEOF
37439
37440 USES_CONTROLS=1
37441
37442 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
37443 wxUSE_TOOLBAR_NATIVE="yes"
37444 fi
37445
37446 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
37447 cat >>confdefs.h <<\_ACEOF
37448 #define wxUSE_TOOLBAR_NATIVE 1
37449 _ACEOF
37450
37451 USES_CONTROLS=1
37452 fi
37453
37454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
37455 fi
37456
37457 if test "$wxUSE_TOOLTIPS" = "yes"; then
37458 if test "$wxUSE_MOTIF" = 1; then
37459 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
37460 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
37461 else
37462 if test "$wxUSE_UNIVERSAL" = "yes"; then
37463 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
37464 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
37465 else
37466 cat >>confdefs.h <<\_ACEOF
37467 #define wxUSE_TOOLTIPS 1
37468 _ACEOF
37469
37470 fi
37471 fi
37472 fi
37473
37474 if test "$wxUSE_TREECTRL" = "yes"; then
37475 if test "$wxUSE_IMAGLIST" = "yes"; then
37476 cat >>confdefs.h <<\_ACEOF
37477 #define wxUSE_TREECTRL 1
37478 _ACEOF
37479
37480 USES_CONTROLS=1
37481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37482 else
37483 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37484 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37485 fi
37486 fi
37487
37488 if test "$wxUSE_POPUPWIN" = "yes"; then
37489 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37490 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37491 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37492 else
37493 if test "$wxUSE_PM" = 1; then
37494 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37495 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37496 else
37497 cat >>confdefs.h <<\_ACEOF
37498 #define wxUSE_POPUPWIN 1
37499 _ACEOF
37500
37501
37502 USES_CONTROLS=1
37503 fi
37504 fi
37505 fi
37506
37507 if test "$wxUSE_TIPWINDOW" = "yes"; then
37508 if test "$wxUSE_PM" = 1; then
37509 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37510 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37511 else
37512 cat >>confdefs.h <<\_ACEOF
37513 #define wxUSE_TIPWINDOW 1
37514 _ACEOF
37515
37516 fi
37517 fi
37518
37519 if test "$USES_CONTROLS" = 1; then
37520 cat >>confdefs.h <<\_ACEOF
37521 #define wxUSE_CONTROLS 1
37522 _ACEOF
37523
37524 fi
37525
37526
37527 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37528 cat >>confdefs.h <<\_ACEOF
37529 #define wxUSE_ACCESSIBILITY 1
37530 _ACEOF
37531
37532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37533 fi
37534
37535 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37536 cat >>confdefs.h <<\_ACEOF
37537 #define wxUSE_DRAGIMAGE 1
37538 _ACEOF
37539
37540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37541 fi
37542
37543 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37544 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
37545 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
37546 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
37547 else
37548 cat >>confdefs.h <<\_ACEOF
37549 #define wxUSE_EXCEPTIONS 1
37550 _ACEOF
37551
37552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
37553 fi
37554 fi
37555
37556 USE_HTML=0
37557 if test "$wxUSE_HTML" = "yes"; then
37558 cat >>confdefs.h <<\_ACEOF
37559 #define wxUSE_HTML 1
37560 _ACEOF
37561
37562 USE_HTML=1
37563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37564 if test "$wxUSE_MAC" = 1; then
37565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
37566 fi
37567 fi
37568 if test "$wxUSE_WEBKIT" = "yes"; then
37569 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
37570 old_CPPFLAGS="$CPPFLAGS"
37571 CPPFLAGS="$CPPFLAGS -x objective-c++"
37572 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
37573 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
37574 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
37575 echo $ECHO_N "(cached) $ECHO_C" >&6
37576 else
37577 cat >conftest.$ac_ext <<_ACEOF
37578 /* confdefs.h. */
37579 _ACEOF
37580 cat confdefs.h >>conftest.$ac_ext
37581 cat >>conftest.$ac_ext <<_ACEOF
37582 /* end confdefs.h. */
37583 #include <Carbon/Carbon.h>
37584
37585 #include <WebKit/HIWebView.h>
37586 _ACEOF
37587 rm -f conftest.$ac_objext
37588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37589 (eval $ac_compile) 2>conftest.er1
37590 ac_status=$?
37591 grep -v '^ *+' conftest.er1 >conftest.err
37592 rm -f conftest.er1
37593 cat conftest.err >&5
37594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37595 (exit $ac_status); } &&
37596 { ac_try='test -z "$ac_c_werror_flag"
37597 || test ! -s conftest.err'
37598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37599 (eval $ac_try) 2>&5
37600 ac_status=$?
37601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37602 (exit $ac_status); }; } &&
37603 { ac_try='test -s conftest.$ac_objext'
37604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37605 (eval $ac_try) 2>&5
37606 ac_status=$?
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); }; }; then
37609 ac_cv_header_WebKit_HIWebView_h=yes
37610 else
37611 echo "$as_me: failed program was:" >&5
37612 sed 's/^/| /' conftest.$ac_ext >&5
37613
37614 ac_cv_header_WebKit_HIWebView_h=no
37615 fi
37616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37617 fi
37618 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
37619 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
37620 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
37621
37622 cat >>confdefs.h <<\_ACEOF
37623 #define wxUSE_WEBKIT 1
37624 _ACEOF
37625
37626 WEBKIT_LINK="-framework WebKit"
37627
37628 else
37629
37630 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
37631 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
37632 wxUSE_WEBKIT=no
37633
37634 fi
37635
37636
37637 CPPFLAGS="$old_CPPFLAGS"
37638 elif test "$wxUSE_COCOA" = 1; then
37639 cat >>confdefs.h <<\_ACEOF
37640 #define wxUSE_WEBKIT 1
37641 _ACEOF
37642
37643 else
37644 wxUSE_WEBKIT=no
37645 fi
37646 fi
37647
37648 USE_XRC=0
37649 if test "$wxUSE_XRC" = "yes"; then
37650 if test "$wxUSE_XML" != "yes"; then
37651 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
37652 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
37653 wxUSE_XRC=no
37654 else
37655 cat >>confdefs.h <<\_ACEOF
37656 #define wxUSE_XRC 1
37657 _ACEOF
37658
37659 USE_XRC=1
37660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
37661 fi
37662 fi
37663
37664 if test "$wxUSE_MENUS" = "yes"; then
37665 cat >>confdefs.h <<\_ACEOF
37666 #define wxUSE_MENUS 1
37667 _ACEOF
37668
37669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37670 fi
37671
37672 if test "$wxUSE_METAFILE" = "yes"; then
37673 cat >>confdefs.h <<\_ACEOF
37674 #define wxUSE_METAFILE 1
37675 _ACEOF
37676
37677 fi
37678
37679 if test "$wxUSE_MIMETYPE" = "yes"; then
37680 cat >>confdefs.h <<\_ACEOF
37681 #define wxUSE_MIMETYPE 1
37682 _ACEOF
37683
37684 fi
37685
37686 if test "$wxUSE_MINIFRAME" = "yes"; then
37687 cat >>confdefs.h <<\_ACEOF
37688 #define wxUSE_MINIFRAME 1
37689 _ACEOF
37690
37691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37692 fi
37693
37694 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37695 cat >>confdefs.h <<\_ACEOF
37696 #define wxUSE_SYSTEM_OPTIONS 1
37697 _ACEOF
37698
37699 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37700 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
37701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37702 fi
37703 fi
37704
37705
37706 if test "$wxUSE_VALIDATORS" = "yes"; then
37707 cat >>confdefs.h <<\_ACEOF
37708 #define wxUSE_VALIDATORS 1
37709 _ACEOF
37710
37711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37712 fi
37713
37714 if test "$wxUSE_PALETTE" = "yes" ; then
37715 cat >>confdefs.h <<\_ACEOF
37716 #define wxUSE_PALETTE 1
37717 _ACEOF
37718
37719 fi
37720
37721 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37722 LIBS=" -lunicows $LIBS"
37723 fi
37724
37725
37726 if test "$wxUSE_IMAGE" = "yes" ; then
37727 cat >>confdefs.h <<\_ACEOF
37728 #define wxUSE_IMAGE 1
37729 _ACEOF
37730
37731
37732 if test "$wxUSE_GIF" = "yes" ; then
37733 cat >>confdefs.h <<\_ACEOF
37734 #define wxUSE_GIF 1
37735 _ACEOF
37736
37737 fi
37738
37739 if test "$wxUSE_PCX" = "yes" ; then
37740 cat >>confdefs.h <<\_ACEOF
37741 #define wxUSE_PCX 1
37742 _ACEOF
37743
37744 fi
37745
37746 if test "$wxUSE_IFF" = "yes" ; then
37747 cat >>confdefs.h <<\_ACEOF
37748 #define wxUSE_IFF 1
37749 _ACEOF
37750
37751 fi
37752
37753 if test "$wxUSE_PNM" = "yes" ; then
37754 cat >>confdefs.h <<\_ACEOF
37755 #define wxUSE_PNM 1
37756 _ACEOF
37757
37758 fi
37759
37760 if test "$wxUSE_XPM" = "yes" ; then
37761 cat >>confdefs.h <<\_ACEOF
37762 #define wxUSE_XPM 1
37763 _ACEOF
37764
37765 fi
37766
37767 if test "$wxUSE_ICO_CUR" = "yes" ; then
37768 cat >>confdefs.h <<\_ACEOF
37769 #define wxUSE_ICO_CUR 1
37770 _ACEOF
37771
37772 fi
37773 fi
37774
37775
37776 if test "$wxUSE_CHOICEDLG" = "yes"; then
37777 cat >>confdefs.h <<\_ACEOF
37778 #define wxUSE_CHOICEDLG 1
37779 _ACEOF
37780
37781 fi
37782
37783 if test "$wxUSE_COLOURDLG" = "yes"; then
37784 cat >>confdefs.h <<\_ACEOF
37785 #define wxUSE_COLOURDLG 1
37786 _ACEOF
37787
37788 fi
37789
37790 if test "$wxUSE_FILEDLG" = "yes"; then
37791 cat >>confdefs.h <<\_ACEOF
37792 #define wxUSE_FILEDLG 1
37793 _ACEOF
37794
37795 fi
37796
37797 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37798 cat >>confdefs.h <<\_ACEOF
37799 #define wxUSE_FINDREPLDLG 1
37800 _ACEOF
37801
37802 fi
37803
37804 if test "$wxUSE_FONTDLG" = "yes"; then
37805 cat >>confdefs.h <<\_ACEOF
37806 #define wxUSE_FONTDLG 1
37807 _ACEOF
37808
37809 fi
37810
37811 if test "$wxUSE_DIRDLG" = "yes"; then
37812 if test "$wxUSE_TREECTRL" != "yes"; then
37813 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37814 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37815 else
37816 cat >>confdefs.h <<\_ACEOF
37817 #define wxUSE_DIRDLG 1
37818 _ACEOF
37819
37820 fi
37821 fi
37822
37823 if test "$wxUSE_MSGDLG" = "yes"; then
37824 cat >>confdefs.h <<\_ACEOF
37825 #define wxUSE_MSGDLG 1
37826 _ACEOF
37827
37828 fi
37829
37830 if test "$wxUSE_NUMBERDLG" = "yes"; then
37831 cat >>confdefs.h <<\_ACEOF
37832 #define wxUSE_NUMBERDLG 1
37833 _ACEOF
37834
37835 fi
37836
37837 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37838 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37839 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37840 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37841 else
37842 cat >>confdefs.h <<\_ACEOF
37843 #define wxUSE_PROGRESSDLG 1
37844 _ACEOF
37845
37846 fi
37847 fi
37848
37849 if test "$wxUSE_SPLASH" = "yes"; then
37850 cat >>confdefs.h <<\_ACEOF
37851 #define wxUSE_SPLASH 1
37852 _ACEOF
37853
37854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
37855 fi
37856
37857 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37858 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37859 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37860 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37861 else
37862 cat >>confdefs.h <<\_ACEOF
37863 #define wxUSE_STARTUP_TIPS 1
37864 _ACEOF
37865
37866 fi
37867 fi
37868
37869 if test "$wxUSE_TEXTDLG" = "yes"; then
37870 cat >>confdefs.h <<\_ACEOF
37871 #define wxUSE_TEXTDLG 1
37872 _ACEOF
37873
37874 fi
37875
37876 if test "$wxUSE_WIZARDDLG" = "yes"; then
37877 cat >>confdefs.h <<\_ACEOF
37878 #define wxUSE_WIZARDDLG 1
37879 _ACEOF
37880
37881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37882 fi
37883
37884
37885 if test "$cross_compiling" = "yes"; then
37886 OSINFO="\"$host\""
37887 else
37888 OSINFO=`uname -s -r -m`
37889 OSINFO="\"$OSINFO\""
37890 fi
37891
37892 cat >>confdefs.h <<_ACEOF
37893 #define WXWIN_OS_DESCRIPTION $OSINFO
37894 _ACEOF
37895
37896
37897
37898 if test "x$prefix" != "xNONE"; then
37899 wxPREFIX=$prefix
37900 else
37901 wxPREFIX=$ac_default_prefix
37902 fi
37903
37904 cat >>confdefs.h <<_ACEOF
37905 #define wxINSTALL_PREFIX "$wxPREFIX"
37906 _ACEOF
37907
37908
37909
37910
37911 CORE_BASE_LIBS="net base"
37912 CORE_GUI_LIBS="adv core"
37913
37914 if test "$wxUSE_XML" = "yes" ; then
37915 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37916 fi
37917 if test "$wxUSE_ODBC" != "no" ; then
37918 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37919 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37920 fi
37921 if test "$wxUSE_HTML" = "yes" ; then
37922 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37923 fi
37924 if test "$wxUSE_XRC" = "yes" ; then
37925 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
37926 fi
37927
37928 if test "$wxUSE_GUI" != "yes"; then
37929 CORE_GUI_LIBS=""
37930 fi
37931
37932
37933
37934
37935
37936
37937
37938
37939 if test "$wxUSE_MAC" = 1 ; then
37940 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
37941 if test "$USE_DARWIN" = 1; then
37942 LDFLAGS="$LDFLAGS -framework QuickTime"
37943 else
37944 LDFLAGS="$LDFLAGS -lQuickTimeLib"
37945 fi
37946 fi
37947 if test "$USE_DARWIN" = 1; then
37948 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
37949 else
37950 LDFLAGS="$LDFLAGS -lCarbonLib"
37951 fi
37952 fi
37953 if test "$wxUSE_COCOA" = 1 ; then
37954 LDFLAGS="$LDFLAGS -framework Cocoa"
37955 fi
37956
37957
37958 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37959
37960 have_cos=0
37961 have_floor=0
37962
37963 for ac_func in cos
37964 do
37965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37966 echo "$as_me:$LINENO: checking for $ac_func" >&5
37967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37968 if eval "test \"\${$as_ac_var+set}\" = set"; then
37969 echo $ECHO_N "(cached) $ECHO_C" >&6
37970 else
37971 cat >conftest.$ac_ext <<_ACEOF
37972 /* confdefs.h. */
37973 _ACEOF
37974 cat confdefs.h >>conftest.$ac_ext
37975 cat >>conftest.$ac_ext <<_ACEOF
37976 /* end confdefs.h. */
37977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37979 #define $ac_func innocuous_$ac_func
37980
37981 /* System header to define __stub macros and hopefully few prototypes,
37982 which can conflict with char $ac_func (); below.
37983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37984 <limits.h> exists even on freestanding compilers. */
37985
37986 #ifdef __STDC__
37987 # include <limits.h>
37988 #else
37989 # include <assert.h>
37990 #endif
37991
37992 #undef $ac_func
37993
37994 /* Override any gcc2 internal prototype to avoid an error. */
37995 #ifdef __cplusplus
37996 extern "C"
37997 {
37998 #endif
37999 /* We use char because int might match the return type of a gcc2
38000 builtin and then its argument prototype would still apply. */
38001 char $ac_func ();
38002 /* The GNU C library defines this for functions which it implements
38003 to always fail with ENOSYS. Some functions are actually named
38004 something starting with __ and the normal name is an alias. */
38005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38006 choke me
38007 #else
38008 char (*f) () = $ac_func;
38009 #endif
38010 #ifdef __cplusplus
38011 }
38012 #endif
38013
38014 int
38015 main ()
38016 {
38017 return f != $ac_func;
38018 ;
38019 return 0;
38020 }
38021 _ACEOF
38022 rm -f conftest.$ac_objext conftest$ac_exeext
38023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38024 (eval $ac_link) 2>conftest.er1
38025 ac_status=$?
38026 grep -v '^ *+' conftest.er1 >conftest.err
38027 rm -f conftest.er1
38028 cat conftest.err >&5
38029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38030 (exit $ac_status); } &&
38031 { ac_try='test -z "$ac_c_werror_flag"
38032 || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38035 ac_status=$?
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 eval "$as_ac_var=yes"
38045 else
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.$ac_ext >&5
38048
38049 eval "$as_ac_var=no"
38050 fi
38051 rm -f conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38053 fi
38054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38056 if test `eval echo '${'$as_ac_var'}'` = yes; then
38057 cat >>confdefs.h <<_ACEOF
38058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38059 _ACEOF
38060 have_cos=1
38061 fi
38062 done
38063
38064
38065 for ac_func in floor
38066 do
38067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38068 echo "$as_me:$LINENO: checking for $ac_func" >&5
38069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38070 if eval "test \"\${$as_ac_var+set}\" = set"; then
38071 echo $ECHO_N "(cached) $ECHO_C" >&6
38072 else
38073 cat >conftest.$ac_ext <<_ACEOF
38074 /* confdefs.h. */
38075 _ACEOF
38076 cat confdefs.h >>conftest.$ac_ext
38077 cat >>conftest.$ac_ext <<_ACEOF
38078 /* end confdefs.h. */
38079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38081 #define $ac_func innocuous_$ac_func
38082
38083 /* System header to define __stub macros and hopefully few prototypes,
38084 which can conflict with char $ac_func (); below.
38085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38086 <limits.h> exists even on freestanding compilers. */
38087
38088 #ifdef __STDC__
38089 # include <limits.h>
38090 #else
38091 # include <assert.h>
38092 #endif
38093
38094 #undef $ac_func
38095
38096 /* Override any gcc2 internal prototype to avoid an error. */
38097 #ifdef __cplusplus
38098 extern "C"
38099 {
38100 #endif
38101 /* We use char because int might match the return type of a gcc2
38102 builtin and then its argument prototype would still apply. */
38103 char $ac_func ();
38104 /* The GNU C library defines this for functions which it implements
38105 to always fail with ENOSYS. Some functions are actually named
38106 something starting with __ and the normal name is an alias. */
38107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38108 choke me
38109 #else
38110 char (*f) () = $ac_func;
38111 #endif
38112 #ifdef __cplusplus
38113 }
38114 #endif
38115
38116 int
38117 main ()
38118 {
38119 return f != $ac_func;
38120 ;
38121 return 0;
38122 }
38123 _ACEOF
38124 rm -f conftest.$ac_objext conftest$ac_exeext
38125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38126 (eval $ac_link) 2>conftest.er1
38127 ac_status=$?
38128 grep -v '^ *+' conftest.er1 >conftest.err
38129 rm -f conftest.er1
38130 cat conftest.err >&5
38131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38132 (exit $ac_status); } &&
38133 { ac_try='test -z "$ac_c_werror_flag"
38134 || test ! -s conftest.err'
38135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38136 (eval $ac_try) 2>&5
38137 ac_status=$?
38138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139 (exit $ac_status); }; } &&
38140 { ac_try='test -s conftest$ac_exeext'
38141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38142 (eval $ac_try) 2>&5
38143 ac_status=$?
38144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38145 (exit $ac_status); }; }; then
38146 eval "$as_ac_var=yes"
38147 else
38148 echo "$as_me: failed program was:" >&5
38149 sed 's/^/| /' conftest.$ac_ext >&5
38150
38151 eval "$as_ac_var=no"
38152 fi
38153 rm -f conftest.err conftest.$ac_objext \
38154 conftest$ac_exeext conftest.$ac_ext
38155 fi
38156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38158 if test `eval echo '${'$as_ac_var'}'` = yes; then
38159 cat >>confdefs.h <<_ACEOF
38160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38161 _ACEOF
38162 have_floor=1
38163 fi
38164 done
38165
38166 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
38167 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
38168 if test "$have_cos" = 1 -a "$have_floor" = 1; then
38169 echo "$as_me:$LINENO: result: yes" >&5
38170 echo "${ECHO_T}yes" >&6
38171 else
38172 echo "$as_me:$LINENO: result: no" >&5
38173 echo "${ECHO_T}no" >&6
38174 LIBS="$LIBS -lm"
38175 # use different functions to avoid configure caching
38176 have_sin=0
38177 have_ceil=0
38178
38179 for ac_func in sin
38180 do
38181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38182 echo "$as_me:$LINENO: checking for $ac_func" >&5
38183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38184 if eval "test \"\${$as_ac_var+set}\" = set"; then
38185 echo $ECHO_N "(cached) $ECHO_C" >&6
38186 else
38187 cat >conftest.$ac_ext <<_ACEOF
38188 /* confdefs.h. */
38189 _ACEOF
38190 cat confdefs.h >>conftest.$ac_ext
38191 cat >>conftest.$ac_ext <<_ACEOF
38192 /* end confdefs.h. */
38193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38195 #define $ac_func innocuous_$ac_func
38196
38197 /* System header to define __stub macros and hopefully few prototypes,
38198 which can conflict with char $ac_func (); below.
38199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38200 <limits.h> exists even on freestanding compilers. */
38201
38202 #ifdef __STDC__
38203 # include <limits.h>
38204 #else
38205 # include <assert.h>
38206 #endif
38207
38208 #undef $ac_func
38209
38210 /* Override any gcc2 internal prototype to avoid an error. */
38211 #ifdef __cplusplus
38212 extern "C"
38213 {
38214 #endif
38215 /* We use char because int might match the return type of a gcc2
38216 builtin and then its argument prototype would still apply. */
38217 char $ac_func ();
38218 /* The GNU C library defines this for functions which it implements
38219 to always fail with ENOSYS. Some functions are actually named
38220 something starting with __ and the normal name is an alias. */
38221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38222 choke me
38223 #else
38224 char (*f) () = $ac_func;
38225 #endif
38226 #ifdef __cplusplus
38227 }
38228 #endif
38229
38230 int
38231 main ()
38232 {
38233 return f != $ac_func;
38234 ;
38235 return 0;
38236 }
38237 _ACEOF
38238 rm -f conftest.$ac_objext conftest$ac_exeext
38239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38240 (eval $ac_link) 2>conftest.er1
38241 ac_status=$?
38242 grep -v '^ *+' conftest.er1 >conftest.err
38243 rm -f conftest.er1
38244 cat conftest.err >&5
38245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38246 (exit $ac_status); } &&
38247 { ac_try='test -z "$ac_c_werror_flag"
38248 || test ! -s conftest.err'
38249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38250 (eval $ac_try) 2>&5
38251 ac_status=$?
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); }; } &&
38254 { ac_try='test -s conftest$ac_exeext'
38255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38256 (eval $ac_try) 2>&5
38257 ac_status=$?
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); }; }; then
38260 eval "$as_ac_var=yes"
38261 else
38262 echo "$as_me: failed program was:" >&5
38263 sed 's/^/| /' conftest.$ac_ext >&5
38264
38265 eval "$as_ac_var=no"
38266 fi
38267 rm -f conftest.err conftest.$ac_objext \
38268 conftest$ac_exeext conftest.$ac_ext
38269 fi
38270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38272 if test `eval echo '${'$as_ac_var'}'` = yes; then
38273 cat >>confdefs.h <<_ACEOF
38274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38275 _ACEOF
38276 have_sin=1
38277 fi
38278 done
38279
38280
38281 for ac_func in ceil
38282 do
38283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38284 echo "$as_me:$LINENO: checking for $ac_func" >&5
38285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38286 if eval "test \"\${$as_ac_var+set}\" = set"; then
38287 echo $ECHO_N "(cached) $ECHO_C" >&6
38288 else
38289 cat >conftest.$ac_ext <<_ACEOF
38290 /* confdefs.h. */
38291 _ACEOF
38292 cat confdefs.h >>conftest.$ac_ext
38293 cat >>conftest.$ac_ext <<_ACEOF
38294 /* end confdefs.h. */
38295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38297 #define $ac_func innocuous_$ac_func
38298
38299 /* System header to define __stub macros and hopefully few prototypes,
38300 which can conflict with char $ac_func (); below.
38301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38302 <limits.h> exists even on freestanding compilers. */
38303
38304 #ifdef __STDC__
38305 # include <limits.h>
38306 #else
38307 # include <assert.h>
38308 #endif
38309
38310 #undef $ac_func
38311
38312 /* Override any gcc2 internal prototype to avoid an error. */
38313 #ifdef __cplusplus
38314 extern "C"
38315 {
38316 #endif
38317 /* We use char because int might match the return type of a gcc2
38318 builtin and then its argument prototype would still apply. */
38319 char $ac_func ();
38320 /* The GNU C library defines this for functions which it implements
38321 to always fail with ENOSYS. Some functions are actually named
38322 something starting with __ and the normal name is an alias. */
38323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38324 choke me
38325 #else
38326 char (*f) () = $ac_func;
38327 #endif
38328 #ifdef __cplusplus
38329 }
38330 #endif
38331
38332 int
38333 main ()
38334 {
38335 return f != $ac_func;
38336 ;
38337 return 0;
38338 }
38339 _ACEOF
38340 rm -f conftest.$ac_objext conftest$ac_exeext
38341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38342 (eval $ac_link) 2>conftest.er1
38343 ac_status=$?
38344 grep -v '^ *+' conftest.er1 >conftest.err
38345 rm -f conftest.er1
38346 cat conftest.err >&5
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); } &&
38349 { ac_try='test -z "$ac_c_werror_flag"
38350 || test ! -s conftest.err'
38351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38352 (eval $ac_try) 2>&5
38353 ac_status=$?
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); }; } &&
38356 { ac_try='test -s conftest$ac_exeext'
38357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38358 (eval $ac_try) 2>&5
38359 ac_status=$?
38360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38361 (exit $ac_status); }; }; then
38362 eval "$as_ac_var=yes"
38363 else
38364 echo "$as_me: failed program was:" >&5
38365 sed 's/^/| /' conftest.$ac_ext >&5
38366
38367 eval "$as_ac_var=no"
38368 fi
38369 rm -f conftest.err conftest.$ac_objext \
38370 conftest$ac_exeext conftest.$ac_ext
38371 fi
38372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38374 if test `eval echo '${'$as_ac_var'}'` = yes; then
38375 cat >>confdefs.h <<_ACEOF
38376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38377 _ACEOF
38378 have_ceil=1
38379 fi
38380 done
38381
38382 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
38383 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
38384 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
38385 echo "$as_me:$LINENO: result: yes" >&5
38386 echo "${ECHO_T}yes" >&6
38387 else
38388 echo "$as_me:$LINENO: result: no" >&5
38389 echo "${ECHO_T}no" >&6
38390 # not sure we should warn the user, crash, etc.
38391 fi
38392 fi
38393
38394 if test "$wxUSE_GUI" = "yes"; then
38395
38396
38397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
38398 drawing dynamic erase event exec font image \
38399 minimal propsize rotate shaped widgets render"
38400
38401 if test "$wxUSE_MONOLITHIC" != "yes"; then
38402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
38403 fi
38404 else
38405 SAMPLES_SUBDIRS="console"
38406 fi
38407
38408
38409 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
38410 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
38411
38412 if test "$GXX" = yes ; then
38413 CXXWARNINGS="-Wall"
38414 fi
38415
38416 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
38417
38418 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS`
38419 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS`
38420 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS`
38421
38422
38423 LIBS=`echo $LIBS`
38424 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
38425 EXTRALIBS_XML="$EXPAT_LINK"
38426 EXTRALIBS_HTML="$MSPACK_LINK"
38427 EXTRALIBS_ODBC="$ODBC_LINK"
38428 if test "$wxUSE_GUI" = "yes"; then
38429 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
38430 fi
38431 if test "$wxUSE_OPENGL" = "yes"; then
38432 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
38433 fi
38434
38435 LDFLAGS="$LDFLAGS $PROFILE"
38436
38437 if test "$wxUSE_GTK" = 1; then
38438 WXCONFIG_INCLUDE=
38439 else
38440 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
38441 fi
38442
38443 WXCONFIG_EXTRALIBS="$LIBS"
38444
38445 if test "$wxUSE_REGEX" = "builtin" ; then
38446 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
38447 fi
38448 if test "$wxUSE_EXPAT" = "builtin" ; then
38449 wxconfig_3rdparty="$wxconfig_3rdparty expat"
38450 fi
38451 if test "$wxUSE_ODBC" = "builtin" ; then
38452 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38453 fi
38454 if test "$wxUSE_LIBTIFF" = "builtin" ; then
38455 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
38456 fi
38457 if test "$wxUSE_LIBJPEG" = "builtin" ; then
38458 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
38459 fi
38460 if test "$wxUSE_LIBPNG" = "builtin" ; then
38461 wxconfig_3rdparty="$wxconfig_3rdparty png"
38462 fi
38463 if test "$wxUSE_ZLIB" = "builtin" ; then
38464 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
38465 fi
38466 if test "$wxUSE_ODBC" = "builtin" ; then
38467 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
38468 fi
38469
38470 for i in $wxconfig_3rdparty ; do
38471 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38472 done
38473
38474
38475 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
38476 WXUNIV=1
38477 else
38478 WXUNIV=0
38479 fi
38480
38481
38482
38483
38484
38485
38486
38487
38488
38489 if test $wxUSE_MONOLITHIC = "yes" ; then
38490 MONOLITHIC=1
38491 else
38492 MONOLITHIC=0
38493 fi
38494
38495 if test $wxUSE_PLUGINS = "yes" ; then
38496 USE_PLUGINS=1
38497 else
38498 USE_PLUGINS=0
38499 fi
38500
38501 if test $wxUSE_ODBC != "no" ; then
38502 USE_ODBC=1
38503 else
38504 USE_ODBC=0
38505 fi
38506
38507 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
38508 OFFICIAL_BUILD=1
38509 else
38510 OFFICIAL_BUILD=0
38511 fi
38512
38513
38514
38515
38516
38517
38518
38519
38520
38521
38522
38523
38524
38525
38526
38527
38528
38529
38530
38531
38532
38533
38534
38535 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
38536
38537
38538
38539
38540
38541
38542
38543
38544 case "$TOOLKIT" in
38545 GTK)
38546 TOOLKIT_USER="GTK+"
38547 if test "$WXGTK20" = 1; then
38548 TOOLKIT_USER="$TOOLKIT_USER 2"
38549 fi
38550 ;;
38551
38552 *)
38553 TOOLKIT_USER=$TOOLKIT_LOWERCASE
38554 ;;
38555 esac
38556
38557
38558
38559
38560 if test "x$BAKEFILE_HOST" = "x"; then
38561 BAKEFILE_HOST="${host}"
38562 fi
38563
38564 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38565
38566 if test -n "$ac_tool_prefix"; then
38567 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38568 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
38569 echo "$as_me:$LINENO: checking for $ac_word" >&5
38570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38571 if test "${ac_cv_prog_RANLIB+set}" = set; then
38572 echo $ECHO_N "(cached) $ECHO_C" >&6
38573 else
38574 if test -n "$RANLIB"; then
38575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
38576 else
38577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38578 for as_dir in $PATH
38579 do
38580 IFS=$as_save_IFS
38581 test -z "$as_dir" && as_dir=.
38582 for ac_exec_ext in '' $ac_executable_extensions; do
38583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38584 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
38585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38586 break 2
38587 fi
38588 done
38589 done
38590
38591 fi
38592 fi
38593 RANLIB=$ac_cv_prog_RANLIB
38594 if test -n "$RANLIB"; then
38595 echo "$as_me:$LINENO: result: $RANLIB" >&5
38596 echo "${ECHO_T}$RANLIB" >&6
38597 else
38598 echo "$as_me:$LINENO: result: no" >&5
38599 echo "${ECHO_T}no" >&6
38600 fi
38601
38602 fi
38603 if test -z "$ac_cv_prog_RANLIB"; then
38604 ac_ct_RANLIB=$RANLIB
38605 # Extract the first word of "ranlib", so it can be a program name with args.
38606 set dummy ranlib; ac_word=$2
38607 echo "$as_me:$LINENO: checking for $ac_word" >&5
38608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38609 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38610 echo $ECHO_N "(cached) $ECHO_C" >&6
38611 else
38612 if test -n "$ac_ct_RANLIB"; then
38613 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38614 else
38615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38616 for as_dir in $PATH
38617 do
38618 IFS=$as_save_IFS
38619 test -z "$as_dir" && as_dir=.
38620 for ac_exec_ext in '' $ac_executable_extensions; do
38621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38622 ac_cv_prog_ac_ct_RANLIB="ranlib"
38623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38624 break 2
38625 fi
38626 done
38627 done
38628
38629 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38630 fi
38631 fi
38632 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38633 if test -n "$ac_ct_RANLIB"; then
38634 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38635 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38636 else
38637 echo "$as_me:$LINENO: result: no" >&5
38638 echo "${ECHO_T}no" >&6
38639 fi
38640
38641 RANLIB=$ac_ct_RANLIB
38642 else
38643 RANLIB="$ac_cv_prog_RANLIB"
38644 fi
38645
38646 # Find a good install program. We prefer a C program (faster),
38647 # so one script is as good as another. But avoid the broken or
38648 # incompatible versions:
38649 # SysV /etc/install, /usr/sbin/install
38650 # SunOS /usr/etc/install
38651 # IRIX /sbin/install
38652 # AIX /bin/install
38653 # AmigaOS /C/install, which installs bootblocks on floppy discs
38654 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38655 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38656 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38657 # OS/2's system install, which has a completely different semantic
38658 # ./install, which can be erroneously created by make from ./install.sh.
38659 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38660 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38661 if test -z "$INSTALL"; then
38662 if test "${ac_cv_path_install+set}" = set; then
38663 echo $ECHO_N "(cached) $ECHO_C" >&6
38664 else
38665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38666 for as_dir in $PATH
38667 do
38668 IFS=$as_save_IFS
38669 test -z "$as_dir" && as_dir=.
38670 # Account for people who put trailing slashes in PATH elements.
38671 case $as_dir/ in
38672 ./ | .// | /cC/* | \
38673 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38674 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38675 /usr/ucb/* ) ;;
38676 *)
38677 # OSF1 and SCO ODT 3.0 have their own names for install.
38678 # Don't use installbsd from OSF since it installs stuff as root
38679 # by default.
38680 for ac_prog in ginstall scoinst install; do
38681 for ac_exec_ext in '' $ac_executable_extensions; do
38682 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38683 if test $ac_prog = install &&
38684 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38685 # AIX install. It has an incompatible calling convention.
38686 :
38687 elif test $ac_prog = install &&
38688 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38689 # program-specific install script used by HP pwplus--don't use.
38690 :
38691 else
38692 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38693 break 3
38694 fi
38695 fi
38696 done
38697 done
38698 ;;
38699 esac
38700 done
38701
38702
38703 fi
38704 if test "${ac_cv_path_install+set}" = set; then
38705 INSTALL=$ac_cv_path_install
38706 else
38707 # As a last resort, use the slow shell script. We don't cache a
38708 # path for INSTALL within a source directory, because that will
38709 # break other packages using the cache if that directory is
38710 # removed, or if the path is relative.
38711 INSTALL=$ac_install_sh
38712 fi
38713 fi
38714 echo "$as_me:$LINENO: result: $INSTALL" >&5
38715 echo "${ECHO_T}$INSTALL" >&6
38716
38717 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38718 # It thinks the first close brace ends the variable substitution.
38719 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38720
38721 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38722
38723 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38724
38725 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38726 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38727 LN_S=$as_ln_s
38728 if test "$LN_S" = "ln -s"; then
38729 echo "$as_me:$LINENO: result: yes" >&5
38730 echo "${ECHO_T}yes" >&6
38731 else
38732 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38733 echo "${ECHO_T}no, using $LN_S" >&6
38734 fi
38735
38736
38737 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38738 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38739 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38740 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38741 echo $ECHO_N "(cached) $ECHO_C" >&6
38742 else
38743 cat >conftest.make <<\_ACEOF
38744 all:
38745 @echo 'ac_maketemp="$(MAKE)"'
38746 _ACEOF
38747 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38748 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38749 if test -n "$ac_maketemp"; then
38750 eval ac_cv_prog_make_${ac_make}_set=yes
38751 else
38752 eval ac_cv_prog_make_${ac_make}_set=no
38753 fi
38754 rm -f conftest.make
38755 fi
38756 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38757 echo "$as_me:$LINENO: result: yes" >&5
38758 echo "${ECHO_T}yes" >&6
38759 SET_MAKE=
38760 else
38761 echo "$as_me:$LINENO: result: no" >&5
38762 echo "${ECHO_T}no" >&6
38763 SET_MAKE="MAKE=${MAKE-make}"
38764 fi
38765
38766
38767
38768 if test -n "$ac_tool_prefix"; then
38769 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38770 set dummy ${ac_tool_prefix}ar; ac_word=$2
38771 echo "$as_me:$LINENO: checking for $ac_word" >&5
38772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38773 if test "${ac_cv_prog_AR+set}" = set; then
38774 echo $ECHO_N "(cached) $ECHO_C" >&6
38775 else
38776 if test -n "$AR"; then
38777 ac_cv_prog_AR="$AR" # Let the user override the test.
38778 else
38779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38780 for as_dir in $PATH
38781 do
38782 IFS=$as_save_IFS
38783 test -z "$as_dir" && as_dir=.
38784 for ac_exec_ext in '' $ac_executable_extensions; do
38785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38786 ac_cv_prog_AR="${ac_tool_prefix}ar"
38787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38788 break 2
38789 fi
38790 done
38791 done
38792
38793 fi
38794 fi
38795 AR=$ac_cv_prog_AR
38796 if test -n "$AR"; then
38797 echo "$as_me:$LINENO: result: $AR" >&5
38798 echo "${ECHO_T}$AR" >&6
38799 else
38800 echo "$as_me:$LINENO: result: no" >&5
38801 echo "${ECHO_T}no" >&6
38802 fi
38803
38804 fi
38805 if test -z "$ac_cv_prog_AR"; then
38806 ac_ct_AR=$AR
38807 # Extract the first word of "ar", so it can be a program name with args.
38808 set dummy ar; ac_word=$2
38809 echo "$as_me:$LINENO: checking for $ac_word" >&5
38810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38811 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38812 echo $ECHO_N "(cached) $ECHO_C" >&6
38813 else
38814 if test -n "$ac_ct_AR"; then
38815 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38816 else
38817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38818 for as_dir in $PATH
38819 do
38820 IFS=$as_save_IFS
38821 test -z "$as_dir" && as_dir=.
38822 for ac_exec_ext in '' $ac_executable_extensions; do
38823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38824 ac_cv_prog_ac_ct_AR="ar"
38825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38826 break 2
38827 fi
38828 done
38829 done
38830
38831 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38832 fi
38833 fi
38834 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38835 if test -n "$ac_ct_AR"; then
38836 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38837 echo "${ECHO_T}$ac_ct_AR" >&6
38838 else
38839 echo "$as_me:$LINENO: result: no" >&5
38840 echo "${ECHO_T}no" >&6
38841 fi
38842
38843 AR=$ac_ct_AR
38844 else
38845 AR="$ac_cv_prog_AR"
38846 fi
38847
38848 if test -n "$ac_tool_prefix"; then
38849 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38850 set dummy ${ac_tool_prefix}strip; ac_word=$2
38851 echo "$as_me:$LINENO: checking for $ac_word" >&5
38852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38853 if test "${ac_cv_prog_STRIP+set}" = set; then
38854 echo $ECHO_N "(cached) $ECHO_C" >&6
38855 else
38856 if test -n "$STRIP"; then
38857 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38858 else
38859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38860 for as_dir in $PATH
38861 do
38862 IFS=$as_save_IFS
38863 test -z "$as_dir" && as_dir=.
38864 for ac_exec_ext in '' $ac_executable_extensions; do
38865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38866 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38868 break 2
38869 fi
38870 done
38871 done
38872
38873 fi
38874 fi
38875 STRIP=$ac_cv_prog_STRIP
38876 if test -n "$STRIP"; then
38877 echo "$as_me:$LINENO: result: $STRIP" >&5
38878 echo "${ECHO_T}$STRIP" >&6
38879 else
38880 echo "$as_me:$LINENO: result: no" >&5
38881 echo "${ECHO_T}no" >&6
38882 fi
38883
38884 fi
38885 if test -z "$ac_cv_prog_STRIP"; then
38886 ac_ct_STRIP=$STRIP
38887 # Extract the first word of "strip", so it can be a program name with args.
38888 set dummy strip; ac_word=$2
38889 echo "$as_me:$LINENO: checking for $ac_word" >&5
38890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38891 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38892 echo $ECHO_N "(cached) $ECHO_C" >&6
38893 else
38894 if test -n "$ac_ct_STRIP"; then
38895 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38896 else
38897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38898 for as_dir in $PATH
38899 do
38900 IFS=$as_save_IFS
38901 test -z "$as_dir" && as_dir=.
38902 for ac_exec_ext in '' $ac_executable_extensions; do
38903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38904 ac_cv_prog_ac_ct_STRIP="strip"
38905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38906 break 2
38907 fi
38908 done
38909 done
38910
38911 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38912 fi
38913 fi
38914 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38915 if test -n "$ac_ct_STRIP"; then
38916 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38917 echo "${ECHO_T}$ac_ct_STRIP" >&6
38918 else
38919 echo "$as_me:$LINENO: result: no" >&5
38920 echo "${ECHO_T}no" >&6
38921 fi
38922
38923 STRIP=$ac_ct_STRIP
38924 else
38925 STRIP="$ac_cv_prog_STRIP"
38926 fi
38927
38928 if test -n "$ac_tool_prefix"; then
38929 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38930 set dummy ${ac_tool_prefix}nm; ac_word=$2
38931 echo "$as_me:$LINENO: checking for $ac_word" >&5
38932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38933 if test "${ac_cv_prog_NM+set}" = set; then
38934 echo $ECHO_N "(cached) $ECHO_C" >&6
38935 else
38936 if test -n "$NM"; then
38937 ac_cv_prog_NM="$NM" # Let the user override the test.
38938 else
38939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38940 for as_dir in $PATH
38941 do
38942 IFS=$as_save_IFS
38943 test -z "$as_dir" && as_dir=.
38944 for ac_exec_ext in '' $ac_executable_extensions; do
38945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38946 ac_cv_prog_NM="${ac_tool_prefix}nm"
38947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38948 break 2
38949 fi
38950 done
38951 done
38952
38953 fi
38954 fi
38955 NM=$ac_cv_prog_NM
38956 if test -n "$NM"; then
38957 echo "$as_me:$LINENO: result: $NM" >&5
38958 echo "${ECHO_T}$NM" >&6
38959 else
38960 echo "$as_me:$LINENO: result: no" >&5
38961 echo "${ECHO_T}no" >&6
38962 fi
38963
38964 fi
38965 if test -z "$ac_cv_prog_NM"; then
38966 ac_ct_NM=$NM
38967 # Extract the first word of "nm", so it can be a program name with args.
38968 set dummy nm; ac_word=$2
38969 echo "$as_me:$LINENO: checking for $ac_word" >&5
38970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38971 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38972 echo $ECHO_N "(cached) $ECHO_C" >&6
38973 else
38974 if test -n "$ac_ct_NM"; then
38975 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38976 else
38977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38978 for as_dir in $PATH
38979 do
38980 IFS=$as_save_IFS
38981 test -z "$as_dir" && as_dir=.
38982 for ac_exec_ext in '' $ac_executable_extensions; do
38983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38984 ac_cv_prog_ac_ct_NM="nm"
38985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38986 break 2
38987 fi
38988 done
38989 done
38990
38991 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38992 fi
38993 fi
38994 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38995 if test -n "$ac_ct_NM"; then
38996 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38997 echo "${ECHO_T}$ac_ct_NM" >&6
38998 else
38999 echo "$as_me:$LINENO: result: no" >&5
39000 echo "${ECHO_T}no" >&6
39001 fi
39002
39003 NM=$ac_ct_NM
39004 else
39005 NM="$ac_cv_prog_NM"
39006 fi
39007
39008
39009 case ${BAKEFILE_HOST} in
39010 *-hp-hpux* )
39011 INSTALL_DIR="mkdir -p"
39012 ;;
39013 *) INSTALL_DIR="$INSTALL -d"
39014 ;;
39015 esac
39016
39017
39018 LDFLAGS_GUI=
39019 case ${BAKEFILE_HOST} in
39020 *-*-cygwin* | *-*-mingw32* )
39021 LDFLAGS_GUI="-mwindows"
39022 esac
39023
39024
39025 fi
39026
39027 echo "$as_me:$LINENO: checking if make is GNU make" >&5
39028 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
39029 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
39030 echo $ECHO_N "(cached) $ECHO_C" >&6
39031 else
39032
39033 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
39034 egrep -s GNU > /dev/null); then
39035 bakefile_cv_prog_makeisgnu="yes"
39036 else
39037 bakefile_cv_prog_makeisgnu="no"
39038 fi
39039
39040 fi
39041 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
39042 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
39043
39044 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
39045 IF_GNU_MAKE=""
39046 else
39047 IF_GNU_MAKE="#"
39048 fi
39049
39050
39051
39052 PLATFORM_UNIX=0
39053 PLATFORM_WIN32=0
39054 PLATFORM_MSDOS=0
39055 PLATFORM_MAC=0
39056 PLATFORM_MACOS=0
39057 PLATFORM_MACOSX=0
39058 PLATFORM_OS2=0
39059 PLATFORM_BEOS=0
39060
39061 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
39062 case "${BAKEFILE_HOST}" in
39063 *-*-cygwin* | *-*-mingw32* )
39064 PLATFORM_WIN32=1
39065 ;;
39066 *-pc-msdosdjgpp )
39067 PLATFORM_MSDOS=1
39068 ;;
39069 *-pc-os2_emx | *-pc-os2-emx )
39070 PLATFORM_OS2=1
39071 ;;
39072 powerpc-*-darwin* )
39073 PLATFORM_MAC=1
39074 PLATFORM_MACOSX=1
39075 ;;
39076 *-*-beos* )
39077 PLATFORM_BEOS=1
39078 ;;
39079 powerpc-apple-macos* )
39080 PLATFORM_MAC=1
39081 PLATFORM_MACOS=1
39082 ;;
39083 * )
39084 PLATFORM_UNIX=1
39085 ;;
39086 esac
39087 else
39088 case "$BAKEFILE_FORCE_PLATFORM" in
39089 win32 )
39090 PLATFORM_WIN32=1
39091 ;;
39092 msdos )
39093 PLATFORM_MSDOS=1
39094 ;;
39095 os2 )
39096 PLATFORM_OS2=1
39097 ;;
39098 darwin )
39099 PLATFORM_MAC=1
39100 PLATFORM_MACOSX=1
39101 ;;
39102 unix )
39103 PLATFORM_UNIX=1
39104 ;;
39105 beos )
39106 PLATFORM_BEOS=1
39107 ;;
39108 * )
39109 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
39110 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
39111 { (exit 1); exit 1; }; }
39112 ;;
39113 esac
39114 fi
39115
39116
39117
39118
39119
39120
39121
39122
39123
39124
39125
39126 # Check whether --enable-omf or --disable-omf was given.
39127 if test "${enable_omf+set}" = set; then
39128 enableval="$enable_omf"
39129 bk_os2_use_omf="$enableval"
39130 fi;
39131
39132 case "${BAKEFILE_HOST}" in
39133 *-*-darwin* )
39134 CFLAGS="$CFLAGS -fno-common"
39135 CXXFLAGS="$CXXFLAGS -fno-common"
39136 ;;
39137
39138 *-pc-os2_emx | *-pc-os2-emx )
39139 if test "x$bk_os2_use_omf" = "xyes" ; then
39140 AR=emxomfar
39141 RANLIB=:
39142 LDFLAGS="-Zomf $LDFLAGS"
39143 CFLAGS="-Zomf $CFLAGS"
39144 CXXFLAGS="-Zomf $CXXFLAGS"
39145 OS2_LIBEXT="lib"
39146 else
39147 OS2_LIBEXT="a"
39148 fi
39149 ;;
39150
39151 i*86-*-beos* )
39152 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
39153 ;;
39154 esac
39155
39156
39157 SO_SUFFIX="so"
39158 SO_SUFFIX_MODULE="so"
39159 EXEEXT=""
39160 LIBPREFIX="lib"
39161 LIBEXT=".a"
39162 DLLPREFIX="lib"
39163 DLLPREFIX_MODULE=""
39164 DLLIMP_SUFFIX=""
39165
39166 case "${BAKEFILE_HOST}" in
39167 *-hp-hpux* )
39168 SO_SUFFIX="sl"
39169 SO_SUFFIX_MODULE="sl"
39170 ;;
39171 *-*-aix* )
39172 SO_SUFFIX="a"
39173 SO_SUFFIX_MODULE="a"
39174 ;;
39175 *-*-cygwin* | *-*-mingw32* )
39176 SO_SUFFIX="dll"
39177 SO_SUFFIX_MODULE="dll"
39178 DLLIMP_SUFFIX="dll.a"
39179 EXEEXT=".exe"
39180 DLLPREFIX=""
39181 ;;
39182 *-pc-msdosdjgpp )
39183 EXEEXT=".exe"
39184 DLLPREFIX=""
39185 ;;
39186 *-pc-os2_emx | *-pc-os2-emx )
39187 SO_SUFFIX="dll"
39188 SO_SUFFIX_MODULE="dll"
39189 DLLIMP_SUFFIX=$OS2_LIBEXT
39190 EXEEXT=".exe"
39191 DLLPREFIX=""
39192 LIBPREFIX=""
39193 LIBEXT=".$OS2_LIBEXT"
39194 ;;
39195 powerpc-*-darwin* )
39196 SO_SUFFIX="dylib"
39197 SO_SUFFIX_MODULE="bundle"
39198 ;;
39199 esac
39200
39201 if test "x$DLLIMP_SUFFIX" = "x" ; then
39202 DLLIMP_SUFFIX="$SO_SUFFIX"
39203 fi
39204
39205
39206
39207
39208
39209
39210
39211
39212
39213
39214
39215 PIC_FLAG=""
39216 if test "x$GCC" = "xyes"; then
39217 PIC_FLAG="-fPIC"
39218 fi
39219
39220 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
39221 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
39222
39223 case "${BAKEFILE_HOST}" in
39224 *-hp-hpux* )
39225 if test "x$GCC" != "xyes"; then
39226 LDFLAGS="$LDFLAGS -L/usr/lib"
39227
39228 SHARED_LD_CC="${CC} -b -o"
39229 SHARED_LD_CXX="${CXX} -b -o"
39230 PIC_FLAG="+Z"
39231 fi
39232 ;;
39233
39234 *-*-linux* )
39235 if test "x$GCC" != "xyes"; then
39236 echo "$as_me:$LINENO: checking for Intel compiler" >&5
39237 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
39238 if test "${bakefile_cv_prog_icc+set}" = set; then
39239 echo $ECHO_N "(cached) $ECHO_C" >&6
39240 else
39241
39242 cat >conftest.$ac_ext <<_ACEOF
39243 /* confdefs.h. */
39244 _ACEOF
39245 cat confdefs.h >>conftest.$ac_ext
39246 cat >>conftest.$ac_ext <<_ACEOF
39247 /* end confdefs.h. */
39248
39249 int
39250 main ()
39251 {
39252
39253 #ifndef __INTEL_COMPILER
39254 #error Not icc
39255 #endif
39256
39257 ;
39258 return 0;
39259 }
39260 _ACEOF
39261 rm -f conftest.$ac_objext
39262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39263 (eval $ac_compile) 2>conftest.er1
39264 ac_status=$?
39265 grep -v '^ *+' conftest.er1 >conftest.err
39266 rm -f conftest.er1
39267 cat conftest.err >&5
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); } &&
39270 { ac_try='test -z "$ac_c_werror_flag"
39271 || test ! -s conftest.err'
39272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39273 (eval $ac_try) 2>&5
39274 ac_status=$?
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); }; } &&
39277 { ac_try='test -s conftest.$ac_objext'
39278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279 (eval $ac_try) 2>&5
39280 ac_status=$?
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); }; }; then
39283 bakefile_cv_prog_icc=yes
39284 else
39285 echo "$as_me: failed program was:" >&5
39286 sed 's/^/| /' conftest.$ac_ext >&5
39287
39288 bakefile_cv_prog_icc=no
39289
39290 fi
39291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39292
39293 fi
39294 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
39295 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
39296 if test "$bakefile_cv_prog_icc" = "yes"; then
39297 PIC_FLAG="-KPIC"
39298 fi
39299 fi
39300 ;;
39301
39302 *-*-solaris2* )
39303 if test "x$GCC" != xyes ; then
39304 SHARED_LD_CC="${CC} -G -o"
39305 SHARED_LD_CXX="${CXX} -G -o"
39306 PIC_FLAG="-KPIC"
39307 fi
39308 ;;
39309
39310 *-*-darwin* )
39311
39312 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
39313 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
39314 if test "${wx_cv_gcc31+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39317
39318 cat >conftest.$ac_ext <<_ACEOF
39319 /* confdefs.h. */
39320 _ACEOF
39321 cat confdefs.h >>conftest.$ac_ext
39322 cat >>conftest.$ac_ext <<_ACEOF
39323 /* end confdefs.h. */
39324
39325 int
39326 main ()
39327 {
39328
39329 #if (__GNUC__ < 3) || \
39330 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
39331 #error old gcc
39332 #endif
39333
39334 ;
39335 return 0;
39336 }
39337 _ACEOF
39338 rm -f conftest.$ac_objext
39339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39340 (eval $ac_compile) 2>conftest.er1
39341 ac_status=$?
39342 grep -v '^ *+' conftest.er1 >conftest.err
39343 rm -f conftest.er1
39344 cat conftest.err >&5
39345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346 (exit $ac_status); } &&
39347 { ac_try='test -z "$ac_c_werror_flag"
39348 || test ! -s conftest.err'
39349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39350 (eval $ac_try) 2>&5
39351 ac_status=$?
39352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39353 (exit $ac_status); }; } &&
39354 { ac_try='test -s conftest.$ac_objext'
39355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39356 (eval $ac_try) 2>&5
39357 ac_status=$?
39358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359 (exit $ac_status); }; }; then
39360
39361 wx_cv_gcc31=yes
39362
39363 else
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39366
39367
39368 wx_cv_gcc31=no
39369
39370
39371 fi
39372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39373
39374 fi
39375 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
39376 echo "${ECHO_T}$wx_cv_gcc31" >&6
39377 if test "$wx_cv_gcc31" = "no"; then
39378
39379 D='$'
39380 cat <<EOF >shared-ld-sh
39381 #!/bin/sh
39382 #-----------------------------------------------------------------------------
39383 #-- Name: distrib/mac/shared-ld-sh
39384 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
39385 #-- Author: Gilles Depeyrot
39386 #-- Copyright: (c) 2002 Gilles Depeyrot
39387 #-- Licence: any use permitted
39388 #-----------------------------------------------------------------------------
39389
39390 verbose=0
39391 args=""
39392 objects=""
39393 linking_flag="-dynamiclib"
39394
39395 while test ${D}# -gt 0; do
39396 case ${D}1 in
39397
39398 -v)
39399 verbose=1
39400 ;;
39401
39402 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
39403 # collect these options and values
39404 args="${D}{args} ${D}1 ${D}2"
39405 shift
39406 ;;
39407
39408 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
39409 # collect these options
39410 args="${D}{args} ${D}1"
39411 ;;
39412
39413 -dynamiclib|-bundle)
39414 linking_flag="${D}1"
39415 ;;
39416
39417 -*)
39418 echo "shared-ld: unhandled option '${D}1'"
39419 exit 1
39420 ;;
39421
39422 *.o | *.a | *.dylib)
39423 # collect object files
39424 objects="${D}{objects} ${D}1"
39425 ;;
39426
39427 *)
39428 echo "shared-ld: unhandled argument '${D}1'"
39429 exit 1
39430 ;;
39431
39432 esac
39433 shift
39434 done
39435
39436 #
39437 # Link one module containing all the others
39438 #
39439 if test ${D}{verbose} = 1; then
39440 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
39441 fi
39442 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
39443 status=${D}?
39444 if test ${D}{status} != 0; then
39445 exit ${D}{status}
39446 fi
39447
39448 #
39449 # Link the shared library from the single module created
39450 #
39451 if test ${D}{verbose} = 1; then
39452 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
39453 fi
39454 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
39455 status=${D}?
39456 if test ${D}{status} != 0; then
39457 exit ${D}{status}
39458 fi
39459
39460 #
39461 # Remove intermediate module
39462 #
39463 rm -f master.${D}${D}.o
39464
39465 exit 0
39466 EOF
39467
39468 chmod +x shared-ld-sh
39469
39470 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
39471 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
39472 SHARED_LD_CXX="$SHARED_LD_CC"
39473 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
39474 else
39475 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
39476 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
39477 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
39478 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
39479 fi
39480
39481 PIC_FLAG="-dynamic -fPIC"
39482 ;;
39483
39484 *-*-aix* )
39485 if test "x$GCC" != "xyes"; then
39486 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
39487 set dummy makeC++SharedLib; ac_word=$2
39488 echo "$as_me:$LINENO: checking for $ac_word" >&5
39489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39490 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 else
39493 if test -n "$AIX_CXX_LD"; then
39494 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
39495 else
39496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39497 for as_dir in $PATH
39498 do
39499 IFS=$as_save_IFS
39500 test -z "$as_dir" && as_dir=.
39501 for ac_exec_ext in '' $ac_executable_extensions; do
39502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39503 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
39504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39505 break 2
39506 fi
39507 done
39508 done
39509
39510 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
39511 fi
39512 fi
39513 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
39514 if test -n "$AIX_CXX_LD"; then
39515 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
39516 echo "${ECHO_T}$AIX_CXX_LD" >&6
39517 else
39518 echo "$as_me:$LINENO: result: no" >&5
39519 echo "${ECHO_T}no" >&6
39520 fi
39521
39522 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
39523 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
39524 fi
39525 ;;
39526
39527 *-*-beos* )
39528 SHARED_LD_CC="${LD} -nostart -o"
39529 SHARED_LD_CXX="${LD} -nostart -o"
39530 ;;
39531
39532 *-*-irix* )
39533 if test "x$GCC" != "xyes"; then
39534 PIC_FLAG="-KPIC"
39535 fi
39536 ;;
39537
39538 *-*-cygwin* | *-*-mingw32* )
39539 PIC_FLAG=""
39540 SHARED_LD_CC="\$(CC) -shared -o"
39541 SHARED_LD_CXX="\$(CXX) -shared -o"
39542 ;;
39543
39544 *-pc-os2_emx | *-pc-os2-emx )
39545 SHARED_LD_CC="`pwd`/dllar.sh -o"
39546 SHARED_LD_CXX="`pwd`/dllar.sh -o"
39547 PIC_FLAG=""
39548
39549 D='$'
39550 cat <<EOF >dllar.sh
39551 #!/bin/sh
39552 #
39553 # dllar - a tool to build both a .dll and an .a file
39554 # from a set of object (.o) files for EMX/OS2.
39555 #
39556 # Written by Andrew Zabolotny, bit@freya.etu.ru
39557 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39558 #
39559 # This script will accept a set of files on the command line.
39560 # All the public symbols from the .o files will be exported into
39561 # a .DEF file, then linker will be run (through gcc) against them to
39562 # build a shared library consisting of all given .o files. All libraries
39563 # (.a) will be first decompressed into component .o files then act as
39564 # described above. You can optionally give a description (-d "description")
39565 # which will be put into .DLL. To see the list of accepted options (as well
39566 # as command-line format) simply run this program without options. The .DLL
39567 # is built to be imported by name (there is no guarantee that new versions
39568 # of the library you build will have same ordinals for same symbols).
39569 #
39570 # dllar is free software; you can redistribute it and/or modify
39571 # it under the terms of the GNU General Public License as published by
39572 # the Free Software Foundation; either version 2, or (at your option)
39573 # any later version.
39574 #
39575 # dllar is distributed in the hope that it will be useful,
39576 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39577 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39578 # GNU General Public License for more details.
39579 #
39580 # You should have received a copy of the GNU General Public License
39581 # along with dllar; see the file COPYING. If not, write to the Free
39582 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39583 # 02111-1307, USA.
39584
39585 # To successfuly run this program you will need:
39586 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39587 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39588 # - gcc
39589 # (used to build the .dll)
39590 # - emxexp
39591 # (used to create .def file from .o files)
39592 # - emximp
39593 # (used to create .a file from .def file)
39594 # - GNU text utilites (cat, sort, uniq)
39595 # used to process emxexp output
39596 # - GNU file utilities (mv, rm)
39597 # - GNU sed
39598 # - lxlite (optional, see flag below)
39599 # (used for general .dll cleanup)
39600 #
39601
39602 flag_USE_LXLITE=1;
39603
39604 #
39605 # helper functions
39606 # basnam, variant of basename, which does _not_ remove the path, _iff_
39607 # second argument (suffix to remove) is given
39608 basnam(){
39609 case ${D}# in
39610 1)
39611 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39612 ;;
39613 2)
39614 echo ${D}1 | sed 's/'${D}2'${D}//'
39615 ;;
39616 *)
39617 echo "error in basnam ${D}*"
39618 exit 8
39619 ;;
39620 esac
39621 }
39622
39623 # Cleanup temporary files and output
39624 CleanUp() {
39625 cd ${D}curDir
39626 for i in ${D}inputFiles ; do
39627 case ${D}i in
39628 *!)
39629 rm -rf \`basnam ${D}i !\`
39630 ;;
39631 *)
39632 ;;
39633 esac
39634 done
39635
39636 # Kill result in case of failure as there is just to many stupid make/nmake
39637 # things out there which doesn't do this.
39638 if [ ${D}# -eq 0 ]; then
39639 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39640 fi
39641 }
39642
39643 # Print usage and exit script with rc=1.
39644 PrintHelp() {
39645 echo 'Usage: dllar [-o@<:${utput}:>@ output_file] [-i@<:${mport}:>@ importlib_name]'
39646 echo ' [-d@<:${escription}:>@ "dll descrption"] [-cc "CC"] [-f@<:${lags}:>@ "CFLAGS"]'
39647 echo ' [-ord@<:${inals}:>@] -ex@<:${clude}:>@ "symbol(s)"'
39648 echo ' [-libf@<:${lags}:>@ "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt@<:${dll}:>@] [-nolxl@<:${ite}:>@]'
39649 echo ' [*.o] [*.a]'
39650 echo '*> "output_file" should have no extension.'
39651 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39652 echo ' The import library name is derived from this and is set to "name".a,'
39653 echo ' unless overridden by -import'
39654 echo '*> "importlib_name" should have no extension.'
39655 echo ' If it has the .o, or .a extension, it is automatically removed.'
39656 echo ' This name is used as the import library name and may be longer and'
39657 echo ' more descriptive than the DLL name which has to follow the old '
39658 echo ' 8.3 convention of FAT.'
39659 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39660 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39661 echo ' These flags will be put at the start of GCC command line.'
39662 echo '*> -ord@<:${inals}:>@ tells dllar to export entries by ordinals. Be careful.'
39663 echo '*> -ex@<:${clude}:>@ defines symbols which will not be exported. You can define'
39664 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39665 echo ' If the last character of a symbol is "*", all symbols beginning'
39666 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39667 echo '*> -libf@<:${lags}:>@ can be used to add INITGLOBAL/INITINSTANCE and/or'
39668 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39669 echo '*> -nocrt@<:${dll}:>@ switch will disable linking the library against emx''s'
39670 echo ' C runtime DLLs.'
39671 echo '*> -nolxl@<:${ite}:>@ switch will disable running lxlite on the resulting DLL.'
39672 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39673 echo ' unchanged to GCC at the end of command line.'
39674 echo '*> If you create a DLL from a library and you do not specify -o,'
39675 echo ' the basename for DLL and import library will be set to library name,'
39676 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39677 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39678 echo ' library will be renamed into gcc_s.a.'
39679 echo '--------'
39680 echo 'Example:'
39681 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39682 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39683 CleanUp
39684 exit 1
39685 }
39686
39687 # Execute a command.
39688 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39689 # @Uses Whatever CleanUp() uses.
39690 doCommand() {
39691 echo "${D}*"
39692 eval ${D}*
39693 rcCmd=${D}?
39694
39695 if [ ${D}rcCmd -ne 0 ]; then
39696 echo "command failed, exit code="${D}rcCmd
39697 CleanUp
39698 exit ${D}rcCmd
39699 fi
39700 }
39701
39702 # main routine
39703 # setup globals
39704 cmdLine=${D}*
39705 outFile=""
39706 outimpFile=""
39707 inputFiles=""
39708 description=""
39709 CC=gcc.exe
39710 CFLAGS="-s -Zcrtdll"
39711 EXTRA_CFLAGS=""
39712 EXPORT_BY_ORDINALS=0
39713 exclude_symbols=""
39714 library_flags=""
39715 curDir=\`pwd\`
39716 curDirS=curDir
39717 case ${D}curDirS in
39718 */)
39719 ;;
39720 *)
39721 curDirS=${D}{curDirS}"/"
39722 ;;
39723 esac
39724 # Parse commandline
39725 libsToLink=0
39726 while [ ${D}1 ]; do
39727 case ${D}1 in
39728 -ord*)
39729 EXPORT_BY_ORDINALS=1;
39730 ;;
39731 -o*)
39732 shift
39733 outFile=${D}1
39734 ;;
39735 -i*)
39736 shift
39737 outimpFile=${D}1
39738 ;;
39739 -d*)
39740 shift
39741 description=${D}1
39742 ;;
39743 -f*)
39744 shift
39745 CFLAGS=${D}1
39746 ;;
39747 -c*)
39748 shift
39749 CC=${D}1
39750 ;;
39751 -h*)
39752 PrintHelp
39753 ;;
39754 -ex*)
39755 shift
39756 exclude_symbols=${D}{exclude_symbols}${D}1" "
39757 ;;
39758 -libf*)
39759 shift
39760 library_flags=${D}{library_flags}${D}1" "
39761 ;;
39762 -nocrt*)
39763 CFLAGS="-s"
39764 ;;
39765 -nolxl*)
39766 flag_USE_LXLITE=0
39767 ;;
39768 -* | /*)
39769 case ${D}1 in
39770 -L* | -l*)
39771 libsToLink=1
39772 ;;
39773 *)
39774 ;;
39775 esac
39776 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39777 ;;
39778 *)
39779 found=0;
39780 if [ ${D}libsToLink -ne 0 ]; then
39781 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39782 else
39783 for file in ${D}1 ; do
39784 if [ -f ${D}file ]; then
39785 inputFiles="${D}{inputFiles} ${D}file"
39786 found=1
39787 fi
39788 done
39789 if [ ${D}found -eq 0 ]; then
39790 echo "ERROR: No file(s) found: "${D}1
39791 exit 8
39792 fi
39793 fi
39794 ;;
39795 esac
39796 shift
39797 done # iterate cmdline words
39798
39799 #
39800 if [ -z "${D}inputFiles" ]; then
39801 echo "dllar: no input files"
39802 PrintHelp
39803 fi
39804
39805 # Now extract all .o files from .a files
39806 newInputFiles=""
39807 for file in ${D}inputFiles ; do
39808 case ${D}file in
39809 *.a | *.lib)
39810 case ${D}file in
39811 *.a)
39812 suffix=".a"
39813 AR="ar"
39814 ;;
39815 *.lib)
39816 suffix=".lib"
39817 AR="emxomfar"
39818 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39819 ;;
39820 *)
39821 ;;
39822 esac
39823 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39824 mkdir ${D}dirname
39825 if [ ${D}? -ne 0 ]; then
39826 echo "Failed to create subdirectory ./${D}dirname"
39827 CleanUp
39828 exit 8;
39829 fi
39830 # Append '!' to indicate archive
39831 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39832 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39833 cd ${D}curDir
39834 found=0;
39835 for subfile in ${D}dirname/*.o* ; do
39836 if [ -f ${D}subfile ]; then
39837 found=1
39838 if [ -s ${D}subfile ]; then
39839 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39840 newInputFiles="${D}newInputFiles ${D}subfile"
39841 fi
39842 fi
39843 done
39844 if [ ${D}found -eq 0 ]; then
39845 echo "WARNING: there are no files in archive \\'${D}file\\'"
39846 fi
39847 ;;
39848 *)
39849 newInputFiles="${D}{newInputFiles} ${D}file"
39850 ;;
39851 esac
39852 done
39853 inputFiles="${D}newInputFiles"
39854
39855 # Output filename(s).
39856 do_backup=0;
39857 if [ -z ${D}outFile ]; then
39858 do_backup=1;
39859 set outFile ${D}inputFiles; outFile=${D}2
39860 fi
39861
39862 # If it is an archive, remove the '!' and the '_%' suffixes
39863 case ${D}outFile in
39864 *_%!)
39865 outFile=\`basnam ${D}outFile _%!\`
39866 ;;
39867 *)
39868 ;;
39869 esac
39870 case ${D}outFile in
39871 *.dll)
39872 outFile=\`basnam ${D}outFile .dll\`
39873 ;;
39874 *.DLL)
39875 outFile=\`basnam ${D}outFile .DLL\`
39876 ;;
39877 *.o)
39878 outFile=\`basnam ${D}outFile .o\`
39879 ;;
39880 *.obj)
39881 outFile=\`basnam ${D}outFile .obj\`
39882 ;;
39883 *.a)
39884 outFile=\`basnam ${D}outFile .a\`
39885 ;;
39886 *.lib)
39887 outFile=\`basnam ${D}outFile .lib\`
39888 ;;
39889 *)
39890 ;;
39891 esac
39892 case ${D}outimpFile in
39893 *.a)
39894 outimpFile=\`basnam ${D}outimpFile .a\`
39895 ;;
39896 *.lib)
39897 outimpFile=\`basnam ${D}outimpFile .lib\`
39898 ;;
39899 *)
39900 ;;
39901 esac
39902 if [ -z ${D}outimpFile ]; then
39903 outimpFile=${D}outFile
39904 fi
39905 defFile="${D}{outFile}.def"
39906 arcFile="${D}{outimpFile}.a"
39907 arcFile2="${D}{outimpFile}.lib"
39908 dllFile="${D}outFile"
39909 # Add suffix to dllFile later, first we need a version to use as
39910 # name in .def file.
39911
39912 if [ ${D}do_backup -ne 0 ] ; then
39913 if [ -f ${D}arcFile ] ; then
39914 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39915 fi
39916 if [ -f ${D}arcFile2 ] ; then
39917 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39918 fi
39919 fi
39920
39921 # Extract public symbols from all the object files.
39922 tmpdefFile=${D}{defFile}_%
39923 rm -f ${D}tmpdefFile
39924 for file in ${D}inputFiles ; do
39925 case ${D}file in
39926 *!)
39927 ;;
39928 *)
39929 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39930 ;;
39931 esac
39932 done
39933
39934 # Create the def file.
39935 rm -f ${D}defFile
39936 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39937 dllFile="${D}dllFile.dll"
39938 if [ -n ${D}description ]; then
39939 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39940 fi
39941 echo "EXPORTS" >> ${D}defFile
39942
39943 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39944 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39945
39946 # Checks if the export is ok or not.
39947 for word in ${D}exclude_symbols; do
39948 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39949 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39950 done
39951
39952
39953 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39954 sed "=" < ${D}tmpdefFile | \\
39955 sed '
39956 N
39957 : loop
39958 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39959 t loop
39960 ' > ${D}{tmpdefFile}%
39961 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39962 else
39963 rm -f ${D}{tmpdefFile}%
39964 fi
39965 cat ${D}tmpdefFile >> ${D}defFile
39966 rm -f ${D}tmpdefFile
39967
39968 # Do linking, create implib, and apply lxlite.
39969 gccCmdl="";
39970 for file in ${D}inputFiles ; do
39971 case ${D}file in
39972 *!)
39973 ;;
39974 *)
39975 gccCmdl="${D}gccCmdl ${D}file"
39976 ;;
39977 esac
39978 done
39979 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39980 touch "${D}{outFile}.dll"
39981
39982 doCommand "emximp -o ${D}arcFile ${D}defFile"
39983 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39984 add_flags="";
39985 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39986 add_flags="-ynd"
39987 fi
39988 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39989 fi
39990 doCommand "emxomf -s -l ${D}arcFile"
39991
39992 # Successful exit.
39993 CleanUp 1
39994 exit 0
39995 EOF
39996
39997 chmod +x dllar.sh
39998 ;;
39999
40000 powerpc-apple-macos* | \
40001 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
40002 *-*-sunos4* | \
40003 *-*-osf* | \
40004 *-*-dgux5* | \
40005 *-*-sysv5* )
40006 ;;
40007
40008 *)
40009 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
40010 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
40011 { (exit 1); exit 1; }; }
40012 esac
40013
40014 if test "x$PIC_FLAG" != "x" ; then
40015 PIC_FLAG="$PIC_FLAG -DPIC"
40016 fi
40017
40018 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
40019 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
40020 fi
40021 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
40022 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
40023 fi
40024
40025
40026
40027
40028
40029
40030
40031
40032 USE_SOVERSION=0
40033 USE_SOVERLINUX=0
40034 USE_SOVERSOLARIS=0
40035 USE_SOSYMLINKS=0
40036 USE_MACVERSION=0
40037 SONAME_FLAG=
40038
40039 case "${BAKEFILE_HOST}" in
40040 *-*-linux* )
40041 SONAME_FLAG="-Wl,-soname,"
40042 USE_SOVERSION=1
40043 USE_SOVERLINUX=1
40044 USE_SOSYMLINKS=1
40045 ;;
40046
40047 *-*-freebsd* )
40048 SONAME_FLAG="-Wl,-soname,"
40049 USE_SOVERSION=1
40050 USE_SOVERLINUX=1
40051 USE_SOSYMLINKS=1
40052 ;;
40053
40054 *-*-solaris2* )
40055 SONAME_FLAG="-h "
40056 USE_SOVERSION=1
40057 USE_SOVERSOLARIS=1
40058 USE_SOSYMLINKS=1
40059 ;;
40060
40061 *-*-darwin* )
40062 USE_MACVERSION=1
40063 USE_SOVERSION=1
40064 USE_SOSYMLINKS=1
40065 ;;
40066 esac
40067
40068
40069
40070
40071
40072
40073
40074
40075
40076 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
40077 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
40078 DEPS_TRACKING=0
40079
40080 if test "x$GCC" = "xyes"; then
40081 DEPSMODE=gcc
40082 DEPS_TRACKING=1
40083 case "${BAKEFILE_HOST}" in
40084 powerpc-*-darwin* )
40085 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
40086 ;;
40087 * )
40088 DEPSFLAG_GCC="-MMD"
40089 ;;
40090 esac
40091 echo "$as_me:$LINENO: result: gcc" >&5
40092 echo "${ECHO_T}gcc" >&6
40093 else
40094 echo "$as_me:$LINENO: result: none" >&5
40095 echo "${ECHO_T}none" >&6
40096 fi
40097
40098 if test $DEPS_TRACKING = 1 ; then
40099
40100 D='$'
40101 cat <<EOF >bk-deps
40102 #!/bin/sh
40103
40104 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40105 # script. It is used to track C/C++ files dependencies in portable way.
40106 #
40107 # Permission is given to use this file in any way.
40108
40109 DEPSMODE=${DEPSMODE}
40110 DEPSDIR=.deps
40111 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
40112
40113 mkdir -p ${D}DEPSDIR
40114
40115 if test ${D}DEPSMODE = gcc ; then
40116 ${D}* ${D}{DEPSFLAG_GCC}
40117 status=${D}?
40118 if test ${D}{status} != 0 ; then
40119 exit ${D}{status}
40120 fi
40121 # move created file to the location we want it in:
40122 while test ${D}# -gt 0; do
40123 case "${D}1" in
40124 -o )
40125 shift
40126 objfile=${D}1
40127 ;;
40128 -* )
40129 ;;
40130 * )
40131 srcfile=${D}1
40132 ;;
40133 esac
40134 shift
40135 done
40136 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
40137 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
40138 if test -f ${D}depfile ; then
40139 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40140 rm -f ${D}depfile
40141 else
40142 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
40143 if test -f ${D}depfile ; then
40144 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
40145 rm -f ${D}depfile
40146 fi
40147 fi
40148 exit 0
40149 else
40150 ${D}*
40151 exit ${D}?
40152 fi
40153 EOF
40154
40155 chmod +x bk-deps
40156 fi
40157
40158
40159
40160
40161 RESCOMP=
40162 SETFILE=
40163
40164 case ${BAKEFILE_HOST} in
40165 *-*-cygwin* | *-*-mingw32* )
40166 if test "$build" != "$host" ; then
40167 RESCOMP=$host_alias-windres
40168 else
40169 # Extract the first word of "windres", so it can be a program name with args.
40170 set dummy windres; ac_word=$2
40171 echo "$as_me:$LINENO: checking for $ac_word" >&5
40172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40173 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40174 echo $ECHO_N "(cached) $ECHO_C" >&6
40175 else
40176 if test -n "$RESCOMP"; then
40177 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40178 else
40179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40180 for as_dir in $PATH
40181 do
40182 IFS=$as_save_IFS
40183 test -z "$as_dir" && as_dir=.
40184 for ac_exec_ext in '' $ac_executable_extensions; do
40185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40186 ac_cv_prog_RESCOMP="windres"
40187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40188 break 2
40189 fi
40190 done
40191 done
40192
40193 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
40194 fi
40195 fi
40196 RESCOMP=$ac_cv_prog_RESCOMP
40197 if test -n "$RESCOMP"; then
40198 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40199 echo "${ECHO_T}$RESCOMP" >&6
40200 else
40201 echo "$as_me:$LINENO: result: no" >&5
40202 echo "${ECHO_T}no" >&6
40203 fi
40204
40205 fi
40206 ;;
40207
40208 *-*-darwin* | powerpc-apple-macos* )
40209 # Extract the first word of "Rez", so it can be a program name with args.
40210 set dummy Rez; ac_word=$2
40211 echo "$as_me:$LINENO: checking for $ac_word" >&5
40212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40213 if test "${ac_cv_prog_RESCOMP+set}" = set; then
40214 echo $ECHO_N "(cached) $ECHO_C" >&6
40215 else
40216 if test -n "$RESCOMP"; then
40217 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
40218 else
40219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40220 for as_dir in $PATH
40221 do
40222 IFS=$as_save_IFS
40223 test -z "$as_dir" && as_dir=.
40224 for ac_exec_ext in '' $ac_executable_extensions; do
40225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40226 ac_cv_prog_RESCOMP="Rez"
40227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40228 break 2
40229 fi
40230 done
40231 done
40232
40233 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
40234 fi
40235 fi
40236 RESCOMP=$ac_cv_prog_RESCOMP
40237 if test -n "$RESCOMP"; then
40238 echo "$as_me:$LINENO: result: $RESCOMP" >&5
40239 echo "${ECHO_T}$RESCOMP" >&6
40240 else
40241 echo "$as_me:$LINENO: result: no" >&5
40242 echo "${ECHO_T}no" >&6
40243 fi
40244
40245 # Extract the first word of "SetFile", so it can be a program name with args.
40246 set dummy SetFile; ac_word=$2
40247 echo "$as_me:$LINENO: checking for $ac_word" >&5
40248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40249 if test "${ac_cv_prog_SETFILE+set}" = set; then
40250 echo $ECHO_N "(cached) $ECHO_C" >&6
40251 else
40252 if test -n "$SETFILE"; then
40253 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
40254 else
40255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40256 for as_dir in $PATH
40257 do
40258 IFS=$as_save_IFS
40259 test -z "$as_dir" && as_dir=.
40260 for ac_exec_ext in '' $ac_executable_extensions; do
40261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40262 ac_cv_prog_SETFILE="SetFile"
40263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40264 break 2
40265 fi
40266 done
40267 done
40268
40269 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
40270 fi
40271 fi
40272 SETFILE=$ac_cv_prog_SETFILE
40273 if test -n "$SETFILE"; then
40274 echo "$as_me:$LINENO: result: $SETFILE" >&5
40275 echo "${ECHO_T}$SETFILE" >&6
40276 else
40277 echo "$as_me:$LINENO: result: no" >&5
40278 echo "${ECHO_T}no" >&6
40279 fi
40280
40281 ;;
40282 esac
40283
40284
40285
40286
40287
40288 BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
40289
40290
40291 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
40292
40293
40294
40295 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40296 if test "${enable_precomp_headers+set}" = set; then
40297 enableval="$enable_precomp_headers"
40298 bk_use_pch="$enableval"
40299 fi;
40300
40301 GCC_PCH=0
40302
40303 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40304 if test "x$GCC" = "xyes"; then
40305 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40306 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40307 cat >conftest.$ac_ext <<_ACEOF
40308 /* confdefs.h. */
40309 _ACEOF
40310 cat confdefs.h >>conftest.$ac_ext
40311 cat >>conftest.$ac_ext <<_ACEOF
40312 /* end confdefs.h. */
40313
40314 int
40315 main ()
40316 {
40317
40318 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40319 #error "no pch support"
40320 #endif
40321 #if (__GNUC__ < 3)
40322 #error "no pch support"
40323 #endif
40324 #if (__GNUC__ == 3) && \
40325 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40326 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40327 #error "no pch support"
40328 #endif
40329
40330 ;
40331 return 0;
40332 }
40333 _ACEOF
40334 rm -f conftest.$ac_objext
40335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40336 (eval $ac_compile) 2>conftest.er1
40337 ac_status=$?
40338 grep -v '^ *+' conftest.er1 >conftest.err
40339 rm -f conftest.er1
40340 cat conftest.err >&5
40341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40342 (exit $ac_status); } &&
40343 { ac_try='test -z "$ac_c_werror_flag"
40344 || test ! -s conftest.err'
40345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40346 (eval $ac_try) 2>&5
40347 ac_status=$?
40348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40349 (exit $ac_status); }; } &&
40350 { ac_try='test -s conftest.$ac_objext'
40351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40352 (eval $ac_try) 2>&5
40353 ac_status=$?
40354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40355 (exit $ac_status); }; }; then
40356
40357 echo "$as_me:$LINENO: result: yes" >&5
40358 echo "${ECHO_T}yes" >&6
40359 GCC_PCH=1
40360
40361 else
40362 echo "$as_me: failed program was:" >&5
40363 sed 's/^/| /' conftest.$ac_ext >&5
40364
40365
40366 echo "$as_me:$LINENO: result: no" >&5
40367 echo "${ECHO_T}no" >&6
40368
40369 fi
40370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40371 if test $GCC_PCH = 1 ; then
40372
40373 D='$'
40374 cat <<EOF >bk-make-pch
40375 #!/bin/sh
40376
40377 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40378 # script. It is used to generated precompiled headers.
40379 #
40380 # Permission is given to use this file in any way.
40381
40382 outfile="${D}{1}"
40383 header="${D}{2}"
40384 shift
40385 shift
40386
40387 compiler=
40388 headerfile=
40389 while test ${D}{#} -gt 0; do
40390 case "${D}{1}" in
40391 -I* )
40392 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40393 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40394 headerfile="${D}{incdir}/${D}{header}"
40395 fi
40396 ;;
40397 esac
40398 compiler="${D}{compiler} ${D}{1}"
40399 shift
40400 done
40401
40402 if test "x${D}{headerfile}" = "x" ; then
40403 echo "error: can't find header ${D}{header} in include paths" >2
40404 else
40405 if test -f ${D}{outfile} ; then
40406 rm -f ${D}{outfile}
40407 else
40408 mkdir -p \`dirname ${D}{outfile}\`
40409 fi
40410 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40411 mkdir -p .deps
40412 # can do this because gcc is >= 3.4:
40413 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40414 exit ${D}{?}
40415 fi
40416 EOF
40417
40418 chmod +x bk-make-pch
40419 fi
40420 fi
40421 fi
40422
40423
40424
40425
40426
40427
40428
40429 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
40430 if test "${enable_precomp_headers+set}" = set; then
40431 enableval="$enable_precomp_headers"
40432 bk_use_pch="$enableval"
40433 fi;
40434
40435 GCC_PCH=0
40436
40437 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
40438 if test "x$GCC" = "xyes"; then
40439 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
40440 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
40441 cat >conftest.$ac_ext <<_ACEOF
40442 /* confdefs.h. */
40443 _ACEOF
40444 cat confdefs.h >>conftest.$ac_ext
40445 cat >>conftest.$ac_ext <<_ACEOF
40446 /* end confdefs.h. */
40447
40448 int
40449 main ()
40450 {
40451
40452 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40453 #error "no pch support"
40454 #endif
40455 #if (__GNUC__ < 3)
40456 #error "no pch support"
40457 #endif
40458 #if (__GNUC__ == 3) && \
40459 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40460 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
40461 #error "no pch support"
40462 #endif
40463
40464 ;
40465 return 0;
40466 }
40467 _ACEOF
40468 rm -f conftest.$ac_objext
40469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40470 (eval $ac_compile) 2>conftest.er1
40471 ac_status=$?
40472 grep -v '^ *+' conftest.er1 >conftest.err
40473 rm -f conftest.er1
40474 cat conftest.err >&5
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); } &&
40477 { ac_try='test -z "$ac_c_werror_flag"
40478 || test ! -s conftest.err'
40479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40480 (eval $ac_try) 2>&5
40481 ac_status=$?
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); }; } &&
40484 { ac_try='test -s conftest.$ac_objext'
40485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40486 (eval $ac_try) 2>&5
40487 ac_status=$?
40488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40489 (exit $ac_status); }; }; then
40490
40491 echo "$as_me:$LINENO: result: yes" >&5
40492 echo "${ECHO_T}yes" >&6
40493 GCC_PCH=1
40494
40495 else
40496 echo "$as_me: failed program was:" >&5
40497 sed 's/^/| /' conftest.$ac_ext >&5
40498
40499
40500 echo "$as_me:$LINENO: result: no" >&5
40501 echo "${ECHO_T}no" >&6
40502
40503 fi
40504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40505 if test $GCC_PCH = 1 ; then
40506
40507 D='$'
40508 cat <<EOF >bk-make-pch
40509 #!/bin/sh
40510
40511 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
40512 # script. It is used to generated precompiled headers.
40513 #
40514 # Permission is given to use this file in any way.
40515
40516 outfile="${D}{1}"
40517 header="${D}{2}"
40518 shift
40519 shift
40520
40521 compiler=
40522 headerfile=
40523 while test ${D}{#} -gt 0; do
40524 case "${D}{1}" in
40525 -I* )
40526 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40527 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40528 headerfile="${D}{incdir}/${D}{header}"
40529 fi
40530 ;;
40531 esac
40532 compiler="${D}{compiler} ${D}{1}"
40533 shift
40534 done
40535
40536 if test "x${D}{headerfile}" = "x" ; then
40537 echo "error: can't find header ${D}{header} in include paths" >2
40538 else
40539 if test -f ${D}{outfile} ; then
40540 rm -f ${D}{outfile}
40541 else
40542 mkdir -p \`dirname ${D}{outfile}\`
40543 fi
40544 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40545 mkdir -p .deps
40546 # can do this because gcc is >= 3.4:
40547 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40548 exit ${D}{?}
40549 fi
40550 EOF
40551
40552 chmod +x bk-make-pch
40553 fi
40554 fi
40555 fi
40556
40557
40558
40559 COND_BUILD_DEBUG="#"
40560 if test "x$BUILD" = "xdebug" ; then
40561 COND_BUILD_DEBUG=""
40562 fi
40563
40564 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
40565 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
40566 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
40567 fi
40568
40569 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
40570 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40571 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
40572 fi
40573
40574 COND_BUILD_DEBUG_UNICODE_0="#"
40575 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
40576 COND_BUILD_DEBUG_UNICODE_0=""
40577 fi
40578
40579 COND_BUILD_DEBUG_UNICODE_1="#"
40580 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
40581 COND_BUILD_DEBUG_UNICODE_1=""
40582 fi
40583
40584 COND_BUILD_RELEASE="#"
40585 if test "x$BUILD" = "xrelease" ; then
40586 COND_BUILD_RELEASE=""
40587 fi
40588
40589 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
40590 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40591 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
40592 fi
40593
40594 COND_BUILD_RELEASE_UNICODE_0="#"
40595 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
40596 COND_BUILD_RELEASE_UNICODE_0=""
40597 fi
40598
40599 COND_BUILD_RELEASE_UNICODE_1="#"
40600 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
40601 COND_BUILD_RELEASE_UNICODE_1=""
40602 fi
40603
40604 COND_DEBUG_FLAG_1="#"
40605 if test "x$DEBUG_FLAG" = "x1" ; then
40606 COND_DEBUG_FLAG_1=""
40607 fi
40608
40609 COND_DEBUG_INFO_0="#"
40610 if test "x$DEBUG_INFO" = "x0" ; then
40611 COND_DEBUG_INFO_0=""
40612 fi
40613
40614 COND_DEBUG_INFO_1="#"
40615 if test "x$DEBUG_INFO" = "x1" ; then
40616 COND_DEBUG_INFO_1=""
40617 fi
40618
40619 COND_DEPS_TRACKING_0="#"
40620 if test "x$DEPS_TRACKING" = "x0" ; then
40621 COND_DEPS_TRACKING_0=""
40622 fi
40623
40624 COND_DEPS_TRACKING_1="#"
40625 if test "x$DEPS_TRACKING" = "x1" ; then
40626 COND_DEPS_TRACKING_1=""
40627 fi
40628
40629 COND_GCC_PCH_1="#"
40630 if test "x$GCC_PCH" = "x1" ; then
40631 COND_GCC_PCH_1=""
40632 fi
40633
40634 COND_MONOLITHIC_0="#"
40635 if test "x$MONOLITHIC" = "x0" ; then
40636 COND_MONOLITHIC_0=""
40637 fi
40638
40639 COND_MONOLITHIC_0_SHARED_0="#"
40640 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40641 COND_MONOLITHIC_0_SHARED_0=""
40642 fi
40643
40644 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
40645 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40646 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
40647 fi
40648
40649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
40650 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
40652 fi
40653
40654 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
40655 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
40656 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
40657 fi
40658
40659 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
40660 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
40661 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
40662 fi
40663
40664 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
40665 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40666 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
40667 fi
40668
40669 COND_MONOLITHIC_0_SHARED_1="#"
40670 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40671 COND_MONOLITHIC_0_SHARED_1=""
40672 fi
40673
40674 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
40675 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40676 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
40677 fi
40678
40679 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
40680 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
40681 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
40682 fi
40683
40684 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
40685 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
40686 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
40687 fi
40688
40689 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
40690 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
40691 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
40692 fi
40693
40694 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
40695 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40696 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
40697 fi
40698
40699 COND_MONOLITHIC_0_USE_ODBC_1="#"
40700 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
40701 COND_MONOLITHIC_0_USE_ODBC_1=""
40702 fi
40703
40704 COND_MONOLITHIC_1="#"
40705 if test "x$MONOLITHIC" = "x1" ; then
40706 COND_MONOLITHIC_1=""
40707 fi
40708
40709 COND_MONOLITHIC_1_SHARED_0="#"
40710 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40711 COND_MONOLITHIC_1_SHARED_0=""
40712 fi
40713
40714 COND_MONOLITHIC_1_SHARED_1="#"
40715 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40716 COND_MONOLITHIC_1_SHARED_1=""
40717 fi
40718
40719 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
40720 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40721 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
40722 fi
40723
40724 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
40725 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40726 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
40727 fi
40728
40729 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
40730 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40731 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
40732 fi
40733
40734 COND_PLATFORM_MACOSX_1="#"
40735 if test "x$PLATFORM_MACOSX" = "x1" ; then
40736 COND_PLATFORM_MACOSX_1=""
40737 fi
40738
40739 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
40740 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
40741 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
40742 fi
40743
40744 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
40745 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
40746 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
40747 fi
40748
40749 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
40750 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
40751 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
40752 fi
40753
40754 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
40755 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
40756 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
40757 fi
40758
40759 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
40760 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40761 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
40762 fi
40763
40764 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40765 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40766 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40767 fi
40768
40769 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
40770 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
40771 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
40772 fi
40773
40774 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
40775 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
40776 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
40777 fi
40778
40779 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40780 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40781 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40782 fi
40783
40784 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40785 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40786 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40787 fi
40788
40789 COND_PLATFORM_MACOS_1="#"
40790 if test "x$PLATFORM_MACOS" = "x1" ; then
40791 COND_PLATFORM_MACOS_1=""
40792 fi
40793
40794 COND_PLATFORM_MAC_1="#"
40795 if test "x$PLATFORM_MAC" = "x1" ; then
40796 COND_PLATFORM_MAC_1=""
40797 fi
40798
40799 COND_PLATFORM_OS2_1="#"
40800 if test "x$PLATFORM_OS2" = "x1" ; then
40801 COND_PLATFORM_OS2_1=""
40802 fi
40803
40804 COND_PLATFORM_UNIX_0="#"
40805 if test "x$PLATFORM_UNIX" = "x0" ; then
40806 COND_PLATFORM_UNIX_0=""
40807 fi
40808
40809 COND_PLATFORM_UNIX_1="#"
40810 if test "x$PLATFORM_UNIX" = "x1" ; then
40811 COND_PLATFORM_UNIX_1=""
40812 fi
40813
40814 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40815 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40816 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40817 fi
40818
40819 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40820 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40821 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40822 fi
40823
40824 COND_PLATFORM_WIN32_0="#"
40825 if test "x$PLATFORM_WIN32" = "x0" ; then
40826 COND_PLATFORM_WIN32_0=""
40827 fi
40828
40829 COND_PLATFORM_WIN32_1="#"
40830 if test "x$PLATFORM_WIN32" = "x1" ; then
40831 COND_PLATFORM_WIN32_1=""
40832 fi
40833
40834 COND_SHARED_0="#"
40835 if test "x$SHARED" = "x0" ; then
40836 COND_SHARED_0=""
40837 fi
40838
40839 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40840 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40841 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40842 fi
40843
40844 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40845 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40846 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40847 fi
40848
40849 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40850 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40851 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40852 fi
40853
40854 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40855 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40856 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40857 fi
40858
40859 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40860 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40861 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40862 fi
40863
40864 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40865 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40866 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40867 fi
40868
40869 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40870 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40871 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40872 fi
40873
40874 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40875 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40876 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40877 fi
40878
40879 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40880 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40881 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40882 fi
40883
40884 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40885 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40886 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40887 fi
40888
40889 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40890 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40891 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40892 fi
40893
40894 COND_SHARED_1="#"
40895 if test "x$SHARED" = "x1" ; then
40896 COND_SHARED_1=""
40897 fi
40898
40899 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40900 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40902 fi
40903
40904 COND_TOOLKIT_="#"
40905 if test "x$TOOLKIT" = "x" ; then
40906 COND_TOOLKIT_=""
40907 fi
40908
40909 COND_TOOLKIT_COCOA="#"
40910 if test "x$TOOLKIT" = "xCOCOA" ; then
40911 COND_TOOLKIT_COCOA=""
40912 fi
40913
40914 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40915 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40916 COND_TOOLKIT_COCOA_USE_GUI_1=""
40917 fi
40918
40919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40920 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40921 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40922 fi
40923
40924 COND_TOOLKIT_GTK="#"
40925 if test "x$TOOLKIT" = "xGTK" ; then
40926 COND_TOOLKIT_GTK=""
40927 fi
40928
40929 COND_TOOLKIT_GTK_USE_GUI_1="#"
40930 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40931 COND_TOOLKIT_GTK_USE_GUI_1=""
40932 fi
40933
40934 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40935 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40936 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40937 fi
40938
40939 COND_TOOLKIT_MAC="#"
40940 if test "x$TOOLKIT" = "xMAC" ; then
40941 COND_TOOLKIT_MAC=""
40942 fi
40943
40944 COND_TOOLKIT_MAC_USE_GUI_1="#"
40945 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40946 COND_TOOLKIT_MAC_USE_GUI_1=""
40947 fi
40948
40949 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40950 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40951 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40952 fi
40953
40954 COND_TOOLKIT_MGL="#"
40955 if test "x$TOOLKIT" = "xMGL" ; then
40956 COND_TOOLKIT_MGL=""
40957 fi
40958
40959 COND_TOOLKIT_MGL_USE_GUI_1="#"
40960 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40961 COND_TOOLKIT_MGL_USE_GUI_1=""
40962 fi
40963
40964 COND_TOOLKIT_MOTIF="#"
40965 if test "x$TOOLKIT" = "xMOTIF" ; then
40966 COND_TOOLKIT_MOTIF=""
40967 fi
40968
40969 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40970 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40971 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40972 fi
40973
40974 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40975 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40976 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40977 fi
40978
40979 COND_TOOLKIT_MSW="#"
40980 if test "x$TOOLKIT" = "xMSW" ; then
40981 COND_TOOLKIT_MSW=""
40982 fi
40983
40984 COND_TOOLKIT_MSW_USE_GUI_1="#"
40985 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40986 COND_TOOLKIT_MSW_USE_GUI_1=""
40987 fi
40988
40989 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40990 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40991 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40992 fi
40993
40994 COND_TOOLKIT_PM="#"
40995 if test "x$TOOLKIT" = "xPM" ; then
40996 COND_TOOLKIT_PM=""
40997 fi
40998
40999 COND_TOOLKIT_PM_USE_GUI_1="#"
41000 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41001 COND_TOOLKIT_PM_USE_GUI_1=""
41002 fi
41003
41004 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41005 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41006 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41007 fi
41008
41009 COND_TOOLKIT_WINCE="#"
41010 if test "x$TOOLKIT" = "xWINCE" ; then
41011 COND_TOOLKIT_WINCE=""
41012 fi
41013
41014 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41015 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41016 COND_TOOLKIT_WINCE_USE_GUI_1=""
41017 fi
41018
41019 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41020 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41021 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41022 fi
41023
41024 COND_TOOLKIT_X11="#"
41025 if test "x$TOOLKIT" = "xX11" ; then
41026 COND_TOOLKIT_X11=""
41027 fi
41028
41029 COND_TOOLKIT_X11_USE_GUI_1="#"
41030 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41031 COND_TOOLKIT_X11_USE_GUI_1=""
41032 fi
41033
41034 COND_UNICODE_1="#"
41035 if test "x$UNICODE" = "x1" ; then
41036 COND_UNICODE_1=""
41037 fi
41038
41039 COND_USE_EXCEPTIONS_0="#"
41040 if test "x$USE_EXCEPTIONS" = "x0" ; then
41041 COND_USE_EXCEPTIONS_0=""
41042 fi
41043
41044 COND_USE_EXCEPTIONS_1="#"
41045 if test "x$USE_EXCEPTIONS" = "x1" ; then
41046 COND_USE_EXCEPTIONS_1=""
41047 fi
41048
41049 COND_USE_GUI_0="#"
41050 if test "x$USE_GUI" = "x0" ; then
41051 COND_USE_GUI_0=""
41052 fi
41053
41054 COND_USE_GUI_1="#"
41055 if test "x$USE_GUI" = "x1" ; then
41056 COND_USE_GUI_1=""
41057 fi
41058
41059 COND_USE_GUI_1_WXUNIV_0="#"
41060 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41061 COND_USE_GUI_1_WXUNIV_0=""
41062 fi
41063
41064 COND_USE_GUI_1_WXUNIV_1="#"
41065 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41066 COND_USE_GUI_1_WXUNIV_1=""
41067 fi
41068
41069 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41070 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41071 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41072 fi
41073
41074 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41075 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41076 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41077 fi
41078
41079 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41080 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41081 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41082 fi
41083
41084 COND_USE_ODBC_1="#"
41085 if test "x$USE_ODBC" = "x1" ; then
41086 COND_USE_ODBC_1=""
41087 fi
41088
41089 COND_USE_OPENGL_1="#"
41090 if test "x$USE_OPENGL" = "x1" ; then
41091 COND_USE_OPENGL_1=""
41092 fi
41093
41094 COND_USE_PLUGINS_0="#"
41095 if test "x$USE_PLUGINS" = "x0" ; then
41096 COND_USE_PLUGINS_0=""
41097 fi
41098
41099 COND_USE_SOSYMLINKS_1="#"
41100 if test "x$USE_SOSYMLINKS" = "x1" ; then
41101 COND_USE_SOSYMLINKS_1=""
41102 fi
41103
41104 COND_USE_SOVERLINUX_1="#"
41105 if test "x$USE_SOVERLINUX" = "x1" ; then
41106 COND_USE_SOVERLINUX_1=""
41107 fi
41108
41109 COND_USE_SOVERSION_0="#"
41110 if test "x$USE_SOVERSION" = "x0" ; then
41111 COND_USE_SOVERSION_0=""
41112 fi
41113
41114 COND_USE_SOVERSOLARIS_1="#"
41115 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41116 COND_USE_SOVERSOLARIS_1=""
41117 fi
41118
41119 COND_USE_XRC_1="#"
41120 if test "x$USE_XRC" = "x1" ; then
41121 COND_USE_XRC_1=""
41122 fi
41123
41124 COND_WITH_PLUGIN_SDL_1="#"
41125 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41126 COND_WITH_PLUGIN_SDL_1=""
41127 fi
41128
41129 COND_WXUNIV_1="#"
41130 if test "x$WXUNIV" = "x1" ; then
41131 COND_WXUNIV_1=""
41132 fi
41133
41134 COND_WXUSE_EXPAT_BUILTIN="#"
41135 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41136 COND_WXUSE_EXPAT_BUILTIN=""
41137 fi
41138
41139 COND_WXUSE_LIBJPEG_BUILTIN="#"
41140 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41141 COND_WXUSE_LIBJPEG_BUILTIN=""
41142 fi
41143
41144 COND_WXUSE_LIBPNG_BUILTIN="#"
41145 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41146 COND_WXUSE_LIBPNG_BUILTIN=""
41147 fi
41148
41149 COND_WXUSE_LIBTIFF_BUILTIN="#"
41150 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41151 COND_WXUSE_LIBTIFF_BUILTIN=""
41152 fi
41153
41154 COND_WXUSE_ODBC_BUILTIN="#"
41155 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41156 COND_WXUSE_ODBC_BUILTIN=""
41157 fi
41158
41159 COND_WXUSE_REGEX_BUILTIN="#"
41160 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41161 COND_WXUSE_REGEX_BUILTIN=""
41162 fi
41163
41164 COND_WXUSE_ZLIB_BUILTIN="#"
41165 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41166 COND_WXUSE_ZLIB_BUILTIN=""
41167 fi
41168
41169 COND_BUILD_DEBUG="#"
41170 if test "x$BUILD" = "xdebug" ; then
41171 COND_BUILD_DEBUG=""
41172 fi
41173
41174 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
41175 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
41176 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
41177 fi
41178
41179 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
41180 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
41181 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
41182 fi
41183
41184 COND_BUILD_DEBUG_UNICODE_0="#"
41185 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
41186 COND_BUILD_DEBUG_UNICODE_0=""
41187 fi
41188
41189 COND_BUILD_DEBUG_UNICODE_1="#"
41190 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
41191 COND_BUILD_DEBUG_UNICODE_1=""
41192 fi
41193
41194 COND_BUILD_RELEASE="#"
41195 if test "x$BUILD" = "xrelease" ; then
41196 COND_BUILD_RELEASE=""
41197 fi
41198
41199 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
41200 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
41201 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
41202 fi
41203
41204 COND_BUILD_RELEASE_UNICODE_0="#"
41205 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
41206 COND_BUILD_RELEASE_UNICODE_0=""
41207 fi
41208
41209 COND_BUILD_RELEASE_UNICODE_1="#"
41210 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
41211 COND_BUILD_RELEASE_UNICODE_1=""
41212 fi
41213
41214 COND_DEBUG_FLAG_1="#"
41215 if test "x$DEBUG_FLAG" = "x1" ; then
41216 COND_DEBUG_FLAG_1=""
41217 fi
41218
41219 COND_DEBUG_INFO_0="#"
41220 if test "x$DEBUG_INFO" = "x0" ; then
41221 COND_DEBUG_INFO_0=""
41222 fi
41223
41224 COND_DEBUG_INFO_1="#"
41225 if test "x$DEBUG_INFO" = "x1" ; then
41226 COND_DEBUG_INFO_1=""
41227 fi
41228
41229 COND_DEPS_TRACKING_0="#"
41230 if test "x$DEPS_TRACKING" = "x0" ; then
41231 COND_DEPS_TRACKING_0=""
41232 fi
41233
41234 COND_DEPS_TRACKING_1="#"
41235 if test "x$DEPS_TRACKING" = "x1" ; then
41236 COND_DEPS_TRACKING_1=""
41237 fi
41238
41239 COND_GCC_PCH_1="#"
41240 if test "x$GCC_PCH" = "x1" ; then
41241 COND_GCC_PCH_1=""
41242 fi
41243
41244 COND_MONOLITHIC_0="#"
41245 if test "x$MONOLITHIC" = "x0" ; then
41246 COND_MONOLITHIC_0=""
41247 fi
41248
41249 COND_MONOLITHIC_0_SHARED_0="#"
41250 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
41251 COND_MONOLITHIC_0_SHARED_0=""
41252 fi
41253
41254 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
41255 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
41256 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
41257 fi
41258
41259 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
41260 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41261 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
41262 fi
41263
41264 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
41265 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41266 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
41267 fi
41268
41269 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
41270 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
41271 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
41272 fi
41273
41274 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
41275 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
41276 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
41277 fi
41278
41279 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
41280 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
41281 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
41282 fi
41283
41284 COND_MONOLITHIC_0_SHARED_1="#"
41285 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
41286 COND_MONOLITHIC_0_SHARED_1=""
41287 fi
41288
41289 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
41290 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
41291 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
41292 fi
41293
41294 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
41295 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
41296 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
41297 fi
41298
41299 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
41300 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
41301 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
41302 fi
41303
41304 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
41305 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
41306 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
41307 fi
41308
41309 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
41310 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
41311 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
41312 fi
41313
41314 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
41315 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
41316 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
41317 fi
41318
41319 COND_MONOLITHIC_0_USE_ODBC_1="#"
41320 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
41321 COND_MONOLITHIC_0_USE_ODBC_1=""
41322 fi
41323
41324 COND_MONOLITHIC_1="#"
41325 if test "x$MONOLITHIC" = "x1" ; then
41326 COND_MONOLITHIC_1=""
41327 fi
41328
41329 COND_MONOLITHIC_1_SHARED_0="#"
41330 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
41331 COND_MONOLITHIC_1_SHARED_0=""
41332 fi
41333
41334 COND_MONOLITHIC_1_SHARED_1="#"
41335 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
41336 COND_MONOLITHIC_1_SHARED_1=""
41337 fi
41338
41339 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
41340 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
41341 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
41342 fi
41343
41344 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
41345 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
41346 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
41347 fi
41348
41349 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
41350 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
41351 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
41352 fi
41353
41354 COND_PLATFORM_MACOSX_1="#"
41355 if test "x$PLATFORM_MACOSX" = "x1" ; then
41356 COND_PLATFORM_MACOSX_1=""
41357 fi
41358
41359 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
41360 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
41361 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
41362 fi
41363
41364 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
41365 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
41366 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
41367 fi
41368
41369 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
41370 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
41371 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
41372 fi
41373
41374 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
41375 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
41376 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
41377 fi
41378
41379 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
41380 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41381 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
41382 fi
41383
41384 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41385 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41386 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41387 fi
41388
41389 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
41390 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
41391 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
41392 fi
41393
41394 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
41395 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
41396 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
41397 fi
41398
41399 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
41400 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
41401 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
41402 fi
41403
41404 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
41405 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
41406 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
41407 fi
41408
41409 COND_PLATFORM_MACOS_1="#"
41410 if test "x$PLATFORM_MACOS" = "x1" ; then
41411 COND_PLATFORM_MACOS_1=""
41412 fi
41413
41414 COND_PLATFORM_MAC_1="#"
41415 if test "x$PLATFORM_MAC" = "x1" ; then
41416 COND_PLATFORM_MAC_1=""
41417 fi
41418
41419 COND_PLATFORM_OS2_1="#"
41420 if test "x$PLATFORM_OS2" = "x1" ; then
41421 COND_PLATFORM_OS2_1=""
41422 fi
41423
41424 COND_PLATFORM_UNIX_0="#"
41425 if test "x$PLATFORM_UNIX" = "x0" ; then
41426 COND_PLATFORM_UNIX_0=""
41427 fi
41428
41429 COND_PLATFORM_UNIX_1="#"
41430 if test "x$PLATFORM_UNIX" = "x1" ; then
41431 COND_PLATFORM_UNIX_1=""
41432 fi
41433
41434 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
41435 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
41436 COND_PLATFORM_UNIX_1_USE_GUI_1=""
41437 fi
41438
41439 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
41440 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
41441 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
41442 fi
41443
41444 COND_PLATFORM_WIN32_0="#"
41445 if test "x$PLATFORM_WIN32" = "x0" ; then
41446 COND_PLATFORM_WIN32_0=""
41447 fi
41448
41449 COND_PLATFORM_WIN32_1="#"
41450 if test "x$PLATFORM_WIN32" = "x1" ; then
41451 COND_PLATFORM_WIN32_1=""
41452 fi
41453
41454 COND_SHARED_0="#"
41455 if test "x$SHARED" = "x0" ; then
41456 COND_SHARED_0=""
41457 fi
41458
41459 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
41460 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41461 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
41462 fi
41463
41464 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41465 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41466 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41467 fi
41468
41469 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41470 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41471 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41472 fi
41473
41474 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41475 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41476 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41477 fi
41478
41479 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
41480 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
41481 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
41482 fi
41483
41484 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
41485 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
41486 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
41487 fi
41488
41489 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
41490 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
41491 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
41492 fi
41493
41494 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
41495 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
41496 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
41497 fi
41498
41499 COND_SHARED_1="#"
41500 if test "x$SHARED" = "x1" ; then
41501 COND_SHARED_1=""
41502 fi
41503
41504 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
41505 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
41506 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
41507 fi
41508
41509 COND_TOOLKIT_="#"
41510 if test "x$TOOLKIT" = "x" ; then
41511 COND_TOOLKIT_=""
41512 fi
41513
41514 COND_TOOLKIT_COCOA="#"
41515 if test "x$TOOLKIT" = "xCOCOA" ; then
41516 COND_TOOLKIT_COCOA=""
41517 fi
41518
41519 COND_TOOLKIT_COCOA_USE_GUI_1="#"
41520 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
41521 COND_TOOLKIT_COCOA_USE_GUI_1=""
41522 fi
41523
41524 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
41525 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41526 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
41527 fi
41528
41529 COND_TOOLKIT_GTK="#"
41530 if test "x$TOOLKIT" = "xGTK" ; then
41531 COND_TOOLKIT_GTK=""
41532 fi
41533
41534 COND_TOOLKIT_GTK_USE_GUI_1="#"
41535 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
41536 COND_TOOLKIT_GTK_USE_GUI_1=""
41537 fi
41538
41539 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
41540 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41541 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
41542 fi
41543
41544 COND_TOOLKIT_MAC="#"
41545 if test "x$TOOLKIT" = "xMAC" ; then
41546 COND_TOOLKIT_MAC=""
41547 fi
41548
41549 COND_TOOLKIT_MAC_USE_GUI_1="#"
41550 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
41551 COND_TOOLKIT_MAC_USE_GUI_1=""
41552 fi
41553
41554 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
41555 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41556 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
41557 fi
41558
41559 COND_TOOLKIT_MAC_WXUNIV_0="#"
41560 if test "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
41561 COND_TOOLKIT_MAC_WXUNIV_0=""
41562 fi
41563
41564 COND_TOOLKIT_MGL="#"
41565 if test "x$TOOLKIT" = "xMGL" ; then
41566 COND_TOOLKIT_MGL=""
41567 fi
41568
41569 COND_TOOLKIT_MGL_USE_GUI_1="#"
41570 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
41571 COND_TOOLKIT_MGL_USE_GUI_1=""
41572 fi
41573
41574 COND_TOOLKIT_MOTIF="#"
41575 if test "x$TOOLKIT" = "xMOTIF" ; then
41576 COND_TOOLKIT_MOTIF=""
41577 fi
41578
41579 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
41580 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
41581 COND_TOOLKIT_MOTIF_USE_GUI_1=""
41582 fi
41583
41584 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
41585 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41586 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
41587 fi
41588
41589 COND_TOOLKIT_MSW="#"
41590 if test "x$TOOLKIT" = "xMSW" ; then
41591 COND_TOOLKIT_MSW=""
41592 fi
41593
41594 COND_TOOLKIT_MSW_USE_GUI_1="#"
41595 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
41596 COND_TOOLKIT_MSW_USE_GUI_1=""
41597 fi
41598
41599 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
41600 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41601 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
41602 fi
41603
41604 COND_TOOLKIT_MSW_WXUNIV_0="#"
41605 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
41606 COND_TOOLKIT_MSW_WXUNIV_0=""
41607 fi
41608
41609 COND_TOOLKIT_PM="#"
41610 if test "x$TOOLKIT" = "xPM" ; then
41611 COND_TOOLKIT_PM=""
41612 fi
41613
41614 COND_TOOLKIT_PM_USE_GUI_1="#"
41615 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
41616 COND_TOOLKIT_PM_USE_GUI_1=""
41617 fi
41618
41619 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
41620 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41621 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
41622 fi
41623
41624 COND_TOOLKIT_PM_WXUNIV_0="#"
41625 if test "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
41626 COND_TOOLKIT_PM_WXUNIV_0=""
41627 fi
41628
41629 COND_TOOLKIT_WINCE="#"
41630 if test "x$TOOLKIT" = "xWINCE" ; then
41631 COND_TOOLKIT_WINCE=""
41632 fi
41633
41634 COND_TOOLKIT_WINCE_USE_GUI_1="#"
41635 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
41636 COND_TOOLKIT_WINCE_USE_GUI_1=""
41637 fi
41638
41639 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
41640 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41641 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
41642 fi
41643
41644 COND_TOOLKIT_X11="#"
41645 if test "x$TOOLKIT" = "xX11" ; then
41646 COND_TOOLKIT_X11=""
41647 fi
41648
41649 COND_TOOLKIT_X11_USE_GUI_1="#"
41650 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
41651 COND_TOOLKIT_X11_USE_GUI_1=""
41652 fi
41653
41654 COND_UNICODE_1="#"
41655 if test "x$UNICODE" = "x1" ; then
41656 COND_UNICODE_1=""
41657 fi
41658
41659 COND_USE_EXCEPTIONS_0="#"
41660 if test "x$USE_EXCEPTIONS" = "x0" ; then
41661 COND_USE_EXCEPTIONS_0=""
41662 fi
41663
41664 COND_USE_EXCEPTIONS_1="#"
41665 if test "x$USE_EXCEPTIONS" = "x1" ; then
41666 COND_USE_EXCEPTIONS_1=""
41667 fi
41668
41669 COND_USE_GUI_0="#"
41670 if test "x$USE_GUI" = "x0" ; then
41671 COND_USE_GUI_0=""
41672 fi
41673
41674 COND_USE_GUI_1="#"
41675 if test "x$USE_GUI" = "x1" ; then
41676 COND_USE_GUI_1=""
41677 fi
41678
41679 COND_USE_GUI_1_WXUNIV_0="#"
41680 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
41681 COND_USE_GUI_1_WXUNIV_0=""
41682 fi
41683
41684 COND_USE_GUI_1_WXUNIV_1="#"
41685 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
41686 COND_USE_GUI_1_WXUNIV_1=""
41687 fi
41688
41689 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
41690 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41691 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
41692 fi
41693
41694 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
41695 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41696 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
41697 fi
41698
41699 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
41700 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41701 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
41702 fi
41703
41704 COND_USE_ODBC_1="#"
41705 if test "x$USE_ODBC" = "x1" ; then
41706 COND_USE_ODBC_1=""
41707 fi
41708
41709 COND_USE_PLUGINS_0="#"
41710 if test "x$USE_PLUGINS" = "x0" ; then
41711 COND_USE_PLUGINS_0=""
41712 fi
41713
41714 COND_USE_SOSYMLINKS_1="#"
41715 if test "x$USE_SOSYMLINKS" = "x1" ; then
41716 COND_USE_SOSYMLINKS_1=""
41717 fi
41718
41719 COND_USE_SOVERLINUX_1="#"
41720 if test "x$USE_SOVERLINUX" = "x1" ; then
41721 COND_USE_SOVERLINUX_1=""
41722 fi
41723
41724 COND_USE_SOVERSION_0="#"
41725 if test "x$USE_SOVERSION" = "x0" ; then
41726 COND_USE_SOVERSION_0=""
41727 fi
41728
41729 COND_USE_SOVERSOLARIS_1="#"
41730 if test "x$USE_SOVERSOLARIS" = "x1" ; then
41731 COND_USE_SOVERSOLARIS_1=""
41732 fi
41733
41734 COND_USE_XRC_1="#"
41735 if test "x$USE_XRC" = "x1" ; then
41736 COND_USE_XRC_1=""
41737 fi
41738
41739 COND_WITH_PLUGIN_SDL_1="#"
41740 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41741 COND_WITH_PLUGIN_SDL_1=""
41742 fi
41743
41744 COND_WXUNIV_1="#"
41745 if test "x$WXUNIV" = "x1" ; then
41746 COND_WXUNIV_1=""
41747 fi
41748
41749 COND_WXUSE_EXPAT_BUILTIN="#"
41750 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41751 COND_WXUSE_EXPAT_BUILTIN=""
41752 fi
41753
41754 COND_WXUSE_LIBJPEG_BUILTIN="#"
41755 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41756 COND_WXUSE_LIBJPEG_BUILTIN=""
41757 fi
41758
41759 COND_WXUSE_LIBPNG_BUILTIN="#"
41760 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41761 COND_WXUSE_LIBPNG_BUILTIN=""
41762 fi
41763
41764 COND_WXUSE_LIBTIFF_BUILTIN="#"
41765 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41766 COND_WXUSE_LIBTIFF_BUILTIN=""
41767 fi
41768
41769 COND_WXUSE_ODBC_BUILTIN="#"
41770 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
41771 COND_WXUSE_ODBC_BUILTIN=""
41772 fi
41773
41774 COND_WXUSE_REGEX_BUILTIN="#"
41775 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41776 COND_WXUSE_REGEX_BUILTIN=""
41777 fi
41778
41779 COND_WXUSE_ZLIB_BUILTIN="#"
41780 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41781 COND_WXUSE_ZLIB_BUILTIN=""
41782 fi
41783
41784
41785
41786 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41787 { { 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
41788 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;}
41789 { (exit 1); exit 1; }; }
41790 fi
41791
41792
41793 if test "$wxUSE_SHARED" = "yes"; then
41794
41795 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
41796 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
41797
41798 else
41799
41800 EXE_LINKER="$CXX -o"
41801
41802 fi
41803
41804 GCC_PRAGMA_FLAGS=""
41805 if test $GCC_PCH = 1 ; then
41806 GCC_PRAGMA_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA"
41807 else
41808 case "${host}" in
41809 powerpc-*-darwin* )
41810 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41811 ;;
41812 *-*-mingw32* )
41813 if test "$wxUSE_STL" = "yes" -o \
41814 "$wxUSE_NO_EXCEPTIONS" != "yes" -o \
41815 "$wxUSE_NO_RTTI" != "yes"; then
41816 echo "$as_me:$LINENO: checking if this MinGW version needs -DNO_GCC_PRAGMA" >&5
41817 echo $ECHO_N "checking if this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41818 cat >conftest.$ac_ext <<_ACEOF
41819 /* confdefs.h. */
41820 _ACEOF
41821 cat confdefs.h >>conftest.$ac_ext
41822 cat >>conftest.$ac_ext <<_ACEOF
41823 /* end confdefs.h. */
41824
41825 int
41826 main ()
41827 {
41828 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41829 #error "Not GCC 3.2 or greater"
41830 #endif
41831
41832 ;
41833 return 0;
41834 }
41835 _ACEOF
41836 rm -f conftest.$ac_objext
41837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41838 (eval $ac_compile) 2>conftest.er1
41839 ac_status=$?
41840 grep -v '^ *+' conftest.er1 >conftest.err
41841 rm -f conftest.er1
41842 cat conftest.err >&5
41843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41844 (exit $ac_status); } &&
41845 { ac_try='test -z "$ac_c_werror_flag"
41846 || test ! -s conftest.err'
41847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41848 (eval $ac_try) 2>&5
41849 ac_status=$?
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); }; } &&
41852 { ac_try='test -s conftest.$ac_objext'
41853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41854 (eval $ac_try) 2>&5
41855 ac_status=$?
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); }; }; then
41858 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41859 echo "$as_me:$LINENO: result: yes" >&5
41860 echo "${ECHO_T}yes" >&6
41861 else
41862 echo "$as_me: failed program was:" >&5
41863 sed 's/^/| /' conftest.$ac_ext >&5
41864
41865 echo "$as_me:$LINENO: result: no" >&5
41866 echo "${ECHO_T}no" >&6
41867 fi
41868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41869 fi
41870 ;;
41871 *-pc-os2_emx | *-pc-os2-emx )
41872 if test "$wxUSE_STL" = "yes"; then
41873 echo "$as_me:$LINENO: checking if this gcc version needs -DNO_GCC_PRAGMA" >&5
41874 echo $ECHO_N "checking if this gcc version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
41875 cat >conftest.$ac_ext <<_ACEOF
41876 /* confdefs.h. */
41877 _ACEOF
41878 cat confdefs.h >>conftest.$ac_ext
41879 cat >>conftest.$ac_ext <<_ACEOF
41880 /* end confdefs.h. */
41881
41882 int
41883 main ()
41884 {
41885 #if !(__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2))
41886 #error "Not GCC 3.2 or greater"
41887 #endif
41888
41889 ;
41890 return 0;
41891 }
41892 _ACEOF
41893 rm -f conftest.$ac_objext
41894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41895 (eval $ac_compile) 2>conftest.er1
41896 ac_status=$?
41897 grep -v '^ *+' conftest.er1 >conftest.err
41898 rm -f conftest.er1
41899 cat conftest.err >&5
41900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41901 (exit $ac_status); } &&
41902 { ac_try='test -z "$ac_c_werror_flag"
41903 || test ! -s conftest.err'
41904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41905 (eval $ac_try) 2>&5
41906 ac_status=$?
41907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41908 (exit $ac_status); }; } &&
41909 { ac_try='test -s conftest.$ac_objext'
41910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41911 (eval $ac_try) 2>&5
41912 ac_status=$?
41913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41914 (exit $ac_status); }; }; then
41915 GCC_PRAGMA_FLAGS="-DNO_GCC_PRAGMA"
41916 echo "$as_me:$LINENO: result: yes" >&5
41917 echo "${ECHO_T}yes" >&6
41918 else
41919 echo "$as_me: failed program was:" >&5
41920 sed 's/^/| /' conftest.$ac_ext >&5
41921
41922 echo "$as_me:$LINENO: result: no" >&5
41923 echo "${ECHO_T}no" >&6
41924 fi
41925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41926 fi
41927 ;;
41928 esac
41929 fi
41930 CPPFLAGS="$GCC_PRAGMA_FLAGS $CPPFLAGS"
41931
41932
41933 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41934
41935
41936
41937
41938
41939
41940
41941
41942
41943
41944
41945
41946
41947
41948
41949
41950
41951
41952
41953
41954
41955
41956
41957
41958
41959
41960
41961
41962
41963
41964
41965
41966
41967
41968
41969
41970
41971
41972
41973
41974
41975
41976
41977
41978
41979
41980
41981
41982
41983
41984
41985
41986
41987
41988
41989
41990
41991
41992
41993
41994
41995
41996
41997 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41998 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
41999 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
42000 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
42001 echo $ECHO_N "(cached) $ECHO_C" >&6
42002 else
42003 cat >conftest.make <<\_ACEOF
42004 all:
42005 @echo 'ac_maketemp="$(MAKE)"'
42006 _ACEOF
42007 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
42008 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
42009 if test -n "$ac_maketemp"; then
42010 eval ac_cv_prog_make_${ac_make}_set=yes
42011 else
42012 eval ac_cv_prog_make_${ac_make}_set=no
42013 fi
42014 rm -f conftest.make
42015 fi
42016 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
42017 echo "$as_me:$LINENO: result: yes" >&5
42018 echo "${ECHO_T}yes" >&6
42019 SET_MAKE=
42020 else
42021 echo "$as_me:$LINENO: result: no" >&5
42022 echo "${ECHO_T}no" >&6
42023 SET_MAKE="MAKE=${MAKE-make}"
42024 fi
42025
42026
42027
42028 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
42029
42030
42031 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
42032
42033
42034 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
42035
42036
42037 ac_config_files="$ac_config_files version-script Makefile"
42038
42039
42040 ac_config_commands="$ac_config_commands wx-config
42041 "
42042
42043
42044
42045
42046 if test "$wxUSE_GUI" = "yes"; then
42047 SUBDIRS="samples demos utils contrib"
42048 else SUBDIRS="samples utils"
42049 fi
42050
42051
42052
42053 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
42054 if test "${with_cppunit_prefix+set}" = set; then
42055 withval="$with_cppunit_prefix"
42056 cppunit_config_prefix="$withval"
42057 else
42058 cppunit_config_prefix=""
42059 fi;
42060
42061 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
42062 if test "${with_cppunit_exec_prefix+set}" = set; then
42063 withval="$with_cppunit_exec_prefix"
42064 cppunit_config_exec_prefix="$withval"
42065 else
42066 cppunit_config_exec_prefix=""
42067 fi;
42068
42069 if test x$cppunit_config_exec_prefix != x ; then
42070 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
42071 if test x${CPPUNIT_CONFIG+set} != xset ; then
42072 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
42073 fi
42074 fi
42075 if test x$cppunit_config_prefix != x ; then
42076 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
42077 if test x${CPPUNIT_CONFIG+set} != xset ; then
42078 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
42079 fi
42080 fi
42081
42082 # Extract the first word of "cppunit-config", so it can be a program name with args.
42083 set dummy cppunit-config; ac_word=$2
42084 echo "$as_me:$LINENO: checking for $ac_word" >&5
42085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42086 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
42087 echo $ECHO_N "(cached) $ECHO_C" >&6
42088 else
42089 case $CPPUNIT_CONFIG in
42090 [\\/]* | ?:[\\/]*)
42091 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
42092 ;;
42093 *)
42094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42095 for as_dir in $PATH
42096 do
42097 IFS=$as_save_IFS
42098 test -z "$as_dir" && as_dir=.
42099 for ac_exec_ext in '' $ac_executable_extensions; do
42100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42101 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42103 break 2
42104 fi
42105 done
42106 done
42107
42108 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
42109 ;;
42110 esac
42111 fi
42112 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
42113
42114 if test -n "$CPPUNIT_CONFIG"; then
42115 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
42116 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
42117 else
42118 echo "$as_me:$LINENO: result: no" >&5
42119 echo "${ECHO_T}no" >&6
42120 fi
42121
42122 cppunit_version_min=1.8.0
42123
42124 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
42125 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
42126 no_cppunit=""
42127 if test "$CPPUNIT_CONFIG" = "no" ; then
42128 no_cppunit=yes
42129 else
42130 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
42131 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
42132 cppunit_version=`$CPPUNIT_CONFIG --version`
42133
42134 cppunit_major_version=`echo $cppunit_version | \
42135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42136 cppunit_minor_version=`echo $cppunit_version | \
42137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42138 cppunit_micro_version=`echo $cppunit_version | \
42139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42140
42141 cppunit_major_min=`echo $cppunit_version_min | \
42142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42143 cppunit_minor_min=`echo $cppunit_version_min | \
42144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42145 cppunit_micro_min=`echo $cppunit_version_min | \
42146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42147
42148 cppunit_version_proper=`expr \
42149 $cppunit_major_version \> $cppunit_major_min \| \
42150 $cppunit_major_version \= $cppunit_major_min \& \
42151 $cppunit_minor_version \> $cppunit_minor_min \| \
42152 $cppunit_major_version \= $cppunit_major_min \& \
42153 $cppunit_minor_version \= $cppunit_minor_min \& \
42154 $cppunit_micro_version \>= $cppunit_micro_min `
42155
42156 if test "$cppunit_version_proper" = "1" ; then
42157 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
42158 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
42159 else
42160 echo "$as_me:$LINENO: result: no" >&5
42161 echo "${ECHO_T}no" >&6
42162 no_cppunit=yes
42163 fi
42164 fi
42165
42166 if test "x$no_cppunit" = x ; then
42167 SUBDIRS="$SUBDIRS tests"
42168 else
42169 CPPUNIT_CFLAGS=""
42170 CPPUNIT_LIBS=""
42171 :
42172 fi
42173
42174
42175
42176
42177
42178 for subdir in `echo $SUBDIRS`; do
42179 if test -d ${srcdir}/${subdir} ; then
42180 if test "$wxUSE_GUI" = "yes"; then
42181 if test ${subdir} = "samples"; then
42182 makefiles="samples/Makefile.in $makefiles"
42183 for sample in `echo $SAMPLES_SUBDIRS`; do
42184 if test -d $srcdir/samples/$sample; then
42185 makefiles="samples/$sample/Makefile.in $makefiles"
42186 fi
42187 done
42188 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42189 fi
42190 else if test ${subdir} = "samples"; then
42191 makefiles="samples/Makefile.in samples/console/Makefile.in"
42192 elif test ${subdir} = "utils"; then
42193 makefiles=""
42194 for util in HelpGen tex2rtf ; do
42195 if test -d $srcdir/utils/$util ; then
42196 makefiles="utils/$util/Makefile.in \
42197 utils/$util/src/Makefile.in \
42198 $makefiles"
42199 fi
42200 done
42201 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
42202 fi
42203 fi
42204
42205 for mkin in $makefiles ; do
42206 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
42207 ac_config_files="$ac_config_files $mk"
42208
42209 done
42210 fi
42211 done
42212
42213
42214 cat >confcache <<\_ACEOF
42215 # This file is a shell script that caches the results of configure
42216 # tests run on this system so they can be shared between configure
42217 # scripts and configure runs, see configure's option --config-cache.
42218 # It is not useful on other systems. If it contains results you don't
42219 # want to keep, you may remove or edit it.
42220 #
42221 # config.status only pays attention to the cache file if you give it
42222 # the --recheck option to rerun configure.
42223 #
42224 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42225 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42226 # following values.
42227
42228 _ACEOF
42229
42230 # The following way of writing the cache mishandles newlines in values,
42231 # but we know of no workaround that is simple, portable, and efficient.
42232 # So, don't put newlines in cache variables' values.
42233 # Ultrix sh set writes to stderr and can't be redirected directly,
42234 # and sets the high bit in the cache file unless we assign to the vars.
42235 {
42236 (set) 2>&1 |
42237 case `(ac_space=' '; set | grep ac_space) 2>&1` in
42238 *ac_space=\ *)
42239 # `set' does not quote correctly, so add quotes (double-quote
42240 # substitution turns \\\\ into \\, and sed turns \\ into \).
42241 sed -n \
42242 "s/'/'\\\\''/g;
42243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42244 ;;
42245 *)
42246 # `set' quotes correctly as required by POSIX, so do not add quotes.
42247 sed -n \
42248 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
42249 ;;
42250 esac;
42251 } |
42252 sed '
42253 t clear
42254 : clear
42255 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42256 t end
42257 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42258 : end' >>confcache
42259 if diff $cache_file confcache >/dev/null 2>&1; then :; else
42260 if test -w $cache_file; then
42261 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
42262 cat confcache >$cache_file
42263 else
42264 echo "not updating unwritable cache $cache_file"
42265 fi
42266 fi
42267 rm -f confcache
42268
42269 test "x$prefix" = xNONE && prefix=$ac_default_prefix
42270 # Let make expand exec_prefix.
42271 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
42272
42273 # VPATH may cause trouble with some makes, so we remove $(srcdir),
42274 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
42275 # trailing colons and then remove the whole line if VPATH becomes empty
42276 # (actually we leave an empty line to preserve line numbers).
42277 if test "x$srcdir" = x.; then
42278 ac_vpsub='/^[ ]*VPATH[ ]*=/{
42279 s/:*\$(srcdir):*/:/;
42280 s/:*\${srcdir}:*/:/;
42281 s/:*@srcdir@:*/:/;
42282 s/^\([^=]*=[ ]*\):*/\1/;
42283 s/:*$//;
42284 s/^[^=]*=[ ]*$//;
42285 }'
42286 fi
42287
42288 DEFS=-DHAVE_CONFIG_H
42289
42290 ac_libobjs=
42291 ac_ltlibobjs=
42292 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
42293 # 1. Remove the extension, and $U if already installed.
42294 ac_i=`echo "$ac_i" |
42295 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
42296 # 2. Add them.
42297 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
42298 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
42299 done
42300 LIBOBJS=$ac_libobjs
42301
42302 LTLIBOBJS=$ac_ltlibobjs
42303
42304
42305
42306 : ${CONFIG_STATUS=./config.status}
42307 ac_clean_files_save=$ac_clean_files
42308 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
42309 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
42310 echo "$as_me: creating $CONFIG_STATUS" >&6;}
42311 cat >$CONFIG_STATUS <<_ACEOF
42312 #! $SHELL
42313 # Generated by $as_me.
42314 # Run this file to recreate the current configuration.
42315 # Compiler output produced by configure, useful for debugging
42316 # configure, is in config.log if it exists.
42317
42318 debug=false
42319 ac_cs_recheck=false
42320 ac_cs_silent=false
42321 SHELL=\${CONFIG_SHELL-$SHELL}
42322 _ACEOF
42323
42324 cat >>$CONFIG_STATUS <<\_ACEOF
42325 ## --------------------- ##
42326 ## M4sh Initialization. ##
42327 ## --------------------- ##
42328
42329 # Be Bourne compatible
42330 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
42331 emulate sh
42332 NULLCMD=:
42333 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
42334 # is contrary to our usage. Disable this feature.
42335 alias -g '${1+"$@"}'='"$@"'
42336 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
42337 set -o posix
42338 fi
42339 DUALCASE=1; export DUALCASE # for MKS sh
42340
42341 # Support unset when possible.
42342 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
42343 as_unset=unset
42344 else
42345 as_unset=false
42346 fi
42347
42348
42349 # Work around bugs in pre-3.0 UWIN ksh.
42350 $as_unset ENV MAIL MAILPATH
42351 PS1='$ '
42352 PS2='> '
42353 PS4='+ '
42354
42355 # NLS nuisances.
42356 for as_var in \
42357 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42358 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42359 LC_TELEPHONE LC_TIME
42360 do
42361 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
42362 eval $as_var=C; export $as_var
42363 else
42364 $as_unset $as_var
42365 fi
42366 done
42367
42368 # Required to use basename.
42369 if expr a : '\(a\)' >/dev/null 2>&1; then
42370 as_expr=expr
42371 else
42372 as_expr=false
42373 fi
42374
42375 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
42376 as_basename=basename
42377 else
42378 as_basename=false
42379 fi
42380
42381
42382 # Name of the executable.
42383 as_me=`$as_basename "$0" ||
42384 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42385 X"$0" : 'X\(//\)$' \| \
42386 X"$0" : 'X\(/\)$' \| \
42387 . : '\(.\)' 2>/dev/null ||
42388 echo X/"$0" |
42389 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
42390 /^X\/\(\/\/\)$/{ s//\1/; q; }
42391 /^X\/\(\/\).*/{ s//\1/; q; }
42392 s/.*/./; q'`
42393
42394
42395 # PATH needs CR, and LINENO needs CR and PATH.
42396 # Avoid depending upon Character Ranges.
42397 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
42398 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
42399 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
42400 as_cr_digits='0123456789'
42401 as_cr_alnum=$as_cr_Letters$as_cr_digits
42402
42403 # The user is always right.
42404 if test "${PATH_SEPARATOR+set}" != set; then
42405 echo "#! /bin/sh" >conf$$.sh
42406 echo "exit 0" >>conf$$.sh
42407 chmod +x conf$$.sh
42408 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42409 PATH_SEPARATOR=';'
42410 else
42411 PATH_SEPARATOR=:
42412 fi
42413 rm -f conf$$.sh
42414 fi
42415
42416
42417 as_lineno_1=$LINENO
42418 as_lineno_2=$LINENO
42419 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42420 test "x$as_lineno_1" != "x$as_lineno_2" &&
42421 test "x$as_lineno_3" = "x$as_lineno_2" || {
42422 # Find who we are. Look in the path if we contain no path at all
42423 # relative or not.
42424 case $0 in
42425 *[\\/]* ) as_myself=$0 ;;
42426 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42427 for as_dir in $PATH
42428 do
42429 IFS=$as_save_IFS
42430 test -z "$as_dir" && as_dir=.
42431 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
42432 done
42433
42434 ;;
42435 esac
42436 # We did not find ourselves, most probably we were run as `sh COMMAND'
42437 # in which case we are not to be found in the path.
42438 if test "x$as_myself" = x; then
42439 as_myself=$0
42440 fi
42441 if test ! -f "$as_myself"; then
42442 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
42443 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
42444 { (exit 1); exit 1; }; }
42445 fi
42446 case $CONFIG_SHELL in
42447 '')
42448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42449 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
42450 do
42451 IFS=$as_save_IFS
42452 test -z "$as_dir" && as_dir=.
42453 for as_base in sh bash ksh sh5; do
42454 case $as_dir in
42455 /*)
42456 if ("$as_dir/$as_base" -c '
42457 as_lineno_1=$LINENO
42458 as_lineno_2=$LINENO
42459 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42460 test "x$as_lineno_1" != "x$as_lineno_2" &&
42461 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
42462 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42463 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42464 CONFIG_SHELL=$as_dir/$as_base
42465 export CONFIG_SHELL
42466 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42467 fi;;
42468 esac
42469 done
42470 done
42471 ;;
42472 esac
42473
42474 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42475 # uniformly replaced by the line number. The first 'sed' inserts a
42476 # line-number line before each line; the second 'sed' does the real
42477 # work. The second script uses 'N' to pair each line-number line
42478 # with the numbered line, and appends trailing '-' during
42479 # substitution so that $LINENO is not a special case at line end.
42480 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42481 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42482 sed '=' <$as_myself |
42483 sed '
42484 N
42485 s,$,-,
42486 : loop
42487 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42488 t loop
42489 s,-$,,
42490 s,^['$as_cr_digits']*\n,,
42491 ' >$as_me.lineno &&
42492 chmod +x $as_me.lineno ||
42493 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42494 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42495 { (exit 1); exit 1; }; }
42496
42497 # Don't try to exec as it changes $[0], causing all sort of problems
42498 # (the dirname of $[0] is not the place where we might find the
42499 # original and so on. Autoconf is especially sensible to this).
42500 . ./$as_me.lineno
42501 # Exit status is that of the last command.
42502 exit
42503 }
42504
42505
42506 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42507 *c*,-n*) ECHO_N= ECHO_C='
42508 ' ECHO_T=' ' ;;
42509 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42510 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42511 esac
42512
42513 if expr a : '\(a\)' >/dev/null 2>&1; then
42514 as_expr=expr
42515 else
42516 as_expr=false
42517 fi
42518
42519 rm -f conf$$ conf$$.exe conf$$.file
42520 echo >conf$$.file
42521 if ln -s conf$$.file conf$$ 2>/dev/null; then
42522 # We could just check for DJGPP; but this test a) works b) is more generic
42523 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42524 if test -f conf$$.exe; then
42525 # Don't use ln at all; we don't have any links
42526 as_ln_s='cp -p'
42527 else
42528 as_ln_s='ln -s'
42529 fi
42530 elif ln conf$$.file conf$$ 2>/dev/null; then
42531 as_ln_s=ln
42532 else
42533 as_ln_s='cp -p'
42534 fi
42535 rm -f conf$$ conf$$.exe conf$$.file
42536
42537 if mkdir -p . 2>/dev/null; then
42538 as_mkdir_p=:
42539 else
42540 test -d ./-p && rmdir ./-p
42541 as_mkdir_p=false
42542 fi
42543
42544 as_executable_p="test -f"
42545
42546 # Sed expression to map a string onto a valid CPP name.
42547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42548
42549 # Sed expression to map a string onto a valid variable name.
42550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42551
42552
42553 # IFS
42554 # We need space, tab and new line, in precisely that order.
42555 as_nl='
42556 '
42557 IFS=" $as_nl"
42558
42559 # CDPATH.
42560 $as_unset CDPATH
42561
42562 exec 6>&1
42563
42564 # Open the log real soon, to keep \$[0] and so on meaningful, and to
42565 # report actual input values of CONFIG_FILES etc. instead of their
42566 # values after options handling. Logging --version etc. is OK.
42567 exec 5>>config.log
42568 {
42569 echo
42570 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42571 ## Running $as_me. ##
42572 _ASBOX
42573 } >&5
42574 cat >&5 <<_CSEOF
42575
42576 This file was extended by wxWidgets $as_me 2.5.3, which was
42577 generated by GNU Autoconf 2.59. Invocation command line was
42578
42579 CONFIG_FILES = $CONFIG_FILES
42580 CONFIG_HEADERS = $CONFIG_HEADERS
42581 CONFIG_LINKS = $CONFIG_LINKS
42582 CONFIG_COMMANDS = $CONFIG_COMMANDS
42583 $ $0 $@
42584
42585 _CSEOF
42586 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42587 echo >&5
42588 _ACEOF
42589
42590 # Files that config.status was made for.
42591 if test -n "$ac_config_files"; then
42592 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42593 fi
42594
42595 if test -n "$ac_config_headers"; then
42596 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42597 fi
42598
42599 if test -n "$ac_config_links"; then
42600 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42601 fi
42602
42603 if test -n "$ac_config_commands"; then
42604 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42605 fi
42606
42607 cat >>$CONFIG_STATUS <<\_ACEOF
42608
42609 ac_cs_usage="\
42610 \`$as_me' instantiates files from templates according to the
42611 current configuration.
42612
42613 Usage: $0 [OPTIONS] [FILE]...
42614
42615 -h, --help print this help, then exit
42616 -V, --version print version number, then exit
42617 -q, --quiet do not print progress messages
42618 -d, --debug don't remove temporary files
42619 --recheck update $as_me by reconfiguring in the same conditions
42620 --file=FILE[:TEMPLATE]
42621 instantiate the configuration file FILE
42622 --header=FILE[:TEMPLATE]
42623 instantiate the configuration header FILE
42624
42625 Configuration files:
42626 $config_files
42627
42628 Configuration headers:
42629 $config_headers
42630
42631 Configuration commands:
42632 $config_commands
42633
42634 Report bugs to <bug-autoconf@gnu.org>."
42635 _ACEOF
42636
42637 cat >>$CONFIG_STATUS <<_ACEOF
42638 ac_cs_version="\\
42639 wxWidgets config.status 2.5.3
42640 configured by $0, generated by GNU Autoconf 2.59,
42641 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42642
42643 Copyright (C) 2003 Free Software Foundation, Inc.
42644 This config.status script is free software; the Free Software Foundation
42645 gives unlimited permission to copy, distribute and modify it."
42646 srcdir=$srcdir
42647 INSTALL="$INSTALL"
42648 _ACEOF
42649
42650 cat >>$CONFIG_STATUS <<\_ACEOF
42651 # If no file are specified by the user, then we need to provide default
42652 # value. By we need to know if files were specified by the user.
42653 ac_need_defaults=:
42654 while test $# != 0
42655 do
42656 case $1 in
42657 --*=*)
42658 ac_option=`expr "x$1" : 'x\([^=]*\)='`
42659 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42660 ac_shift=:
42661 ;;
42662 -*)
42663 ac_option=$1
42664 ac_optarg=$2
42665 ac_shift=shift
42666 ;;
42667 *) # This is not an option, so the user has probably given explicit
42668 # arguments.
42669 ac_option=$1
42670 ac_need_defaults=false;;
42671 esac
42672
42673 case $ac_option in
42674 # Handling of the options.
42675 _ACEOF
42676 cat >>$CONFIG_STATUS <<\_ACEOF
42677 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42678 ac_cs_recheck=: ;;
42679 --version | --vers* | -V )
42680 echo "$ac_cs_version"; exit 0 ;;
42681 --he | --h)
42682 # Conflict between --help and --header
42683 { { echo "$as_me:$LINENO: error: ambiguous option: $1
42684 Try \`$0 --help' for more information." >&5
42685 echo "$as_me: error: ambiguous option: $1
42686 Try \`$0 --help' for more information." >&2;}
42687 { (exit 1); exit 1; }; };;
42688 --help | --hel | -h )
42689 echo "$ac_cs_usage"; exit 0 ;;
42690 --debug | --d* | -d )
42691 debug=: ;;
42692 --file | --fil | --fi | --f )
42693 $ac_shift
42694 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
42695 ac_need_defaults=false;;
42696 --header | --heade | --head | --hea )
42697 $ac_shift
42698 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42699 ac_need_defaults=false;;
42700 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42701 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42702 ac_cs_silent=: ;;
42703
42704 # This is an error.
42705 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42706 Try \`$0 --help' for more information." >&5
42707 echo "$as_me: error: unrecognized option: $1
42708 Try \`$0 --help' for more information." >&2;}
42709 { (exit 1); exit 1; }; } ;;
42710
42711 *) ac_config_targets="$ac_config_targets $1" ;;
42712
42713 esac
42714 shift
42715 done
42716
42717 ac_configure_extra_args=
42718
42719 if $ac_cs_silent; then
42720 exec 6>/dev/null
42721 ac_configure_extra_args="$ac_configure_extra_args --silent"
42722 fi
42723
42724 _ACEOF
42725 cat >>$CONFIG_STATUS <<_ACEOF
42726 if \$ac_cs_recheck; then
42727 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42728 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42729 fi
42730
42731 _ACEOF
42732
42733 cat >>$CONFIG_STATUS <<_ACEOF
42734 #
42735 # INIT-COMMANDS section.
42736 #
42737
42738 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42739 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42740 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42741 LN_S="${LN_S}"
42742
42743
42744 _ACEOF
42745
42746
42747
42748 cat >>$CONFIG_STATUS <<\_ACEOF
42749 for ac_config_target in $ac_config_targets
42750 do
42751 case "$ac_config_target" in
42752 # Handling of arguments.
42753 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42754 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42755 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
42756 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
42757 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
42758 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
42759 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42760 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42761 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42762 { (exit 1); exit 1; }; };;
42763 esac
42764 done
42765
42766 # If the user did not use the arguments to specify the items to instantiate,
42767 # then the envvar interface is used. Set only those that are not.
42768 # We use the long form for the default assignment because of an extremely
42769 # bizarre bug on SunOS 4.1.3.
42770 if $ac_need_defaults; then
42771 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42772 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42773 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42774 fi
42775
42776 # Have a temporary directory for convenience. Make it in the build tree
42777 # simply because there is no reason to put it here, and in addition,
42778 # creating and moving files from /tmp can sometimes cause problems.
42779 # Create a temporary directory, and hook for its removal unless debugging.
42780 $debug ||
42781 {
42782 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
42783 trap '{ (exit 1); exit 1; }' 1 2 13 15
42784 }
42785
42786 # Create a (secure) tmp directory for tmp files.
42787
42788 {
42789 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
42790 test -n "$tmp" && test -d "$tmp"
42791 } ||
42792 {
42793 tmp=./confstat$$-$RANDOM
42794 (umask 077 && mkdir $tmp)
42795 } ||
42796 {
42797 echo "$me: cannot create a temporary directory in ." >&2
42798 { (exit 1); exit 1; }
42799 }
42800
42801 _ACEOF
42802
42803 cat >>$CONFIG_STATUS <<_ACEOF
42804
42805 #
42806 # CONFIG_FILES section.
42807 #
42808
42809 # No need to generate the scripts if there are no CONFIG_FILES.
42810 # This happens for instance when ./config.status config.h
42811 if test -n "\$CONFIG_FILES"; then
42812 # Protect against being on the right side of a sed subst in config.status.
42813 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
42814 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
42815 s,@SHELL@,$SHELL,;t t
42816 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
42817 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
42818 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
42819 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
42820 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
42821 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
42822 s,@exec_prefix@,$exec_prefix,;t t
42823 s,@prefix@,$prefix,;t t
42824 s,@program_transform_name@,$program_transform_name,;t t
42825 s,@bindir@,$bindir,;t t
42826 s,@sbindir@,$sbindir,;t t
42827 s,@libexecdir@,$libexecdir,;t t
42828 s,@datadir@,$datadir,;t t
42829 s,@sysconfdir@,$sysconfdir,;t t
42830 s,@sharedstatedir@,$sharedstatedir,;t t
42831 s,@localstatedir@,$localstatedir,;t t
42832 s,@libdir@,$libdir,;t t
42833 s,@includedir@,$includedir,;t t
42834 s,@oldincludedir@,$oldincludedir,;t t
42835 s,@infodir@,$infodir,;t t
42836 s,@mandir@,$mandir,;t t
42837 s,@build_alias@,$build_alias,;t t
42838 s,@host_alias@,$host_alias,;t t
42839 s,@target_alias@,$target_alias,;t t
42840 s,@DEFS@,$DEFS,;t t
42841 s,@ECHO_C@,$ECHO_C,;t t
42842 s,@ECHO_N@,$ECHO_N,;t t
42843 s,@ECHO_T@,$ECHO_T,;t t
42844 s,@LIBS@,$LIBS,;t t
42845 s,@build@,$build,;t t
42846 s,@build_cpu@,$build_cpu,;t t
42847 s,@build_vendor@,$build_vendor,;t t
42848 s,@build_os@,$build_os,;t t
42849 s,@host@,$host,;t t
42850 s,@host_cpu@,$host_cpu,;t t
42851 s,@host_vendor@,$host_vendor,;t t
42852 s,@host_os@,$host_os,;t t
42853 s,@target@,$target,;t t
42854 s,@target_cpu@,$target_cpu,;t t
42855 s,@target_vendor@,$target_vendor,;t t
42856 s,@target_os@,$target_os,;t t
42857 s,@CC@,$CC,;t t
42858 s,@CFLAGS@,$CFLAGS,;t t
42859 s,@LDFLAGS@,$LDFLAGS,;t t
42860 s,@CPPFLAGS@,$CPPFLAGS,;t t
42861 s,@ac_ct_CC@,$ac_ct_CC,;t t
42862 s,@EXEEXT@,$EXEEXT,;t t
42863 s,@OBJEXT@,$OBJEXT,;t t
42864 s,@CPP@,$CPP,;t t
42865 s,@EGREP@,$EGREP,;t t
42866 s,@CXX@,$CXX,;t t
42867 s,@CXXFLAGS@,$CXXFLAGS,;t t
42868 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
42869 s,@RANLIB@,$RANLIB,;t t
42870 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
42871 s,@AR@,$AR,;t t
42872 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
42873 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
42874 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
42875 s,@STRIP@,$STRIP,;t t
42876 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
42877 s,@LN_S@,$LN_S,;t t
42878 s,@CXXCPP@,$CXXCPP,;t t
42879 s,@subdirs@,$subdirs,;t t
42880 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
42881 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
42882 s,@GTK_LIBS@,$GTK_LIBS,;t t
42883 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
42884 s,@X_CFLAGS@,$X_CFLAGS,;t t
42885 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
42886 s,@X_LIBS@,$X_LIBS,;t t
42887 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
42888 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
42889 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
42890 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
42891 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
42892 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
42893 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
42894 s,@RESCOMP@,$RESCOMP,;t t
42895 s,@DEREZ@,$DEREZ,;t t
42896 s,@SETFILE@,$SETFILE,;t t
42897 s,@LIBICONV@,$LIBICONV,;t t
42898 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
42899 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
42900 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
42901 s,@SDL_LIBS@,$SDL_LIBS,;t t
42902 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
42903 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
42904 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
42905 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
42906 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
42907 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
42908 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
42909 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
42910 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
42911 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
42912 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
42913 s,@VENDOR@,$VENDOR,;t t
42914 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
42915 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
42916 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
42917 s,@WXUNIV@,$WXUNIV,;t t
42918 s,@MONOLITHIC@,$MONOLITHIC,;t t
42919 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
42920 s,@EXTRALIBS@,$EXTRALIBS,;t t
42921 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
42922 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
42923 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
42924 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
42925 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
42926 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
42927 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
42928 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
42929 s,@UNICODE@,$UNICODE,;t t
42930 s,@BUILD@,$BUILD,;t t
42931 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
42932 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
42933 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
42934 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
42935 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
42936 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
42937 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
42938 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
42939 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
42940 s,@SET_MAKE@,$SET_MAKE,;t t
42941 s,@MAKE_SET@,$MAKE_SET,;t t
42942 s,@ac_ct_AR@,$ac_ct_AR,;t t
42943 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
42944 s,@NM@,$NM,;t t
42945 s,@ac_ct_NM@,$ac_ct_NM,;t t
42946 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
42947 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
42948 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
42949 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
42950 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
42951 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
42952 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
42953 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
42954 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
42955 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
42956 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
42957 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
42958 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
42959 s,@LIBPREFIX@,$LIBPREFIX,;t t
42960 s,@LIBEXT@,$LIBEXT,;t t
42961 s,@DLLPREFIX@,$DLLPREFIX,;t t
42962 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
42963 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
42964 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
42965 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
42966 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
42967 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
42968 s,@PIC_FLAG@,$PIC_FLAG,;t t
42969 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
42970 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
42971 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
42972 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
42973 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
42974 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
42975 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
42976 s,@GCC_PCH@,$GCC_PCH,;t t
42977 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
42978 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
42979 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
42980 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
42981 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
42982 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
42983 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
42984 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
42985 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
42986 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
42987 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
42988 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
42989 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
42990 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
42991 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
42992 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
42993 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
42994 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
42995 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
42996 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
42997 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
42998 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
42999 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
43000 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
43001 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
43002 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
43003 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
43004 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
43005 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
43006 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
43007 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
43008 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
43009 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
43010 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
43011 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
43012 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
43013 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
43014 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
43015 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
43016 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
43017 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
43018 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43019 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
43020 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
43021 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
43022 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
43023 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
43024 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
43025 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
43026 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
43027 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
43028 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
43029 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
43030 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
43031 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
43032 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
43033 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
43034 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
43035 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
43036 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
43037 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43038 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43039 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43040 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
43041 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
43042 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
43043 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
43044 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
43045 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
43046 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
43047 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
43048 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
43049 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
43050 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
43051 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
43052 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
43053 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
43054 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
43055 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
43056 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
43057 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
43058 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
43059 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
43060 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
43061 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
43062 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
43063 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
43064 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
43065 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
43066 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
43067 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
43068 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
43069 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
43070 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
43071 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
43072 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
43073 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
43074 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
43075 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
43076 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
43077 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
43078 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
43079 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
43080 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
43081 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
43082 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
43083 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
43084 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
43085 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
43086 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
43087 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
43088 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
43089 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
43090 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
43091 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
43092 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
43093 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
43094 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
43095 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
43096 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
43097 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
43098 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
43099 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
43100 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
43101 s,@COND_TOOLKIT_MAC_WXUNIV_0@,$COND_TOOLKIT_MAC_WXUNIV_0,;t t
43102 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
43103 s,@COND_TOOLKIT_PM_WXUNIV_0@,$COND_TOOLKIT_PM_WXUNIV_0,;t t
43104 s,@SHARED@,$SHARED,;t t
43105 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
43106 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
43107 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
43108 s,@USE_GUI@,$USE_GUI,;t t
43109 s,@AFMINSTALL@,$AFMINSTALL,;t t
43110 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
43111 s,@TOOLKIT@,$TOOLKIT,;t t
43112 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
43113 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
43114 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
43115 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
43116 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
43117 s,@cross_compiling@,$cross_compiling,;t t
43118 s,@WIDGET_SET@,$WIDGET_SET,;t t
43119 s,@WX_RELEASE@,$WX_RELEASE,;t t
43120 s,@WX_VERSION@,$WX_VERSION,;t t
43121 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
43122 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
43123 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
43124 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
43125 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
43126 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
43127 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
43128 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
43129 s,@GCC_PRAGMA_FLAGS@,$GCC_PRAGMA_FLAGS,;t t
43130 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
43131 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
43132 s,@EXE_LINKER@,$EXE_LINKER,;t t
43133 s,@GUIDIST@,$GUIDIST,;t t
43134 s,@DISTDIR@,$DISTDIR,;t t
43135 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
43136 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
43137 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43138 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
43139 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
43140 s,@RESFLAGS@,$RESFLAGS,;t t
43141 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
43142 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
43143 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
43144 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
43145 s,@MACRESCOMP@,$MACRESCOMP,;t t
43146 s,@MACSETFILE@,$MACSETFILE,;t t
43147 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
43148 s,@GCC@,$GCC,;t t
43149 s,@DLLTOOL@,$DLLTOOL,;t t
43150 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
43151 s,@LIBOBJS@,$LIBOBJS,;t t
43152 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43153 CEOF
43154
43155 _ACEOF
43156
43157 cat >>$CONFIG_STATUS <<\_ACEOF
43158 # Split the substitutions into bite-sized pieces for seds with
43159 # small command number limits, like on Digital OSF/1 and HP-UX.
43160 ac_max_sed_lines=48
43161 ac_sed_frag=1 # Number of current file.
43162 ac_beg=1 # First line for current file.
43163 ac_end=$ac_max_sed_lines # Line after last line for current file.
43164 ac_more_lines=:
43165 ac_sed_cmds=
43166 while $ac_more_lines; do
43167 if test $ac_beg -gt 1; then
43168 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43169 else
43170 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43171 fi
43172 if test ! -s $tmp/subs.frag; then
43173 ac_more_lines=false
43174 else
43175 # The purpose of the label and of the branching condition is to
43176 # speed up the sed processing (if there are no `@' at all, there
43177 # is no need to browse any of the substitutions).
43178 # These are the two extra sed commands mentioned above.
43179 (echo ':t
43180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43181 if test -z "$ac_sed_cmds"; then
43182 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43183 else
43184 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43185 fi
43186 ac_sed_frag=`expr $ac_sed_frag + 1`
43187 ac_beg=$ac_end
43188 ac_end=`expr $ac_end + $ac_max_sed_lines`
43189 fi
43190 done
43191 if test -z "$ac_sed_cmds"; then
43192 ac_sed_cmds=cat
43193 fi
43194 fi # test -n "$CONFIG_FILES"
43195
43196 _ACEOF
43197 cat >>$CONFIG_STATUS <<\_ACEOF
43198 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43199 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43200 case $ac_file in
43201 - | *:- | *:-:* ) # input from stdin
43202 cat >$tmp/stdin
43203 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43204 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43205 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43206 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43207 * ) ac_file_in=$ac_file.in ;;
43208 esac
43209
43210 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43211 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43213 X"$ac_file" : 'X\(//\)[^/]' \| \
43214 X"$ac_file" : 'X\(//\)$' \| \
43215 X"$ac_file" : 'X\(/\)' \| \
43216 . : '\(.\)' 2>/dev/null ||
43217 echo X"$ac_file" |
43218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43220 /^X\(\/\/\)$/{ s//\1/; q; }
43221 /^X\(\/\).*/{ s//\1/; q; }
43222 s/.*/./; q'`
43223 { if $as_mkdir_p; then
43224 mkdir -p "$ac_dir"
43225 else
43226 as_dir="$ac_dir"
43227 as_dirs=
43228 while test ! -d "$as_dir"; do
43229 as_dirs="$as_dir $as_dirs"
43230 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43232 X"$as_dir" : 'X\(//\)[^/]' \| \
43233 X"$as_dir" : 'X\(//\)$' \| \
43234 X"$as_dir" : 'X\(/\)' \| \
43235 . : '\(.\)' 2>/dev/null ||
43236 echo X"$as_dir" |
43237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43239 /^X\(\/\/\)$/{ s//\1/; q; }
43240 /^X\(\/\).*/{ s//\1/; q; }
43241 s/.*/./; q'`
43242 done
43243 test ! -n "$as_dirs" || mkdir $as_dirs
43244 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43245 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43246 { (exit 1); exit 1; }; }; }
43247
43248 ac_builddir=.
43249
43250 if test "$ac_dir" != .; then
43251 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43252 # A "../" for each directory in $ac_dir_suffix.
43253 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43254 else
43255 ac_dir_suffix= ac_top_builddir=
43256 fi
43257
43258 case $srcdir in
43259 .) # No --srcdir option. We are building in place.
43260 ac_srcdir=.
43261 if test -z "$ac_top_builddir"; then
43262 ac_top_srcdir=.
43263 else
43264 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43265 fi ;;
43266 [\\/]* | ?:[\\/]* ) # Absolute path.
43267 ac_srcdir=$srcdir$ac_dir_suffix;
43268 ac_top_srcdir=$srcdir ;;
43269 *) # Relative path.
43270 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43271 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43272 esac
43273
43274 # Do not use `cd foo && pwd` to compute absolute paths, because
43275 # the directories may not exist.
43276 case `pwd` in
43277 .) ac_abs_builddir="$ac_dir";;
43278 *)
43279 case "$ac_dir" in
43280 .) ac_abs_builddir=`pwd`;;
43281 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43282 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43283 esac;;
43284 esac
43285 case $ac_abs_builddir in
43286 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43287 *)
43288 case ${ac_top_builddir}. in
43289 .) ac_abs_top_builddir=$ac_abs_builddir;;
43290 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43291 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43292 esac;;
43293 esac
43294 case $ac_abs_builddir in
43295 .) ac_abs_srcdir=$ac_srcdir;;
43296 *)
43297 case $ac_srcdir in
43298 .) ac_abs_srcdir=$ac_abs_builddir;;
43299 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43300 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43301 esac;;
43302 esac
43303 case $ac_abs_builddir in
43304 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43305 *)
43306 case $ac_top_srcdir in
43307 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43308 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43309 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43310 esac;;
43311 esac
43312
43313
43314 case $INSTALL in
43315 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43316 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43317 esac
43318
43319 if test x"$ac_file" != x-; then
43320 { echo "$as_me:$LINENO: creating $ac_file" >&5
43321 echo "$as_me: creating $ac_file" >&6;}
43322 rm -f "$ac_file"
43323 fi
43324 # Let's still pretend it is `configure' which instantiates (i.e., don't
43325 # use $as_me), people would be surprised to read:
43326 # /* config.h. Generated by config.status. */
43327 if test x"$ac_file" = x-; then
43328 configure_input=
43329 else
43330 configure_input="$ac_file. "
43331 fi
43332 configure_input=$configure_input"Generated from `echo $ac_file_in |
43333 sed 's,.*/,,'` by configure."
43334
43335 # First look for the input files in the build tree, otherwise in the
43336 # src tree.
43337 ac_file_inputs=`IFS=:
43338 for f in $ac_file_in; do
43339 case $f in
43340 -) echo $tmp/stdin ;;
43341 [\\/$]*)
43342 # Absolute (can't be DOS-style, as IFS=:)
43343 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43344 echo "$as_me: error: cannot find input file: $f" >&2;}
43345 { (exit 1); exit 1; }; }
43346 echo "$f";;
43347 *) # Relative
43348 if test -f "$f"; then
43349 # Build tree
43350 echo "$f"
43351 elif test -f "$srcdir/$f"; then
43352 # Source tree
43353 echo "$srcdir/$f"
43354 else
43355 # /dev/null tree
43356 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43357 echo "$as_me: error: cannot find input file: $f" >&2;}
43358 { (exit 1); exit 1; }; }
43359 fi;;
43360 esac
43361 done` || { (exit 1); exit 1; }
43362 _ACEOF
43363 cat >>$CONFIG_STATUS <<_ACEOF
43364 sed "$ac_vpsub
43365 $extrasub
43366 _ACEOF
43367 cat >>$CONFIG_STATUS <<\_ACEOF
43368 :t
43369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43370 s,@configure_input@,$configure_input,;t t
43371 s,@srcdir@,$ac_srcdir,;t t
43372 s,@abs_srcdir@,$ac_abs_srcdir,;t t
43373 s,@top_srcdir@,$ac_top_srcdir,;t t
43374 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
43375 s,@builddir@,$ac_builddir,;t t
43376 s,@abs_builddir@,$ac_abs_builddir,;t t
43377 s,@top_builddir@,$ac_top_builddir,;t t
43378 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
43379 s,@INSTALL@,$ac_INSTALL,;t t
43380 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
43381 rm -f $tmp/stdin
43382 if test x"$ac_file" != x-; then
43383 mv $tmp/out $ac_file
43384 else
43385 cat $tmp/out
43386 rm -f $tmp/out
43387 fi
43388
43389 # Run the commands associated with the file.
43390 case $ac_file in
43391 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
43392 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
43393 esac
43394 done
43395 _ACEOF
43396 cat >>$CONFIG_STATUS <<\_ACEOF
43397
43398 #
43399 # CONFIG_HEADER section.
43400 #
43401
43402 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
43403 # NAME is the cpp macro being defined and VALUE is the value it is being given.
43404 #
43405 # ac_d sets the value in "#define NAME VALUE" lines.
43406 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
43407 ac_dB='[ ].*$,\1#\2'
43408 ac_dC=' '
43409 ac_dD=',;t'
43410 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
43411 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
43412 ac_uB='$,\1#\2define\3'
43413 ac_uC=' '
43414 ac_uD=',;t'
43415
43416 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
43417 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43418 case $ac_file in
43419 - | *:- | *:-:* ) # input from stdin
43420 cat >$tmp/stdin
43421 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43422 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43423 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43424 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43425 * ) ac_file_in=$ac_file.in ;;
43426 esac
43427
43428 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
43429 echo "$as_me: creating $ac_file" >&6;}
43430
43431 # First look for the input files in the build tree, otherwise in the
43432 # src tree.
43433 ac_file_inputs=`IFS=:
43434 for f in $ac_file_in; do
43435 case $f in
43436 -) echo $tmp/stdin ;;
43437 [\\/$]*)
43438 # Absolute (can't be DOS-style, as IFS=:)
43439 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43440 echo "$as_me: error: cannot find input file: $f" >&2;}
43441 { (exit 1); exit 1; }; }
43442 # Do quote $f, to prevent DOS paths from being IFS'd.
43443 echo "$f";;
43444 *) # Relative
43445 if test -f "$f"; then
43446 # Build tree
43447 echo "$f"
43448 elif test -f "$srcdir/$f"; then
43449 # Source tree
43450 echo "$srcdir/$f"
43451 else
43452 # /dev/null tree
43453 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43454 echo "$as_me: error: cannot find input file: $f" >&2;}
43455 { (exit 1); exit 1; }; }
43456 fi;;
43457 esac
43458 done` || { (exit 1); exit 1; }
43459 # Remove the trailing spaces.
43460 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
43461
43462 _ACEOF
43463
43464 # Transform confdefs.h into two sed scripts, `conftest.defines' and
43465 # `conftest.undefs', that substitutes the proper values into
43466 # config.h.in to produce config.h. The first handles `#define'
43467 # templates, and the second `#undef' templates.
43468 # And first: Protect against being on the right side of a sed subst in
43469 # config.status. Protect against being in an unquoted here document
43470 # in config.status.
43471 rm -f conftest.defines conftest.undefs
43472 # Using a here document instead of a string reduces the quoting nightmare.
43473 # Putting comments in sed scripts is not portable.
43474 #
43475 # `end' is used to avoid that the second main sed command (meant for
43476 # 0-ary CPP macros) applies to n-ary macro definitions.
43477 # See the Autoconf documentation for `clear'.
43478 cat >confdef2sed.sed <<\_ACEOF
43479 s/[\\&,]/\\&/g
43480 s,[\\$`],\\&,g
43481 t clear
43482 : clear
43483 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
43484 t end
43485 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
43486 : end
43487 _ACEOF
43488 # If some macros were called several times there might be several times
43489 # the same #defines, which is useless. Nevertheless, we may not want to
43490 # sort them, since we want the *last* AC-DEFINE to be honored.
43491 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
43492 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
43493 rm -f confdef2sed.sed
43494
43495 # This sed command replaces #undef with comments. This is necessary, for
43496 # example, in the case of _POSIX_SOURCE, which is predefined and required
43497 # on some systems where configure will not decide to define it.
43498 cat >>conftest.undefs <<\_ACEOF
43499 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
43500 _ACEOF
43501
43502 # Break up conftest.defines because some shells have a limit on the size
43503 # of here documents, and old seds have small limits too (100 cmds).
43504 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
43505 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
43506 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
43507 echo ' :' >>$CONFIG_STATUS
43508 rm -f conftest.tail
43509 while grep . conftest.defines >/dev/null
43510 do
43511 # Write a limited-size here document to $tmp/defines.sed.
43512 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
43513 # Speed up: don't consider the non `#define' lines.
43514 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
43515 # Work around the forget-to-reset-the-flag bug.
43516 echo 't clr' >>$CONFIG_STATUS
43517 echo ': clr' >>$CONFIG_STATUS
43518 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
43519 echo 'CEOF
43520 sed -f $tmp/defines.sed $tmp/in >$tmp/out
43521 rm -f $tmp/in
43522 mv $tmp/out $tmp/in
43523 ' >>$CONFIG_STATUS
43524 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
43525 rm -f conftest.defines
43526 mv conftest.tail conftest.defines
43527 done
43528 rm -f conftest.defines
43529 echo ' fi # grep' >>$CONFIG_STATUS
43530 echo >>$CONFIG_STATUS
43531
43532 # Break up conftest.undefs because some shells have a limit on the size
43533 # of here documents, and old seds have small limits too (100 cmds).
43534 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
43535 rm -f conftest.tail
43536 while grep . conftest.undefs >/dev/null
43537 do
43538 # Write a limited-size here document to $tmp/undefs.sed.
43539 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
43540 # Speed up: don't consider the non `#undef'
43541 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
43542 # Work around the forget-to-reset-the-flag bug.
43543 echo 't clr' >>$CONFIG_STATUS
43544 echo ': clr' >>$CONFIG_STATUS
43545 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
43546 echo 'CEOF
43547 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
43548 rm -f $tmp/in
43549 mv $tmp/out $tmp/in
43550 ' >>$CONFIG_STATUS
43551 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
43552 rm -f conftest.undefs
43553 mv conftest.tail conftest.undefs
43554 done
43555 rm -f conftest.undefs
43556
43557 cat >>$CONFIG_STATUS <<\_ACEOF
43558 # Let's still pretend it is `configure' which instantiates (i.e., don't
43559 # use $as_me), people would be surprised to read:
43560 # /* config.h. Generated by config.status. */
43561 if test x"$ac_file" = x-; then
43562 echo "/* Generated by configure. */" >$tmp/config.h
43563 else
43564 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
43565 fi
43566 cat $tmp/in >>$tmp/config.h
43567 rm -f $tmp/in
43568 if test x"$ac_file" != x-; then
43569 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
43570 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
43571 echo "$as_me: $ac_file is unchanged" >&6;}
43572 else
43573 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43575 X"$ac_file" : 'X\(//\)[^/]' \| \
43576 X"$ac_file" : 'X\(//\)$' \| \
43577 X"$ac_file" : 'X\(/\)' \| \
43578 . : '\(.\)' 2>/dev/null ||
43579 echo X"$ac_file" |
43580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43581 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43582 /^X\(\/\/\)$/{ s//\1/; q; }
43583 /^X\(\/\).*/{ s//\1/; q; }
43584 s/.*/./; q'`
43585 { if $as_mkdir_p; then
43586 mkdir -p "$ac_dir"
43587 else
43588 as_dir="$ac_dir"
43589 as_dirs=
43590 while test ! -d "$as_dir"; do
43591 as_dirs="$as_dir $as_dirs"
43592 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43594 X"$as_dir" : 'X\(//\)[^/]' \| \
43595 X"$as_dir" : 'X\(//\)$' \| \
43596 X"$as_dir" : 'X\(/\)' \| \
43597 . : '\(.\)' 2>/dev/null ||
43598 echo X"$as_dir" |
43599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43600 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43601 /^X\(\/\/\)$/{ s//\1/; q; }
43602 /^X\(\/\).*/{ s//\1/; q; }
43603 s/.*/./; q'`
43604 done
43605 test ! -n "$as_dirs" || mkdir $as_dirs
43606 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43607 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43608 { (exit 1); exit 1; }; }; }
43609
43610 rm -f $ac_file
43611 mv $tmp/config.h $ac_file
43612 fi
43613 else
43614 cat $tmp/config.h
43615 rm -f $tmp/config.h
43616 fi
43617 done
43618 _ACEOF
43619 cat >>$CONFIG_STATUS <<\_ACEOF
43620
43621 #
43622 # CONFIG_COMMANDS section.
43623 #
43624 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
43625 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
43626 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
43627 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
43628 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43629 X"$ac_dest" : 'X\(//\)[^/]' \| \
43630 X"$ac_dest" : 'X\(//\)$' \| \
43631 X"$ac_dest" : 'X\(/\)' \| \
43632 . : '\(.\)' 2>/dev/null ||
43633 echo X"$ac_dest" |
43634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43635 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43636 /^X\(\/\/\)$/{ s//\1/; q; }
43637 /^X\(\/\).*/{ s//\1/; q; }
43638 s/.*/./; q'`
43639 { if $as_mkdir_p; then
43640 mkdir -p "$ac_dir"
43641 else
43642 as_dir="$ac_dir"
43643 as_dirs=
43644 while test ! -d "$as_dir"; do
43645 as_dirs="$as_dir $as_dirs"
43646 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43647 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43648 X"$as_dir" : 'X\(//\)[^/]' \| \
43649 X"$as_dir" : 'X\(//\)$' \| \
43650 X"$as_dir" : 'X\(/\)' \| \
43651 . : '\(.\)' 2>/dev/null ||
43652 echo X"$as_dir" |
43653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43654 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43655 /^X\(\/\/\)$/{ s//\1/; q; }
43656 /^X\(\/\).*/{ s//\1/; q; }
43657 s/.*/./; q'`
43658 done
43659 test ! -n "$as_dirs" || mkdir $as_dirs
43660 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43661 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43662 { (exit 1); exit 1; }; }; }
43663
43664 ac_builddir=.
43665
43666 if test "$ac_dir" != .; then
43667 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43668 # A "../" for each directory in $ac_dir_suffix.
43669 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43670 else
43671 ac_dir_suffix= ac_top_builddir=
43672 fi
43673
43674 case $srcdir in
43675 .) # No --srcdir option. We are building in place.
43676 ac_srcdir=.
43677 if test -z "$ac_top_builddir"; then
43678 ac_top_srcdir=.
43679 else
43680 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43681 fi ;;
43682 [\\/]* | ?:[\\/]* ) # Absolute path.
43683 ac_srcdir=$srcdir$ac_dir_suffix;
43684 ac_top_srcdir=$srcdir ;;
43685 *) # Relative path.
43686 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43687 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43688 esac
43689
43690 # Do not use `cd foo && pwd` to compute absolute paths, because
43691 # the directories may not exist.
43692 case `pwd` in
43693 .) ac_abs_builddir="$ac_dir";;
43694 *)
43695 case "$ac_dir" in
43696 .) ac_abs_builddir=`pwd`;;
43697 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43698 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43699 esac;;
43700 esac
43701 case $ac_abs_builddir in
43702 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43703 *)
43704 case ${ac_top_builddir}. in
43705 .) ac_abs_top_builddir=$ac_abs_builddir;;
43706 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43707 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43708 esac;;
43709 esac
43710 case $ac_abs_builddir in
43711 .) ac_abs_srcdir=$ac_srcdir;;
43712 *)
43713 case $ac_srcdir in
43714 .) ac_abs_srcdir=$ac_abs_builddir;;
43715 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43716 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43717 esac;;
43718 esac
43719 case $ac_abs_builddir in
43720 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43721 *)
43722 case $ac_top_srcdir in
43723 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43724 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43725 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43726 esac;;
43727 esac
43728
43729
43730 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
43731 echo "$as_me: executing $ac_dest commands" >&6;}
43732 case $ac_dest in
43733 wx-config ) rm -f wx-config
43734 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
43735 ;;
43736 esac
43737 done
43738 _ACEOF
43739
43740 cat >>$CONFIG_STATUS <<\_ACEOF
43741
43742 { (exit 0); exit 0; }
43743 _ACEOF
43744 chmod +x $CONFIG_STATUS
43745 ac_clean_files=$ac_clean_files_save
43746
43747
43748 # configure is writing to config.log, and then calls config.status.
43749 # config.status does its own redirection, appending to config.log.
43750 # Unfortunately, on DOS this fails, as config.log is still kept open
43751 # by configure, so config.status won't be able to write to it; its
43752 # output is simply discarded. So we exec the FD to /dev/null,
43753 # effectively closing config.log, so it can be properly (re)opened and
43754 # appended to by config.status. When coming back to configure, we
43755 # need to make the FD available again.
43756 if test "$no_create" != yes; then
43757 ac_cs_success=:
43758 ac_config_status_args=
43759 test "$silent" = yes &&
43760 ac_config_status_args="$ac_config_status_args --quiet"
43761 exec 5>/dev/null
43762 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
43763 exec 5>>config.log
43764 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
43765 # would make configure fail if this is the last instruction.
43766 $ac_cs_success || { (exit 1); exit 1; }
43767 fi
43768
43769 #
43770 # CONFIG_SUBDIRS section.
43771 #
43772 if test "$no_recursion" != yes; then
43773
43774 # Remove --cache-file and --srcdir arguments so they do not pile up.
43775 ac_sub_configure_args=
43776 ac_prev=
43777 for ac_arg in $ac_configure_args; do
43778 if test -n "$ac_prev"; then
43779 ac_prev=
43780 continue
43781 fi
43782 case $ac_arg in
43783 -cache-file | --cache-file | --cache-fil | --cache-fi \
43784 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
43785 ac_prev=cache_file ;;
43786 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
43787 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
43788 | --c=*)
43789 ;;
43790 --config-cache | -C)
43791 ;;
43792 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
43793 ac_prev=srcdir ;;
43794 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
43795 ;;
43796 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
43797 ac_prev=prefix ;;
43798 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
43799 ;;
43800 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
43801 esac
43802 done
43803
43804 # Always prepend --prefix to ensure using the same prefix
43805 # in subdir configurations.
43806 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
43807
43808 ac_popdir=`pwd`
43809 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
43810
43811 # Do not complain, so a configure script can configure whichever
43812 # parts of a large source tree are present.
43813 test -d $srcdir/$ac_dir || continue
43814
43815 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
43816 echo "$as_me: configuring in $ac_dir" >&6;}
43817 { if $as_mkdir_p; then
43818 mkdir -p "$ac_dir"
43819 else
43820 as_dir="$ac_dir"
43821 as_dirs=
43822 while test ! -d "$as_dir"; do
43823 as_dirs="$as_dir $as_dirs"
43824 as_dir=`(dirname "$as_dir") 2>/dev/null ||
43825 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43826 X"$as_dir" : 'X\(//\)[^/]' \| \
43827 X"$as_dir" : 'X\(//\)$' \| \
43828 X"$as_dir" : 'X\(/\)' \| \
43829 . : '\(.\)' 2>/dev/null ||
43830 echo X"$as_dir" |
43831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43833 /^X\(\/\/\)$/{ s//\1/; q; }
43834 /^X\(\/\).*/{ s//\1/; q; }
43835 s/.*/./; q'`
43836 done
43837 test ! -n "$as_dirs" || mkdir $as_dirs
43838 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43839 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43840 { (exit 1); exit 1; }; }; }
43841
43842 ac_builddir=.
43843
43844 if test "$ac_dir" != .; then
43845 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
43846 # A "../" for each directory in $ac_dir_suffix.
43847 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43848 else
43849 ac_dir_suffix= ac_top_builddir=
43850 fi
43851
43852 case $srcdir in
43853 .) # No --srcdir option. We are building in place.
43854 ac_srcdir=.
43855 if test -z "$ac_top_builddir"; then
43856 ac_top_srcdir=.
43857 else
43858 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43859 fi ;;
43860 [\\/]* | ?:[\\/]* ) # Absolute path.
43861 ac_srcdir=$srcdir$ac_dir_suffix;
43862 ac_top_srcdir=$srcdir ;;
43863 *) # Relative path.
43864 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
43865 ac_top_srcdir=$ac_top_builddir$srcdir ;;
43866 esac
43867
43868 # Do not use `cd foo && pwd` to compute absolute paths, because
43869 # the directories may not exist.
43870 case `pwd` in
43871 .) ac_abs_builddir="$ac_dir";;
43872 *)
43873 case "$ac_dir" in
43874 .) ac_abs_builddir=`pwd`;;
43875 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43876 *) ac_abs_builddir=`pwd`/"$ac_dir";;
43877 esac;;
43878 esac
43879 case $ac_abs_builddir in
43880 .) ac_abs_top_builddir=${ac_top_builddir}.;;
43881 *)
43882 case ${ac_top_builddir}. in
43883 .) ac_abs_top_builddir=$ac_abs_builddir;;
43884 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43885 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43886 esac;;
43887 esac
43888 case $ac_abs_builddir in
43889 .) ac_abs_srcdir=$ac_srcdir;;
43890 *)
43891 case $ac_srcdir in
43892 .) ac_abs_srcdir=$ac_abs_builddir;;
43893 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
43894 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
43895 esac;;
43896 esac
43897 case $ac_abs_builddir in
43898 .) ac_abs_top_srcdir=$ac_top_srcdir;;
43899 *)
43900 case $ac_top_srcdir in
43901 .) ac_abs_top_srcdir=$ac_abs_builddir;;
43902 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
43903 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
43904 esac;;
43905 esac
43906
43907
43908 cd $ac_dir
43909
43910 # Check for guested configure; otherwise get Cygnus style configure.
43911 if test -f $ac_srcdir/configure.gnu; then
43912 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
43913 elif test -f $ac_srcdir/configure; then
43914 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
43915 elif test -f $ac_srcdir/configure.in; then
43916 ac_sub_configure=$ac_configure
43917 else
43918 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
43919 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
43920 ac_sub_configure=
43921 fi
43922
43923 # The recursion is here.
43924 if test -n "$ac_sub_configure"; then
43925 # Make the cache file name correct relative to the subdirectory.
43926 case $cache_file in
43927 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
43928 *) # Relative path.
43929 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
43930 esac
43931
43932 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
43933 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43934 # The eval makes quoting arguments work.
43935 eval $ac_sub_configure $ac_sub_configure_args \
43936 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
43937 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
43938 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
43939 { (exit 1); exit 1; }; }
43940 fi
43941
43942 cd $ac_popdir
43943 done
43944 fi
43945
43946
43947 echo
43948 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43949 echo ""
43950 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
43951 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43952
43953 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
43954 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43955 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
43956
43957 echo " What level of wxWidgets compatibility should be enabled?"
43958 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
43959 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
43960
43961 echo " Which libraries should wxWidgets use?"
43962 echo " jpeg ${wxUSE_LIBJPEG-none}"
43963 echo " png ${wxUSE_LIBPNG-none}"
43964 echo " regex ${wxUSE_REGEX}"
43965 echo " tiff ${wxUSE_LIBTIFF-none}"
43966 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43967 echo " xpm ${wxUSE_LIBXPM-none}"
43968 fi
43969 echo " zlib ${wxUSE_ZLIB}"
43970 echo " odbc ${wxUSE_ODBC}"
43971 echo " expat ${wxUSE_EXPAT}"
43972 echo " libmspack ${wxUSE_LIBMSPACK}"
43973 echo " sdl ${wxUSE_LIBSDL}"
43974 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT}"
43975
43976 echo ""
43977