]> git.saurik.com Git - wxWidgets.git/blob - configure
Add configure test for presence/compilabilty of multimon.h and display.h
[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.58 for wxWindows 2.5.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.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='wxWindows'
272 PACKAGE_TARNAME='wxwindows'
273 PACKAGE_VERSION='2.5.1'
274 PACKAGE_STRING='wxWindows 2.5.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.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 PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_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_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_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_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_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_COCOA 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_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_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 PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY 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 wxWindows 2.5.1 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWindows as single library
872 --enable-plugins build parts of wxWindows as loadable components
873 --enable-universal use wxWindows GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
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 wxWindows 2.2 compatibility
893 --disable-compat24 disable wxWindows 2.4 compatibility
894 --enable-rpath=DIR output the rpath flag from wx-config
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-wxprintfv use wxWindows implementation of vprintf()
935 --enable-zipstream use wxZipInputStream
936 --enable-gzstream use wxGzipInputStream
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-constraints use layout-constraints system
949 --enable-printarch use printing architecture
950 --enable-mdi use multiple document interface architecture
951 --enable-loggui use standard GUI logger
952 --enable-logwin use wxLogWindow
953 --enable-logdialog use wxLogDialog
954 --enable-postscript use wxPostscriptDC device context (default for gtk+)
955 --enable-prologio not available; see contrib
956 --enable-resources not available; see contrib
957 --enable-clipboard use wxClipboard class
958 --enable-dnd use Drag'n'Drop classes
959 --enable-metafile use win32 metafiles
960 --enable-controls use all usual controls
961 --enable-accel use accelerators
962 --enable-button use wxButton class
963 --enable-bmpbutton use wxBitmapButton class
964 --enable-calendar use wxCalendarCtrl class
965 --enable-caret use wxCaret class
966 --enable-checkbox use wxCheckBox class
967 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
968 --enable-choice use wxChoice class
969 --enable-combobox use wxComboBox class
970 --enable-display use wxDisplay class
971 --enable-gauge use wxGauge class
972 --enable-grid use wxGrid class
973 --enable-imaglist use wxImageList class
974 --enable-listbook use wxListbook class
975 --enable-listbox use wxListBox class
976 --enable-listctrl use wxListCtrl class
977 --enable-notebook use wxNotebook class
978 --enable-radiobox use wxRadioBox class
979 --enable-radiobtn use wxRadioButton class
980 --enable-sash use wxSashWindow class
981 --enable-scrollbar use wxScrollBar class and scrollable windows
982 --enable-slider use wxSlider class
983 --enable-spinbtn use wxSpinButton class
984 --enable-spinctrl use wxSpinCtrl class
985 --enable-splitter use wxSplitterWindow class
986 --enable-statbmp use wxStaticBitmap class
987 --enable-statbox use wxStaticBox class
988 --enable-statline use wxStaticLine class
989 --enable-stattext use wxStaticText class
990 --enable-statusbar use wxStatusBar class
991 --enable-tabdialog use wxTabControl class
992 --enable-textctrl use wxTextCtrl class
993 --enable-togglebtn use wxToggleButton class
994 --enable-toolbar use wxToolBar class
995 --enable-tbarnative use native wxToolBar class
996 --enable-tbarsmpl use wxToolBarSimple class
997 --enable-treectrl use wxTreeCtrl class
998 --enable-tipwindow use wxTipWindow class
999 --enable-popupwin use wxPopUpWindow class
1000 --enable-commondlg use all common dialogs
1001 --enable-choicedlg use wxChoiceDialog
1002 --enable-coldlg use wxColourDialog
1003 --enable-filedlg use wxFileDialog
1004 --enable-finddlg use wxFindReplaceDialog
1005 --enable-fontdlg use wxFontDialog
1006 --enable-dirdlg use wxDirDialog
1007 --enable-msgdlg use wxMessageDialog
1008 --enable-numberdlg use wxNumberEntryDialog
1009 --enable-splash use wxSplashScreen
1010 --enable-textdlg use wxTextDialog
1011 --enable-tipdlg use startup tips
1012 --enable-progressdlg use wxProgressDialog
1013 --enable-wizarddlg use wxWizard
1014 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1015 --enable-miniframe use wxMiniFrame class
1016 --enable-tooltips use wxToolTip class
1017 --enable-splines use spline drawing code
1018 --enable-validators use wxValidator and derived classes
1019 --enable-busyinfo use wxBusyInfo
1020 --enable-joystick use wxJoystick (Linux only)
1021 --enable-metafiles use wxMetaFile (Windows only)
1022 --enable-dragimage use wxDragImage
1023 --enable-accessibility enable accessibility support
1024 --enable-palette use wxPalette class
1025 --enable-image use wxImage class
1026 --enable-gif use gif images (GIF file format)
1027 --enable-pcx use pcx images (PCX file format)
1028 --enable-iff use iff images (IFF file format)
1029 --enable-pnm use pnm images (PNM file format)
1030 --enable-xpm use xpm images (XPM file format)
1031 --enable-icocur use Windows ICO and CUR formats
1032 --enable-official_build official build of wxWindows (win32 DLL only)
1033 --enable-vendor=VENDOR vendor name (win32 DLL only)
1034 --disable-largefile omit support for large files
1035 --disable-gtktest do not try to compile and run a test GTK+ program
1036 --disable-gtktest Do not try to compile and run a test GTK program
1037 --disable-sdltest Do not try to compile and run a test SDL program
1038 --enable-omf use OMF object format (OS/2)
1039 --disable-precomp-headers don't use precompiled headers even if compiler can
1040
1041 Optional Packages:
1042 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1043 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1044 --with-gtk use GTK+
1045 --with-motif use Motif/Lesstif
1046 --with-mac use Mac OS X
1047 --with-cocoa use Cocoa
1048 --with-wine use Wine
1049 --with-msw use MS-Windows
1050 --with-pm use OS/2 Presentation Manager
1051 --with-mgl use SciTech MGL
1052 --with-microwin use MicroWindows
1053 --with-x11 use X11
1054 --with-libpng use libpng (PNG image format)
1055 --with-libjpeg use libjpeg (JPEG file format)
1056 --with-libtiff use libtiff (TIFF file format)
1057 --with-libxpm use libxpm (XPM file format)
1058 --with-libmspack use libmspack (CHM help files loading)
1059 --with-sdl use SDL for audio on Unix
1060 --with-opengl use OpenGL (or Mesa)
1061 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1062 --with-regex enable support for wxRegEx class
1063 --with-zlib use zlib for LZW compression
1064 --with-odbc use the IODBC and wxODBC classes
1065 --with-expat enable XML support using expat parser
1066 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1067 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1068 --with-x use the X Window System
1069 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1070 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1071 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1072 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1073 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1074
1075 Some influential environment variables:
1076 CC
1077 C compiler command
1078 CFLAGS
1079 C compiler flags
1080 LDFLAGS
1081 linker flags, e.g. -L<lib dir> if you have
1082 libraries in a nonstandard directory <lib dir>
1083 CPPFLAGS
1084 C/C++ preprocessor flags, e.g. -I<include dir> if you
1085 have headers in a nonstandard directory <include dir>
1086 CPP
1087 C preprocessor
1088 CXX
1089 C++ compiler command
1090 CXXFLAGS
1091 C++ compiler flags
1092 CXXCPP
1093 C++ preprocessor
1094
1095 Use these variables to override the choices made by `configure' or to help
1096 it to find libraries and programs with nonstandard names/locations.
1097
1098 Report bugs to <wx-dev@lists.wxwindows.org>.
1099 _ACEOF
1100 fi
1101
1102 if test "$ac_init_help" = "recursive"; then
1103 # If there are subdirs, report their specific --help.
1104 ac_popdir=`pwd`
1105 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1106 test -d $ac_dir || continue
1107 ac_builddir=.
1108
1109 if test "$ac_dir" != .; then
1110 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1111 # A "../" for each directory in $ac_dir_suffix.
1112 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1113 else
1114 ac_dir_suffix= ac_top_builddir=
1115 fi
1116
1117 case $srcdir in
1118 .) # No --srcdir option. We are building in place.
1119 ac_srcdir=.
1120 if test -z "$ac_top_builddir"; then
1121 ac_top_srcdir=.
1122 else
1123 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1124 fi ;;
1125 [\\/]* | ?:[\\/]* ) # Absolute path.
1126 ac_srcdir=$srcdir$ac_dir_suffix;
1127 ac_top_srcdir=$srcdir ;;
1128 *) # Relative path.
1129 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1130 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1131 esac
1132
1133 # Do not use `cd foo && pwd` to compute absolute paths, because
1134 # the directories may not exist.
1135 case `pwd` in
1136 .) ac_abs_builddir="$ac_dir";;
1137 *)
1138 case "$ac_dir" in
1139 .) ac_abs_builddir=`pwd`;;
1140 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1141 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1142 esac;;
1143 esac
1144 case $ac_abs_builddir in
1145 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1146 *)
1147 case ${ac_top_builddir}. in
1148 .) ac_abs_top_builddir=$ac_abs_builddir;;
1149 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1150 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1151 esac;;
1152 esac
1153 case $ac_abs_builddir in
1154 .) ac_abs_srcdir=$ac_srcdir;;
1155 *)
1156 case $ac_srcdir in
1157 .) ac_abs_srcdir=$ac_abs_builddir;;
1158 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1159 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1160 esac;;
1161 esac
1162 case $ac_abs_builddir in
1163 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1164 *)
1165 case $ac_top_srcdir in
1166 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1168 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1169 esac;;
1170 esac
1171
1172 cd $ac_dir
1173 # Check for guested configure; otherwise get Cygnus style configure.
1174 if test -f $ac_srcdir/configure.gnu; then
1175 echo
1176 $SHELL $ac_srcdir/configure.gnu --help=recursive
1177 elif test -f $ac_srcdir/configure; then
1178 echo
1179 $SHELL $ac_srcdir/configure --help=recursive
1180 elif test -f $ac_srcdir/configure.ac ||
1181 test -f $ac_srcdir/configure.in; then
1182 echo
1183 $ac_configure --help
1184 else
1185 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1186 fi
1187 cd "$ac_popdir"
1188 done
1189 fi
1190
1191 test -n "$ac_init_help" && exit 0
1192 if $ac_init_version; then
1193 cat <<\_ACEOF
1194 wxWindows configure 2.5.1
1195 generated by GNU Autoconf 2.58
1196
1197 Copyright (C) 2003 Free Software Foundation, Inc.
1198 This configure script is free software; the Free Software Foundation
1199 gives unlimited permission to copy, distribute and modify it.
1200 _ACEOF
1201 exit 0
1202 fi
1203 exec 5>config.log
1204 cat >&5 <<_ACEOF
1205 This file contains any messages produced by compilers while
1206 running configure, to aid debugging if configure makes a mistake.
1207
1208 It was created by wxWindows $as_me 2.5.1, which was
1209 generated by GNU Autoconf 2.58. Invocation command line was
1210
1211 $ $0 $@
1212
1213 _ACEOF
1214 {
1215 cat <<_ASUNAME
1216 ## --------- ##
1217 ## Platform. ##
1218 ## --------- ##
1219
1220 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1221 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1222 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1223 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1224 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1225
1226 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1227 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1228
1229 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1230 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1231 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1232 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1233 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1234 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1235 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1236
1237 _ASUNAME
1238
1239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1240 for as_dir in $PATH
1241 do
1242 IFS=$as_save_IFS
1243 test -z "$as_dir" && as_dir=.
1244 echo "PATH: $as_dir"
1245 done
1246
1247 } >&5
1248
1249 cat >&5 <<_ACEOF
1250
1251
1252 ## ----------- ##
1253 ## Core tests. ##
1254 ## ----------- ##
1255
1256 _ACEOF
1257
1258
1259 # Keep a trace of the command line.
1260 # Strip out --no-create and --no-recursion so they do not pile up.
1261 # Strip out --silent because we don't want to record it for future runs.
1262 # Also quote any args containing shell meta-characters.
1263 # Make two passes to allow for proper duplicate-argument suppression.
1264 ac_configure_args=
1265 ac_configure_args0=
1266 ac_configure_args1=
1267 ac_sep=
1268 ac_must_keep_next=false
1269 for ac_pass in 1 2
1270 do
1271 for ac_arg
1272 do
1273 case $ac_arg in
1274 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1275 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1276 | -silent | --silent | --silen | --sile | --sil)
1277 continue ;;
1278 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1279 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1280 esac
1281 case $ac_pass in
1282 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1283 2)
1284 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1285 if test $ac_must_keep_next = true; then
1286 ac_must_keep_next=false # Got value, back to normal.
1287 else
1288 case $ac_arg in
1289 *=* | --config-cache | -C | -disable-* | --disable-* \
1290 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1291 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1292 | -with-* | --with-* | -without-* | --without-* | --x)
1293 case "$ac_configure_args0 " in
1294 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1295 esac
1296 ;;
1297 -* ) ac_must_keep_next=true ;;
1298 esac
1299 fi
1300 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1301 # Get rid of the leading space.
1302 ac_sep=" "
1303 ;;
1304 esac
1305 done
1306 done
1307 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1308 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1309
1310 # When interrupted or exit'd, cleanup temporary files, and complete
1311 # config.log. We remove comments because anyway the quotes in there
1312 # would cause problems or look ugly.
1313 # WARNING: Be sure not to use single quotes in there, as some shells,
1314 # such as our DU 5.0 friend, will then `close' the trap.
1315 trap 'exit_status=$?
1316 # Save into config.log some information that might help in debugging.
1317 {
1318 echo
1319
1320 cat <<\_ASBOX
1321 ## ---------------- ##
1322 ## Cache variables. ##
1323 ## ---------------- ##
1324 _ASBOX
1325 echo
1326 # The following way of writing the cache mishandles newlines in values,
1327 {
1328 (set) 2>&1 |
1329 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1330 *ac_space=\ *)
1331 sed -n \
1332 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334 ;;
1335 *)
1336 sed -n \
1337 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1338 ;;
1339 esac;
1340 }
1341 echo
1342
1343 cat <<\_ASBOX
1344 ## ----------------- ##
1345 ## Output variables. ##
1346 ## ----------------- ##
1347 _ASBOX
1348 echo
1349 for ac_var in $ac_subst_vars
1350 do
1351 eval ac_val=$`echo $ac_var`
1352 echo "$ac_var='"'"'$ac_val'"'"'"
1353 done | sort
1354 echo
1355
1356 if test -n "$ac_subst_files"; then
1357 cat <<\_ASBOX
1358 ## ------------- ##
1359 ## Output files. ##
1360 ## ------------- ##
1361 _ASBOX
1362 echo
1363 for ac_var in $ac_subst_files
1364 do
1365 eval ac_val=$`echo $ac_var`
1366 echo "$ac_var='"'"'$ac_val'"'"'"
1367 done | sort
1368 echo
1369 fi
1370
1371 if test -s confdefs.h; then
1372 cat <<\_ASBOX
1373 ## ----------- ##
1374 ## confdefs.h. ##
1375 ## ----------- ##
1376 _ASBOX
1377 echo
1378 sed "/^$/d" confdefs.h | sort
1379 echo
1380 fi
1381 test "$ac_signal" != 0 &&
1382 echo "$as_me: caught signal $ac_signal"
1383 echo "$as_me: exit $exit_status"
1384 } >&5
1385 rm -f core *.core &&
1386 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1387 exit $exit_status
1388 ' 0
1389 for ac_signal in 1 2 13 15; do
1390 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1391 done
1392 ac_signal=0
1393
1394 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1395 rm -rf conftest* confdefs.h
1396 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1397 echo >confdefs.h
1398
1399 # Predefined preprocessor variables.
1400
1401 cat >>confdefs.h <<_ACEOF
1402 #define PACKAGE_NAME "$PACKAGE_NAME"
1403 _ACEOF
1404
1405
1406 cat >>confdefs.h <<_ACEOF
1407 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1408 _ACEOF
1409
1410
1411 cat >>confdefs.h <<_ACEOF
1412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1413 _ACEOF
1414
1415
1416 cat >>confdefs.h <<_ACEOF
1417 #define PACKAGE_STRING "$PACKAGE_STRING"
1418 _ACEOF
1419
1420
1421 cat >>confdefs.h <<_ACEOF
1422 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1423 _ACEOF
1424
1425
1426 # Let the site file select an alternate cache file if it wants to.
1427 # Prefer explicitly selected file to automatically selected ones.
1428 if test -z "$CONFIG_SITE"; then
1429 if test "x$prefix" != xNONE; then
1430 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1431 else
1432 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433 fi
1434 fi
1435 for ac_site_file in $CONFIG_SITE; do
1436 if test -r "$ac_site_file"; then
1437 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1438 echo "$as_me: loading site script $ac_site_file" >&6;}
1439 sed 's/^/| /' "$ac_site_file" >&5
1440 . "$ac_site_file"
1441 fi
1442 done
1443
1444 if test -r "$cache_file"; then
1445 # Some versions of bash will fail to source /dev/null (special
1446 # files actually), so we avoid doing that.
1447 if test -f "$cache_file"; then
1448 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1449 echo "$as_me: loading cache $cache_file" >&6;}
1450 case $cache_file in
1451 [\\/]* | ?:[\\/]* ) . $cache_file;;
1452 *) . ./$cache_file;;
1453 esac
1454 fi
1455 else
1456 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1457 echo "$as_me: creating cache $cache_file" >&6;}
1458 >$cache_file
1459 fi
1460
1461 # Check that the precious variables saved in the cache have kept the same
1462 # value.
1463 ac_cache_corrupted=false
1464 for ac_var in `(set) 2>&1 |
1465 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1466 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1467 eval ac_new_set=\$ac_env_${ac_var}_set
1468 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1469 eval ac_new_val="\$ac_env_${ac_var}_value"
1470 case $ac_old_set,$ac_new_set in
1471 set,)
1472 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1473 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1474 ac_cache_corrupted=: ;;
1475 ,set)
1476 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1477 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1478 ac_cache_corrupted=: ;;
1479 ,);;
1480 *)
1481 if test "x$ac_old_val" != "x$ac_new_val"; then
1482 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1483 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1484 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1485 echo "$as_me: former value: $ac_old_val" >&2;}
1486 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1487 echo "$as_me: current value: $ac_new_val" >&2;}
1488 ac_cache_corrupted=:
1489 fi;;
1490 esac
1491 # Pass precious variables to config.status.
1492 if test "$ac_new_set" = set; then
1493 case $ac_new_val in
1494 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1495 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1496 *) ac_arg=$ac_var=$ac_new_val ;;
1497 esac
1498 case " $ac_configure_args " in
1499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1500 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1501 esac
1502 fi
1503 done
1504 if $ac_cache_corrupted; then
1505 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1506 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1507 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1508 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1509 { (exit 1); exit 1; }; }
1510 fi
1511
1512 ac_ext=c
1513 ac_cpp='$CPP $CPPFLAGS'
1514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1547 ac_aux_dir=
1548 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1549 if test -f $ac_dir/install-sh; then
1550 ac_aux_dir=$ac_dir
1551 ac_install_sh="$ac_aux_dir/install-sh -c"
1552 break
1553 elif test -f $ac_dir/install.sh; then
1554 ac_aux_dir=$ac_dir
1555 ac_install_sh="$ac_aux_dir/install.sh -c"
1556 break
1557 elif test -f $ac_dir/shtool; then
1558 ac_aux_dir=$ac_dir
1559 ac_install_sh="$ac_aux_dir/shtool install -c"
1560 break
1561 fi
1562 done
1563 if test -z "$ac_aux_dir"; then
1564 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1565 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1566 { (exit 1); exit 1; }; }
1567 fi
1568 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1569 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1570 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1571
1572 # Make sure we can run config.sub.
1573 $ac_config_sub sun4 >/dev/null 2>&1 ||
1574 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1575 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1576 { (exit 1); exit 1; }; }
1577
1578 echo "$as_me:$LINENO: checking build system type" >&5
1579 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1580 if test "${ac_cv_build+set}" = set; then
1581 echo $ECHO_N "(cached) $ECHO_C" >&6
1582 else
1583 ac_cv_build_alias=$build_alias
1584 test -z "$ac_cv_build_alias" &&
1585 ac_cv_build_alias=`$ac_config_guess`
1586 test -z "$ac_cv_build_alias" &&
1587 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1588 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1589 { (exit 1); exit 1; }; }
1590 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1591 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1592 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1593 { (exit 1); exit 1; }; }
1594
1595 fi
1596 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1597 echo "${ECHO_T}$ac_cv_build" >&6
1598 build=$ac_cv_build
1599 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1600 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1601 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1602
1603
1604 echo "$as_me:$LINENO: checking host system type" >&5
1605 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1606 if test "${ac_cv_host+set}" = set; then
1607 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 else
1609 ac_cv_host_alias=$host_alias
1610 test -z "$ac_cv_host_alias" &&
1611 ac_cv_host_alias=$ac_cv_build_alias
1612 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1613 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1614 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1615 { (exit 1); exit 1; }; }
1616
1617 fi
1618 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1619 echo "${ECHO_T}$ac_cv_host" >&6
1620 host=$ac_cv_host
1621 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1622 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1623 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1624
1625
1626 echo "$as_me:$LINENO: checking target system type" >&5
1627 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1628 if test "${ac_cv_target+set}" = set; then
1629 echo $ECHO_N "(cached) $ECHO_C" >&6
1630 else
1631 ac_cv_target_alias=$target_alias
1632 test "x$ac_cv_target_alias" = "x" &&
1633 ac_cv_target_alias=$ac_cv_host_alias
1634 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1635 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1636 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1637 { (exit 1); exit 1; }; }
1638
1639 fi
1640 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1641 echo "${ECHO_T}$ac_cv_target" >&6
1642 target=$ac_cv_target
1643 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1644 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1645 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1646
1647
1648 # The aliases save the names the user supplied, while $host etc.
1649 # will get canonicalized.
1650 test -n "$target_alias" &&
1651 test "$program_prefix$program_suffix$program_transform_name" = \
1652 NONENONEs,x,x, &&
1653 program_prefix=${target_alias}-
1654
1655
1656
1657 WX_MAJOR_VERSION_NUMBER=2
1658 WX_MINOR_VERSION_NUMBER=5
1659 WX_RELEASE_NUMBER=1
1660
1661 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1662 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1663
1664 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1665
1666 WX_CURRENT=1
1667 WX_REVISION=0
1668 WX_AGE=0
1669
1670
1671
1672 USE_UNIX=1
1673 USE_OS2=0
1674 USE_WIN32=0
1675 USE_DOS=0
1676 USE_BEOS=0
1677 USE_MAC=0
1678
1679 USE_AIX=
1680 USE_BSD= USE_DARWIN= USE_FREEBSD=
1681 USE_GNU= USE_HPUX=
1682 USE_LINUX=
1683 USE_NETBSD=
1684 USE_OPENBSD=
1685 USE_OSF= USE_SGI=
1686 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1687 USE_ULTRIX=
1688 USE_UNIXWARE=
1689
1690 USE_ALPHA=
1691
1692 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1693
1694 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1695
1696 DEFAULT_wxUSE_COCOA=0
1697 DEFAULT_wxUSE_GTK=0
1698 DEFAULT_wxUSE_MAC=0
1699 DEFAULT_wxUSE_MGL=0
1700 DEFAULT_wxUSE_MICROWIN=0
1701 DEFAULT_wxUSE_MOTIF=0
1702 DEFAULT_wxUSE_MSW=0
1703 DEFAULT_wxUSE_PM=0
1704 DEFAULT_wxUSE_X11=0
1705
1706 DEFAULT_DEFAULT_wxUSE_COCOA=0
1707 DEFAULT_DEFAULT_wxUSE_GTK=0
1708 DEFAULT_DEFAULT_wxUSE_MAC=0
1709 DEFAULT_DEFAULT_wxUSE_MGL=0
1710 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1711 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1712 DEFAULT_DEFAULT_wxUSE_MSW=0
1713 DEFAULT_DEFAULT_wxUSE_PM=0
1714 DEFAULT_DEFAULT_wxUSE_X11=0
1715
1716 PROGRAM_EXT=
1717 SO_SUFFIX=so
1718 SAMPLES_RPATH_FLAG=
1719 SAMPLES_RPATH_POSTLINK=
1720
1721 case "${host}" in
1722 *-hp-hpux* )
1723 USE_HPUX=1
1724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1725 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1726 SO_SUFFIX=sl
1727 cat >>confdefs.h <<\_ACEOF
1728 #define __HPUX__ 1
1729 _ACEOF
1730
1731 ;;
1732 *-*-linux* )
1733 USE_LINUX=1
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __LINUX__ 1
1736 _ACEOF
1737
1738 TMP=`uname -m`
1739 if test "x$TMP" = "xalpha"; then
1740 USE_ALPHA=1
1741 cat >>confdefs.h <<\_ACEOF
1742 #define __ALPHA__ 1
1743 _ACEOF
1744
1745 fi
1746 DEFAULT_DEFAULT_wxUSE_GTK=1
1747 ;;
1748 *-*-gnu* | *-*-k*bsd*-gnu )
1749 USE_GNU=1
1750 TMP=`uname -m`
1751 if test "x$TMP" = "xalpha"; then
1752 USE_ALPHA=1
1753 cat >>confdefs.h <<\_ACEOF
1754 #define __ALPHA__ 1
1755 _ACEOF
1756
1757 fi
1758 DEFAULT_DEFAULT_wxUSE_GTK=1
1759 ;;
1760 *-*-irix5* | *-*-irix6* )
1761 USE_SGI=1
1762 USE_SVR4=1
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __SGI__ 1
1765 _ACEOF
1766
1767 cat >>confdefs.h <<\_ACEOF
1768 #define __SVR4__ 1
1769 _ACEOF
1770
1771 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1772 ;;
1773 *-*-solaris2* )
1774 USE_SUN=1
1775 USE_SOLARIS=1
1776 USE_SVR4=1
1777 cat >>confdefs.h <<\_ACEOF
1778 #define __SUN__ 1
1779 _ACEOF
1780
1781 cat >>confdefs.h <<\_ACEOF
1782 #define __SOLARIS__ 1
1783 _ACEOF
1784
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __SVR4__ 1
1787 _ACEOF
1788
1789 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1790 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1791 ;;
1792 *-*-sunos4* )
1793 USE_SUN=1
1794 USE_SUNOS=1
1795 USE_BSD=1
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __SUN__ 1
1798 _ACEOF
1799
1800 cat >>confdefs.h <<\_ACEOF
1801 #define __SUNOS__ 1
1802 _ACEOF
1803
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __BSD__ 1
1806 _ACEOF
1807
1808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1809 ;;
1810 *-*-freebsd*)
1811 USE_BSD=1
1812 USE_FREEBSD=1
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __FREEBSD__ 1
1815 _ACEOF
1816
1817 cat >>confdefs.h <<\_ACEOF
1818 #define __BSD__ 1
1819 _ACEOF
1820
1821 DEFAULT_DEFAULT_wxUSE_GTK=1
1822 ;;
1823 *-*-openbsd*)
1824 USE_BSD=1
1825 USE_OPENBSD=1
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __OPENBSD__ 1
1828 _ACEOF
1829
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __BSD__ 1
1832 _ACEOF
1833
1834 DEFAULT_DEFAULT_wxUSE_GTK=1
1835 ;;
1836 *-*-netbsd*)
1837 USE_BSD=1
1838 USE_NETBSD=1
1839 cat >>confdefs.h <<\_ACEOF
1840 #define __NETBSD__ 1
1841 _ACEOF
1842
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __BSD__ 1
1845 _ACEOF
1846
1847 DEFAULT_DEFAULT_wxUSE_GTK=1
1848 ;;
1849 *-*-osf* )
1850 USE_ALPHA=1
1851 USE_OSF=1
1852 cat >>confdefs.h <<\_ACEOF
1853 #define __ALPHA__ 1
1854 _ACEOF
1855
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __OSF__ 1
1858 _ACEOF
1859
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1861 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1862 ;;
1863 *-*-dgux5* )
1864 USE_ALPHA=1
1865 USE_SVR4=1
1866 cat >>confdefs.h <<\_ACEOF
1867 #define __ALPHA__ 1
1868 _ACEOF
1869
1870 cat >>confdefs.h <<\_ACEOF
1871 #define __SVR4__ 1
1872 _ACEOF
1873
1874 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1875 ;;
1876 *-*-sysv5* )
1877 USE_SYSV=1
1878 USE_SVR4=1
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __SYSV__ 1
1881 _ACEOF
1882
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __SVR4__ 1
1885 _ACEOF
1886
1887 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1888 ;;
1889 *-*-aix* )
1890 USE_AIX=1
1891 USE_SYSV=1
1892 USE_SVR4=1
1893 SO_SUFFIX=a
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __AIX__ 1
1896 _ACEOF
1897
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __SYSV__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __SVR4__ 1
1904 _ACEOF
1905
1906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1907 ;;
1908
1909 *-*-*UnixWare*)
1910 USE_SYSV=1
1911 USE_SVR4=1
1912 USE_UNIXWARE=1
1913 cat >>confdefs.h <<\_ACEOF
1914 #define __UNIXWARE__ 1
1915 _ACEOF
1916
1917 ;;
1918
1919 *-*-cygwin* | *-*-mingw32* )
1920 SO_SUFFIX=dll
1921 PROGRAM_EXT=".exe"
1922 RESCOMP=windres
1923 DEFAULT_DEFAULT_wxUSE_MSW=1
1924 ;;
1925
1926 *-pc-msdosdjgpp )
1927 USE_UNIX=0
1928 USE_DOS=1
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __DOS__ 1
1931 _ACEOF
1932
1933 PROGRAM_EXT=".exe"
1934 DEFAULT_DEFAULT_wxUSE_MGL=1
1935 LIBS="$LIBS -lstdc++"
1936 ;;
1937
1938 *-pc-os2_emx | *-pc-os2-emx )
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __EMX__ 1
1941 _ACEOF
1942
1943 USE_OS2=1
1944 cat >>confdefs.h <<\_ACEOF
1945 #define __OS2__ 1
1946 _ACEOF
1947
1948 PROGRAM_EXT=".exe"
1949 DEFAULT_DEFAULT_wxUSE_PM=1
1950 CXX=gcc
1951 LDFLAGS="$LDFLAGS -Zcrtdll"
1952 ac_executable_extensions=".exe"
1953 export ac_executable_extensions
1954 ac_save_IFS="$IFS"
1955 IFS='\\'
1956 ac_TEMP_PATH=
1957 for ac_dir in $PATH; do
1958 IFS=$ac_save_IFS
1959 if test -z "$ac_TEMP_PATH"; then
1960 ac_TEMP_PATH="$ac_dir"
1961 else
1962 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1963 fi
1964 done
1965 export PATH="$ac_TEMP_PATH"
1966 unset ac_TEMP_PATH
1967 ;;
1968
1969 powerpc-*-darwin* )
1970 USE_BSD=1
1971 USE_DARWIN=1
1972 SO_SUFFIX=dylib
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __BSD__ 1
1975 _ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __DARWIN__ 1
1979 _ACEOF
1980
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __POWERPC__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define TARGET_CARBON 1
1987 _ACEOF
1988
1989 DEFAULT_DEFAULT_wxUSE_MAC=1
1990 ;;
1991
1992 *-*-beos* )
1993 USE_BEOS=1
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __BEOS__ 1
1996 _ACEOF
1997
1998 ;;
1999
2000 *)
2001 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2002 echo "$as_me: error: unknown system type ${host}." >&2;}
2003 { (exit 1); exit 1; }; }
2004 esac
2005
2006
2007
2008
2009 wx_arg_cache_file="configarg.cache"
2010 echo "loading argument cache $wx_arg_cache_file"
2011 rm -f ${wx_arg_cache_file}.tmp
2012 touch ${wx_arg_cache_file}.tmp
2013 touch ${wx_arg_cache_file}
2014
2015
2016 DEBUG_CONFIGURE=0
2017 if test $DEBUG_CONFIGURE = 1; then
2018 DEFAULT_wxUSE_UNIVERSAL=no
2019 DEFAULT_wxUSE_STL=no
2020
2021 DEFAULT_wxUSE_NANOX=no
2022
2023 DEFAULT_wxUSE_THREADS=yes
2024
2025 DEFAULT_wxUSE_SHARED=yes
2026 DEFAULT_wxUSE_OPTIMISE=no
2027 DEFAULT_wxUSE_PROFILE=no
2028 DEFAULT_wxUSE_NO_DEPS=no
2029 DEFAULT_wxUSE_NO_RTTI=no
2030 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2031 DEFAULT_wxUSE_PERMISSIVE=no
2032 DEFAULT_wxUSE_DEBUG_FLAG=yes
2033 DEFAULT_wxUSE_DEBUG_INFO=yes
2034 DEFAULT_wxUSE_DEBUG_GDB=yes
2035 DEFAULT_wxUSE_MEM_TRACING=no
2036 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2037 DEFAULT_wxUSE_DMALLOC=no
2038 DEFAULT_wxUSE_APPLE_IEEE=no
2039
2040 DEFAULT_wxUSE_EXCEPTIONS=no
2041 DEFAULT_wxUSE_LOG=yes
2042 DEFAULT_wxUSE_LOGWINDOW=no
2043 DEFAULT_wxUSE_LOGGUI=no
2044 DEFAULT_wxUSE_LOGDIALOG=no
2045
2046 DEFAULT_wxUSE_GUI=yes
2047 DEFAULT_wxUSE_CONTROLS=no
2048
2049 DEFAULT_wxUSE_REGEX=no
2050 DEFAULT_wxUSE_XML=no
2051 DEFAULT_wxUSE_EXPAT=no
2052 DEFAULT_wxUSE_ZLIB=no
2053 DEFAULT_wxUSE_LIBPNG=no
2054 DEFAULT_wxUSE_LIBJPEG=no
2055 DEFAULT_wxUSE_LIBTIFF=no
2056 DEFAULT_wxUSE_LIBXPM=no
2057 DEFAULT_wxUSE_LIBMSPACK=no
2058 DEFAULT_wxUSE_LIBSDL=no
2059 DEFAULT_wxUSE_ODBC=no
2060 DEFAULT_wxUSE_OPENGL=no
2061
2062 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2063 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2064 DEFAULT_wxUSE_STD_IOSTREAM=no
2065 DEFAULT_wxUSE_CMDLINE_PARSER=no
2066 DEFAULT_wxUSE_DATETIME=no
2067 DEFAULT_wxUSE_TIMER=no
2068 DEFAULT_wxUSE_STOPWATCH=no
2069 DEFAULT_wxUSE_FILE=no
2070 DEFAULT_wxUSE_FFILE=no
2071 DEFAULT_wxUSE_TEXTBUFFER=no
2072 DEFAULT_wxUSE_TEXTFILE=no
2073 DEFAULT_wxUSE_SOUND=no
2074 DEFAULT_wxUSE_INTL=no
2075 DEFAULT_wxUSE_CONFIG=no
2076 DEFAULT_wxUSE_FONTMAP=no
2077 DEFAULT_wxUSE_STREAMS=no
2078 DEFAULT_wxUSE_SOCKETS=no
2079 DEFAULT_wxUSE_OLE=no
2080 DEFAULT_wxUSE_DATAOBJ=no
2081 DEFAULT_wxUSE_DIALUP_MANAGER=no
2082 DEFAULT_wxUSE_JOYSTICK=no
2083 DEFAULT_wxUSE_DYNLIB_CLASS=no
2084 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2085 DEFAULT_wxUSE_LONGLONG=no
2086 DEFAULT_wxUSE_GEOMETRY=no
2087
2088 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2089 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2090 DEFAULT_wxUSE_POSTSCRIPT=no
2091
2092 DEFAULT_wxUSE_CLIPBOARD=no
2093 DEFAULT_wxUSE_TOOLTIPS=no
2094 DEFAULT_wxUSE_DRAG_AND_DROP=no
2095 DEFAULT_wxUSE_DRAGIMAGE=no
2096 DEFAULT_wxUSE_SPLINES=no
2097
2098 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2099 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2100 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2101
2102 DEFAULT_wxUSE_RESOURCES=no
2103 DEFAULT_wxUSE_CONSTRAINTS=no
2104 DEFAULT_wxUSE_IPC=no
2105 DEFAULT_wxUSE_HELP=no
2106 DEFAULT_wxUSE_MS_HTML_HELP=no
2107 DEFAULT_wxUSE_WXHTML_HELP=no
2108 DEFAULT_wxUSE_TREELAYOUT=no
2109 DEFAULT_wxUSE_METAFILE=no
2110 DEFAULT_wxUSE_MIMETYPE=no
2111 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2112 DEFAULT_wxUSE_PROTOCOL=no
2113 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2114 DEFAULT_wxUSE_PROTOCOL_FTP=no
2115 DEFAULT_wxUSE_PROTOCOL_FILE=no
2116 DEFAULT_wxUSE_URL=no
2117
2118 DEFAULT_wxUSE_COMMONDLGS=no
2119 DEFAULT_wxUSE_CHOICEDLG=no
2120 DEFAULT_wxUSE_COLOURDLG=no
2121 DEFAULT_wxUSE_DIRDLG=no
2122 DEFAULT_wxUSE_FILEDLG=no
2123 DEFAULT_wxUSE_FINDREPLDLG=no
2124 DEFAULT_wxUSE_FONTDLG=no
2125 DEFAULT_wxUSE_MSGDLG=no
2126 DEFAULT_wxUSE_NUMBERDLG=no
2127 DEFAULT_wxUSE_TEXTDLG=no
2128 DEFAULT_wxUSE_SPLASH=no
2129 DEFAULT_wxUSE_STARTUP_TIPS=no
2130 DEFAULT_wxUSE_PROGRESSDLG=no
2131 DEFAULT_wxUSE_WIZARDDLG=no
2132
2133 DEFAULT_wxUSE_MENUS=no
2134 DEFAULT_wxUSE_MINIFRAME=no
2135 DEFAULT_wxUSE_HTML=no
2136 DEFAULT_wxUSE_FILESYSTEM=no
2137 DEFAULT_wxUSE_FS_INET=no
2138 DEFAULT_wxUSE_FS_ZIP=no
2139 DEFAULT_wxUSE_BUSYINFO=no
2140 DEFAULT_wxUSE_ZIPSTREAM=no
2141 DEFAULT_wxUSE_GZSTREAM=no
2142 DEFAULT_wxUSE_VALIDATORS=no
2143
2144 DEFAULT_wxUSE_ACCEL=no
2145 DEFAULT_wxUSE_BUTTON=no
2146 DEFAULT_wxUSE_BMPBUTTON=no
2147 DEFAULT_wxUSE_CALCTRL=no
2148 DEFAULT_wxUSE_CARET=no
2149 DEFAULT_wxUSE_CHECKBOX=no
2150 DEFAULT_wxUSE_CHECKLST=no
2151 DEFAULT_wxUSE_CHOICE=no
2152 DEFAULT_wxUSE_COMBOBOX=no
2153 DEFAULT_wxUSE_DISPLAY=no
2154 DEFAULT_wxUSE_GAUGE=no
2155 DEFAULT_wxUSE_GRID=no
2156 DEFAULT_wxUSE_IMAGLIST=no
2157 DEFAULT_wxUSE_LISTBOOK=no
2158 DEFAULT_wxUSE_LISTBOX=no
2159 DEFAULT_wxUSE_LISTCTRL=no
2160 DEFAULT_wxUSE_NOTEBOOK=no
2161 DEFAULT_wxUSE_RADIOBOX=no
2162 DEFAULT_wxUSE_RADIOBTN=no
2163 DEFAULT_wxUSE_SASH=no
2164 DEFAULT_wxUSE_SCROLLBAR=no
2165 DEFAULT_wxUSE_SLIDER=no
2166 DEFAULT_wxUSE_SPINBTN=no
2167 DEFAULT_wxUSE_SPINCTRL=no
2168 DEFAULT_wxUSE_SPLITTER=no
2169 DEFAULT_wxUSE_STATBMP=no
2170 DEFAULT_wxUSE_STATBOX=no
2171 DEFAULT_wxUSE_STATLINE=no
2172 DEFAULT_wxUSE_STATTEXT=no
2173 DEFAULT_wxUSE_STATUSBAR=yes
2174 DEFAULT_wxUSE_TABDIALOG=no
2175 DEFAULT_wxUSE_TEXTCTRL=no
2176 DEFAULT_wxUSE_TOGGLEBTN=no
2177 DEFAULT_wxUSE_TOOLBAR=no
2178 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2179 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2180 DEFAULT_wxUSE_TREECTRL=no
2181 DEFAULT_wxUSE_POPUPWIN=no
2182 DEFAULT_wxUSE_TIPWINDOW=no
2183
2184 DEFAULT_wxUSE_UNICODE=no
2185 DEFAULT_wxUSE_UNICODE_MSLU=no
2186 DEFAULT_wxUSE_WCSRTOMBS=no
2187
2188 DEFAULT_wxUSE_PALETTE=no
2189 DEFAULT_wxUSE_IMAGE=no
2190 DEFAULT_wxUSE_GIF=no
2191 DEFAULT_wxUSE_PCX=no
2192 DEFAULT_wxUSE_PNM=no
2193 DEFAULT_wxUSE_IFF=no
2194 DEFAULT_wxUSE_XPM=no
2195 DEFAULT_wxUSE_ICO_CUR=no
2196 DEFAULT_wxUSE_ACCESSIBILITY=no
2197
2198 DEFAULT_wxUSE_MONOLITHIC=no
2199 DEFAULT_wxUSE_PLUGINS=no
2200 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2201 else
2202 DEFAULT_wxUSE_UNIVERSAL=no
2203 DEFAULT_wxUSE_STL=no
2204
2205 DEFAULT_wxUSE_NANOX=no
2206
2207 DEFAULT_wxUSE_THREADS=yes
2208
2209 DEFAULT_wxUSE_SHARED=yes
2210 DEFAULT_wxUSE_OPTIMISE=yes
2211 DEFAULT_wxUSE_PROFILE=no
2212 DEFAULT_wxUSE_NO_DEPS=no
2213 DEFAULT_wxUSE_NO_RTTI=no
2214 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2215 DEFAULT_wxUSE_PERMISSIVE=no
2216 DEFAULT_wxUSE_DEBUG_FLAG=no
2217 DEFAULT_wxUSE_DEBUG_INFO=no
2218 DEFAULT_wxUSE_DEBUG_GDB=no
2219 DEFAULT_wxUSE_MEM_TRACING=no
2220 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2221 DEFAULT_wxUSE_DMALLOC=no
2222 DEFAULT_wxUSE_APPLE_IEEE=yes
2223
2224 DEFAULT_wxUSE_EXCEPTIONS=yes
2225 DEFAULT_wxUSE_LOG=yes
2226 DEFAULT_wxUSE_LOGWINDOW=yes
2227 DEFAULT_wxUSE_LOGGUI=yes
2228 DEFAULT_wxUSE_LOGDIALOG=yes
2229
2230 DEFAULT_wxUSE_GUI=yes
2231
2232 DEFAULT_wxUSE_REGEX=yes
2233 DEFAULT_wxUSE_XML=yes
2234 DEFAULT_wxUSE_EXPAT=yes
2235 DEFAULT_wxUSE_ZLIB=yes
2236 DEFAULT_wxUSE_LIBPNG=yes
2237 DEFAULT_wxUSE_LIBJPEG=yes
2238 DEFAULT_wxUSE_LIBTIFF=yes
2239 DEFAULT_wxUSE_LIBXPM=yes
2240 DEFAULT_wxUSE_LIBMSPACK=yes
2241 DEFAULT_wxUSE_LIBSDL=no
2242 DEFAULT_wxUSE_ODBC=no
2243 DEFAULT_wxUSE_OPENGL=no
2244
2245 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2246 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2247 DEFAULT_wxUSE_STD_IOSTREAM=no
2248 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2249 DEFAULT_wxUSE_DATETIME=yes
2250 DEFAULT_wxUSE_TIMER=yes
2251 DEFAULT_wxUSE_STOPWATCH=yes
2252 DEFAULT_wxUSE_FILE=yes
2253 DEFAULT_wxUSE_FFILE=yes
2254 DEFAULT_wxUSE_TEXTBUFFER=yes
2255 DEFAULT_wxUSE_TEXTFILE=yes
2256 DEFAULT_wxUSE_SOUND=yes
2257 DEFAULT_wxUSE_INTL=yes
2258 DEFAULT_wxUSE_CONFIG=yes
2259 DEFAULT_wxUSE_FONTMAP=yes
2260 DEFAULT_wxUSE_STREAMS=yes
2261 DEFAULT_wxUSE_SOCKETS=yes
2262 DEFAULT_wxUSE_OLE=yes
2263 DEFAULT_wxUSE_DATAOBJ=yes
2264 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2265 DEFAULT_wxUSE_JOYSTICK=yes
2266 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2267 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2268 DEFAULT_wxUSE_LONGLONG=yes
2269 DEFAULT_wxUSE_GEOMETRY=yes
2270
2271 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2272 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2273 DEFAULT_wxUSE_POSTSCRIPT=yes
2274
2275 DEFAULT_wxUSE_CLIPBOARD=yes
2276 DEFAULT_wxUSE_TOOLTIPS=yes
2277 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2278 DEFAULT_wxUSE_DRAGIMAGE=yes
2279 DEFAULT_wxUSE_SPLINES=yes
2280
2281 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2282 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2283 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2284
2285 DEFAULT_wxUSE_RESOURCES=no
2286 DEFAULT_wxUSE_CONSTRAINTS=yes
2287 DEFAULT_wxUSE_IPC=yes
2288 DEFAULT_wxUSE_HELP=yes
2289 DEFAULT_wxUSE_MS_HTML_HELP=yes
2290 DEFAULT_wxUSE_WXHTML_HELP=yes
2291 DEFAULT_wxUSE_TREELAYOUT=yes
2292 DEFAULT_wxUSE_METAFILE=yes
2293 DEFAULT_wxUSE_MIMETYPE=yes
2294 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2295 DEFAULT_wxUSE_PROTOCOL=yes
2296 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2297 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2298 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2299 DEFAULT_wxUSE_URL=yes
2300
2301 DEFAULT_wxUSE_COMMONDLGS=yes
2302 DEFAULT_wxUSE_CHOICEDLG=yes
2303 DEFAULT_wxUSE_COLOURDLG=yes
2304 DEFAULT_wxUSE_DIRDLG=yes
2305 DEFAULT_wxUSE_FILEDLG=yes
2306 DEFAULT_wxUSE_FINDREPLDLG=yes
2307 DEFAULT_wxUSE_FONTDLG=yes
2308 DEFAULT_wxUSE_MSGDLG=yes
2309 DEFAULT_wxUSE_NUMBERDLG=yes
2310 DEFAULT_wxUSE_TEXTDLG=yes
2311 DEFAULT_wxUSE_SPLASH=yes
2312 DEFAULT_wxUSE_STARTUP_TIPS=yes
2313 DEFAULT_wxUSE_PROGRESSDLG=yes
2314 DEFAULT_wxUSE_WIZARDDLG=yes
2315
2316 DEFAULT_wxUSE_MENUS=yes
2317 DEFAULT_wxUSE_MINIFRAME=yes
2318 DEFAULT_wxUSE_HTML=yes
2319 DEFAULT_wxUSE_FILESYSTEM=yes
2320 DEFAULT_wxUSE_FS_INET=yes
2321 DEFAULT_wxUSE_FS_ZIP=yes
2322 DEFAULT_wxUSE_BUSYINFO=yes
2323 DEFAULT_wxUSE_ZIPSTREAM=yes
2324 DEFAULT_wxUSE_GZSTREAM=yes
2325 DEFAULT_wxUSE_VALIDATORS=yes
2326
2327 DEFAULT_wxUSE_ACCEL=yes
2328 DEFAULT_wxUSE_BUTTON=yes
2329 DEFAULT_wxUSE_BMPBUTTON=yes
2330 DEFAULT_wxUSE_CALCTRL=yes
2331 DEFAULT_wxUSE_CARET=yes
2332 DEFAULT_wxUSE_CHECKBOX=yes
2333 DEFAULT_wxUSE_CHECKLST=yes
2334 DEFAULT_wxUSE_CHOICE=yes
2335 DEFAULT_wxUSE_COMBOBOX=yes
2336 DEFAULT_wxUSE_DISPLAY=yes
2337 DEFAULT_wxUSE_GAUGE=yes
2338 DEFAULT_wxUSE_GRID=yes
2339 DEFAULT_wxUSE_IMAGLIST=yes
2340 DEFAULT_wxUSE_LISTBOOK=yes
2341 DEFAULT_wxUSE_LISTBOX=yes
2342 DEFAULT_wxUSE_LISTCTRL=yes
2343 DEFAULT_wxUSE_NOTEBOOK=yes
2344 DEFAULT_wxUSE_RADIOBOX=yes
2345 DEFAULT_wxUSE_RADIOBTN=yes
2346 DEFAULT_wxUSE_SASH=yes
2347 DEFAULT_wxUSE_SCROLLBAR=yes
2348 DEFAULT_wxUSE_SLIDER=yes
2349 DEFAULT_wxUSE_SPINBTN=yes
2350 DEFAULT_wxUSE_SPINCTRL=yes
2351 DEFAULT_wxUSE_SPLITTER=yes
2352 DEFAULT_wxUSE_STATBMP=yes
2353 DEFAULT_wxUSE_STATBOX=yes
2354 DEFAULT_wxUSE_STATLINE=yes
2355 DEFAULT_wxUSE_STATTEXT=yes
2356 DEFAULT_wxUSE_STATUSBAR=yes
2357 DEFAULT_wxUSE_TABDIALOG=no
2358 DEFAULT_wxUSE_TEXTCTRL=yes
2359 DEFAULT_wxUSE_TOGGLEBTN=yes
2360 DEFAULT_wxUSE_TOOLBAR=yes
2361 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2362 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2363 DEFAULT_wxUSE_TREECTRL=yes
2364 DEFAULT_wxUSE_POPUPWIN=yes
2365 DEFAULT_wxUSE_TIPWINDOW=yes
2366
2367 DEFAULT_wxUSE_UNICODE=no
2368 DEFAULT_wxUSE_UNICODE_MSLU=yes
2369 DEFAULT_wxUSE_WCSRTOMBS=no
2370
2371 DEFAULT_wxUSE_PALETTE=yes
2372 DEFAULT_wxUSE_IMAGE=yes
2373 DEFAULT_wxUSE_GIF=yes
2374 DEFAULT_wxUSE_PCX=yes
2375 DEFAULT_wxUSE_IFF=no
2376 DEFAULT_wxUSE_PNM=yes
2377 DEFAULT_wxUSE_XPM=yes
2378 DEFAULT_wxUSE_ICO_CUR=yes
2379 DEFAULT_wxUSE_ACCESSIBILITY=no
2380
2381 DEFAULT_wxUSE_MONOLITHIC=no
2382 DEFAULT_wxUSE_PLUGINS=no
2383 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2384 fi
2385
2386
2387
2388 for toolkit in `echo $ALL_TOOLKITS`; do
2389 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2390 if test "x$LINE" != "x" ; then
2391 has_toolkit_in_cache=1
2392 eval "DEFAULT_$LINE"
2393 eval "CACHE_$toolkit=1"
2394 fi
2395 done
2396
2397
2398
2399 enablestring=
2400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2402 no_cache=0
2403 # Check whether --enable-gui or --disable-gui was given.
2404 if test "${enable_gui+set}" = set; then
2405 enableval="$enable_gui"
2406
2407 if test "$enableval" = yes; then
2408 ac_cv_use_gui='wxUSE_GUI=yes'
2409 else
2410 ac_cv_use_gui='wxUSE_GUI=no'
2411 fi
2412
2413 else
2414
2415 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x ; then
2417 eval "DEFAULT_$LINE"
2418 else
2419 no_cache=1
2420 fi
2421
2422 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2423
2424 fi;
2425
2426 eval "$ac_cv_use_gui"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2429 fi
2430
2431 if test "$wxUSE_GUI" = yes; then
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2434 else
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2437 fi
2438
2439
2440 enablestring=
2441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2442 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2443 no_cache=0
2444 # Check whether --enable-monolithic or --disable-monolithic was given.
2445 if test "${enable_monolithic+set}" = set; then
2446 enableval="$enable_monolithic"
2447
2448 if test "$enableval" = yes; then
2449 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2450 else
2451 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2452 fi
2453
2454 else
2455
2456 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2457 if test "x$LINE" != x ; then
2458 eval "DEFAULT_$LINE"
2459 else
2460 no_cache=1
2461 fi
2462
2463 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2464
2465 fi;
2466
2467 eval "$ac_cv_use_monolithic"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2470 fi
2471
2472 if test "$wxUSE_MONOLITHIC" = yes; then
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2475 else
2476 echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6
2478 fi
2479
2480
2481 enablestring=
2482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2483 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2484 no_cache=0
2485 # Check whether --enable-plugins or --disable-plugins was given.
2486 if test "${enable_plugins+set}" = set; then
2487 enableval="$enable_plugins"
2488
2489 if test "$enableval" = yes; then
2490 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2491 else
2492 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2493 fi
2494
2495 else
2496
2497 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2498 if test "x$LINE" != x ; then
2499 eval "DEFAULT_$LINE"
2500 else
2501 no_cache=1
2502 fi
2503
2504 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2505
2506 fi;
2507
2508 eval "$ac_cv_use_plugins"
2509 if test "$no_cache" != 1; then
2510 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2511 fi
2512
2513 if test "$wxUSE_PLUGINS" = yes; then
2514 echo "$as_me:$LINENO: result: yes" >&5
2515 echo "${ECHO_T}yes" >&6
2516 else
2517 echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6
2519 fi
2520
2521
2522 if test "$wxUSE_GUI" = "yes"; then
2523
2524
2525 enablestring=
2526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2527 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2528 no_cache=0
2529 # Check whether --enable-universal or --disable-universal was given.
2530 if test "${enable_universal+set}" = set; then
2531 enableval="$enable_universal"
2532
2533 if test "$enableval" = yes; then
2534 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2535 else
2536 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2537 fi
2538
2539 else
2540
2541 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x ; then
2543 eval "DEFAULT_$LINE"
2544 else
2545 no_cache=1
2546 fi
2547
2548 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2549
2550 fi;
2551
2552 eval "$ac_cv_use_universal"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2555 fi
2556
2557 if test "$wxUSE_UNIVERSAL" = yes; then
2558 echo "$as_me:$LINENO: result: yes" >&5
2559 echo "${ECHO_T}yes" >&6
2560 else
2561 echo "$as_me:$LINENO: result: no" >&5
2562 echo "${ECHO_T}no" >&6
2563 fi
2564
2565
2566 # Check whether --with-gtk or --without-gtk was given.
2567 if test "${with_gtk+set}" = set; then
2568 withval="$with_gtk"
2569 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2570 fi;
2571
2572 # Check whether --with-motif or --without-motif was given.
2573 if test "${with_motif+set}" = set; then
2574 withval="$with_motif"
2575 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2576 fi;
2577
2578 # Check whether --with-mac or --without-mac was given.
2579 if test "${with_mac+set}" = set; then
2580 withval="$with_mac"
2581 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2582 fi;
2583
2584 # Check whether --with-cocoa or --without-cocoa was given.
2585 if test "${with_cocoa+set}" = set; then
2586 withval="$with_cocoa"
2587 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2588 fi;
2589
2590 # Check whether --with-wine or --without-wine was given.
2591 if test "${with_wine+set}" = set; then
2592 withval="$with_wine"
2593 wxUSE_WINE="$withval" CACHE_WINE=1
2594 fi;
2595
2596 # Check whether --with-msw or --without-msw was given.
2597 if test "${with_msw+set}" = set; then
2598 withval="$with_msw"
2599 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2600 fi;
2601
2602 # Check whether --with-pm or --without-pm was given.
2603 if test "${with_pm+set}" = set; then
2604 withval="$with_pm"
2605 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2606 fi;
2607
2608 # Check whether --with-mgl or --without-mgl was given.
2609 if test "${with_mgl+set}" = set; then
2610 withval="$with_mgl"
2611 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2612 fi;
2613
2614 # Check whether --with-microwin or --without-microwin was given.
2615 if test "${with_microwin+set}" = set; then
2616 withval="$with_microwin"
2617 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2618 fi;
2619
2620 # Check whether --with-x11 or --without-x11 was given.
2621 if test "${with_x11+set}" = set; then
2622 withval="$with_x11"
2623 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2624 fi;
2625
2626 enablestring=
2627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2628 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2629 no_cache=0
2630 # Check whether --enable-nanox or --disable-nanox was given.
2631 if test "${enable_nanox+set}" = set; then
2632 enableval="$enable_nanox"
2633
2634 if test "$enableval" = yes; then
2635 ac_cv_use_nanox='wxUSE_NANOX=yes'
2636 else
2637 ac_cv_use_nanox='wxUSE_NANOX=no'
2638 fi
2639
2640 else
2641
2642 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x ; then
2644 eval "DEFAULT_$LINE"
2645 else
2646 no_cache=1
2647 fi
2648
2649 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2650
2651 fi;
2652
2653 eval "$ac_cv_use_nanox"
2654 if test "$no_cache" != 1; then
2655 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2656 fi
2657
2658 if test "$wxUSE_NANOX" = yes; then
2659 echo "$as_me:$LINENO: result: yes" >&5
2660 echo "${ECHO_T}yes" >&6
2661 else
2662 echo "$as_me:$LINENO: result: no" >&5
2663 echo "${ECHO_T}no" >&6
2664 fi
2665
2666
2667
2668 enablestring=
2669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2670 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2671 no_cache=0
2672 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2673 if test "${enable_gtk2+set}" = set; then
2674 enableval="$enable_gtk2"
2675
2676 if test "$enableval" = yes; then
2677 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2678 else
2679 ac_cv_use_gtk2='wxUSE_GTK2=no'
2680 fi
2681
2682 else
2683
2684 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x ; then
2686 eval "DEFAULT_$LINE"
2687 else
2688 no_cache=1
2689 fi
2690
2691 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2692
2693 fi;
2694
2695 eval "$ac_cv_use_gtk2"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2698 fi
2699
2700 if test "$wxUSE_GTK2" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2703 else
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2706 fi
2707
2708
2709 enablestring=
2710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2711 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2712 no_cache=0
2713 # Check whether --enable-gpe or --disable-gpe was given.
2714 if test "${enable_gpe+set}" = set; then
2715 enableval="$enable_gpe"
2716
2717 if test "$enableval" = yes; then
2718 ac_cv_use_gpe='wxUSE_GPE=yes'
2719 else
2720 ac_cv_use_gpe='wxUSE_GPE=no'
2721 fi
2722
2723 else
2724
2725 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2726 if test "x$LINE" != x ; then
2727 eval "DEFAULT_$LINE"
2728 else
2729 no_cache=1
2730 fi
2731
2732 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2733
2734 fi;
2735
2736 eval "$ac_cv_use_gpe"
2737 if test "$no_cache" != 1; then
2738 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2739 fi
2740
2741 if test "$wxUSE_GPE" = yes; then
2742 echo "$as_me:$LINENO: result: yes" >&5
2743 echo "${ECHO_T}yes" >&6
2744 else
2745 echo "$as_me:$LINENO: result: no" >&5
2746 echo "${ECHO_T}no" >&6
2747 fi
2748
2749
2750
2751 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2752 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2753 no_cache=0
2754
2755 # Check whether --with-libpng or --without-libpng was given.
2756 if test "${with_libpng+set}" = set; then
2757 withval="$with_libpng"
2758
2759 if test "$withval" = yes; then
2760 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2761 elif test "$withval" = no; then
2762 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2763 elif test "$withval" = sys; then
2764 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2765 elif test "$withval" = builtin; then
2766 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2767 else
2768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2769 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2770 { (exit 1); exit 1; }; }
2771 fi
2772
2773 else
2774
2775 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x ; then
2777 eval "DEFAULT_$LINE"
2778 else
2779 no_cache=1
2780 fi
2781
2782 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2783
2784 fi;
2785
2786 eval "$ac_cv_use_libpng"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2789 fi
2790
2791 if test "$wxUSE_LIBPNG" = yes; then
2792 echo "$as_me:$LINENO: result: yes" >&5
2793 echo "${ECHO_T}yes" >&6
2794 elif test "$wxUSE_LIBPNG" = no; then
2795 echo "$as_me:$LINENO: result: no" >&5
2796 echo "${ECHO_T}no" >&6
2797 elif test "$wxUSE_LIBPNG" = sys; then
2798 echo "$as_me:$LINENO: result: system version" >&5
2799 echo "${ECHO_T}system version" >&6
2800 elif test "$wxUSE_LIBPNG" = builtin; then
2801 echo "$as_me:$LINENO: result: builtin version" >&5
2802 echo "${ECHO_T}builtin version" >&6
2803 else
2804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2805 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2806 { (exit 1); exit 1; }; }
2807 fi
2808
2809
2810 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2811 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2812 no_cache=0
2813
2814 # Check whether --with-libjpeg or --without-libjpeg was given.
2815 if test "${with_libjpeg+set}" = set; then
2816 withval="$with_libjpeg"
2817
2818 if test "$withval" = yes; then
2819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2820 elif test "$withval" = no; then
2821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2822 elif test "$withval" = sys; then
2823 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2824 elif test "$withval" = builtin; then
2825 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2826 else
2827 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2828 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2829 { (exit 1); exit 1; }; }
2830 fi
2831
2832 else
2833
2834 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2835 if test "x$LINE" != x ; then
2836 eval "DEFAULT_$LINE"
2837 else
2838 no_cache=1
2839 fi
2840
2841 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2842
2843 fi;
2844
2845 eval "$ac_cv_use_libjpeg"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2848 fi
2849
2850 if test "$wxUSE_LIBJPEG" = yes; then
2851 echo "$as_me:$LINENO: result: yes" >&5
2852 echo "${ECHO_T}yes" >&6
2853 elif test "$wxUSE_LIBJPEG" = no; then
2854 echo "$as_me:$LINENO: result: no" >&5
2855 echo "${ECHO_T}no" >&6
2856 elif test "$wxUSE_LIBJPEG" = sys; then
2857 echo "$as_me:$LINENO: result: system version" >&5
2858 echo "${ECHO_T}system version" >&6
2859 elif test "$wxUSE_LIBJPEG" = builtin; then
2860 echo "$as_me:$LINENO: result: builtin version" >&5
2861 echo "${ECHO_T}builtin version" >&6
2862 else
2863 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2864 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2865 { (exit 1); exit 1; }; }
2866 fi
2867
2868
2869 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2870 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2871 no_cache=0
2872
2873 # Check whether --with-libtiff or --without-libtiff was given.
2874 if test "${with_libtiff+set}" = set; then
2875 withval="$with_libtiff"
2876
2877 if test "$withval" = yes; then
2878 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2879 elif test "$withval" = no; then
2880 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2881 elif test "$withval" = sys; then
2882 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2883 elif test "$withval" = builtin; then
2884 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2885 else
2886 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2887 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2888 { (exit 1); exit 1; }; }
2889 fi
2890
2891 else
2892
2893 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2894 if test "x$LINE" != x ; then
2895 eval "DEFAULT_$LINE"
2896 else
2897 no_cache=1
2898 fi
2899
2900 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2901
2902 fi;
2903
2904 eval "$ac_cv_use_libtiff"
2905 if test "$no_cache" != 1; then
2906 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2907 fi
2908
2909 if test "$wxUSE_LIBTIFF" = yes; then
2910 echo "$as_me:$LINENO: result: yes" >&5
2911 echo "${ECHO_T}yes" >&6
2912 elif test "$wxUSE_LIBTIFF" = no; then
2913 echo "$as_me:$LINENO: result: no" >&5
2914 echo "${ECHO_T}no" >&6
2915 elif test "$wxUSE_LIBTIFF" = sys; then
2916 echo "$as_me:$LINENO: result: system version" >&5
2917 echo "${ECHO_T}system version" >&6
2918 elif test "$wxUSE_LIBTIFF" = builtin; then
2919 echo "$as_me:$LINENO: result: builtin version" >&5
2920 echo "${ECHO_T}builtin version" >&6
2921 else
2922 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2923 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2924 { (exit 1); exit 1; }; }
2925 fi
2926
2927
2928 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2929 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2930 no_cache=0
2931
2932 # Check whether --with-libxpm or --without-libxpm was given.
2933 if test "${with_libxpm+set}" = set; then
2934 withval="$with_libxpm"
2935
2936 if test "$withval" = yes; then
2937 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2938 elif test "$withval" = no; then
2939 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2940 elif test "$withval" = sys; then
2941 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2942 elif test "$withval" = builtin; then
2943 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2944 else
2945 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2946 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2947 { (exit 1); exit 1; }; }
2948 fi
2949
2950 else
2951
2952 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2953 if test "x$LINE" != x ; then
2954 eval "DEFAULT_$LINE"
2955 else
2956 no_cache=1
2957 fi
2958
2959 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2960
2961 fi;
2962
2963 eval "$ac_cv_use_libxpm"
2964 if test "$no_cache" != 1; then
2965 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2966 fi
2967
2968 if test "$wxUSE_LIBXPM" = yes; then
2969 echo "$as_me:$LINENO: result: yes" >&5
2970 echo "${ECHO_T}yes" >&6
2971 elif test "$wxUSE_LIBXPM" = no; then
2972 echo "$as_me:$LINENO: result: no" >&5
2973 echo "${ECHO_T}no" >&6
2974 elif test "$wxUSE_LIBXPM" = sys; then
2975 echo "$as_me:$LINENO: result: system version" >&5
2976 echo "${ECHO_T}system version" >&6
2977 elif test "$wxUSE_LIBXPM" = builtin; then
2978 echo "$as_me:$LINENO: result: builtin version" >&5
2979 echo "${ECHO_T}builtin version" >&6
2980 else
2981 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2982 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2983 { (exit 1); exit 1; }; }
2984 fi
2985
2986
2987 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2988 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2989 no_cache=0
2990
2991 # Check whether --with-libmspack or --without-libmspack was given.
2992 if test "${with_libmspack+set}" = set; then
2993 withval="$with_libmspack"
2994
2995 if test "$withval" = yes; then
2996 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2997 else
2998 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2999 fi
3000
3001 else
3002
3003 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3006 else
3007 no_cache=1
3008 fi
3009
3010 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3011
3012 fi;
3013
3014 eval "$ac_cv_use_libmspack"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3017 fi
3018
3019 if test "$wxUSE_LIBMSPACK" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3022 else
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3025 fi
3026
3027
3028 echo "$as_me:$LINENO: checking for --with-sdl" >&5
3029 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
3030 no_cache=0
3031
3032 # Check whether --with-sdl or --without-sdl was given.
3033 if test "${with_sdl+set}" = set; then
3034 withval="$with_sdl"
3035
3036 if test "$withval" = yes; then
3037 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3038 else
3039 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3040 fi
3041
3042 else
3043
3044 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x ; then
3046 eval "DEFAULT_$LINE"
3047 else
3048 no_cache=1
3049 fi
3050
3051 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3052
3053 fi;
3054
3055 eval "$ac_cv_use_sdl"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3058 fi
3059
3060 if test "$wxUSE_LIBSDL" = yes; then
3061 echo "$as_me:$LINENO: result: yes" >&5
3062 echo "${ECHO_T}yes" >&6
3063 else
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3066 fi
3067
3068
3069 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3070 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3071 no_cache=0
3072
3073 # Check whether --with-opengl or --without-opengl was given.
3074 if test "${with_opengl+set}" = set; then
3075 withval="$with_opengl"
3076
3077 if test "$withval" = yes; then
3078 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3079 else
3080 ac_cv_use_opengl='wxUSE_OPENGL=no'
3081 fi
3082
3083 else
3084
3085 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3086 if test "x$LINE" != x ; then
3087 eval "DEFAULT_$LINE"
3088 else
3089 no_cache=1
3090 fi
3091
3092 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3093
3094 fi;
3095
3096 eval "$ac_cv_use_opengl"
3097 if test "$no_cache" != 1; then
3098 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3099 fi
3100
3101 if test "$wxUSE_OPENGL" = yes; then
3102 echo "$as_me:$LINENO: result: yes" >&5
3103 echo "${ECHO_T}yes" >&6
3104 else
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3107 fi
3108
3109
3110 fi
3111
3112
3113 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3114 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3115 no_cache=0
3116
3117 # Check whether --with-dmalloc or --without-dmalloc was given.
3118 if test "${with_dmalloc+set}" = set; then
3119 withval="$with_dmalloc"
3120
3121 if test "$withval" = yes; then
3122 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3123 else
3124 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3125 fi
3126
3127 else
3128
3129 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3130 if test "x$LINE" != x ; then
3131 eval "DEFAULT_$LINE"
3132 else
3133 no_cache=1
3134 fi
3135
3136 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3137
3138 fi;
3139
3140 eval "$ac_cv_use_dmalloc"
3141 if test "$no_cache" != 1; then
3142 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3143 fi
3144
3145 if test "$wxUSE_DMALLOC" = yes; then
3146 echo "$as_me:$LINENO: result: yes" >&5
3147 echo "${ECHO_T}yes" >&6
3148 else
3149 echo "$as_me:$LINENO: result: no" >&5
3150 echo "${ECHO_T}no" >&6
3151 fi
3152
3153
3154 echo "$as_me:$LINENO: checking for --with-regex" >&5
3155 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3156 no_cache=0
3157
3158 # Check whether --with-regex or --without-regex was given.
3159 if test "${with_regex+set}" = set; then
3160 withval="$with_regex"
3161
3162 if test "$withval" = yes; then
3163 ac_cv_use_regex='wxUSE_REGEX=yes'
3164 elif test "$withval" = no; then
3165 ac_cv_use_regex='wxUSE_REGEX=no'
3166 elif test "$withval" = sys; then
3167 ac_cv_use_regex='wxUSE_REGEX=sys'
3168 elif test "$withval" = builtin; then
3169 ac_cv_use_regex='wxUSE_REGEX=builtin'
3170 else
3171 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3172 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3173 { (exit 1); exit 1; }; }
3174 fi
3175
3176 else
3177
3178 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x ; then
3180 eval "DEFAULT_$LINE"
3181 else
3182 no_cache=1
3183 fi
3184
3185 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3186
3187 fi;
3188
3189 eval "$ac_cv_use_regex"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3192 fi
3193
3194 if test "$wxUSE_REGEX" = yes; then
3195 echo "$as_me:$LINENO: result: yes" >&5
3196 echo "${ECHO_T}yes" >&6
3197 elif test "$wxUSE_REGEX" = no; then
3198 echo "$as_me:$LINENO: result: no" >&5
3199 echo "${ECHO_T}no" >&6
3200 elif test "$wxUSE_REGEX" = sys; then
3201 echo "$as_me:$LINENO: result: system version" >&5
3202 echo "${ECHO_T}system version" >&6
3203 elif test "$wxUSE_REGEX" = builtin; then
3204 echo "$as_me:$LINENO: result: builtin version" >&5
3205 echo "${ECHO_T}builtin version" >&6
3206 else
3207 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3208 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3209 { (exit 1); exit 1; }; }
3210 fi
3211
3212
3213 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3214 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3215 no_cache=0
3216
3217 # Check whether --with-zlib or --without-zlib was given.
3218 if test "${with_zlib+set}" = set; then
3219 withval="$with_zlib"
3220
3221 if test "$withval" = yes; then
3222 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3223 elif test "$withval" = no; then
3224 ac_cv_use_zlib='wxUSE_ZLIB=no'
3225 elif test "$withval" = sys; then
3226 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3227 elif test "$withval" = builtin; then
3228 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3229 else
3230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3232 { (exit 1); exit 1; }; }
3233 fi
3234
3235 else
3236
3237 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x ; then
3239 eval "DEFAULT_$LINE"
3240 else
3241 no_cache=1
3242 fi
3243
3244 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3245
3246 fi;
3247
3248 eval "$ac_cv_use_zlib"
3249 if test "$no_cache" != 1; then
3250 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3251 fi
3252
3253 if test "$wxUSE_ZLIB" = yes; then
3254 echo "$as_me:$LINENO: result: yes" >&5
3255 echo "${ECHO_T}yes" >&6
3256 elif test "$wxUSE_ZLIB" = no; then
3257 echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3259 elif test "$wxUSE_ZLIB" = sys; then
3260 echo "$as_me:$LINENO: result: system version" >&5
3261 echo "${ECHO_T}system version" >&6
3262 elif test "$wxUSE_ZLIB" = builtin; then
3263 echo "$as_me:$LINENO: result: builtin version" >&5
3264 echo "${ECHO_T}builtin version" >&6
3265 else
3266 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3267 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3268 { (exit 1); exit 1; }; }
3269 fi
3270
3271
3272 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3273 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3274 no_cache=0
3275
3276 # Check whether --with-odbc or --without-odbc was given.
3277 if test "${with_odbc+set}" = set; then
3278 withval="$with_odbc"
3279
3280 if test "$withval" = yes; then
3281 ac_cv_use_odbc='wxUSE_ODBC=yes'
3282 elif test "$withval" = no; then
3283 ac_cv_use_odbc='wxUSE_ODBC=no'
3284 elif test "$withval" = sys; then
3285 ac_cv_use_odbc='wxUSE_ODBC=sys'
3286 elif test "$withval" = builtin; then
3287 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3288 else
3289 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3290 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3291 { (exit 1); exit 1; }; }
3292 fi
3293
3294 else
3295
3296 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x ; then
3298 eval "DEFAULT_$LINE"
3299 else
3300 no_cache=1
3301 fi
3302
3303 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3304
3305 fi;
3306
3307 eval "$ac_cv_use_odbc"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3310 fi
3311
3312 if test "$wxUSE_ODBC" = yes; then
3313 echo "$as_me:$LINENO: result: yes" >&5
3314 echo "${ECHO_T}yes" >&6
3315 elif test "$wxUSE_ODBC" = no; then
3316 echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3318 elif test "$wxUSE_ODBC" = sys; then
3319 echo "$as_me:$LINENO: result: system version" >&5
3320 echo "${ECHO_T}system version" >&6
3321 elif test "$wxUSE_ODBC" = builtin; then
3322 echo "$as_me:$LINENO: result: builtin version" >&5
3323 echo "${ECHO_T}builtin version" >&6
3324 else
3325 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3326 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3327 { (exit 1); exit 1; }; }
3328 fi
3329
3330
3331 echo "$as_me:$LINENO: checking for --with-expat" >&5
3332 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3333 no_cache=0
3334
3335 # Check whether --with-expat or --without-expat was given.
3336 if test "${with_expat+set}" = set; then
3337 withval="$with_expat"
3338
3339 if test "$withval" = yes; then
3340 ac_cv_use_expat='wxUSE_EXPAT=yes'
3341 elif test "$withval" = no; then
3342 ac_cv_use_expat='wxUSE_EXPAT=no'
3343 elif test "$withval" = sys; then
3344 ac_cv_use_expat='wxUSE_EXPAT=sys'
3345 elif test "$withval" = builtin; then
3346 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3347 else
3348 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3349 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3350 { (exit 1); exit 1; }; }
3351 fi
3352
3353 else
3354
3355 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3358 else
3359 no_cache=1
3360 fi
3361
3362 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3363
3364 fi;
3365
3366 eval "$ac_cv_use_expat"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3369 fi
3370
3371 if test "$wxUSE_EXPAT" = yes; then
3372 echo "$as_me:$LINENO: result: yes" >&5
3373 echo "${ECHO_T}yes" >&6
3374 elif test "$wxUSE_EXPAT" = no; then
3375 echo "$as_me:$LINENO: result: no" >&5
3376 echo "${ECHO_T}no" >&6
3377 elif test "$wxUSE_EXPAT" = sys; then
3378 echo "$as_me:$LINENO: result: system version" >&5
3379 echo "${ECHO_T}system version" >&6
3380 elif test "$wxUSE_EXPAT" = builtin; then
3381 echo "$as_me:$LINENO: result: builtin version" >&5
3382 echo "${ECHO_T}builtin version" >&6
3383 else
3384 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3385 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3386 { (exit 1); exit 1; }; }
3387 fi
3388
3389
3390
3391
3392 enablestring=
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3395 no_cache=0
3396 # Check whether --enable-shared or --disable-shared was given.
3397 if test "${enable_shared+set}" = set; then
3398 enableval="$enable_shared"
3399
3400 if test "$enableval" = yes; then
3401 ac_cv_use_shared='wxUSE_SHARED=yes'
3402 else
3403 ac_cv_use_shared='wxUSE_SHARED=no'
3404 fi
3405
3406 else
3407
3408 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3416
3417 fi;
3418
3419 eval "$ac_cv_use_shared"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3422 fi
3423
3424 if test "$wxUSE_SHARED" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3427 else
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3430 fi
3431
3432
3433 enablestring=
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3436 no_cache=0
3437 # Check whether --enable-optimise or --disable-optimise was given.
3438 if test "${enable_optimise+set}" = set; then
3439 enableval="$enable_optimise"
3440
3441 if test "$enableval" = yes; then
3442 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3443 else
3444 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3445 fi
3446
3447 else
3448
3449 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3452 else
3453 no_cache=1
3454 fi
3455
3456 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3457
3458 fi;
3459
3460 eval "$ac_cv_use_optimise"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3463 fi
3464
3465 if test "$wxUSE_OPTIMISE" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3468 else
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3471 fi
3472
3473
3474 enablestring=
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3477 no_cache=0
3478 # Check whether --enable-debug or --disable-debug was given.
3479 if test "${enable_debug+set}" = set; then
3480 enableval="$enable_debug"
3481
3482 if test "$enableval" = yes; then
3483 ac_cv_use_debug='wxUSE_DEBUG=yes'
3484 else
3485 ac_cv_use_debug='wxUSE_DEBUG=no'
3486 fi
3487
3488 else
3489
3490 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3493 else
3494 no_cache=1
3495 fi
3496
3497 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3498
3499 fi;
3500
3501 eval "$ac_cv_use_debug"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3504 fi
3505
3506 if test "$wxUSE_DEBUG" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3509 else
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3512 fi
3513
3514
3515 enablestring=
3516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3517 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3518 no_cache=0
3519 # Check whether --enable-stl or --disable-stl was given.
3520 if test "${enable_stl+set}" = set; then
3521 enableval="$enable_stl"
3522
3523 if test "$enableval" = yes; then
3524 ac_cv_use_stl='wxUSE_STL=yes'
3525 else
3526 ac_cv_use_stl='wxUSE_STL=no'
3527 fi
3528
3529 else
3530
3531 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3532 if test "x$LINE" != x ; then
3533 eval "DEFAULT_$LINE"
3534 else
3535 no_cache=1
3536 fi
3537
3538 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3539
3540 fi;
3541
3542 eval "$ac_cv_use_stl"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3545 fi
3546
3547 if test "$wxUSE_STL" = yes; then
3548 echo "$as_me:$LINENO: result: yes" >&5
3549 echo "${ECHO_T}yes" >&6
3550 else
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3553 fi
3554
3555 if test "$USE_OS2" = "1"; then
3556
3557 enablestring=
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3560 no_cache=0
3561 # Check whether --enable-omf or --disable-omf was given.
3562 if test "${enable_omf+set}" = set; then
3563 enableval="$enable_omf"
3564
3565 if test "$enableval" = yes; then
3566 ac_cv_use_omf='wxUSE_OMF=yes'
3567 else
3568 ac_cv_use_omf='wxUSE_OMF=no'
3569 fi
3570
3571 else
3572
3573 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x ; then
3575 eval "DEFAULT_$LINE"
3576 else
3577 no_cache=1
3578 fi
3579
3580 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3581
3582 fi;
3583
3584 eval "$ac_cv_use_omf"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_OMF" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3592 else
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3595 fi
3596
3597 fi
3598
3599 if test "$wxUSE_DEBUG" = "yes"; then
3600 DEFAULT_wxUSE_DEBUG_FLAG=yes
3601 DEFAULT_wxUSE_DEBUG_INFO=yes
3602 BUILD=debug
3603 elif test "$wxUSE_DEBUG" = "no"; then
3604 DEFAULT_wxUSE_DEBUG_FLAG=no
3605 DEFAULT_wxUSE_DEBUG_INFO=no
3606 BUILD=release
3607 fi
3608
3609
3610 enablestring=
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3613 no_cache=0
3614 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3615 if test "${enable_debug_flag+set}" = set; then
3616 enableval="$enable_debug_flag"
3617
3618 if test "$enableval" = yes; then
3619 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3620 else
3621 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3622 fi
3623
3624 else
3625
3626 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3629 else
3630 no_cache=1
3631 fi
3632
3633 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3634
3635 fi;
3636
3637 eval "$ac_cv_use_debug_flag"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_DEBUG_FLAG" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 else
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3648 fi
3649
3650
3651 enablestring=
3652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3653 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3654 no_cache=0
3655 # Check whether --enable-debug_info or --disable-debug_info was given.
3656 if test "${enable_debug_info+set}" = set; then
3657 enableval="$enable_debug_info"
3658
3659 if test "$enableval" = yes; then
3660 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3661 else
3662 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3663 fi
3664
3665 else
3666
3667 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x ; then
3669 eval "DEFAULT_$LINE"
3670 else
3671 no_cache=1
3672 fi
3673
3674 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3675
3676 fi;
3677
3678 eval "$ac_cv_use_debug_info"
3679 if test "$no_cache" != 1; then
3680 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3681 fi
3682
3683 if test "$wxUSE_DEBUG_INFO" = yes; then
3684 echo "$as_me:$LINENO: result: yes" >&5
3685 echo "${ECHO_T}yes" >&6
3686 else
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3689 fi
3690
3691
3692 enablestring=
3693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3694 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3695 no_cache=0
3696 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3697 if test "${enable_debug_gdb+set}" = set; then
3698 enableval="$enable_debug_gdb"
3699
3700 if test "$enableval" = yes; then
3701 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3702 else
3703 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3704 fi
3705
3706 else
3707
3708 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3711 else
3712 no_cache=1
3713 fi
3714
3715 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3716
3717 fi;
3718
3719 eval "$ac_cv_use_debug_gdb"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3722 fi
3723
3724 if test "$wxUSE_DEBUG_GDB" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3727 else
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3730 fi
3731
3732
3733 enablestring=
3734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3735 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3736 no_cache=0
3737 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3738 if test "${enable_debug_cntxt+set}" = set; then
3739 enableval="$enable_debug_cntxt"
3740
3741 if test "$enableval" = yes; then
3742 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3743 else
3744 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3745 fi
3746
3747 else
3748
3749 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3752 else
3753 no_cache=1
3754 fi
3755
3756 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3757
3758 fi;
3759
3760 eval "$ac_cv_use_debug_cntxt"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3763 fi
3764
3765 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3766 echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6
3768 else
3769 echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6
3771 fi
3772
3773
3774 enablestring=
3775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3776 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3777 no_cache=0
3778 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3779 if test "${enable_mem_tracing+set}" = set; then
3780 enableval="$enable_mem_tracing"
3781
3782 if test "$enableval" = yes; then
3783 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3784 else
3785 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3786 fi
3787
3788 else
3789
3790 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3791 if test "x$LINE" != x ; then
3792 eval "DEFAULT_$LINE"
3793 else
3794 no_cache=1
3795 fi
3796
3797 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3798
3799 fi;
3800
3801 eval "$ac_cv_use_mem_tracing"
3802 if test "$no_cache" != 1; then
3803 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3804 fi
3805
3806 if test "$wxUSE_MEM_TRACING" = yes; then
3807 echo "$as_me:$LINENO: result: yes" >&5
3808 echo "${ECHO_T}yes" >&6
3809 else
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3812 fi
3813
3814
3815 enablestring=
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3817 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3818 no_cache=0
3819 # Check whether --enable-profile or --disable-profile was given.
3820 if test "${enable_profile+set}" = set; then
3821 enableval="$enable_profile"
3822
3823 if test "$enableval" = yes; then
3824 ac_cv_use_profile='wxUSE_PROFILE=yes'
3825 else
3826 ac_cv_use_profile='wxUSE_PROFILE=no'
3827 fi
3828
3829 else
3830
3831 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x ; then
3833 eval "DEFAULT_$LINE"
3834 else
3835 no_cache=1
3836 fi
3837
3838 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3839
3840 fi;
3841
3842 eval "$ac_cv_use_profile"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_PROFILE" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6
3850 else
3851 echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6
3853 fi
3854
3855
3856 enablestring=
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3858 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3859 no_cache=0
3860 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3861 if test "${enable_no_rtti+set}" = set; then
3862 enableval="$enable_no_rtti"
3863
3864 if test "$enableval" = yes; then
3865 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3866 else
3867 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3868 fi
3869
3870 else
3871
3872 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x ; then
3874 eval "DEFAULT_$LINE"
3875 else
3876 no_cache=1
3877 fi
3878
3879 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3880
3881 fi;
3882
3883 eval "$ac_cv_use_no_rtti"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3886 fi
3887
3888 if test "$wxUSE_NO_RTTI" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6
3891 else
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3894 fi
3895
3896
3897 enablestring=
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3899 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3900 no_cache=0
3901 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3902 if test "${enable_no_exceptions+set}" = set; then
3903 enableval="$enable_no_exceptions"
3904
3905 if test "$enableval" = yes; then
3906 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3907 else
3908 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3909 fi
3910
3911 else
3912
3913 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x ; then
3915 eval "DEFAULT_$LINE"
3916 else
3917 no_cache=1
3918 fi
3919
3920 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3921
3922 fi;
3923
3924 eval "$ac_cv_use_no_exceptions"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931 echo "${ECHO_T}yes" >&6
3932 else
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3935 fi
3936
3937
3938 enablestring=
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3941 no_cache=0
3942 # Check whether --enable-permissive or --disable-permissive was given.
3943 if test "${enable_permissive+set}" = set; then
3944 enableval="$enable_permissive"
3945
3946 if test "$enableval" = yes; then
3947 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3948 else
3949 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3950 fi
3951
3952 else
3953
3954 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x ; then
3956 eval "DEFAULT_$LINE"
3957 else
3958 no_cache=1
3959 fi
3960
3961 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3962
3963 fi;
3964
3965 eval "$ac_cv_use_permissive"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3968 fi
3969
3970 if test "$wxUSE_PERMISSIVE" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3973 else
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3976 fi
3977
3978
3979 enablestring=
3980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3981 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3982 no_cache=0
3983 # Check whether --enable-no_deps or --disable-no_deps was given.
3984 if test "${enable_no_deps+set}" = set; then
3985 enableval="$enable_no_deps"
3986
3987 if test "$enableval" = yes; then
3988 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3989 else
3990 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3991 fi
3992
3993 else
3994
3995 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x ; then
3997 eval "DEFAULT_$LINE"
3998 else
3999 no_cache=1
4000 fi
4001
4002 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4003
4004 fi;
4005
4006 eval "$ac_cv_use_no_deps"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4009 fi
4010
4011 if test "$wxUSE_NO_DEPS" = yes; then
4012 echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6
4014 else
4015 echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6
4017 fi
4018
4019
4020
4021 enablestring=
4022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
4023 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
4024 no_cache=0
4025 # Check whether --enable-compat22 or --disable-compat22 was given.
4026 if test "${enable_compat22+set}" = set; then
4027 enableval="$enable_compat22"
4028
4029 if test "$enableval" = yes; then
4030 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
4031 else
4032 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
4033 fi
4034
4035 else
4036
4037 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x ; then
4039 eval "DEFAULT_$LINE"
4040 else
4041 no_cache=1
4042 fi
4043
4044 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4045
4046 fi;
4047
4048 eval "$ac_cv_use_compat22"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4051 fi
4052
4053 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4054 echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4056 else
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4059 fi
4060
4061
4062 enablestring=disable
4063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4064 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4065 no_cache=0
4066 # Check whether --enable-compat24 or --disable-compat24 was given.
4067 if test "${enable_compat24+set}" = set; then
4068 enableval="$enable_compat24"
4069
4070 if test "$enableval" = yes; then
4071 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4072 else
4073 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4074 fi
4075
4076 else
4077
4078 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x ; then
4080 eval "DEFAULT_$LINE"
4081 else
4082 no_cache=1
4083 fi
4084
4085 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4086
4087 fi;
4088
4089 eval "$ac_cv_use_compat24"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4092 fi
4093
4094 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4095 echo "$as_me:$LINENO: result: yes" >&5
4096 echo "${ECHO_T}yes" >&6
4097 else
4098 echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6
4100 fi
4101
4102
4103 # Check whether --enable-rpath or --disable-rpath was given.
4104 if test "${enable_rpath+set}" = set; then
4105 enableval="$enable_rpath"
4106 wxRPATH_DIR="$enableval"
4107 fi;
4108
4109 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4110 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4111 fi
4112
4113
4114
4115
4116 enablestring=
4117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4118 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4119 no_cache=0
4120 # Check whether --enable-intl or --disable-intl was given.
4121 if test "${enable_intl+set}" = set; then
4122 enableval="$enable_intl"
4123
4124 if test "$enableval" = yes; then
4125 ac_cv_use_intl='wxUSE_INTL=yes'
4126 else
4127 ac_cv_use_intl='wxUSE_INTL=no'
4128 fi
4129
4130 else
4131
4132 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x ; then
4134 eval "DEFAULT_$LINE"
4135 else
4136 no_cache=1
4137 fi
4138
4139 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4140
4141 fi;
4142
4143 eval "$ac_cv_use_intl"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4146 fi
4147
4148 if test "$wxUSE_INTL" = yes; then
4149 echo "$as_me:$LINENO: result: yes" >&5
4150 echo "${ECHO_T}yes" >&6
4151 else
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4154 fi
4155
4156
4157 enablestring=
4158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4159 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4160 no_cache=0
4161 # Check whether --enable-config or --disable-config was given.
4162 if test "${enable_config+set}" = set; then
4163 enableval="$enable_config"
4164
4165 if test "$enableval" = yes; then
4166 ac_cv_use_config='wxUSE_CONFIG=yes'
4167 else
4168 ac_cv_use_config='wxUSE_CONFIG=no'
4169 fi
4170
4171 else
4172
4173 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4174 if test "x$LINE" != x ; then
4175 eval "DEFAULT_$LINE"
4176 else
4177 no_cache=1
4178 fi
4179
4180 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4181
4182 fi;
4183
4184 eval "$ac_cv_use_config"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4187 fi
4188
4189 if test "$wxUSE_CONFIG" = yes; then
4190 echo "$as_me:$LINENO: result: yes" >&5
4191 echo "${ECHO_T}yes" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4195 fi
4196
4197
4198
4199 enablestring=
4200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4201 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4202 no_cache=0
4203 # Check whether --enable-protocols or --disable-protocols was given.
4204 if test "${enable_protocols+set}" = set; then
4205 enableval="$enable_protocols"
4206
4207 if test "$enableval" = yes; then
4208 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4209 else
4210 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4211 fi
4212
4213 else
4214
4215 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x ; then
4217 eval "DEFAULT_$LINE"
4218 else
4219 no_cache=1
4220 fi
4221
4222 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4223
4224 fi;
4225
4226 eval "$ac_cv_use_protocols"
4227 if test "$no_cache" != 1; then
4228 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4229 fi
4230
4231 if test "$wxUSE_PROTOCOL" = yes; then
4232 echo "$as_me:$LINENO: result: yes" >&5
4233 echo "${ECHO_T}yes" >&6
4234 else
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4237 fi
4238
4239
4240 enablestring=
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4243 no_cache=0
4244 # Check whether --enable-ftp or --disable-ftp was given.
4245 if test "${enable_ftp+set}" = set; then
4246 enableval="$enable_ftp"
4247
4248 if test "$enableval" = yes; then
4249 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4250 else
4251 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4252 fi
4253
4254 else
4255
4256 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x ; then
4258 eval "DEFAULT_$LINE"
4259 else
4260 no_cache=1
4261 fi
4262
4263 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4264
4265 fi;
4266
4267 eval "$ac_cv_use_ftp"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4270 fi
4271
4272 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4275 else
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4278 fi
4279
4280
4281 enablestring=
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4284 no_cache=0
4285 # Check whether --enable-http or --disable-http was given.
4286 if test "${enable_http+set}" = set; then
4287 enableval="$enable_http"
4288
4289 if test "$enableval" = yes; then
4290 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4291 else
4292 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4293 fi
4294
4295 else
4296
4297 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x ; then
4299 eval "DEFAULT_$LINE"
4300 else
4301 no_cache=1
4302 fi
4303
4304 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4305
4306 fi;
4307
4308 eval "$ac_cv_use_http"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4311 fi
4312
4313 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4316 else
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4319 fi
4320
4321
4322 enablestring=
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4325 no_cache=0
4326 # Check whether --enable-fileproto or --disable-fileproto was given.
4327 if test "${enable_fileproto+set}" = set; then
4328 enableval="$enable_fileproto"
4329
4330 if test "$enableval" = yes; then
4331 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4332 else
4333 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4334 fi
4335
4336 else
4337
4338 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x ; then
4340 eval "DEFAULT_$LINE"
4341 else
4342 no_cache=1
4343 fi
4344
4345 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4346
4347 fi;
4348
4349 eval "$ac_cv_use_fileproto"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4352 fi
4353
4354 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4357 else
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4360 fi
4361
4362
4363 enablestring=
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4366 no_cache=0
4367 # Check whether --enable-sockets or --disable-sockets was given.
4368 if test "${enable_sockets+set}" = set; then
4369 enableval="$enable_sockets"
4370
4371 if test "$enableval" = yes; then
4372 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4373 else
4374 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4375 fi
4376
4377 else
4378
4379 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x ; then
4381 eval "DEFAULT_$LINE"
4382 else
4383 no_cache=1
4384 fi
4385
4386 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4387
4388 fi;
4389
4390 eval "$ac_cv_use_sockets"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4393 fi
4394
4395 if test "$wxUSE_SOCKETS" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4398 else
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4401 fi
4402
4403
4404 enablestring=
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4407 no_cache=0
4408 # Check whether --enable-ole or --disable-ole was given.
4409 if test "${enable_ole+set}" = set; then
4410 enableval="$enable_ole"
4411
4412 if test "$enableval" = yes; then
4413 ac_cv_use_ole='wxUSE_OLE=yes'
4414 else
4415 ac_cv_use_ole='wxUSE_OLE=no'
4416 fi
4417
4418 else
4419
4420 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x ; then
4422 eval "DEFAULT_$LINE"
4423 else
4424 no_cache=1
4425 fi
4426
4427 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4428
4429 fi;
4430
4431 eval "$ac_cv_use_ole"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4434 fi
4435
4436 if test "$wxUSE_OLE" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4439 else
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4442 fi
4443
4444
4445 enablestring=
4446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4447 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4448 no_cache=0
4449 # Check whether --enable-dataobj or --disable-dataobj was given.
4450 if test "${enable_dataobj+set}" = set; then
4451 enableval="$enable_dataobj"
4452
4453 if test "$enableval" = yes; then
4454 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4455 else
4456 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4457 fi
4458
4459 else
4460
4461 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x ; then
4463 eval "DEFAULT_$LINE"
4464 else
4465 no_cache=1
4466 fi
4467
4468 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4469
4470 fi;
4471
4472 eval "$ac_cv_use_dataobj"
4473 if test "$no_cache" != 1; then
4474 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4475 fi
4476
4477 if test "$wxUSE_DATAOBJ" = yes; then
4478 echo "$as_me:$LINENO: result: yes" >&5
4479 echo "${ECHO_T}yes" >&6
4480 else
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6
4483 fi
4484
4485
4486
4487 enablestring=
4488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4490 no_cache=0
4491 # Check whether --enable-ipc or --disable-ipc was given.
4492 if test "${enable_ipc+set}" = set; then
4493 enableval="$enable_ipc"
4494
4495 if test "$enableval" = yes; then
4496 ac_cv_use_ipc='wxUSE_IPC=yes'
4497 else
4498 ac_cv_use_ipc='wxUSE_IPC=no'
4499 fi
4500
4501 else
4502
4503 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4504 if test "x$LINE" != x ; then
4505 eval "DEFAULT_$LINE"
4506 else
4507 no_cache=1
4508 fi
4509
4510 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4511
4512 fi;
4513
4514 eval "$ac_cv_use_ipc"
4515 if test "$no_cache" != 1; then
4516 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4517 fi
4518
4519 if test "$wxUSE_IPC" = yes; then
4520 echo "$as_me:$LINENO: result: yes" >&5
4521 echo "${ECHO_T}yes" >&6
4522 else
4523 echo "$as_me:$LINENO: result: no" >&5
4524 echo "${ECHO_T}no" >&6
4525 fi
4526
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4534 if test "${enable_apple_ieee+set}" = set; then
4535 enableval="$enable_apple_ieee"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4539 else
4540 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4553
4554 fi;
4555
4556 eval "$ac_cv_use_apple_ieee"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_APPLE_IEEE" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4575 if test "${enable_catch_segvs+set}" = set; then
4576 enableval="$enable_catch_segvs"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4580 else
4581 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4594
4595 fi;
4596
4597 eval "$ac_cv_use_catch_segvs"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4605 else
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4608 fi
4609
4610
4611 enablestring=
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4614 no_cache=0
4615 # Check whether --enable-cmdline or --disable-cmdline was given.
4616 if test "${enable_cmdline+set}" = set; then
4617 enableval="$enable_cmdline"
4618
4619 if test "$enableval" = yes; then
4620 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4621 else
4622 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4623 fi
4624
4625 else
4626
4627 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4635
4636 fi;
4637
4638 eval "$ac_cv_use_cmdline"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4641 fi
4642
4643 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4646 else
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4649 fi
4650
4651
4652 enablestring=
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4655 no_cache=0
4656 # Check whether --enable-datetime or --disable-datetime was given.
4657 if test "${enable_datetime+set}" = set; then
4658 enableval="$enable_datetime"
4659
4660 if test "$enableval" = yes; then
4661 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4662 else
4663 ac_cv_use_datetime='wxUSE_DATETIME=no'
4664 fi
4665
4666 else
4667
4668 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4671 else
4672 no_cache=1
4673 fi
4674
4675 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4676
4677 fi;
4678
4679 eval "$ac_cv_use_datetime"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4682 fi
4683
4684 if test "$wxUSE_DATETIME" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4687 else
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4690 fi
4691
4692
4693 enablestring=
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4696 no_cache=0
4697 # Check whether --enable-dialupman or --disable-dialupman was given.
4698 if test "${enable_dialupman+set}" = set; then
4699 enableval="$enable_dialupman"
4700
4701 if test "$enableval" = yes; then
4702 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4703 else
4704 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4705 fi
4706
4707 else
4708
4709 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4712 else
4713 no_cache=1
4714 fi
4715
4716 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4717
4718 fi;
4719
4720 eval "$ac_cv_use_dialupman"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4723 fi
4724
4725 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4728 else
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4731 fi
4732
4733
4734 enablestring=
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4737 no_cache=0
4738 # Check whether --enable-dynlib or --disable-dynlib was given.
4739 if test "${enable_dynlib+set}" = set; then
4740 enableval="$enable_dynlib"
4741
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4744 else
4745 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4758
4759 fi;
4760
4761 eval "$ac_cv_use_dynlib"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4764 fi
4765
4766 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4769 else
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4772 fi
4773
4774
4775 enablestring=
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4778 no_cache=0
4779 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4780 if test "${enable_dynamicloader+set}" = set; then
4781 enableval="$enable_dynamicloader"
4782
4783 if test "$enableval" = yes; then
4784 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4785 else
4786 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4787 fi
4788
4789 else
4790
4791 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x ; then
4793 eval "DEFAULT_$LINE"
4794 else
4795 no_cache=1
4796 fi
4797
4798 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4799
4800 fi;
4801
4802 eval "$ac_cv_use_dynamicloader"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4805 fi
4806
4807 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4810 else
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4813 fi
4814
4815
4816 enablestring=
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4819 no_cache=0
4820 # Check whether --enable-exceptions or --disable-exceptions was given.
4821 if test "${enable_exceptions+set}" = set; then
4822 enableval="$enable_exceptions"
4823
4824 if test "$enableval" = yes; then
4825 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4826 else
4827 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4828 fi
4829
4830 else
4831
4832 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4835 else
4836 no_cache=1
4837 fi
4838
4839 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4840
4841 fi;
4842
4843 eval "$ac_cv_use_exceptions"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4846 fi
4847
4848 if test "$wxUSE_EXCEPTIONS" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4851 else
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4854 fi
4855
4856
4857 enablestring=
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4860 no_cache=0
4861 # Check whether --enable-ffile or --disable-ffile was given.
4862 if test "${enable_ffile+set}" = set; then
4863 enableval="$enable_ffile"
4864
4865 if test "$enableval" = yes; then
4866 ac_cv_use_ffile='wxUSE_FFILE=yes'
4867 else
4868 ac_cv_use_ffile='wxUSE_FFILE=no'
4869 fi
4870
4871 else
4872
4873 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x ; then
4875 eval "DEFAULT_$LINE"
4876 else
4877 no_cache=1
4878 fi
4879
4880 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4881
4882 fi;
4883
4884 eval "$ac_cv_use_ffile"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test "$wxUSE_FFILE" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4892 else
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4895 fi
4896
4897
4898 enablestring=
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4901 no_cache=0
4902 # Check whether --enable-file or --disable-file was given.
4903 if test "${enable_file+set}" = set; then
4904 enableval="$enable_file"
4905
4906 if test "$enableval" = yes; then
4907 ac_cv_use_file='wxUSE_FILE=yes'
4908 else
4909 ac_cv_use_file='wxUSE_FILE=no'
4910 fi
4911
4912 else
4913
4914 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x ; then
4916 eval "DEFAULT_$LINE"
4917 else
4918 no_cache=1
4919 fi
4920
4921 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4922
4923 fi;
4924
4925 eval "$ac_cv_use_file"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4928 fi
4929
4930 if test "$wxUSE_FILE" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4933 else
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4936 fi
4937
4938
4939 enablestring=
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4942 no_cache=0
4943 # Check whether --enable-filesystem or --disable-filesystem was given.
4944 if test "${enable_filesystem+set}" = set; then
4945 enableval="$enable_filesystem"
4946
4947 if test "$enableval" = yes; then
4948 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4949 else
4950 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4951 fi
4952
4953 else
4954
4955 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x ; then
4957 eval "DEFAULT_$LINE"
4958 else
4959 no_cache=1
4960 fi
4961
4962 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4963
4964 fi;
4965
4966 eval "$ac_cv_use_filesystem"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4969 fi
4970
4971 if test "$wxUSE_FILESYSTEM" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4974 else
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4977 fi
4978
4979
4980 enablestring=
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4983 no_cache=0
4984 # Check whether --enable-fontmap or --disable-fontmap was given.
4985 if test "${enable_fontmap+set}" = set; then
4986 enableval="$enable_fontmap"
4987
4988 if test "$enableval" = yes; then
4989 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4990 else
4991 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4992 fi
4993
4994 else
4995
4996 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x ; then
4998 eval "DEFAULT_$LINE"
4999 else
5000 no_cache=1
5001 fi
5002
5003 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5004
5005 fi;
5006
5007 eval "$ac_cv_use_fontmap"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test "$wxUSE_FONTMAP" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5015 else
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5018 fi
5019
5020
5021 enablestring=
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5024 no_cache=0
5025 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5026 if test "${enable_fs_inet+set}" = set; then
5027 enableval="$enable_fs_inet"
5028
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5031 else
5032 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5033 fi
5034
5035 else
5036
5037 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5040 else
5041 no_cache=1
5042 fi
5043
5044 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5045
5046 fi;
5047
5048 eval "$ac_cv_use_fs_inet"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5051 fi
5052
5053 if test "$wxUSE_FS_INET" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5056 else
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5059 fi
5060
5061
5062 enablestring=
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5065 no_cache=0
5066 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5067 if test "${enable_fs_zip+set}" = set; then
5068 enableval="$enable_fs_zip"
5069
5070 if test "$enableval" = yes; then
5071 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5072 else
5073 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5074 fi
5075
5076 else
5077
5078 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x ; then
5080 eval "DEFAULT_$LINE"
5081 else
5082 no_cache=1
5083 fi
5084
5085 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5086
5087 fi;
5088
5089 eval "$ac_cv_use_fs_zip"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5092 fi
5093
5094 if test "$wxUSE_FS_ZIP" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5097 else
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5100 fi
5101
5102
5103 enablestring=
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5106 no_cache=0
5107 # Check whether --enable-geometry or --disable-geometry was given.
5108 if test "${enable_geometry+set}" = set; then
5109 enableval="$enable_geometry"
5110
5111 if test "$enableval" = yes; then
5112 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5113 else
5114 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5115 fi
5116
5117 else
5118
5119 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x ; then
5121 eval "DEFAULT_$LINE"
5122 else
5123 no_cache=1
5124 fi
5125
5126 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5127
5128 fi;
5129
5130 eval "$ac_cv_use_geometry"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5133 fi
5134
5135 if test "$wxUSE_GEOMETRY" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5138 else
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5141 fi
5142
5143
5144 enablestring=
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5147 no_cache=0
5148 # Check whether --enable-log or --disable-log was given.
5149 if test "${enable_log+set}" = set; then
5150 enableval="$enable_log"
5151
5152 if test "$enableval" = yes; then
5153 ac_cv_use_log='wxUSE_LOG=yes'
5154 else
5155 ac_cv_use_log='wxUSE_LOG=no'
5156 fi
5157
5158 else
5159
5160 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x ; then
5162 eval "DEFAULT_$LINE"
5163 else
5164 no_cache=1
5165 fi
5166
5167 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5168
5169 fi;
5170
5171 eval "$ac_cv_use_log"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5174 fi
5175
5176 if test "$wxUSE_LOG" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5179 else
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5182 fi
5183
5184
5185 enablestring=
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5188 no_cache=0
5189 # Check whether --enable-longlong or --disable-longlong was given.
5190 if test "${enable_longlong+set}" = set; then
5191 enableval="$enable_longlong"
5192
5193 if test "$enableval" = yes; then
5194 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5195 else
5196 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5197 fi
5198
5199 else
5200
5201 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x ; then
5203 eval "DEFAULT_$LINE"
5204 else
5205 no_cache=1
5206 fi
5207
5208 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5209
5210 fi;
5211
5212 eval "$ac_cv_use_longlong"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5215 fi
5216
5217 if test "$wxUSE_LONGLONG" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5220 else
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5223 fi
5224
5225
5226 enablestring=
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5229 no_cache=0
5230 # Check whether --enable-mimetype or --disable-mimetype was given.
5231 if test "${enable_mimetype+set}" = set; then
5232 enableval="$enable_mimetype"
5233
5234 if test "$enableval" = yes; then
5235 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5236 else
5237 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5238 fi
5239
5240 else
5241
5242 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5245 else
5246 no_cache=1
5247 fi
5248
5249 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5250
5251 fi;
5252
5253 eval "$ac_cv_use_mimetype"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5256 fi
5257
5258 if test "$wxUSE_MIMETYPE" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5261 else
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5264 fi
5265
5266
5267 enablestring=
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5270 no_cache=0
5271 # Check whether --enable-mslu or --disable-mslu was given.
5272 if test "${enable_mslu+set}" = set; then
5273 enableval="$enable_mslu"
5274
5275 if test "$enableval" = yes; then
5276 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5277 else
5278 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5279 fi
5280
5281 else
5282
5283 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x ; then
5285 eval "DEFAULT_$LINE"
5286 else
5287 no_cache=1
5288 fi
5289
5290 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5291
5292 fi;
5293
5294 eval "$ac_cv_use_mslu"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5297 fi
5298
5299 if test "$wxUSE_UNICODE_MSLU" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5302 else
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5305 fi
5306
5307
5308 enablestring=
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5311 no_cache=0
5312 # Check whether --enable-snglinst or --disable-snglinst was given.
5313 if test "${enable_snglinst+set}" = set; then
5314 enableval="$enable_snglinst"
5315
5316 if test "$enableval" = yes; then
5317 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5318 else
5319 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5320 fi
5321
5322 else
5323
5324 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x ; then
5326 eval "DEFAULT_$LINE"
5327 else
5328 no_cache=1
5329 fi
5330
5331 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5332
5333 fi;
5334
5335 eval "$ac_cv_use_snglinst"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5338 fi
5339
5340 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5343 else
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5346 fi
5347
5348
5349 enablestring=
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5352 no_cache=0
5353 # Check whether --enable-streams or --disable-streams was given.
5354 if test "${enable_streams+set}" = set; then
5355 enableval="$enable_streams"
5356
5357 if test "$enableval" = yes; then
5358 ac_cv_use_streams='wxUSE_STREAMS=yes'
5359 else
5360 ac_cv_use_streams='wxUSE_STREAMS=no'
5361 fi
5362
5363 else
5364
5365 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x ; then
5367 eval "DEFAULT_$LINE"
5368 else
5369 no_cache=1
5370 fi
5371
5372 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5373
5374 fi;
5375
5376 eval "$ac_cv_use_streams"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5379 fi
5380
5381 if test "$wxUSE_STREAMS" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5384 else
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5387 fi
5388
5389
5390 enablestring=
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5393 no_cache=0
5394 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5395 if test "${enable_std_iostreams+set}" = set; then
5396 enableval="$enable_std_iostreams"
5397
5398 if test "$enableval" = yes; then
5399 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5400 else
5401 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5402 fi
5403
5404 else
5405
5406 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x ; then
5408 eval "DEFAULT_$LINE"
5409 else
5410 no_cache=1
5411 fi
5412
5413 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5414
5415 fi;
5416
5417 eval "$ac_cv_use_std_iostreams"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5420 fi
5421
5422 if test "$wxUSE_STD_IOSTREAM" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5425 else
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5428 fi
5429
5430
5431 enablestring=
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5434 no_cache=0
5435 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5436 if test "${enable_stopwatch+set}" = set; then
5437 enableval="$enable_stopwatch"
5438
5439 if test "$enableval" = yes; then
5440 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5441 else
5442 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5443 fi
5444
5445 else
5446
5447 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x ; then
5449 eval "DEFAULT_$LINE"
5450 else
5451 no_cache=1
5452 fi
5453
5454 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5455
5456 fi;
5457
5458 eval "$ac_cv_use_stopwatch"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5461 fi
5462
5463 if test "$wxUSE_STOPWATCH" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5466 else
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5469 fi
5470
5471
5472 enablestring=
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5475 no_cache=0
5476 # Check whether --enable-system_options or --disable-system_options was given.
5477 if test "${enable_system_options+set}" = set; then
5478 enableval="$enable_system_options"
5479
5480 if test "$enableval" = yes; then
5481 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5482 else
5483 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5484 fi
5485
5486 else
5487
5488 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x ; then
5490 eval "DEFAULT_$LINE"
5491 else
5492 no_cache=1
5493 fi
5494
5495 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5496
5497 fi;
5498
5499 eval "$ac_cv_use_system_options"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5502 fi
5503
5504 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5507 else
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5510 fi
5511
5512
5513 enablestring=
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5516 no_cache=0
5517 # Check whether --enable-textbuf or --disable-textbuf was given.
5518 if test "${enable_textbuf+set}" = set; then
5519 enableval="$enable_textbuf"
5520
5521 if test "$enableval" = yes; then
5522 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5523 else
5524 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5525 fi
5526
5527 else
5528
5529 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x ; then
5531 eval "DEFAULT_$LINE"
5532 else
5533 no_cache=1
5534 fi
5535
5536 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5537
5538 fi;
5539
5540 eval "$ac_cv_use_textbuf"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5543 fi
5544
5545 if test "$wxUSE_TEXTBUFFER" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5548 else
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5551 fi
5552
5553
5554 enablestring=
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5557 no_cache=0
5558 # Check whether --enable-textfile or --disable-textfile was given.
5559 if test "${enable_textfile+set}" = set; then
5560 enableval="$enable_textfile"
5561
5562 if test "$enableval" = yes; then
5563 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5564 else
5565 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5566 fi
5567
5568 else
5569
5570 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x ; then
5572 eval "DEFAULT_$LINE"
5573 else
5574 no_cache=1
5575 fi
5576
5577 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5578
5579 fi;
5580
5581 eval "$ac_cv_use_textfile"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5584 fi
5585
5586 if test "$wxUSE_TEXTFILE" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5589 else
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5592 fi
5593
5594
5595 enablestring=
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5598 no_cache=0
5599 # Check whether --enable-timer or --disable-timer was given.
5600 if test "${enable_timer+set}" = set; then
5601 enableval="$enable_timer"
5602
5603 if test "$enableval" = yes; then
5604 ac_cv_use_timer='wxUSE_TIMER=yes'
5605 else
5606 ac_cv_use_timer='wxUSE_TIMER=no'
5607 fi
5608
5609 else
5610
5611 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5614 else
5615 no_cache=1
5616 fi
5617
5618 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5619
5620 fi;
5621
5622 eval "$ac_cv_use_timer"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5625 fi
5626
5627 if test "$wxUSE_TIMER" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5630 else
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5633 fi
5634
5635
5636 enablestring=
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5639 no_cache=0
5640 # Check whether --enable-unicode or --disable-unicode was given.
5641 if test "${enable_unicode+set}" = set; then
5642 enableval="$enable_unicode"
5643
5644 if test "$enableval" = yes; then
5645 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5646 else
5647 ac_cv_use_unicode='wxUSE_UNICODE=no'
5648 fi
5649
5650 else
5651
5652 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x ; then
5654 eval "DEFAULT_$LINE"
5655 else
5656 no_cache=1
5657 fi
5658
5659 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5660
5661 fi;
5662
5663 eval "$ac_cv_use_unicode"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5666 fi
5667
5668 if test "$wxUSE_UNICODE" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5671 else
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5674 fi
5675
5676
5677 enablestring=
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5680 no_cache=0
5681 # Check whether --enable-sound or --disable-sound was given.
5682 if test "${enable_sound+set}" = set; then
5683 enableval="$enable_sound"
5684
5685 if test "$enableval" = yes; then
5686 ac_cv_use_sound='wxUSE_SOUND=yes'
5687 else
5688 ac_cv_use_sound='wxUSE_SOUND=no'
5689 fi
5690
5691 else
5692
5693 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5696 else
5697 no_cache=1
5698 fi
5699
5700 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5701
5702 fi;
5703
5704 eval "$ac_cv_use_sound"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5707 fi
5708
5709 if test "$wxUSE_SOUND" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5712 else
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5715 fi
5716
5717
5718 enablestring=
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5721 no_cache=0
5722 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5723 if test "${enable_wxprintfv+set}" = set; then
5724 enableval="$enable_wxprintfv"
5725
5726 if test "$enableval" = yes; then
5727 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5728 else
5729 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5730 fi
5731
5732 else
5733
5734 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x ; then
5736 eval "DEFAULT_$LINE"
5737 else
5738 no_cache=1
5739 fi
5740
5741 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5742
5743 fi;
5744
5745 eval "$ac_cv_use_wxprintfv"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5748 fi
5749
5750 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5753 else
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5756 fi
5757
5758
5759 enablestring=
5760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5761 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5762 no_cache=0
5763 # Check whether --enable-zipstream or --disable-zipstream was given.
5764 if test "${enable_zipstream+set}" = set; then
5765 enableval="$enable_zipstream"
5766
5767 if test "$enableval" = yes; then
5768 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5769 else
5770 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5771 fi
5772
5773 else
5774
5775 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x ; then
5777 eval "DEFAULT_$LINE"
5778 else
5779 no_cache=1
5780 fi
5781
5782 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5783
5784 fi;
5785
5786 eval "$ac_cv_use_zipstream"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5789 fi
5790
5791 if test "$wxUSE_ZIPSTREAM" = yes; then
5792 echo "$as_me:$LINENO: result: yes" >&5
5793 echo "${ECHO_T}yes" >&6
5794 else
5795 echo "$as_me:$LINENO: result: no" >&5
5796 echo "${ECHO_T}no" >&6
5797 fi
5798
5799
5800 enablestring=
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5803 no_cache=0
5804 # Check whether --enable-gzstream or --disable-gzstream was given.
5805 if test "${enable_gzstream+set}" = set; then
5806 enableval="$enable_gzstream"
5807
5808 if test "$enableval" = yes; then
5809 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5810 else
5811 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5812 fi
5813
5814 else
5815
5816 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x ; then
5818 eval "DEFAULT_$LINE"
5819 else
5820 no_cache=1
5821 fi
5822
5823 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5824
5825 fi;
5826
5827 eval "$ac_cv_use_gzstream"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5830 fi
5831
5832 if test "$wxUSE_GZSTREAM" = yes; then
5833 echo "$as_me:$LINENO: result: yes" >&5
5834 echo "${ECHO_T}yes" >&6
5835 else
5836 echo "$as_me:$LINENO: result: no" >&5
5837 echo "${ECHO_T}no" >&6
5838 fi
5839
5840
5841
5842 enablestring=
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5845 no_cache=0
5846 # Check whether --enable-url or --disable-url was given.
5847 if test "${enable_url+set}" = set; then
5848 enableval="$enable_url"
5849
5850 if test "$enableval" = yes; then
5851 ac_cv_use_url='wxUSE_URL=yes'
5852 else
5853 ac_cv_use_url='wxUSE_URL=no'
5854 fi
5855
5856 else
5857
5858 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5861 else
5862 no_cache=1
5863 fi
5864
5865 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5866
5867 fi;
5868
5869 eval "$ac_cv_use_url"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test "$wxUSE_URL" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5877 else
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5880 fi
5881
5882
5883 enablestring=
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5886 no_cache=0
5887 # Check whether --enable-protocol or --disable-protocol was given.
5888 if test "${enable_protocol+set}" = set; then
5889 enableval="$enable_protocol"
5890
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5893 else
5894 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5895 fi
5896
5897 else
5898
5899 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5902 else
5903 no_cache=1
5904 fi
5905
5906 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5907
5908 fi;
5909
5910 eval "$ac_cv_use_protocol"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5913 fi
5914
5915 if test "$wxUSE_PROTOCOL" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5918 else
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5921 fi
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5929 if test "${enable_protocol_http+set}" = set; then
5930 enableval="$enable_protocol_http"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5934 else
5935 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5936 fi
5937
5938 else
5939
5940 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5948
5949 fi;
5950
5951 eval "$ac_cv_use_protocol_http"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965 enablestring=
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5968 no_cache=0
5969 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5970 if test "${enable_protocol_ftp+set}" = set; then
5971 enableval="$enable_protocol_ftp"
5972
5973 if test "$enableval" = yes; then
5974 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5975 else
5976 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5977 fi
5978
5979 else
5980
5981 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5984 else
5985 no_cache=1
5986 fi
5987
5988 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5989
5990 fi;
5991
5992 eval "$ac_cv_use_protocol_ftp"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5995 fi
5996
5997 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6000 else
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6003 fi
6004
6005
6006 enablestring=
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6009 no_cache=0
6010 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6011 if test "${enable_protocol_file+set}" = set; then
6012 enableval="$enable_protocol_file"
6013
6014 if test "$enableval" = yes; then
6015 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6016 else
6017 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6018 fi
6019
6020 else
6021
6022 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 else
6026 no_cache=1
6027 fi
6028
6029 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6030
6031 fi;
6032
6033 eval "$ac_cv_use_protocol_file"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6041 else
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6044 fi
6045
6046
6047
6048
6049
6050 enablestring=
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6053 no_cache=0
6054 # Check whether --enable-threads or --disable-threads was given.
6055 if test "${enable_threads+set}" = set; then
6056 enableval="$enable_threads"
6057
6058 if test "$enableval" = yes; then
6059 ac_cv_use_threads='wxUSE_THREADS=yes'
6060 else
6061 ac_cv_use_threads='wxUSE_THREADS=no'
6062 fi
6063
6064 else
6065
6066 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6069 else
6070 no_cache=1
6071 fi
6072
6073 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6074
6075 fi;
6076
6077 eval "$ac_cv_use_threads"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6080 fi
6081
6082 if test "$wxUSE_THREADS" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6085 else
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6088 fi
6089
6090
6091 if test "$wxUSE_GUI" = "yes"; then
6092
6093
6094
6095 enablestring=
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6098 no_cache=0
6099 # Check whether --enable-docview or --disable-docview was given.
6100 if test "${enable_docview+set}" = set; then
6101 enableval="$enable_docview"
6102
6103 if test "$enableval" = yes; then
6104 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6105 else
6106 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6107 fi
6108
6109 else
6110
6111 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x ; then
6113 eval "DEFAULT_$LINE"
6114 else
6115 no_cache=1
6116 fi
6117
6118 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6119
6120 fi;
6121
6122 eval "$ac_cv_use_docview"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6125 fi
6126
6127 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6130 else
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6133 fi
6134
6135
6136 enablestring=
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6139 no_cache=0
6140 # Check whether --enable-help or --disable-help was given.
6141 if test "${enable_help+set}" = set; then
6142 enableval="$enable_help"
6143
6144 if test "$enableval" = yes; then
6145 ac_cv_use_help='wxUSE_HELP=yes'
6146 else
6147 ac_cv_use_help='wxUSE_HELP=no'
6148 fi
6149
6150 else
6151
6152 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x ; then
6154 eval "DEFAULT_$LINE"
6155 else
6156 no_cache=1
6157 fi
6158
6159 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6160
6161 fi;
6162
6163 eval "$ac_cv_use_help"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6166 fi
6167
6168 if test "$wxUSE_HELP" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6171 else
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6174 fi
6175
6176
6177 enablestring=
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6180 no_cache=0
6181 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6182 if test "${enable_mshtmlhelp+set}" = set; then
6183 enableval="$enable_mshtmlhelp"
6184
6185 if test "$enableval" = yes; then
6186 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6187 else
6188 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6189 fi
6190
6191 else
6192
6193 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x ; then
6195 eval "DEFAULT_$LINE"
6196 else
6197 no_cache=1
6198 fi
6199
6200 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6201
6202 fi;
6203
6204 eval "$ac_cv_use_mshtmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6207 fi
6208
6209 if test "$wxUSE_MS_HTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6212 else
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6215 fi
6216
6217
6218 enablestring=
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6221 no_cache=0
6222 # Check whether --enable-html or --disable-html was given.
6223 if test "${enable_html+set}" = set; then
6224 enableval="$enable_html"
6225
6226 if test "$enableval" = yes; then
6227 ac_cv_use_html='wxUSE_HTML=yes'
6228 else
6229 ac_cv_use_html='wxUSE_HTML=no'
6230 fi
6231
6232 else
6233
6234 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6237 else
6238 no_cache=1
6239 fi
6240
6241 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6242
6243 fi;
6244
6245 eval "$ac_cv_use_html"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6248 fi
6249
6250 if test "$wxUSE_HTML" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6253 else
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6256 fi
6257
6258
6259 enablestring=
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6262 no_cache=0
6263 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6264 if test "${enable_htmlhelp+set}" = set; then
6265 enableval="$enable_htmlhelp"
6266
6267 if test "$enableval" = yes; then
6268 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6269 else
6270 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6271 fi
6272
6273 else
6274
6275 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6278 else
6279 no_cache=1
6280 fi
6281
6282 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6283
6284 fi;
6285
6286 eval "$ac_cv_use_htmlhelp"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6289 fi
6290
6291 if test "$wxUSE_WXHTML_HELP" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6294 else
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6297 fi
6298
6299
6300 enablestring=
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6303 no_cache=0
6304 # Check whether --enable-constraints or --disable-constraints was given.
6305 if test "${enable_constraints+set}" = set; then
6306 enableval="$enable_constraints"
6307
6308 if test "$enableval" = yes; then
6309 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6310 else
6311 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6312 fi
6313
6314 else
6315
6316 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x ; then
6318 eval "DEFAULT_$LINE"
6319 else
6320 no_cache=1
6321 fi
6322
6323 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6324
6325 fi;
6326
6327 eval "$ac_cv_use_constraints"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6330 fi
6331
6332 if test "$wxUSE_CONSTRAINTS" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6335 else
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6338 fi
6339
6340
6341 enablestring=
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6344 no_cache=0
6345 # Check whether --enable-printarch or --disable-printarch was given.
6346 if test "${enable_printarch+set}" = set; then
6347 enableval="$enable_printarch"
6348
6349 if test "$enableval" = yes; then
6350 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6351 else
6352 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6353 fi
6354
6355 else
6356
6357 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x ; then
6359 eval "DEFAULT_$LINE"
6360 else
6361 no_cache=1
6362 fi
6363
6364 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6365
6366 fi;
6367
6368 eval "$ac_cv_use_printarch"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6371 fi
6372
6373 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6376 else
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6379 fi
6380
6381
6382 enablestring=
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6385 no_cache=0
6386 # Check whether --enable-mdi or --disable-mdi was given.
6387 if test "${enable_mdi+set}" = set; then
6388 enableval="$enable_mdi"
6389
6390 if test "$enableval" = yes; then
6391 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6392 else
6393 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6394 fi
6395
6396 else
6397
6398 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x ; then
6400 eval "DEFAULT_$LINE"
6401 else
6402 no_cache=1
6403 fi
6404
6405 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6406
6407 fi;
6408
6409 eval "$ac_cv_use_mdi"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6412 fi
6413
6414 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6417 else
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6420 fi
6421
6422
6423 enablestring=
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6426 no_cache=0
6427 # Check whether --enable-loggui or --disable-loggui was given.
6428 if test "${enable_loggui+set}" = set; then
6429 enableval="$enable_loggui"
6430
6431 if test "$enableval" = yes; then
6432 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6433 else
6434 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6435 fi
6436
6437 else
6438
6439 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x ; then
6441 eval "DEFAULT_$LINE"
6442 else
6443 no_cache=1
6444 fi
6445
6446 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6447
6448 fi;
6449
6450 eval "$ac_cv_use_loggui"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6453 fi
6454
6455 if test "$wxUSE_LOGGUI" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6458 else
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6461 fi
6462
6463
6464 enablestring=
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6467 no_cache=0
6468 # Check whether --enable-logwin or --disable-logwin was given.
6469 if test "${enable_logwin+set}" = set; then
6470 enableval="$enable_logwin"
6471
6472 if test "$enableval" = yes; then
6473 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6474 else
6475 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6476 fi
6477
6478 else
6479
6480 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x ; then
6482 eval "DEFAULT_$LINE"
6483 else
6484 no_cache=1
6485 fi
6486
6487 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6488
6489 fi;
6490
6491 eval "$ac_cv_use_logwin"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6494 fi
6495
6496 if test "$wxUSE_LOGWINDOW" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6499 else
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6502 fi
6503
6504
6505 enablestring=
6506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6508 no_cache=0
6509 # Check whether --enable-logdialog or --disable-logdialog was given.
6510 if test "${enable_logdialog+set}" = set; then
6511 enableval="$enable_logdialog"
6512
6513 if test "$enableval" = yes; then
6514 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6515 else
6516 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6517 fi
6518
6519 else
6520
6521 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x ; then
6523 eval "DEFAULT_$LINE"
6524 else
6525 no_cache=1
6526 fi
6527
6528 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6529
6530 fi;
6531
6532 eval "$ac_cv_use_logdialog"
6533 if test "$no_cache" != 1; then
6534 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6535 fi
6536
6537 if test "$wxUSE_LOGDIALOG" = yes; then
6538 echo "$as_me:$LINENO: result: yes" >&5
6539 echo "${ECHO_T}yes" >&6
6540 else
6541 echo "$as_me:$LINENO: result: no" >&5
6542 echo "${ECHO_T}no" >&6
6543 fi
6544
6545
6546
6547 enablestring=
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6550 no_cache=0
6551 # Check whether --enable-postscript or --disable-postscript was given.
6552 if test "${enable_postscript+set}" = set; then
6553 enableval="$enable_postscript"
6554
6555 if test "$enableval" = yes; then
6556 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6557 else
6558 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6559 fi
6560
6561 else
6562
6563 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x ; then
6565 eval "DEFAULT_$LINE"
6566 else
6567 no_cache=1
6568 fi
6569
6570 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6571
6572 fi;
6573
6574 eval "$ac_cv_use_postscript"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6577 fi
6578
6579 if test "$wxUSE_POSTSCRIPT" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6582 else
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6585 fi
6586
6587
6588
6589
6590
6591 enablestring=
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6594 no_cache=0
6595 # Check whether --enable-prologio or --disable-prologio was given.
6596 if test "${enable_prologio+set}" = set; then
6597 enableval="$enable_prologio"
6598
6599 if test "$enableval" = yes; then
6600 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6601 else
6602 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6603 fi
6604
6605 else
6606
6607 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6610 else
6611 no_cache=1
6612 fi
6613
6614 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6615
6616 fi;
6617
6618 eval "$ac_cv_use_prologio"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test "$wxUSE_PROLOGIO" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6626 else
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6629 fi
6630
6631
6632 enablestring=
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6635 no_cache=0
6636 # Check whether --enable-resources or --disable-resources was given.
6637 if test "${enable_resources+set}" = set; then
6638 enableval="$enable_resources"
6639
6640 if test "$enableval" = yes; then
6641 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6642 else
6643 ac_cv_use_resources='wxUSE_RESOURCES=no'
6644 fi
6645
6646 else
6647
6648 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 else
6652 no_cache=1
6653 fi
6654
6655 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6656
6657 fi;
6658
6659 eval "$ac_cv_use_resources"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_RESOURCES" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6667 else
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6670 fi
6671
6672
6673
6674
6675 enablestring=
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6678 no_cache=0
6679 # Check whether --enable-clipboard or --disable-clipboard was given.
6680 if test "${enable_clipboard+set}" = set; then
6681 enableval="$enable_clipboard"
6682
6683 if test "$enableval" = yes; then
6684 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6685 else
6686 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6687 fi
6688
6689 else
6690
6691 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6699
6700 fi;
6701
6702 eval "$ac_cv_use_clipboard"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6705 fi
6706
6707 if test "$wxUSE_CLIPBOARD" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6710 else
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6713 fi
6714
6715
6716 enablestring=
6717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6719 no_cache=0
6720 # Check whether --enable-dnd or --disable-dnd was given.
6721 if test "${enable_dnd+set}" = set; then
6722 enableval="$enable_dnd"
6723
6724 if test "$enableval" = yes; then
6725 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6726 else
6727 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6728 fi
6729
6730 else
6731
6732 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6735 else
6736 no_cache=1
6737 fi
6738
6739 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6740
6741 fi;
6742
6743 eval "$ac_cv_use_dnd"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6746 fi
6747
6748 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6749 echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6
6751 else
6752 echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6
6754 fi
6755
6756
6757 enablestring=
6758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6759 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6760 no_cache=0
6761 # Check whether --enable-metafile or --disable-metafile was given.
6762 if test "${enable_metafile+set}" = set; then
6763 enableval="$enable_metafile"
6764
6765 if test "$enableval" = yes; then
6766 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6767 else
6768 ac_cv_use_metafile='wxUSE_METAFILE=no'
6769 fi
6770
6771 else
6772
6773 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6774 if test "x$LINE" != x ; then
6775 eval "DEFAULT_$LINE"
6776 else
6777 no_cache=1
6778 fi
6779
6780 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6781
6782 fi;
6783
6784 eval "$ac_cv_use_metafile"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6787 fi
6788
6789 if test "$wxUSE_METAFILE" = yes; then
6790 echo "$as_me:$LINENO: result: yes" >&5
6791 echo "${ECHO_T}yes" >&6
6792 else
6793 echo "$as_me:$LINENO: result: no" >&5
6794 echo "${ECHO_T}no" >&6
6795 fi
6796
6797
6798
6799
6800
6801 enablestring=
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6804 no_cache=0
6805 # Check whether --enable-controls or --disable-controls was given.
6806 if test "${enable_controls+set}" = set; then
6807 enableval="$enable_controls"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6811 else
6812 ac_cv_use_controls='wxUSE_CONTROLS=no'
6813 fi
6814
6815 else
6816
6817 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6825
6826 fi;
6827
6828 eval "$ac_cv_use_controls"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6831 fi
6832
6833 if test "$wxUSE_CONTROLS" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6836 else
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6839 fi
6840
6841
6842 if test "$wxUSE_CONTROLS" = "yes"; then
6843 DEFAULT_wxUSE_ACCEL=yes
6844 DEFAULT_wxUSE_BMPBUTTON=yes
6845 DEFAULT_wxUSE_BUTTON=yes
6846 DEFAULT_wxUSE_CALCTRL=no
6847 DEFAULT_wxUSE_CARET=yes
6848 DEFAULT_wxUSE_COMBOBOX=yes
6849 DEFAULT_wxUSE_CHECKBOX=yes
6850 DEFAULT_wxUSE_CHECKLISTBOX=yes
6851 DEFAULT_wxUSE_CHOICE=yes
6852 DEFAULT_wxUSE_GAUGE=yes
6853 DEFAULT_wxUSE_GRID=yes
6854 DEFAULT_wxUSE_IMAGLIST=yes
6855 DEFAULT_wxUSE_LISTBOOK=yes
6856 DEFAULT_wxUSE_LISTBOX=yes
6857 DEFAULT_wxUSE_LISTCTRL=yes
6858 DEFAULT_wxUSE_NOTEBOOK=yes
6859 DEFAULT_wxUSE_RADIOBOX=yes
6860 DEFAULT_wxUSE_RADIOBTN=yes
6861 DEFAULT_wxUSE_SASH=yes
6862 DEFAULT_wxUSE_SCROLLBAR=yes
6863 DEFAULT_wxUSE_SLIDER=yes
6864 DEFAULT_wxUSE_SPINBTN=yes
6865 DEFAULT_wxUSE_SPINCTRL=yes
6866 DEFAULT_wxUSE_SPLITTER=yes
6867 DEFAULT_wxUSE_STATBMP=yes
6868 DEFAULT_wxUSE_STATBOX=yes
6869 DEFAULT_wxUSE_STATLINE=yes
6870 DEFAULT_wxUSE_STATUSBAR=yes
6871 DEFAULT_wxUSE_TAB_DIALOG=yes
6872 DEFAULT_wxUSE_TOGGLEBTN=yes
6873 DEFAULT_wxUSE_TOOLBAR=yes
6874 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6875 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6876 DEFAULT_wxUSE_TOOLTIPS=yes
6877 DEFAULT_wxUSE_TREECTRL=yes
6878 DEFAULT_wxUSE_POPUPWIN=yes
6879 DEFAULT_wxUSE_TIPWINDOW=yes
6880 elif test "$wxUSE_CONTROLS" = "no"; then
6881 DEFAULT_wxUSE_ACCEL=no
6882 DEFAULT_wxUSE_BMPBUTTON=no
6883 DEFAULT_wxUSE_BUTTON=no
6884 DEFAULT_wxUSE_CALCTRL=no
6885 DEFAULT_wxUSE_CARET=no
6886 DEFAULT_wxUSE_COMBOBOX=no
6887 DEFAULT_wxUSE_CHECKBOX=no
6888 DEFAULT_wxUSE_CHECKLISTBOX=no
6889 DEFAULT_wxUSE_CHOICE=no
6890 DEFAULT_wxUSE_GAUGE=no
6891 DEFAULT_wxUSE_GRID=no
6892 DEFAULT_wxUSE_IMAGLIST=no
6893 DEFAULT_wxUSE_LISTBOOK=no
6894 DEFAULT_wxUSE_LISTBOX=no
6895 DEFAULT_wxUSE_LISTCTRL=no
6896 DEFAULT_wxUSE_NOTEBOOK=no
6897 DEFAULT_wxUSE_RADIOBOX=no
6898 DEFAULT_wxUSE_RADIOBTN=no
6899 DEFAULT_wxUSE_SASH=no
6900 DEFAULT_wxUSE_SCROLLBAR=no
6901 DEFAULT_wxUSE_SLIDER=no
6902 DEFAULT_wxUSE_SPINBTN=no
6903 DEFAULT_wxUSE_SPINCTRL=no
6904 DEFAULT_wxUSE_SPLITTER=no
6905 DEFAULT_wxUSE_STATBMP=no
6906 DEFAULT_wxUSE_STATBOX=no
6907 DEFAULT_wxUSE_STATLINE=no
6908 DEFAULT_wxUSE_STATUSBAR=no
6909 DEFAULT_wxUSE_TAB_DIALOG=no
6910 DEFAULT_wxUSE_TOGGLEBTN=no
6911 DEFAULT_wxUSE_TOOLBAR=no
6912 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6913 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6914 DEFAULT_wxUSE_TOOLTIPS=no
6915 DEFAULT_wxUSE_TREECTRL=no
6916 DEFAULT_wxUSE_POPUPWIN=no
6917 DEFAULT_wxUSE_TIPWINDOW=no
6918 fi
6919
6920 ## FIXME: This is a blatant hack
6921 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6922 wxUSE_PRINTING_ARCHITECTURE=no
6923 wxUSE_DRAG_AND_DROP=no
6924 # Generic notebook requires tab dialog
6925 DEFAULT_wxUSE_TABDIALOG=yes
6926 DEFAULT_wxUSE_SCROLLBAR=no
6927 DEFAULT_wxUSE_TOOLTIPS=no
6928 DEFAULT_wxUSE_DRAGIMAGE=no
6929 fi
6930
6931
6932 enablestring=
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6935 no_cache=0
6936 # Check whether --enable-accel or --disable-accel was given.
6937 if test "${enable_accel+set}" = set; then
6938 enableval="$enable_accel"
6939
6940 if test "$enableval" = yes; then
6941 ac_cv_use_accel='wxUSE_ACCEL=yes'
6942 else
6943 ac_cv_use_accel='wxUSE_ACCEL=no'
6944 fi
6945
6946 else
6947
6948 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6951 else
6952 no_cache=1
6953 fi
6954
6955 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6956
6957 fi;
6958
6959 eval "$ac_cv_use_accel"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6962 fi
6963
6964 if test "$wxUSE_ACCEL" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6967 else
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6970 fi
6971
6972
6973 enablestring=
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6976 no_cache=0
6977 # Check whether --enable-button or --disable-button was given.
6978 if test "${enable_button+set}" = set; then
6979 enableval="$enable_button"
6980
6981 if test "$enableval" = yes; then
6982 ac_cv_use_button='wxUSE_BUTTON=yes'
6983 else
6984 ac_cv_use_button='wxUSE_BUTTON=no'
6985 fi
6986
6987 else
6988
6989 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6992 else
6993 no_cache=1
6994 fi
6995
6996 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6997
6998 fi;
6999
7000 eval "$ac_cv_use_button"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test "$wxUSE_BUTTON" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7008 else
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7011 fi
7012
7013
7014 enablestring=
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7017 no_cache=0
7018 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7019 if test "${enable_bmpbutton+set}" = set; then
7020 enableval="$enable_bmpbutton"
7021
7022 if test "$enableval" = yes; then
7023 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7024 else
7025 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7026 fi
7027
7028 else
7029
7030 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7033 else
7034 no_cache=1
7035 fi
7036
7037 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7038
7039 fi;
7040
7041 eval "$ac_cv_use_bmpbutton"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_BMPBUTTON" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7049 else
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7052 fi
7053
7054
7055 enablestring=
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7058 no_cache=0
7059 # Check whether --enable-calendar or --disable-calendar was given.
7060 if test "${enable_calendar+set}" = set; then
7061 enableval="$enable_calendar"
7062
7063 if test "$enableval" = yes; then
7064 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7065 else
7066 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7067 fi
7068
7069 else
7070
7071 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7074 else
7075 no_cache=1
7076 fi
7077
7078 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7079
7080 fi;
7081
7082 eval "$ac_cv_use_calendar"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7085 fi
7086
7087 if test "$wxUSE_CALCTRL" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7090 else
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7093 fi
7094
7095
7096 enablestring=
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7099 no_cache=0
7100 # Check whether --enable-caret or --disable-caret was given.
7101 if test "${enable_caret+set}" = set; then
7102 enableval="$enable_caret"
7103
7104 if test "$enableval" = yes; then
7105 ac_cv_use_caret='wxUSE_CARET=yes'
7106 else
7107 ac_cv_use_caret='wxUSE_CARET=no'
7108 fi
7109
7110 else
7111
7112 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7115 else
7116 no_cache=1
7117 fi
7118
7119 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7120
7121 fi;
7122
7123 eval "$ac_cv_use_caret"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7126 fi
7127
7128 if test "$wxUSE_CARET" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7131 else
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7134 fi
7135
7136
7137 enablestring=
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7140 no_cache=0
7141 # Check whether --enable-checkbox or --disable-checkbox was given.
7142 if test "${enable_checkbox+set}" = set; then
7143 enableval="$enable_checkbox"
7144
7145 if test "$enableval" = yes; then
7146 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7147 else
7148 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7149 fi
7150
7151 else
7152
7153 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7156 else
7157 no_cache=1
7158 fi
7159
7160 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7161
7162 fi;
7163
7164 eval "$ac_cv_use_checkbox"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7167 fi
7168
7169 if test "$wxUSE_CHECKBOX" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7172 else
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7175 fi
7176
7177
7178 enablestring=
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7181 no_cache=0
7182 # Check whether --enable-checklst or --disable-checklst was given.
7183 if test "${enable_checklst+set}" = set; then
7184 enableval="$enable_checklst"
7185
7186 if test "$enableval" = yes; then
7187 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7188 else
7189 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7190 fi
7191
7192 else
7193
7194 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7197 else
7198 no_cache=1
7199 fi
7200
7201 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7202
7203 fi;
7204
7205 eval "$ac_cv_use_checklst"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7208 fi
7209
7210 if test "$wxUSE_CHECKLST" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7213 else
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7216 fi
7217
7218
7219 enablestring=
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7222 no_cache=0
7223 # Check whether --enable-choice or --disable-choice was given.
7224 if test "${enable_choice+set}" = set; then
7225 enableval="$enable_choice"
7226
7227 if test "$enableval" = yes; then
7228 ac_cv_use_choice='wxUSE_CHOICE=yes'
7229 else
7230 ac_cv_use_choice='wxUSE_CHOICE=no'
7231 fi
7232
7233 else
7234
7235 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7238 else
7239 no_cache=1
7240 fi
7241
7242 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7243
7244 fi;
7245
7246 eval "$ac_cv_use_choice"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_CHOICE" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7254 else
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7257 fi
7258
7259
7260 enablestring=
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7263 no_cache=0
7264 # Check whether --enable-combobox or --disable-combobox was given.
7265 if test "${enable_combobox+set}" = set; then
7266 enableval="$enable_combobox"
7267
7268 if test "$enableval" = yes; then
7269 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7270 else
7271 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7272 fi
7273
7274 else
7275
7276 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7279 else
7280 no_cache=1
7281 fi
7282
7283 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7284
7285 fi;
7286
7287 eval "$ac_cv_use_combobox"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7290 fi
7291
7292 if test "$wxUSE_COMBOBOX" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7295 else
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7298 fi
7299
7300
7301 enablestring=
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7304 no_cache=0
7305 # Check whether --enable-display or --disable-display was given.
7306 if test "${enable_display+set}" = set; then
7307 enableval="$enable_display"
7308
7309 if test "$enableval" = yes; then
7310 ac_cv_use_display='wxUSE_DISPLAY=yes'
7311 else
7312 ac_cv_use_display='wxUSE_DISPLAY=no'
7313 fi
7314
7315 else
7316
7317 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7320 else
7321 no_cache=1
7322 fi
7323
7324 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7325
7326 fi;
7327
7328 eval "$ac_cv_use_display"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7331 fi
7332
7333 if test "$wxUSE_DISPLAY" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7336 else
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7339 fi
7340
7341
7342 enablestring=
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7345 no_cache=0
7346 # Check whether --enable-gauge or --disable-gauge was given.
7347 if test "${enable_gauge+set}" = set; then
7348 enableval="$enable_gauge"
7349
7350 if test "$enableval" = yes; then
7351 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7352 else
7353 ac_cv_use_gauge='wxUSE_GAUGE=no'
7354 fi
7355
7356 else
7357
7358 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7361 else
7362 no_cache=1
7363 fi
7364
7365 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7366
7367 fi;
7368
7369 eval "$ac_cv_use_gauge"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test "$wxUSE_GAUGE" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7377 else
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7380 fi
7381
7382
7383 enablestring=
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7386 no_cache=0
7387 # Check whether --enable-grid or --disable-grid was given.
7388 if test "${enable_grid+set}" = set; then
7389 enableval="$enable_grid"
7390
7391 if test "$enableval" = yes; then
7392 ac_cv_use_grid='wxUSE_GRID=yes'
7393 else
7394 ac_cv_use_grid='wxUSE_GRID=no'
7395 fi
7396
7397 else
7398
7399 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7402 else
7403 no_cache=1
7404 fi
7405
7406 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7407
7408 fi;
7409
7410 eval "$ac_cv_use_grid"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7413 fi
7414
7415 if test "$wxUSE_GRID" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7418 else
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7421 fi
7422
7423
7424 enablestring=
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7427 no_cache=0
7428 # Check whether --enable-imaglist or --disable-imaglist was given.
7429 if test "${enable_imaglist+set}" = set; then
7430 enableval="$enable_imaglist"
7431
7432 if test "$enableval" = yes; then
7433 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7434 else
7435 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7448
7449 fi;
7450
7451 eval "$ac_cv_use_imaglist"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7454 fi
7455
7456 if test "$wxUSE_IMAGLIST" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7459 else
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7462 fi
7463
7464
7465 enablestring=
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7468 no_cache=0
7469 # Check whether --enable-listbook or --disable-listbook was given.
7470 if test "${enable_listbook+set}" = set; then
7471 enableval="$enable_listbook"
7472
7473 if test "$enableval" = yes; then
7474 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7475 else
7476 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7477 fi
7478
7479 else
7480
7481 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 else
7485 no_cache=1
7486 fi
7487
7488 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7489
7490 fi;
7491
7492 eval "$ac_cv_use_listbook"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7495 fi
7496
7497 if test "$wxUSE_LISTBOOK" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7500 else
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7503 fi
7504
7505
7506 enablestring=
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7509 no_cache=0
7510 # Check whether --enable-listbox or --disable-listbox was given.
7511 if test "${enable_listbox+set}" = set; then
7512 enableval="$enable_listbox"
7513
7514 if test "$enableval" = yes; then
7515 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7516 else
7517 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7518 fi
7519
7520 else
7521
7522 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7525 else
7526 no_cache=1
7527 fi
7528
7529 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7530
7531 fi;
7532
7533 eval "$ac_cv_use_listbox"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7536 fi
7537
7538 if test "$wxUSE_LISTBOX" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7541 else
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7544 fi
7545
7546
7547 enablestring=
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7550 no_cache=0
7551 # Check whether --enable-listctrl or --disable-listctrl was given.
7552 if test "${enable_listctrl+set}" = set; then
7553 enableval="$enable_listctrl"
7554
7555 if test "$enableval" = yes; then
7556 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7557 else
7558 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7559 fi
7560
7561 else
7562
7563 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 else
7567 no_cache=1
7568 fi
7569
7570 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7571
7572 fi;
7573
7574 eval "$ac_cv_use_listctrl"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7577 fi
7578
7579 if test "$wxUSE_LISTCTRL" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7582 else
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7585 fi
7586
7587
7588 enablestring=
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7591 no_cache=0
7592 # Check whether --enable-notebook or --disable-notebook was given.
7593 if test "${enable_notebook+set}" = set; then
7594 enableval="$enable_notebook"
7595
7596 if test "$enableval" = yes; then
7597 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7598 else
7599 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7600 fi
7601
7602 else
7603
7604 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 else
7608 no_cache=1
7609 fi
7610
7611 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7612
7613 fi;
7614
7615 eval "$ac_cv_use_notebook"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7618 fi
7619
7620 if test "$wxUSE_NOTEBOOK" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7623 else
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7626 fi
7627
7628
7629 enablestring=
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7632 no_cache=0
7633 # Check whether --enable-radiobox or --disable-radiobox was given.
7634 if test "${enable_radiobox+set}" = set; then
7635 enableval="$enable_radiobox"
7636
7637 if test "$enableval" = yes; then
7638 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7639 else
7640 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7641 fi
7642
7643 else
7644
7645 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7648 else
7649 no_cache=1
7650 fi
7651
7652 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7653
7654 fi;
7655
7656 eval "$ac_cv_use_radiobox"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7659 fi
7660
7661 if test "$wxUSE_RADIOBOX" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7664 else
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7667 fi
7668
7669
7670 enablestring=
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7673 no_cache=0
7674 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7675 if test "${enable_radiobtn+set}" = set; then
7676 enableval="$enable_radiobtn"
7677
7678 if test "$enableval" = yes; then
7679 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7680 else
7681 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7682 fi
7683
7684 else
7685
7686 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x ; then
7688 eval "DEFAULT_$LINE"
7689 else
7690 no_cache=1
7691 fi
7692
7693 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7694
7695 fi;
7696
7697 eval "$ac_cv_use_radiobtn"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7700 fi
7701
7702 if test "$wxUSE_RADIOBTN" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7705 else
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7708 fi
7709
7710
7711 enablestring=
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7714 no_cache=0
7715 # Check whether --enable-sash or --disable-sash was given.
7716 if test "${enable_sash+set}" = set; then
7717 enableval="$enable_sash"
7718
7719 if test "$enableval" = yes; then
7720 ac_cv_use_sash='wxUSE_SASH=yes'
7721 else
7722 ac_cv_use_sash='wxUSE_SASH=no'
7723 fi
7724
7725 else
7726
7727 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7730 else
7731 no_cache=1
7732 fi
7733
7734 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7735
7736 fi;
7737
7738 eval "$ac_cv_use_sash"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7741 fi
7742
7743 if test "$wxUSE_SASH" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7746 else
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7749 fi
7750
7751
7752 enablestring=
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7755 no_cache=0
7756 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7757 if test "${enable_scrollbar+set}" = set; then
7758 enableval="$enable_scrollbar"
7759
7760 if test "$enableval" = yes; then
7761 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7762 else
7763 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7764 fi
7765
7766 else
7767
7768 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7771 else
7772 no_cache=1
7773 fi
7774
7775 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7776
7777 fi;
7778
7779 eval "$ac_cv_use_scrollbar"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7782 fi
7783
7784 if test "$wxUSE_SCROLLBAR" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7787 else
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7790 fi
7791
7792
7793 enablestring=
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7796 no_cache=0
7797 # Check whether --enable-slider or --disable-slider was given.
7798 if test "${enable_slider+set}" = set; then
7799 enableval="$enable_slider"
7800
7801 if test "$enableval" = yes; then
7802 ac_cv_use_slider='wxUSE_SLIDER=yes'
7803 else
7804 ac_cv_use_slider='wxUSE_SLIDER=no'
7805 fi
7806
7807 else
7808
7809 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7812 else
7813 no_cache=1
7814 fi
7815
7816 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7817
7818 fi;
7819
7820 eval "$ac_cv_use_slider"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test "$wxUSE_SLIDER" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7828 else
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7831 fi
7832
7833
7834 enablestring=
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7837 no_cache=0
7838 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7839 if test "${enable_spinbtn+set}" = set; then
7840 enableval="$enable_spinbtn"
7841
7842 if test "$enableval" = yes; then
7843 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7844 else
7845 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7846 fi
7847
7848 else
7849
7850 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x ; then
7852 eval "DEFAULT_$LINE"
7853 else
7854 no_cache=1
7855 fi
7856
7857 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7858
7859 fi;
7860
7861 eval "$ac_cv_use_spinbtn"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7864 fi
7865
7866 if test "$wxUSE_SPINBTN" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7869 else
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7872 fi
7873
7874
7875 enablestring=
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7878 no_cache=0
7879 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7880 if test "${enable_spinctrl+set}" = set; then
7881 enableval="$enable_spinctrl"
7882
7883 if test "$enableval" = yes; then
7884 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7885 else
7886 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7887 fi
7888
7889 else
7890
7891 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x ; then
7893 eval "DEFAULT_$LINE"
7894 else
7895 no_cache=1
7896 fi
7897
7898 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7899
7900 fi;
7901
7902 eval "$ac_cv_use_spinctrl"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7905 fi
7906
7907 if test "$wxUSE_SPINCTRL" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7910 else
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7913 fi
7914
7915
7916 enablestring=
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7919 no_cache=0
7920 # Check whether --enable-splitter or --disable-splitter was given.
7921 if test "${enable_splitter+set}" = set; then
7922 enableval="$enable_splitter"
7923
7924 if test "$enableval" = yes; then
7925 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7926 else
7927 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7928 fi
7929
7930 else
7931
7932 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7935 else
7936 no_cache=1
7937 fi
7938
7939 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7940
7941 fi;
7942
7943 eval "$ac_cv_use_splitter"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7946 fi
7947
7948 if test "$wxUSE_SPLITTER" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7951 else
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7954 fi
7955
7956
7957 enablestring=
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7960 no_cache=0
7961 # Check whether --enable-statbmp or --disable-statbmp was given.
7962 if test "${enable_statbmp+set}" = set; then
7963 enableval="$enable_statbmp"
7964
7965 if test "$enableval" = yes; then
7966 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7967 else
7968 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7969 fi
7970
7971 else
7972
7973 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x ; then
7975 eval "DEFAULT_$LINE"
7976 else
7977 no_cache=1
7978 fi
7979
7980 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7981
7982 fi;
7983
7984 eval "$ac_cv_use_statbmp"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7987 fi
7988
7989 if test "$wxUSE_STATBMP" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7992 else
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7995 fi
7996
7997
7998 enablestring=
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8001 no_cache=0
8002 # Check whether --enable-statbox or --disable-statbox was given.
8003 if test "${enable_statbox+set}" = set; then
8004 enableval="$enable_statbox"
8005
8006 if test "$enableval" = yes; then
8007 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8008 else
8009 ac_cv_use_statbox='wxUSE_STATBOX=no'
8010 fi
8011
8012 else
8013
8014 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x ; then
8016 eval "DEFAULT_$LINE"
8017 else
8018 no_cache=1
8019 fi
8020
8021 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8022
8023 fi;
8024
8025 eval "$ac_cv_use_statbox"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8028 fi
8029
8030 if test "$wxUSE_STATBOX" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8033 else
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8036 fi
8037
8038
8039 enablestring=
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8042 no_cache=0
8043 # Check whether --enable-statline or --disable-statline was given.
8044 if test "${enable_statline+set}" = set; then
8045 enableval="$enable_statline"
8046
8047 if test "$enableval" = yes; then
8048 ac_cv_use_statline='wxUSE_STATLINE=yes'
8049 else
8050 ac_cv_use_statline='wxUSE_STATLINE=no'
8051 fi
8052
8053 else
8054
8055 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8058 else
8059 no_cache=1
8060 fi
8061
8062 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8063
8064 fi;
8065
8066 eval "$ac_cv_use_statline"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8069 fi
8070
8071 if test "$wxUSE_STATLINE" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8074 else
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8077 fi
8078
8079
8080 enablestring=
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8083 no_cache=0
8084 # Check whether --enable-stattext or --disable-stattext was given.
8085 if test "${enable_stattext+set}" = set; then
8086 enableval="$enable_stattext"
8087
8088 if test "$enableval" = yes; then
8089 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8090 else
8091 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8092 fi
8093
8094 else
8095
8096 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8099 else
8100 no_cache=1
8101 fi
8102
8103 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8104
8105 fi;
8106
8107 eval "$ac_cv_use_stattext"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8110 fi
8111
8112 if test "$wxUSE_STATTEXT" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8115 else
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8118 fi
8119
8120
8121 enablestring=
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8124 no_cache=0
8125 # Check whether --enable-statusbar or --disable-statusbar was given.
8126 if test "${enable_statusbar+set}" = set; then
8127 enableval="$enable_statusbar"
8128
8129 if test "$enableval" = yes; then
8130 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8131 else
8132 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8133 fi
8134
8135 else
8136
8137 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x ; then
8139 eval "DEFAULT_$LINE"
8140 else
8141 no_cache=1
8142 fi
8143
8144 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8145
8146 fi;
8147
8148 eval "$ac_cv_use_statusbar"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8151 fi
8152
8153 if test "$wxUSE_STATUSBAR" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8156 else
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8159 fi
8160
8161
8162 enablestring=
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8165 no_cache=0
8166 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8167 if test "${enable_tabdialog+set}" = set; then
8168 enableval="$enable_tabdialog"
8169
8170 if test "$enableval" = yes; then
8171 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8172 else
8173 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8174 fi
8175
8176 else
8177
8178 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x ; then
8180 eval "DEFAULT_$LINE"
8181 else
8182 no_cache=1
8183 fi
8184
8185 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8186
8187 fi;
8188
8189 eval "$ac_cv_use_tabdialog"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8192 fi
8193
8194 if test "$wxUSE_TABDIALOG" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8197 else
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8200 fi
8201
8202
8203 enablestring=
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8206 no_cache=0
8207 # Check whether --enable-textctrl or --disable-textctrl was given.
8208 if test "${enable_textctrl+set}" = set; then
8209 enableval="$enable_textctrl"
8210
8211 if test "$enableval" = yes; then
8212 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8213 else
8214 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8215 fi
8216
8217 else
8218
8219 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8222 else
8223 no_cache=1
8224 fi
8225
8226 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8227
8228 fi;
8229
8230 eval "$ac_cv_use_textctrl"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8233 fi
8234
8235 if test "$wxUSE_TEXTCTRL" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8238 else
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8241 fi
8242
8243
8244 enablestring=
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8247 no_cache=0
8248 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8249 if test "${enable_togglebtn+set}" = set; then
8250 enableval="$enable_togglebtn"
8251
8252 if test "$enableval" = yes; then
8253 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8254 else
8255 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8256 fi
8257
8258 else
8259
8260 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x ; then
8262 eval "DEFAULT_$LINE"
8263 else
8264 no_cache=1
8265 fi
8266
8267 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8268
8269 fi;
8270
8271 eval "$ac_cv_use_togglebtn"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8274 fi
8275
8276 if test "$wxUSE_TOGGLEBTN" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8279 else
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8282 fi
8283
8284
8285 enablestring=
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8288 no_cache=0
8289 # Check whether --enable-toolbar or --disable-toolbar was given.
8290 if test "${enable_toolbar+set}" = set; then
8291 enableval="$enable_toolbar"
8292
8293 if test "$enableval" = yes; then
8294 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8295 else
8296 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8297 fi
8298
8299 else
8300
8301 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x ; then
8303 eval "DEFAULT_$LINE"
8304 else
8305 no_cache=1
8306 fi
8307
8308 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8309
8310 fi;
8311
8312 eval "$ac_cv_use_toolbar"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8315 fi
8316
8317 if test "$wxUSE_TOOLBAR" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8320 else
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8323 fi
8324
8325
8326 enablestring=
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8329 no_cache=0
8330 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8331 if test "${enable_tbarnative+set}" = set; then
8332 enableval="$enable_tbarnative"
8333
8334 if test "$enableval" = yes; then
8335 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8336 else
8337 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8338 fi
8339
8340 else
8341
8342 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x ; then
8344 eval "DEFAULT_$LINE"
8345 else
8346 no_cache=1
8347 fi
8348
8349 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8350
8351 fi;
8352
8353 eval "$ac_cv_use_tbarnative"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8356 fi
8357
8358 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8361 else
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8364 fi
8365
8366
8367 enablestring=
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8370 no_cache=0
8371 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8372 if test "${enable_tbarsmpl+set}" = set; then
8373 enableval="$enable_tbarsmpl"
8374
8375 if test "$enableval" = yes; then
8376 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8377 else
8378 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8379 fi
8380
8381 else
8382
8383 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x ; then
8385 eval "DEFAULT_$LINE"
8386 else
8387 no_cache=1
8388 fi
8389
8390 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8391
8392 fi;
8393
8394 eval "$ac_cv_use_tbarsmpl"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8397 fi
8398
8399 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8402 else
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8405 fi
8406
8407
8408 enablestring=
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8411 no_cache=0
8412 # Check whether --enable-treectrl or --disable-treectrl was given.
8413 if test "${enable_treectrl+set}" = set; then
8414 enableval="$enable_treectrl"
8415
8416 if test "$enableval" = yes; then
8417 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8418 else
8419 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8420 fi
8421
8422 else
8423
8424 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8427 else
8428 no_cache=1
8429 fi
8430
8431 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8432
8433 fi;
8434
8435 eval "$ac_cv_use_treectrl"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8438 fi
8439
8440 if test "$wxUSE_TREECTRL" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8443 else
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8446 fi
8447
8448
8449 enablestring=
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8452 no_cache=0
8453 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8454 if test "${enable_tipwindow+set}" = set; then
8455 enableval="$enable_tipwindow"
8456
8457 if test "$enableval" = yes; then
8458 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8459 else
8460 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8461 fi
8462
8463 else
8464
8465 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8468 else
8469 no_cache=1
8470 fi
8471
8472 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8473
8474 fi;
8475
8476 eval "$ac_cv_use_tipwindow"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8479 fi
8480
8481 if test "$wxUSE_TIPWINDOW" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8484 else
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8487 fi
8488
8489
8490 enablestring=
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8493 no_cache=0
8494 # Check whether --enable-popupwin or --disable-popupwin was given.
8495 if test "${enable_popupwin+set}" = set; then
8496 enableval="$enable_popupwin"
8497
8498 if test "$enableval" = yes; then
8499 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8500 else
8501 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8502 fi
8503
8504 else
8505
8506 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x ; then
8508 eval "DEFAULT_$LINE"
8509 else
8510 no_cache=1
8511 fi
8512
8513 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8514
8515 fi;
8516
8517 eval "$ac_cv_use_popupwin"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8520 fi
8521
8522 if test "$wxUSE_POPUPWIN" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8525 else
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8528 fi
8529
8530
8531
8532
8533 enablestring=
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8536 no_cache=0
8537 # Check whether --enable-commondlg or --disable-commondlg was given.
8538 if test "${enable_commondlg+set}" = set; then
8539 enableval="$enable_commondlg"
8540
8541 if test "$enableval" = yes; then
8542 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8543 else
8544 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8545 fi
8546
8547 else
8548
8549 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8552 else
8553 no_cache=1
8554 fi
8555
8556 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8557
8558 fi;
8559
8560 eval "$ac_cv_use_commondlg"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8563 fi
8564
8565 if test "$wxUSE_COMMONDLGS" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8568 else
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8571 fi
8572
8573
8574 enablestring=
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8577 no_cache=0
8578 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8579 if test "${enable_choicedlg+set}" = set; then
8580 enableval="$enable_choicedlg"
8581
8582 if test "$enableval" = yes; then
8583 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8584 else
8585 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8586 fi
8587
8588 else
8589
8590 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8598
8599 fi;
8600
8601 eval "$ac_cv_use_choicedlg"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8604 fi
8605
8606 if test "$wxUSE_CHOICEDLG" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8609 else
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8612 fi
8613
8614
8615 enablestring=
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8618 no_cache=0
8619 # Check whether --enable-coldlg or --disable-coldlg was given.
8620 if test "${enable_coldlg+set}" = set; then
8621 enableval="$enable_coldlg"
8622
8623 if test "$enableval" = yes; then
8624 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8625 else
8626 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8627 fi
8628
8629 else
8630
8631 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8634 else
8635 no_cache=1
8636 fi
8637
8638 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8639
8640 fi;
8641
8642 eval "$ac_cv_use_coldlg"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8645 fi
8646
8647 if test "$wxUSE_COLOURDLG" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8650 else
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8653 fi
8654
8655
8656 enablestring=
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8659 no_cache=0
8660 # Check whether --enable-filedlg or --disable-filedlg was given.
8661 if test "${enable_filedlg+set}" = set; then
8662 enableval="$enable_filedlg"
8663
8664 if test "$enableval" = yes; then
8665 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8666 else
8667 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8668 fi
8669
8670 else
8671
8672 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8675 else
8676 no_cache=1
8677 fi
8678
8679 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8680
8681 fi;
8682
8683 eval "$ac_cv_use_filedlg"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8686 fi
8687
8688 if test "$wxUSE_FILEDLG" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8691 else
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8694 fi
8695
8696
8697 enablestring=
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8700 no_cache=0
8701 # Check whether --enable-finddlg or --disable-finddlg was given.
8702 if test "${enable_finddlg+set}" = set; then
8703 enableval="$enable_finddlg"
8704
8705 if test "$enableval" = yes; then
8706 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8707 else
8708 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8709 fi
8710
8711 else
8712
8713 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 else
8717 no_cache=1
8718 fi
8719
8720 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8721
8722 fi;
8723
8724 eval "$ac_cv_use_finddlg"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8727 fi
8728
8729 if test "$wxUSE_FINDREPLDLG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8732 else
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8735 fi
8736
8737
8738 enablestring=
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8741 no_cache=0
8742 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8743 if test "${enable_fontdlg+set}" = set; then
8744 enableval="$enable_fontdlg"
8745
8746 if test "$enableval" = yes; then
8747 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8748 else
8749 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8750 fi
8751
8752 else
8753
8754 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8757 else
8758 no_cache=1
8759 fi
8760
8761 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8762
8763 fi;
8764
8765 eval "$ac_cv_use_fontdlg"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8768 fi
8769
8770 if test "$wxUSE_FONTDLG" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8773 else
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8776 fi
8777
8778
8779 enablestring=
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8782 no_cache=0
8783 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8784 if test "${enable_dirdlg+set}" = set; then
8785 enableval="$enable_dirdlg"
8786
8787 if test "$enableval" = yes; then
8788 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8789 else
8790 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8791 fi
8792
8793 else
8794
8795 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8798 else
8799 no_cache=1
8800 fi
8801
8802 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8803
8804 fi;
8805
8806 eval "$ac_cv_use_dirdlg"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8809 fi
8810
8811 if test "$wxUSE_DIRDLG" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8814 else
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8817 fi
8818
8819
8820 enablestring=
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8823 no_cache=0
8824 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8825 if test "${enable_msgdlg+set}" = set; then
8826 enableval="$enable_msgdlg"
8827
8828 if test "$enableval" = yes; then
8829 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8830 else
8831 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8832 fi
8833
8834 else
8835
8836 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 else
8840 no_cache=1
8841 fi
8842
8843 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8844
8845 fi;
8846
8847 eval "$ac_cv_use_msgdlg"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8850 fi
8851
8852 if test "$wxUSE_MSGDLG" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8855 else
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8858 fi
8859
8860
8861 enablestring=
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8864 no_cache=0
8865 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8866 if test "${enable_numberdlg+set}" = set; then
8867 enableval="$enable_numberdlg"
8868
8869 if test "$enableval" = yes; then
8870 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8871 else
8872 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8873 fi
8874
8875 else
8876
8877 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8880 else
8881 no_cache=1
8882 fi
8883
8884 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8885
8886 fi;
8887
8888 eval "$ac_cv_use_numberdlg"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8891 fi
8892
8893 if test "$wxUSE_NUMBERDLG" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8896 else
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8899 fi
8900
8901
8902 enablestring=
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8905 no_cache=0
8906 # Check whether --enable-splash or --disable-splash was given.
8907 if test "${enable_splash+set}" = set; then
8908 enableval="$enable_splash"
8909
8910 if test "$enableval" = yes; then
8911 ac_cv_use_splash='wxUSE_SPLASH=yes'
8912 else
8913 ac_cv_use_splash='wxUSE_SPLASH=no'
8914 fi
8915
8916 else
8917
8918 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8921 else
8922 no_cache=1
8923 fi
8924
8925 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8926
8927 fi;
8928
8929 eval "$ac_cv_use_splash"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8932 fi
8933
8934 if test "$wxUSE_SPLASH" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8937 else
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8940 fi
8941
8942
8943 enablestring=
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8946 no_cache=0
8947 # Check whether --enable-textdlg or --disable-textdlg was given.
8948 if test "${enable_textdlg+set}" = set; then
8949 enableval="$enable_textdlg"
8950
8951 if test "$enableval" = yes; then
8952 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8953 else
8954 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8955 fi
8956
8957 else
8958
8959 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8962 else
8963 no_cache=1
8964 fi
8965
8966 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8967
8968 fi;
8969
8970 eval "$ac_cv_use_textdlg"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8973 fi
8974
8975 if test "$wxUSE_TEXTDLG" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8978 else
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8981 fi
8982
8983
8984 enablestring=
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8987 no_cache=0
8988 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8989 if test "${enable_tipdlg+set}" = set; then
8990 enableval="$enable_tipdlg"
8991
8992 if test "$enableval" = yes; then
8993 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8994 else
8995 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8996 fi
8997
8998 else
8999
9000 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9003 else
9004 no_cache=1
9005 fi
9006
9007 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9008
9009 fi;
9010
9011 eval "$ac_cv_use_tipdlg"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9014 fi
9015
9016 if test "$wxUSE_STARTUP_TIPS" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9019 else
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9022 fi
9023
9024
9025 enablestring=
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9028 no_cache=0
9029 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9030 if test "${enable_progressdlg+set}" = set; then
9031 enableval="$enable_progressdlg"
9032
9033 if test "$enableval" = yes; then
9034 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9035 else
9036 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9037 fi
9038
9039 else
9040
9041 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9044 else
9045 no_cache=1
9046 fi
9047
9048 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9049
9050 fi;
9051
9052 eval "$ac_cv_use_progressdlg"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9055 fi
9056
9057 if test "$wxUSE_PROGRESSDLG" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9060 else
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9063 fi
9064
9065
9066 enablestring=
9067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9069 no_cache=0
9070 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9071 if test "${enable_wizarddlg+set}" = set; then
9072 enableval="$enable_wizarddlg"
9073
9074 if test "$enableval" = yes; then
9075 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9076 else
9077 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9078 fi
9079
9080 else
9081
9082 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9083 if test "x$LINE" != x ; then
9084 eval "DEFAULT_$LINE"
9085 else
9086 no_cache=1
9087 fi
9088
9089 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9090
9091 fi;
9092
9093 eval "$ac_cv_use_wizarddlg"
9094 if test "$no_cache" != 1; then
9095 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9096 fi
9097
9098 if test "$wxUSE_WIZARDDLG" = yes; then
9099 echo "$as_me:$LINENO: result: yes" >&5
9100 echo "${ECHO_T}yes" >&6
9101 else
9102 echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6
9104 fi
9105
9106
9107
9108
9109 enablestring=
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9112 no_cache=0
9113 # Check whether --enable-menus or --disable-menus was given.
9114 if test "${enable_menus+set}" = set; then
9115 enableval="$enable_menus"
9116
9117 if test "$enableval" = yes; then
9118 ac_cv_use_menus='wxUSE_MENUS=yes'
9119 else
9120 ac_cv_use_menus='wxUSE_MENUS=no'
9121 fi
9122
9123 else
9124
9125 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x ; then
9127 eval "DEFAULT_$LINE"
9128 else
9129 no_cache=1
9130 fi
9131
9132 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9133
9134 fi;
9135
9136 eval "$ac_cv_use_menus"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9139 fi
9140
9141 if test "$wxUSE_MENUS" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9144 else
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9147 fi
9148
9149
9150 enablestring=
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9153 no_cache=0
9154 # Check whether --enable-miniframe or --disable-miniframe was given.
9155 if test "${enable_miniframe+set}" = set; then
9156 enableval="$enable_miniframe"
9157
9158 if test "$enableval" = yes; then
9159 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9160 else
9161 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9162 fi
9163
9164 else
9165
9166 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9169 else
9170 no_cache=1
9171 fi
9172
9173 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9174
9175 fi;
9176
9177 eval "$ac_cv_use_miniframe"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9180 fi
9181
9182 if test "$wxUSE_MINIFRAME" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9185 else
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9188 fi
9189
9190
9191 enablestring=
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9194 no_cache=0
9195 # Check whether --enable-tooltips or --disable-tooltips was given.
9196 if test "${enable_tooltips+set}" = set; then
9197 enableval="$enable_tooltips"
9198
9199 if test "$enableval" = yes; then
9200 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9201 else
9202 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9203 fi
9204
9205 else
9206
9207 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x ; then
9209 eval "DEFAULT_$LINE"
9210 else
9211 no_cache=1
9212 fi
9213
9214 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9215
9216 fi;
9217
9218 eval "$ac_cv_use_tooltips"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9221 fi
9222
9223 if test "$wxUSE_TOOLTIPS" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9226 else
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9229 fi
9230
9231
9232 enablestring=
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9235 no_cache=0
9236 # Check whether --enable-splines or --disable-splines was given.
9237 if test "${enable_splines+set}" = set; then
9238 enableval="$enable_splines"
9239
9240 if test "$enableval" = yes; then
9241 ac_cv_use_splines='wxUSE_SPLINES=yes'
9242 else
9243 ac_cv_use_splines='wxUSE_SPLINES=no'
9244 fi
9245
9246 else
9247
9248 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x ; then
9250 eval "DEFAULT_$LINE"
9251 else
9252 no_cache=1
9253 fi
9254
9255 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9256
9257 fi;
9258
9259 eval "$ac_cv_use_splines"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9262 fi
9263
9264 if test "$wxUSE_SPLINES" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9267 else
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9270 fi
9271
9272
9273 enablestring=
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9276 no_cache=0
9277 # Check whether --enable-validators or --disable-validators was given.
9278 if test "${enable_validators+set}" = set; then
9279 enableval="$enable_validators"
9280
9281 if test "$enableval" = yes; then
9282 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9283 else
9284 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9285 fi
9286
9287 else
9288
9289 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9292 else
9293 no_cache=1
9294 fi
9295
9296 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9297
9298 fi;
9299
9300 eval "$ac_cv_use_validators"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9303 fi
9304
9305 if test "$wxUSE_VALIDATORS" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9308 else
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9311 fi
9312
9313
9314 enablestring=
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9317 no_cache=0
9318 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9319 if test "${enable_busyinfo+set}" = set; then
9320 enableval="$enable_busyinfo"
9321
9322 if test "$enableval" = yes; then
9323 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9324 else
9325 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9326 fi
9327
9328 else
9329
9330 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9333 else
9334 no_cache=1
9335 fi
9336
9337 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9338
9339 fi;
9340
9341 eval "$ac_cv_use_busyinfo"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9344 fi
9345
9346 if test "$wxUSE_BUSYINFO" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9349 else
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9352 fi
9353
9354
9355 enablestring=
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9358 no_cache=0
9359 # Check whether --enable-joystick or --disable-joystick was given.
9360 if test "${enable_joystick+set}" = set; then
9361 enableval="$enable_joystick"
9362
9363 if test "$enableval" = yes; then
9364 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9365 else
9366 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9367 fi
9368
9369 else
9370
9371 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9374 else
9375 no_cache=1
9376 fi
9377
9378 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9379
9380 fi;
9381
9382 eval "$ac_cv_use_joystick"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9385 fi
9386
9387 if test "$wxUSE_JOYSTICK" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9390 else
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9393 fi
9394
9395
9396 enablestring=
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9399 no_cache=0
9400 # Check whether --enable-metafile or --disable-metafile was given.
9401 if test "${enable_metafile+set}" = set; then
9402 enableval="$enable_metafile"
9403
9404 if test "$enableval" = yes; then
9405 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9406 else
9407 ac_cv_use_metafile='wxUSE_METAFILE=no'
9408 fi
9409
9410 else
9411
9412 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9415 else
9416 no_cache=1
9417 fi
9418
9419 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9420
9421 fi;
9422
9423 eval "$ac_cv_use_metafile"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9426 fi
9427
9428 if test "$wxUSE_METAFILE" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9431 else
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9434 fi
9435
9436
9437 enablestring=
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9440 no_cache=0
9441 # Check whether --enable-dragimage or --disable-dragimage was given.
9442 if test "${enable_dragimage+set}" = set; then
9443 enableval="$enable_dragimage"
9444
9445 if test "$enableval" = yes; then
9446 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9447 else
9448 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9449 fi
9450
9451 else
9452
9453 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9456 else
9457 no_cache=1
9458 fi
9459
9460 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9461
9462 fi;
9463
9464 eval "$ac_cv_use_dragimage"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9467 fi
9468
9469 if test "$wxUSE_DRAGIMAGE" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9472 else
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9475 fi
9476
9477
9478 enablestring=
9479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9480 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9481 no_cache=0
9482 # Check whether --enable-accessibility or --disable-accessibility was given.
9483 if test "${enable_accessibility+set}" = set; then
9484 enableval="$enable_accessibility"
9485
9486 if test "$enableval" = yes; then
9487 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9488 else
9489 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9490 fi
9491
9492 else
9493
9494 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9495 if test "x$LINE" != x ; then
9496 eval "DEFAULT_$LINE"
9497 else
9498 no_cache=1
9499 fi
9500
9501 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9502
9503 fi;
9504
9505 eval "$ac_cv_use_accessibility"
9506 if test "$no_cache" != 1; then
9507 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9508 fi
9509
9510 if test "$wxUSE_ACCESSIBILITY" = yes; then
9511 echo "$as_me:$LINENO: result: yes" >&5
9512 echo "${ECHO_T}yes" >&6
9513 else
9514 echo "$as_me:$LINENO: result: no" >&5
9515 echo "${ECHO_T}no" >&6
9516 fi
9517
9518
9519
9520
9521 enablestring=
9522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9524 no_cache=0
9525 # Check whether --enable-palette or --disable-palette was given.
9526 if test "${enable_palette+set}" = set; then
9527 enableval="$enable_palette"
9528
9529 if test "$enableval" = yes; then
9530 ac_cv_use_palette='wxUSE_PALETTE=yes'
9531 else
9532 ac_cv_use_palette='wxUSE_PALETTE=no'
9533 fi
9534
9535 else
9536
9537 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9538 if test "x$LINE" != x ; then
9539 eval "DEFAULT_$LINE"
9540 else
9541 no_cache=1
9542 fi
9543
9544 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9545
9546 fi;
9547
9548 eval "$ac_cv_use_palette"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9551 fi
9552
9553 if test "$wxUSE_PALETTE" = yes; then
9554 echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6
9556 else
9557 echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6
9559 fi
9560
9561
9562 enablestring=
9563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9565 no_cache=0
9566 # Check whether --enable-image or --disable-image was given.
9567 if test "${enable_image+set}" = set; then
9568 enableval="$enable_image"
9569
9570 if test "$enableval" = yes; then
9571 ac_cv_use_image='wxUSE_IMAGE=yes'
9572 else
9573 ac_cv_use_image='wxUSE_IMAGE=no'
9574 fi
9575
9576 else
9577
9578 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9579 if test "x$LINE" != x ; then
9580 eval "DEFAULT_$LINE"
9581 else
9582 no_cache=1
9583 fi
9584
9585 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9586
9587 fi;
9588
9589 eval "$ac_cv_use_image"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9592 fi
9593
9594 if test "$wxUSE_IMAGE" = yes; then
9595 echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6
9597 else
9598 echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6
9600 fi
9601
9602
9603 enablestring=
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9606 no_cache=0
9607 # Check whether --enable-gif or --disable-gif was given.
9608 if test "${enable_gif+set}" = set; then
9609 enableval="$enable_gif"
9610
9611 if test "$enableval" = yes; then
9612 ac_cv_use_gif='wxUSE_GIF=yes'
9613 else
9614 ac_cv_use_gif='wxUSE_GIF=no'
9615 fi
9616
9617 else
9618
9619 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9622 else
9623 no_cache=1
9624 fi
9625
9626 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9627
9628 fi;
9629
9630 eval "$ac_cv_use_gif"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9633 fi
9634
9635 if test "$wxUSE_GIF" = yes; then
9636 echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9638 else
9639 echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6
9641 fi
9642
9643
9644 enablestring=
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9647 no_cache=0
9648 # Check whether --enable-pcx or --disable-pcx was given.
9649 if test "${enable_pcx+set}" = set; then
9650 enableval="$enable_pcx"
9651
9652 if test "$enableval" = yes; then
9653 ac_cv_use_pcx='wxUSE_PCX=yes'
9654 else
9655 ac_cv_use_pcx='wxUSE_PCX=no'
9656 fi
9657
9658 else
9659
9660 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x ; then
9662 eval "DEFAULT_$LINE"
9663 else
9664 no_cache=1
9665 fi
9666
9667 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9668
9669 fi;
9670
9671 eval "$ac_cv_use_pcx"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9674 fi
9675
9676 if test "$wxUSE_PCX" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9679 else
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9682 fi
9683
9684
9685 enablestring=
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9688 no_cache=0
9689 # Check whether --enable-iff or --disable-iff was given.
9690 if test "${enable_iff+set}" = set; then
9691 enableval="$enable_iff"
9692
9693 if test "$enableval" = yes; then
9694 ac_cv_use_iff='wxUSE_IFF=yes'
9695 else
9696 ac_cv_use_iff='wxUSE_IFF=no'
9697 fi
9698
9699 else
9700
9701 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9704 else
9705 no_cache=1
9706 fi
9707
9708 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9709
9710 fi;
9711
9712 eval "$ac_cv_use_iff"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9715 fi
9716
9717 if test "$wxUSE_IFF" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9720 else
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9723 fi
9724
9725
9726 enablestring=
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9729 no_cache=0
9730 # Check whether --enable-pnm or --disable-pnm was given.
9731 if test "${enable_pnm+set}" = set; then
9732 enableval="$enable_pnm"
9733
9734 if test "$enableval" = yes; then
9735 ac_cv_use_pnm='wxUSE_PNM=yes'
9736 else
9737 ac_cv_use_pnm='wxUSE_PNM=no'
9738 fi
9739
9740 else
9741
9742 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9745 else
9746 no_cache=1
9747 fi
9748
9749 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9750
9751 fi;
9752
9753 eval "$ac_cv_use_pnm"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9756 fi
9757
9758 if test "$wxUSE_PNM" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9761 else
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9764 fi
9765
9766
9767 enablestring=
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9770 no_cache=0
9771 # Check whether --enable-xpm or --disable-xpm was given.
9772 if test "${enable_xpm+set}" = set; then
9773 enableval="$enable_xpm"
9774
9775 if test "$enableval" = yes; then
9776 ac_cv_use_xpm='wxUSE_XPM=yes'
9777 else
9778 ac_cv_use_xpm='wxUSE_XPM=no'
9779 fi
9780
9781 else
9782
9783 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9786 else
9787 no_cache=1
9788 fi
9789
9790 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9791
9792 fi;
9793
9794 eval "$ac_cv_use_xpm"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9797 fi
9798
9799 if test "$wxUSE_XPM" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9802 else
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9805 fi
9806
9807
9808 enablestring=
9809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9811 no_cache=0
9812 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9813 if test "${enable_ico_cur+set}" = set; then
9814 enableval="$enable_ico_cur"
9815
9816 if test "$enableval" = yes; then
9817 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9818 else
9819 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9820 fi
9821
9822 else
9823
9824 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9825 if test "x$LINE" != x ; then
9826 eval "DEFAULT_$LINE"
9827 else
9828 no_cache=1
9829 fi
9830
9831 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9832
9833 fi;
9834
9835 eval "$ac_cv_use_ico_cur"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9838 fi
9839
9840 if test "$wxUSE_ICO_CUR" = yes; then
9841 echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6
9843 else
9844 echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6
9846 fi
9847
9848
9849 fi
9850
9851
9852
9853 enablestring=
9854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9855 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9856 no_cache=0
9857 # Check whether --enable-official_build or --disable-official_build was given.
9858 if test "${enable_official_build+set}" = set; then
9859 enableval="$enable_official_build"
9860
9861 if test "$enableval" = yes; then
9862 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9863 else
9864 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9865 fi
9866
9867 else
9868
9869 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9870 if test "x$LINE" != x ; then
9871 eval "DEFAULT_$LINE"
9872 else
9873 no_cache=1
9874 fi
9875
9876 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9877
9878 fi;
9879
9880 eval "$ac_cv_use_official_build"
9881 if test "$no_cache" != 1; then
9882 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9883 fi
9884
9885 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9886 echo "$as_me:$LINENO: result: yes" >&5
9887 echo "${ECHO_T}yes" >&6
9888 else
9889 echo "$as_me:$LINENO: result: no" >&5
9890 echo "${ECHO_T}no" >&6
9891 fi
9892
9893 # Check whether --enable-vendor or --disable-vendor was given.
9894 if test "${enable_vendor+set}" = set; then
9895 enableval="$enable_vendor"
9896 VENDOR="$enableval"
9897 fi;
9898 if test "x$VENDOR" = "x"; then
9899 VENDOR="custom"
9900 fi
9901
9902 case "${host}" in
9903 *-pc-os2_emx | *-pc-os2-emx )
9904 PATH_IFS=';'
9905 ;;
9906 *)
9907 PATH_IFS=':'
9908 ;;
9909 esac
9910
9911
9912
9913 echo "saving argument cache $wx_arg_cache_file"
9914 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9915
9916
9917
9918 echo "$as_me:$LINENO: checking for toolkit" >&5
9919 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9920
9921 # In Wine, we need to default to MSW, not GTK or MOTIF
9922 if test "$wxUSE_WINE" = "yes"; then
9923 DEFAULT_DEFAULT_wxUSE_GTK=0
9924 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9925 DEFAULT_DEFAULT_wxUSE_MSW=1
9926 wxUSE_SHARED=no
9927 fi
9928
9929 if test "$wxUSE_GUI" = "yes"; then
9930
9931 if test "$USE_BEOS" = 1; then
9932 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9933 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9934 { (exit 1); exit 1; }; }
9935 fi
9936
9937 if test "$TOOLKIT_GIVEN" = 1; then
9938 for toolkit in `echo $ALL_TOOLKITS`; do
9939 var=wxUSE_$toolkit
9940 eval "value=\$${var}"
9941 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9942 done
9943 else
9944 for toolkit in `echo $ALL_TOOLKITS`; do
9945 if test "$has_toolkit_in_cache" != 1; then
9946 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9947 else
9948 var=DEFAULT_wxUSE_$toolkit
9949 fi
9950 eval "wxUSE_$toolkit=\$${var}"
9951 done
9952 fi
9953
9954 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9955 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9956 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9957
9958 case "${host}" in
9959 *-pc-os2_emx | *-pc-os2-emx )
9960 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9961 esac
9962
9963 case "$NUM_TOOLKITS" in
9964 1)
9965 ;;
9966 0)
9967 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9968 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9969 { (exit 1); exit 1; }; }
9970 ;;
9971 *)
9972 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9973 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9974 { (exit 1); exit 1; }; }
9975 esac
9976
9977 for toolkit in `echo $ALL_TOOLKITS`; do
9978 var=wxUSE_$toolkit
9979 eval "value=\$${var}"
9980 if test "x$value" != x; then
9981 cache_var=CACHE_$toolkit
9982 eval "cache=\$${cache_var}"
9983 if test "$cache" = 1; then
9984 echo "$var=$value" >> ${wx_arg_cache_file}
9985 fi
9986 if test "$value" = 1; then
9987 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9988 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9989 echo "${ECHO_T}$toolkit_echo" >&6
9990 fi
9991 fi
9992 done
9993 else
9994 if test "x$host_alias" != "x"; then
9995 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9996 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9997 else
9998 echo "$as_me:$LINENO: result: base only" >&5
9999 echo "${ECHO_T}base only" >&6
10000 fi
10001 fi
10002
10003 wants_win32=0
10004 doesnt_want_win32=0
10005 case "${host}" in
10006 *-*-cygwin*)
10007 if test "$wxUSE_MSW" = 1 ; then
10008 wants_win32=1
10009 else
10010 doesnt_want_win32=1
10011 fi
10012 ;;
10013 *-*-mingw*)
10014 wants_win32=1
10015 ;;
10016 esac
10017
10018 if test "$wxUSE_WINE" = "yes"; then
10019 wants_win32=1
10020 CC=winegcc
10021 CXX=wineg++
10022 RESCOMP=wrc
10023 LDFLAGS_GUI="-mwindows"
10024 fi
10025
10026 if test "$wants_win32" = 1 ; then
10027 USE_UNIX=0
10028 USE_WIN32=1
10029 cat >>confdefs.h <<\_ACEOF
10030 #define __WIN32__ 1
10031 _ACEOF
10032
10033 cat >>confdefs.h <<\_ACEOF
10034 #define __WIN95__ 1
10035 _ACEOF
10036
10037 cat >>confdefs.h <<\_ACEOF
10038 #define __WINDOWS__ 1
10039 _ACEOF
10040
10041 cat >>confdefs.h <<\_ACEOF
10042 #define __GNUWIN32__ 1
10043 _ACEOF
10044
10045 cat >>confdefs.h <<\_ACEOF
10046 #define STRICT 1
10047 _ACEOF
10048
10049 cat >>confdefs.h <<\_ACEOF
10050 #define WINVER 0x0400
10051 _ACEOF
10052
10053 fi
10054 if test "$doesnt_want_win32" = 1 ; then
10055 USE_UNIX=1
10056 USE_WIN32=0
10057 fi
10058
10059 if test "$USE_UNIX" = 1 ; then
10060 wxUSE_UNIX=yes
10061 cat >>confdefs.h <<\_ACEOF
10062 #define __UNIX__ 1
10063 _ACEOF
10064
10065 fi
10066
10067
10068 cat >confcache <<\_ACEOF
10069 # This file is a shell script that caches the results of configure
10070 # tests run on this system so they can be shared between configure
10071 # scripts and configure runs, see configure's option --config-cache.
10072 # It is not useful on other systems. If it contains results you don't
10073 # want to keep, you may remove or edit it.
10074 #
10075 # config.status only pays attention to the cache file if you give it
10076 # the --recheck option to rerun configure.
10077 #
10078 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10079 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10080 # following values.
10081
10082 _ACEOF
10083
10084 # The following way of writing the cache mishandles newlines in values,
10085 # but we know of no workaround that is simple, portable, and efficient.
10086 # So, don't put newlines in cache variables' values.
10087 # Ultrix sh set writes to stderr and can't be redirected directly,
10088 # and sets the high bit in the cache file unless we assign to the vars.
10089 {
10090 (set) 2>&1 |
10091 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10092 *ac_space=\ *)
10093 # `set' does not quote correctly, so add quotes (double-quote
10094 # substitution turns \\\\ into \\, and sed turns \\ into \).
10095 sed -n \
10096 "s/'/'\\\\''/g;
10097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10098 ;;
10099 *)
10100 # `set' quotes correctly as required by POSIX, so do not add quotes.
10101 sed -n \
10102 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10103 ;;
10104 esac;
10105 } |
10106 sed '
10107 t clear
10108 : clear
10109 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10110 t end
10111 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10112 : end' >>confcache
10113 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10114 if test -w $cache_file; then
10115 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10116 cat confcache >$cache_file
10117 else
10118 echo "not updating unwritable cache $cache_file"
10119 fi
10120 fi
10121 rm -f confcache
10122
10123 if test "$build" != "$host" ; then
10124 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10125 CC=$host_alias-gcc
10126 CXX=$host_alias-c++
10127 AR=$host_alias-ar
10128 RANLIB=$host_alias-ranlib
10129 DLLTOOL=$host_alias-dlltool
10130 RESCOMP=$host_alias-windres
10131 LD=$host_alias-ld
10132 NM=$host_alias-nm
10133 STRIP=$host_alias-strip
10134 else
10135 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10136 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10137 { (exit 1); exit 1; }; }
10138 fi
10139 fi
10140
10141 CFLAGS=${CFLAGS:=}
10142 ac_ext=c
10143 ac_cpp='$CPP $CPPFLAGS'
10144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10147 if test -n "$ac_tool_prefix"; then
10148 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10149 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10150 echo "$as_me:$LINENO: checking for $ac_word" >&5
10151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10152 if test "${ac_cv_prog_CC+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 else
10155 if test -n "$CC"; then
10156 ac_cv_prog_CC="$CC" # Let the user override the test.
10157 else
10158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10159 for as_dir in $PATH
10160 do
10161 IFS=$as_save_IFS
10162 test -z "$as_dir" && as_dir=.
10163 for ac_exec_ext in '' $ac_executable_extensions; do
10164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10165 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10167 break 2
10168 fi
10169 done
10170 done
10171
10172 fi
10173 fi
10174 CC=$ac_cv_prog_CC
10175 if test -n "$CC"; then
10176 echo "$as_me:$LINENO: result: $CC" >&5
10177 echo "${ECHO_T}$CC" >&6
10178 else
10179 echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6
10181 fi
10182
10183 fi
10184 if test -z "$ac_cv_prog_CC"; then
10185 ac_ct_CC=$CC
10186 # Extract the first word of "gcc", so it can be a program name with args.
10187 set dummy gcc; ac_word=$2
10188 echo "$as_me:$LINENO: checking for $ac_word" >&5
10189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10190 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10191 echo $ECHO_N "(cached) $ECHO_C" >&6
10192 else
10193 if test -n "$ac_ct_CC"; then
10194 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10195 else
10196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10197 for as_dir in $PATH
10198 do
10199 IFS=$as_save_IFS
10200 test -z "$as_dir" && as_dir=.
10201 for ac_exec_ext in '' $ac_executable_extensions; do
10202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10203 ac_cv_prog_ac_ct_CC="gcc"
10204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10205 break 2
10206 fi
10207 done
10208 done
10209
10210 fi
10211 fi
10212 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10213 if test -n "$ac_ct_CC"; then
10214 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10215 echo "${ECHO_T}$ac_ct_CC" >&6
10216 else
10217 echo "$as_me:$LINENO: result: no" >&5
10218 echo "${ECHO_T}no" >&6
10219 fi
10220
10221 CC=$ac_ct_CC
10222 else
10223 CC="$ac_cv_prog_CC"
10224 fi
10225
10226 if test -z "$CC"; then
10227 if test -n "$ac_tool_prefix"; then
10228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10229 set dummy ${ac_tool_prefix}cc; ac_word=$2
10230 echo "$as_me:$LINENO: checking for $ac_word" >&5
10231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10232 if test "${ac_cv_prog_CC+set}" = set; then
10233 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 else
10235 if test -n "$CC"; then
10236 ac_cv_prog_CC="$CC" # Let the user override the test.
10237 else
10238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10239 for as_dir in $PATH
10240 do
10241 IFS=$as_save_IFS
10242 test -z "$as_dir" && as_dir=.
10243 for ac_exec_ext in '' $ac_executable_extensions; do
10244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10245 ac_cv_prog_CC="${ac_tool_prefix}cc"
10246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10247 break 2
10248 fi
10249 done
10250 done
10251
10252 fi
10253 fi
10254 CC=$ac_cv_prog_CC
10255 if test -n "$CC"; then
10256 echo "$as_me:$LINENO: result: $CC" >&5
10257 echo "${ECHO_T}$CC" >&6
10258 else
10259 echo "$as_me:$LINENO: result: no" >&5
10260 echo "${ECHO_T}no" >&6
10261 fi
10262
10263 fi
10264 if test -z "$ac_cv_prog_CC"; then
10265 ac_ct_CC=$CC
10266 # Extract the first word of "cc", so it can be a program name with args.
10267 set dummy cc; ac_word=$2
10268 echo "$as_me:$LINENO: checking for $ac_word" >&5
10269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 else
10273 if test -n "$ac_ct_CC"; then
10274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10275 else
10276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10277 for as_dir in $PATH
10278 do
10279 IFS=$as_save_IFS
10280 test -z "$as_dir" && as_dir=.
10281 for ac_exec_ext in '' $ac_executable_extensions; do
10282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10283 ac_cv_prog_ac_ct_CC="cc"
10284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10285 break 2
10286 fi
10287 done
10288 done
10289
10290 fi
10291 fi
10292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10293 if test -n "$ac_ct_CC"; then
10294 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10295 echo "${ECHO_T}$ac_ct_CC" >&6
10296 else
10297 echo "$as_me:$LINENO: result: no" >&5
10298 echo "${ECHO_T}no" >&6
10299 fi
10300
10301 CC=$ac_ct_CC
10302 else
10303 CC="$ac_cv_prog_CC"
10304 fi
10305
10306 fi
10307 if test -z "$CC"; then
10308 # Extract the first word of "cc", so it can be a program name with args.
10309 set dummy cc; ac_word=$2
10310 echo "$as_me:$LINENO: checking for $ac_word" >&5
10311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10312 if test "${ac_cv_prog_CC+set}" = set; then
10313 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 else
10315 if test -n "$CC"; then
10316 ac_cv_prog_CC="$CC" # Let the user override the test.
10317 else
10318 ac_prog_rejected=no
10319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10320 for as_dir in $PATH
10321 do
10322 IFS=$as_save_IFS
10323 test -z "$as_dir" && as_dir=.
10324 for ac_exec_ext in '' $ac_executable_extensions; do
10325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10326 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10327 ac_prog_rejected=yes
10328 continue
10329 fi
10330 ac_cv_prog_CC="cc"
10331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10332 break 2
10333 fi
10334 done
10335 done
10336
10337 if test $ac_prog_rejected = yes; then
10338 # We found a bogon in the path, so make sure we never use it.
10339 set dummy $ac_cv_prog_CC
10340 shift
10341 if test $# != 0; then
10342 # We chose a different compiler from the bogus one.
10343 # However, it has the same basename, so the bogon will be chosen
10344 # first if we set CC to just the basename; use the full file name.
10345 shift
10346 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10347 fi
10348 fi
10349 fi
10350 fi
10351 CC=$ac_cv_prog_CC
10352 if test -n "$CC"; then
10353 echo "$as_me:$LINENO: result: $CC" >&5
10354 echo "${ECHO_T}$CC" >&6
10355 else
10356 echo "$as_me:$LINENO: result: no" >&5
10357 echo "${ECHO_T}no" >&6
10358 fi
10359
10360 fi
10361 if test -z "$CC"; then
10362 if test -n "$ac_tool_prefix"; then
10363 for ac_prog in cl
10364 do
10365 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10366 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10367 echo "$as_me:$LINENO: checking for $ac_word" >&5
10368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10369 if test "${ac_cv_prog_CC+set}" = set; then
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 else
10372 if test -n "$CC"; then
10373 ac_cv_prog_CC="$CC" # Let the user override the test.
10374 else
10375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10376 for as_dir in $PATH
10377 do
10378 IFS=$as_save_IFS
10379 test -z "$as_dir" && as_dir=.
10380 for ac_exec_ext in '' $ac_executable_extensions; do
10381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10382 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10384 break 2
10385 fi
10386 done
10387 done
10388
10389 fi
10390 fi
10391 CC=$ac_cv_prog_CC
10392 if test -n "$CC"; then
10393 echo "$as_me:$LINENO: result: $CC" >&5
10394 echo "${ECHO_T}$CC" >&6
10395 else
10396 echo "$as_me:$LINENO: result: no" >&5
10397 echo "${ECHO_T}no" >&6
10398 fi
10399
10400 test -n "$CC" && break
10401 done
10402 fi
10403 if test -z "$CC"; then
10404 ac_ct_CC=$CC
10405 for ac_prog in cl
10406 do
10407 # Extract the first word of "$ac_prog", so it can be a program name with args.
10408 set dummy $ac_prog; ac_word=$2
10409 echo "$as_me:$LINENO: checking for $ac_word" >&5
10410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10411 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6
10413 else
10414 if test -n "$ac_ct_CC"; then
10415 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10416 else
10417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10418 for as_dir in $PATH
10419 do
10420 IFS=$as_save_IFS
10421 test -z "$as_dir" && as_dir=.
10422 for ac_exec_ext in '' $ac_executable_extensions; do
10423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10424 ac_cv_prog_ac_ct_CC="$ac_prog"
10425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10426 break 2
10427 fi
10428 done
10429 done
10430
10431 fi
10432 fi
10433 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10434 if test -n "$ac_ct_CC"; then
10435 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10436 echo "${ECHO_T}$ac_ct_CC" >&6
10437 else
10438 echo "$as_me:$LINENO: result: no" >&5
10439 echo "${ECHO_T}no" >&6
10440 fi
10441
10442 test -n "$ac_ct_CC" && break
10443 done
10444
10445 CC=$ac_ct_CC
10446 fi
10447
10448 fi
10449
10450
10451 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10452 See \`config.log' for more details." >&5
10453 echo "$as_me: error: no acceptable C compiler found in \$PATH
10454 See \`config.log' for more details." >&2;}
10455 { (exit 1); exit 1; }; }
10456
10457 # Provide some information about the compiler.
10458 echo "$as_me:$LINENO:" \
10459 "checking for C compiler version" >&5
10460 ac_compiler=`set X $ac_compile; echo $2`
10461 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10462 (eval $ac_compiler --version </dev/null >&5) 2>&5
10463 ac_status=$?
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }
10466 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10467 (eval $ac_compiler -v </dev/null >&5) 2>&5
10468 ac_status=$?
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }
10471 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10472 (eval $ac_compiler -V </dev/null >&5) 2>&5
10473 ac_status=$?
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); }
10476
10477 cat >conftest.$ac_ext <<_ACEOF
10478 /* confdefs.h. */
10479 _ACEOF
10480 cat confdefs.h >>conftest.$ac_ext
10481 cat >>conftest.$ac_ext <<_ACEOF
10482 /* end confdefs.h. */
10483
10484 int
10485 main ()
10486 {
10487
10488 ;
10489 return 0;
10490 }
10491 _ACEOF
10492 ac_clean_files_save=$ac_clean_files
10493 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10494 # Try to create an executable without -o first, disregard a.out.
10495 # It will help us diagnose broken compilers, and finding out an intuition
10496 # of exeext.
10497 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
10498 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
10499 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10500 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10501 (eval $ac_link_default) 2>&5
10502 ac_status=$?
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; then
10505 # Find the output, starting from the most likely. This scheme is
10506 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10507 # resort.
10508
10509 # Be careful to initialize this variable, since it used to be cached.
10510 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10511 ac_cv_exeext=
10512 # b.out is created by i960 compilers.
10513 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10514 do
10515 test -f "$ac_file" || continue
10516 case $ac_file in
10517 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10518 ;;
10519 conftest.$ac_ext )
10520 # This is the source file.
10521 ;;
10522 [ab].out )
10523 # We found the default executable, but exeext='' is most
10524 # certainly right.
10525 break;;
10526 *.* )
10527 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10528 # FIXME: I believe we export ac_cv_exeext for Libtool,
10529 # but it would be cool to find out if it's true. Does anybody
10530 # maintain Libtool? --akim.
10531 export ac_cv_exeext
10532 break;;
10533 * )
10534 break;;
10535 esac
10536 done
10537 else
10538 echo "$as_me: failed program was:" >&5
10539 sed 's/^/| /' conftest.$ac_ext >&5
10540
10541 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10542 See \`config.log' for more details." >&5
10543 echo "$as_me: error: C compiler cannot create executables
10544 See \`config.log' for more details." >&2;}
10545 { (exit 77); exit 77; }; }
10546 fi
10547
10548 ac_exeext=$ac_cv_exeext
10549 echo "$as_me:$LINENO: result: $ac_file" >&5
10550 echo "${ECHO_T}$ac_file" >&6
10551
10552 # Check the compiler produces executables we can run. If not, either
10553 # the compiler is broken, or we cross compile.
10554 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10555 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10556 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10557 # If not cross compiling, check that we can run a simple program.
10558 if test "$cross_compiling" != yes; then
10559 if { ac_try='./$ac_file'
10560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561 (eval $ac_try) 2>&5
10562 ac_status=$?
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); }; }; then
10565 cross_compiling=no
10566 else
10567 if test "$cross_compiling" = maybe; then
10568 cross_compiling=yes
10569 else
10570 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10571 If you meant to cross compile, use \`--host'.
10572 See \`config.log' for more details." >&5
10573 echo "$as_me: error: cannot run C compiled programs.
10574 If you meant to cross compile, use \`--host'.
10575 See \`config.log' for more details." >&2;}
10576 { (exit 1); exit 1; }; }
10577 fi
10578 fi
10579 fi
10580 echo "$as_me:$LINENO: result: yes" >&5
10581 echo "${ECHO_T}yes" >&6
10582
10583 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10584 ac_clean_files=$ac_clean_files_save
10585 # Check the compiler produces executables we can run. If not, either
10586 # the compiler is broken, or we cross compile.
10587 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10588 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10589 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10590 echo "${ECHO_T}$cross_compiling" >&6
10591
10592 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10593 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10595 (eval $ac_link) 2>&5
10596 ac_status=$?
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; then
10599 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10600 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10601 # work properly (i.e., refer to `conftest.exe'), while it won't with
10602 # `rm'.
10603 for ac_file in conftest.exe conftest conftest.*; do
10604 test -f "$ac_file" || continue
10605 case $ac_file in
10606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10607 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10608 export ac_cv_exeext
10609 break;;
10610 * ) break;;
10611 esac
10612 done
10613 else
10614 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10615 See \`config.log' for more details." >&5
10616 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10617 See \`config.log' for more details." >&2;}
10618 { (exit 1); exit 1; }; }
10619 fi
10620
10621 rm -f conftest$ac_cv_exeext
10622 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10623 echo "${ECHO_T}$ac_cv_exeext" >&6
10624
10625 rm -f conftest.$ac_ext
10626 EXEEXT=$ac_cv_exeext
10627 ac_exeext=$EXEEXT
10628 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10629 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10630 if test "${ac_cv_objext+set}" = set; then
10631 echo $ECHO_N "(cached) $ECHO_C" >&6
10632 else
10633 cat >conftest.$ac_ext <<_ACEOF
10634 /* confdefs.h. */
10635 _ACEOF
10636 cat confdefs.h >>conftest.$ac_ext
10637 cat >>conftest.$ac_ext <<_ACEOF
10638 /* end confdefs.h. */
10639
10640 int
10641 main ()
10642 {
10643
10644 ;
10645 return 0;
10646 }
10647 _ACEOF
10648 rm -f conftest.o conftest.obj
10649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10650 (eval $ac_compile) 2>&5
10651 ac_status=$?
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; then
10654 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10655 case $ac_file in
10656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10657 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10658 break;;
10659 esac
10660 done
10661 else
10662 echo "$as_me: failed program was:" >&5
10663 sed 's/^/| /' conftest.$ac_ext >&5
10664
10665 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10666 See \`config.log' for more details." >&5
10667 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10668 See \`config.log' for more details." >&2;}
10669 { (exit 1); exit 1; }; }
10670 fi
10671
10672 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10673 fi
10674 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10675 echo "${ECHO_T}$ac_cv_objext" >&6
10676 OBJEXT=$ac_cv_objext
10677 ac_objext=$OBJEXT
10678 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10679 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10680 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10681 echo $ECHO_N "(cached) $ECHO_C" >&6
10682 else
10683 cat >conftest.$ac_ext <<_ACEOF
10684 /* confdefs.h. */
10685 _ACEOF
10686 cat confdefs.h >>conftest.$ac_ext
10687 cat >>conftest.$ac_ext <<_ACEOF
10688 /* end confdefs.h. */
10689
10690 int
10691 main ()
10692 {
10693 #ifndef __GNUC__
10694 choke me
10695 #endif
10696
10697 ;
10698 return 0;
10699 }
10700 _ACEOF
10701 rm -f conftest.$ac_objext
10702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10703 (eval $ac_compile) 2>conftest.er1
10704 ac_status=$?
10705 grep -v '^ *+' conftest.er1 >conftest.err
10706 rm -f conftest.er1
10707 cat conftest.err >&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10713 ac_status=$?
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; } &&
10716 { ac_try='test -s conftest.$ac_objext'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10719 ac_status=$?
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_compiler_gnu=yes
10723 else
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10726
10727 ac_compiler_gnu=no
10728 fi
10729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10730 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10731
10732 fi
10733 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10734 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10735 GCC=`test $ac_compiler_gnu = yes && echo yes`
10736 ac_test_CFLAGS=${CFLAGS+set}
10737 ac_save_CFLAGS=$CFLAGS
10738 CFLAGS="-g"
10739 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10740 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10741 if test "${ac_cv_prog_cc_g+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10743 else
10744 cat >conftest.$ac_ext <<_ACEOF
10745 /* confdefs.h. */
10746 _ACEOF
10747 cat confdefs.h >>conftest.$ac_ext
10748 cat >>conftest.$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10750
10751 int
10752 main ()
10753 {
10754
10755 ;
10756 return 0;
10757 }
10758 _ACEOF
10759 rm -f conftest.$ac_objext
10760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10761 (eval $ac_compile) 2>conftest.er1
10762 ac_status=$?
10763 grep -v '^ *+' conftest.er1 >conftest.err
10764 rm -f conftest.er1
10765 cat conftest.err >&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } &&
10768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10771 ac_status=$?
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; } &&
10774 { ac_try='test -s conftest.$ac_objext'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10777 ac_status=$?
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; }; then
10780 ac_cv_prog_cc_g=yes
10781 else
10782 echo "$as_me: failed program was:" >&5
10783 sed 's/^/| /' conftest.$ac_ext >&5
10784
10785 ac_cv_prog_cc_g=no
10786 fi
10787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10788 fi
10789 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10790 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10791 if test "$ac_test_CFLAGS" = set; then
10792 CFLAGS=$ac_save_CFLAGS
10793 elif test $ac_cv_prog_cc_g = yes; then
10794 if test "$GCC" = yes; then
10795 CFLAGS="-g -O2"
10796 else
10797 CFLAGS="-g"
10798 fi
10799 else
10800 if test "$GCC" = yes; then
10801 CFLAGS="-O2"
10802 else
10803 CFLAGS=
10804 fi
10805 fi
10806 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10807 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10808 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 else
10811 ac_cv_prog_cc_stdc=no
10812 ac_save_CC=$CC
10813 cat >conftest.$ac_ext <<_ACEOF
10814 /* confdefs.h. */
10815 _ACEOF
10816 cat confdefs.h >>conftest.$ac_ext
10817 cat >>conftest.$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10819 #include <stdarg.h>
10820 #include <stdio.h>
10821 #include <sys/types.h>
10822 #include <sys/stat.h>
10823 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10824 struct buf { int x; };
10825 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10826 static char *e (p, i)
10827 char **p;
10828 int i;
10829 {
10830 return p[i];
10831 }
10832 static char *f (char * (*g) (char **, int), char **p, ...)
10833 {
10834 char *s;
10835 va_list v;
10836 va_start (v,p);
10837 s = g (p, va_arg (v,int));
10838 va_end (v);
10839 return s;
10840 }
10841
10842 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10843 function prototypes and stuff, but not '\xHH' hex character constants.
10844 These don't provoke an error unfortunately, instead are silently treated
10845 as 'x'. The following induces an error, until -std1 is added to get
10846 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10847 array size at least. It's necessary to write '\x00'==0 to get something
10848 that's true only with -std1. */
10849 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10850
10851 int test (int i, double x);
10852 struct s1 {int (*f) (int a);};
10853 struct s2 {int (*f) (double a);};
10854 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10855 int argc;
10856 char **argv;
10857 int
10858 main ()
10859 {
10860 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10861 ;
10862 return 0;
10863 }
10864 _ACEOF
10865 # Don't try gcc -ansi; that turns off useful extensions and
10866 # breaks some systems' header files.
10867 # AIX -qlanglvl=ansi
10868 # Ultrix and OSF/1 -std1
10869 # HP-UX 10.20 and later -Ae
10870 # HP-UX older versions -Aa -D_HPUX_SOURCE
10871 # SVR4 -Xc -D__EXTENSIONS__
10872 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10873 do
10874 CC="$ac_save_CC $ac_arg"
10875 rm -f conftest.$ac_objext
10876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10877 (eval $ac_compile) 2>conftest.er1
10878 ac_status=$?
10879 grep -v '^ *+' conftest.er1 >conftest.err
10880 rm -f conftest.er1
10881 cat conftest.err >&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); } &&
10884 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10886 (eval $ac_try) 2>&5
10887 ac_status=$?
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); }; } &&
10890 { ac_try='test -s conftest.$ac_objext'
10891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10892 (eval $ac_try) 2>&5
10893 ac_status=$?
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); }; }; then
10896 ac_cv_prog_cc_stdc=$ac_arg
10897 break
10898 else
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.$ac_ext >&5
10901
10902 fi
10903 rm -f conftest.err conftest.$ac_objext
10904 done
10905 rm -f conftest.$ac_ext conftest.$ac_objext
10906 CC=$ac_save_CC
10907
10908 fi
10909
10910 case "x$ac_cv_prog_cc_stdc" in
10911 x|xno)
10912 echo "$as_me:$LINENO: result: none needed" >&5
10913 echo "${ECHO_T}none needed" >&6 ;;
10914 *)
10915 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10916 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10917 CC="$CC $ac_cv_prog_cc_stdc" ;;
10918 esac
10919
10920 # Some people use a C++ compiler to compile C. Since we use `exit',
10921 # in C++ we need to declare it. In case someone uses the same compiler
10922 # for both compiling C and C++ we need to have the C++ compiler decide
10923 # the declaration of exit, since it's the most demanding environment.
10924 cat >conftest.$ac_ext <<_ACEOF
10925 #ifndef __cplusplus
10926 choke me
10927 #endif
10928 _ACEOF
10929 rm -f conftest.$ac_objext
10930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10931 (eval $ac_compile) 2>conftest.er1
10932 ac_status=$?
10933 grep -v '^ *+' conftest.er1 >conftest.err
10934 rm -f conftest.er1
10935 cat conftest.err >&5
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); } &&
10938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10940 (eval $ac_try) 2>&5
10941 ac_status=$?
10942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10943 (exit $ac_status); }; } &&
10944 { ac_try='test -s conftest.$ac_objext'
10945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10946 (eval $ac_try) 2>&5
10947 ac_status=$?
10948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10949 (exit $ac_status); }; }; then
10950 for ac_declaration in \
10951 '' \
10952 'extern "C" void std::exit (int) throw (); using std::exit;' \
10953 'extern "C" void std::exit (int); using std::exit;' \
10954 'extern "C" void exit (int) throw ();' \
10955 'extern "C" void exit (int);' \
10956 'void exit (int);'
10957 do
10958 cat >conftest.$ac_ext <<_ACEOF
10959 /* confdefs.h. */
10960 _ACEOF
10961 cat confdefs.h >>conftest.$ac_ext
10962 cat >>conftest.$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10964 $ac_declaration
10965 #include <stdlib.h>
10966 int
10967 main ()
10968 {
10969 exit (42);
10970 ;
10971 return 0;
10972 }
10973 _ACEOF
10974 rm -f conftest.$ac_objext
10975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10976 (eval $ac_compile) 2>conftest.er1
10977 ac_status=$?
10978 grep -v '^ *+' conftest.er1 >conftest.err
10979 rm -f conftest.er1
10980 cat conftest.err >&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); } &&
10983 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10985 (eval $ac_try) 2>&5
10986 ac_status=$?
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }; } &&
10989 { ac_try='test -s conftest.$ac_objext'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10992 ac_status=$?
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; }; then
10995 :
10996 else
10997 echo "$as_me: failed program was:" >&5
10998 sed 's/^/| /' conftest.$ac_ext >&5
10999
11000 continue
11001 fi
11002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11003 cat >conftest.$ac_ext <<_ACEOF
11004 /* confdefs.h. */
11005 _ACEOF
11006 cat confdefs.h >>conftest.$ac_ext
11007 cat >>conftest.$ac_ext <<_ACEOF
11008 /* end confdefs.h. */
11009 $ac_declaration
11010 int
11011 main ()
11012 {
11013 exit (42);
11014 ;
11015 return 0;
11016 }
11017 _ACEOF
11018 rm -f conftest.$ac_objext
11019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11020 (eval $ac_compile) 2>conftest.er1
11021 ac_status=$?
11022 grep -v '^ *+' conftest.er1 >conftest.err
11023 rm -f conftest.er1
11024 cat conftest.err >&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); } &&
11027 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
11033 { ac_try='test -s conftest.$ac_objext'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11036 ac_status=$?
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; }; then
11039 break
11040 else
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11043
11044 fi
11045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11046 done
11047 rm -f conftest*
11048 if test -n "$ac_declaration"; then
11049 echo '#ifdef __cplusplus' >>confdefs.h
11050 echo $ac_declaration >>confdefs.h
11051 echo '#endif' >>confdefs.h
11052 fi
11053
11054 else
11055 echo "$as_me: failed program was:" >&5
11056 sed 's/^/| /' conftest.$ac_ext >&5
11057
11058 fi
11059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11060 ac_ext=c
11061 ac_cpp='$CPP $CPPFLAGS'
11062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11065
11066
11067
11068 ac_ext=c
11069 ac_cpp='$CPP $CPPFLAGS'
11070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11073 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
11074 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
11075 # On Suns, sometimes $CPP names a directory.
11076 if test -n "$CPP" && test -d "$CPP"; then
11077 CPP=
11078 fi
11079 if test -z "$CPP"; then
11080 if test "${ac_cv_prog_CPP+set}" = set; then
11081 echo $ECHO_N "(cached) $ECHO_C" >&6
11082 else
11083 # Double quotes because CPP needs to be expanded
11084 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11085 do
11086 ac_preproc_ok=false
11087 for ac_c_preproc_warn_flag in '' yes
11088 do
11089 # Use a header file that comes with gcc, so configuring glibc
11090 # with a fresh cross-compiler works.
11091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11092 # <limits.h> exists even on freestanding compilers.
11093 # On the NeXT, cc -E runs the code through the compiler's parser,
11094 # not just through cpp. "Syntax error" is here to catch this case.
11095 cat >conftest.$ac_ext <<_ACEOF
11096 /* confdefs.h. */
11097 _ACEOF
11098 cat confdefs.h >>conftest.$ac_ext
11099 cat >>conftest.$ac_ext <<_ACEOF
11100 /* end confdefs.h. */
11101 #ifdef __STDC__
11102 # include <limits.h>
11103 #else
11104 # include <assert.h>
11105 #endif
11106 Syntax error
11107 _ACEOF
11108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11110 ac_status=$?
11111 grep -v '^ *+' conftest.er1 >conftest.err
11112 rm -f conftest.er1
11113 cat conftest.err >&5
11114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11115 (exit $ac_status); } >/dev/null; then
11116 if test -s conftest.err; then
11117 ac_cpp_err=$ac_c_preproc_warn_flag
11118 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11119 else
11120 ac_cpp_err=
11121 fi
11122 else
11123 ac_cpp_err=yes
11124 fi
11125 if test -z "$ac_cpp_err"; then
11126 :
11127 else
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.$ac_ext >&5
11130
11131 # Broken: fails on valid input.
11132 continue
11133 fi
11134 rm -f conftest.err conftest.$ac_ext
11135
11136 # OK, works on sane cases. Now check whether non-existent headers
11137 # can be detected and how.
11138 cat >conftest.$ac_ext <<_ACEOF
11139 /* confdefs.h. */
11140 _ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11144 #include <ac_nonexistent.h>
11145 _ACEOF
11146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } >/dev/null; then
11154 if test -s conftest.err; then
11155 ac_cpp_err=$ac_c_preproc_warn_flag
11156 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11157 else
11158 ac_cpp_err=
11159 fi
11160 else
11161 ac_cpp_err=yes
11162 fi
11163 if test -z "$ac_cpp_err"; then
11164 # Broken: success on invalid input.
11165 continue
11166 else
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11169
11170 # Passes both tests.
11171 ac_preproc_ok=:
11172 break
11173 fi
11174 rm -f conftest.err conftest.$ac_ext
11175
11176 done
11177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11178 rm -f conftest.err conftest.$ac_ext
11179 if $ac_preproc_ok; then
11180 break
11181 fi
11182
11183 done
11184 ac_cv_prog_CPP=$CPP
11185
11186 fi
11187 CPP=$ac_cv_prog_CPP
11188 else
11189 ac_cv_prog_CPP=$CPP
11190 fi
11191 echo "$as_me:$LINENO: result: $CPP" >&5
11192 echo "${ECHO_T}$CPP" >&6
11193 ac_preproc_ok=false
11194 for ac_c_preproc_warn_flag in '' yes
11195 do
11196 # Use a header file that comes with gcc, so configuring glibc
11197 # with a fresh cross-compiler works.
11198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11199 # <limits.h> exists even on freestanding compilers.
11200 # On the NeXT, cc -E runs the code through the compiler's parser,
11201 # not just through cpp. "Syntax error" is here to catch this case.
11202 cat >conftest.$ac_ext <<_ACEOF
11203 /* confdefs.h. */
11204 _ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11208 #ifdef __STDC__
11209 # include <limits.h>
11210 #else
11211 # include <assert.h>
11212 #endif
11213 Syntax error
11214 _ACEOF
11215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11217 ac_status=$?
11218 grep -v '^ *+' conftest.er1 >conftest.err
11219 rm -f conftest.er1
11220 cat conftest.err >&5
11221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } >/dev/null; then
11223 if test -s conftest.err; then
11224 ac_cpp_err=$ac_c_preproc_warn_flag
11225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11226 else
11227 ac_cpp_err=
11228 fi
11229 else
11230 ac_cpp_err=yes
11231 fi
11232 if test -z "$ac_cpp_err"; then
11233 :
11234 else
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11237
11238 # Broken: fails on valid input.
11239 continue
11240 fi
11241 rm -f conftest.err conftest.$ac_ext
11242
11243 # OK, works on sane cases. Now check whether non-existent headers
11244 # can be detected and how.
11245 cat >conftest.$ac_ext <<_ACEOF
11246 /* confdefs.h. */
11247 _ACEOF
11248 cat confdefs.h >>conftest.$ac_ext
11249 cat >>conftest.$ac_ext <<_ACEOF
11250 /* end confdefs.h. */
11251 #include <ac_nonexistent.h>
11252 _ACEOF
11253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11255 ac_status=$?
11256 grep -v '^ *+' conftest.er1 >conftest.err
11257 rm -f conftest.er1
11258 cat conftest.err >&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); } >/dev/null; then
11261 if test -s conftest.err; then
11262 ac_cpp_err=$ac_c_preproc_warn_flag
11263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11264 else
11265 ac_cpp_err=
11266 fi
11267 else
11268 ac_cpp_err=yes
11269 fi
11270 if test -z "$ac_cpp_err"; then
11271 # Broken: success on invalid input.
11272 continue
11273 else
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11276
11277 # Passes both tests.
11278 ac_preproc_ok=:
11279 break
11280 fi
11281 rm -f conftest.err conftest.$ac_ext
11282
11283 done
11284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11285 rm -f conftest.err conftest.$ac_ext
11286 if $ac_preproc_ok; then
11287 :
11288 else
11289 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11290 See \`config.log' for more details." >&5
11291 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11292 See \`config.log' for more details." >&2;}
11293 { (exit 1); exit 1; }; }
11294 fi
11295
11296 ac_ext=c
11297 ac_cpp='$CPP $CPPFLAGS'
11298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11301
11302
11303 echo "$as_me:$LINENO: checking for egrep" >&5
11304 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11305 if test "${ac_cv_prog_egrep+set}" = set; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11307 else
11308 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11309 then ac_cv_prog_egrep='grep -E'
11310 else ac_cv_prog_egrep='egrep'
11311 fi
11312 fi
11313 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11314 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11315 EGREP=$ac_cv_prog_egrep
11316
11317
11318 if test $ac_cv_c_compiler_gnu = yes; then
11319 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11320 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11321 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11322 echo $ECHO_N "(cached) $ECHO_C" >&6
11323 else
11324 ac_pattern="Autoconf.*'x'"
11325 cat >conftest.$ac_ext <<_ACEOF
11326 /* confdefs.h. */
11327 _ACEOF
11328 cat confdefs.h >>conftest.$ac_ext
11329 cat >>conftest.$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11331 #include <sgtty.h>
11332 Autoconf TIOCGETP
11333 _ACEOF
11334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11335 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11336 ac_cv_prog_gcc_traditional=yes
11337 else
11338 ac_cv_prog_gcc_traditional=no
11339 fi
11340 rm -f conftest*
11341
11342
11343 if test $ac_cv_prog_gcc_traditional = no; then
11344 cat >conftest.$ac_ext <<_ACEOF
11345 /* confdefs.h. */
11346 _ACEOF
11347 cat confdefs.h >>conftest.$ac_ext
11348 cat >>conftest.$ac_ext <<_ACEOF
11349 /* end confdefs.h. */
11350 #include <termio.h>
11351 Autoconf TCGETA
11352 _ACEOF
11353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11354 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11355 ac_cv_prog_gcc_traditional=yes
11356 fi
11357 rm -f conftest*
11358
11359 fi
11360 fi
11361 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11362 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11363 if test $ac_cv_prog_gcc_traditional = yes; then
11364 CC="$CC -traditional"
11365 fi
11366 fi
11367
11368
11369
11370
11371 ac_ext=cc
11372 ac_cpp='$CXXCPP $CPPFLAGS'
11373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11376
11377
11378 CXXFLAGS=${CXXFLAGS:=}
11379 ac_ext=cc
11380 ac_cpp='$CXXCPP $CPPFLAGS'
11381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11384 if test -n "$ac_tool_prefix"; then
11385 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11386 do
11387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11389 echo "$as_me:$LINENO: checking for $ac_word" >&5
11390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11391 if test "${ac_cv_prog_CXX+set}" = set; then
11392 echo $ECHO_N "(cached) $ECHO_C" >&6
11393 else
11394 if test -n "$CXX"; then
11395 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11396 else
11397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11398 for as_dir in $PATH
11399 do
11400 IFS=$as_save_IFS
11401 test -z "$as_dir" && as_dir=.
11402 for ac_exec_ext in '' $ac_executable_extensions; do
11403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11404 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11406 break 2
11407 fi
11408 done
11409 done
11410
11411 fi
11412 fi
11413 CXX=$ac_cv_prog_CXX
11414 if test -n "$CXX"; then
11415 echo "$as_me:$LINENO: result: $CXX" >&5
11416 echo "${ECHO_T}$CXX" >&6
11417 else
11418 echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6
11420 fi
11421
11422 test -n "$CXX" && break
11423 done
11424 fi
11425 if test -z "$CXX"; then
11426 ac_ct_CXX=$CXX
11427 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11428 do
11429 # Extract the first word of "$ac_prog", so it can be a program name with args.
11430 set dummy $ac_prog; ac_word=$2
11431 echo "$as_me:$LINENO: checking for $ac_word" >&5
11432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11433 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11434 echo $ECHO_N "(cached) $ECHO_C" >&6
11435 else
11436 if test -n "$ac_ct_CXX"; then
11437 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11438 else
11439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11440 for as_dir in $PATH
11441 do
11442 IFS=$as_save_IFS
11443 test -z "$as_dir" && as_dir=.
11444 for ac_exec_ext in '' $ac_executable_extensions; do
11445 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11446 ac_cv_prog_ac_ct_CXX="$ac_prog"
11447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11448 break 2
11449 fi
11450 done
11451 done
11452
11453 fi
11454 fi
11455 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11456 if test -n "$ac_ct_CXX"; then
11457 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11458 echo "${ECHO_T}$ac_ct_CXX" >&6
11459 else
11460 echo "$as_me:$LINENO: result: no" >&5
11461 echo "${ECHO_T}no" >&6
11462 fi
11463
11464 test -n "$ac_ct_CXX" && break
11465 done
11466 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11467
11468 CXX=$ac_ct_CXX
11469 fi
11470
11471
11472 # Provide some information about the compiler.
11473 echo "$as_me:$LINENO:" \
11474 "checking for C++ compiler version" >&5
11475 ac_compiler=`set X $ac_compile; echo $2`
11476 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11477 (eval $ac_compiler --version </dev/null >&5) 2>&5
11478 ac_status=$?
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }
11481 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11482 (eval $ac_compiler -v </dev/null >&5) 2>&5
11483 ac_status=$?
11484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11485 (exit $ac_status); }
11486 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11487 (eval $ac_compiler -V </dev/null >&5) 2>&5
11488 ac_status=$?
11489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490 (exit $ac_status); }
11491
11492 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11493 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11494 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11495 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 else
11497 cat >conftest.$ac_ext <<_ACEOF
11498 /* confdefs.h. */
11499 _ACEOF
11500 cat confdefs.h >>conftest.$ac_ext
11501 cat >>conftest.$ac_ext <<_ACEOF
11502 /* end confdefs.h. */
11503
11504 int
11505 main ()
11506 {
11507 #ifndef __GNUC__
11508 choke me
11509 #endif
11510
11511 ;
11512 return 0;
11513 }
11514 _ACEOF
11515 rm -f conftest.$ac_objext
11516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11517 (eval $ac_compile) 2>conftest.er1
11518 ac_status=$?
11519 grep -v '^ *+' conftest.er1 >conftest.err
11520 rm -f conftest.er1
11521 cat conftest.err >&5
11522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11523 (exit $ac_status); } &&
11524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11526 (eval $ac_try) 2>&5
11527 ac_status=$?
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); }; } &&
11530 { ac_try='test -s conftest.$ac_objext'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11533 ac_status=$?
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; }; then
11536 ac_compiler_gnu=yes
11537 else
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.$ac_ext >&5
11540
11541 ac_compiler_gnu=no
11542 fi
11543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11544 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11545
11546 fi
11547 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11548 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11549 GXX=`test $ac_compiler_gnu = yes && echo yes`
11550 ac_test_CXXFLAGS=${CXXFLAGS+set}
11551 ac_save_CXXFLAGS=$CXXFLAGS
11552 CXXFLAGS="-g"
11553 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11554 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11555 if test "${ac_cv_prog_cxx_g+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 else
11558 cat >conftest.$ac_ext <<_ACEOF
11559 /* confdefs.h. */
11560 _ACEOF
11561 cat confdefs.h >>conftest.$ac_ext
11562 cat >>conftest.$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564
11565 int
11566 main ()
11567 {
11568
11569 ;
11570 return 0;
11571 }
11572 _ACEOF
11573 rm -f conftest.$ac_objext
11574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11575 (eval $ac_compile) 2>conftest.er1
11576 ac_status=$?
11577 grep -v '^ *+' conftest.er1 >conftest.err
11578 rm -f conftest.er1
11579 cat conftest.err >&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); } &&
11582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11584 (eval $ac_try) 2>&5
11585 ac_status=$?
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; } &&
11588 { ac_try='test -s conftest.$ac_objext'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11591 ac_status=$?
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11594 ac_cv_prog_cxx_g=yes
11595 else
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11598
11599 ac_cv_prog_cxx_g=no
11600 fi
11601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11602 fi
11603 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11604 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11605 if test "$ac_test_CXXFLAGS" = set; then
11606 CXXFLAGS=$ac_save_CXXFLAGS
11607 elif test $ac_cv_prog_cxx_g = yes; then
11608 if test "$GXX" = yes; then
11609 CXXFLAGS="-g -O2"
11610 else
11611 CXXFLAGS="-g"
11612 fi
11613 else
11614 if test "$GXX" = yes; then
11615 CXXFLAGS="-O2"
11616 else
11617 CXXFLAGS=
11618 fi
11619 fi
11620 for ac_declaration in \
11621 '' \
11622 'extern "C" void std::exit (int) throw (); using std::exit;' \
11623 'extern "C" void std::exit (int); using std::exit;' \
11624 'extern "C" void exit (int) throw ();' \
11625 'extern "C" void exit (int);' \
11626 'void exit (int);'
11627 do
11628 cat >conftest.$ac_ext <<_ACEOF
11629 /* confdefs.h. */
11630 _ACEOF
11631 cat confdefs.h >>conftest.$ac_ext
11632 cat >>conftest.$ac_ext <<_ACEOF
11633 /* end confdefs.h. */
11634 $ac_declaration
11635 #include <stdlib.h>
11636 int
11637 main ()
11638 {
11639 exit (42);
11640 ;
11641 return 0;
11642 }
11643 _ACEOF
11644 rm -f conftest.$ac_objext
11645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11646 (eval $ac_compile) 2>conftest.er1
11647 ac_status=$?
11648 grep -v '^ *+' conftest.er1 >conftest.err
11649 rm -f conftest.er1
11650 cat conftest.err >&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } &&
11653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11655 (eval $ac_try) 2>&5
11656 ac_status=$?
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); }; } &&
11659 { ac_try='test -s conftest.$ac_objext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11662 ac_status=$?
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 :
11666 else
11667 echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11669
11670 continue
11671 fi
11672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11673 cat >conftest.$ac_ext <<_ACEOF
11674 /* confdefs.h. */
11675 _ACEOF
11676 cat confdefs.h >>conftest.$ac_ext
11677 cat >>conftest.$ac_ext <<_ACEOF
11678 /* end confdefs.h. */
11679 $ac_declaration
11680 int
11681 main ()
11682 {
11683 exit (42);
11684 ;
11685 return 0;
11686 }
11687 _ACEOF
11688 rm -f conftest.$ac_objext
11689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11690 (eval $ac_compile) 2>conftest.er1
11691 ac_status=$?
11692 grep -v '^ *+' conftest.er1 >conftest.err
11693 rm -f conftest.er1
11694 cat conftest.err >&5
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); } &&
11697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11699 (eval $ac_try) 2>&5
11700 ac_status=$?
11701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702 (exit $ac_status); }; } &&
11703 { ac_try='test -s conftest.$ac_objext'
11704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11705 (eval $ac_try) 2>&5
11706 ac_status=$?
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); }; }; then
11709 break
11710 else
11711 echo "$as_me: failed program was:" >&5
11712 sed 's/^/| /' conftest.$ac_ext >&5
11713
11714 fi
11715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11716 done
11717 rm -f conftest*
11718 if test -n "$ac_declaration"; then
11719 echo '#ifdef __cplusplus' >>confdefs.h
11720 echo $ac_declaration >>confdefs.h
11721 echo '#endif' >>confdefs.h
11722 fi
11723
11724 ac_ext=cc
11725 ac_cpp='$CXXCPP $CPPFLAGS'
11726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11729
11730
11731 ac_ext=c
11732 ac_cpp='$CPP $CPPFLAGS'
11733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11736
11737
11738 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11739 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11740 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11741 if test "$GCC" = "yes" ; then
11742 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11743 sed -n '1,/End of search list\./p' | \
11744 grep '^ */usr/local/include$' 2>&1 /dev/null \
11745 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11746 fi
11747 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11748 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11749
11750 if test -n "$ac_tool_prefix"; then
11751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11752 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11753 echo "$as_me:$LINENO: checking for $ac_word" >&5
11754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11755 if test "${ac_cv_prog_RANLIB+set}" = set; then
11756 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 else
11758 if test -n "$RANLIB"; then
11759 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11760 else
11761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11762 for as_dir in $PATH
11763 do
11764 IFS=$as_save_IFS
11765 test -z "$as_dir" && as_dir=.
11766 for ac_exec_ext in '' $ac_executable_extensions; do
11767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11768 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11770 break 2
11771 fi
11772 done
11773 done
11774
11775 fi
11776 fi
11777 RANLIB=$ac_cv_prog_RANLIB
11778 if test -n "$RANLIB"; then
11779 echo "$as_me:$LINENO: result: $RANLIB" >&5
11780 echo "${ECHO_T}$RANLIB" >&6
11781 else
11782 echo "$as_me:$LINENO: result: no" >&5
11783 echo "${ECHO_T}no" >&6
11784 fi
11785
11786 fi
11787 if test -z "$ac_cv_prog_RANLIB"; then
11788 ac_ct_RANLIB=$RANLIB
11789 # Extract the first word of "ranlib", so it can be a program name with args.
11790 set dummy ranlib; ac_word=$2
11791 echo "$as_me:$LINENO: checking for $ac_word" >&5
11792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796 if test -n "$ac_ct_RANLIB"; then
11797 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11798 else
11799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11800 for as_dir in $PATH
11801 do
11802 IFS=$as_save_IFS
11803 test -z "$as_dir" && as_dir=.
11804 for ac_exec_ext in '' $ac_executable_extensions; do
11805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11806 ac_cv_prog_ac_ct_RANLIB="ranlib"
11807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11808 break 2
11809 fi
11810 done
11811 done
11812
11813 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11814 fi
11815 fi
11816 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11817 if test -n "$ac_ct_RANLIB"; then
11818 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11819 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11820 else
11821 echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6
11823 fi
11824
11825 RANLIB=$ac_ct_RANLIB
11826 else
11827 RANLIB="$ac_cv_prog_RANLIB"
11828 fi
11829
11830
11831 # Extract the first word of "ar", so it can be a program name with args.
11832 set dummy ar; ac_word=$2
11833 echo "$as_me:$LINENO: checking for $ac_word" >&5
11834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11835 if test "${ac_cv_prog_AR+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11837 else
11838 if test -n "$AR"; then
11839 ac_cv_prog_AR="$AR" # Let the user override the test.
11840 else
11841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11842 for as_dir in $PATH
11843 do
11844 IFS=$as_save_IFS
11845 test -z "$as_dir" && as_dir=.
11846 for ac_exec_ext in '' $ac_executable_extensions; do
11847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11848 ac_cv_prog_AR="ar"
11849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11850 break 2
11851 fi
11852 done
11853 done
11854
11855 fi
11856 fi
11857 AR=$ac_cv_prog_AR
11858 if test -n "$AR"; then
11859 echo "$as_me:$LINENO: result: $AR" >&5
11860 echo "${ECHO_T}$AR" >&6
11861 else
11862 echo "$as_me:$LINENO: result: no" >&5
11863 echo "${ECHO_T}no" >&6
11864 fi
11865
11866 if test "x$AR" = "x" ; then
11867 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11868 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11869 { (exit 1); exit 1; }; }
11870 fi
11871
11872 # Find a good install program. We prefer a C program (faster),
11873 # so one script is as good as another. But avoid the broken or
11874 # incompatible versions:
11875 # SysV /etc/install, /usr/sbin/install
11876 # SunOS /usr/etc/install
11877 # IRIX /sbin/install
11878 # AIX /bin/install
11879 # AmigaOS /C/install, which installs bootblocks on floppy discs
11880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11883 # OS/2's system install, which has a completely different semantic
11884 # ./install, which can be erroneously created by make from ./install.sh.
11885 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11886 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11887 if test -z "$INSTALL"; then
11888 if test "${ac_cv_path_install+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11890 else
11891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11892 for as_dir in $PATH
11893 do
11894 IFS=$as_save_IFS
11895 test -z "$as_dir" && as_dir=.
11896 # Account for people who put trailing slashes in PATH elements.
11897 case $as_dir/ in
11898 ./ | .// | /cC/* | \
11899 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11900 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11901 /usr/ucb/* ) ;;
11902 *)
11903 # OSF1 and SCO ODT 3.0 have their own names for install.
11904 # Don't use installbsd from OSF since it installs stuff as root
11905 # by default.
11906 for ac_prog in ginstall scoinst install; do
11907 for ac_exec_ext in '' $ac_executable_extensions; do
11908 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11909 if test $ac_prog = install &&
11910 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11911 # AIX install. It has an incompatible calling convention.
11912 :
11913 elif test $ac_prog = install &&
11914 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11915 # program-specific install script used by HP pwplus--don't use.
11916 :
11917 else
11918 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11919 break 3
11920 fi
11921 fi
11922 done
11923 done
11924 ;;
11925 esac
11926 done
11927
11928
11929 fi
11930 if test "${ac_cv_path_install+set}" = set; then
11931 INSTALL=$ac_cv_path_install
11932 else
11933 # As a last resort, use the slow shell script. We don't cache a
11934 # path for INSTALL within a source directory, because that will
11935 # break other packages using the cache if that directory is
11936 # removed, or if the path is relative.
11937 INSTALL=$ac_install_sh
11938 fi
11939 fi
11940 echo "$as_me:$LINENO: result: $INSTALL" >&5
11941 echo "${ECHO_T}$INSTALL" >&6
11942
11943 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11944 # It thinks the first close brace ends the variable substitution.
11945 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11946
11947 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11948
11949 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11950
11951
11952 case ${INSTALL} in
11953 /* ) # Absolute
11954 ;;
11955 ?:* ) # Drive letter, considered as absolute.
11956 ;;
11957 *)
11958 INSTALL=`pwd`/${INSTALL} ;;
11959 esac
11960
11961 case ${host} in
11962 *-hp-hpux* )
11963 INSTALL_DIR="mkdir"
11964 ;;
11965
11966 *) INSTALL_DIR="$INSTALL -d"
11967 ;;
11968 esac
11969
11970
11971 case "${host}" in
11972
11973 powerpc-*-darwin* )
11974 INSTALL_PROGRAM="cp -fp"
11975 INSTALL_DATA="cp -fp"
11976 ;;
11977 *)
11978 ;;
11979 esac
11980
11981 # Extract the first word of "strip", so it can be a program name with args.
11982 set dummy strip; ac_word=$2
11983 echo "$as_me:$LINENO: checking for $ac_word" >&5
11984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11985 if test "${ac_cv_prog_STRIP+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11987 else
11988 if test -n "$STRIP"; then
11989 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11990 else
11991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11992 for as_dir in $PATH
11993 do
11994 IFS=$as_save_IFS
11995 test -z "$as_dir" && as_dir=.
11996 for ac_exec_ext in '' $ac_executable_extensions; do
11997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11998 ac_cv_prog_STRIP="strip"
11999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12000 break 2
12001 fi
12002 done
12003 done
12004
12005 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
12006 fi
12007 fi
12008 STRIP=$ac_cv_prog_STRIP
12009 if test -n "$STRIP"; then
12010 echo "$as_me:$LINENO: result: $STRIP" >&5
12011 echo "${ECHO_T}$STRIP" >&6
12012 else
12013 echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6
12015 fi
12016
12017
12018 echo "$as_me:$LINENO: checking if make is GNU make" >&5
12019 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
12020 if test "${wx_cv_prog_makeisgnu+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12022 else
12023
12024 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
12025 egrep -s GNU > /dev/null); then
12026 wx_cv_prog_makeisgnu="yes"
12027 else
12028 wx_cv_prog_makeisgnu="no"
12029 fi
12030
12031 fi
12032 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
12033 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
12034
12035 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
12036 IF_GNU_MAKE=""
12037 else
12038 IF_GNU_MAKE="#"
12039 fi
12040
12041
12042
12043 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
12044 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
12045 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
12046 if test "${wx_cv_prog_makevpath+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12048 else
12049
12050 cat - << EOF > confMake
12051 check : file
12052 cp \$? \$@
12053 cp \$? final_file
12054 EOF
12055
12056 if test ! -d sub ; then
12057 mkdir sub
12058 fi
12059 echo dummy > sub/file
12060 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
12061 RESULT=$?
12062 rm -f sub/file check final_file confMake
12063 rmdir sub
12064 if test "$RESULT" = 0; then
12065 wx_cv_prog_makevpath="yes"
12066 else
12067 wx_cv_prog_makevpath="no"
12068 fi
12069
12070 fi
12071 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
12072 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
12073
12074 if test "x$wx_cv_prog_makevpath" != "xyes"; then
12075 { { echo "$as_me:$LINENO: error:
12076 You need a make-utility that is able to use the variable
12077 VPATH correctly.
12078 If your version of make does not support VPATH correctly,
12079 please install GNU-make (possibly as gmake), and start
12080 configure with the following command:
12081 export MAKE=gmake; ./configure for sh-type shells
12082 setenv MAKE gmake; ./configure for csh-type shells
12083 Also please do remember to use gmake in this case every time
12084 you are trying to compile.
12085 " >&5
12086 echo "$as_me: error:
12087 You need a make-utility that is able to use the variable
12088 VPATH correctly.
12089 If your version of make does not support VPATH correctly,
12090 please install GNU-make (possibly as gmake), and start
12091 configure with the following command:
12092 export MAKE=gmake; ./configure for sh-type shells
12093 setenv MAKE gmake; ./configure for csh-type shells
12094 Also please do remember to use gmake in this case every time
12095 you are trying to compile.
12096 " >&2;}
12097 { (exit 1); exit 1; }; }
12098 fi fi
12099 echo "$as_me:$LINENO: checking whether ln -s works" >&5
12100 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
12101 LN_S=$as_ln_s
12102 if test "$LN_S" = "ln -s"; then
12103 echo "$as_me:$LINENO: result: yes" >&5
12104 echo "${ECHO_T}yes" >&6
12105 else
12106 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
12107 echo "${ECHO_T}no, using $LN_S" >&6
12108 fi
12109
12110
12111
12112 case "${host}" in
12113 *-pc-os2_emx | *-pc-os2-emx )
12114 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
12115 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
12116 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
12117 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
12118 echo $ECHO_N "(cached) $ECHO_C" >&6
12119 else
12120 ac_check_lib_save_LIBS=$LIBS
12121 LIBS="-lcExt $LIBS"
12122 cat >conftest.$ac_ext <<_ACEOF
12123 /* confdefs.h. */
12124 _ACEOF
12125 cat confdefs.h >>conftest.$ac_ext
12126 cat >>conftest.$ac_ext <<_ACEOF
12127 /* end confdefs.h. */
12128
12129 /* Override any gcc2 internal prototype to avoid an error. */
12130 #ifdef __cplusplus
12131 extern "C"
12132 #endif
12133 /* We use char because int might match the return type of a gcc2
12134 builtin and then its argument prototype would still apply. */
12135 char drand48 ();
12136 int
12137 main ()
12138 {
12139 drand48 ();
12140 ;
12141 return 0;
12142 }
12143 _ACEOF
12144 rm -f conftest.$ac_objext conftest$ac_exeext
12145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12146 (eval $ac_link) 2>conftest.er1
12147 ac_status=$?
12148 grep -v '^ *+' conftest.er1 >conftest.err
12149 rm -f conftest.er1
12150 cat conftest.err >&5
12151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12152 (exit $ac_status); } &&
12153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12155 (eval $ac_try) 2>&5
12156 ac_status=$?
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); }; } &&
12159 { ac_try='test -s conftest$ac_exeext'
12160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12161 (eval $ac_try) 2>&5
12162 ac_status=$?
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; }; then
12165 ac_cv_lib_cExt_drand48=yes
12166 else
12167 echo "$as_me: failed program was:" >&5
12168 sed 's/^/| /' conftest.$ac_ext >&5
12169
12170 ac_cv_lib_cExt_drand48=no
12171 fi
12172 rm -f conftest.err conftest.$ac_objext \
12173 conftest$ac_exeext conftest.$ac_ext
12174 LIBS=$ac_check_lib_save_LIBS
12175 fi
12176 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12177 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12178 if test $ac_cv_lib_cExt_drand48 = yes; then
12179 LIBS="$LIBS -lcExt"
12180 fi
12181
12182 else
12183 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12184 fi
12185 echo "$as_me:$LINENO: checking for gcc version" >&5
12186 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12187 if test "${wx_cv_gccversion+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 else
12190
12191 cat >conftest.$ac_ext <<_ACEOF
12192 /* confdefs.h. */
12193 _ACEOF
12194 cat confdefs.h >>conftest.$ac_ext
12195 cat >>conftest.$ac_ext <<_ACEOF
12196 /* end confdefs.h. */
12197
12198 int
12199 main ()
12200 {
12201
12202 #if (__GNUC__ < 3)
12203 #error old gcc
12204 #endif
12205
12206 ;
12207 return 0;
12208 }
12209 _ACEOF
12210 rm -f conftest.$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>conftest.er1
12213 ac_status=$?
12214 grep -v '^ *+' conftest.er1 >conftest.err
12215 rm -f conftest.er1
12216 cat conftest.err >&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12222 ac_status=$?
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; } &&
12225 { ac_try='test -s conftest.$ac_objext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12228 ac_status=$?
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12231
12232 cat >conftest.$ac_ext <<_ACEOF
12233 /* confdefs.h. */
12234 _ACEOF
12235 cat confdefs.h >>conftest.$ac_ext
12236 cat >>conftest.$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12238
12239 int
12240 main ()
12241 {
12242
12243 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12244 #error intermediate gcc
12245 #endif
12246
12247 ;
12248 return 0;
12249 }
12250 _ACEOF
12251 rm -f conftest.$ac_objext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12253 (eval $ac_compile) 2>conftest.er1
12254 ac_status=$?
12255 grep -v '^ *+' conftest.er1 >conftest.err
12256 rm -f conftest.er1
12257 cat conftest.err >&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } &&
12260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5
12263 ac_status=$?
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; } &&
12266 { ac_try='test -s conftest.$ac_objext'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12269 ac_status=$?
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; }; then
12272
12273 wx_cv_gccversion=Innotek
12274
12275 else
12276 echo "$as_me: failed program was:" >&5
12277 sed 's/^/| /' conftest.$ac_ext >&5
12278
12279
12280 wx_cv_gccversion=3
12281
12282
12283 fi
12284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12285
12286 else
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12289
12290
12291 wx_cv_gccversion=2
12292
12293
12294 fi
12295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12296
12297 fi
12298 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12299 echo "${ECHO_T}$wx_cv_gccversion" >&6
12300 if test "$wx_cv_gccversion" = "2"; then
12301 LIBS="$LIBS -lstdcpp"
12302 LDFLAGS="$LDFLAGS -Zsysv-signals"
12303 else
12304 if test "$wx_cv_gccversion" = "3"; then
12305 LIBS="$LIBS -lstdcxx"
12306 LDFLAGS="$LDFLAGS -Zsysv-signals"
12307 else
12308 LIBS="$LIBS -lstdc++"
12309 fi
12310 fi
12311 if test "$wxUSE_OMF" = "yes"; then
12312 LDFLAGS="$LDFLAGS -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12313 fi
12314 ;;
12315 *)
12316
12317
12318
12319 ac_ext=cc
12320 ac_cpp='$CXXCPP $CPPFLAGS'
12321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12324
12325
12326
12327 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12328 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12329 if test "${ac_cv_string_strcasecmp+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 else
12332
12333 cat >conftest.$ac_ext <<_ACEOF
12334 /* confdefs.h. */
12335 _ACEOF
12336 cat confdefs.h >>conftest.$ac_ext
12337 cat >>conftest.$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12339
12340 #include <string.h>
12341
12342 int
12343 main ()
12344 {
12345
12346 strcasecmp("foo", "bar");
12347
12348 ;
12349 return 0;
12350 }
12351 _ACEOF
12352 rm -f conftest.$ac_objext conftest$ac_exeext
12353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12354 (eval $ac_link) 2>conftest.er1
12355 ac_status=$?
12356 grep -v '^ *+' conftest.er1 >conftest.err
12357 rm -f conftest.er1
12358 cat conftest.err >&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } &&
12361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12363 (eval $ac_try) 2>&5
12364 ac_status=$?
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); }; } &&
12367 { ac_try='test -s conftest$ac_exeext'
12368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12369 (eval $ac_try) 2>&5
12370 ac_status=$?
12371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12372 (exit $ac_status); }; }; then
12373 ac_cv_string_strcasecmp=yes
12374 else
12375 echo "$as_me: failed program was:" >&5
12376 sed 's/^/| /' conftest.$ac_ext >&5
12377
12378 ac_cv_string_strcasecmp=no
12379
12380 fi
12381 rm -f conftest.err conftest.$ac_objext \
12382 conftest$ac_exeext conftest.$ac_ext
12383
12384 fi
12385 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12386 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12387
12388 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12389 cat >>confdefs.h <<\_ACEOF
12390 #define HAVE_STRCASECMP_IN_STRING_H 1
12391 _ACEOF
12392
12393 else
12394 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12395 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12396 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12397 echo $ECHO_N "(cached) $ECHO_C" >&6
12398 else
12399
12400 cat >conftest.$ac_ext <<_ACEOF
12401 /* confdefs.h. */
12402 _ACEOF
12403 cat confdefs.h >>conftest.$ac_ext
12404 cat >>conftest.$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12406
12407 #include <strings.h>
12408
12409 int
12410 main ()
12411 {
12412
12413 strcasecmp("foo", "bar");
12414
12415 ;
12416 return 0;
12417 }
12418 _ACEOF
12419 rm -f conftest.$ac_objext conftest$ac_exeext
12420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12421 (eval $ac_link) 2>conftest.er1
12422 ac_status=$?
12423 grep -v '^ *+' conftest.er1 >conftest.err
12424 rm -f conftest.er1
12425 cat conftest.err >&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } &&
12428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12430 (eval $ac_try) 2>&5
12431 ac_status=$?
12432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433 (exit $ac_status); }; } &&
12434 { ac_try='test -s conftest$ac_exeext'
12435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12436 (eval $ac_try) 2>&5
12437 ac_status=$?
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; }; then
12440 ac_cv_strings_strcasecmp=yes
12441 else
12442 echo "$as_me: failed program was:" >&5
12443 sed 's/^/| /' conftest.$ac_ext >&5
12444
12445 ac_cv_strings_strcasecmp=no
12446
12447 fi
12448 rm -f conftest.err conftest.$ac_objext \
12449 conftest$ac_exeext conftest.$ac_ext
12450
12451 fi
12452 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12453 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12454
12455 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12456 cat >>confdefs.h <<\_ACEOF
12457 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12458 _ACEOF
12459
12460 else
12461 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12462 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12463 { (exit 1); exit 1; }; }
12464 fi
12465 fi
12466
12467 ac_ext=c
12468 ac_cpp='$CPP $CPPFLAGS'
12469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12472
12473 ;;
12474 esac
12475
12476
12477 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12478 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12479 if test "${ac_cv_header_stdc+set}" = set; then
12480 echo $ECHO_N "(cached) $ECHO_C" >&6
12481 else
12482 cat >conftest.$ac_ext <<_ACEOF
12483 /* confdefs.h. */
12484 _ACEOF
12485 cat confdefs.h >>conftest.$ac_ext
12486 cat >>conftest.$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12488 #include <stdlib.h>
12489 #include <stdarg.h>
12490 #include <string.h>
12491 #include <float.h>
12492
12493 int
12494 main ()
12495 {
12496
12497 ;
12498 return 0;
12499 }
12500 _ACEOF
12501 rm -f conftest.$ac_objext
12502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12503 (eval $ac_compile) 2>conftest.er1
12504 ac_status=$?
12505 grep -v '^ *+' conftest.er1 >conftest.err
12506 rm -f conftest.er1
12507 cat conftest.err >&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); } &&
12510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12513 ac_status=$?
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try='test -s conftest.$ac_objext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12519 ac_status=$?
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 ac_cv_header_stdc=yes
12523 else
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.$ac_ext >&5
12526
12527 ac_cv_header_stdc=no
12528 fi
12529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12530
12531 if test $ac_cv_header_stdc = yes; then
12532 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12533 cat >conftest.$ac_ext <<_ACEOF
12534 /* confdefs.h. */
12535 _ACEOF
12536 cat confdefs.h >>conftest.$ac_ext
12537 cat >>conftest.$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 #include <string.h>
12540
12541 _ACEOF
12542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12543 $EGREP "memchr" >/dev/null 2>&1; then
12544 :
12545 else
12546 ac_cv_header_stdc=no
12547 fi
12548 rm -f conftest*
12549
12550 fi
12551
12552 if test $ac_cv_header_stdc = yes; then
12553 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12554 cat >conftest.$ac_ext <<_ACEOF
12555 /* confdefs.h. */
12556 _ACEOF
12557 cat confdefs.h >>conftest.$ac_ext
12558 cat >>conftest.$ac_ext <<_ACEOF
12559 /* end confdefs.h. */
12560 #include <stdlib.h>
12561
12562 _ACEOF
12563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12564 $EGREP "free" >/dev/null 2>&1; then
12565 :
12566 else
12567 ac_cv_header_stdc=no
12568 fi
12569 rm -f conftest*
12570
12571 fi
12572
12573 if test $ac_cv_header_stdc = yes; then
12574 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12575 if test "$cross_compiling" = yes; then
12576 :
12577 else
12578 cat >conftest.$ac_ext <<_ACEOF
12579 /* confdefs.h. */
12580 _ACEOF
12581 cat confdefs.h >>conftest.$ac_ext
12582 cat >>conftest.$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12584 #include <ctype.h>
12585 #if ((' ' & 0x0FF) == 0x020)
12586 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12587 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12588 #else
12589 # define ISLOWER(c) \
12590 (('a' <= (c) && (c) <= 'i') \
12591 || ('j' <= (c) && (c) <= 'r') \
12592 || ('s' <= (c) && (c) <= 'z'))
12593 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12594 #endif
12595
12596 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12597 int
12598 main ()
12599 {
12600 int i;
12601 for (i = 0; i < 256; i++)
12602 if (XOR (islower (i), ISLOWER (i))
12603 || toupper (i) != TOUPPER (i))
12604 exit(2);
12605 exit (0);
12606 }
12607 _ACEOF
12608 rm -f conftest$ac_exeext
12609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12610 (eval $ac_link) 2>&5
12611 ac_status=$?
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 :
12620 else
12621 echo "$as_me: program exited with status $ac_status" >&5
12622 echo "$as_me: failed program was:" >&5
12623 sed 's/^/| /' conftest.$ac_ext >&5
12624
12625 ( exit $ac_status )
12626 ac_cv_header_stdc=no
12627 fi
12628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12629 fi
12630 fi
12631 fi
12632 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12633 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12634 if test $ac_cv_header_stdc = yes; then
12635
12636 cat >>confdefs.h <<\_ACEOF
12637 #define STDC_HEADERS 1
12638 _ACEOF
12639
12640 fi
12641
12642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12653 inttypes.h stdint.h unistd.h
12654 do
12655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12656 echo "$as_me:$LINENO: checking for $ac_header" >&5
12657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 else
12661 cat >conftest.$ac_ext <<_ACEOF
12662 /* confdefs.h. */
12663 _ACEOF
12664 cat confdefs.h >>conftest.$ac_ext
12665 cat >>conftest.$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12667 $ac_includes_default
12668
12669 #include <$ac_header>
12670 _ACEOF
12671 rm -f conftest.$ac_objext
12672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12673 (eval $ac_compile) 2>conftest.er1
12674 ac_status=$?
12675 grep -v '^ *+' conftest.er1 >conftest.err
12676 rm -f conftest.er1
12677 cat conftest.err >&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12683 ac_status=$?
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; } &&
12686 { ac_try='test -s conftest.$ac_objext'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12689 ac_status=$?
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; }; then
12692 eval "$as_ac_Header=yes"
12693 else
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.$ac_ext >&5
12696
12697 eval "$as_ac_Header=no"
12698 fi
12699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12700 fi
12701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12704 cat >>confdefs.h <<_ACEOF
12705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12706 _ACEOF
12707
12708 fi
12709
12710 done
12711
12712
12713
12714 for ac_header in stdlib.h
12715 do
12716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12718 echo "$as_me:$LINENO: checking for $ac_header" >&5
12719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12721 echo $ECHO_N "(cached) $ECHO_C" >&6
12722 fi
12723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12725 else
12726 # Is the header compilable?
12727 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12728 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12729 cat >conftest.$ac_ext <<_ACEOF
12730 /* confdefs.h. */
12731 _ACEOF
12732 cat confdefs.h >>conftest.$ac_ext
12733 cat >>conftest.$ac_ext <<_ACEOF
12734 /* end confdefs.h. */
12735 $ac_includes_default
12736 #include <$ac_header>
12737 _ACEOF
12738 rm -f conftest.$ac_objext
12739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12740 (eval $ac_compile) 2>conftest.er1
12741 ac_status=$?
12742 grep -v '^ *+' conftest.er1 >conftest.err
12743 rm -f conftest.er1
12744 cat conftest.err >&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
12747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12750 ac_status=$?
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; } &&
12753 { ac_try='test -s conftest.$ac_objext'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12756 ac_status=$?
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; }; then
12759 ac_header_compiler=yes
12760 else
12761 echo "$as_me: failed program was:" >&5
12762 sed 's/^/| /' conftest.$ac_ext >&5
12763
12764 ac_header_compiler=no
12765 fi
12766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12768 echo "${ECHO_T}$ac_header_compiler" >&6
12769
12770 # Is the header present?
12771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12773 cat >conftest.$ac_ext <<_ACEOF
12774 /* confdefs.h. */
12775 _ACEOF
12776 cat confdefs.h >>conftest.$ac_ext
12777 cat >>conftest.$ac_ext <<_ACEOF
12778 /* end confdefs.h. */
12779 #include <$ac_header>
12780 _ACEOF
12781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12783 ac_status=$?
12784 grep -v '^ *+' conftest.er1 >conftest.err
12785 rm -f conftest.er1
12786 cat conftest.err >&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } >/dev/null; then
12789 if test -s conftest.err; then
12790 ac_cpp_err=$ac_c_preproc_warn_flag
12791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12792 else
12793 ac_cpp_err=
12794 fi
12795 else
12796 ac_cpp_err=yes
12797 fi
12798 if test -z "$ac_cpp_err"; then
12799 ac_header_preproc=yes
12800 else
12801 echo "$as_me: failed program was:" >&5
12802 sed 's/^/| /' conftest.$ac_ext >&5
12803
12804 ac_header_preproc=no
12805 fi
12806 rm -f conftest.err conftest.$ac_ext
12807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12808 echo "${ECHO_T}$ac_header_preproc" >&6
12809
12810 # So? What about this header?
12811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12812 yes:no: )
12813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12817 ac_header_preproc=yes
12818 ;;
12819 no:yes:* )
12820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12832 (
12833 cat <<\_ASBOX
12834 ## ----------------------------------------- ##
12835 ## Report this to wx-dev@lists.wxwindows.org ##
12836 ## ----------------------------------------- ##
12837 _ASBOX
12838 ) |
12839 sed "s/^/$as_me: WARNING: /" >&2
12840 ;;
12841 esac
12842 echo "$as_me:$LINENO: checking for $ac_header" >&5
12843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12845 echo $ECHO_N "(cached) $ECHO_C" >&6
12846 else
12847 eval "$as_ac_Header=\$ac_header_preproc"
12848 fi
12849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12851
12852 fi
12853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12854 cat >>confdefs.h <<_ACEOF
12855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12856 _ACEOF
12857
12858 fi
12859
12860 done
12861
12862
12863 for ac_header in malloc.h
12864 do
12865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12867 echo "$as_me:$LINENO: checking for $ac_header" >&5
12868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 fi
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12874 else
12875 # Is the header compilable?
12876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12878 cat >conftest.$ac_ext <<_ACEOF
12879 /* confdefs.h. */
12880 _ACEOF
12881 cat confdefs.h >>conftest.$ac_ext
12882 cat >>conftest.$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 $ac_includes_default
12885 #include <$ac_header>
12886 _ACEOF
12887 rm -f conftest.$ac_objext
12888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12889 (eval $ac_compile) 2>conftest.er1
12890 ac_status=$?
12891 grep -v '^ *+' conftest.er1 >conftest.err
12892 rm -f conftest.er1
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } &&
12896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12898 (eval $ac_try) 2>&5
12899 ac_status=$?
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); }; } &&
12902 { ac_try='test -s conftest.$ac_objext'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12905 ac_status=$?
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; }; then
12908 ac_header_compiler=yes
12909 else
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12912
12913 ac_header_compiler=no
12914 fi
12915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12917 echo "${ECHO_T}$ac_header_compiler" >&6
12918
12919 # Is the header present?
12920 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12921 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12922 cat >conftest.$ac_ext <<_ACEOF
12923 /* confdefs.h. */
12924 _ACEOF
12925 cat confdefs.h >>conftest.$ac_ext
12926 cat >>conftest.$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 #include <$ac_header>
12929 _ACEOF
12930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12932 ac_status=$?
12933 grep -v '^ *+' conftest.er1 >conftest.err
12934 rm -f conftest.er1
12935 cat conftest.err >&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); } >/dev/null; then
12938 if test -s conftest.err; then
12939 ac_cpp_err=$ac_c_preproc_warn_flag
12940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12941 else
12942 ac_cpp_err=
12943 fi
12944 else
12945 ac_cpp_err=yes
12946 fi
12947 if test -z "$ac_cpp_err"; then
12948 ac_header_preproc=yes
12949 else
12950 echo "$as_me: failed program was:" >&5
12951 sed 's/^/| /' conftest.$ac_ext >&5
12952
12953 ac_header_preproc=no
12954 fi
12955 rm -f conftest.err conftest.$ac_ext
12956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12957 echo "${ECHO_T}$ac_header_preproc" >&6
12958
12959 # So? What about this header?
12960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12961 yes:no: )
12962 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12963 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12965 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12966 ac_header_preproc=yes
12967 ;;
12968 no:yes:* )
12969 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12970 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12971 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12972 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12973 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12974 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12975 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12976 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12978 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12979 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12980 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12981 (
12982 cat <<\_ASBOX
12983 ## ----------------------------------------- ##
12984 ## Report this to wx-dev@lists.wxwindows.org ##
12985 ## ----------------------------------------- ##
12986 _ASBOX
12987 ) |
12988 sed "s/^/$as_me: WARNING: /" >&2
12989 ;;
12990 esac
12991 echo "$as_me:$LINENO: checking for $ac_header" >&5
12992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12994 echo $ECHO_N "(cached) $ECHO_C" >&6
12995 else
12996 eval "$as_ac_Header=\$ac_header_preproc"
12997 fi
12998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13000
13001 fi
13002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13003 cat >>confdefs.h <<_ACEOF
13004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13005 _ACEOF
13006
13007 fi
13008
13009 done
13010
13011
13012 for ac_header in unistd.h
13013 do
13014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13016 echo "$as_me:$LINENO: checking for $ac_header" >&5
13017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13020 fi
13021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13023 else
13024 # Is the header compilable?
13025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13027 cat >conftest.$ac_ext <<_ACEOF
13028 /* confdefs.h. */
13029 _ACEOF
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 $ac_includes_default
13034 #include <$ac_header>
13035 _ACEOF
13036 rm -f conftest.$ac_objext
13037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13038 (eval $ac_compile) 2>conftest.er1
13039 ac_status=$?
13040 grep -v '^ *+' conftest.er1 >conftest.err
13041 rm -f conftest.er1
13042 cat conftest.err >&5
13043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13044 (exit $ac_status); } &&
13045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13047 (eval $ac_try) 2>&5
13048 ac_status=$?
13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13050 (exit $ac_status); }; } &&
13051 { ac_try='test -s conftest.$ac_objext'
13052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13053 (eval $ac_try) 2>&5
13054 ac_status=$?
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); }; }; then
13057 ac_header_compiler=yes
13058 else
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.$ac_ext >&5
13061
13062 ac_header_compiler=no
13063 fi
13064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13066 echo "${ECHO_T}$ac_header_compiler" >&6
13067
13068 # Is the header present?
13069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13071 cat >conftest.$ac_ext <<_ACEOF
13072 /* confdefs.h. */
13073 _ACEOF
13074 cat confdefs.h >>conftest.$ac_ext
13075 cat >>conftest.$ac_ext <<_ACEOF
13076 /* end confdefs.h. */
13077 #include <$ac_header>
13078 _ACEOF
13079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13081 ac_status=$?
13082 grep -v '^ *+' conftest.er1 >conftest.err
13083 rm -f conftest.er1
13084 cat conftest.err >&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } >/dev/null; then
13087 if test -s conftest.err; then
13088 ac_cpp_err=$ac_c_preproc_warn_flag
13089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13090 else
13091 ac_cpp_err=
13092 fi
13093 else
13094 ac_cpp_err=yes
13095 fi
13096 if test -z "$ac_cpp_err"; then
13097 ac_header_preproc=yes
13098 else
13099 echo "$as_me: failed program was:" >&5
13100 sed 's/^/| /' conftest.$ac_ext >&5
13101
13102 ac_header_preproc=no
13103 fi
13104 rm -f conftest.err conftest.$ac_ext
13105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13106 echo "${ECHO_T}$ac_header_preproc" >&6
13107
13108 # So? What about this header?
13109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13110 yes:no: )
13111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13115 ac_header_preproc=yes
13116 ;;
13117 no:yes:* )
13118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13130 (
13131 cat <<\_ASBOX
13132 ## ----------------------------------------- ##
13133 ## Report this to wx-dev@lists.wxwindows.org ##
13134 ## ----------------------------------------- ##
13135 _ASBOX
13136 ) |
13137 sed "s/^/$as_me: WARNING: /" >&2
13138 ;;
13139 esac
13140 echo "$as_me:$LINENO: checking for $ac_header" >&5
13141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13143 echo $ECHO_N "(cached) $ECHO_C" >&6
13144 else
13145 eval "$as_ac_Header=\$ac_header_preproc"
13146 fi
13147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13149
13150 fi
13151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13152 cat >>confdefs.h <<_ACEOF
13153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13154 _ACEOF
13155
13156 fi
13157
13158 done
13159
13160
13161 for ac_header in wchar.h
13162 do
13163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13165 echo "$as_me:$LINENO: checking for $ac_header" >&5
13166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13168 echo $ECHO_N "(cached) $ECHO_C" >&6
13169 fi
13170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13172 else
13173 # Is the header compilable?
13174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13176 cat >conftest.$ac_ext <<_ACEOF
13177 /* confdefs.h. */
13178 _ACEOF
13179 cat confdefs.h >>conftest.$ac_ext
13180 cat >>conftest.$ac_ext <<_ACEOF
13181 /* end confdefs.h. */
13182 $ac_includes_default
13183 #include <$ac_header>
13184 _ACEOF
13185 rm -f conftest.$ac_objext
13186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13187 (eval $ac_compile) 2>conftest.er1
13188 ac_status=$?
13189 grep -v '^ *+' conftest.er1 >conftest.err
13190 rm -f conftest.er1
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } &&
13194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196 (eval $ac_try) 2>&5
13197 ac_status=$?
13198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 (exit $ac_status); }; } &&
13200 { ac_try='test -s conftest.$ac_objext'
13201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202 (eval $ac_try) 2>&5
13203 ac_status=$?
13204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205 (exit $ac_status); }; }; then
13206 ac_header_compiler=yes
13207 else
13208 echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.$ac_ext >&5
13210
13211 ac_header_compiler=no
13212 fi
13213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13215 echo "${ECHO_T}$ac_header_compiler" >&6
13216
13217 # Is the header present?
13218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13220 cat >conftest.$ac_ext <<_ACEOF
13221 /* confdefs.h. */
13222 _ACEOF
13223 cat confdefs.h >>conftest.$ac_ext
13224 cat >>conftest.$ac_ext <<_ACEOF
13225 /* end confdefs.h. */
13226 #include <$ac_header>
13227 _ACEOF
13228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13230 ac_status=$?
13231 grep -v '^ *+' conftest.er1 >conftest.err
13232 rm -f conftest.er1
13233 cat conftest.err >&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } >/dev/null; then
13236 if test -s conftest.err; then
13237 ac_cpp_err=$ac_c_preproc_warn_flag
13238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13239 else
13240 ac_cpp_err=
13241 fi
13242 else
13243 ac_cpp_err=yes
13244 fi
13245 if test -z "$ac_cpp_err"; then
13246 ac_header_preproc=yes
13247 else
13248 echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.$ac_ext >&5
13250
13251 ac_header_preproc=no
13252 fi
13253 rm -f conftest.err conftest.$ac_ext
13254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13255 echo "${ECHO_T}$ac_header_preproc" >&6
13256
13257 # So? What about this header?
13258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13259 yes:no: )
13260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13264 ac_header_preproc=yes
13265 ;;
13266 no:yes:* )
13267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13279 (
13280 cat <<\_ASBOX
13281 ## ----------------------------------------- ##
13282 ## Report this to wx-dev@lists.wxwindows.org ##
13283 ## ----------------------------------------- ##
13284 _ASBOX
13285 ) |
13286 sed "s/^/$as_me: WARNING: /" >&2
13287 ;;
13288 esac
13289 echo "$as_me:$LINENO: checking for $ac_header" >&5
13290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13292 echo $ECHO_N "(cached) $ECHO_C" >&6
13293 else
13294 eval "$as_ac_Header=\$ac_header_preproc"
13295 fi
13296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13298
13299 fi
13300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13301 cat >>confdefs.h <<_ACEOF
13302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13303 _ACEOF
13304
13305 fi
13306
13307 done
13308
13309
13310 if test "$ac_cv_header_wchar_h" != "yes"; then
13311
13312 for ac_header in wcstr.h
13313 do
13314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13316 echo "$as_me:$LINENO: checking for $ac_header" >&5
13317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13320 fi
13321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13323 else
13324 # Is the header compilable?
13325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13327 cat >conftest.$ac_ext <<_ACEOF
13328 /* confdefs.h. */
13329 _ACEOF
13330 cat confdefs.h >>conftest.$ac_ext
13331 cat >>conftest.$ac_ext <<_ACEOF
13332 /* end confdefs.h. */
13333 $ac_includes_default
13334 #include <$ac_header>
13335 _ACEOF
13336 rm -f conftest.$ac_objext
13337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13338 (eval $ac_compile) 2>conftest.er1
13339 ac_status=$?
13340 grep -v '^ *+' conftest.er1 >conftest.err
13341 rm -f conftest.er1
13342 cat conftest.err >&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } &&
13345 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13347 (eval $ac_try) 2>&5
13348 ac_status=$?
13349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); }; } &&
13351 { ac_try='test -s conftest.$ac_objext'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13354 ac_status=$?
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; }; then
13357 ac_header_compiler=yes
13358 else
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.$ac_ext >&5
13361
13362 ac_header_compiler=no
13363 fi
13364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13365 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13366 echo "${ECHO_T}$ac_header_compiler" >&6
13367
13368 # Is the header present?
13369 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13371 cat >conftest.$ac_ext <<_ACEOF
13372 /* confdefs.h. */
13373 _ACEOF
13374 cat confdefs.h >>conftest.$ac_ext
13375 cat >>conftest.$ac_ext <<_ACEOF
13376 /* end confdefs.h. */
13377 #include <$ac_header>
13378 _ACEOF
13379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13380 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } >/dev/null; then
13387 if test -s conftest.err; then
13388 ac_cpp_err=$ac_c_preproc_warn_flag
13389 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13390 else
13391 ac_cpp_err=
13392 fi
13393 else
13394 ac_cpp_err=yes
13395 fi
13396 if test -z "$ac_cpp_err"; then
13397 ac_header_preproc=yes
13398 else
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.$ac_ext >&5
13401
13402 ac_header_preproc=no
13403 fi
13404 rm -f conftest.err conftest.$ac_ext
13405 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13406 echo "${ECHO_T}$ac_header_preproc" >&6
13407
13408 # So? What about this header?
13409 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13410 yes:no: )
13411 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13412 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13414 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13415 ac_header_preproc=yes
13416 ;;
13417 no:yes:* )
13418 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13419 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13420 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13421 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13422 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13423 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13424 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13425 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13426 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13427 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13428 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13429 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13430 (
13431 cat <<\_ASBOX
13432 ## ----------------------------------------- ##
13433 ## Report this to wx-dev@lists.wxwindows.org ##
13434 ## ----------------------------------------- ##
13435 _ASBOX
13436 ) |
13437 sed "s/^/$as_me: WARNING: /" >&2
13438 ;;
13439 esac
13440 echo "$as_me:$LINENO: checking for $ac_header" >&5
13441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13443 echo $ECHO_N "(cached) $ECHO_C" >&6
13444 else
13445 eval "$as_ac_Header=\$ac_header_preproc"
13446 fi
13447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13449
13450 fi
13451 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13452 cat >>confdefs.h <<_ACEOF
13453 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13454 _ACEOF
13455
13456 fi
13457
13458 done
13459
13460 fi
13461
13462
13463 for ac_header in fnmatch.h
13464 do
13465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13467 echo "$as_me:$LINENO: checking for $ac_header" >&5
13468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 fi
13472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13474 else
13475 # Is the header compilable?
13476 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13477 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13478 cat >conftest.$ac_ext <<_ACEOF
13479 /* confdefs.h. */
13480 _ACEOF
13481 cat confdefs.h >>conftest.$ac_ext
13482 cat >>conftest.$ac_ext <<_ACEOF
13483 /* end confdefs.h. */
13484 $ac_includes_default
13485 #include <$ac_header>
13486 _ACEOF
13487 rm -f conftest.$ac_objext
13488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13489 (eval $ac_compile) 2>conftest.er1
13490 ac_status=$?
13491 grep -v '^ *+' conftest.er1 >conftest.err
13492 rm -f conftest.er1
13493 cat conftest.err >&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); } &&
13496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13499 ac_status=$?
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; } &&
13502 { ac_try='test -s conftest.$ac_objext'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5
13505 ac_status=$?
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); }; }; then
13508 ac_header_compiler=yes
13509 else
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13512
13513 ac_header_compiler=no
13514 fi
13515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13517 echo "${ECHO_T}$ac_header_compiler" >&6
13518
13519 # Is the header present?
13520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13522 cat >conftest.$ac_ext <<_ACEOF
13523 /* confdefs.h. */
13524 _ACEOF
13525 cat confdefs.h >>conftest.$ac_ext
13526 cat >>conftest.$ac_ext <<_ACEOF
13527 /* end confdefs.h. */
13528 #include <$ac_header>
13529 _ACEOF
13530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13532 ac_status=$?
13533 grep -v '^ *+' conftest.er1 >conftest.err
13534 rm -f conftest.er1
13535 cat conftest.err >&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); } >/dev/null; then
13538 if test -s conftest.err; then
13539 ac_cpp_err=$ac_c_preproc_warn_flag
13540 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13541 else
13542 ac_cpp_err=
13543 fi
13544 else
13545 ac_cpp_err=yes
13546 fi
13547 if test -z "$ac_cpp_err"; then
13548 ac_header_preproc=yes
13549 else
13550 echo "$as_me: failed program was:" >&5
13551 sed 's/^/| /' conftest.$ac_ext >&5
13552
13553 ac_header_preproc=no
13554 fi
13555 rm -f conftest.err conftest.$ac_ext
13556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13557 echo "${ECHO_T}$ac_header_preproc" >&6
13558
13559 # So? What about this header?
13560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13561 yes:no: )
13562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13566 ac_header_preproc=yes
13567 ;;
13568 no:yes:* )
13569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13581 (
13582 cat <<\_ASBOX
13583 ## ----------------------------------------- ##
13584 ## Report this to wx-dev@lists.wxwindows.org ##
13585 ## ----------------------------------------- ##
13586 _ASBOX
13587 ) |
13588 sed "s/^/$as_me: WARNING: /" >&2
13589 ;;
13590 esac
13591 echo "$as_me:$LINENO: checking for $ac_header" >&5
13592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13594 echo $ECHO_N "(cached) $ECHO_C" >&6
13595 else
13596 eval "$as_ac_Header=\$ac_header_preproc"
13597 fi
13598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13600
13601 fi
13602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13603 cat >>confdefs.h <<_ACEOF
13604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13605 _ACEOF
13606
13607 fi
13608
13609 done
13610
13611
13612 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13613
13614 for ac_func in fnmatch
13615 do
13616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13617 echo "$as_me:$LINENO: checking for $ac_func" >&5
13618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13619 if eval "test \"\${$as_ac_var+set}\" = set"; then
13620 echo $ECHO_N "(cached) $ECHO_C" >&6
13621 else
13622 cat >conftest.$ac_ext <<_ACEOF
13623 /* confdefs.h. */
13624 _ACEOF
13625 cat confdefs.h >>conftest.$ac_ext
13626 cat >>conftest.$ac_ext <<_ACEOF
13627 /* end confdefs.h. */
13628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13630 #define $ac_func innocuous_$ac_func
13631
13632 /* System header to define __stub macros and hopefully few prototypes,
13633 which can conflict with char $ac_func (); below.
13634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13635 <limits.h> exists even on freestanding compilers. */
13636
13637 #ifdef __STDC__
13638 # include <limits.h>
13639 #else
13640 # include <assert.h>
13641 #endif
13642
13643 #undef $ac_func
13644
13645 /* Override any gcc2 internal prototype to avoid an error. */
13646 #ifdef __cplusplus
13647 extern "C"
13648 {
13649 #endif
13650 /* We use char because int might match the return type of a gcc2
13651 builtin and then its argument prototype would still apply. */
13652 char $ac_func ();
13653 /* The GNU C library defines this for functions which it implements
13654 to always fail with ENOSYS. Some functions are actually named
13655 something starting with __ and the normal name is an alias. */
13656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13657 choke me
13658 #else
13659 char (*f) () = $ac_func;
13660 #endif
13661 #ifdef __cplusplus
13662 }
13663 #endif
13664
13665 int
13666 main ()
13667 {
13668 return f != $ac_func;
13669 ;
13670 return 0;
13671 }
13672 _ACEOF
13673 rm -f conftest.$ac_objext conftest$ac_exeext
13674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13675 (eval $ac_link) 2>conftest.er1
13676 ac_status=$?
13677 grep -v '^ *+' conftest.er1 >conftest.err
13678 rm -f conftest.er1
13679 cat conftest.err >&5
13680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13681 (exit $ac_status); } &&
13682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13685 ac_status=$?
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; } &&
13688 { ac_try='test -s conftest$ac_exeext'
13689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13690 (eval $ac_try) 2>&5
13691 ac_status=$?
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; }; then
13694 eval "$as_ac_var=yes"
13695 else
13696 echo "$as_me: failed program was:" >&5
13697 sed 's/^/| /' conftest.$ac_ext >&5
13698
13699 eval "$as_ac_var=no"
13700 fi
13701 rm -f conftest.err conftest.$ac_objext \
13702 conftest$ac_exeext conftest.$ac_ext
13703 fi
13704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13706 if test `eval echo '${'$as_ac_var'}'` = yes; then
13707 cat >>confdefs.h <<_ACEOF
13708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13709 _ACEOF
13710
13711 fi
13712 done
13713
13714 fi
13715
13716
13717 for ac_header in langinfo.h
13718 do
13719 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13721 echo "$as_me:$LINENO: checking for $ac_header" >&5
13722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13724 echo $ECHO_N "(cached) $ECHO_C" >&6
13725 fi
13726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13728 else
13729 # Is the header compilable?
13730 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13731 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13732 cat >conftest.$ac_ext <<_ACEOF
13733 /* confdefs.h. */
13734 _ACEOF
13735 cat confdefs.h >>conftest.$ac_ext
13736 cat >>conftest.$ac_ext <<_ACEOF
13737 /* end confdefs.h. */
13738 $ac_includes_default
13739 #include <$ac_header>
13740 _ACEOF
13741 rm -f conftest.$ac_objext
13742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13743 (eval $ac_compile) 2>conftest.er1
13744 ac_status=$?
13745 grep -v '^ *+' conftest.er1 >conftest.err
13746 rm -f conftest.er1
13747 cat conftest.err >&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } &&
13750 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13752 (eval $ac_try) 2>&5
13753 ac_status=$?
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }; } &&
13756 { ac_try='test -s conftest.$ac_objext'
13757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13759 ac_status=$?
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; }; then
13762 ac_header_compiler=yes
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13766
13767 ac_header_compiler=no
13768 fi
13769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13770 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13771 echo "${ECHO_T}$ac_header_compiler" >&6
13772
13773 # Is the header present?
13774 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13775 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13776 cat >conftest.$ac_ext <<_ACEOF
13777 /* confdefs.h. */
13778 _ACEOF
13779 cat confdefs.h >>conftest.$ac_ext
13780 cat >>conftest.$ac_ext <<_ACEOF
13781 /* end confdefs.h. */
13782 #include <$ac_header>
13783 _ACEOF
13784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13786 ac_status=$?
13787 grep -v '^ *+' conftest.er1 >conftest.err
13788 rm -f conftest.er1
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } >/dev/null; then
13792 if test -s conftest.err; then
13793 ac_cpp_err=$ac_c_preproc_warn_flag
13794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13795 else
13796 ac_cpp_err=
13797 fi
13798 else
13799 ac_cpp_err=yes
13800 fi
13801 if test -z "$ac_cpp_err"; then
13802 ac_header_preproc=yes
13803 else
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.$ac_ext >&5
13806
13807 ac_header_preproc=no
13808 fi
13809 rm -f conftest.err conftest.$ac_ext
13810 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13811 echo "${ECHO_T}$ac_header_preproc" >&6
13812
13813 # So? What about this header?
13814 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13815 yes:no: )
13816 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13817 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13819 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13820 ac_header_preproc=yes
13821 ;;
13822 no:yes:* )
13823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13827 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13828 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13829 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13830 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13833 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13834 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13835 (
13836 cat <<\_ASBOX
13837 ## ----------------------------------------- ##
13838 ## Report this to wx-dev@lists.wxwindows.org ##
13839 ## ----------------------------------------- ##
13840 _ASBOX
13841 ) |
13842 sed "s/^/$as_me: WARNING: /" >&2
13843 ;;
13844 esac
13845 echo "$as_me:$LINENO: checking for $ac_header" >&5
13846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13849 else
13850 eval "$as_ac_Header=\$ac_header_preproc"
13851 fi
13852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13853 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13854
13855 fi
13856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13857 cat >>confdefs.h <<_ACEOF
13858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13859 _ACEOF
13860
13861 fi
13862
13863 done
13864
13865
13866 case "${host}" in
13867 *-pc-os2_emx | *-pc-os2-emx )
13868 if test $ac_cv_header_langinfo_h = "yes"; then
13869 LIBS="$LIBS -lintl"
13870 fi
13871 ;;
13872 esac
13873
13874 if test "$wxUSE_GUI" = "yes"; then
13875 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13876
13877 for ac_header in X11/Xlib.h
13878 do
13879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13881 echo "$as_me:$LINENO: checking for $ac_header" >&5
13882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13884 echo $ECHO_N "(cached) $ECHO_C" >&6
13885 fi
13886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13888 else
13889 # Is the header compilable?
13890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13892 cat >conftest.$ac_ext <<_ACEOF
13893 /* confdefs.h. */
13894 _ACEOF
13895 cat confdefs.h >>conftest.$ac_ext
13896 cat >>conftest.$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13898 $ac_includes_default
13899 #include <$ac_header>
13900 _ACEOF
13901 rm -f conftest.$ac_objext
13902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13903 (eval $ac_compile) 2>conftest.er1
13904 ac_status=$?
13905 grep -v '^ *+' conftest.er1 >conftest.err
13906 rm -f conftest.er1
13907 cat conftest.err >&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } &&
13910 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; } &&
13916 { ac_try='test -s conftest.$ac_objext'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13919 ac_status=$?
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; }; then
13922 ac_header_compiler=yes
13923 else
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.$ac_ext >&5
13926
13927 ac_header_compiler=no
13928 fi
13929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13931 echo "${ECHO_T}$ac_header_compiler" >&6
13932
13933 # Is the header present?
13934 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13936 cat >conftest.$ac_ext <<_ACEOF
13937 /* confdefs.h. */
13938 _ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13942 #include <$ac_header>
13943 _ACEOF
13944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13946 ac_status=$?
13947 grep -v '^ *+' conftest.er1 >conftest.err
13948 rm -f conftest.er1
13949 cat conftest.err >&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); } >/dev/null; then
13952 if test -s conftest.err; then
13953 ac_cpp_err=$ac_c_preproc_warn_flag
13954 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13955 else
13956 ac_cpp_err=
13957 fi
13958 else
13959 ac_cpp_err=yes
13960 fi
13961 if test -z "$ac_cpp_err"; then
13962 ac_header_preproc=yes
13963 else
13964 echo "$as_me: failed program was:" >&5
13965 sed 's/^/| /' conftest.$ac_ext >&5
13966
13967 ac_header_preproc=no
13968 fi
13969 rm -f conftest.err conftest.$ac_ext
13970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13971 echo "${ECHO_T}$ac_header_preproc" >&6
13972
13973 # So? What about this header?
13974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13975 yes:no: )
13976 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13977 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13979 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13980 ac_header_preproc=yes
13981 ;;
13982 no:yes:* )
13983 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13984 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13985 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13986 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13987 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13988 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13989 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13990 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13993 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13994 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13995 (
13996 cat <<\_ASBOX
13997 ## ----------------------------------------- ##
13998 ## Report this to wx-dev@lists.wxwindows.org ##
13999 ## ----------------------------------------- ##
14000 _ASBOX
14001 ) |
14002 sed "s/^/$as_me: WARNING: /" >&2
14003 ;;
14004 esac
14005 echo "$as_me:$LINENO: checking for $ac_header" >&5
14006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 else
14010 eval "$as_ac_Header=\$ac_header_preproc"
14011 fi
14012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14014
14015 fi
14016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14017 cat >>confdefs.h <<_ACEOF
14018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14019 _ACEOF
14020
14021 fi
14022
14023 done
14024
14025
14026 for ac_header in X11/XKBlib.h
14027 do
14028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14029 echo "$as_me:$LINENO: checking for $ac_header" >&5
14030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 cat >conftest.$ac_ext <<_ACEOF
14035 /* confdefs.h. */
14036 _ACEOF
14037 cat confdefs.h >>conftest.$ac_ext
14038 cat >>conftest.$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14040
14041 #if HAVE_X11_XLIB_H
14042 #include <X11/Xlib.h>
14043 #endif
14044
14045
14046 #include <$ac_header>
14047 _ACEOF
14048 rm -f conftest.$ac_objext
14049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14050 (eval $ac_compile) 2>conftest.er1
14051 ac_status=$?
14052 grep -v '^ *+' conftest.er1 >conftest.err
14053 rm -f conftest.er1
14054 cat conftest.err >&5
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14060 ac_status=$?
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; } &&
14063 { ac_try='test -s conftest.$ac_objext'
14064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14065 (eval $ac_try) 2>&5
14066 ac_status=$?
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); }; }; then
14069 eval "$as_ac_Header=yes"
14070 else
14071 echo "$as_me: failed program was:" >&5
14072 sed 's/^/| /' conftest.$ac_ext >&5
14073
14074 eval "$as_ac_Header=no"
14075 fi
14076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14077 fi
14078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14081 cat >>confdefs.h <<_ACEOF
14082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14083 _ACEOF
14084
14085 fi
14086
14087 done
14088
14089 fi
14090 fi
14091
14092
14093 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14094 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14095 if test "${ac_cv_c_const+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14097 else
14098 cat >conftest.$ac_ext <<_ACEOF
14099 /* confdefs.h. */
14100 _ACEOF
14101 cat confdefs.h >>conftest.$ac_ext
14102 cat >>conftest.$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14104
14105 int
14106 main ()
14107 {
14108 /* FIXME: Include the comments suggested by Paul. */
14109 #ifndef __cplusplus
14110 /* Ultrix mips cc rejects this. */
14111 typedef int charset[2];
14112 const charset x;
14113 /* SunOS 4.1.1 cc rejects this. */
14114 char const *const *ccp;
14115 char **p;
14116 /* NEC SVR4.0.2 mips cc rejects this. */
14117 struct point {int x, y;};
14118 static struct point const zero = {0,0};
14119 /* AIX XL C 1.02.0.0 rejects this.
14120 It does not let you subtract one const X* pointer from another in
14121 an arm of an if-expression whose if-part is not a constant
14122 expression */
14123 const char *g = "string";
14124 ccp = &g + (g ? g-g : 0);
14125 /* HPUX 7.0 cc rejects these. */
14126 ++ccp;
14127 p = (char**) ccp;
14128 ccp = (char const *const *) p;
14129 { /* SCO 3.2v4 cc rejects this. */
14130 char *t;
14131 char const *s = 0 ? (char *) 0 : (char const *) 0;
14132
14133 *t++ = 0;
14134 }
14135 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14136 int x[] = {25, 17};
14137 const int *foo = &x[0];
14138 ++foo;
14139 }
14140 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14141 typedef const int *iptr;
14142 iptr p = 0;
14143 ++p;
14144 }
14145 { /* AIX XL C 1.02.0.0 rejects this saying
14146 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14147 struct s { int j; const int *ap[3]; };
14148 struct s *b; b->j = 5;
14149 }
14150 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14151 const int foo = 10;
14152 }
14153 #endif
14154
14155 ;
14156 return 0;
14157 }
14158 _ACEOF
14159 rm -f conftest.$ac_objext
14160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14161 (eval $ac_compile) 2>conftest.er1
14162 ac_status=$?
14163 grep -v '^ *+' conftest.er1 >conftest.err
14164 rm -f conftest.er1
14165 cat conftest.err >&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); } &&
14168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14180 ac_cv_c_const=yes
14181 else
14182 echo "$as_me: failed program was:" >&5
14183 sed 's/^/| /' conftest.$ac_ext >&5
14184
14185 ac_cv_c_const=no
14186 fi
14187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14188 fi
14189 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14190 echo "${ECHO_T}$ac_cv_c_const" >&6
14191 if test $ac_cv_c_const = no; then
14192
14193 cat >>confdefs.h <<\_ACEOF
14194 #define const
14195 _ACEOF
14196
14197 fi
14198
14199 echo "$as_me:$LINENO: checking for inline" >&5
14200 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14201 if test "${ac_cv_c_inline+set}" = set; then
14202 echo $ECHO_N "(cached) $ECHO_C" >&6
14203 else
14204 ac_cv_c_inline=no
14205 for ac_kw in inline __inline__ __inline; do
14206 cat >conftest.$ac_ext <<_ACEOF
14207 /* confdefs.h. */
14208 _ACEOF
14209 cat confdefs.h >>conftest.$ac_ext
14210 cat >>conftest.$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 #ifndef __cplusplus
14213 typedef int foo_t;
14214 static $ac_kw foo_t static_foo () {return 0; }
14215 $ac_kw foo_t foo () {return 0; }
14216 #endif
14217
14218 _ACEOF
14219 rm -f conftest.$ac_objext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 (eval $ac_compile) 2>conftest.er1
14222 ac_status=$?
14223 grep -v '^ *+' conftest.er1 >conftest.err
14224 rm -f conftest.er1
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } &&
14228 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14230 (eval $ac_try) 2>&5
14231 ac_status=$?
14232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233 (exit $ac_status); }; } &&
14234 { ac_try='test -s conftest.$ac_objext'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14237 ac_status=$?
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; }; then
14240 ac_cv_c_inline=$ac_kw; break
14241 else
14242 echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.$ac_ext >&5
14244
14245 fi
14246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14247 done
14248
14249 fi
14250 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14251 echo "${ECHO_T}$ac_cv_c_inline" >&6
14252
14253
14254 case $ac_cv_c_inline in
14255 inline | yes) ;;
14256 *)
14257 case $ac_cv_c_inline in
14258 no) ac_val=;;
14259 *) ac_val=$ac_cv_c_inline;;
14260 esac
14261 cat >>confdefs.h <<_ACEOF
14262 #ifndef __cplusplus
14263 #define inline $ac_val
14264 #endif
14265 _ACEOF
14266 ;;
14267 esac
14268
14269
14270 echo "$as_me:$LINENO: checking for char" >&5
14271 echo $ECHO_N "checking for char... $ECHO_C" >&6
14272 if test "${ac_cv_type_char+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275 cat >conftest.$ac_ext <<_ACEOF
14276 /* confdefs.h. */
14277 _ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14281 $ac_includes_default
14282 int
14283 main ()
14284 {
14285 if ((char *) 0)
14286 return 0;
14287 if (sizeof (char))
14288 return 0;
14289 ;
14290 return 0;
14291 }
14292 _ACEOF
14293 rm -f conftest.$ac_objext
14294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14295 (eval $ac_compile) 2>conftest.er1
14296 ac_status=$?
14297 grep -v '^ *+' conftest.er1 >conftest.err
14298 rm -f conftest.er1
14299 cat conftest.err >&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); } &&
14302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14304 (eval $ac_try) 2>&5
14305 ac_status=$?
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); }; } &&
14308 { ac_try='test -s conftest.$ac_objext'
14309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14310 (eval $ac_try) 2>&5
14311 ac_status=$?
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); }; }; then
14314 ac_cv_type_char=yes
14315 else
14316 echo "$as_me: failed program was:" >&5
14317 sed 's/^/| /' conftest.$ac_ext >&5
14318
14319 ac_cv_type_char=no
14320 fi
14321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14322 fi
14323 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14324 echo "${ECHO_T}$ac_cv_type_char" >&6
14325
14326 echo "$as_me:$LINENO: checking size of char" >&5
14327 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14328 if test "${ac_cv_sizeof_char+set}" = set; then
14329 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 else
14331 if test "$ac_cv_type_char" = yes; then
14332 # The cast to unsigned long works around a bug in the HP C Compiler
14333 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14334 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14335 # This bug is HP SR number 8606223364.
14336 if test "$cross_compiling" = yes; then
14337 # Depending upon the size, compute the lo and hi bounds.
14338 cat >conftest.$ac_ext <<_ACEOF
14339 /* confdefs.h. */
14340 _ACEOF
14341 cat confdefs.h >>conftest.$ac_ext
14342 cat >>conftest.$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344 $ac_includes_default
14345 int
14346 main ()
14347 {
14348 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14349 test_array [0] = 0
14350
14351 ;
14352 return 0;
14353 }
14354 _ACEOF
14355 rm -f conftest.$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14358 ac_status=$?
14359 grep -v '^ *+' conftest.er1 >conftest.err
14360 rm -f conftest.er1
14361 cat conftest.err >&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14367 ac_status=$?
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try='test -s conftest.$ac_objext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14373 ac_status=$?
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14376 ac_lo=0 ac_mid=0
14377 while :; do
14378 cat >conftest.$ac_ext <<_ACEOF
14379 /* confdefs.h. */
14380 _ACEOF
14381 cat confdefs.h >>conftest.$ac_ext
14382 cat >>conftest.$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14384 $ac_includes_default
14385 int
14386 main ()
14387 {
14388 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14389 test_array [0] = 0
14390
14391 ;
14392 return 0;
14393 }
14394 _ACEOF
14395 rm -f conftest.$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14398 ac_status=$?
14399 grep -v '^ *+' conftest.er1 >conftest.err
14400 rm -f conftest.er1
14401 cat conftest.err >&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406 (eval $ac_try) 2>&5
14407 ac_status=$?
14408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409 (exit $ac_status); }; } &&
14410 { ac_try='test -s conftest.$ac_objext'
14411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14412 (eval $ac_try) 2>&5
14413 ac_status=$?
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }; }; then
14416 ac_hi=$ac_mid; break
14417 else
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.$ac_ext >&5
14420
14421 ac_lo=`expr $ac_mid + 1`
14422 if test $ac_lo -le $ac_mid; then
14423 ac_lo= ac_hi=
14424 break
14425 fi
14426 ac_mid=`expr 2 '*' $ac_mid + 1`
14427 fi
14428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14429 done
14430 else
14431 echo "$as_me: failed program was:" >&5
14432 sed 's/^/| /' conftest.$ac_ext >&5
14433
14434 cat >conftest.$ac_ext <<_ACEOF
14435 /* confdefs.h. */
14436 _ACEOF
14437 cat confdefs.h >>conftest.$ac_ext
14438 cat >>conftest.$ac_ext <<_ACEOF
14439 /* end confdefs.h. */
14440 $ac_includes_default
14441 int
14442 main ()
14443 {
14444 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14445 test_array [0] = 0
14446
14447 ;
14448 return 0;
14449 }
14450 _ACEOF
14451 rm -f conftest.$ac_objext
14452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14453 (eval $ac_compile) 2>conftest.er1
14454 ac_status=$?
14455 grep -v '^ *+' conftest.er1 >conftest.err
14456 rm -f conftest.er1
14457 cat conftest.err >&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); } &&
14460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14462 (eval $ac_try) 2>&5
14463 ac_status=$?
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); }; } &&
14466 { ac_try='test -s conftest.$ac_objext'
14467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 (eval $ac_try) 2>&5
14469 ac_status=$?
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; }; then
14472 ac_hi=-1 ac_mid=-1
14473 while :; do
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 $ac_includes_default
14481 int
14482 main ()
14483 {
14484 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14485 test_array [0] = 0
14486
14487 ;
14488 return 0;
14489 }
14490 _ACEOF
14491 rm -f conftest.$ac_objext
14492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14493 (eval $ac_compile) 2>conftest.er1
14494 ac_status=$?
14495 grep -v '^ *+' conftest.er1 >conftest.err
14496 rm -f conftest.er1
14497 cat conftest.err >&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); } &&
14500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14502 (eval $ac_try) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); }; } &&
14506 { ac_try='test -s conftest.$ac_objext'
14507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14508 (eval $ac_try) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); }; }; then
14512 ac_lo=$ac_mid; break
14513 else
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14516
14517 ac_hi=`expr '(' $ac_mid ')' - 1`
14518 if test $ac_mid -le $ac_hi; then
14519 ac_lo= ac_hi=
14520 break
14521 fi
14522 ac_mid=`expr 2 '*' $ac_mid`
14523 fi
14524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14525 done
14526 else
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.$ac_ext >&5
14529
14530 ac_lo= ac_hi=
14531 fi
14532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14533 fi
14534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14535 # Binary search between lo and hi bounds.
14536 while test "x$ac_lo" != "x$ac_hi"; do
14537 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544 $ac_includes_default
14545 int
14546 main ()
14547 {
14548 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14549 test_array [0] = 0
14550
14551 ;
14552 return 0;
14553 }
14554 _ACEOF
14555 rm -f conftest.$ac_objext
14556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14557 (eval $ac_compile) 2>conftest.er1
14558 ac_status=$?
14559 grep -v '^ *+' conftest.er1 >conftest.err
14560 rm -f conftest.er1
14561 cat conftest.err >&5
14562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14563 (exit $ac_status); } &&
14564 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14566 (eval $ac_try) 2>&5
14567 ac_status=$?
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); }; } &&
14570 { ac_try='test -s conftest.$ac_objext'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14573 ac_status=$?
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; }; then
14576 ac_hi=$ac_mid
14577 else
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14580
14581 ac_lo=`expr '(' $ac_mid ')' + 1`
14582 fi
14583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14584 done
14585 case $ac_lo in
14586 ?*) ac_cv_sizeof_char=$ac_lo;;
14587 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14588 See \`config.log' for more details." >&5
14589 echo "$as_me: error: cannot compute sizeof (char), 77
14590 See \`config.log' for more details." >&2;}
14591 { (exit 1); exit 1; }; } ;;
14592 esac
14593 else
14594 if test "$cross_compiling" = yes; then
14595 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14596 See \`config.log' for more details." >&5
14597 echo "$as_me: error: cannot run test program while cross compiling
14598 See \`config.log' for more details." >&2;}
14599 { (exit 1); exit 1; }; }
14600 else
14601 cat >conftest.$ac_ext <<_ACEOF
14602 /* confdefs.h. */
14603 _ACEOF
14604 cat confdefs.h >>conftest.$ac_ext
14605 cat >>conftest.$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14607 $ac_includes_default
14608 long longval () { return (long) (sizeof (char)); }
14609 unsigned long ulongval () { return (long) (sizeof (char)); }
14610 #include <stdio.h>
14611 #include <stdlib.h>
14612 int
14613 main ()
14614 {
14615
14616 FILE *f = fopen ("conftest.val", "w");
14617 if (! f)
14618 exit (1);
14619 if (((long) (sizeof (char))) < 0)
14620 {
14621 long i = longval ();
14622 if (i != ((long) (sizeof (char))))
14623 exit (1);
14624 fprintf (f, "%ld\n", i);
14625 }
14626 else
14627 {
14628 unsigned long i = ulongval ();
14629 if (i != ((long) (sizeof (char))))
14630 exit (1);
14631 fprintf (f, "%lu\n", i);
14632 }
14633 exit (ferror (f) || fclose (f) != 0);
14634
14635 ;
14636 return 0;
14637 }
14638 _ACEOF
14639 rm -f conftest$ac_exeext
14640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14641 (eval $ac_link) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14647 ac_status=$?
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14650 ac_cv_sizeof_char=`cat conftest.val`
14651 else
14652 echo "$as_me: program exited with status $ac_status" >&5
14653 echo "$as_me: failed program was:" >&5
14654 sed 's/^/| /' conftest.$ac_ext >&5
14655
14656 ( exit $ac_status )
14657 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14658 See \`config.log' for more details." >&5
14659 echo "$as_me: error: cannot compute sizeof (char), 77
14660 See \`config.log' for more details." >&2;}
14661 { (exit 1); exit 1; }; }
14662 fi
14663 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14664 fi
14665 fi
14666 rm -f conftest.val
14667 else
14668 ac_cv_sizeof_char=0
14669 fi
14670 fi
14671 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14672 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14673 cat >>confdefs.h <<_ACEOF
14674 #define SIZEOF_CHAR $ac_cv_sizeof_char
14675 _ACEOF
14676
14677
14678 echo "$as_me:$LINENO: checking for short" >&5
14679 echo $ECHO_N "checking for short... $ECHO_C" >&6
14680 if test "${ac_cv_type_short+set}" = set; then
14681 echo $ECHO_N "(cached) $ECHO_C" >&6
14682 else
14683 cat >conftest.$ac_ext <<_ACEOF
14684 /* confdefs.h. */
14685 _ACEOF
14686 cat confdefs.h >>conftest.$ac_ext
14687 cat >>conftest.$ac_ext <<_ACEOF
14688 /* end confdefs.h. */
14689 $ac_includes_default
14690 int
14691 main ()
14692 {
14693 if ((short *) 0)
14694 return 0;
14695 if (sizeof (short))
14696 return 0;
14697 ;
14698 return 0;
14699 }
14700 _ACEOF
14701 rm -f conftest.$ac_objext
14702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14703 (eval $ac_compile) 2>conftest.er1
14704 ac_status=$?
14705 grep -v '^ *+' conftest.er1 >conftest.err
14706 rm -f conftest.er1
14707 cat conftest.err >&5
14708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14709 (exit $ac_status); } &&
14710 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14713 ac_status=$?
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; } &&
14716 { ac_try='test -s conftest.$ac_objext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14719 ac_status=$?
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 ac_cv_type_short=yes
14723 else
14724 echo "$as_me: failed program was:" >&5
14725 sed 's/^/| /' conftest.$ac_ext >&5
14726
14727 ac_cv_type_short=no
14728 fi
14729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14730 fi
14731 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14732 echo "${ECHO_T}$ac_cv_type_short" >&6
14733
14734 echo "$as_me:$LINENO: checking size of short" >&5
14735 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14736 if test "${ac_cv_sizeof_short+set}" = set; then
14737 echo $ECHO_N "(cached) $ECHO_C" >&6
14738 else
14739 if test "$ac_cv_type_short" = yes; then
14740 # The cast to unsigned long works around a bug in the HP C Compiler
14741 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14742 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14743 # This bug is HP SR number 8606223364.
14744 if test "$cross_compiling" = yes; then
14745 # Depending upon the size, compute the lo and hi bounds.
14746 cat >conftest.$ac_ext <<_ACEOF
14747 /* confdefs.h. */
14748 _ACEOF
14749 cat confdefs.h >>conftest.$ac_ext
14750 cat >>conftest.$ac_ext <<_ACEOF
14751 /* end confdefs.h. */
14752 $ac_includes_default
14753 int
14754 main ()
14755 {
14756 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14757 test_array [0] = 0
14758
14759 ;
14760 return 0;
14761 }
14762 _ACEOF
14763 rm -f conftest.$ac_objext
14764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14765 (eval $ac_compile) 2>conftest.er1
14766 ac_status=$?
14767 grep -v '^ *+' conftest.er1 >conftest.err
14768 rm -f conftest.er1
14769 cat conftest.err >&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); } &&
14772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14775 ac_status=$?
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; } &&
14778 { ac_try='test -s conftest.$ac_objext'
14779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14780 (eval $ac_try) 2>&5
14781 ac_status=$?
14782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14783 (exit $ac_status); }; }; then
14784 ac_lo=0 ac_mid=0
14785 while :; do
14786 cat >conftest.$ac_ext <<_ACEOF
14787 /* confdefs.h. */
14788 _ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 $ac_includes_default
14793 int
14794 main ()
14795 {
14796 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14797 test_array [0] = 0
14798
14799 ;
14800 return 0;
14801 }
14802 _ACEOF
14803 rm -f conftest.$ac_objext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14805 (eval $ac_compile) 2>conftest.er1
14806 ac_status=$?
14807 grep -v '^ *+' conftest.er1 >conftest.err
14808 rm -f conftest.er1
14809 cat conftest.err >&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14815 ac_status=$?
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; } &&
14818 { ac_try='test -s conftest.$ac_objext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14821 ac_status=$?
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14824 ac_hi=$ac_mid; break
14825 else
14826 echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.$ac_ext >&5
14828
14829 ac_lo=`expr $ac_mid + 1`
14830 if test $ac_lo -le $ac_mid; then
14831 ac_lo= ac_hi=
14832 break
14833 fi
14834 ac_mid=`expr 2 '*' $ac_mid + 1`
14835 fi
14836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14837 done
14838 else
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14841
14842 cat >conftest.$ac_ext <<_ACEOF
14843 /* confdefs.h. */
14844 _ACEOF
14845 cat confdefs.h >>conftest.$ac_ext
14846 cat >>conftest.$ac_ext <<_ACEOF
14847 /* end confdefs.h. */
14848 $ac_includes_default
14849 int
14850 main ()
14851 {
14852 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14853 test_array [0] = 0
14854
14855 ;
14856 return 0;
14857 }
14858 _ACEOF
14859 rm -f conftest.$ac_objext
14860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14861 (eval $ac_compile) 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } &&
14868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14871 ac_status=$?
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; } &&
14874 { ac_try='test -s conftest.$ac_objext'
14875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5
14877 ac_status=$?
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then
14880 ac_hi=-1 ac_mid=-1
14881 while :; do
14882 cat >conftest.$ac_ext <<_ACEOF
14883 /* confdefs.h. */
14884 _ACEOF
14885 cat confdefs.h >>conftest.$ac_ext
14886 cat >>conftest.$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 $ac_includes_default
14889 int
14890 main ()
14891 {
14892 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14893 test_array [0] = 0
14894
14895 ;
14896 return 0;
14897 }
14898 _ACEOF
14899 rm -f conftest.$ac_objext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14901 (eval $ac_compile) 2>conftest.er1
14902 ac_status=$?
14903 grep -v '^ *+' conftest.er1 >conftest.err
14904 rm -f conftest.er1
14905 cat conftest.err >&5
14906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14907 (exit $ac_status); } &&
14908 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14910 (eval $ac_try) 2>&5
14911 ac_status=$?
14912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14913 (exit $ac_status); }; } &&
14914 { ac_try='test -s conftest.$ac_objext'
14915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14916 (eval $ac_try) 2>&5
14917 ac_status=$?
14918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14919 (exit $ac_status); }; }; then
14920 ac_lo=$ac_mid; break
14921 else
14922 echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.$ac_ext >&5
14924
14925 ac_hi=`expr '(' $ac_mid ')' - 1`
14926 if test $ac_mid -le $ac_hi; then
14927 ac_lo= ac_hi=
14928 break
14929 fi
14930 ac_mid=`expr 2 '*' $ac_mid`
14931 fi
14932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14933 done
14934 else
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14937
14938 ac_lo= ac_hi=
14939 fi
14940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14941 fi
14942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14943 # Binary search between lo and hi bounds.
14944 while test "x$ac_lo" != "x$ac_hi"; do
14945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14946 cat >conftest.$ac_ext <<_ACEOF
14947 /* confdefs.h. */
14948 _ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952 $ac_includes_default
14953 int
14954 main ()
14955 {
14956 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14957 test_array [0] = 0
14958
14959 ;
14960 return 0;
14961 }
14962 _ACEOF
14963 rm -f conftest.$ac_objext
14964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14965 (eval $ac_compile) 2>conftest.er1
14966 ac_status=$?
14967 grep -v '^ *+' conftest.er1 >conftest.err
14968 rm -f conftest.er1
14969 cat conftest.err >&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14975 ac_status=$?
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; } &&
14978 { ac_try='test -s conftest.$ac_objext'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14981 ac_status=$?
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; }; then
14984 ac_hi=$ac_mid
14985 else
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14988
14989 ac_lo=`expr '(' $ac_mid ')' + 1`
14990 fi
14991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14992 done
14993 case $ac_lo in
14994 ?*) ac_cv_sizeof_short=$ac_lo;;
14995 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14996 See \`config.log' for more details." >&5
14997 echo "$as_me: error: cannot compute sizeof (short), 77
14998 See \`config.log' for more details." >&2;}
14999 { (exit 1); exit 1; }; } ;;
15000 esac
15001 else
15002 if test "$cross_compiling" = yes; then
15003 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15004 See \`config.log' for more details." >&5
15005 echo "$as_me: error: cannot run test program while cross compiling
15006 See \`config.log' for more details." >&2;}
15007 { (exit 1); exit 1; }; }
15008 else
15009 cat >conftest.$ac_ext <<_ACEOF
15010 /* confdefs.h. */
15011 _ACEOF
15012 cat confdefs.h >>conftest.$ac_ext
15013 cat >>conftest.$ac_ext <<_ACEOF
15014 /* end confdefs.h. */
15015 $ac_includes_default
15016 long longval () { return (long) (sizeof (short)); }
15017 unsigned long ulongval () { return (long) (sizeof (short)); }
15018 #include <stdio.h>
15019 #include <stdlib.h>
15020 int
15021 main ()
15022 {
15023
15024 FILE *f = fopen ("conftest.val", "w");
15025 if (! f)
15026 exit (1);
15027 if (((long) (sizeof (short))) < 0)
15028 {
15029 long i = longval ();
15030 if (i != ((long) (sizeof (short))))
15031 exit (1);
15032 fprintf (f, "%ld\n", i);
15033 }
15034 else
15035 {
15036 unsigned long i = ulongval ();
15037 if (i != ((long) (sizeof (short))))
15038 exit (1);
15039 fprintf (f, "%lu\n", i);
15040 }
15041 exit (ferror (f) || fclose (f) != 0);
15042
15043 ;
15044 return 0;
15045 }
15046 _ACEOF
15047 rm -f conftest$ac_exeext
15048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15049 (eval $ac_link) 2>&5
15050 ac_status=$?
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15055 ac_status=$?
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; }; then
15058 ac_cv_sizeof_short=`cat conftest.val`
15059 else
15060 echo "$as_me: program exited with status $ac_status" >&5
15061 echo "$as_me: failed program was:" >&5
15062 sed 's/^/| /' conftest.$ac_ext >&5
15063
15064 ( exit $ac_status )
15065 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
15066 See \`config.log' for more details." >&5
15067 echo "$as_me: error: cannot compute sizeof (short), 77
15068 See \`config.log' for more details." >&2;}
15069 { (exit 1); exit 1; }; }
15070 fi
15071 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15072 fi
15073 fi
15074 rm -f conftest.val
15075 else
15076 ac_cv_sizeof_short=0
15077 fi
15078 fi
15079 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
15080 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
15081 cat >>confdefs.h <<_ACEOF
15082 #define SIZEOF_SHORT $ac_cv_sizeof_short
15083 _ACEOF
15084
15085
15086 echo "$as_me:$LINENO: checking for void *" >&5
15087 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15088 if test "${ac_cv_type_void_p+set}" = set; then
15089 echo $ECHO_N "(cached) $ECHO_C" >&6
15090 else
15091 cat >conftest.$ac_ext <<_ACEOF
15092 /* confdefs.h. */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097 $ac_includes_default
15098 int
15099 main ()
15100 {
15101 if ((void * *) 0)
15102 return 0;
15103 if (sizeof (void *))
15104 return 0;
15105 ;
15106 return 0;
15107 }
15108 _ACEOF
15109 rm -f conftest.$ac_objext
15110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15111 (eval $ac_compile) 2>conftest.er1
15112 ac_status=$?
15113 grep -v '^ *+' conftest.er1 >conftest.err
15114 rm -f conftest.er1
15115 cat conftest.err >&5
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); } &&
15118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15130 ac_cv_type_void_p=yes
15131 else
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.$ac_ext >&5
15134
15135 ac_cv_type_void_p=no
15136 fi
15137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15138 fi
15139 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15140 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15141
15142 echo "$as_me:$LINENO: checking size of void *" >&5
15143 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15144 if test "${ac_cv_sizeof_void_p+set}" = set; then
15145 echo $ECHO_N "(cached) $ECHO_C" >&6
15146 else
15147 if test "$ac_cv_type_void_p" = yes; then
15148 # The cast to unsigned long works around a bug in the HP C Compiler
15149 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15150 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15151 # This bug is HP SR number 8606223364.
15152 if test "$cross_compiling" = yes; then
15153 # Depending upon the size, compute the lo and hi bounds.
15154 cat >conftest.$ac_ext <<_ACEOF
15155 /* confdefs.h. */
15156 _ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15160 $ac_includes_default
15161 int
15162 main ()
15163 {
15164 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15165 test_array [0] = 0
15166
15167 ;
15168 return 0;
15169 }
15170 _ACEOF
15171 rm -f conftest.$ac_objext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15173 (eval $ac_compile) 2>conftest.er1
15174 ac_status=$?
15175 grep -v '^ *+' conftest.er1 >conftest.err
15176 rm -f conftest.er1
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15182 (eval $ac_try) 2>&5
15183 ac_status=$?
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); }; } &&
15186 { ac_try='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15189 ac_status=$?
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_lo=0 ac_mid=0
15193 while :; do
15194 cat >conftest.$ac_ext <<_ACEOF
15195 /* confdefs.h. */
15196 _ACEOF
15197 cat confdefs.h >>conftest.$ac_ext
15198 cat >>conftest.$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15200 $ac_includes_default
15201 int
15202 main ()
15203 {
15204 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15205 test_array [0] = 0
15206
15207 ;
15208 return 0;
15209 }
15210 _ACEOF
15211 rm -f conftest.$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15214 ac_status=$?
15215 grep -v '^ *+' conftest.er1 >conftest.err
15216 rm -f conftest.er1
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; } &&
15226 { ac_try='test -s conftest.$ac_objext'
15227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15228 (eval $ac_try) 2>&5
15229 ac_status=$?
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); }; }; then
15232 ac_hi=$ac_mid; break
15233 else
15234 echo "$as_me: failed program was:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15236
15237 ac_lo=`expr $ac_mid + 1`
15238 if test $ac_lo -le $ac_mid; then
15239 ac_lo= ac_hi=
15240 break
15241 fi
15242 ac_mid=`expr 2 '*' $ac_mid + 1`
15243 fi
15244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15245 done
15246 else
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15249
15250 cat >conftest.$ac_ext <<_ACEOF
15251 /* confdefs.h. */
15252 _ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15256 $ac_includes_default
15257 int
15258 main ()
15259 {
15260 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15261 test_array [0] = 0
15262
15263 ;
15264 return 0;
15265 }
15266 _ACEOF
15267 rm -f conftest.$ac_objext
15268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15269 (eval $ac_compile) 2>conftest.er1
15270 ac_status=$?
15271 grep -v '^ *+' conftest.er1 >conftest.err
15272 rm -f conftest.er1
15273 cat conftest.err >&5
15274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15275 (exit $ac_status); } &&
15276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15278 (eval $ac_try) 2>&5
15279 ac_status=$?
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); }; } &&
15282 { ac_try='test -s conftest.$ac_objext'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15285 ac_status=$?
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; }; then
15288 ac_hi=-1 ac_mid=-1
15289 while :; do
15290 cat >conftest.$ac_ext <<_ACEOF
15291 /* confdefs.h. */
15292 _ACEOF
15293 cat confdefs.h >>conftest.$ac_ext
15294 cat >>conftest.$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15296 $ac_includes_default
15297 int
15298 main ()
15299 {
15300 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15301 test_array [0] = 0
15302
15303 ;
15304 return 0;
15305 }
15306 _ACEOF
15307 rm -f conftest.$ac_objext
15308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15309 (eval $ac_compile) 2>conftest.er1
15310 ac_status=$?
15311 grep -v '^ *+' conftest.er1 >conftest.err
15312 rm -f conftest.er1
15313 cat conftest.err >&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); } &&
15316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; } &&
15322 { ac_try='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_lo=$ac_mid; break
15329 else
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.$ac_ext >&5
15332
15333 ac_hi=`expr '(' $ac_mid ')' - 1`
15334 if test $ac_mid -le $ac_hi; then
15335 ac_lo= ac_hi=
15336 break
15337 fi
15338 ac_mid=`expr 2 '*' $ac_mid`
15339 fi
15340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15341 done
15342 else
15343 echo "$as_me: failed program was:" >&5
15344 sed 's/^/| /' conftest.$ac_ext >&5
15345
15346 ac_lo= ac_hi=
15347 fi
15348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15349 fi
15350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15351 # Binary search between lo and hi bounds.
15352 while test "x$ac_lo" != "x$ac_hi"; do
15353 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15354 cat >conftest.$ac_ext <<_ACEOF
15355 /* confdefs.h. */
15356 _ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15361 int
15362 main ()
15363 {
15364 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15365 test_array [0] = 0
15366
15367 ;
15368 return 0;
15369 }
15370 _ACEOF
15371 rm -f conftest.$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>conftest.er1
15374 ac_status=$?
15375 grep -v '^ *+' conftest.er1 >conftest.err
15376 rm -f conftest.er1
15377 cat conftest.err >&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15383 ac_status=$?
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; } &&
15386 { ac_try='test -s conftest.$ac_objext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15389 ac_status=$?
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15392 ac_hi=$ac_mid
15393 else
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15396
15397 ac_lo=`expr '(' $ac_mid ')' + 1`
15398 fi
15399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15400 done
15401 case $ac_lo in
15402 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15403 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15404 See \`config.log' for more details." >&5
15405 echo "$as_me: error: cannot compute sizeof (void *), 77
15406 See \`config.log' for more details." >&2;}
15407 { (exit 1); exit 1; }; } ;;
15408 esac
15409 else
15410 if test "$cross_compiling" = yes; then
15411 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15412 See \`config.log' for more details." >&5
15413 echo "$as_me: error: cannot run test program while cross compiling
15414 See \`config.log' for more details." >&2;}
15415 { (exit 1); exit 1; }; }
15416 else
15417 cat >conftest.$ac_ext <<_ACEOF
15418 /* confdefs.h. */
15419 _ACEOF
15420 cat confdefs.h >>conftest.$ac_ext
15421 cat >>conftest.$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423 $ac_includes_default
15424 long longval () { return (long) (sizeof (void *)); }
15425 unsigned long ulongval () { return (long) (sizeof (void *)); }
15426 #include <stdio.h>
15427 #include <stdlib.h>
15428 int
15429 main ()
15430 {
15431
15432 FILE *f = fopen ("conftest.val", "w");
15433 if (! f)
15434 exit (1);
15435 if (((long) (sizeof (void *))) < 0)
15436 {
15437 long i = longval ();
15438 if (i != ((long) (sizeof (void *))))
15439 exit (1);
15440 fprintf (f, "%ld\n", i);
15441 }
15442 else
15443 {
15444 unsigned long i = ulongval ();
15445 if (i != ((long) (sizeof (void *))))
15446 exit (1);
15447 fprintf (f, "%lu\n", i);
15448 }
15449 exit (ferror (f) || fclose (f) != 0);
15450
15451 ;
15452 return 0;
15453 }
15454 _ACEOF
15455 rm -f conftest$ac_exeext
15456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15457 (eval $ac_link) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15463 ac_status=$?
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15466 ac_cv_sizeof_void_p=`cat conftest.val`
15467 else
15468 echo "$as_me: program exited with status $ac_status" >&5
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15471
15472 ( exit $ac_status )
15473 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: cannot compute sizeof (void *), 77
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; }
15478 fi
15479 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15480 fi
15481 fi
15482 rm -f conftest.val
15483 else
15484 ac_cv_sizeof_void_p=0
15485 fi
15486 fi
15487 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15488 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15489 cat >>confdefs.h <<_ACEOF
15490 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15491 _ACEOF
15492
15493
15494 echo "$as_me:$LINENO: checking for int" >&5
15495 echo $ECHO_N "checking for int... $ECHO_C" >&6
15496 if test "${ac_cv_type_int+set}" = set; then
15497 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 else
15499 cat >conftest.$ac_ext <<_ACEOF
15500 /* confdefs.h. */
15501 _ACEOF
15502 cat confdefs.h >>conftest.$ac_ext
15503 cat >>conftest.$ac_ext <<_ACEOF
15504 /* end confdefs.h. */
15505 $ac_includes_default
15506 int
15507 main ()
15508 {
15509 if ((int *) 0)
15510 return 0;
15511 if (sizeof (int))
15512 return 0;
15513 ;
15514 return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15519 (eval $ac_compile) 2>conftest.er1
15520 ac_status=$?
15521 grep -v '^ *+' conftest.er1 >conftest.err
15522 rm -f conftest.er1
15523 cat conftest.err >&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try='test -s conftest.$ac_objext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_cv_type_int=yes
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15542
15543 ac_cv_type_int=no
15544 fi
15545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15546 fi
15547 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15548 echo "${ECHO_T}$ac_cv_type_int" >&6
15549
15550 echo "$as_me:$LINENO: checking size of int" >&5
15551 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15552 if test "${ac_cv_sizeof_int+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555 if test "$ac_cv_type_int" = yes; then
15556 # The cast to unsigned long works around a bug in the HP C Compiler
15557 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15558 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15559 # This bug is HP SR number 8606223364.
15560 if test "$cross_compiling" = yes; then
15561 # Depending upon the size, compute the lo and hi bounds.
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h. */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568 $ac_includes_default
15569 int
15570 main ()
15571 {
15572 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15573 test_array [0] = 0
15574
15575 ;
15576 return 0;
15577 }
15578 _ACEOF
15579 rm -f conftest.$ac_objext
15580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15581 (eval $ac_compile) 2>conftest.er1
15582 ac_status=$?
15583 grep -v '^ *+' conftest.er1 >conftest.err
15584 rm -f conftest.er1
15585 cat conftest.err >&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); } &&
15588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15597 ac_status=$?
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15600 ac_lo=0 ac_mid=0
15601 while :; do
15602 cat >conftest.$ac_ext <<_ACEOF
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15609 int
15610 main ()
15611 {
15612 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15613 test_array [0] = 0
15614
15615 ;
15616 return 0;
15617 }
15618 _ACEOF
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>conftest.er1
15622 ac_status=$?
15623 grep -v '^ *+' conftest.er1 >conftest.err
15624 rm -f conftest.er1
15625 cat conftest.err >&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); } &&
15628 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15630 (eval $ac_try) 2>&5
15631 ac_status=$?
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try='test -s conftest.$ac_objext'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; }; then
15640 ac_hi=$ac_mid; break
15641 else
15642 echo "$as_me: failed program was:" >&5
15643 sed 's/^/| /' conftest.$ac_ext >&5
15644
15645 ac_lo=`expr $ac_mid + 1`
15646 if test $ac_lo -le $ac_mid; then
15647 ac_lo= ac_hi=
15648 break
15649 fi
15650 ac_mid=`expr 2 '*' $ac_mid + 1`
15651 fi
15652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15653 done
15654 else
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.$ac_ext >&5
15657
15658 cat >conftest.$ac_ext <<_ACEOF
15659 /* confdefs.h. */
15660 _ACEOF
15661 cat confdefs.h >>conftest.$ac_ext
15662 cat >>conftest.$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15665 int
15666 main ()
15667 {
15668 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15669 test_array [0] = 0
15670
15671 ;
15672 return 0;
15673 }
15674 _ACEOF
15675 rm -f conftest.$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>conftest.er1
15678 ac_status=$?
15679 grep -v '^ *+' conftest.er1 >conftest.err
15680 rm -f conftest.er1
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } &&
15684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15686 (eval $ac_try) 2>&5
15687 ac_status=$?
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); }; } &&
15690 { ac_try='test -s conftest.$ac_objext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15693 ac_status=$?
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15696 ac_hi=-1 ac_mid=-1
15697 while :; do
15698 cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h. */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704 $ac_includes_default
15705 int
15706 main ()
15707 {
15708 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15709 test_array [0] = 0
15710
15711 ;
15712 return 0;
15713 }
15714 _ACEOF
15715 rm -f conftest.$ac_objext
15716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15717 (eval $ac_compile) 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } &&
15724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15727 ac_status=$?
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15733 ac_status=$?
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 ac_lo=$ac_mid; break
15737 else
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.$ac_ext >&5
15740
15741 ac_hi=`expr '(' $ac_mid ')' - 1`
15742 if test $ac_mid -le $ac_hi; then
15743 ac_lo= ac_hi=
15744 break
15745 fi
15746 ac_mid=`expr 2 '*' $ac_mid`
15747 fi
15748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15749 done
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15753
15754 ac_lo= ac_hi=
15755 fi
15756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15757 fi
15758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15759 # Binary search between lo and hi bounds.
15760 while test "x$ac_lo" != "x$ac_hi"; do
15761 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15762 cat >conftest.$ac_ext <<_ACEOF
15763 /* confdefs.h. */
15764 _ACEOF
15765 cat confdefs.h >>conftest.$ac_ext
15766 cat >>conftest.$ac_ext <<_ACEOF
15767 /* end confdefs.h. */
15768 $ac_includes_default
15769 int
15770 main ()
15771 {
15772 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15773 test_array [0] = 0
15774
15775 ;
15776 return 0;
15777 }
15778 _ACEOF
15779 rm -f conftest.$ac_objext
15780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15781 (eval $ac_compile) 2>conftest.er1
15782 ac_status=$?
15783 grep -v '^ *+' conftest.er1 >conftest.err
15784 rm -f conftest.er1
15785 cat conftest.err >&5
15786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15787 (exit $ac_status); } &&
15788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15790 (eval $ac_try) 2>&5
15791 ac_status=$?
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try='test -s conftest.$ac_objext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15797 ac_status=$?
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15800 ac_hi=$ac_mid
15801 else
15802 echo "$as_me: failed program was:" >&5
15803 sed 's/^/| /' conftest.$ac_ext >&5
15804
15805 ac_lo=`expr '(' $ac_mid ')' + 1`
15806 fi
15807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15808 done
15809 case $ac_lo in
15810 ?*) ac_cv_sizeof_int=$ac_lo;;
15811 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15812 See \`config.log' for more details." >&5
15813 echo "$as_me: error: cannot compute sizeof (int), 77
15814 See \`config.log' for more details." >&2;}
15815 { (exit 1); exit 1; }; } ;;
15816 esac
15817 else
15818 if test "$cross_compiling" = yes; then
15819 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15820 See \`config.log' for more details." >&5
15821 echo "$as_me: error: cannot run test program while cross compiling
15822 See \`config.log' for more details." >&2;}
15823 { (exit 1); exit 1; }; }
15824 else
15825 cat >conftest.$ac_ext <<_ACEOF
15826 /* confdefs.h. */
15827 _ACEOF
15828 cat confdefs.h >>conftest.$ac_ext
15829 cat >>conftest.$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 $ac_includes_default
15832 long longval () { return (long) (sizeof (int)); }
15833 unsigned long ulongval () { return (long) (sizeof (int)); }
15834 #include <stdio.h>
15835 #include <stdlib.h>
15836 int
15837 main ()
15838 {
15839
15840 FILE *f = fopen ("conftest.val", "w");
15841 if (! f)
15842 exit (1);
15843 if (((long) (sizeof (int))) < 0)
15844 {
15845 long i = longval ();
15846 if (i != ((long) (sizeof (int))))
15847 exit (1);
15848 fprintf (f, "%ld\n", i);
15849 }
15850 else
15851 {
15852 unsigned long i = ulongval ();
15853 if (i != ((long) (sizeof (int))))
15854 exit (1);
15855 fprintf (f, "%lu\n", i);
15856 }
15857 exit (ferror (f) || fclose (f) != 0);
15858
15859 ;
15860 return 0;
15861 }
15862 _ACEOF
15863 rm -f conftest$ac_exeext
15864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15865 (eval $ac_link) 2>&5
15866 ac_status=$?
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15870 (eval $ac_try) 2>&5
15871 ac_status=$?
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); }; }; then
15874 ac_cv_sizeof_int=`cat conftest.val`
15875 else
15876 echo "$as_me: program exited with status $ac_status" >&5
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15879
15880 ( exit $ac_status )
15881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15882 See \`config.log' for more details." >&5
15883 echo "$as_me: error: cannot compute sizeof (int), 77
15884 See \`config.log' for more details." >&2;}
15885 { (exit 1); exit 1; }; }
15886 fi
15887 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15888 fi
15889 fi
15890 rm -f conftest.val
15891 else
15892 ac_cv_sizeof_int=0
15893 fi
15894 fi
15895 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15896 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15897 cat >>confdefs.h <<_ACEOF
15898 #define SIZEOF_INT $ac_cv_sizeof_int
15899 _ACEOF
15900
15901
15902 echo "$as_me:$LINENO: checking for long" >&5
15903 echo $ECHO_N "checking for long... $ECHO_C" >&6
15904 if test "${ac_cv_type_long+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15906 else
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 $ac_includes_default
15914 int
15915 main ()
15916 {
15917 if ((long *) 0)
15918 return 0;
15919 if (sizeof (long))
15920 return 0;
15921 ;
15922 return 0;
15923 }
15924 _ACEOF
15925 rm -f conftest.$ac_objext
15926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15927 (eval $ac_compile) 2>conftest.er1
15928 ac_status=$?
15929 grep -v '^ *+' conftest.er1 >conftest.err
15930 rm -f conftest.er1
15931 cat conftest.err >&5
15932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15933 (exit $ac_status); } &&
15934 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_cv_type_long=yes
15947 else
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15950
15951 ac_cv_type_long=no
15952 fi
15953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15954 fi
15955 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15956 echo "${ECHO_T}$ac_cv_type_long" >&6
15957
15958 echo "$as_me:$LINENO: checking size of long" >&5
15959 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15960 if test "${ac_cv_sizeof_long+set}" = set; then
15961 echo $ECHO_N "(cached) $ECHO_C" >&6
15962 else
15963 if test "$ac_cv_type_long" = yes; then
15964 # The cast to unsigned long works around a bug in the HP C Compiler
15965 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15966 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15967 # This bug is HP SR number 8606223364.
15968 if test "$cross_compiling" = yes; then
15969 # Depending upon the size, compute the lo and hi bounds.
15970 cat >conftest.$ac_ext <<_ACEOF
15971 /* confdefs.h. */
15972 _ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15977 int
15978 main ()
15979 {
15980 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15981 test_array [0] = 0
15982
15983 ;
15984 return 0;
15985 }
15986 _ACEOF
15987 rm -f conftest.$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>conftest.er1
15990 ac_status=$?
15991 grep -v '^ *+' conftest.er1 >conftest.err
15992 rm -f conftest.er1
15993 cat conftest.err >&5
15994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); } &&
15996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998 (eval $ac_try) 2>&5
15999 ac_status=$?
16000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001 (exit $ac_status); }; } &&
16002 { ac_try='test -s conftest.$ac_objext'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16005 ac_status=$?
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; }; then
16008 ac_lo=0 ac_mid=0
16009 while :; do
16010 cat >conftest.$ac_ext <<_ACEOF
16011 /* confdefs.h. */
16012 _ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 $ac_includes_default
16017 int
16018 main ()
16019 {
16020 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16021 test_array [0] = 0
16022
16023 ;
16024 return 0;
16025 }
16026 _ACEOF
16027 rm -f conftest.$ac_objext
16028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16029 (eval $ac_compile) 2>conftest.er1
16030 ac_status=$?
16031 grep -v '^ *+' conftest.er1 >conftest.err
16032 rm -f conftest.er1
16033 cat conftest.err >&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } &&
16036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; } &&
16042 { ac_try='test -s conftest.$ac_objext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_hi=$ac_mid; break
16049 else
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16052
16053 ac_lo=`expr $ac_mid + 1`
16054 if test $ac_lo -le $ac_mid; then
16055 ac_lo= ac_hi=
16056 break
16057 fi
16058 ac_mid=`expr 2 '*' $ac_mid + 1`
16059 fi
16060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16061 done
16062 else
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.$ac_ext >&5
16065
16066 cat >conftest.$ac_ext <<_ACEOF
16067 /* confdefs.h. */
16068 _ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 $ac_includes_default
16073 int
16074 main ()
16075 {
16076 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16077 test_array [0] = 0
16078
16079 ;
16080 return 0;
16081 }
16082 _ACEOF
16083 rm -f conftest.$ac_objext
16084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16085 (eval $ac_compile) 2>conftest.er1
16086 ac_status=$?
16087 grep -v '^ *+' conftest.er1 >conftest.err
16088 rm -f conftest.er1
16089 cat conftest.err >&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } &&
16092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16095 ac_status=$?
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; } &&
16098 { ac_try='test -s conftest.$ac_objext'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16101 ac_status=$?
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; }; then
16104 ac_hi=-1 ac_mid=-1
16105 while :; do
16106 cat >conftest.$ac_ext <<_ACEOF
16107 /* confdefs.h. */
16108 _ACEOF
16109 cat confdefs.h >>conftest.$ac_ext
16110 cat >>conftest.$ac_ext <<_ACEOF
16111 /* end confdefs.h. */
16112 $ac_includes_default
16113 int
16114 main ()
16115 {
16116 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16117 test_array [0] = 0
16118
16119 ;
16120 return 0;
16121 }
16122 _ACEOF
16123 rm -f conftest.$ac_objext
16124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16125 (eval $ac_compile) 2>conftest.er1
16126 ac_status=$?
16127 grep -v '^ *+' conftest.er1 >conftest.err
16128 rm -f conftest.er1
16129 cat conftest.err >&5
16130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16131 (exit $ac_status); } &&
16132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16134 (eval $ac_try) 2>&5
16135 ac_status=$?
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; } &&
16138 { ac_try='test -s conftest.$ac_objext'
16139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16140 (eval $ac_try) 2>&5
16141 ac_status=$?
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); }; }; then
16144 ac_lo=$ac_mid; break
16145 else
16146 echo "$as_me: failed program was:" >&5
16147 sed 's/^/| /' conftest.$ac_ext >&5
16148
16149 ac_hi=`expr '(' $ac_mid ')' - 1`
16150 if test $ac_mid -le $ac_hi; then
16151 ac_lo= ac_hi=
16152 break
16153 fi
16154 ac_mid=`expr 2 '*' $ac_mid`
16155 fi
16156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16157 done
16158 else
16159 echo "$as_me: failed program was:" >&5
16160 sed 's/^/| /' conftest.$ac_ext >&5
16161
16162 ac_lo= ac_hi=
16163 fi
16164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16165 fi
16166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16167 # Binary search between lo and hi bounds.
16168 while test "x$ac_lo" != "x$ac_hi"; do
16169 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176 $ac_includes_default
16177 int
16178 main ()
16179 {
16180 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16181 test_array [0] = 0
16182
16183 ;
16184 return 0;
16185 }
16186 _ACEOF
16187 rm -f conftest.$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>conftest.er1
16190 ac_status=$?
16191 grep -v '^ *+' conftest.er1 >conftest.err
16192 rm -f conftest.er1
16193 cat conftest.err >&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); } &&
16196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198 (eval $ac_try) 2>&5
16199 ac_status=$?
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); }; } &&
16202 { ac_try='test -s conftest.$ac_objext'
16203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16204 (eval $ac_try) 2>&5
16205 ac_status=$?
16206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207 (exit $ac_status); }; }; then
16208 ac_hi=$ac_mid
16209 else
16210 echo "$as_me: failed program was:" >&5
16211 sed 's/^/| /' conftest.$ac_ext >&5
16212
16213 ac_lo=`expr '(' $ac_mid ')' + 1`
16214 fi
16215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16216 done
16217 case $ac_lo in
16218 ?*) ac_cv_sizeof_long=$ac_lo;;
16219 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16220 See \`config.log' for more details." >&5
16221 echo "$as_me: error: cannot compute sizeof (long), 77
16222 See \`config.log' for more details." >&2;}
16223 { (exit 1); exit 1; }; } ;;
16224 esac
16225 else
16226 if test "$cross_compiling" = yes; then
16227 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16228 See \`config.log' for more details." >&5
16229 echo "$as_me: error: cannot run test program while cross compiling
16230 See \`config.log' for more details." >&2;}
16231 { (exit 1); exit 1; }; }
16232 else
16233 cat >conftest.$ac_ext <<_ACEOF
16234 /* confdefs.h. */
16235 _ACEOF
16236 cat confdefs.h >>conftest.$ac_ext
16237 cat >>conftest.$ac_ext <<_ACEOF
16238 /* end confdefs.h. */
16239 $ac_includes_default
16240 long longval () { return (long) (sizeof (long)); }
16241 unsigned long ulongval () { return (long) (sizeof (long)); }
16242 #include <stdio.h>
16243 #include <stdlib.h>
16244 int
16245 main ()
16246 {
16247
16248 FILE *f = fopen ("conftest.val", "w");
16249 if (! f)
16250 exit (1);
16251 if (((long) (sizeof (long))) < 0)
16252 {
16253 long i = longval ();
16254 if (i != ((long) (sizeof (long))))
16255 exit (1);
16256 fprintf (f, "%ld\n", i);
16257 }
16258 else
16259 {
16260 unsigned long i = ulongval ();
16261 if (i != ((long) (sizeof (long))))
16262 exit (1);
16263 fprintf (f, "%lu\n", i);
16264 }
16265 exit (ferror (f) || fclose (f) != 0);
16266
16267 ;
16268 return 0;
16269 }
16270 _ACEOF
16271 rm -f conftest$ac_exeext
16272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16273 (eval $ac_link) 2>&5
16274 ac_status=$?
16275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16279 ac_status=$?
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; }; then
16282 ac_cv_sizeof_long=`cat conftest.val`
16283 else
16284 echo "$as_me: program exited with status $ac_status" >&5
16285 echo "$as_me: failed program was:" >&5
16286 sed 's/^/| /' conftest.$ac_ext >&5
16287
16288 ( exit $ac_status )
16289 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16290 See \`config.log' for more details." >&5
16291 echo "$as_me: error: cannot compute sizeof (long), 77
16292 See \`config.log' for more details." >&2;}
16293 { (exit 1); exit 1; }; }
16294 fi
16295 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16296 fi
16297 fi
16298 rm -f conftest.val
16299 else
16300 ac_cv_sizeof_long=0
16301 fi
16302 fi
16303 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16304 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16305 cat >>confdefs.h <<_ACEOF
16306 #define SIZEOF_LONG $ac_cv_sizeof_long
16307 _ACEOF
16308
16309
16310 echo "$as_me:$LINENO: checking for size_t" >&5
16311 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16312 if test "${ac_cv_type_size_t+set}" = set; then
16313 echo $ECHO_N "(cached) $ECHO_C" >&6
16314 else
16315 cat >conftest.$ac_ext <<_ACEOF
16316 /* confdefs.h. */
16317 _ACEOF
16318 cat confdefs.h >>conftest.$ac_ext
16319 cat >>conftest.$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 $ac_includes_default
16322 int
16323 main ()
16324 {
16325 if ((size_t *) 0)
16326 return 0;
16327 if (sizeof (size_t))
16328 return 0;
16329 ;
16330 return 0;
16331 }
16332 _ACEOF
16333 rm -f conftest.$ac_objext
16334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16335 (eval $ac_compile) 2>conftest.er1
16336 ac_status=$?
16337 grep -v '^ *+' conftest.er1 >conftest.err
16338 rm -f conftest.er1
16339 cat conftest.err >&5
16340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16341 (exit $ac_status); } &&
16342 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16345 ac_status=$?
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; } &&
16348 { ac_try='test -s conftest.$ac_objext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 ac_cv_type_size_t=yes
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16358
16359 ac_cv_type_size_t=no
16360 fi
16361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16362 fi
16363 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16364 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16365
16366 echo "$as_me:$LINENO: checking size of size_t" >&5
16367 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
16368 if test "${ac_cv_sizeof_size_t+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 else
16371 if test "$ac_cv_type_size_t" = yes; then
16372 # The cast to unsigned long works around a bug in the HP C Compiler
16373 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16374 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16375 # This bug is HP SR number 8606223364.
16376 if test "$cross_compiling" = yes; then
16377 # Depending upon the size, compute the lo and hi bounds.
16378 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 $ac_includes_default
16385 int
16386 main ()
16387 {
16388 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
16389 test_array [0] = 0
16390
16391 ;
16392 return 0;
16393 }
16394 _ACEOF
16395 rm -f conftest.$ac_objext
16396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16397 (eval $ac_compile) 2>conftest.er1
16398 ac_status=$?
16399 grep -v '^ *+' conftest.er1 >conftest.err
16400 rm -f conftest.er1
16401 cat conftest.err >&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } &&
16404 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16407 ac_status=$?
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; } &&
16410 { ac_try='test -s conftest.$ac_objext'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16413 ac_status=$?
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; }; then
16416 ac_lo=0 ac_mid=0
16417 while :; do
16418 cat >conftest.$ac_ext <<_ACEOF
16419 /* confdefs.h. */
16420 _ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 $ac_includes_default
16425 int
16426 main ()
16427 {
16428 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16429 test_array [0] = 0
16430
16431 ;
16432 return 0;
16433 }
16434 _ACEOF
16435 rm -f conftest.$ac_objext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16437 (eval $ac_compile) 2>conftest.er1
16438 ac_status=$?
16439 grep -v '^ *+' conftest.er1 >conftest.err
16440 rm -f conftest.er1
16441 cat conftest.err >&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16446 (eval $ac_try) 2>&5
16447 ac_status=$?
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); }; } &&
16450 { ac_try='test -s conftest.$ac_objext'
16451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16452 (eval $ac_try) 2>&5
16453 ac_status=$?
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); }; }; then
16456 ac_hi=$ac_mid; break
16457 else
16458 echo "$as_me: failed program was:" >&5
16459 sed 's/^/| /' conftest.$ac_ext >&5
16460
16461 ac_lo=`expr $ac_mid + 1`
16462 if test $ac_lo -le $ac_mid; then
16463 ac_lo= ac_hi=
16464 break
16465 fi
16466 ac_mid=`expr 2 '*' $ac_mid + 1`
16467 fi
16468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16469 done
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16473
16474 cat >conftest.$ac_ext <<_ACEOF
16475 /* confdefs.h. */
16476 _ACEOF
16477 cat confdefs.h >>conftest.$ac_ext
16478 cat >>conftest.$ac_ext <<_ACEOF
16479 /* end confdefs.h. */
16480 $ac_includes_default
16481 int
16482 main ()
16483 {
16484 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
16485 test_array [0] = 0
16486
16487 ;
16488 return 0;
16489 }
16490 _ACEOF
16491 rm -f conftest.$ac_objext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16493 (eval $ac_compile) 2>conftest.er1
16494 ac_status=$?
16495 grep -v '^ *+' conftest.er1 >conftest.err
16496 rm -f conftest.er1
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502 (eval $ac_try) 2>&5
16503 ac_status=$?
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); }; } &&
16506 { ac_try='test -s conftest.$ac_objext'
16507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16508 (eval $ac_try) 2>&5
16509 ac_status=$?
16510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16511 (exit $ac_status); }; }; then
16512 ac_hi=-1 ac_mid=-1
16513 while :; do
16514 cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h. */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h. */
16520 $ac_includes_default
16521 int
16522 main ()
16523 {
16524 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
16525 test_array [0] = 0
16526
16527 ;
16528 return 0;
16529 }
16530 _ACEOF
16531 rm -f conftest.$ac_objext
16532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>conftest.er1
16534 ac_status=$?
16535 grep -v '^ *+' conftest.er1 >conftest.err
16536 rm -f conftest.er1
16537 cat conftest.err >&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); } &&
16540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16543 ac_status=$?
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; } &&
16546 { ac_try='test -s conftest.$ac_objext'
16547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16548 (eval $ac_try) 2>&5
16549 ac_status=$?
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); }; }; then
16552 ac_lo=$ac_mid; break
16553 else
16554 echo "$as_me: failed program was:" >&5
16555 sed 's/^/| /' conftest.$ac_ext >&5
16556
16557 ac_hi=`expr '(' $ac_mid ')' - 1`
16558 if test $ac_mid -le $ac_hi; then
16559 ac_lo= ac_hi=
16560 break
16561 fi
16562 ac_mid=`expr 2 '*' $ac_mid`
16563 fi
16564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16565 done
16566 else
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.$ac_ext >&5
16569
16570 ac_lo= ac_hi=
16571 fi
16572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16573 fi
16574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16575 # Binary search between lo and hi bounds.
16576 while test "x$ac_lo" != "x$ac_hi"; do
16577 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16578 cat >conftest.$ac_ext <<_ACEOF
16579 /* confdefs.h. */
16580 _ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $ac_includes_default
16585 int
16586 main ()
16587 {
16588 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16589 test_array [0] = 0
16590
16591 ;
16592 return 0;
16593 }
16594 _ACEOF
16595 rm -f conftest.$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>conftest.er1
16598 ac_status=$?
16599 grep -v '^ *+' conftest.er1 >conftest.err
16600 rm -f conftest.er1
16601 cat conftest.err >&5
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } &&
16604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16606 (eval $ac_try) 2>&5
16607 ac_status=$?
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); }; } &&
16610 { ac_try='test -s conftest.$ac_objext'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; }; then
16616 ac_hi=$ac_mid
16617 else
16618 echo "$as_me: failed program was:" >&5
16619 sed 's/^/| /' conftest.$ac_ext >&5
16620
16621 ac_lo=`expr '(' $ac_mid ')' + 1`
16622 fi
16623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16624 done
16625 case $ac_lo in
16626 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16627 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16628 See \`config.log' for more details." >&5
16629 echo "$as_me: error: cannot compute sizeof (size_t), 77
16630 See \`config.log' for more details." >&2;}
16631 { (exit 1); exit 1; }; } ;;
16632 esac
16633 else
16634 if test "$cross_compiling" = yes; then
16635 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16636 See \`config.log' for more details." >&5
16637 echo "$as_me: error: cannot run test program while cross compiling
16638 See \`config.log' for more details." >&2;}
16639 { (exit 1); exit 1; }; }
16640 else
16641 cat >conftest.$ac_ext <<_ACEOF
16642 /* confdefs.h. */
16643 _ACEOF
16644 cat confdefs.h >>conftest.$ac_ext
16645 cat >>conftest.$ac_ext <<_ACEOF
16646 /* end confdefs.h. */
16647 $ac_includes_default
16648 long longval () { return (long) (sizeof (size_t)); }
16649 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16650 #include <stdio.h>
16651 #include <stdlib.h>
16652 int
16653 main ()
16654 {
16655
16656 FILE *f = fopen ("conftest.val", "w");
16657 if (! f)
16658 exit (1);
16659 if (((long) (sizeof (size_t))) < 0)
16660 {
16661 long i = longval ();
16662 if (i != ((long) (sizeof (size_t))))
16663 exit (1);
16664 fprintf (f, "%ld\n", i);
16665 }
16666 else
16667 {
16668 unsigned long i = ulongval ();
16669 if (i != ((long) (sizeof (size_t))))
16670 exit (1);
16671 fprintf (f, "%lu\n", i);
16672 }
16673 exit (ferror (f) || fclose (f) != 0);
16674
16675 ;
16676 return 0;
16677 }
16678 _ACEOF
16679 rm -f conftest$ac_exeext
16680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16681 (eval $ac_link) 2>&5
16682 ac_status=$?
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16687 ac_status=$?
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; }; then
16690 ac_cv_sizeof_size_t=`cat conftest.val`
16691 else
16692 echo "$as_me: program exited with status $ac_status" >&5
16693 echo "$as_me: failed program was:" >&5
16694 sed 's/^/| /' conftest.$ac_ext >&5
16695
16696 ( exit $ac_status )
16697 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16698 See \`config.log' for more details." >&5
16699 echo "$as_me: error: cannot compute sizeof (size_t), 77
16700 See \`config.log' for more details." >&2;}
16701 { (exit 1); exit 1; }; }
16702 fi
16703 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16704 fi
16705 fi
16706 rm -f conftest.val
16707 else
16708 ac_cv_sizeof_size_t=0
16709 fi
16710 fi
16711 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16712 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16713 cat >>confdefs.h <<_ACEOF
16714 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16715 _ACEOF
16716
16717
16718
16719 case "${host}" in
16720 arm-*-linux* )
16721 echo "$as_me:$LINENO: checking for long long" >&5
16722 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16723 if test "${ac_cv_type_long_long+set}" = set; then
16724 echo $ECHO_N "(cached) $ECHO_C" >&6
16725 else
16726 cat >conftest.$ac_ext <<_ACEOF
16727 /* confdefs.h. */
16728 _ACEOF
16729 cat confdefs.h >>conftest.$ac_ext
16730 cat >>conftest.$ac_ext <<_ACEOF
16731 /* end confdefs.h. */
16732 $ac_includes_default
16733 int
16734 main ()
16735 {
16736 if ((long long *) 0)
16737 return 0;
16738 if (sizeof (long long))
16739 return 0;
16740 ;
16741 return 0;
16742 }
16743 _ACEOF
16744 rm -f conftest.$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746 (eval $ac_compile) 2>conftest.er1
16747 ac_status=$?
16748 grep -v '^ *+' conftest.er1 >conftest.err
16749 rm -f conftest.er1
16750 cat conftest.err >&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } &&
16753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; } &&
16759 { ac_try='test -s conftest.$ac_objext'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16762 ac_status=$?
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; }; then
16765 ac_cv_type_long_long=yes
16766 else
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16769
16770 ac_cv_type_long_long=no
16771 fi
16772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 fi
16774 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16775 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16776
16777 echo "$as_me:$LINENO: checking size of long long" >&5
16778 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16779 if test "${ac_cv_sizeof_long_long+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16781 else
16782 if test "$ac_cv_type_long_long" = yes; then
16783 # The cast to unsigned long works around a bug in the HP C Compiler
16784 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16785 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16786 # This bug is HP SR number 8606223364.
16787 if test "$cross_compiling" = yes; then
16788 # Depending upon the size, compute the lo and hi bounds.
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 $ac_includes_default
16796 int
16797 main ()
16798 {
16799 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16800 test_array [0] = 0
16801
16802 ;
16803 return 0;
16804 }
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>conftest.er1
16809 ac_status=$?
16810 grep -v '^ *+' conftest.er1 >conftest.err
16811 rm -f conftest.er1
16812 cat conftest.err >&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16818 ac_status=$?
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16824 ac_status=$?
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 ac_lo=0 ac_mid=0
16828 while :; do
16829 cat >conftest.$ac_ext <<_ACEOF
16830 /* confdefs.h. */
16831 _ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835 $ac_includes_default
16836 int
16837 main ()
16838 {
16839 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16840 test_array [0] = 0
16841
16842 ;
16843 return 0;
16844 }
16845 _ACEOF
16846 rm -f conftest.$ac_objext
16847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16848 (eval $ac_compile) 2>conftest.er1
16849 ac_status=$?
16850 grep -v '^ *+' conftest.er1 >conftest.err
16851 rm -f conftest.er1
16852 cat conftest.err >&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } &&
16855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16858 ac_status=$?
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; } &&
16861 { ac_try='test -s conftest.$ac_objext'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16864 ac_status=$?
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 ac_hi=$ac_mid; break
16868 else
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.$ac_ext >&5
16871
16872 ac_lo=`expr $ac_mid + 1`
16873 if test $ac_lo -le $ac_mid; then
16874 ac_lo= ac_hi=
16875 break
16876 fi
16877 ac_mid=`expr 2 '*' $ac_mid + 1`
16878 fi
16879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16880 done
16881 else
16882 echo "$as_me: failed program was:" >&5
16883 sed 's/^/| /' conftest.$ac_ext >&5
16884
16885 cat >conftest.$ac_ext <<_ACEOF
16886 /* confdefs.h. */
16887 _ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 $ac_includes_default
16892 int
16893 main ()
16894 {
16895 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16896 test_array [0] = 0
16897
16898 ;
16899 return 0;
16900 }
16901 _ACEOF
16902 rm -f conftest.$ac_objext
16903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16904 (eval $ac_compile) 2>conftest.er1
16905 ac_status=$?
16906 grep -v '^ *+' conftest.er1 >conftest.err
16907 rm -f conftest.er1
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } &&
16911 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; } &&
16917 { ac_try='test -s conftest.$ac_objext'
16918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919 (eval $ac_try) 2>&5
16920 ac_status=$?
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); }; }; then
16923 ac_hi=-1 ac_mid=-1
16924 while :; do
16925 cat >conftest.$ac_ext <<_ACEOF
16926 /* confdefs.h. */
16927 _ACEOF
16928 cat confdefs.h >>conftest.$ac_ext
16929 cat >>conftest.$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 $ac_includes_default
16932 int
16933 main ()
16934 {
16935 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16936 test_array [0] = 0
16937
16938 ;
16939 return 0;
16940 }
16941 _ACEOF
16942 rm -f conftest.$ac_objext
16943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16944 (eval $ac_compile) 2>conftest.er1
16945 ac_status=$?
16946 grep -v '^ *+' conftest.er1 >conftest.err
16947 rm -f conftest.er1
16948 cat conftest.err >&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } &&
16951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16954 ac_status=$?
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; } &&
16957 { ac_try='test -s conftest.$ac_objext'
16958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16959 (eval $ac_try) 2>&5
16960 ac_status=$?
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); }; }; then
16963 ac_lo=$ac_mid; break
16964 else
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16967
16968 ac_hi=`expr '(' $ac_mid ')' - 1`
16969 if test $ac_mid -le $ac_hi; then
16970 ac_lo= ac_hi=
16971 break
16972 fi
16973 ac_mid=`expr 2 '*' $ac_mid`
16974 fi
16975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16976 done
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 ac_lo= ac_hi=
16982 fi
16983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16984 fi
16985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16986 # Binary search between lo and hi bounds.
16987 while test "x$ac_lo" != "x$ac_hi"; do
16988 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16996 int
16997 main ()
16998 {
16999 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17000 test_array [0] = 0
17001
17002 ;
17003 return 0;
17004 }
17005 _ACEOF
17006 rm -f conftest.$ac_objext
17007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17008 (eval $ac_compile) 2>conftest.er1
17009 ac_status=$?
17010 grep -v '^ *+' conftest.er1 >conftest.err
17011 rm -f conftest.er1
17012 cat conftest.err >&5
17013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014 (exit $ac_status); } &&
17015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017 (eval $ac_try) 2>&5
17018 ac_status=$?
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); }; } &&
17021 { ac_try='test -s conftest.$ac_objext'
17022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17023 (eval $ac_try) 2>&5
17024 ac_status=$?
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); }; }; then
17027 ac_hi=$ac_mid
17028 else
17029 echo "$as_me: failed program was:" >&5
17030 sed 's/^/| /' conftest.$ac_ext >&5
17031
17032 ac_lo=`expr '(' $ac_mid ')' + 1`
17033 fi
17034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17035 done
17036 case $ac_lo in
17037 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17038 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17039 See \`config.log' for more details." >&5
17040 echo "$as_me: error: cannot compute sizeof (long long), 77
17041 See \`config.log' for more details." >&2;}
17042 { (exit 1); exit 1; }; } ;;
17043 esac
17044 else
17045 if test "$cross_compiling" = yes; then
17046 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17047 See \`config.log' for more details." >&5
17048 echo "$as_me: error: cannot run test program while cross compiling
17049 See \`config.log' for more details." >&2;}
17050 { (exit 1); exit 1; }; }
17051 else
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 $ac_includes_default
17059 long longval () { return (long) (sizeof (long long)); }
17060 unsigned long ulongval () { return (long) (sizeof (long long)); }
17061 #include <stdio.h>
17062 #include <stdlib.h>
17063 int
17064 main ()
17065 {
17066
17067 FILE *f = fopen ("conftest.val", "w");
17068 if (! f)
17069 exit (1);
17070 if (((long) (sizeof (long long))) < 0)
17071 {
17072 long i = longval ();
17073 if (i != ((long) (sizeof (long long))))
17074 exit (1);
17075 fprintf (f, "%ld\n", i);
17076 }
17077 else
17078 {
17079 unsigned long i = ulongval ();
17080 if (i != ((long) (sizeof (long long))))
17081 exit (1);
17082 fprintf (f, "%lu\n", i);
17083 }
17084 exit (ferror (f) || fclose (f) != 0);
17085
17086 ;
17087 return 0;
17088 }
17089 _ACEOF
17090 rm -f conftest$ac_exeext
17091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17092 (eval $ac_link) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; }; then
17101 ac_cv_sizeof_long_long=`cat conftest.val`
17102 else
17103 echo "$as_me: program exited with status $ac_status" >&5
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17106
17107 ( exit $ac_status )
17108 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17109 See \`config.log' for more details." >&5
17110 echo "$as_me: error: cannot compute sizeof (long long), 77
17111 See \`config.log' for more details." >&2;}
17112 { (exit 1); exit 1; }; }
17113 fi
17114 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17115 fi
17116 fi
17117 rm -f conftest.val
17118 else
17119 ac_cv_sizeof_long_long=0
17120 fi
17121 fi
17122 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17123 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17124 cat >>confdefs.h <<_ACEOF
17125 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17126 _ACEOF
17127
17128
17129 ;;
17130 *-hp-hpux* )
17131 echo "$as_me:$LINENO: checking for long long" >&5
17132 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17133 if test "${ac_cv_type_long_long+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17135 else
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 $ac_includes_default
17143 int
17144 main ()
17145 {
17146 if ((long long *) 0)
17147 return 0;
17148 if (sizeof (long long))
17149 return 0;
17150 ;
17151 return 0;
17152 }
17153 _ACEOF
17154 rm -f conftest.$ac_objext
17155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17156 (eval $ac_compile) 2>conftest.er1
17157 ac_status=$?
17158 grep -v '^ *+' conftest.er1 >conftest.err
17159 rm -f conftest.er1
17160 cat conftest.err >&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); } &&
17163 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17165 (eval $ac_try) 2>&5
17166 ac_status=$?
17167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17168 (exit $ac_status); }; } &&
17169 { ac_try='test -s conftest.$ac_objext'
17170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17171 (eval $ac_try) 2>&5
17172 ac_status=$?
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); }; }; then
17175 ac_cv_type_long_long=yes
17176 else
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17179
17180 ac_cv_type_long_long=no
17181 fi
17182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17183 fi
17184 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17185 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17186
17187 echo "$as_me:$LINENO: checking size of long long" >&5
17188 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17189 if test "${ac_cv_sizeof_long_long+set}" = set; then
17190 echo $ECHO_N "(cached) $ECHO_C" >&6
17191 else
17192 if test "$ac_cv_type_long_long" = yes; then
17193 # The cast to unsigned long works around a bug in the HP C Compiler
17194 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17195 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17196 # This bug is HP SR number 8606223364.
17197 if test "$cross_compiling" = yes; then
17198 # Depending upon the size, compute the lo and hi bounds.
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h. */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205 $ac_includes_default
17206 int
17207 main ()
17208 {
17209 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17210 test_array [0] = 0
17211
17212 ;
17213 return 0;
17214 }
17215 _ACEOF
17216 rm -f conftest.$ac_objext
17217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17218 (eval $ac_compile) 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } &&
17225 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17228 ac_status=$?
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; } &&
17231 { ac_try='test -s conftest.$ac_objext'
17232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17233 (eval $ac_try) 2>&5
17234 ac_status=$?
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); }; }; then
17237 ac_lo=0 ac_mid=0
17238 while :; do
17239 cat >conftest.$ac_ext <<_ACEOF
17240 /* confdefs.h. */
17241 _ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 $ac_includes_default
17246 int
17247 main ()
17248 {
17249 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17250 test_array [0] = 0
17251
17252 ;
17253 return 0;
17254 }
17255 _ACEOF
17256 rm -f conftest.$ac_objext
17257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17258 (eval $ac_compile) 2>conftest.er1
17259 ac_status=$?
17260 grep -v '^ *+' conftest.er1 >conftest.err
17261 rm -f conftest.er1
17262 cat conftest.err >&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); } &&
17265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17268 ac_status=$?
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; } &&
17271 { ac_try='test -s conftest.$ac_objext'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17274 ac_status=$?
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; }; then
17277 ac_hi=$ac_mid; break
17278 else
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17281
17282 ac_lo=`expr $ac_mid + 1`
17283 if test $ac_lo -le $ac_mid; then
17284 ac_lo= ac_hi=
17285 break
17286 fi
17287 ac_mid=`expr 2 '*' $ac_mid + 1`
17288 fi
17289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17290 done
17291 else
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.$ac_ext >&5
17294
17295 cat >conftest.$ac_ext <<_ACEOF
17296 /* confdefs.h. */
17297 _ACEOF
17298 cat confdefs.h >>conftest.$ac_ext
17299 cat >>conftest.$ac_ext <<_ACEOF
17300 /* end confdefs.h. */
17301 $ac_includes_default
17302 int
17303 main ()
17304 {
17305 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17306 test_array [0] = 0
17307
17308 ;
17309 return 0;
17310 }
17311 _ACEOF
17312 rm -f conftest.$ac_objext
17313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17314 (eval $ac_compile) 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } &&
17321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17323 (eval $ac_try) 2>&5
17324 ac_status=$?
17325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17326 (exit $ac_status); }; } &&
17327 { ac_try='test -s conftest.$ac_objext'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17330 ac_status=$?
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; }; then
17333 ac_hi=-1 ac_mid=-1
17334 while :; do
17335 cat >conftest.$ac_ext <<_ACEOF
17336 /* confdefs.h. */
17337 _ACEOF
17338 cat confdefs.h >>conftest.$ac_ext
17339 cat >>conftest.$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17342 int
17343 main ()
17344 {
17345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17346 test_array [0] = 0
17347
17348 ;
17349 return 0;
17350 }
17351 _ACEOF
17352 rm -f conftest.$ac_objext
17353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17354 (eval $ac_compile) 2>conftest.er1
17355 ac_status=$?
17356 grep -v '^ *+' conftest.er1 >conftest.err
17357 rm -f conftest.er1
17358 cat conftest.err >&5
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; } &&
17367 { ac_try='test -s conftest.$ac_objext'
17368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17369 (eval $ac_try) 2>&5
17370 ac_status=$?
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); }; }; then
17373 ac_lo=$ac_mid; break
17374 else
17375 echo "$as_me: failed program was:" >&5
17376 sed 's/^/| /' conftest.$ac_ext >&5
17377
17378 ac_hi=`expr '(' $ac_mid ')' - 1`
17379 if test $ac_mid -le $ac_hi; then
17380 ac_lo= ac_hi=
17381 break
17382 fi
17383 ac_mid=`expr 2 '*' $ac_mid`
17384 fi
17385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17386 done
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 ac_lo= ac_hi=
17392 fi
17393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17394 fi
17395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17396 # Binary search between lo and hi bounds.
17397 while test "x$ac_lo" != "x$ac_hi"; do
17398 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17399 cat >conftest.$ac_ext <<_ACEOF
17400 /* confdefs.h. */
17401 _ACEOF
17402 cat confdefs.h >>conftest.$ac_ext
17403 cat >>conftest.$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17405 $ac_includes_default
17406 int
17407 main ()
17408 {
17409 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17410 test_array [0] = 0
17411
17412 ;
17413 return 0;
17414 }
17415 _ACEOF
17416 rm -f conftest.$ac_objext
17417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17418 (eval $ac_compile) 2>conftest.er1
17419 ac_status=$?
17420 grep -v '^ *+' conftest.er1 >conftest.err
17421 rm -f conftest.er1
17422 cat conftest.err >&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } &&
17425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17428 ac_status=$?
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17434 ac_status=$?
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 ac_hi=$ac_mid
17438 else
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17441
17442 ac_lo=`expr '(' $ac_mid ')' + 1`
17443 fi
17444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17445 done
17446 case $ac_lo in
17447 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17448 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17449 See \`config.log' for more details." >&5
17450 echo "$as_me: error: cannot compute sizeof (long long), 77
17451 See \`config.log' for more details." >&2;}
17452 { (exit 1); exit 1; }; } ;;
17453 esac
17454 else
17455 if test "$cross_compiling" = yes; then
17456 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17457 See \`config.log' for more details." >&5
17458 echo "$as_me: error: cannot run test program while cross compiling
17459 See \`config.log' for more details." >&2;}
17460 { (exit 1); exit 1; }; }
17461 else
17462 cat >conftest.$ac_ext <<_ACEOF
17463 /* confdefs.h. */
17464 _ACEOF
17465 cat confdefs.h >>conftest.$ac_ext
17466 cat >>conftest.$ac_ext <<_ACEOF
17467 /* end confdefs.h. */
17468 $ac_includes_default
17469 long longval () { return (long) (sizeof (long long)); }
17470 unsigned long ulongval () { return (long) (sizeof (long long)); }
17471 #include <stdio.h>
17472 #include <stdlib.h>
17473 int
17474 main ()
17475 {
17476
17477 FILE *f = fopen ("conftest.val", "w");
17478 if (! f)
17479 exit (1);
17480 if (((long) (sizeof (long long))) < 0)
17481 {
17482 long i = longval ();
17483 if (i != ((long) (sizeof (long long))))
17484 exit (1);
17485 fprintf (f, "%ld\n", i);
17486 }
17487 else
17488 {
17489 unsigned long i = ulongval ();
17490 if (i != ((long) (sizeof (long long))))
17491 exit (1);
17492 fprintf (f, "%lu\n", i);
17493 }
17494 exit (ferror (f) || fclose (f) != 0);
17495
17496 ;
17497 return 0;
17498 }
17499 _ACEOF
17500 rm -f conftest$ac_exeext
17501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17502 (eval $ac_link) 2>&5
17503 ac_status=$?
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17507 (eval $ac_try) 2>&5
17508 ac_status=$?
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); }; }; then
17511 ac_cv_sizeof_long_long=`cat conftest.val`
17512 else
17513 echo "$as_me: program exited with status $ac_status" >&5
17514 echo "$as_me: failed program was:" >&5
17515 sed 's/^/| /' conftest.$ac_ext >&5
17516
17517 ( exit $ac_status )
17518 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17519 See \`config.log' for more details." >&5
17520 echo "$as_me: error: cannot compute sizeof (long long), 77
17521 See \`config.log' for more details." >&2;}
17522 { (exit 1); exit 1; }; }
17523 fi
17524 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17525 fi
17526 fi
17527 rm -f conftest.val
17528 else
17529 ac_cv_sizeof_long_long=0
17530 fi
17531 fi
17532 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17533 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17534 cat >>confdefs.h <<_ACEOF
17535 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17536 _ACEOF
17537
17538
17539 if test "$ac_cv_sizeof_long_long" != "0"; then
17540 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
17541 fi
17542 ;;
17543 * )
17544 echo "$as_me:$LINENO: checking for long long" >&5
17545 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17546 if test "${ac_cv_type_long_long+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 else
17549 cat >conftest.$ac_ext <<_ACEOF
17550 /* confdefs.h. */
17551 _ACEOF
17552 cat confdefs.h >>conftest.$ac_ext
17553 cat >>conftest.$ac_ext <<_ACEOF
17554 /* end confdefs.h. */
17555 $ac_includes_default
17556 int
17557 main ()
17558 {
17559 if ((long long *) 0)
17560 return 0;
17561 if (sizeof (long long))
17562 return 0;
17563 ;
17564 return 0;
17565 }
17566 _ACEOF
17567 rm -f conftest.$ac_objext
17568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17569 (eval $ac_compile) 2>conftest.er1
17570 ac_status=$?
17571 grep -v '^ *+' conftest.er1 >conftest.err
17572 rm -f conftest.er1
17573 cat conftest.err >&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } &&
17576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17579 ac_status=$?
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; } &&
17582 { ac_try='test -s conftest.$ac_objext'
17583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17584 (eval $ac_try) 2>&5
17585 ac_status=$?
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); }; }; then
17588 ac_cv_type_long_long=yes
17589 else
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17592
17593 ac_cv_type_long_long=no
17594 fi
17595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17596 fi
17597 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17598 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17599
17600 echo "$as_me:$LINENO: checking size of long long" >&5
17601 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
17602 if test "${ac_cv_sizeof_long_long+set}" = set; then
17603 echo $ECHO_N "(cached) $ECHO_C" >&6
17604 else
17605 if test "$ac_cv_type_long_long" = yes; then
17606 # The cast to unsigned long works around a bug in the HP C Compiler
17607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17609 # This bug is HP SR number 8606223364.
17610 if test "$cross_compiling" = yes; then
17611 # Depending upon the size, compute the lo and hi bounds.
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 $ac_includes_default
17619 int
17620 main ()
17621 {
17622 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
17623 test_array [0] = 0
17624
17625 ;
17626 return 0;
17627 }
17628 _ACEOF
17629 rm -f conftest.$ac_objext
17630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17631 (eval $ac_compile) 2>conftest.er1
17632 ac_status=$?
17633 grep -v '^ *+' conftest.er1 >conftest.err
17634 rm -f conftest.er1
17635 cat conftest.err >&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } &&
17638 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17641 ac_status=$?
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try='test -s conftest.$ac_objext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17647 ac_status=$?
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 ac_lo=0 ac_mid=0
17651 while :; do
17652 cat >conftest.$ac_ext <<_ACEOF
17653 /* confdefs.h. */
17654 _ACEOF
17655 cat confdefs.h >>conftest.$ac_ext
17656 cat >>conftest.$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 $ac_includes_default
17659 int
17660 main ()
17661 {
17662 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17663 test_array [0] = 0
17664
17665 ;
17666 return 0;
17667 }
17668 _ACEOF
17669 rm -f conftest.$ac_objext
17670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17671 (eval $ac_compile) 2>conftest.er1
17672 ac_status=$?
17673 grep -v '^ *+' conftest.er1 >conftest.err
17674 rm -f conftest.er1
17675 cat conftest.err >&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } &&
17678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17680 (eval $ac_try) 2>&5
17681 ac_status=$?
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; } &&
17684 { ac_try='test -s conftest.$ac_objext'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17687 ac_status=$?
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; }; then
17690 ac_hi=$ac_mid; break
17691 else
17692 echo "$as_me: failed program was:" >&5
17693 sed 's/^/| /' conftest.$ac_ext >&5
17694
17695 ac_lo=`expr $ac_mid + 1`
17696 if test $ac_lo -le $ac_mid; then
17697 ac_lo= ac_hi=
17698 break
17699 fi
17700 ac_mid=`expr 2 '*' $ac_mid + 1`
17701 fi
17702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17703 done
17704 else
17705 echo "$as_me: failed program was:" >&5
17706 sed 's/^/| /' conftest.$ac_ext >&5
17707
17708 cat >conftest.$ac_ext <<_ACEOF
17709 /* confdefs.h. */
17710 _ACEOF
17711 cat confdefs.h >>conftest.$ac_ext
17712 cat >>conftest.$ac_ext <<_ACEOF
17713 /* end confdefs.h. */
17714 $ac_includes_default
17715 int
17716 main ()
17717 {
17718 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17719 test_array [0] = 0
17720
17721 ;
17722 return 0;
17723 }
17724 _ACEOF
17725 rm -f conftest.$ac_objext
17726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17727 (eval $ac_compile) 2>conftest.er1
17728 ac_status=$?
17729 grep -v '^ *+' conftest.er1 >conftest.err
17730 rm -f conftest.er1
17731 cat conftest.err >&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); } &&
17734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17737 ac_status=$?
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; } &&
17740 { ac_try='test -s conftest.$ac_objext'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17743 ac_status=$?
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; }; then
17746 ac_hi=-1 ac_mid=-1
17747 while :; do
17748 cat >conftest.$ac_ext <<_ACEOF
17749 /* confdefs.h. */
17750 _ACEOF
17751 cat confdefs.h >>conftest.$ac_ext
17752 cat >>conftest.$ac_ext <<_ACEOF
17753 /* end confdefs.h. */
17754 $ac_includes_default
17755 int
17756 main ()
17757 {
17758 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17759 test_array [0] = 0
17760
17761 ;
17762 return 0;
17763 }
17764 _ACEOF
17765 rm -f conftest.$ac_objext
17766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17767 (eval $ac_compile) 2>conftest.er1
17768 ac_status=$?
17769 grep -v '^ *+' conftest.er1 >conftest.err
17770 rm -f conftest.er1
17771 cat conftest.err >&5
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); } &&
17774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; } &&
17780 { ac_try='test -s conftest.$ac_objext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17783 ac_status=$?
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 ac_lo=$ac_mid; break
17787 else
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17790
17791 ac_hi=`expr '(' $ac_mid ')' - 1`
17792 if test $ac_mid -le $ac_hi; then
17793 ac_lo= ac_hi=
17794 break
17795 fi
17796 ac_mid=`expr 2 '*' $ac_mid`
17797 fi
17798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17799 done
17800 else
17801 echo "$as_me: failed program was:" >&5
17802 sed 's/^/| /' conftest.$ac_ext >&5
17803
17804 ac_lo= ac_hi=
17805 fi
17806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17807 fi
17808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17809 # Binary search between lo and hi bounds.
17810 while test "x$ac_lo" != "x$ac_hi"; do
17811 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17812 cat >conftest.$ac_ext <<_ACEOF
17813 /* confdefs.h. */
17814 _ACEOF
17815 cat confdefs.h >>conftest.$ac_ext
17816 cat >>conftest.$ac_ext <<_ACEOF
17817 /* end confdefs.h. */
17818 $ac_includes_default
17819 int
17820 main ()
17821 {
17822 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17823 test_array [0] = 0
17824
17825 ;
17826 return 0;
17827 }
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831 (eval $ac_compile) 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17841 ac_status=$?
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); }; } &&
17844 { ac_try='test -s conftest.$ac_objext'
17845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17846 (eval $ac_try) 2>&5
17847 ac_status=$?
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); }; }; then
17850 ac_hi=$ac_mid
17851 else
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.$ac_ext >&5
17854
17855 ac_lo=`expr '(' $ac_mid ')' + 1`
17856 fi
17857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17858 done
17859 case $ac_lo in
17860 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17861 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17862 See \`config.log' for more details." >&5
17863 echo "$as_me: error: cannot compute sizeof (long long), 77
17864 See \`config.log' for more details." >&2;}
17865 { (exit 1); exit 1; }; } ;;
17866 esac
17867 else
17868 if test "$cross_compiling" = yes; then
17869 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17870 See \`config.log' for more details." >&5
17871 echo "$as_me: error: cannot run test program while cross compiling
17872 See \`config.log' for more details." >&2;}
17873 { (exit 1); exit 1; }; }
17874 else
17875 cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h. */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h. */
17881 $ac_includes_default
17882 long longval () { return (long) (sizeof (long long)); }
17883 unsigned long ulongval () { return (long) (sizeof (long long)); }
17884 #include <stdio.h>
17885 #include <stdlib.h>
17886 int
17887 main ()
17888 {
17889
17890 FILE *f = fopen ("conftest.val", "w");
17891 if (! f)
17892 exit (1);
17893 if (((long) (sizeof (long long))) < 0)
17894 {
17895 long i = longval ();
17896 if (i != ((long) (sizeof (long long))))
17897 exit (1);
17898 fprintf (f, "%ld\n", i);
17899 }
17900 else
17901 {
17902 unsigned long i = ulongval ();
17903 if (i != ((long) (sizeof (long long))))
17904 exit (1);
17905 fprintf (f, "%lu\n", i);
17906 }
17907 exit (ferror (f) || fclose (f) != 0);
17908
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 rm -f conftest$ac_exeext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17915 (eval $ac_link) 2>&5
17916 ac_status=$?
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17920 (eval $ac_try) 2>&5
17921 ac_status=$?
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); }; }; then
17924 ac_cv_sizeof_long_long=`cat conftest.val`
17925 else
17926 echo "$as_me: program exited with status $ac_status" >&5
17927 echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17929
17930 ( exit $ac_status )
17931 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17932 See \`config.log' for more details." >&5
17933 echo "$as_me: error: cannot compute sizeof (long long), 77
17934 See \`config.log' for more details." >&2;}
17935 { (exit 1); exit 1; }; }
17936 fi
17937 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17938 fi
17939 fi
17940 rm -f conftest.val
17941 else
17942 ac_cv_sizeof_long_long=0
17943 fi
17944 fi
17945 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17946 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17947 cat >>confdefs.h <<_ACEOF
17948 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17949 _ACEOF
17950
17951
17952 esac
17953
17954 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17955 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17956 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17957 echo $ECHO_N "(cached) $ECHO_C" >&6
17958 else
17959
17960 if test "$cross_compiling" = yes; then
17961
17962 case "${host}" in
17963 *-pc-msdosdjgpp )
17964 wx_cv_sizeof_wchar_t=0
17965 ;;
17966 * )
17967 wx_cv_sizeof_wchar_t=4
17968 ;;
17969 esac
17970
17971
17972 else
17973 cat >conftest.$ac_ext <<_ACEOF
17974 /* confdefs.h. */
17975 _ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979
17980 /* DJGPP only has fake wchar_t: */
17981 #ifdef __DJGPP__
17982 # error "fake wchar_t"
17983 #endif
17984 #ifdef HAVE_WCHAR_H
17985 # ifdef __CYGWIN__
17986 # include <stddef.h>
17987 # endif
17988 # include <wchar.h>
17989 #endif
17990 #ifdef HAVE_STDLIB_H
17991 # include <stdlib.h>
17992 #endif
17993 #include <stdio.h>
17994 int main()
17995 {
17996 FILE *f=fopen("conftestval", "w");
17997 if (!f) exit(1);
17998 fprintf(f, "%i", sizeof(wchar_t));
17999 exit(0);
18000 }
18001
18002 _ACEOF
18003 rm -f conftest$ac_exeext
18004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18005 (eval $ac_link) 2>&5
18006 ac_status=$?
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18011 ac_status=$?
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; }; then
18014 wx_cv_sizeof_wchar_t=`cat conftestval`
18015 else
18016 echo "$as_me: program exited with status $ac_status" >&5
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18019
18020 ( exit $ac_status )
18021 wx_cv_sizeof_wchar_t=0
18022 fi
18023 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18024 fi
18025
18026 fi
18027 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
18028 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
18029
18030 cat >>confdefs.h <<_ACEOF
18031 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
18032 _ACEOF
18033
18034
18035 # Check whether --enable-largefile or --disable-largefile was given.
18036 if test "${enable_largefile+set}" = set; then
18037 enableval="$enable_largefile"
18038
18039 fi;
18040 if test "$enable_largefile" != no; then
18041 wx_largefile=no
18042
18043 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
18044 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
18045 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18047 else
18048
18049 cat >conftest.$ac_ext <<_ACEOF
18050 /* confdefs.h. */
18051 _ACEOF
18052 cat confdefs.h >>conftest.$ac_ext
18053 cat >>conftest.$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055 #define _FILE_OFFSET_BITS 64
18056 #include <sys/types.h>
18057 int
18058 main ()
18059 {
18060 typedef struct {
18061 unsigned int field: sizeof(off_t) == 8;
18062 } wxlf;
18063
18064 ;
18065 return 0;
18066 }
18067 _ACEOF
18068 rm -f conftest.$ac_objext
18069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18070 (eval $ac_compile) 2>conftest.er1
18071 ac_status=$?
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } &&
18077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18080 ac_status=$?
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; } &&
18083 { ac_try='test -s conftest.$ac_objext'
18084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18085 (eval $ac_try) 2>&5
18086 ac_status=$?
18087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18088 (exit $ac_status); }; }; then
18089 ac_cv_sys_file_offset_bits=64
18090 else
18091 echo "$as_me: failed program was:" >&5
18092 sed 's/^/| /' conftest.$ac_ext >&5
18093
18094 ac_cv_sys_file_offset_bits=no
18095 fi
18096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18097
18098
18099 fi
18100 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
18101 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
18102
18103 if test "$ac_cv_sys_file_offset_bits" != no; then
18104 wx_largefile=yes
18105 cat >>confdefs.h <<_ACEOF
18106 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
18107 _ACEOF
18108
18109 fi
18110
18111 if test "x$wx_largefile" != "xyes"; then
18112
18113 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
18114 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
18115 if test "${ac_cv_sys_large_files+set}" = set; then
18116 echo $ECHO_N "(cached) $ECHO_C" >&6
18117 else
18118
18119 cat >conftest.$ac_ext <<_ACEOF
18120 /* confdefs.h. */
18121 _ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125 #define _LARGE_FILES 1
18126 #include <sys/types.h>
18127 int
18128 main ()
18129 {
18130 typedef struct {
18131 unsigned int field: sizeof(off_t) == 8;
18132 } wxlf;
18133
18134 ;
18135 return 0;
18136 }
18137 _ACEOF
18138 rm -f conftest.$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18141 ac_status=$?
18142 grep -v '^ *+' conftest.er1 >conftest.err
18143 rm -f conftest.er1
18144 cat conftest.err >&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18150 ac_status=$?
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; } &&
18153 { ac_try='test -s conftest.$ac_objext'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18156 ac_status=$?
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; }; then
18159 ac_cv_sys_large_files=1
18160 else
18161 echo "$as_me: failed program was:" >&5
18162 sed 's/^/| /' conftest.$ac_ext >&5
18163
18164 ac_cv_sys_large_files=no
18165 fi
18166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18167
18168
18169 fi
18170 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
18171 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
18172
18173 if test "$ac_cv_sys_large_files" != no; then
18174 wx_largefile=yes
18175 cat >>confdefs.h <<_ACEOF
18176 #define _LARGE_FILES $ac_cv_sys_large_files
18177 _ACEOF
18178
18179 fi
18180
18181 fi
18182
18183 echo "$as_me:$LINENO: checking if large file support is available" >&5
18184 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
18185 if test "x$wx_largefile" = "xyes"; then
18186 cat >>confdefs.h <<\_ACEOF
18187 #define HAVE_LARGEFILE_SUPPORT 1
18188 _ACEOF
18189
18190 fi
18191 echo "$as_me:$LINENO: result: $wx_largefile" >&5
18192 echo "${ECHO_T}$wx_largefile" >&6
18193 fi
18194
18195
18196 if test "x$wx_largefile" = "xyes"; then
18197 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
18198 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
18199 else
18200 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
18201 fi
18202 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
18203 fi
18204
18205 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
18206 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
18207 if test "${ac_cv_c_bigendian+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 else
18210 ac_cv_c_bigendian=unknown
18211 # See if sys/param.h defines the BYTE_ORDER macro.
18212 cat >conftest.$ac_ext <<_ACEOF
18213 /* confdefs.h. */
18214 _ACEOF
18215 cat confdefs.h >>conftest.$ac_ext
18216 cat >>conftest.$ac_ext <<_ACEOF
18217 /* end confdefs.h. */
18218 #include <sys/types.h>
18219 #include <sys/param.h>
18220 int
18221 main ()
18222 {
18223
18224 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
18225 bogus endian macros
18226 #endif
18227 ;
18228 return 0;
18229 }
18230 _ACEOF
18231 rm -f conftest.$ac_objext
18232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18233 (eval $ac_compile) 2>conftest.er1
18234 ac_status=$?
18235 grep -v '^ *+' conftest.er1 >conftest.err
18236 rm -f conftest.er1
18237 cat conftest.err >&5
18238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18239 (exit $ac_status); } &&
18240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18243 ac_status=$?
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try='test -s conftest.$ac_objext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18249 ac_status=$?
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18252 # It does; now see whether it defined to BIG_ENDIAN or not.
18253 cat >conftest.$ac_ext <<_ACEOF
18254 /* confdefs.h. */
18255 _ACEOF
18256 cat confdefs.h >>conftest.$ac_ext
18257 cat >>conftest.$ac_ext <<_ACEOF
18258 /* end confdefs.h. */
18259 #include <sys/types.h>
18260 #include <sys/param.h>
18261 int
18262 main ()
18263 {
18264
18265 #if BYTE_ORDER != BIG_ENDIAN
18266 not big endian
18267 #endif
18268 ;
18269 return 0;
18270 }
18271 _ACEOF
18272 rm -f conftest.$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_c_bigendian=yes
18294 else
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.$ac_ext >&5
18297
18298 ac_cv_c_bigendian=no
18299 fi
18300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18301 else
18302 echo "$as_me: failed program was:" >&5
18303 sed 's/^/| /' conftest.$ac_ext >&5
18304
18305 fi
18306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18307 if test $ac_cv_c_bigendian = unknown; then
18308 if test "$cross_compiling" = yes; then
18309 ac_cv_c_bigendian=unknown
18310 else
18311 cat >conftest.$ac_ext <<_ACEOF
18312 /* confdefs.h. */
18313 _ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 main () {
18318 /* Are we little or big endian? From Harbison&Steele. */
18319 union
18320 {
18321 long l;
18322 char c[sizeof (long)];
18323 } u;
18324 u.l = 1;
18325 exit (u.c[sizeof (long) - 1] == 1);
18326 }
18327 _ACEOF
18328 rm -f conftest$ac_exeext
18329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18330 (eval $ac_link) 2>&5
18331 ac_status=$?
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 ac_cv_c_bigendian=no
18340 else
18341 echo "$as_me: program exited with status $ac_status" >&5
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ( exit $ac_status )
18346 ac_cv_c_bigendian=yes
18347 fi
18348 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18349 fi
18350 fi
18351 fi
18352 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
18353 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
18354 if test $ac_cv_c_bigendian = unknown; then
18355 { 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
18356 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;}
18357 fi
18358 if test $ac_cv_c_bigendian = yes; then
18359 cat >>confdefs.h <<\_ACEOF
18360 #define WORDS_BIGENDIAN 1
18361 _ACEOF
18362
18363 fi
18364
18365
18366 ac_ext=cc
18367 ac_cpp='$CXXCPP $CPPFLAGS'
18368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
18372 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
18373 if test -z "$CXXCPP"; then
18374 if test "${ac_cv_prog_CXXCPP+set}" = set; then
18375 echo $ECHO_N "(cached) $ECHO_C" >&6
18376 else
18377 # Double quotes because CXXCPP needs to be expanded
18378 for CXXCPP in "$CXX -E" "/lib/cpp"
18379 do
18380 ac_preproc_ok=false
18381 for ac_cxx_preproc_warn_flag in '' yes
18382 do
18383 # Use a header file that comes with gcc, so configuring glibc
18384 # with a fresh cross-compiler works.
18385 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18386 # <limits.h> exists even on freestanding compilers.
18387 # On the NeXT, cc -E runs the code through the compiler's parser,
18388 # not just through cpp. "Syntax error" is here to catch this case.
18389 cat >conftest.$ac_ext <<_ACEOF
18390 /* confdefs.h. */
18391 _ACEOF
18392 cat confdefs.h >>conftest.$ac_ext
18393 cat >>conftest.$ac_ext <<_ACEOF
18394 /* end confdefs.h. */
18395 #ifdef __STDC__
18396 # include <limits.h>
18397 #else
18398 # include <assert.h>
18399 #endif
18400 Syntax error
18401 _ACEOF
18402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18404 ac_status=$?
18405 grep -v '^ *+' conftest.er1 >conftest.err
18406 rm -f conftest.er1
18407 cat conftest.err >&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } >/dev/null; then
18410 if test -s conftest.err; then
18411 ac_cpp_err=$ac_cxx_preproc_warn_flag
18412 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18413 else
18414 ac_cpp_err=
18415 fi
18416 else
18417 ac_cpp_err=yes
18418 fi
18419 if test -z "$ac_cpp_err"; then
18420 :
18421 else
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18424
18425 # Broken: fails on valid input.
18426 continue
18427 fi
18428 rm -f conftest.err conftest.$ac_ext
18429
18430 # OK, works on sane cases. Now check whether non-existent headers
18431 # can be detected and how.
18432 cat >conftest.$ac_ext <<_ACEOF
18433 /* confdefs.h. */
18434 _ACEOF
18435 cat confdefs.h >>conftest.$ac_ext
18436 cat >>conftest.$ac_ext <<_ACEOF
18437 /* end confdefs.h. */
18438 #include <ac_nonexistent.h>
18439 _ACEOF
18440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18442 ac_status=$?
18443 grep -v '^ *+' conftest.er1 >conftest.err
18444 rm -f conftest.er1
18445 cat conftest.err >&5
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); } >/dev/null; then
18448 if test -s conftest.err; then
18449 ac_cpp_err=$ac_cxx_preproc_warn_flag
18450 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18451 else
18452 ac_cpp_err=
18453 fi
18454 else
18455 ac_cpp_err=yes
18456 fi
18457 if test -z "$ac_cpp_err"; then
18458 # Broken: success on invalid input.
18459 continue
18460 else
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18463
18464 # Passes both tests.
18465 ac_preproc_ok=:
18466 break
18467 fi
18468 rm -f conftest.err conftest.$ac_ext
18469
18470 done
18471 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18472 rm -f conftest.err conftest.$ac_ext
18473 if $ac_preproc_ok; then
18474 break
18475 fi
18476
18477 done
18478 ac_cv_prog_CXXCPP=$CXXCPP
18479
18480 fi
18481 CXXCPP=$ac_cv_prog_CXXCPP
18482 else
18483 ac_cv_prog_CXXCPP=$CXXCPP
18484 fi
18485 echo "$as_me:$LINENO: result: $CXXCPP" >&5
18486 echo "${ECHO_T}$CXXCPP" >&6
18487 ac_preproc_ok=false
18488 for ac_cxx_preproc_warn_flag in '' yes
18489 do
18490 # Use a header file that comes with gcc, so configuring glibc
18491 # with a fresh cross-compiler works.
18492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18493 # <limits.h> exists even on freestanding compilers.
18494 # On the NeXT, cc -E runs the code through the compiler's parser,
18495 # not just through cpp. "Syntax error" is here to catch this case.
18496 cat >conftest.$ac_ext <<_ACEOF
18497 /* confdefs.h. */
18498 _ACEOF
18499 cat confdefs.h >>conftest.$ac_ext
18500 cat >>conftest.$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 #ifdef __STDC__
18503 # include <limits.h>
18504 #else
18505 # include <assert.h>
18506 #endif
18507 Syntax error
18508 _ACEOF
18509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18511 ac_status=$?
18512 grep -v '^ *+' conftest.er1 >conftest.err
18513 rm -f conftest.er1
18514 cat conftest.err >&5
18515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516 (exit $ac_status); } >/dev/null; then
18517 if test -s conftest.err; then
18518 ac_cpp_err=$ac_cxx_preproc_warn_flag
18519 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18520 else
18521 ac_cpp_err=
18522 fi
18523 else
18524 ac_cpp_err=yes
18525 fi
18526 if test -z "$ac_cpp_err"; then
18527 :
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18531
18532 # Broken: fails on valid input.
18533 continue
18534 fi
18535 rm -f conftest.err conftest.$ac_ext
18536
18537 # OK, works on sane cases. Now check whether non-existent headers
18538 # can be detected and how.
18539 cat >conftest.$ac_ext <<_ACEOF
18540 /* confdefs.h. */
18541 _ACEOF
18542 cat confdefs.h >>conftest.$ac_ext
18543 cat >>conftest.$ac_ext <<_ACEOF
18544 /* end confdefs.h. */
18545 #include <ac_nonexistent.h>
18546 _ACEOF
18547 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18549 ac_status=$?
18550 grep -v '^ *+' conftest.er1 >conftest.err
18551 rm -f conftest.er1
18552 cat conftest.err >&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } >/dev/null; then
18555 if test -s conftest.err; then
18556 ac_cpp_err=$ac_cxx_preproc_warn_flag
18557 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18558 else
18559 ac_cpp_err=
18560 fi
18561 else
18562 ac_cpp_err=yes
18563 fi
18564 if test -z "$ac_cpp_err"; then
18565 # Broken: success on invalid input.
18566 continue
18567 else
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18570
18571 # Passes both tests.
18572 ac_preproc_ok=:
18573 break
18574 fi
18575 rm -f conftest.err conftest.$ac_ext
18576
18577 done
18578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18579 rm -f conftest.err conftest.$ac_ext
18580 if $ac_preproc_ok; then
18581 :
18582 else
18583 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18584 See \`config.log' for more details." >&5
18585 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
18586 See \`config.log' for more details." >&2;}
18587 { (exit 1); exit 1; }; }
18588 fi
18589
18590 ac_ext=cc
18591 ac_cpp='$CXXCPP $CPPFLAGS'
18592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18595
18596
18597
18598 if test "$cross_compiling" = "yes"; then
18599 cat >>confdefs.h <<\_ACEOF
18600 #define wxUSE_IOSTREAMH 1
18601 _ACEOF
18602
18603 else
18604
18605
18606 ac_ext=cc
18607 ac_cpp='$CXXCPP $CPPFLAGS'
18608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18611
18612
18613
18614 for ac_header in iostream
18615 do
18616 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18617 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18618 echo "$as_me:$LINENO: checking for $ac_header" >&5
18619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18621 echo $ECHO_N "(cached) $ECHO_C" >&6
18622 fi
18623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18625 else
18626 # Is the header compilable?
18627 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18628 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18629 cat >conftest.$ac_ext <<_ACEOF
18630 /* confdefs.h. */
18631 _ACEOF
18632 cat confdefs.h >>conftest.$ac_ext
18633 cat >>conftest.$ac_ext <<_ACEOF
18634 /* end confdefs.h. */
18635 $ac_includes_default
18636 #include <$ac_header>
18637 _ACEOF
18638 rm -f conftest.$ac_objext
18639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18640 (eval $ac_compile) 2>conftest.er1
18641 ac_status=$?
18642 grep -v '^ *+' conftest.er1 >conftest.err
18643 rm -f conftest.er1
18644 cat conftest.err >&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } &&
18647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18649 (eval $ac_try) 2>&5
18650 ac_status=$?
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); }; } &&
18653 { ac_try='test -s conftest.$ac_objext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18656 ac_status=$?
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_header_compiler=yes
18660 else
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 ac_header_compiler=no
18665 fi
18666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18668 echo "${ECHO_T}$ac_header_compiler" >&6
18669
18670 # Is the header present?
18671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18673 cat >conftest.$ac_ext <<_ACEOF
18674 /* confdefs.h. */
18675 _ACEOF
18676 cat confdefs.h >>conftest.$ac_ext
18677 cat >>conftest.$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18679 #include <$ac_header>
18680 _ACEOF
18681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18682 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18683 ac_status=$?
18684 grep -v '^ *+' conftest.er1 >conftest.err
18685 rm -f conftest.er1
18686 cat conftest.err >&5
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); } >/dev/null; then
18689 if test -s conftest.err; then
18690 ac_cpp_err=$ac_cxx_preproc_warn_flag
18691 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18692 else
18693 ac_cpp_err=
18694 fi
18695 else
18696 ac_cpp_err=yes
18697 fi
18698 if test -z "$ac_cpp_err"; then
18699 ac_header_preproc=yes
18700 else
18701 echo "$as_me: failed program was:" >&5
18702 sed 's/^/| /' conftest.$ac_ext >&5
18703
18704 ac_header_preproc=no
18705 fi
18706 rm -f conftest.err conftest.$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18708 echo "${ECHO_T}$ac_header_preproc" >&6
18709
18710 # So? What about this header?
18711 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18712 yes:no: )
18713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18717 ac_header_preproc=yes
18718 ;;
18719 no:yes:* )
18720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18732 (
18733 cat <<\_ASBOX
18734 ## ----------------------------------------- ##
18735 ## Report this to wx-dev@lists.wxwindows.org ##
18736 ## ----------------------------------------- ##
18737 _ASBOX
18738 ) |
18739 sed "s/^/$as_me: WARNING: /" >&2
18740 ;;
18741 esac
18742 echo "$as_me:$LINENO: checking for $ac_header" >&5
18743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18746 else
18747 eval "$as_ac_Header=\$ac_header_preproc"
18748 fi
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18751
18752 fi
18753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18754 cat >>confdefs.h <<_ACEOF
18755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18756 _ACEOF
18757
18758 fi
18759
18760 done
18761
18762
18763 if test "$ac_cv_header_iostream" = "yes" ; then
18764 :
18765 else
18766 cat >>confdefs.h <<\_ACEOF
18767 #define wxUSE_IOSTREAMH 1
18768 _ACEOF
18769
18770 fi
18771
18772 ac_ext=c
18773 ac_cpp='$CPP $CPPFLAGS'
18774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18777
18778 fi
18779
18780
18781
18782 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18783 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18784 if test "${wx_cv_cpp_bool+set}" = set; then
18785 echo $ECHO_N "(cached) $ECHO_C" >&6
18786 else
18787
18788
18789
18790 ac_ext=cc
18791 ac_cpp='$CXXCPP $CPPFLAGS'
18792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18795
18796
18797 cat >conftest.$ac_ext <<_ACEOF
18798 /* confdefs.h. */
18799 _ACEOF
18800 cat confdefs.h >>conftest.$ac_ext
18801 cat >>conftest.$ac_ext <<_ACEOF
18802 /* end confdefs.h. */
18803
18804
18805 int
18806 main ()
18807 {
18808
18809 bool b = true;
18810
18811 return 0;
18812
18813 ;
18814 return 0;
18815 }
18816 _ACEOF
18817 rm -f conftest.$ac_objext
18818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18819 (eval $ac_compile) 2>conftest.er1
18820 ac_status=$?
18821 grep -v '^ *+' conftest.er1 >conftest.err
18822 rm -f conftest.er1
18823 cat conftest.err >&5
18824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18825 (exit $ac_status); } &&
18826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18828 (eval $ac_try) 2>&5
18829 ac_status=$?
18830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18831 (exit $ac_status); }; } &&
18832 { ac_try='test -s conftest.$ac_objext'
18833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18834 (eval $ac_try) 2>&5
18835 ac_status=$?
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); }; }; then
18838
18839 wx_cv_cpp_bool=yes
18840
18841 else
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18844
18845
18846 wx_cv_cpp_bool=no
18847
18848
18849 fi
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18851
18852 ac_ext=c
18853 ac_cpp='$CPP $CPPFLAGS'
18854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18857
18858
18859 fi
18860 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18861 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18862
18863 if test "$wx_cv_cpp_bool" = "yes"; then
18864 cat >>confdefs.h <<\_ACEOF
18865 #define HAVE_BOOL 1
18866 _ACEOF
18867
18868 fi
18869
18870
18871
18872 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18873 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18874 if test "${wx_cv_explicit+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 else
18877
18878
18879
18880 ac_ext=cc
18881 ac_cpp='$CXXCPP $CPPFLAGS'
18882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18885
18886
18887 cat >conftest.$ac_ext <<_ACEOF
18888 /* confdefs.h. */
18889 _ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893
18894 class Foo { public: explicit Foo(int) {} };
18895
18896 int
18897 main ()
18898 {
18899
18900 return 0;
18901
18902 ;
18903 return 0;
18904 }
18905 _ACEOF
18906 rm -f conftest.$ac_objext
18907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908 (eval $ac_compile) 2>conftest.er1
18909 ac_status=$?
18910 grep -v '^ *+' conftest.er1 >conftest.err
18911 rm -f conftest.er1
18912 cat conftest.err >&5
18913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914 (exit $ac_status); } &&
18915 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18917 (eval $ac_try) 2>&5
18918 ac_status=$?
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); }; } &&
18921 { ac_try='test -s conftest.$ac_objext'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18924 ac_status=$?
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; }; then
18927
18928 cat >conftest.$ac_ext <<_ACEOF
18929 /* confdefs.h. */
18930 _ACEOF
18931 cat confdefs.h >>conftest.$ac_ext
18932 cat >>conftest.$ac_ext <<_ACEOF
18933 /* end confdefs.h. */
18934
18935 class Foo { public: explicit Foo(int) {} };
18936 static void TakeFoo(const Foo& foo) { }
18937
18938 int
18939 main ()
18940 {
18941
18942 TakeFoo(17);
18943 return 0;
18944
18945 ;
18946 return 0;
18947 }
18948 _ACEOF
18949 rm -f conftest.$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>conftest.er1
18952 ac_status=$?
18953 grep -v '^ *+' conftest.er1 >conftest.err
18954 rm -f conftest.er1
18955 cat conftest.err >&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); } &&
18958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18961 ac_status=$?
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; } &&
18964 { ac_try='test -s conftest.$ac_objext'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18967 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; }; then
18970 wx_cv_explicit=no
18971 else
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.$ac_ext >&5
18974
18975 wx_cv_explicit=yes
18976
18977 fi
18978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18979
18980 else
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 wx_cv_explicit=no
18985
18986 fi
18987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18988
18989 ac_ext=c
18990 ac_cpp='$CPP $CPPFLAGS'
18991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18994
18995
18996 fi
18997 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18998 echo "${ECHO_T}$wx_cv_explicit" >&6
18999
19000 if test "$wx_cv_explicit" = "yes"; then
19001 cat >>confdefs.h <<\_ACEOF
19002 #define HAVE_EXPLICIT 1
19003 _ACEOF
19004
19005 fi
19006
19007
19008 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
19009 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
19010 if test "${ac_cv_cxx_const_cast+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 else
19013
19014
19015 ac_ext=cc
19016 ac_cpp='$CXXCPP $CPPFLAGS'
19017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19020
19021 cat >conftest.$ac_ext <<_ACEOF
19022 /* confdefs.h. */
19023 _ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027
19028 int
19029 main ()
19030 {
19031 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
19032 ;
19033 return 0;
19034 }
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038 (eval $ac_compile) 2>conftest.er1
19039 ac_status=$?
19040 grep -v '^ *+' conftest.er1 >conftest.err
19041 rm -f conftest.er1
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; } &&
19051 { ac_try='test -s conftest.$ac_objext'
19052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19053 (eval $ac_try) 2>&5
19054 ac_status=$?
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); }; }; then
19057 ac_cv_cxx_const_cast=yes
19058 else
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.$ac_ext >&5
19061
19062 ac_cv_cxx_const_cast=no
19063 fi
19064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19065 ac_ext=c
19066 ac_cpp='$CPP $CPPFLAGS'
19067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19070
19071
19072 fi
19073 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
19074 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
19075 if test "$ac_cv_cxx_const_cast" = yes; then
19076
19077 cat >>confdefs.h <<\_ACEOF
19078 #define HAVE_CONST_CAST
19079 _ACEOF
19080
19081 fi
19082
19083 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
19084 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
19085 if test "${ac_cv_cxx_static_cast+set}" = set; then
19086 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 else
19088
19089
19090 ac_ext=cc
19091 ac_cpp='$CXXCPP $CPPFLAGS'
19092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19095
19096 cat >conftest.$ac_ext <<_ACEOF
19097 /* confdefs.h. */
19098 _ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19102 #include <typeinfo>
19103 class Base { public : Base () {} virtual void f () = 0; };
19104 class Derived : public Base { public : Derived () {} virtual void f () {} };
19105 int g (Derived&) { return 0; }
19106 int
19107 main ()
19108 {
19109
19110 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 rm -f conftest.$ac_objext
19116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19117 (eval $ac_compile) 2>conftest.er1
19118 ac_status=$?
19119 grep -v '^ *+' conftest.er1 >conftest.err
19120 rm -f conftest.er1
19121 cat conftest.err >&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); } &&
19124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19127 ac_status=$?
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; } &&
19130 { ac_try='test -s conftest.$ac_objext'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19133 ac_status=$?
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; }; then
19136 ac_cv_cxx_static_cast=yes
19137 else
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.$ac_ext >&5
19140
19141 ac_cv_cxx_static_cast=no
19142 fi
19143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19144 ac_ext=c
19145 ac_cpp='$CPP $CPPFLAGS'
19146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149
19150
19151 fi
19152 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
19153 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
19154 if test "$ac_cv_cxx_static_cast" = yes; then
19155
19156 cat >>confdefs.h <<\_ACEOF
19157 #define HAVE_STATIC_CAST
19158 _ACEOF
19159
19160 fi
19161
19162
19163 if test "$wxUSE_STL" = "yes"; then
19164 ac_ext=cc
19165 ac_cpp='$CXXCPP $CPPFLAGS'
19166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19169
19170
19171 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
19172 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 #include <string>
19180 #include <functional>
19181 #include <algorithm>
19182 #include <vector>
19183 #include <list>
19184 int
19185 main ()
19186 {
19187 std::vector<int> moo;
19188 std::list<int> foo;
19189 std::vector<int>::iterator it =
19190 std::find_if(moo.begin(), moo.end(),
19191 std::bind2nd(std::less<int>(), 3));
19192 ;
19193 return 0;
19194 }
19195 _ACEOF
19196 rm -f conftest.$ac_objext
19197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19198 (eval $ac_compile) 2>conftest.er1
19199 ac_status=$?
19200 grep -v '^ *+' conftest.er1 >conftest.err
19201 rm -f conftest.er1
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } &&
19205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19207 (eval $ac_try) 2>&5
19208 ac_status=$?
19209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19210 (exit $ac_status); }; } &&
19211 { ac_try='test -s conftest.$ac_objext'
19212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213 (eval $ac_try) 2>&5
19214 ac_status=$?
19215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216 (exit $ac_status); }; }; then
19217 echo "$as_me:$LINENO: result: yes" >&5
19218 echo "${ECHO_T}yes" >&6
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19222
19223 echo "$as_me:$LINENO: result: no" >&5
19224 echo "${ECHO_T}no" >&6
19225 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
19226 echo "$as_me: error: Basic STL functionality missing" >&2;}
19227 { (exit 1); exit 1; }; }
19228 fi
19229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19230
19231 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
19232 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 #include <string>
19240 int
19241 main ()
19242 {
19243 std::wstring foo;
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 rm -f conftest.$ac_objext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19250 (eval $ac_compile) 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19260 ac_status=$?
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest.$ac_objext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 echo "$as_me:$LINENO: result: yes" >&5
19270 echo "${ECHO_T}yes" >&6
19271 cat >>confdefs.h <<\_ACEOF
19272 #define HAVE_STD_WSTRING 1
19273 _ACEOF
19274
19275 else
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279 echo "$as_me:$LINENO: result: no" >&5
19280 echo "${ECHO_T}no" >&6
19281 fi
19282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19283
19284 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
19285 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
19286 cat >conftest.$ac_ext <<_ACEOF
19287 /* confdefs.h. */
19288 _ACEOF
19289 cat confdefs.h >>conftest.$ac_ext
19290 cat >>conftest.$ac_ext <<_ACEOF
19291 /* end confdefs.h. */
19292 #include <string>
19293 int
19294 main ()
19295 {
19296 std::string foo, bar;
19297 foo.compare(bar);
19298 foo.compare(1, 1, bar);
19299 foo.compare(1, 1, bar, 1, 1);
19300 foo.compare("");
19301 foo.compare(1, 1, "");
19302 foo.compare(1, 1, "", 2);
19303 ;
19304 return 0;
19305 }
19306 _ACEOF
19307 rm -f conftest.$ac_objext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19309 (eval $ac_compile) 2>conftest.er1
19310 ac_status=$?
19311 grep -v '^ *+' conftest.er1 >conftest.err
19312 rm -f conftest.er1
19313 cat conftest.err >&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); } &&
19316 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 (eval $ac_try) 2>&5
19319 ac_status=$?
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); }; } &&
19322 { ac_try='test -s conftest.$ac_objext'
19323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19324 (eval $ac_try) 2>&5
19325 ac_status=$?
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); }; }; then
19328 echo "$as_me:$LINENO: result: yes" >&5
19329 echo "${ECHO_T}yes" >&6
19330 cat >>confdefs.h <<\_ACEOF
19331 #define HAVE_STD_STRING_COMPARE 1
19332 _ACEOF
19333
19334 else
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19337
19338 echo "$as_me:$LINENO: result: no" >&5
19339 echo "${ECHO_T}no" >&6
19340 fi
19341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19342
19343 ac_ext=c
19344 ac_cpp='$CPP $CPPFLAGS'
19345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19348
19349 fi
19350
19351
19352 SEARCH_INCLUDE="\
19353 /usr/local/include \
19354 \
19355 /usr/Motif-2.1/include \
19356 /usr/Motif-1.2/include \
19357 /usr/include/Motif1.2 \
19358 /opt/xpm/include/X11 \
19359 /opt/GBxpm/include/ \
19360 /opt/GBxpm/X11/include/ \
19361 \
19362 /usr/dt/include \
19363 /usr/openwin/include \
19364 \
19365 /usr/include/Xm \
19366 \
19367 /usr/X11R6/include \
19368 /usr/X11R6.4/include \
19369 /usr/X11R5/include \
19370 /usr/X11R4/include \
19371 \
19372 /usr/include/X11R6 \
19373 /usr/include/X11R5 \
19374 /usr/include/X11R4 \
19375 \
19376 /usr/local/X11R6/include \
19377 /usr/local/X11R5/include \
19378 /usr/local/X11R4/include \
19379 \
19380 /usr/local/include/X11R6 \
19381 /usr/local/include/X11R5 \
19382 /usr/local/include/X11R4 \
19383 \
19384 /usr/X11/include \
19385 /usr/include/X11 \
19386 /usr/local/X11/include \
19387 /usr/local/include/X11 \
19388 \
19389 /usr/X386/include \
19390 /usr/x386/include \
19391 /usr/XFree86/include/X11 \
19392 \
19393 X:/XFree86/include \
19394 X:/XFree86/include/X11 \
19395 \
19396 /usr/include/gtk \
19397 /usr/local/include/gtk \
19398 /usr/include/glib \
19399 /usr/local/include/glib \
19400 \
19401 /usr/include/qt \
19402 /usr/local/include/qt \
19403 \
19404 /usr/local/arm/3.3.2/include \
19405 \
19406 /usr/include/windows \
19407 /usr/include/wine \
19408 /usr/local/include/wine \
19409 \
19410 /usr/unsupported/include \
19411 /usr/athena/include \
19412 /usr/local/x11r5/include \
19413 /usr/lpp/Xamples/include \
19414 \
19415 /usr/openwin/share/include"
19416
19417 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
19418
19419
19420 cat >confcache <<\_ACEOF
19421 # This file is a shell script that caches the results of configure
19422 # tests run on this system so they can be shared between configure
19423 # scripts and configure runs, see configure's option --config-cache.
19424 # It is not useful on other systems. If it contains results you don't
19425 # want to keep, you may remove or edit it.
19426 #
19427 # config.status only pays attention to the cache file if you give it
19428 # the --recheck option to rerun configure.
19429 #
19430 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19431 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19432 # following values.
19433
19434 _ACEOF
19435
19436 # The following way of writing the cache mishandles newlines in values,
19437 # but we know of no workaround that is simple, portable, and efficient.
19438 # So, don't put newlines in cache variables' values.
19439 # Ultrix sh set writes to stderr and can't be redirected directly,
19440 # and sets the high bit in the cache file unless we assign to the vars.
19441 {
19442 (set) 2>&1 |
19443 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19444 *ac_space=\ *)
19445 # `set' does not quote correctly, so add quotes (double-quote
19446 # substitution turns \\\\ into \\, and sed turns \\ into \).
19447 sed -n \
19448 "s/'/'\\\\''/g;
19449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19450 ;;
19451 *)
19452 # `set' quotes correctly as required by POSIX, so do not add quotes.
19453 sed -n \
19454 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19455 ;;
19456 esac;
19457 } |
19458 sed '
19459 t clear
19460 : clear
19461 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19462 t end
19463 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19464 : end' >>confcache
19465 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19466 if test -w $cache_file; then
19467 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19468 cat confcache >$cache_file
19469 else
19470 echo "not updating unwritable cache $cache_file"
19471 fi
19472 fi
19473 rm -f confcache
19474
19475 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19476 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19477 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19478 if test "${wx_cv_lib_glibc21+set}" = set; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19480 else
19481
19482 cat >conftest.$ac_ext <<_ACEOF
19483 /* confdefs.h. */
19484 _ACEOF
19485 cat confdefs.h >>conftest.$ac_ext
19486 cat >>conftest.$ac_ext <<_ACEOF
19487 /* end confdefs.h. */
19488 #include <features.h>
19489 int
19490 main ()
19491 {
19492
19493 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19494 #error not glibc2.1
19495 #endif
19496
19497 ;
19498 return 0;
19499 }
19500 _ACEOF
19501 rm -f conftest.$ac_objext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19503 (eval $ac_compile) 2>conftest.er1
19504 ac_status=$?
19505 grep -v '^ *+' conftest.er1 >conftest.err
19506 rm -f conftest.er1
19507 cat conftest.err >&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; } &&
19516 { ac_try='test -s conftest.$ac_objext'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19522
19523 wx_cv_lib_glibc21=yes
19524
19525 else
19526 echo "$as_me: failed program was:" >&5
19527 sed 's/^/| /' conftest.$ac_ext >&5
19528
19529
19530 wx_cv_lib_glibc21=no
19531
19532
19533 fi
19534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19535
19536 fi
19537 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19538 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19539 if test "$wx_cv_lib_glibc21" = "yes"; then
19540 cat >>confdefs.h <<\_ACEOF
19541 #define wxHAVE_GLIBC2 1
19542 _ACEOF
19543
19544 fi
19545 fi
19546
19547 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19548 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19549 cat >>confdefs.h <<\_ACEOF
19550 #define _GNU_SOURCE 1
19551 _ACEOF
19552
19553 fi
19554 fi
19555
19556
19557
19558 if test "$wxUSE_REGEX" != "no"; then
19559 cat >>confdefs.h <<\_ACEOF
19560 #define wxUSE_REGEX 1
19561 _ACEOF
19562
19563
19564 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19565 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19566 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19567 wxUSE_REGEX=builtin
19568 fi
19569
19570 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19571 if test "${ac_cv_header_regex_h+set}" = set; then
19572 echo "$as_me:$LINENO: checking for regex.h" >&5
19573 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19574 if test "${ac_cv_header_regex_h+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 fi
19577 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19578 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19579 else
19580 # Is the header compilable?
19581 echo "$as_me:$LINENO: checking regex.h usability" >&5
19582 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19583 cat >conftest.$ac_ext <<_ACEOF
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 $ac_includes_default
19590 #include <regex.h>
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19595 ac_status=$?
19596 grep -v '^ *+' conftest.er1 >conftest.err
19597 rm -f conftest.er1
19598 cat conftest.err >&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19604 ac_status=$?
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_header_compiler=yes
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618 ac_header_compiler=no
19619 fi
19620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19622 echo "${ECHO_T}$ac_header_compiler" >&6
19623
19624 # Is the header present?
19625 echo "$as_me:$LINENO: checking regex.h presence" >&5
19626 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #include <regex.h>
19634 _ACEOF
19635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19636 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19637 ac_status=$?
19638 grep -v '^ *+' conftest.er1 >conftest.err
19639 rm -f conftest.er1
19640 cat conftest.err >&5
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); } >/dev/null; then
19643 if test -s conftest.err; then
19644 ac_cpp_err=$ac_c_preproc_warn_flag
19645 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19646 else
19647 ac_cpp_err=
19648 fi
19649 else
19650 ac_cpp_err=yes
19651 fi
19652 if test -z "$ac_cpp_err"; then
19653 ac_header_preproc=yes
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19657
19658 ac_header_preproc=no
19659 fi
19660 rm -f conftest.err conftest.$ac_ext
19661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19662 echo "${ECHO_T}$ac_header_preproc" >&6
19663
19664 # So? What about this header?
19665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19666 yes:no: )
19667 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19668 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19669 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
19670 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
19671 ac_header_preproc=yes
19672 ;;
19673 no:yes:* )
19674 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19675 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19676 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19677 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19678 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
19679 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
19680 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
19681 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
19682 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19683 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19684 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
19685 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
19686 (
19687 cat <<\_ASBOX
19688 ## ----------------------------------------- ##
19689 ## Report this to wx-dev@lists.wxwindows.org ##
19690 ## ----------------------------------------- ##
19691 _ASBOX
19692 ) |
19693 sed "s/^/$as_me: WARNING: /" >&2
19694 ;;
19695 esac
19696 echo "$as_me:$LINENO: checking for regex.h" >&5
19697 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19698 if test "${ac_cv_header_regex_h+set}" = set; then
19699 echo $ECHO_N "(cached) $ECHO_C" >&6
19700 else
19701 ac_cv_header_regex_h=$ac_header_preproc
19702 fi
19703 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19704 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19705
19706 fi
19707 if test $ac_cv_header_regex_h = yes; then
19708
19709 for ac_func in regcomp
19710 do
19711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19712 echo "$as_me:$LINENO: checking for $ac_func" >&5
19713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19714 if eval "test \"\${$as_ac_var+set}\" = set"; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19725 #define $ac_func innocuous_$ac_func
19726
19727 /* System header to define __stub macros and hopefully few prototypes,
19728 which can conflict with char $ac_func (); below.
19729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19730 <limits.h> exists even on freestanding compilers. */
19731
19732 #ifdef __STDC__
19733 # include <limits.h>
19734 #else
19735 # include <assert.h>
19736 #endif
19737
19738 #undef $ac_func
19739
19740 /* Override any gcc2 internal prototype to avoid an error. */
19741 #ifdef __cplusplus
19742 extern "C"
19743 {
19744 #endif
19745 /* We use char because int might match the return type of a gcc2
19746 builtin and then its argument prototype would still apply. */
19747 char $ac_func ();
19748 /* The GNU C library defines this for functions which it implements
19749 to always fail with ENOSYS. Some functions are actually named
19750 something starting with __ and the normal name is an alias. */
19751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19752 choke me
19753 #else
19754 char (*f) () = $ac_func;
19755 #endif
19756 #ifdef __cplusplus
19757 }
19758 #endif
19759
19760 int
19761 main ()
19762 {
19763 return f != $ac_func;
19764 ;
19765 return 0;
19766 }
19767 _ACEOF
19768 rm -f conftest.$ac_objext conftest$ac_exeext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19770 (eval $ac_link) 2>conftest.er1
19771 ac_status=$?
19772 grep -v '^ *+' conftest.er1 >conftest.err
19773 rm -f conftest.er1
19774 cat conftest.err >&5
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); } &&
19777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19780 ac_status=$?
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; } &&
19783 { ac_try='test -s conftest$ac_exeext'
19784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19785 (eval $ac_try) 2>&5
19786 ac_status=$?
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); }; }; then
19789 eval "$as_ac_var=yes"
19790 else
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.$ac_ext >&5
19793
19794 eval "$as_ac_var=no"
19795 fi
19796 rm -f conftest.err conftest.$ac_objext \
19797 conftest$ac_exeext conftest.$ac_ext
19798 fi
19799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19801 if test `eval echo '${'$as_ac_var'}'` = yes; then
19802 cat >>confdefs.h <<_ACEOF
19803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19804 _ACEOF
19805
19806 fi
19807 done
19808
19809 fi
19810
19811
19812
19813 if test "x$ac_cv_func_regcomp" != "xyes"; then
19814 if test "$wxUSE_REGEX" = "sys" ; then
19815 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19816 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19817 { (exit 1); exit 1; }; }
19818 else
19819 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19820 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19821 wxUSE_REGEX=builtin
19822 fi
19823 else
19824 wxUSE_REGEX=sys
19825 cat >>confdefs.h <<\_ACEOF
19826 #define WX_NO_REGEX_ADVANCED 1
19827 _ACEOF
19828
19829 fi
19830 fi
19831 fi
19832
19833
19834 ZLIB_LINK=
19835 if test "$wxUSE_ZLIB" != "no" ; then
19836 cat >>confdefs.h <<\_ACEOF
19837 #define wxUSE_ZLIB 1
19838 _ACEOF
19839
19840
19841 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19842 if test "$USE_DARWIN" = 1; then
19843 system_zlib_h_ok="yes"
19844 else
19845 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19846 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19847 if test "${ac_cv_header_zlib_h+set}" = set; then
19848 echo $ECHO_N "(cached) $ECHO_C" >&6
19849 else
19850 if test "$cross_compiling" = yes; then
19851 unset ac_cv_header_zlib_h
19852
19853 else
19854 cat >conftest.$ac_ext <<_ACEOF
19855 /* confdefs.h. */
19856 _ACEOF
19857 cat confdefs.h >>conftest.$ac_ext
19858 cat >>conftest.$ac_ext <<_ACEOF
19859 /* end confdefs.h. */
19860
19861 #include <zlib.h>
19862 #include <stdio.h>
19863
19864 int main()
19865 {
19866 FILE *f=fopen("conftestval", "w");
19867 if (!f) exit(1);
19868 fprintf(f, "%s",
19869 ZLIB_VERSION[0] == '1' &&
19870 (ZLIB_VERSION[2] > '1' ||
19871 (ZLIB_VERSION[2] == '1' &&
19872 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19873 exit(0);
19874 }
19875
19876 _ACEOF
19877 rm -f conftest$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879 (eval $ac_link) 2>&5
19880 ac_status=$?
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19884 (eval $ac_try) 2>&5
19885 ac_status=$?
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_cv_header_zlib_h=`cat conftestval`
19889 else
19890 echo "$as_me: program exited with status $ac_status" >&5
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19893
19894 ( exit $ac_status )
19895 ac_cv_header_zlib_h=no
19896 fi
19897 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19898 fi
19899
19900 fi
19901 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19902 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19903 if test "${ac_cv_header_zlib_h+set}" = set; then
19904 echo "$as_me:$LINENO: checking for zlib.h" >&5
19905 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19906 if test "${ac_cv_header_zlib_h+set}" = set; then
19907 echo $ECHO_N "(cached) $ECHO_C" >&6
19908 fi
19909 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19910 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19911 else
19912 # Is the header compilable?
19913 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19914 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 $ac_includes_default
19922 #include <zlib.h>
19923 _ACEOF
19924 rm -f conftest.$ac_objext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19926 (eval $ac_compile) 2>conftest.er1
19927 ac_status=$?
19928 grep -v '^ *+' conftest.er1 >conftest.err
19929 rm -f conftest.er1
19930 cat conftest.err >&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19936 ac_status=$?
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; } &&
19939 { ac_try='test -s conftest.$ac_objext'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; }; then
19945 ac_header_compiler=yes
19946 else
19947 echo "$as_me: failed program was:" >&5
19948 sed 's/^/| /' conftest.$ac_ext >&5
19949
19950 ac_header_compiler=no
19951 fi
19952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19954 echo "${ECHO_T}$ac_header_compiler" >&6
19955
19956 # Is the header present?
19957 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19958 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 #include <zlib.h>
19966 _ACEOF
19967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } >/dev/null; then
19975 if test -s conftest.err; then
19976 ac_cpp_err=$ac_c_preproc_warn_flag
19977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19978 else
19979 ac_cpp_err=
19980 fi
19981 else
19982 ac_cpp_err=yes
19983 fi
19984 if test -z "$ac_cpp_err"; then
19985 ac_header_preproc=yes
19986 else
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.$ac_ext >&5
19989
19990 ac_header_preproc=no
19991 fi
19992 rm -f conftest.err conftest.$ac_ext
19993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19994 echo "${ECHO_T}$ac_header_preproc" >&6
19995
19996 # So? What about this header?
19997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19998 yes:no: )
19999 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
20000 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
20002 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
20003 ac_header_preproc=yes
20004 ;;
20005 no:yes:* )
20006 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
20007 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
20008 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
20009 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
20010 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
20011 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
20012 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
20013 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
20014 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
20015 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
20016 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
20017 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
20018 (
20019 cat <<\_ASBOX
20020 ## ----------------------------------------- ##
20021 ## Report this to wx-dev@lists.wxwindows.org ##
20022 ## ----------------------------------------- ##
20023 _ASBOX
20024 ) |
20025 sed "s/^/$as_me: WARNING: /" >&2
20026 ;;
20027 esac
20028 echo "$as_me:$LINENO: checking for zlib.h" >&5
20029 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
20030 if test "${ac_cv_header_zlib_h+set}" = set; then
20031 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 else
20033 ac_cv_header_zlib_h=$ac_header_preproc
20034 fi
20035 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
20036 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
20037
20038 fi
20039
20040
20041
20042 system_zlib_h_ok=$ac_cv_header_zlib_h
20043 fi
20044
20045 if test "$system_zlib_h_ok" = "yes"; then
20046 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20047 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20048 if test "${ac_cv_lib_z_deflate+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20051 ac_check_lib_save_LIBS=$LIBS
20052 LIBS="-lz $LIBS"
20053 cat >conftest.$ac_ext <<_ACEOF
20054 /* confdefs.h. */
20055 _ACEOF
20056 cat confdefs.h >>conftest.$ac_ext
20057 cat >>conftest.$ac_ext <<_ACEOF
20058 /* end confdefs.h. */
20059
20060 /* Override any gcc2 internal prototype to avoid an error. */
20061 #ifdef __cplusplus
20062 extern "C"
20063 #endif
20064 /* We use char because int might match the return type of a gcc2
20065 builtin and then its argument prototype would still apply. */
20066 char deflate ();
20067 int
20068 main ()
20069 {
20070 deflate ();
20071 ;
20072 return 0;
20073 }
20074 _ACEOF
20075 rm -f conftest.$ac_objext conftest$ac_exeext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20077 (eval $ac_link) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20087 ac_status=$?
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; } &&
20090 { ac_try='test -s conftest$ac_exeext'
20091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20092 (eval $ac_try) 2>&5
20093 ac_status=$?
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); }; }; then
20096 ac_cv_lib_z_deflate=yes
20097 else
20098 echo "$as_me: failed program was:" >&5
20099 sed 's/^/| /' conftest.$ac_ext >&5
20100
20101 ac_cv_lib_z_deflate=no
20102 fi
20103 rm -f conftest.err conftest.$ac_objext \
20104 conftest$ac_exeext conftest.$ac_ext
20105 LIBS=$ac_check_lib_save_LIBS
20106 fi
20107 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20108 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20109 if test $ac_cv_lib_z_deflate = yes; then
20110 ZLIB_LINK=" -lz"
20111 fi
20112
20113 fi
20114
20115 if test "x$ZLIB_LINK" = "x" ; then
20116 if test "$wxUSE_ZLIB" = "sys" ; then
20117 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
20118 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
20119 { (exit 1); exit 1; }; }
20120 else
20121 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
20122 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
20123 wxUSE_ZLIB=builtin
20124 fi
20125 else
20126 wxUSE_ZLIB=sys
20127 fi
20128 fi
20129 fi
20130
20131
20132 PNG_LINK=
20133 if test "$wxUSE_LIBPNG" != "no" ; then
20134 cat >>confdefs.h <<\_ACEOF
20135 #define wxUSE_LIBPNG 1
20136 _ACEOF
20137
20138
20139 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
20140 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
20141 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
20142 wxUSE_LIBPNG=sys
20143 fi
20144
20145 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
20146 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
20147 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
20148 wxUSE_LIBPNG=builtin
20149 fi
20150
20151 if test "$wxUSE_MGL" != 1 ; then
20152 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
20153 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
20154 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
20155 if test "${ac_cv_header_png_h+set}" = set; then
20156 echo $ECHO_N "(cached) $ECHO_C" >&6
20157 else
20158 if test "$cross_compiling" = yes; then
20159 unset ac_cv_header_png_h
20160
20161 else
20162 cat >conftest.$ac_ext <<_ACEOF
20163 /* confdefs.h. */
20164 _ACEOF
20165 cat confdefs.h >>conftest.$ac_ext
20166 cat >>conftest.$ac_ext <<_ACEOF
20167 /* end confdefs.h. */
20168
20169 #include <png.h>
20170 #include <stdio.h>
20171
20172 int main()
20173 {
20174 FILE *f=fopen("conftestval", "w");
20175 if (!f) exit(1);
20176 fprintf(f, "%s",
20177 PNG_LIBPNG_VER > 90 ? "yes" : "no");
20178 exit(0);
20179 }
20180
20181 _ACEOF
20182 rm -f conftest$ac_exeext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20184 (eval $ac_link) 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20189 (eval $ac_try) 2>&5
20190 ac_status=$?
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); }; }; then
20193 ac_cv_header_png_h=`cat conftestval`
20194 else
20195 echo "$as_me: program exited with status $ac_status" >&5
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20198
20199 ( exit $ac_status )
20200 ac_cv_header_png_h=no
20201 fi
20202 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20203 fi
20204
20205 fi
20206 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20207 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20208 if test "${ac_cv_header_png_h+set}" = set; then
20209 echo "$as_me:$LINENO: checking for png.h" >&5
20210 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20211 if test "${ac_cv_header_png_h+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 fi
20214 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20215 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20216 else
20217 # Is the header compilable?
20218 echo "$as_me:$LINENO: checking png.h usability" >&5
20219 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
20220 cat >conftest.$ac_ext <<_ACEOF
20221 /* confdefs.h. */
20222 _ACEOF
20223 cat confdefs.h >>conftest.$ac_ext
20224 cat >>conftest.$ac_ext <<_ACEOF
20225 /* end confdefs.h. */
20226 $ac_includes_default
20227 #include <png.h>
20228 _ACEOF
20229 rm -f conftest.$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20232 ac_status=$?
20233 grep -v '^ *+' conftest.er1 >conftest.err
20234 rm -f conftest.er1
20235 cat conftest.err >&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20240 (eval $ac_try) 2>&5
20241 ac_status=$?
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); }; } &&
20244 { ac_try='test -s conftest.$ac_objext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20247 ac_status=$?
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 ac_header_compiler=yes
20251 else
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20254
20255 ac_header_compiler=no
20256 fi
20257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20259 echo "${ECHO_T}$ac_header_compiler" >&6
20260
20261 # Is the header present?
20262 echo "$as_me:$LINENO: checking png.h presence" >&5
20263 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 #include <png.h>
20271 _ACEOF
20272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20274 ac_status=$?
20275 grep -v '^ *+' conftest.er1 >conftest.err
20276 rm -f conftest.er1
20277 cat conftest.err >&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); } >/dev/null; then
20280 if test -s conftest.err; then
20281 ac_cpp_err=$ac_c_preproc_warn_flag
20282 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20283 else
20284 ac_cpp_err=
20285 fi
20286 else
20287 ac_cpp_err=yes
20288 fi
20289 if test -z "$ac_cpp_err"; then
20290 ac_header_preproc=yes
20291 else
20292 echo "$as_me: failed program was:" >&5
20293 sed 's/^/| /' conftest.$ac_ext >&5
20294
20295 ac_header_preproc=no
20296 fi
20297 rm -f conftest.err conftest.$ac_ext
20298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20299 echo "${ECHO_T}$ac_header_preproc" >&6
20300
20301 # So? What about this header?
20302 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20303 yes:no: )
20304 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
20305 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20306 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
20307 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
20308 ac_header_preproc=yes
20309 ;;
20310 no:yes:* )
20311 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
20312 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
20313 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
20314 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
20315 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
20316 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
20317 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
20318 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
20319 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
20320 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
20321 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
20322 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
20323 (
20324 cat <<\_ASBOX
20325 ## ----------------------------------------- ##
20326 ## Report this to wx-dev@lists.wxwindows.org ##
20327 ## ----------------------------------------- ##
20328 _ASBOX
20329 ) |
20330 sed "s/^/$as_me: WARNING: /" >&2
20331 ;;
20332 esac
20333 echo "$as_me:$LINENO: checking for png.h" >&5
20334 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
20335 if test "${ac_cv_header_png_h+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 else
20338 ac_cv_header_png_h=$ac_header_preproc
20339 fi
20340 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
20341 echo "${ECHO_T}$ac_cv_header_png_h" >&6
20342
20343 fi
20344
20345
20346
20347 if test "$ac_cv_header_png_h" = "yes"; then
20348 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
20349 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
20350 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 else
20353 ac_check_lib_save_LIBS=$LIBS
20354 LIBS="-lpng -lz -lm $LIBS"
20355 cat >conftest.$ac_ext <<_ACEOF
20356 /* confdefs.h. */
20357 _ACEOF
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20361
20362 /* Override any gcc2 internal prototype to avoid an error. */
20363 #ifdef __cplusplus
20364 extern "C"
20365 #endif
20366 /* We use char because int might match the return type of a gcc2
20367 builtin and then its argument prototype would still apply. */
20368 char png_check_sig ();
20369 int
20370 main ()
20371 {
20372 png_check_sig ();
20373 ;
20374 return 0;
20375 }
20376 _ACEOF
20377 rm -f conftest.$ac_objext conftest$ac_exeext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20379 (eval $ac_link) 2>conftest.er1
20380 ac_status=$?
20381 grep -v '^ *+' conftest.er1 >conftest.err
20382 rm -f conftest.er1
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; } &&
20392 { ac_try='test -s conftest$ac_exeext'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20395 ac_status=$?
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; }; then
20398 ac_cv_lib_png_png_check_sig=yes
20399 else
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20402
20403 ac_cv_lib_png_png_check_sig=no
20404 fi
20405 rm -f conftest.err conftest.$ac_objext \
20406 conftest$ac_exeext conftest.$ac_ext
20407 LIBS=$ac_check_lib_save_LIBS
20408 fi
20409 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
20410 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
20411 if test $ac_cv_lib_png_png_check_sig = yes; then
20412 PNG_LINK=" -lpng -lz"
20413 fi
20414
20415 fi
20416
20417 if test "x$PNG_LINK" = "x" ; then
20418 if test "$wxUSE_LIBPNG" = "sys" ; then
20419 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
20420 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
20421 { (exit 1); exit 1; }; }
20422 else
20423 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
20424 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
20425 wxUSE_LIBPNG=builtin
20426 fi
20427 else
20428 wxUSE_LIBPNG=sys
20429 fi
20430 fi
20431 fi
20432
20433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
20434 fi
20435
20436
20437 JPEG_LINK=
20438 if test "$wxUSE_LIBJPEG" != "no" ; then
20439 cat >>confdefs.h <<\_ACEOF
20440 #define wxUSE_LIBJPEG 1
20441 _ACEOF
20442
20443
20444 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
20445 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
20446 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
20447 wxUSE_LIBJPEG=sys
20448 fi
20449
20450 if test "$wxUSE_MGL" != 1 ; then
20451 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
20452 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
20453 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
20454 if test "${ac_cv_header_jpeglib_h+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20456 else
20457 cat >conftest.$ac_ext <<_ACEOF
20458 /* confdefs.h. */
20459 _ACEOF
20460 cat confdefs.h >>conftest.$ac_ext
20461 cat >>conftest.$ac_ext <<_ACEOF
20462 /* end confdefs.h. */
20463
20464 #undef HAVE_STDLIB_H
20465 #include <stdio.h>
20466 #include <jpeglib.h>
20467
20468 int
20469 main ()
20470 {
20471
20472
20473 ;
20474 return 0;
20475 }
20476 _ACEOF
20477 rm -f conftest.$ac_objext
20478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20479 (eval $ac_compile) 2>conftest.er1
20480 ac_status=$?
20481 grep -v '^ *+' conftest.er1 >conftest.err
20482 rm -f conftest.er1
20483 cat conftest.err >&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } &&
20486 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; } &&
20492 { ac_try='test -s conftest.$ac_objext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20495 ac_status=$?
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 ac_cv_header_jpeglib_h=yes
20499 else
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20502
20503 ac_cv_header_jpeglib_h=no
20504
20505 fi
20506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20507
20508 fi
20509
20510 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
20511 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
20512
20513 if test "$ac_cv_header_jpeglib_h" = "yes"; then
20514 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
20515 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20516 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20517 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 else
20519 ac_check_lib_save_LIBS=$LIBS
20520 LIBS="-ljpeg $LIBS"
20521 cat >conftest.$ac_ext <<_ACEOF
20522 /* confdefs.h. */
20523 _ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527
20528 /* Override any gcc2 internal prototype to avoid an error. */
20529 #ifdef __cplusplus
20530 extern "C"
20531 #endif
20532 /* We use char because int might match the return type of a gcc2
20533 builtin and then its argument prototype would still apply. */
20534 char jpeg_read_header ();
20535 int
20536 main ()
20537 {
20538 jpeg_read_header ();
20539 ;
20540 return 0;
20541 }
20542 _ACEOF
20543 rm -f conftest.$ac_objext conftest$ac_exeext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20545 (eval $ac_link) 2>conftest.er1
20546 ac_status=$?
20547 grep -v '^ *+' conftest.er1 >conftest.err
20548 rm -f conftest.er1
20549 cat conftest.err >&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } &&
20552 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5
20555 ac_status=$?
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; } &&
20558 { ac_try='test -s conftest$ac_exeext'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20561 ac_status=$?
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20564 ac_cv_lib_jpeg_jpeg_read_header=yes
20565 else
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20568
20569 ac_cv_lib_jpeg_jpeg_read_header=no
20570 fi
20571 rm -f conftest.err conftest.$ac_objext \
20572 conftest$ac_exeext conftest.$ac_ext
20573 LIBS=$ac_check_lib_save_LIBS
20574 fi
20575 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20576 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20577 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20578 JPEG_LINK=" -ljpeg"
20579 fi
20580
20581 fi
20582
20583 if test "x$JPEG_LINK" = "x" ; then
20584 if test "$wxUSE_LIBJPEG" = "sys" ; then
20585 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20586 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20587 { (exit 1); exit 1; }; }
20588 else
20589 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20590 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20591 wxUSE_LIBJPEG=builtin
20592 fi
20593 else
20594 wxUSE_LIBJPEG=sys
20595 fi
20596 fi
20597 fi
20598 fi
20599
20600
20601 TIFF_LINK=
20602 TIFF_PREREQ_LINKS=-lm
20603 if test "$wxUSE_LIBTIFF" != "no" ; then
20604 cat >>confdefs.h <<\_ACEOF
20605 #define wxUSE_LIBTIFF 1
20606 _ACEOF
20607
20608
20609 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20610 if test "$wxUSE_LIBJPEG" = "sys"; then
20611 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20612 fi
20613 if test "$wxUSE_ZLIB" = "sys"; then
20614 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20615 fi
20616 if test "${ac_cv_header_tiffio_h+set}" = set; then
20617 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20618 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20619 if test "${ac_cv_header_tiffio_h+set}" = set; then
20620 echo $ECHO_N "(cached) $ECHO_C" >&6
20621 fi
20622 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20623 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20624 else
20625 # Is the header compilable?
20626 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20627 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20628 cat >conftest.$ac_ext <<_ACEOF
20629 /* confdefs.h. */
20630 _ACEOF
20631 cat confdefs.h >>conftest.$ac_ext
20632 cat >>conftest.$ac_ext <<_ACEOF
20633 /* end confdefs.h. */
20634 $ac_includes_default
20635 #include <tiffio.h>
20636 _ACEOF
20637 rm -f conftest.$ac_objext
20638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20639 (eval $ac_compile) 2>conftest.er1
20640 ac_status=$?
20641 grep -v '^ *+' conftest.er1 >conftest.err
20642 rm -f conftest.er1
20643 cat conftest.err >&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } &&
20646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; } &&
20652 { ac_try='test -s conftest.$ac_objext'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_header_compiler=yes
20659 else
20660 echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.$ac_ext >&5
20662
20663 ac_header_compiler=no
20664 fi
20665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20667 echo "${ECHO_T}$ac_header_compiler" >&6
20668
20669 # Is the header present?
20670 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20671 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 #include <tiffio.h>
20679 _ACEOF
20680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20682 ac_status=$?
20683 grep -v '^ *+' conftest.er1 >conftest.err
20684 rm -f conftest.er1
20685 cat conftest.err >&5
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); } >/dev/null; then
20688 if test -s conftest.err; then
20689 ac_cpp_err=$ac_c_preproc_warn_flag
20690 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20691 else
20692 ac_cpp_err=
20693 fi
20694 else
20695 ac_cpp_err=yes
20696 fi
20697 if test -z "$ac_cpp_err"; then
20698 ac_header_preproc=yes
20699 else
20700 echo "$as_me: failed program was:" >&5
20701 sed 's/^/| /' conftest.$ac_ext >&5
20702
20703 ac_header_preproc=no
20704 fi
20705 rm -f conftest.err conftest.$ac_ext
20706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20707 echo "${ECHO_T}$ac_header_preproc" >&6
20708
20709 # So? What about this header?
20710 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20711 yes:no: )
20712 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20713 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20714 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
20715 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
20716 ac_header_preproc=yes
20717 ;;
20718 no:yes:* )
20719 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20720 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20721 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20722 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20723 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
20724 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
20725 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
20726 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
20727 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20728 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20729 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
20730 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
20731 (
20732 cat <<\_ASBOX
20733 ## ----------------------------------------- ##
20734 ## Report this to wx-dev@lists.wxwindows.org ##
20735 ## ----------------------------------------- ##
20736 _ASBOX
20737 ) |
20738 sed "s/^/$as_me: WARNING: /" >&2
20739 ;;
20740 esac
20741 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20742 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20743 if test "${ac_cv_header_tiffio_h+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20745 else
20746 ac_cv_header_tiffio_h=$ac_header_preproc
20747 fi
20748 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20749 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20750
20751 fi
20752 if test $ac_cv_header_tiffio_h = yes; then
20753
20754 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20755 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20756 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20757 echo $ECHO_N "(cached) $ECHO_C" >&6
20758 else
20759 ac_check_lib_save_LIBS=$LIBS
20760 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20761 cat >conftest.$ac_ext <<_ACEOF
20762 /* confdefs.h. */
20763 _ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20767
20768 /* Override any gcc2 internal prototype to avoid an error. */
20769 #ifdef __cplusplus
20770 extern "C"
20771 #endif
20772 /* We use char because int might match the return type of a gcc2
20773 builtin and then its argument prototype would still apply. */
20774 char TIFFError ();
20775 int
20776 main ()
20777 {
20778 TIFFError ();
20779 ;
20780 return 0;
20781 }
20782 _ACEOF
20783 rm -f conftest.$ac_objext conftest$ac_exeext
20784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20785 (eval $ac_link) 2>conftest.er1
20786 ac_status=$?
20787 grep -v '^ *+' conftest.er1 >conftest.err
20788 rm -f conftest.er1
20789 cat conftest.err >&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); } &&
20792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20794 (eval $ac_try) 2>&5
20795 ac_status=$?
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); }; } &&
20798 { ac_try='test -s conftest$ac_exeext'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; }; then
20804 ac_cv_lib_tiff_TIFFError=yes
20805 else
20806 echo "$as_me: failed program was:" >&5
20807 sed 's/^/| /' conftest.$ac_ext >&5
20808
20809 ac_cv_lib_tiff_TIFFError=no
20810 fi
20811 rm -f conftest.err conftest.$ac_objext \
20812 conftest$ac_exeext conftest.$ac_ext
20813 LIBS=$ac_check_lib_save_LIBS
20814 fi
20815 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20816 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20817 if test $ac_cv_lib_tiff_TIFFError = yes; then
20818 TIFF_LINK=" -ltiff"
20819 fi
20820
20821
20822
20823 fi
20824
20825
20826
20827 if test "x$TIFF_LINK" = "x" ; then
20828 if test "$wxUSE_LIBTIFF" = "sys" ; then
20829 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20830 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20831 { (exit 1); exit 1; }; }
20832 else
20833 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20834 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20835 wxUSE_LIBTIFF=builtin
20836 fi
20837 else
20838 wxUSE_LIBTIFF=sys
20839 fi
20840 fi
20841 fi
20842
20843
20844 if test "$wxUSE_EXPAT" != "no"; then
20845 wxUSE_XML=yes
20846 cat >>confdefs.h <<\_ACEOF
20847 #define wxUSE_EXPAT 1
20848 _ACEOF
20849
20850 cat >>confdefs.h <<\_ACEOF
20851 #define wxUSE_XML 1
20852 _ACEOF
20853
20854
20855 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20856 if test "${ac_cv_header_expat_h+set}" = set; then
20857 echo "$as_me:$LINENO: checking for expat.h" >&5
20858 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20859 if test "${ac_cv_header_expat_h+set}" = set; then
20860 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 fi
20862 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20863 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20864 else
20865 # Is the header compilable?
20866 echo "$as_me:$LINENO: checking expat.h usability" >&5
20867 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20868 cat >conftest.$ac_ext <<_ACEOF
20869 /* confdefs.h. */
20870 _ACEOF
20871 cat confdefs.h >>conftest.$ac_ext
20872 cat >>conftest.$ac_ext <<_ACEOF
20873 /* end confdefs.h. */
20874 $ac_includes_default
20875 #include <expat.h>
20876 _ACEOF
20877 rm -f conftest.$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>conftest.er1
20880 ac_status=$?
20881 grep -v '^ *+' conftest.er1 >conftest.err
20882 rm -f conftest.er1
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20889 ac_status=$?
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20895 ac_status=$?
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 ac_header_compiler=yes
20899 else
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 ac_header_compiler=no
20904 fi
20905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20907 echo "${ECHO_T}$ac_header_compiler" >&6
20908
20909 # Is the header present?
20910 echo "$as_me:$LINENO: checking expat.h presence" >&5
20911 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 #include <expat.h>
20919 _ACEOF
20920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20922 ac_status=$?
20923 grep -v '^ *+' conftest.er1 >conftest.err
20924 rm -f conftest.er1
20925 cat conftest.err >&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } >/dev/null; then
20928 if test -s conftest.err; then
20929 ac_cpp_err=$ac_c_preproc_warn_flag
20930 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20931 else
20932 ac_cpp_err=
20933 fi
20934 else
20935 ac_cpp_err=yes
20936 fi
20937 if test -z "$ac_cpp_err"; then
20938 ac_header_preproc=yes
20939 else
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20942
20943 ac_header_preproc=no
20944 fi
20945 rm -f conftest.err conftest.$ac_ext
20946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20947 echo "${ECHO_T}$ac_header_preproc" >&6
20948
20949 # So? What about this header?
20950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20951 yes:no: )
20952 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20953 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20954 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
20955 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
20956 ac_header_preproc=yes
20957 ;;
20958 no:yes:* )
20959 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20960 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20961 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20962 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20963 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
20964 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
20965 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
20966 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
20967 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20968 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20969 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
20970 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
20971 (
20972 cat <<\_ASBOX
20973 ## ----------------------------------------- ##
20974 ## Report this to wx-dev@lists.wxwindows.org ##
20975 ## ----------------------------------------- ##
20976 _ASBOX
20977 ) |
20978 sed "s/^/$as_me: WARNING: /" >&2
20979 ;;
20980 esac
20981 echo "$as_me:$LINENO: checking for expat.h" >&5
20982 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20983 if test "${ac_cv_header_expat_h+set}" = set; then
20984 echo $ECHO_N "(cached) $ECHO_C" >&6
20985 else
20986 ac_cv_header_expat_h=$ac_header_preproc
20987 fi
20988 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20989 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20990
20991 fi
20992 if test $ac_cv_header_expat_h = yes; then
20993 found_expat_h=1
20994 fi
20995
20996
20997 if test "x$found_expat_h" = "x1"; then
20998 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20999 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
21000 if test "${wx_cv_expat_is_not_broken+set}" = set; then
21001 echo $ECHO_N "(cached) $ECHO_C" >&6
21002 else
21003
21004
21005
21006 ac_ext=cc
21007 ac_cpp='$CXXCPP $CPPFLAGS'
21008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21011
21012 cat >conftest.$ac_ext <<_ACEOF
21013 /* confdefs.h. */
21014 _ACEOF
21015 cat confdefs.h >>conftest.$ac_ext
21016 cat >>conftest.$ac_ext <<_ACEOF
21017 /* end confdefs.h. */
21018 #include <expat.h>
21019 int
21020 main ()
21021 {
21022
21023 ;
21024 return 0;
21025 }
21026 _ACEOF
21027 rm -f conftest.$ac_objext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21029 (eval $ac_compile) 2>conftest.er1
21030 ac_status=$?
21031 grep -v '^ *+' conftest.er1 >conftest.err
21032 rm -f conftest.er1
21033 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } &&
21036 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21038 (eval $ac_try) 2>&5
21039 ac_status=$?
21040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21041 (exit $ac_status); }; } &&
21042 { ac_try='test -s conftest.$ac_objext'
21043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21044 (eval $ac_try) 2>&5
21045 ac_status=$?
21046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); }; }; then
21048 wx_cv_expat_is_not_broken=yes
21049 else
21050 echo "$as_me: failed program was:" >&5
21051 sed 's/^/| /' conftest.$ac_ext >&5
21052
21053 wx_cv_expat_is_not_broken=no
21054
21055 fi
21056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21057 ac_ext=c
21058 ac_cpp='$CPP $CPPFLAGS'
21059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21062
21063
21064
21065 fi
21066 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
21067 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
21068 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
21069 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
21070 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
21071 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
21072 echo $ECHO_N "(cached) $ECHO_C" >&6
21073 else
21074 ac_check_lib_save_LIBS=$LIBS
21075 LIBS="-lexpat $LIBS"
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082
21083 /* Override any gcc2 internal prototype to avoid an error. */
21084 #ifdef __cplusplus
21085 extern "C"
21086 #endif
21087 /* We use char because int might match the return type of a gcc2
21088 builtin and then its argument prototype would still apply. */
21089 char XML_ParserCreate ();
21090 int
21091 main ()
21092 {
21093 XML_ParserCreate ();
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 rm -f conftest.$ac_objext conftest$ac_exeext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21100 (eval $ac_link) 2>conftest.er1
21101 ac_status=$?
21102 grep -v '^ *+' conftest.er1 >conftest.err
21103 rm -f conftest.er1
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21109 (eval $ac_try) 2>&5
21110 ac_status=$?
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); }; } &&
21113 { ac_try='test -s conftest$ac_exeext'
21114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21115 (eval $ac_try) 2>&5
21116 ac_status=$?
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); }; }; then
21119 ac_cv_lib_expat_XML_ParserCreate=yes
21120 else
21121 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.$ac_ext >&5
21123
21124 ac_cv_lib_expat_XML_ParserCreate=no
21125 fi
21126 rm -f conftest.err conftest.$ac_objext \
21127 conftest$ac_exeext conftest.$ac_ext
21128 LIBS=$ac_check_lib_save_LIBS
21129 fi
21130 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
21131 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
21132 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
21133 EXPAT_LINK=" -lexpat"
21134 fi
21135
21136 fi
21137 fi
21138 if test "x$EXPAT_LINK" = "x" ; then
21139 if test "$wxUSE_EXPAT" = "sys" ; then
21140 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
21141 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
21142 { (exit 1); exit 1; }; }
21143 else
21144 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
21145 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
21146 wxUSE_EXPAT=builtin
21147 fi
21148 else
21149 wxUSE_EXPAT=sys
21150 fi
21151 fi
21152 if test "$wxUSE_EXPAT" = "builtin" ; then
21153
21154
21155 subdirs="$subdirs src/expat"
21156
21157 fi
21158 fi
21159
21160
21161
21162 if test "$wxUSE_LIBMSPACK" != "no"; then
21163
21164 if test "${ac_cv_header_mspack_h+set}" = set; then
21165 echo "$as_me:$LINENO: checking for mspack.h" >&5
21166 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21167 if test "${ac_cv_header_mspack_h+set}" = set; then
21168 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 fi
21170 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21171 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21172 else
21173 # Is the header compilable?
21174 echo "$as_me:$LINENO: checking mspack.h usability" >&5
21175 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
21176 cat >conftest.$ac_ext <<_ACEOF
21177 /* confdefs.h. */
21178 _ACEOF
21179 cat confdefs.h >>conftest.$ac_ext
21180 cat >>conftest.$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 $ac_includes_default
21183 #include <mspack.h>
21184 _ACEOF
21185 rm -f conftest.$ac_objext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21187 (eval $ac_compile) 2>conftest.er1
21188 ac_status=$?
21189 grep -v '^ *+' conftest.er1 >conftest.err
21190 rm -f conftest.er1
21191 cat conftest.err >&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } &&
21194 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; } &&
21200 { ac_try='test -s conftest.$ac_objext'
21201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21202 (eval $ac_try) 2>&5
21203 ac_status=$?
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); }; }; then
21206 ac_header_compiler=yes
21207 else
21208 echo "$as_me: failed program was:" >&5
21209 sed 's/^/| /' conftest.$ac_ext >&5
21210
21211 ac_header_compiler=no
21212 fi
21213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21215 echo "${ECHO_T}$ac_header_compiler" >&6
21216
21217 # Is the header present?
21218 echo "$as_me:$LINENO: checking mspack.h presence" >&5
21219 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 #include <mspack.h>
21227 _ACEOF
21228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21230 ac_status=$?
21231 grep -v '^ *+' conftest.er1 >conftest.err
21232 rm -f conftest.er1
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } >/dev/null; then
21236 if test -s conftest.err; then
21237 ac_cpp_err=$ac_c_preproc_warn_flag
21238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21239 else
21240 ac_cpp_err=
21241 fi
21242 else
21243 ac_cpp_err=yes
21244 fi
21245 if test -z "$ac_cpp_err"; then
21246 ac_header_preproc=yes
21247 else
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21250
21251 ac_header_preproc=no
21252 fi
21253 rm -f conftest.err conftest.$ac_ext
21254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21255 echo "${ECHO_T}$ac_header_preproc" >&6
21256
21257 # So? What about this header?
21258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21259 yes:no: )
21260 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
21261 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21262 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
21263 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
21264 ac_header_preproc=yes
21265 ;;
21266 no:yes:* )
21267 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
21268 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
21269 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
21270 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
21271 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
21272 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
21273 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
21274 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
21275 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
21276 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
21277 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
21278 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
21279 (
21280 cat <<\_ASBOX
21281 ## ----------------------------------------- ##
21282 ## Report this to wx-dev@lists.wxwindows.org ##
21283 ## ----------------------------------------- ##
21284 _ASBOX
21285 ) |
21286 sed "s/^/$as_me: WARNING: /" >&2
21287 ;;
21288 esac
21289 echo "$as_me:$LINENO: checking for mspack.h" >&5
21290 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
21291 if test "${ac_cv_header_mspack_h+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21293 else
21294 ac_cv_header_mspack_h=$ac_header_preproc
21295 fi
21296 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
21297 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
21298
21299 fi
21300 if test $ac_cv_header_mspack_h = yes; then
21301 found_mspack_h=1
21302 fi
21303
21304
21305 if test "x$found_mspack_h" = "x1"; then
21306 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
21307 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
21308 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
21309 echo $ECHO_N "(cached) $ECHO_C" >&6
21310 else
21311 ac_check_lib_save_LIBS=$LIBS
21312 LIBS="-lmspack $LIBS"
21313 cat >conftest.$ac_ext <<_ACEOF
21314 /* confdefs.h. */
21315 _ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21319
21320 /* Override any gcc2 internal prototype to avoid an error. */
21321 #ifdef __cplusplus
21322 extern "C"
21323 #endif
21324 /* We use char because int might match the return type of a gcc2
21325 builtin and then its argument prototype would still apply. */
21326 char mspack_create_chm_decompressor ();
21327 int
21328 main ()
21329 {
21330 mspack_create_chm_decompressor ();
21331 ;
21332 return 0;
21333 }
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>conftest.er1
21338 ac_status=$?
21339 grep -v '^ *+' conftest.er1 >conftest.err
21340 rm -f conftest.er1
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21347 ac_status=$?
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; } &&
21350 { ac_try='test -s conftest$ac_exeext'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21352 (eval $ac_try) 2>&5
21353 ac_status=$?
21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; }; then
21356 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
21357 else
21358 echo "$as_me: failed program was:" >&5
21359 sed 's/^/| /' conftest.$ac_ext >&5
21360
21361 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
21362 fi
21363 rm -f conftest.err conftest.$ac_objext \
21364 conftest$ac_exeext conftest.$ac_ext
21365 LIBS=$ac_check_lib_save_LIBS
21366 fi
21367 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
21368 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
21369 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
21370 MSPACK_LINK=" -lmspack"
21371 fi
21372
21373 fi
21374 if test "x$MSPACK_LINK" = "x" ; then
21375 wxUSE_LIBMSPACK=no
21376 else
21377 cat >>confdefs.h <<\_ACEOF
21378 #define wxUSE_LIBMSPACK 1
21379 _ACEOF
21380
21381 fi
21382 fi
21383
21384
21385
21386 AFMINSTALL=
21387 WIN32INSTALL=
21388
21389 TOOLKIT=
21390 TOOLKIT_INCLUDE=
21391 WIDGET_SET=
21392
21393 if test "$USE_WIN32" = 1 ; then
21394
21395 for ac_header in w32api.h
21396 do
21397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21399 echo "$as_me:$LINENO: checking for $ac_header" >&5
21400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21402 echo $ECHO_N "(cached) $ECHO_C" >&6
21403 fi
21404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21406 else
21407 # Is the header compilable?
21408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21410 cat >conftest.$ac_ext <<_ACEOF
21411 /* confdefs.h. */
21412 _ACEOF
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 #include <$ac_header>
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" || test ! -s conftest.err'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21431 ac_status=$?
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; } &&
21434 { ac_try='test -s conftest.$ac_objext'
21435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21436 (eval $ac_try) 2>&5
21437 ac_status=$?
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); }; }; then
21440 ac_header_compiler=yes
21441 else
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 ac_header_compiler=no
21446 fi
21447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21449 echo "${ECHO_T}$ac_header_compiler" >&6
21450
21451 # Is the header present?
21452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21454 cat >conftest.$ac_ext <<_ACEOF
21455 /* confdefs.h. */
21456 _ACEOF
21457 cat confdefs.h >>conftest.$ac_ext
21458 cat >>conftest.$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 #include <$ac_header>
21461 _ACEOF
21462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21464 ac_status=$?
21465 grep -v '^ *+' conftest.er1 >conftest.err
21466 rm -f conftest.er1
21467 cat conftest.err >&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); } >/dev/null; then
21470 if test -s conftest.err; then
21471 ac_cpp_err=$ac_c_preproc_warn_flag
21472 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21473 else
21474 ac_cpp_err=
21475 fi
21476 else
21477 ac_cpp_err=yes
21478 fi
21479 if test -z "$ac_cpp_err"; then
21480 ac_header_preproc=yes
21481 else
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.$ac_ext >&5
21484
21485 ac_header_preproc=no
21486 fi
21487 rm -f conftest.err conftest.$ac_ext
21488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21489 echo "${ECHO_T}$ac_header_preproc" >&6
21490
21491 # So? What about this header?
21492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21493 yes:no: )
21494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21498 ac_header_preproc=yes
21499 ;;
21500 no:yes:* )
21501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21513 (
21514 cat <<\_ASBOX
21515 ## ----------------------------------------- ##
21516 ## Report this to wx-dev@lists.wxwindows.org ##
21517 ## ----------------------------------------- ##
21518 _ASBOX
21519 ) |
21520 sed "s/^/$as_me: WARNING: /" >&2
21521 ;;
21522 esac
21523 echo "$as_me:$LINENO: checking for $ac_header" >&5
21524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21526 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 else
21528 eval "$as_ac_Header=\$ac_header_preproc"
21529 fi
21530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21532
21533 fi
21534 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21535 cat >>confdefs.h <<_ACEOF
21536 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21537 _ACEOF
21538
21539 fi
21540
21541 done
21542
21543 if test "${ac_cv_header_windows_h+set}" = set; then
21544 echo "$as_me:$LINENO: checking for windows.h" >&5
21545 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21546 if test "${ac_cv_header_windows_h+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 fi
21549 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21550 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21551 else
21552 # Is the header compilable?
21553 echo "$as_me:$LINENO: checking windows.h usability" >&5
21554 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
21555 cat >conftest.$ac_ext <<_ACEOF
21556 /* confdefs.h. */
21557 _ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 #include <windows.h>
21563 _ACEOF
21564 rm -f conftest.$ac_objext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21566 (eval $ac_compile) 2>conftest.er1
21567 ac_status=$?
21568 grep -v '^ *+' conftest.er1 >conftest.err
21569 rm -f conftest.er1
21570 cat conftest.err >&5
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); } &&
21573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21576 ac_status=$?
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try='test -s conftest.$ac_objext'
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21582 ac_status=$?
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; }; then
21585 ac_header_compiler=yes
21586 else
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 ac_header_compiler=no
21591 fi
21592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21594 echo "${ECHO_T}$ac_header_compiler" >&6
21595
21596 # Is the header present?
21597 echo "$as_me:$LINENO: checking windows.h presence" >&5
21598 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21599 cat >conftest.$ac_ext <<_ACEOF
21600 /* confdefs.h. */
21601 _ACEOF
21602 cat confdefs.h >>conftest.$ac_ext
21603 cat >>conftest.$ac_ext <<_ACEOF
21604 /* end confdefs.h. */
21605 #include <windows.h>
21606 _ACEOF
21607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21609 ac_status=$?
21610 grep -v '^ *+' conftest.er1 >conftest.err
21611 rm -f conftest.er1
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } >/dev/null; then
21615 if test -s conftest.err; then
21616 ac_cpp_err=$ac_c_preproc_warn_flag
21617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21618 else
21619 ac_cpp_err=
21620 fi
21621 else
21622 ac_cpp_err=yes
21623 fi
21624 if test -z "$ac_cpp_err"; then
21625 ac_header_preproc=yes
21626 else
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21629
21630 ac_header_preproc=no
21631 fi
21632 rm -f conftest.err conftest.$ac_ext
21633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21634 echo "${ECHO_T}$ac_header_preproc" >&6
21635
21636 # So? What about this header?
21637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21638 yes:no: )
21639 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21640 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21641 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
21642 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
21643 ac_header_preproc=yes
21644 ;;
21645 no:yes:* )
21646 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21647 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21648 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21649 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21650 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
21651 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
21652 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
21653 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
21654 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21655 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21656 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
21657 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
21658 (
21659 cat <<\_ASBOX
21660 ## ----------------------------------------- ##
21661 ## Report this to wx-dev@lists.wxwindows.org ##
21662 ## ----------------------------------------- ##
21663 _ASBOX
21664 ) |
21665 sed "s/^/$as_me: WARNING: /" >&2
21666 ;;
21667 esac
21668 echo "$as_me:$LINENO: checking for windows.h" >&5
21669 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21670 if test "${ac_cv_header_windows_h+set}" = set; then
21671 echo $ECHO_N "(cached) $ECHO_C" >&6
21672 else
21673 ac_cv_header_windows_h=$ac_header_preproc
21674 fi
21675 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21676 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21677
21678 fi
21679 if test $ac_cv_header_windows_h = yes; then
21680 :
21681 else
21682
21683 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21684 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21685 { (exit 1); exit 1; }; }
21686
21687 fi
21688
21689
21690
21691 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21692
21693 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21694 LIBS="$LIBS -loleacc"
21695 fi
21696
21697 case "${host}" in
21698 *-*-cygwin* )
21699 LIBS="$LIBS -lkernel32 -luser32"
21700 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21701 esac
21702
21703 if test "$wxUSE_ODBC" = "sys" ; then
21704 wxUSE_ODBC = "yes"
21705 fi
21706 if test "$wxUSE_ODBC" = "yes" ; then
21707 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21708 cat >>confdefs.h <<\_ACEOF
21709 #define wxUSE_ODBC 1
21710 _ACEOF
21711
21712 fi
21713
21714 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21715 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21716
21717 WIN32INSTALL=win32install
21718 fi
21719
21720 if test "$wxUSE_GUI" = "yes"; then
21721 USE_GUI=1
21722
21723 GUI_TK_LIBRARY=
21724
21725 WXGTK12=
21726 WXGTK127=
21727 WXGTK20=
21728 WXGPE=
21729
21730 if test "$wxUSE_MSW" = 1 ; then
21731 TOOLKIT=MSW
21732 GUIDIST=MSW_DIST
21733
21734 case "${host}" in
21735 *-*-mingw32* )
21736 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21737 esac
21738 fi
21739
21740 if test "$wxUSE_GTK" = 1; then
21741 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21742 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21743
21744 gtk_version_cached=1
21745 if test "${wx_cv_lib_gtk+set}" = set; then
21746 echo $ECHO_N "(cached) $ECHO_C" >&6
21747 else
21748
21749 gtk_version_cached=0
21750 echo "$as_me:$LINENO: result: " >&5
21751 echo "${ECHO_T}" >&6
21752
21753 GTK_MODULES=
21754 if test "$wxUSE_THREADS" = "yes"; then
21755 GTK_MODULES=gthread
21756 fi
21757
21758 wx_cv_lib_gtk=
21759 if test "x$wxUSE_GTK2" = "xyes"; then
21760 # Check whether --enable-gtktest or --disable-gtktest was given.
21761 if test "${enable_gtktest+set}" = set; then
21762 enableval="$enable_gtktest"
21763
21764 else
21765 enable_gtktest=yes
21766 fi;
21767
21768 pkg_config_args=gtk+-2.0
21769 for module in . $GTK_MODULES
21770 do
21771 case "$module" in
21772 gthread)
21773 pkg_config_args="$pkg_config_args gthread-2.0"
21774 ;;
21775 esac
21776 done
21777
21778 no_gtk=""
21779
21780 # Extract the first word of "pkg-config", so it can be a program name with args.
21781 set dummy pkg-config; ac_word=$2
21782 echo "$as_me:$LINENO: checking for $ac_word" >&5
21783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21784 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21785 echo $ECHO_N "(cached) $ECHO_C" >&6
21786 else
21787 case $PKG_CONFIG in
21788 [\\/]* | ?:[\\/]*)
21789 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21790 ;;
21791 *)
21792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21793 for as_dir in $PATH
21794 do
21795 IFS=$as_save_IFS
21796 test -z "$as_dir" && as_dir=.
21797 for ac_exec_ext in '' $ac_executable_extensions; do
21798 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21799 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21801 break 2
21802 fi
21803 done
21804 done
21805
21806 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21807 ;;
21808 esac
21809 fi
21810 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21811
21812 if test -n "$PKG_CONFIG"; then
21813 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21814 echo "${ECHO_T}$PKG_CONFIG" >&6
21815 else
21816 echo "$as_me:$LINENO: result: no" >&5
21817 echo "${ECHO_T}no" >&6
21818 fi
21819
21820
21821 if test x$PKG_CONFIG != xno ; then
21822 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21823 :
21824 else
21825 echo *** pkg-config too old; version 0.7 or better required.
21826 no_gtk=yes
21827 PKG_CONFIG=no
21828 fi
21829 else
21830 no_gtk=yes
21831 fi
21832
21833 min_gtk_version=2.0.0
21834 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21835 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21836
21837 if test x$PKG_CONFIG != xno ; then
21838 ## don't try to run the test against uninstalled libtool libs
21839 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21840 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21841 enable_gtktest=no
21842 fi
21843
21844 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21845 :
21846 else
21847 no_gtk=yes
21848 fi
21849 fi
21850
21851 if test x"$no_gtk" = x ; then
21852 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21853 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21854 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21855 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21856 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21858 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21860 if test "x$enable_gtktest" = "xyes" ; then
21861 ac_save_CFLAGS="$CFLAGS"
21862 ac_save_LIBS="$LIBS"
21863 CFLAGS="$CFLAGS $GTK_CFLAGS"
21864 LIBS="$GTK_LIBS $LIBS"
21865 rm -f conf.gtktest
21866 if test "$cross_compiling" = yes; then
21867 echo $ac_n "cross compiling; assumed OK... $ac_c"
21868 else
21869 cat >conftest.$ac_ext <<_ACEOF
21870 /* confdefs.h. */
21871 _ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875
21876 #include <gtk/gtk.h>
21877 #include <stdio.h>
21878 #include <stdlib.h>
21879
21880 int
21881 main ()
21882 {
21883 int major, minor, micro;
21884 char *tmp_version;
21885
21886 system ("touch conf.gtktest");
21887
21888 /* HP/UX 9 (%@#!) writes to sscanf strings */
21889 tmp_version = g_strdup("$min_gtk_version");
21890 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21891 printf("%s, bad version string\n", "$min_gtk_version");
21892 exit(1);
21893 }
21894
21895 if ((gtk_major_version != $gtk_config_major_version) ||
21896 (gtk_minor_version != $gtk_config_minor_version) ||
21897 (gtk_micro_version != $gtk_config_micro_version))
21898 {
21899 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21900 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21901 gtk_major_version, gtk_minor_version, gtk_micro_version);
21902 printf ("*** was found! If pkg-config was correct, then it is best\n");
21903 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21904 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21905 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21906 printf("*** required on your system.\n");
21907 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21908 printf("*** to point to the correct configuration files\n");
21909 }
21910 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21911 (gtk_minor_version != GTK_MINOR_VERSION) ||
21912 (gtk_micro_version != GTK_MICRO_VERSION))
21913 {
21914 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21915 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21916 printf("*** library (version %d.%d.%d)\n",
21917 gtk_major_version, gtk_minor_version, gtk_micro_version);
21918 }
21919 else
21920 {
21921 if ((gtk_major_version > major) ||
21922 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21923 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21924 {
21925 return 0;
21926 }
21927 else
21928 {
21929 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21930 gtk_major_version, gtk_minor_version, gtk_micro_version);
21931 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21932 major, minor, micro);
21933 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21934 printf("***\n");
21935 printf("*** If you have already installed a sufficiently new version, this error\n");
21936 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21937 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21938 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21939 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21940 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21941 printf("*** so that the correct libraries are found at run-time))\n");
21942 }
21943 }
21944 return 1;
21945 }
21946
21947 _ACEOF
21948 rm -f conftest$ac_exeext
21949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21950 (eval $ac_link) 2>&5
21951 ac_status=$?
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21956 ac_status=$?
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21959 :
21960 else
21961 echo "$as_me: program exited with status $ac_status" >&5
21962 echo "$as_me: failed program was:" >&5
21963 sed 's/^/| /' conftest.$ac_ext >&5
21964
21965 ( exit $ac_status )
21966 no_gtk=yes
21967 fi
21968 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21969 fi
21970 CFLAGS="$ac_save_CFLAGS"
21971 LIBS="$ac_save_LIBS"
21972 fi
21973 fi
21974 if test "x$no_gtk" = x ; then
21975 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21976 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21977 wx_cv_lib_gtk=2.0
21978 else
21979 echo "$as_me:$LINENO: result: no" >&5
21980 echo "${ECHO_T}no" >&6
21981 if test "$PKG_CONFIG" = "no" ; then
21982 echo "*** A new enough version of pkg-config was not found."
21983 echo "*** See http://pkgconfig.sourceforge.net"
21984 else
21985 if test -f conf.gtktest ; then
21986 :
21987 else
21988 echo "*** Could not run GTK+ test program, checking why..."
21989 ac_save_CFLAGS="$CFLAGS"
21990 ac_save_LIBS="$LIBS"
21991 CFLAGS="$CFLAGS $GTK_CFLAGS"
21992 LIBS="$LIBS $GTK_LIBS"
21993 cat >conftest.$ac_ext <<_ACEOF
21994 /* confdefs.h. */
21995 _ACEOF
21996 cat confdefs.h >>conftest.$ac_ext
21997 cat >>conftest.$ac_ext <<_ACEOF
21998 /* end confdefs.h. */
21999
22000 #include <gtk/gtk.h>
22001 #include <stdio.h>
22002
22003 int
22004 main ()
22005 {
22006 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22007 ;
22008 return 0;
22009 }
22010 _ACEOF
22011 rm -f conftest.$ac_objext conftest$ac_exeext
22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22013 (eval $ac_link) 2>conftest.er1
22014 ac_status=$?
22015 grep -v '^ *+' conftest.er1 >conftest.err
22016 rm -f conftest.er1
22017 cat conftest.err >&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); } &&
22020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22022 (eval $ac_try) 2>&5
22023 ac_status=$?
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; } &&
22026 { ac_try='test -s conftest$ac_exeext'
22027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22028 (eval $ac_try) 2>&5
22029 ac_status=$?
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); }; }; then
22032 echo "*** The test program compiled, but did not run. This usually means"
22033 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
22034 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
22035 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22036 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22037 echo "*** is required on your system"
22038 echo "***"
22039 echo "*** If you have an old version installed, it is best to remove it, although"
22040 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22041 else
22042 echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.$ac_ext >&5
22044
22045 echo "*** The test program failed to compile or link. See the file config.log for the"
22046 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
22047 fi
22048 rm -f conftest.err conftest.$ac_objext \
22049 conftest$ac_exeext conftest.$ac_ext
22050 CFLAGS="$ac_save_CFLAGS"
22051 LIBS="$ac_save_LIBS"
22052 fi
22053 fi
22054 GTK_CFLAGS=""
22055 GTK_LIBS=""
22056 :
22057 fi
22058
22059
22060 rm -f conf.gtktest
22061
22062 else
22063
22064 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22065 if test "${with_gtk_prefix+set}" = set; then
22066 withval="$with_gtk_prefix"
22067 gtk_config_prefix="$withval"
22068 else
22069 gtk_config_prefix=""
22070 fi;
22071
22072 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22073 if test "${with_gtk_exec_prefix+set}" = set; then
22074 withval="$with_gtk_exec_prefix"
22075 gtk_config_exec_prefix="$withval"
22076 else
22077 gtk_config_exec_prefix=""
22078 fi;
22079 # Check whether --enable-gtktest or --disable-gtktest was given.
22080 if test "${enable_gtktest+set}" = set; then
22081 enableval="$enable_gtktest"
22082
22083 else
22084 enable_gtktest=yes
22085 fi;
22086
22087 for module in . $GTK_MODULES
22088 do
22089 case "$module" in
22090 gthread)
22091 gtk_config_args="$gtk_config_args gthread"
22092 ;;
22093 esac
22094 done
22095
22096 if test x$gtk_config_exec_prefix != x ; then
22097 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22098 if test x${GTK_CONFIG+set} != xset ; then
22099 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22100 fi
22101 fi
22102 if test x$gtk_config_prefix != x ; then
22103 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22104 if test x${GTK_CONFIG+set} != xset ; then
22105 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22106 fi
22107 fi
22108
22109 # Extract the first word of "gtk-config", so it can be a program name with args.
22110 set dummy gtk-config; ac_word=$2
22111 echo "$as_me:$LINENO: checking for $ac_word" >&5
22112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22113 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22115 else
22116 case $GTK_CONFIG in
22117 [\\/]* | ?:[\\/]*)
22118 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22119 ;;
22120 *)
22121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22122 for as_dir in $PATH
22123 do
22124 IFS=$as_save_IFS
22125 test -z "$as_dir" && as_dir=.
22126 for ac_exec_ext in '' $ac_executable_extensions; do
22127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22128 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22130 break 2
22131 fi
22132 done
22133 done
22134
22135 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22136 ;;
22137 esac
22138 fi
22139 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22140
22141 if test -n "$GTK_CONFIG"; then
22142 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22143 echo "${ECHO_T}$GTK_CONFIG" >&6
22144 else
22145 echo "$as_me:$LINENO: result: no" >&5
22146 echo "${ECHO_T}no" >&6
22147 fi
22148
22149 min_gtk_version=1.2.7
22150 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22151 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22152 no_gtk=""
22153 if test "$GTK_CONFIG" = "no" ; then
22154 no_gtk=yes
22155 else
22156 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22157 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22158 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22160 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22162 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22164 if test "x$enable_gtktest" = "xyes" ; then
22165 ac_save_CFLAGS="$CFLAGS"
22166 ac_save_LIBS="$LIBS"
22167 CFLAGS="$CFLAGS $GTK_CFLAGS"
22168 LIBS="$GTK_LIBS $LIBS"
22169 rm -f conf.gtktest
22170 if test "$cross_compiling" = yes; then
22171 echo $ac_n "cross compiling; assumed OK... $ac_c"
22172 else
22173 cat >conftest.$ac_ext <<_ACEOF
22174 /* confdefs.h. */
22175 _ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22179
22180 #include <gtk/gtk.h>
22181 #include <stdio.h>
22182 #include <stdlib.h>
22183
22184 int
22185 main ()
22186 {
22187 int major, minor, micro;
22188 char *tmp_version;
22189
22190 system ("touch conf.gtktest");
22191
22192 /* HP/UX 9 (%@#!) writes to sscanf strings */
22193 tmp_version = g_strdup("$min_gtk_version");
22194 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22195 printf("%s, bad version string\n", "$min_gtk_version");
22196 exit(1);
22197 }
22198
22199 if ((gtk_major_version != $gtk_config_major_version) ||
22200 (gtk_minor_version != $gtk_config_minor_version) ||
22201 (gtk_micro_version != $gtk_config_micro_version))
22202 {
22203 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22204 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22205 gtk_major_version, gtk_minor_version, gtk_micro_version);
22206 printf ("*** was found! If gtk-config was correct, then it is best\n");
22207 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22208 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22209 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22210 printf("*** required on your system.\n");
22211 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22212 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22213 printf("*** before re-running configure\n");
22214 }
22215 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22216 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22217 (gtk_minor_version != GTK_MINOR_VERSION) ||
22218 (gtk_micro_version != GTK_MICRO_VERSION))
22219 {
22220 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22221 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22222 printf("*** library (version %d.%d.%d)\n",
22223 gtk_major_version, gtk_minor_version, gtk_micro_version);
22224 }
22225 #endif /* defined (GTK_MAJOR_VERSION) ... */
22226 else
22227 {
22228 if ((gtk_major_version > major) ||
22229 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22230 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22231 {
22232 return 0;
22233 }
22234 else
22235 {
22236 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22237 gtk_major_version, gtk_minor_version, gtk_micro_version);
22238 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22239 major, minor, micro);
22240 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22241 printf("***\n");
22242 printf("*** If you have already installed a sufficiently new version, this error\n");
22243 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22244 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22245 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22246 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22247 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22248 printf("*** so that the correct libraries are found at run-time))\n");
22249 }
22250 }
22251 return 1;
22252 }
22253
22254 _ACEOF
22255 rm -f conftest$ac_exeext
22256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22257 (eval $ac_link) 2>&5
22258 ac_status=$?
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22262 (eval $ac_try) 2>&5
22263 ac_status=$?
22264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22265 (exit $ac_status); }; }; then
22266 :
22267 else
22268 echo "$as_me: program exited with status $ac_status" >&5
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22271
22272 ( exit $ac_status )
22273 no_gtk=yes
22274 fi
22275 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22276 fi
22277 CFLAGS="$ac_save_CFLAGS"
22278 LIBS="$ac_save_LIBS"
22279 fi
22280 fi
22281 if test "x$no_gtk" = x ; then
22282 echo "$as_me:$LINENO: result: yes" >&5
22283 echo "${ECHO_T}yes" >&6
22284 wx_cv_lib_gtk=1.2.7
22285 else
22286 echo "$as_me:$LINENO: result: no" >&5
22287 echo "${ECHO_T}no" >&6
22288 if test "$GTK_CONFIG" = "no" ; then
22289 echo "*** The gtk-config script installed by GTK could not be found"
22290 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22291 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22292 echo "*** full path to gtk-config."
22293 else
22294 if test -f conf.gtktest ; then
22295 :
22296 else
22297 echo "*** Could not run GTK test program, checking why..."
22298 CFLAGS="$CFLAGS $GTK_CFLAGS"
22299 LIBS="$LIBS $GTK_LIBS"
22300 cat >conftest.$ac_ext <<_ACEOF
22301 /* confdefs.h. */
22302 _ACEOF
22303 cat confdefs.h >>conftest.$ac_ext
22304 cat >>conftest.$ac_ext <<_ACEOF
22305 /* end confdefs.h. */
22306
22307 #include <gtk/gtk.h>
22308 #include <stdio.h>
22309
22310 int
22311 main ()
22312 {
22313 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22314 ;
22315 return 0;
22316 }
22317 _ACEOF
22318 rm -f conftest.$ac_objext conftest$ac_exeext
22319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22320 (eval $ac_link) 2>conftest.er1
22321 ac_status=$?
22322 grep -v '^ *+' conftest.er1 >conftest.err
22323 rm -f conftest.er1
22324 cat conftest.err >&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22330 ac_status=$?
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; } &&
22333 { ac_try='test -s conftest$ac_exeext'
22334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22335 (eval $ac_try) 2>&5
22336 ac_status=$?
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); }; }; then
22339 echo "*** The test program compiled, but did not run. This usually means"
22340 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22341 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22342 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22343 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22344 echo "*** is required on your system"
22345 echo "***"
22346 echo "*** If you have an old version installed, it is best to remove it, although"
22347 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22348 echo "***"
22349 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22350 echo "*** came with the system with the command"
22351 echo "***"
22352 echo "*** rpm --erase --nodeps gtk gtk-devel"
22353 else
22354 echo "$as_me: failed program was:" >&5
22355 sed 's/^/| /' conftest.$ac_ext >&5
22356
22357 echo "*** The test program failed to compile or link. See the file config.log for the"
22358 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22359 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22360 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22361 fi
22362 rm -f conftest.err conftest.$ac_objext \
22363 conftest$ac_exeext conftest.$ac_ext
22364 CFLAGS="$ac_save_CFLAGS"
22365 LIBS="$ac_save_LIBS"
22366 fi
22367 fi
22368 GTK_CFLAGS=""
22369 GTK_LIBS=""
22370 :
22371 fi
22372
22373
22374 rm -f conf.gtktest
22375
22376
22377 if test -z "$wx_cv_lib_gtk"; then
22378
22379 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
22380 if test "${with_gtk_prefix+set}" = set; then
22381 withval="$with_gtk_prefix"
22382 gtk_config_prefix="$withval"
22383 else
22384 gtk_config_prefix=""
22385 fi;
22386
22387 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
22388 if test "${with_gtk_exec_prefix+set}" = set; then
22389 withval="$with_gtk_exec_prefix"
22390 gtk_config_exec_prefix="$withval"
22391 else
22392 gtk_config_exec_prefix=""
22393 fi;
22394 # Check whether --enable-gtktest or --disable-gtktest was given.
22395 if test "${enable_gtktest+set}" = set; then
22396 enableval="$enable_gtktest"
22397
22398 else
22399 enable_gtktest=yes
22400 fi;
22401
22402 for module in . $GTK_MODULES
22403 do
22404 case "$module" in
22405 gthread)
22406 gtk_config_args="$gtk_config_args gthread"
22407 ;;
22408 esac
22409 done
22410
22411 if test x$gtk_config_exec_prefix != x ; then
22412 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
22413 if test x${GTK_CONFIG+set} != xset ; then
22414 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
22415 fi
22416 fi
22417 if test x$gtk_config_prefix != x ; then
22418 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
22419 if test x${GTK_CONFIG+set} != xset ; then
22420 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
22421 fi
22422 fi
22423
22424 # Extract the first word of "gtk-config", so it can be a program name with args.
22425 set dummy gtk-config; ac_word=$2
22426 echo "$as_me:$LINENO: checking for $ac_word" >&5
22427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22428 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 else
22431 case $GTK_CONFIG in
22432 [\\/]* | ?:[\\/]*)
22433 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
22434 ;;
22435 *)
22436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22437 for as_dir in $PATH
22438 do
22439 IFS=$as_save_IFS
22440 test -z "$as_dir" && as_dir=.
22441 for ac_exec_ext in '' $ac_executable_extensions; do
22442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22443 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22445 break 2
22446 fi
22447 done
22448 done
22449
22450 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
22451 ;;
22452 esac
22453 fi
22454 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
22455
22456 if test -n "$GTK_CONFIG"; then
22457 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
22458 echo "${ECHO_T}$GTK_CONFIG" >&6
22459 else
22460 echo "$as_me:$LINENO: result: no" >&5
22461 echo "${ECHO_T}no" >&6
22462 fi
22463
22464 min_gtk_version=1.2.3
22465 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
22466 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
22467 no_gtk=""
22468 if test "$GTK_CONFIG" = "no" ; then
22469 no_gtk=yes
22470 else
22471 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
22472 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
22473 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
22474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
22475 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
22476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
22477 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
22478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
22479 if test "x$enable_gtktest" = "xyes" ; then
22480 ac_save_CFLAGS="$CFLAGS"
22481 ac_save_LIBS="$LIBS"
22482 CFLAGS="$CFLAGS $GTK_CFLAGS"
22483 LIBS="$GTK_LIBS $LIBS"
22484 rm -f conf.gtktest
22485 if test "$cross_compiling" = yes; then
22486 echo $ac_n "cross compiling; assumed OK... $ac_c"
22487 else
22488 cat >conftest.$ac_ext <<_ACEOF
22489 /* confdefs.h. */
22490 _ACEOF
22491 cat confdefs.h >>conftest.$ac_ext
22492 cat >>conftest.$ac_ext <<_ACEOF
22493 /* end confdefs.h. */
22494
22495 #include <gtk/gtk.h>
22496 #include <stdio.h>
22497 #include <stdlib.h>
22498
22499 int
22500 main ()
22501 {
22502 int major, minor, micro;
22503 char *tmp_version;
22504
22505 system ("touch conf.gtktest");
22506
22507 /* HP/UX 9 (%@#!) writes to sscanf strings */
22508 tmp_version = g_strdup("$min_gtk_version");
22509 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
22510 printf("%s, bad version string\n", "$min_gtk_version");
22511 exit(1);
22512 }
22513
22514 if ((gtk_major_version != $gtk_config_major_version) ||
22515 (gtk_minor_version != $gtk_config_minor_version) ||
22516 (gtk_micro_version != $gtk_config_micro_version))
22517 {
22518 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
22519 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
22520 gtk_major_version, gtk_minor_version, gtk_micro_version);
22521 printf ("*** was found! If gtk-config was correct, then it is best\n");
22522 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
22523 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
22524 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
22525 printf("*** required on your system.\n");
22526 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
22527 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
22528 printf("*** before re-running configure\n");
22529 }
22530 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
22531 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
22532 (gtk_minor_version != GTK_MINOR_VERSION) ||
22533 (gtk_micro_version != GTK_MICRO_VERSION))
22534 {
22535 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
22536 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
22537 printf("*** library (version %d.%d.%d)\n",
22538 gtk_major_version, gtk_minor_version, gtk_micro_version);
22539 }
22540 #endif /* defined (GTK_MAJOR_VERSION) ... */
22541 else
22542 {
22543 if ((gtk_major_version > major) ||
22544 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
22545 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
22546 {
22547 return 0;
22548 }
22549 else
22550 {
22551 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
22552 gtk_major_version, gtk_minor_version, gtk_micro_version);
22553 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
22554 major, minor, micro);
22555 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
22556 printf("***\n");
22557 printf("*** If you have already installed a sufficiently new version, this error\n");
22558 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
22559 printf("*** being found. The easiest way to fix this is to remove the old version\n");
22560 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
22561 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
22562 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
22563 printf("*** so that the correct libraries are found at run-time))\n");
22564 }
22565 }
22566 return 1;
22567 }
22568
22569 _ACEOF
22570 rm -f conftest$ac_exeext
22571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22572 (eval $ac_link) 2>&5
22573 ac_status=$?
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22578 ac_status=$?
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; }; then
22581 :
22582 else
22583 echo "$as_me: program exited with status $ac_status" >&5
22584 echo "$as_me: failed program was:" >&5
22585 sed 's/^/| /' conftest.$ac_ext >&5
22586
22587 ( exit $ac_status )
22588 no_gtk=yes
22589 fi
22590 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22591 fi
22592 CFLAGS="$ac_save_CFLAGS"
22593 LIBS="$ac_save_LIBS"
22594 fi
22595 fi
22596 if test "x$no_gtk" = x ; then
22597 echo "$as_me:$LINENO: result: yes" >&5
22598 echo "${ECHO_T}yes" >&6
22599 wx_cv_lib_gtk=1.2.3
22600 else
22601 echo "$as_me:$LINENO: result: no" >&5
22602 echo "${ECHO_T}no" >&6
22603 if test "$GTK_CONFIG" = "no" ; then
22604 echo "*** The gtk-config script installed by GTK could not be found"
22605 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
22606 echo "*** your path, or set the GTK_CONFIG environment variable to the"
22607 echo "*** full path to gtk-config."
22608 else
22609 if test -f conf.gtktest ; then
22610 :
22611 else
22612 echo "*** Could not run GTK test program, checking why..."
22613 CFLAGS="$CFLAGS $GTK_CFLAGS"
22614 LIBS="$LIBS $GTK_LIBS"
22615 cat >conftest.$ac_ext <<_ACEOF
22616 /* confdefs.h. */
22617 _ACEOF
22618 cat confdefs.h >>conftest.$ac_ext
22619 cat >>conftest.$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621
22622 #include <gtk/gtk.h>
22623 #include <stdio.h>
22624
22625 int
22626 main ()
22627 {
22628 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22629 ;
22630 return 0;
22631 }
22632 _ACEOF
22633 rm -f conftest.$ac_objext conftest$ac_exeext
22634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22635 (eval $ac_link) 2>conftest.er1
22636 ac_status=$?
22637 grep -v '^ *+' conftest.er1 >conftest.err
22638 rm -f conftest.er1
22639 cat conftest.err >&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); } &&
22642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22645 ac_status=$?
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; } &&
22648 { ac_try='test -s conftest$ac_exeext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 echo "*** The test program compiled, but did not run. This usually means"
22655 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22656 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22657 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22658 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22659 echo "*** is required on your system"
22660 echo "***"
22661 echo "*** If you have an old version installed, it is best to remove it, although"
22662 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22663 echo "***"
22664 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22665 echo "*** came with the system with the command"
22666 echo "***"
22667 echo "*** rpm --erase --nodeps gtk gtk-devel"
22668 else
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.$ac_ext >&5
22671
22672 echo "*** The test program failed to compile or link. See the file config.log for the"
22673 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22674 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22675 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22676 fi
22677 rm -f conftest.err conftest.$ac_objext \
22678 conftest$ac_exeext conftest.$ac_ext
22679 CFLAGS="$ac_save_CFLAGS"
22680 LIBS="$ac_save_LIBS"
22681 fi
22682 fi
22683 GTK_CFLAGS=""
22684 GTK_LIBS=""
22685 :
22686 fi
22687
22688
22689 rm -f conf.gtktest
22690
22691 fi
22692 fi
22693
22694 if test -z "$wx_cv_lib_gtk"; then
22695 wx_cv_lib_gtk=none
22696 else
22697 wx_cv_cflags_gtk=$GTK_CFLAGS
22698 wx_cv_libs_gtk=$GTK_LIBS
22699 fi
22700
22701
22702 fi
22703
22704
22705 if test "$gtk_version_cached" = 1; then
22706 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22707 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22708 fi
22709
22710 case "$wx_cv_lib_gtk" in
22711 2.0) WXGTK20=1
22712 TOOLKIT_VERSION=2
22713 ;;
22714 1.2.7) WXGTK127=1
22715 WXGTK12=1
22716 ;;
22717 1.2.3) WXGTK12=1
22718 ;;
22719 *) { { echo "$as_me:$LINENO: error:
22720 Please check that gtk-config is in path, the directory
22721 where GTK+ libraries are installed (returned by
22722 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22723 equivalent variable and GTK+ is version 1.2.3 or above.
22724 " >&5
22725 echo "$as_me: error:
22726 Please check that gtk-config is in path, the directory
22727 where GTK+ libraries are installed (returned by
22728 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22729 equivalent variable and GTK+ is version 1.2.3 or above.
22730 " >&2;}
22731 { (exit 1); exit 1; }; }
22732 ;;
22733 esac
22734
22735 if test "$WXGTK20" = 1; then
22736 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22737
22738 succeeded=no
22739
22740 if test -z "$PKG_CONFIG"; then
22741 # Extract the first word of "pkg-config", so it can be a program name with args.
22742 set dummy pkg-config; ac_word=$2
22743 echo "$as_me:$LINENO: checking for $ac_word" >&5
22744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22745 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22746 echo $ECHO_N "(cached) $ECHO_C" >&6
22747 else
22748 case $PKG_CONFIG in
22749 [\\/]* | ?:[\\/]*)
22750 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22751 ;;
22752 *)
22753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22754 for as_dir in $PATH
22755 do
22756 IFS=$as_save_IFS
22757 test -z "$as_dir" && as_dir=.
22758 for ac_exec_ext in '' $ac_executable_extensions; do
22759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22760 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22762 break 2
22763 fi
22764 done
22765 done
22766
22767 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22768 ;;
22769 esac
22770 fi
22771 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22772
22773 if test -n "$PKG_CONFIG"; then
22774 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22775 echo "${ECHO_T}$PKG_CONFIG" >&6
22776 else
22777 echo "$as_me:$LINENO: result: no" >&5
22778 echo "${ECHO_T}no" >&6
22779 fi
22780
22781 fi
22782
22783 if test "$PKG_CONFIG" = "no" ; then
22784 echo "*** The pkg-config script could not be found. Make sure it is"
22785 echo "*** in your path, or set the PKG_CONFIG environment variable"
22786 echo "*** to the full path to pkg-config."
22787 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22788 else
22789 PKG_CONFIG_MIN_VERSION=0.9.0
22790 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22791 echo "$as_me:$LINENO: checking for pangoft2" >&5
22792 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22793
22794 if $PKG_CONFIG --exists "pangoft2" ; then
22795 echo "$as_me:$LINENO: result: yes" >&5
22796 echo "${ECHO_T}yes" >&6
22797 succeeded=yes
22798
22799 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22800 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22801 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22802 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22803 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22804
22805 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22806 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22807 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22808 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22809 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22810 else
22811 PANGOFT2_CFLAGS=""
22812 PANGOFT2_LIBS=""
22813 ## If we have a custom action on failure, don't print errors, but
22814 ## do set a variable so people can do so.
22815 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22816
22817 fi
22818
22819
22820
22821 else
22822 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22823 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22824 fi
22825 fi
22826
22827 if test $succeeded = yes; then
22828
22829 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22830 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22831
22832 else
22833
22834 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22835 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22836 wxUSE_PRINTING_ARCHITECTURE="no"
22837
22838
22839 fi
22840
22841 fi
22842 else
22843 if test "$wxUSE_UNICODE" = "yes"; then
22844 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22845 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22846 wxUSE_UNICODE=no
22847 fi
22848 fi
22849
22850 if test "$USE_DARWIN" != 1; then
22851
22852 for ac_func in poll
22853 do
22854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22855 echo "$as_me:$LINENO: checking for $ac_func" >&5
22856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22857 if eval "test \"\${$as_ac_var+set}\" = set"; then
22858 echo $ECHO_N "(cached) $ECHO_C" >&6
22859 else
22860 cat >conftest.$ac_ext <<_ACEOF
22861 /* confdefs.h. */
22862 _ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22868 #define $ac_func innocuous_$ac_func
22869
22870 /* System header to define __stub macros and hopefully few prototypes,
22871 which can conflict with char $ac_func (); below.
22872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22873 <limits.h> exists even on freestanding compilers. */
22874
22875 #ifdef __STDC__
22876 # include <limits.h>
22877 #else
22878 # include <assert.h>
22879 #endif
22880
22881 #undef $ac_func
22882
22883 /* Override any gcc2 internal prototype to avoid an error. */
22884 #ifdef __cplusplus
22885 extern "C"
22886 {
22887 #endif
22888 /* We use char because int might match the return type of a gcc2
22889 builtin and then its argument prototype would still apply. */
22890 char $ac_func ();
22891 /* The GNU C library defines this for functions which it implements
22892 to always fail with ENOSYS. Some functions are actually named
22893 something starting with __ and the normal name is an alias. */
22894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22895 choke me
22896 #else
22897 char (*f) () = $ac_func;
22898 #endif
22899 #ifdef __cplusplus
22900 }
22901 #endif
22902
22903 int
22904 main ()
22905 {
22906 return f != $ac_func;
22907 ;
22908 return 0;
22909 }
22910 _ACEOF
22911 rm -f conftest.$ac_objext conftest$ac_exeext
22912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22913 (eval $ac_link) 2>conftest.er1
22914 ac_status=$?
22915 grep -v '^ *+' conftest.er1 >conftest.err
22916 rm -f conftest.er1
22917 cat conftest.err >&5
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); } &&
22920 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22922 (eval $ac_try) 2>&5
22923 ac_status=$?
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); }; } &&
22926 { ac_try='test -s conftest$ac_exeext'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22929 ac_status=$?
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; }; then
22932 eval "$as_ac_var=yes"
22933 else
22934 echo "$as_me: failed program was:" >&5
22935 sed 's/^/| /' conftest.$ac_ext >&5
22936
22937 eval "$as_ac_var=no"
22938 fi
22939 rm -f conftest.err conftest.$ac_objext \
22940 conftest$ac_exeext conftest.$ac_ext
22941 fi
22942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22944 if test `eval echo '${'$as_ac_var'}'` = yes; then
22945 cat >>confdefs.h <<_ACEOF
22946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22947 _ACEOF
22948
22949 fi
22950 done
22951
22952 fi
22953
22954 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22955 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22956
22957 AFMINSTALL=afminstall
22958 TOOLKIT=GTK
22959 GUIDIST=GTK_DIST
22960
22961 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22962 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22963 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 else
22966 ac_check_lib_save_LIBS=$LIBS
22967 LIBS="-lgdk $LIBS"
22968 cat >conftest.$ac_ext <<_ACEOF
22969 /* confdefs.h. */
22970 _ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974
22975 /* Override any gcc2 internal prototype to avoid an error. */
22976 #ifdef __cplusplus
22977 extern "C"
22978 #endif
22979 /* We use char because int might match the return type of a gcc2
22980 builtin and then its argument prototype would still apply. */
22981 char gdk_im_open ();
22982 int
22983 main ()
22984 {
22985 gdk_im_open ();
22986 ;
22987 return 0;
22988 }
22989 _ACEOF
22990 rm -f conftest.$ac_objext conftest$ac_exeext
22991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22992 (eval $ac_link) 2>conftest.er1
22993 ac_status=$?
22994 grep -v '^ *+' conftest.er1 >conftest.err
22995 rm -f conftest.er1
22996 cat conftest.err >&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23002 ac_status=$?
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; } &&
23005 { ac_try='test -s conftest$ac_exeext'
23006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23007 (eval $ac_try) 2>&5
23008 ac_status=$?
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); }; }; then
23011 ac_cv_lib_gdk_gdk_im_open=yes
23012 else
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.$ac_ext >&5
23015
23016 ac_cv_lib_gdk_gdk_im_open=no
23017 fi
23018 rm -f conftest.err conftest.$ac_objext \
23019 conftest$ac_exeext conftest.$ac_ext
23020 LIBS=$ac_check_lib_save_LIBS
23021 fi
23022 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
23023 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
23024 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
23025 cat >>confdefs.h <<\_ACEOF
23026 #define HAVE_XIM 1
23027 _ACEOF
23028
23029 fi
23030
23031
23032
23033 if test "$wxUSE_GPE" = "yes"; then
23034 echo "$as_me:$LINENO: checking for gpewidget library" >&5
23035 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
23036
23037 ac_find_libraries=
23038 for ac_dir in $SEARCH_LIB /usr/lib;
23039 do
23040 for ac_extension in a so sl dylib; do
23041 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
23042 ac_find_libraries=$ac_dir
23043 break 2
23044 fi
23045 done
23046 done
23047
23048 if test "$ac_find_libraries" != "" ; then
23049
23050 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23051 result=$?
23052 if test $result = 0; then
23053 ac_path_to_link=""
23054 else
23055 ac_path_to_link=" -L$ac_find_libraries"
23056 fi
23057
23058 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
23059 WXGPE=1
23060 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23061 echo "${ECHO_T}found at $ac_find_libraries" >&6
23062 else
23063 echo "$as_me:$LINENO: result: not found" >&5
23064 echo "${ECHO_T}not found" >&6
23065 fi
23066
23067 fi
23068 fi
23069
23070 if test "$wxUSE_MGL" = 1; then
23071 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
23072 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
23073 if test "x$MGL_ROOT" = x ; then
23074 echo "$as_me:$LINENO: result: not found" >&5
23075 echo "${ECHO_T}not found" >&6
23076 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
23077 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
23078 { (exit 1); exit 1; }; }
23079 else
23080 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
23081 echo "${ECHO_T}$MGL_ROOT" >&6
23082 fi
23083
23084 echo "$as_me:$LINENO: checking for libmgl location" >&5
23085 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
23086 case "${host}" in
23087 *-*-linux* )
23088 if test "x$wxUSE_SHARED" = xyes ; then
23089 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
23090 else
23091 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
23092 fi
23093 ;;
23094 *-pc-msdosdjgpp )
23095 mgl_os_candidates="dos32/dj2"
23096 ;;
23097 *)
23098 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
23099 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
23100 { (exit 1); exit 1; }; }
23101 esac
23102
23103 mgl_lib_type=""
23104 mgl_os=""
23105
23106 for mgl_os_i in $mgl_os_candidates ; do
23107 if test "x$mgl_os" = x ; then
23108 if test "$wxUSE_DEBUG_FLAG" = yes ; then
23109 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
23110 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
23111 mgl_lib_type=debug
23112 mgl_os=$mgl_os_i
23113 fi
23114 fi
23115 if test "x$mgl_lib_type" = x ; then
23116 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
23117 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
23118 mgl_lib_type=release
23119 mgl_os=$mgl_os_i
23120 fi
23121 fi
23122 fi
23123 done
23124
23125 if test "x$mgl_os" = x ; then
23126 echo "$as_me:$LINENO: result: not found" >&5
23127 echo "${ECHO_T}not found" >&6
23128 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
23129 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
23130 { (exit 1); exit 1; }; }
23131 fi
23132 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
23133 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
23134
23135 wxUSE_UNIVERSAL="yes"
23136
23137 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
23138 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
23139
23140 AFMINSTALL=afminstall
23141 TOOLKIT=MGL
23142 GUIDIST=MGL_DIST
23143 fi
23144
23145 if test "$wxUSE_MICROWIN" = 1; then
23146 echo "$as_me:$LINENO: checking for MicroWindows" >&5
23147 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
23148 if test "x$MICROWINDOWS" = x ; then
23149 echo "$as_me:$LINENO: result: not found" >&5
23150 echo "${ECHO_T}not found" >&6
23151 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
23152 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
23153 { (exit 1); exit 1; }; }
23154 else
23155 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
23156 echo "${ECHO_T}$MICROWINDOWS" >&6
23157 fi
23158
23159 if test -f $MICROWINDOWS/lib/libmwin.a; then
23160 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
23161 echo "${ECHO_T}MicroWindows' libraries found." >&6
23162 else
23163 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
23164 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
23165 { (exit 1); exit 1; }; }
23166 fi
23167
23168 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
23169 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
23170
23171 wxUSE_UNIVERSAL="yes"
23172
23173 AFMINSTALL=afminstall
23174 TOOLKIT=MICROWIN
23175 GUIDIST=MICROWIN_DIST
23176
23177 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
23178 fi
23179
23180 if test "$wxUSE_X11" = 1; then
23181 echo "$as_me:$LINENO: checking for X" >&5
23182 echo $ECHO_N "checking for X... $ECHO_C" >&6
23183
23184
23185 # Check whether --with-x or --without-x was given.
23186 if test "${with_x+set}" = set; then
23187 withval="$with_x"
23188
23189 fi;
23190 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23191 if test "x$with_x" = xno; then
23192 # The user explicitly disabled X.
23193 have_x=disabled
23194 else
23195 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
23196 # Both variables are already set.
23197 have_x=yes
23198 else
23199 if test "${ac_cv_have_x+set}" = set; then
23200 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 else
23202 # One or both of the vars are not set, and there is no cached value.
23203 ac_x_includes=no ac_x_libraries=no
23204 rm -fr conftest.dir
23205 if mkdir conftest.dir; then
23206 cd conftest.dir
23207 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
23208 cat >Imakefile <<'_ACEOF'
23209 acfindx:
23210 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
23211 _ACEOF
23212 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
23213 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
23214 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
23215 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23216 for ac_extension in a so sl; do
23217 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
23218 test -f $ac_im_libdir/libX11.$ac_extension; then
23219 ac_im_usrlibdir=$ac_im_libdir; break
23220 fi
23221 done
23222 # Screen out bogus values from the imake configuration. They are
23223 # bogus both because they are the default anyway, and because
23224 # using them would break gcc on systems where it needs fixed includes.
23225 case $ac_im_incroot in
23226 /usr/include) ;;
23227 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23228 esac
23229 case $ac_im_usrlibdir in
23230 /usr/lib | /lib) ;;
23231 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23232 esac
23233 fi
23234 cd ..
23235 rm -fr conftest.dir
23236 fi
23237
23238 # Standard set of common directories for X headers.
23239 # Check X11 before X11Rn because it is often a symlink to the current release.
23240 ac_x_header_dirs='
23241 /usr/X11/include
23242 /usr/X11R6/include
23243 /usr/X11R5/include
23244 /usr/X11R4/include
23245
23246 /usr/include/X11
23247 /usr/include/X11R6
23248 /usr/include/X11R5
23249 /usr/include/X11R4
23250
23251 /usr/local/X11/include
23252 /usr/local/X11R6/include
23253 /usr/local/X11R5/include
23254 /usr/local/X11R4/include
23255
23256 /usr/local/include/X11
23257 /usr/local/include/X11R6
23258 /usr/local/include/X11R5
23259 /usr/local/include/X11R4
23260
23261 /usr/X386/include
23262 /usr/x386/include
23263 /usr/XFree86/include/X11
23264
23265 /usr/include
23266 /usr/local/include
23267 /usr/unsupported/include
23268 /usr/athena/include
23269 /usr/local/x11r5/include
23270 /usr/lpp/Xamples/include
23271
23272 /usr/openwin/include
23273 /usr/openwin/share/include'
23274
23275 if test "$ac_x_includes" = no; then
23276 # Guess where to find include files, by looking for Intrinsic.h.
23277 # First, try using that file with no special directory specified.
23278 cat >conftest.$ac_ext <<_ACEOF
23279 /* confdefs.h. */
23280 _ACEOF
23281 cat confdefs.h >>conftest.$ac_ext
23282 cat >>conftest.$ac_ext <<_ACEOF
23283 /* end confdefs.h. */
23284 #include <X11/Intrinsic.h>
23285 _ACEOF
23286 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23287 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23288 ac_status=$?
23289 grep -v '^ *+' conftest.er1 >conftest.err
23290 rm -f conftest.er1
23291 cat conftest.err >&5
23292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23293 (exit $ac_status); } >/dev/null; then
23294 if test -s conftest.err; then
23295 ac_cpp_err=$ac_c_preproc_warn_flag
23296 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23297 else
23298 ac_cpp_err=
23299 fi
23300 else
23301 ac_cpp_err=yes
23302 fi
23303 if test -z "$ac_cpp_err"; then
23304 # We can compile using X headers with no special include directory.
23305 ac_x_includes=
23306 else
23307 echo "$as_me: failed program was:" >&5
23308 sed 's/^/| /' conftest.$ac_ext >&5
23309
23310 for ac_dir in $ac_x_header_dirs; do
23311 if test -r "$ac_dir/X11/Intrinsic.h"; then
23312 ac_x_includes=$ac_dir
23313 break
23314 fi
23315 done
23316 fi
23317 rm -f conftest.err conftest.$ac_ext
23318 fi # $ac_x_includes = no
23319
23320 if test "$ac_x_libraries" = no; then
23321 # Check for the libraries.
23322 # See if we find them without any special options.
23323 # Don't add to $LIBS permanently.
23324 ac_save_LIBS=$LIBS
23325 LIBS="-lXt $LIBS"
23326 cat >conftest.$ac_ext <<_ACEOF
23327 /* confdefs.h. */
23328 _ACEOF
23329 cat confdefs.h >>conftest.$ac_ext
23330 cat >>conftest.$ac_ext <<_ACEOF
23331 /* end confdefs.h. */
23332 #include <X11/Intrinsic.h>
23333 int
23334 main ()
23335 {
23336 XtMalloc (0)
23337 ;
23338 return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext conftest$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>conftest.er1
23344 ac_status=$?
23345 grep -v '^ *+' conftest.er1 >conftest.err
23346 rm -f conftest.er1
23347 cat conftest.err >&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; } &&
23356 { ac_try='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 LIBS=$ac_save_LIBS
23363 # We can link X programs with no special library path.
23364 ac_x_libraries=
23365 else
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.$ac_ext >&5
23368
23369 LIBS=$ac_save_LIBS
23370 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
23371 do
23372 # Don't even attempt the hair of trying to link an X program!
23373 for ac_extension in a so sl; do
23374 if test -r $ac_dir/libXt.$ac_extension; then
23375 ac_x_libraries=$ac_dir
23376 break 2
23377 fi
23378 done
23379 done
23380 fi
23381 rm -f conftest.err conftest.$ac_objext \
23382 conftest$ac_exeext conftest.$ac_ext
23383 fi # $ac_x_libraries = no
23384
23385 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
23386 # Didn't find X anywhere. Cache the known absence of X.
23387 ac_cv_have_x="have_x=no"
23388 else
23389 # Record where we found X for the cache.
23390 ac_cv_have_x="have_x=yes \
23391 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
23392 fi
23393 fi
23394
23395 fi
23396 eval "$ac_cv_have_x"
23397 fi # $with_x != no
23398
23399 if test "$have_x" != yes; then
23400 echo "$as_me:$LINENO: result: $have_x" >&5
23401 echo "${ECHO_T}$have_x" >&6
23402 no_x=yes
23403 else
23404 # If each of the values was on the command line, it overrides each guess.
23405 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
23406 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
23407 # Update the cache value to reflect the command line values.
23408 ac_cv_have_x="have_x=yes \
23409 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
23410 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
23411 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
23412 fi
23413
23414 if test "$no_x" = yes; then
23415 # Not all programs may use this symbol, but it does not hurt to define it.
23416
23417 cat >>confdefs.h <<\_ACEOF
23418 #define X_DISPLAY_MISSING 1
23419 _ACEOF
23420
23421 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23422 else
23423 if test -n "$x_includes"; then
23424 X_CFLAGS="$X_CFLAGS -I$x_includes"
23425 fi
23426
23427 # It would also be nice to do this for all -L options, not just this one.
23428 if test -n "$x_libraries"; then
23429 X_LIBS="$X_LIBS -L$x_libraries"
23430 # For Solaris; some versions of Sun CC require a space after -R and
23431 # others require no space. Words are not sufficient . . . .
23432 case `(uname -sr) 2>/dev/null` in
23433 "SunOS 5"*)
23434 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23435 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23436 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23437 cat >conftest.$ac_ext <<_ACEOF
23438 /* confdefs.h. */
23439 _ACEOF
23440 cat confdefs.h >>conftest.$ac_ext
23441 cat >>conftest.$ac_ext <<_ACEOF
23442 /* end confdefs.h. */
23443
23444 int
23445 main ()
23446 {
23447
23448 ;
23449 return 0;
23450 }
23451 _ACEOF
23452 rm -f conftest.$ac_objext conftest$ac_exeext
23453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23454 (eval $ac_link) 2>conftest.er1
23455 ac_status=$?
23456 grep -v '^ *+' conftest.er1 >conftest.err
23457 rm -f conftest.er1
23458 cat conftest.err >&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; } &&
23467 { ac_try='test -s conftest$ac_exeext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23470 ac_status=$?
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 ac_R_nospace=yes
23474 else
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23477
23478 ac_R_nospace=no
23479 fi
23480 rm -f conftest.err conftest.$ac_objext \
23481 conftest$ac_exeext conftest.$ac_ext
23482 if test $ac_R_nospace = yes; then
23483 echo "$as_me:$LINENO: result: no" >&5
23484 echo "${ECHO_T}no" >&6
23485 X_LIBS="$X_LIBS -R$x_libraries"
23486 else
23487 LIBS="$ac_xsave_LIBS -R $x_libraries"
23488 cat >conftest.$ac_ext <<_ACEOF
23489 /* confdefs.h. */
23490 _ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494
23495 int
23496 main ()
23497 {
23498
23499 ;
23500 return 0;
23501 }
23502 _ACEOF
23503 rm -f conftest.$ac_objext conftest$ac_exeext
23504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23505 (eval $ac_link) 2>conftest.er1
23506 ac_status=$?
23507 grep -v '^ *+' conftest.er1 >conftest.err
23508 rm -f conftest.er1
23509 cat conftest.err >&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23515 ac_status=$?
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; } &&
23518 { ac_try='test -s conftest$ac_exeext'
23519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520 (eval $ac_try) 2>&5
23521 ac_status=$?
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); }; }; then
23524 ac_R_space=yes
23525 else
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.$ac_ext >&5
23528
23529 ac_R_space=no
23530 fi
23531 rm -f conftest.err conftest.$ac_objext \
23532 conftest$ac_exeext conftest.$ac_ext
23533 if test $ac_R_space = yes; then
23534 echo "$as_me:$LINENO: result: yes" >&5
23535 echo "${ECHO_T}yes" >&6
23536 X_LIBS="$X_LIBS -R $x_libraries"
23537 else
23538 echo "$as_me:$LINENO: result: neither works" >&5
23539 echo "${ECHO_T}neither works" >&6
23540 fi
23541 fi
23542 LIBS=$ac_xsave_LIBS
23543 esac
23544 fi
23545
23546 # Check for system-dependent libraries X programs must link with.
23547 # Do this before checking for the system-independent R6 libraries
23548 # (-lICE), since we may need -lsocket or whatever for X linking.
23549
23550 if test "$ISC" = yes; then
23551 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23552 else
23553 # Martyn Johnson says this is needed for Ultrix, if the X
23554 # libraries were built with DECnet support. And Karl Berry says
23555 # the Alpha needs dnet_stub (dnet does not exist).
23556 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23557 cat >conftest.$ac_ext <<_ACEOF
23558 /* confdefs.h. */
23559 _ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563
23564 /* Override any gcc2 internal prototype to avoid an error. */
23565 #ifdef __cplusplus
23566 extern "C"
23567 #endif
23568 /* We use char because int might match the return type of a gcc2
23569 builtin and then its argument prototype would still apply. */
23570 char XOpenDisplay ();
23571 int
23572 main ()
23573 {
23574 XOpenDisplay ();
23575 ;
23576 return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext conftest$ac_exeext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23581 (eval $ac_link) 2>conftest.er1
23582 ac_status=$?
23583 grep -v '^ *+' conftest.er1 >conftest.err
23584 rm -f conftest.er1
23585 cat conftest.err >&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; } &&
23594 { ac_try='test -s conftest$ac_exeext'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23597 ac_status=$?
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 :
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23604
23605 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23606 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23607 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23608 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 else
23610 ac_check_lib_save_LIBS=$LIBS
23611 LIBS="-ldnet $LIBS"
23612 cat >conftest.$ac_ext <<_ACEOF
23613 /* confdefs.h. */
23614 _ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618
23619 /* Override any gcc2 internal prototype to avoid an error. */
23620 #ifdef __cplusplus
23621 extern "C"
23622 #endif
23623 /* We use char because int might match the return type of a gcc2
23624 builtin and then its argument prototype would still apply. */
23625 char dnet_ntoa ();
23626 int
23627 main ()
23628 {
23629 dnet_ntoa ();
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext conftest$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; } &&
23649 { ac_try='test -s conftest$ac_exeext'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23652 ac_status=$?
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; }; then
23655 ac_cv_lib_dnet_dnet_ntoa=yes
23656 else
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.$ac_ext >&5
23659
23660 ac_cv_lib_dnet_dnet_ntoa=no
23661 fi
23662 rm -f conftest.err conftest.$ac_objext \
23663 conftest$ac_exeext conftest.$ac_ext
23664 LIBS=$ac_check_lib_save_LIBS
23665 fi
23666 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23667 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23668 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23669 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23670 fi
23671
23672 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23673 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23674 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23675 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23677 else
23678 ac_check_lib_save_LIBS=$LIBS
23679 LIBS="-ldnet_stub $LIBS"
23680 cat >conftest.$ac_ext <<_ACEOF
23681 /* confdefs.h. */
23682 _ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23686
23687 /* Override any gcc2 internal prototype to avoid an error. */
23688 #ifdef __cplusplus
23689 extern "C"
23690 #endif
23691 /* We use char because int might match the return type of a gcc2
23692 builtin and then its argument prototype would still apply. */
23693 char dnet_ntoa ();
23694 int
23695 main ()
23696 {
23697 dnet_ntoa ();
23698 ;
23699 return 0;
23700 }
23701 _ACEOF
23702 rm -f conftest.$ac_objext conftest$ac_exeext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23704 (eval $ac_link) 2>conftest.er1
23705 ac_status=$?
23706 grep -v '^ *+' conftest.er1 >conftest.err
23707 rm -f conftest.er1
23708 cat conftest.err >&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } &&
23711 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23713 (eval $ac_try) 2>&5
23714 ac_status=$?
23715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23716 (exit $ac_status); }; } &&
23717 { ac_try='test -s conftest$ac_exeext'
23718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23719 (eval $ac_try) 2>&5
23720 ac_status=$?
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); }; }; then
23723 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23724 else
23725 echo "$as_me: failed program was:" >&5
23726 sed 's/^/| /' conftest.$ac_ext >&5
23727
23728 ac_cv_lib_dnet_stub_dnet_ntoa=no
23729 fi
23730 rm -f conftest.err conftest.$ac_objext \
23731 conftest$ac_exeext conftest.$ac_ext
23732 LIBS=$ac_check_lib_save_LIBS
23733 fi
23734 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23735 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23736 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23737 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23738 fi
23739
23740 fi
23741 fi
23742 rm -f conftest.err conftest.$ac_objext \
23743 conftest$ac_exeext conftest.$ac_ext
23744 LIBS="$ac_xsave_LIBS"
23745
23746 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23747 # to get the SysV transport functions.
23748 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23749 # needs -lnsl.
23750 # The nsl library prevents programs from opening the X display
23751 # on Irix 5.2, according to T.E. Dickey.
23752 # The functions gethostbyname, getservbyname, and inet_addr are
23753 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23754 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23755 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23756 if test "${ac_cv_func_gethostbyname+set}" = set; then
23757 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 else
23759 cat >conftest.$ac_ext <<_ACEOF
23760 /* confdefs.h. */
23761 _ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
23766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23767 #define gethostbyname innocuous_gethostbyname
23768
23769 /* System header to define __stub macros and hopefully few prototypes,
23770 which can conflict with char gethostbyname (); below.
23771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23772 <limits.h> exists even on freestanding compilers. */
23773
23774 #ifdef __STDC__
23775 # include <limits.h>
23776 #else
23777 # include <assert.h>
23778 #endif
23779
23780 #undef gethostbyname
23781
23782 /* Override any gcc2 internal prototype to avoid an error. */
23783 #ifdef __cplusplus
23784 extern "C"
23785 {
23786 #endif
23787 /* We use char because int might match the return type of a gcc2
23788 builtin and then its argument prototype would still apply. */
23789 char gethostbyname ();
23790 /* The GNU C library defines this for functions which it implements
23791 to always fail with ENOSYS. Some functions are actually named
23792 something starting with __ and the normal name is an alias. */
23793 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23794 choke me
23795 #else
23796 char (*f) () = gethostbyname;
23797 #endif
23798 #ifdef __cplusplus
23799 }
23800 #endif
23801
23802 int
23803 main ()
23804 {
23805 return f != gethostbyname;
23806 ;
23807 return 0;
23808 }
23809 _ACEOF
23810 rm -f conftest.$ac_objext conftest$ac_exeext
23811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23812 (eval $ac_link) 2>conftest.er1
23813 ac_status=$?
23814 grep -v '^ *+' conftest.er1 >conftest.err
23815 rm -f conftest.er1
23816 cat conftest.err >&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } &&
23819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23821 (eval $ac_try) 2>&5
23822 ac_status=$?
23823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23824 (exit $ac_status); }; } &&
23825 { ac_try='test -s conftest$ac_exeext'
23826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827 (eval $ac_try) 2>&5
23828 ac_status=$?
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); }; }; then
23831 ac_cv_func_gethostbyname=yes
23832 else
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23835
23836 ac_cv_func_gethostbyname=no
23837 fi
23838 rm -f conftest.err conftest.$ac_objext \
23839 conftest$ac_exeext conftest.$ac_ext
23840 fi
23841 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23842 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23843
23844 if test $ac_cv_func_gethostbyname = no; then
23845 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23846 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23847 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23849 else
23850 ac_check_lib_save_LIBS=$LIBS
23851 LIBS="-lnsl $LIBS"
23852 cat >conftest.$ac_ext <<_ACEOF
23853 /* confdefs.h. */
23854 _ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858
23859 /* Override any gcc2 internal prototype to avoid an error. */
23860 #ifdef __cplusplus
23861 extern "C"
23862 #endif
23863 /* We use char because int might match the return type of a gcc2
23864 builtin and then its argument prototype would still apply. */
23865 char gethostbyname ();
23866 int
23867 main ()
23868 {
23869 gethostbyname ();
23870 ;
23871 return 0;
23872 }
23873 _ACEOF
23874 rm -f conftest.$ac_objext conftest$ac_exeext
23875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23876 (eval $ac_link) 2>conftest.er1
23877 ac_status=$?
23878 grep -v '^ *+' conftest.er1 >conftest.err
23879 rm -f conftest.er1
23880 cat conftest.err >&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } &&
23883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23885 (eval $ac_try) 2>&5
23886 ac_status=$?
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; } &&
23889 { ac_try='test -s conftest$ac_exeext'
23890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23891 (eval $ac_try) 2>&5
23892 ac_status=$?
23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894 (exit $ac_status); }; }; then
23895 ac_cv_lib_nsl_gethostbyname=yes
23896 else
23897 echo "$as_me: failed program was:" >&5
23898 sed 's/^/| /' conftest.$ac_ext >&5
23899
23900 ac_cv_lib_nsl_gethostbyname=no
23901 fi
23902 rm -f conftest.err conftest.$ac_objext \
23903 conftest$ac_exeext conftest.$ac_ext
23904 LIBS=$ac_check_lib_save_LIBS
23905 fi
23906 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23907 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23908 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23910 fi
23911
23912 if test $ac_cv_lib_nsl_gethostbyname = no; then
23913 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23914 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23915 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23916 echo $ECHO_N "(cached) $ECHO_C" >&6
23917 else
23918 ac_check_lib_save_LIBS=$LIBS
23919 LIBS="-lbsd $LIBS"
23920 cat >conftest.$ac_ext <<_ACEOF
23921 /* confdefs.h. */
23922 _ACEOF
23923 cat confdefs.h >>conftest.$ac_ext
23924 cat >>conftest.$ac_ext <<_ACEOF
23925 /* end confdefs.h. */
23926
23927 /* Override any gcc2 internal prototype to avoid an error. */
23928 #ifdef __cplusplus
23929 extern "C"
23930 #endif
23931 /* We use char because int might match the return type of a gcc2
23932 builtin and then its argument prototype would still apply. */
23933 char gethostbyname ();
23934 int
23935 main ()
23936 {
23937 gethostbyname ();
23938 ;
23939 return 0;
23940 }
23941 _ACEOF
23942 rm -f conftest.$ac_objext conftest$ac_exeext
23943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23944 (eval $ac_link) 2>conftest.er1
23945 ac_status=$?
23946 grep -v '^ *+' conftest.er1 >conftest.err
23947 rm -f conftest.er1
23948 cat conftest.err >&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); } &&
23951 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23953 (eval $ac_try) 2>&5
23954 ac_status=$?
23955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23956 (exit $ac_status); }; } &&
23957 { ac_try='test -s conftest$ac_exeext'
23958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23959 (eval $ac_try) 2>&5
23960 ac_status=$?
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); }; }; then
23963 ac_cv_lib_bsd_gethostbyname=yes
23964 else
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23967
23968 ac_cv_lib_bsd_gethostbyname=no
23969 fi
23970 rm -f conftest.err conftest.$ac_objext \
23971 conftest$ac_exeext conftest.$ac_ext
23972 LIBS=$ac_check_lib_save_LIBS
23973 fi
23974 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23975 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23976 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23977 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23978 fi
23979
23980 fi
23981 fi
23982
23983 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23984 # socket/setsockopt and other routines are undefined under SCO ODT
23985 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23986 # on later versions), says Simon Leinen: it contains gethostby*
23987 # variants that don't use the name server (or something). -lsocket
23988 # must be given before -lnsl if both are needed. We assume that
23989 # if connect needs -lnsl, so does gethostbyname.
23990 echo "$as_me:$LINENO: checking for connect" >&5
23991 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23992 if test "${ac_cv_func_connect+set}" = set; then
23993 echo $ECHO_N "(cached) $ECHO_C" >&6
23994 else
23995 cat >conftest.$ac_ext <<_ACEOF
23996 /* confdefs.h. */
23997 _ACEOF
23998 cat confdefs.h >>conftest.$ac_ext
23999 cat >>conftest.$ac_ext <<_ACEOF
24000 /* end confdefs.h. */
24001 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24003 #define connect innocuous_connect
24004
24005 /* System header to define __stub macros and hopefully few prototypes,
24006 which can conflict with char connect (); below.
24007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24008 <limits.h> exists even on freestanding compilers. */
24009
24010 #ifdef __STDC__
24011 # include <limits.h>
24012 #else
24013 # include <assert.h>
24014 #endif
24015
24016 #undef connect
24017
24018 /* Override any gcc2 internal prototype to avoid an error. */
24019 #ifdef __cplusplus
24020 extern "C"
24021 {
24022 #endif
24023 /* We use char because int might match the return type of a gcc2
24024 builtin and then its argument prototype would still apply. */
24025 char connect ();
24026 /* The GNU C library defines this for functions which it implements
24027 to always fail with ENOSYS. Some functions are actually named
24028 something starting with __ and the normal name is an alias. */
24029 #if defined (__stub_connect) || defined (__stub___connect)
24030 choke me
24031 #else
24032 char (*f) () = connect;
24033 #endif
24034 #ifdef __cplusplus
24035 }
24036 #endif
24037
24038 int
24039 main ()
24040 {
24041 return f != connect;
24042 ;
24043 return 0;
24044 }
24045 _ACEOF
24046 rm -f conftest.$ac_objext conftest$ac_exeext
24047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24048 (eval $ac_link) 2>conftest.er1
24049 ac_status=$?
24050 grep -v '^ *+' conftest.er1 >conftest.err
24051 rm -f conftest.er1
24052 cat conftest.err >&5
24053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24054 (exit $ac_status); } &&
24055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24057 (eval $ac_try) 2>&5
24058 ac_status=$?
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); }; } &&
24061 { ac_try='test -s conftest$ac_exeext'
24062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24063 (eval $ac_try) 2>&5
24064 ac_status=$?
24065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066 (exit $ac_status); }; }; then
24067 ac_cv_func_connect=yes
24068 else
24069 echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.$ac_ext >&5
24071
24072 ac_cv_func_connect=no
24073 fi
24074 rm -f conftest.err conftest.$ac_objext \
24075 conftest$ac_exeext conftest.$ac_ext
24076 fi
24077 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24078 echo "${ECHO_T}$ac_cv_func_connect" >&6
24079
24080 if test $ac_cv_func_connect = no; then
24081 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24082 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24083 if test "${ac_cv_lib_socket_connect+set}" = set; then
24084 echo $ECHO_N "(cached) $ECHO_C" >&6
24085 else
24086 ac_check_lib_save_LIBS=$LIBS
24087 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24088 cat >conftest.$ac_ext <<_ACEOF
24089 /* confdefs.h. */
24090 _ACEOF
24091 cat confdefs.h >>conftest.$ac_ext
24092 cat >>conftest.$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094
24095 /* Override any gcc2 internal prototype to avoid an error. */
24096 #ifdef __cplusplus
24097 extern "C"
24098 #endif
24099 /* We use char because int might match the return type of a gcc2
24100 builtin and then its argument prototype would still apply. */
24101 char connect ();
24102 int
24103 main ()
24104 {
24105 connect ();
24106 ;
24107 return 0;
24108 }
24109 _ACEOF
24110 rm -f conftest.$ac_objext conftest$ac_exeext
24111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24112 (eval $ac_link) 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } &&
24119 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121 (eval $ac_try) 2>&5
24122 ac_status=$?
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); }; } &&
24125 { ac_try='test -s conftest$ac_exeext'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24128 ac_status=$?
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; }; then
24131 ac_cv_lib_socket_connect=yes
24132 else
24133 echo "$as_me: failed program was:" >&5
24134 sed 's/^/| /' conftest.$ac_ext >&5
24135
24136 ac_cv_lib_socket_connect=no
24137 fi
24138 rm -f conftest.err conftest.$ac_objext \
24139 conftest$ac_exeext conftest.$ac_ext
24140 LIBS=$ac_check_lib_save_LIBS
24141 fi
24142 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24143 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24144 if test $ac_cv_lib_socket_connect = yes; then
24145 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24146 fi
24147
24148 fi
24149
24150 # Guillermo Gomez says -lposix is necessary on A/UX.
24151 echo "$as_me:$LINENO: checking for remove" >&5
24152 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24153 if test "${ac_cv_func_remove+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24156 cat >conftest.$ac_ext <<_ACEOF
24157 /* confdefs.h. */
24158 _ACEOF
24159 cat confdefs.h >>conftest.$ac_ext
24160 cat >>conftest.$ac_ext <<_ACEOF
24161 /* end confdefs.h. */
24162 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
24163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24164 #define remove innocuous_remove
24165
24166 /* System header to define __stub macros and hopefully few prototypes,
24167 which can conflict with char remove (); below.
24168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24169 <limits.h> exists even on freestanding compilers. */
24170
24171 #ifdef __STDC__
24172 # include <limits.h>
24173 #else
24174 # include <assert.h>
24175 #endif
24176
24177 #undef remove
24178
24179 /* Override any gcc2 internal prototype to avoid an error. */
24180 #ifdef __cplusplus
24181 extern "C"
24182 {
24183 #endif
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24186 char remove ();
24187 /* The GNU C library defines this for functions which it implements
24188 to always fail with ENOSYS. Some functions are actually named
24189 something starting with __ and the normal name is an alias. */
24190 #if defined (__stub_remove) || defined (__stub___remove)
24191 choke me
24192 #else
24193 char (*f) () = remove;
24194 #endif
24195 #ifdef __cplusplus
24196 }
24197 #endif
24198
24199 int
24200 main ()
24201 {
24202 return f != remove;
24203 ;
24204 return 0;
24205 }
24206 _ACEOF
24207 rm -f conftest.$ac_objext conftest$ac_exeext
24208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24209 (eval $ac_link) 2>conftest.er1
24210 ac_status=$?
24211 grep -v '^ *+' conftest.er1 >conftest.err
24212 rm -f conftest.er1
24213 cat conftest.err >&5
24214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24215 (exit $ac_status); } &&
24216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24218 (eval $ac_try) 2>&5
24219 ac_status=$?
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); }; } &&
24222 { ac_try='test -s conftest$ac_exeext'
24223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224 (eval $ac_try) 2>&5
24225 ac_status=$?
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); }; }; then
24228 ac_cv_func_remove=yes
24229 else
24230 echo "$as_me: failed program was:" >&5
24231 sed 's/^/| /' conftest.$ac_ext >&5
24232
24233 ac_cv_func_remove=no
24234 fi
24235 rm -f conftest.err conftest.$ac_objext \
24236 conftest$ac_exeext conftest.$ac_ext
24237 fi
24238 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24239 echo "${ECHO_T}$ac_cv_func_remove" >&6
24240
24241 if test $ac_cv_func_remove = no; then
24242 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24243 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24244 if test "${ac_cv_lib_posix_remove+set}" = set; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 else
24247 ac_check_lib_save_LIBS=$LIBS
24248 LIBS="-lposix $LIBS"
24249 cat >conftest.$ac_ext <<_ACEOF
24250 /* confdefs.h. */
24251 _ACEOF
24252 cat confdefs.h >>conftest.$ac_ext
24253 cat >>conftest.$ac_ext <<_ACEOF
24254 /* end confdefs.h. */
24255
24256 /* Override any gcc2 internal prototype to avoid an error. */
24257 #ifdef __cplusplus
24258 extern "C"
24259 #endif
24260 /* We use char because int might match the return type of a gcc2
24261 builtin and then its argument prototype would still apply. */
24262 char remove ();
24263 int
24264 main ()
24265 {
24266 remove ();
24267 ;
24268 return 0;
24269 }
24270 _ACEOF
24271 rm -f conftest.$ac_objext conftest$ac_exeext
24272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24273 (eval $ac_link) 2>conftest.er1
24274 ac_status=$?
24275 grep -v '^ *+' conftest.er1 >conftest.err
24276 rm -f conftest.er1
24277 cat conftest.err >&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } &&
24280 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24282 (eval $ac_try) 2>&5
24283 ac_status=$?
24284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24285 (exit $ac_status); }; } &&
24286 { ac_try='test -s conftest$ac_exeext'
24287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24288 (eval $ac_try) 2>&5
24289 ac_status=$?
24290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24291 (exit $ac_status); }; }; then
24292 ac_cv_lib_posix_remove=yes
24293 else
24294 echo "$as_me: failed program was:" >&5
24295 sed 's/^/| /' conftest.$ac_ext >&5
24296
24297 ac_cv_lib_posix_remove=no
24298 fi
24299 rm -f conftest.err conftest.$ac_objext \
24300 conftest$ac_exeext conftest.$ac_ext
24301 LIBS=$ac_check_lib_save_LIBS
24302 fi
24303 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24304 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24305 if test $ac_cv_lib_posix_remove = yes; then
24306 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24307 fi
24308
24309 fi
24310
24311 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24312 echo "$as_me:$LINENO: checking for shmat" >&5
24313 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24314 if test "${ac_cv_func_shmat+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24316 else
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h. */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
24324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24325 #define shmat innocuous_shmat
24326
24327 /* System header to define __stub macros and hopefully few prototypes,
24328 which can conflict with char shmat (); below.
24329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24330 <limits.h> exists even on freestanding compilers. */
24331
24332 #ifdef __STDC__
24333 # include <limits.h>
24334 #else
24335 # include <assert.h>
24336 #endif
24337
24338 #undef shmat
24339
24340 /* Override any gcc2 internal prototype to avoid an error. */
24341 #ifdef __cplusplus
24342 extern "C"
24343 {
24344 #endif
24345 /* We use char because int might match the return type of a gcc2
24346 builtin and then its argument prototype would still apply. */
24347 char shmat ();
24348 /* The GNU C library defines this for functions which it implements
24349 to always fail with ENOSYS. Some functions are actually named
24350 something starting with __ and the normal name is an alias. */
24351 #if defined (__stub_shmat) || defined (__stub___shmat)
24352 choke me
24353 #else
24354 char (*f) () = shmat;
24355 #endif
24356 #ifdef __cplusplus
24357 }
24358 #endif
24359
24360 int
24361 main ()
24362 {
24363 return f != shmat;
24364 ;
24365 return 0;
24366 }
24367 _ACEOF
24368 rm -f conftest.$ac_objext conftest$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370 (eval $ac_link) 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } &&
24377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24380 ac_status=$?
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; } &&
24383 { ac_try='test -s conftest$ac_exeext'
24384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24385 (eval $ac_try) 2>&5
24386 ac_status=$?
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); }; }; then
24389 ac_cv_func_shmat=yes
24390 else
24391 echo "$as_me: failed program was:" >&5
24392 sed 's/^/| /' conftest.$ac_ext >&5
24393
24394 ac_cv_func_shmat=no
24395 fi
24396 rm -f conftest.err conftest.$ac_objext \
24397 conftest$ac_exeext conftest.$ac_ext
24398 fi
24399 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24400 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24401
24402 if test $ac_cv_func_shmat = no; then
24403 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24404 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24405 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24406 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 else
24408 ac_check_lib_save_LIBS=$LIBS
24409 LIBS="-lipc $LIBS"
24410 cat >conftest.$ac_ext <<_ACEOF
24411 /* confdefs.h. */
24412 _ACEOF
24413 cat confdefs.h >>conftest.$ac_ext
24414 cat >>conftest.$ac_ext <<_ACEOF
24415 /* end confdefs.h. */
24416
24417 /* Override any gcc2 internal prototype to avoid an error. */
24418 #ifdef __cplusplus
24419 extern "C"
24420 #endif
24421 /* We use char because int might match the return type of a gcc2
24422 builtin and then its argument prototype would still apply. */
24423 char shmat ();
24424 int
24425 main ()
24426 {
24427 shmat ();
24428 ;
24429 return 0;
24430 }
24431 _ACEOF
24432 rm -f conftest.$ac_objext conftest$ac_exeext
24433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24434 (eval $ac_link) 2>conftest.er1
24435 ac_status=$?
24436 grep -v '^ *+' conftest.er1 >conftest.err
24437 rm -f conftest.er1
24438 cat conftest.err >&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } &&
24441 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24444 ac_status=$?
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try='test -s conftest$ac_exeext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24450 ac_status=$?
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453 ac_cv_lib_ipc_shmat=yes
24454 else
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.$ac_ext >&5
24457
24458 ac_cv_lib_ipc_shmat=no
24459 fi
24460 rm -f conftest.err conftest.$ac_objext \
24461 conftest$ac_exeext conftest.$ac_ext
24462 LIBS=$ac_check_lib_save_LIBS
24463 fi
24464 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24465 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24466 if test $ac_cv_lib_ipc_shmat = yes; then
24467 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24468 fi
24469
24470 fi
24471 fi
24472
24473 # Check for libraries that X11R6 Xt/Xaw programs need.
24474 ac_save_LDFLAGS=$LDFLAGS
24475 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24476 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24477 # check for ICE first), but we must link in the order -lSM -lICE or
24478 # we get undefined symbols. So assume we have SM if we have ICE.
24479 # These have to be linked with before -lX11, unlike the other
24480 # libraries we check for below, so use a different variable.
24481 # John Interrante, Karl Berry
24482 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24483 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24484 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24486 else
24487 ac_check_lib_save_LIBS=$LIBS
24488 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24489 cat >conftest.$ac_ext <<_ACEOF
24490 /* confdefs.h. */
24491 _ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495
24496 /* Override any gcc2 internal prototype to avoid an error. */
24497 #ifdef __cplusplus
24498 extern "C"
24499 #endif
24500 /* We use char because int might match the return type of a gcc2
24501 builtin and then its argument prototype would still apply. */
24502 char IceConnectionNumber ();
24503 int
24504 main ()
24505 {
24506 IceConnectionNumber ();
24507 ;
24508 return 0;
24509 }
24510 _ACEOF
24511 rm -f conftest.$ac_objext conftest$ac_exeext
24512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24513 (eval $ac_link) 2>conftest.er1
24514 ac_status=$?
24515 grep -v '^ *+' conftest.er1 >conftest.err
24516 rm -f conftest.er1
24517 cat conftest.err >&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } &&
24520 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24522 (eval $ac_try) 2>&5
24523 ac_status=$?
24524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24525 (exit $ac_status); }; } &&
24526 { ac_try='test -s conftest$ac_exeext'
24527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24528 (eval $ac_try) 2>&5
24529 ac_status=$?
24530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24531 (exit $ac_status); }; }; then
24532 ac_cv_lib_ICE_IceConnectionNumber=yes
24533 else
24534 echo "$as_me: failed program was:" >&5
24535 sed 's/^/| /' conftest.$ac_ext >&5
24536
24537 ac_cv_lib_ICE_IceConnectionNumber=no
24538 fi
24539 rm -f conftest.err conftest.$ac_objext \
24540 conftest$ac_exeext conftest.$ac_ext
24541 LIBS=$ac_check_lib_save_LIBS
24542 fi
24543 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24544 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24545 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24546 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24547 fi
24548
24549 LDFLAGS=$ac_save_LDFLAGS
24550
24551 fi
24552
24553
24554 if test "$no_x" = "yes"; then
24555 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24556 echo "$as_me: error: X11 not found" >&2;}
24557 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24558 fi
24559
24560 GUI_TK_LIBRARY="$X_LIBS"
24561 TOOLKIT_INCLUDE="$X_CFLAGS"
24562 AFMINSTALL=afminstall
24563 COMPILED_X_PROGRAM=0
24564
24565 if test "$wxUSE_NANOX" = "yes"; then
24566 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
24567 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
24568 if test "x$MICROWIN" = x ; then
24569 echo "$as_me:$LINENO: result: not found" >&5
24570 echo "${ECHO_T}not found" >&6
24571 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
24572 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
24573 { (exit 1); exit 1; }; }
24574 else
24575 echo "$as_me:$LINENO: result: $MICROWIN" >&5
24576 echo "${ECHO_T}$MICROWIN" >&6
24577 cat >>confdefs.h <<\_ACEOF
24578 #define wxUSE_NANOX 1
24579 _ACEOF
24580
24581 fi
24582 fi
24583
24584 if test "$wxUSE_UNICODE" = "yes"; then
24585
24586 succeeded=no
24587
24588 if test -z "$PKG_CONFIG"; then
24589 # Extract the first word of "pkg-config", so it can be a program name with args.
24590 set dummy pkg-config; ac_word=$2
24591 echo "$as_me:$LINENO: checking for $ac_word" >&5
24592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24593 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24594 echo $ECHO_N "(cached) $ECHO_C" >&6
24595 else
24596 case $PKG_CONFIG in
24597 [\\/]* | ?:[\\/]*)
24598 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24599 ;;
24600 *)
24601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24602 for as_dir in $PATH
24603 do
24604 IFS=$as_save_IFS
24605 test -z "$as_dir" && as_dir=.
24606 for ac_exec_ext in '' $ac_executable_extensions; do
24607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24608 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24610 break 2
24611 fi
24612 done
24613 done
24614
24615 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24616 ;;
24617 esac
24618 fi
24619 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24620
24621 if test -n "$PKG_CONFIG"; then
24622 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24623 echo "${ECHO_T}$PKG_CONFIG" >&6
24624 else
24625 echo "$as_me:$LINENO: result: no" >&5
24626 echo "${ECHO_T}no" >&6
24627 fi
24628
24629 fi
24630
24631 if test "$PKG_CONFIG" = "no" ; then
24632 echo "*** The pkg-config script could not be found. Make sure it is"
24633 echo "*** in your path, or set the PKG_CONFIG environment variable"
24634 echo "*** to the full path to pkg-config."
24635 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24636 else
24637 PKG_CONFIG_MIN_VERSION=0.9.0
24638 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24639 echo "$as_me:$LINENO: checking for pangox" >&5
24640 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
24641
24642 if $PKG_CONFIG --exists "pangox" ; then
24643 echo "$as_me:$LINENO: result: yes" >&5
24644 echo "${ECHO_T}yes" >&6
24645 succeeded=yes
24646
24647 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
24648 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
24649 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
24650 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
24651 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
24652
24653 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
24654 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
24655 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
24656 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
24657 echo "${ECHO_T}$PANGOX_LIBS" >&6
24658 else
24659 PANGOX_CFLAGS=""
24660 PANGOX_LIBS=""
24661 ## If we have a custom action on failure, don't print errors, but
24662 ## do set a variable so people can do so.
24663 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
24664
24665 fi
24666
24667
24668
24669 else
24670 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24671 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24672 fi
24673 fi
24674
24675 if test $succeeded = yes; then
24676
24677 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
24678 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
24679
24680 else
24681
24682 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
24683 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
24684 { (exit 1); exit 1; }; }
24685
24686
24687 fi
24688
24689
24690 succeeded=no
24691
24692 if test -z "$PKG_CONFIG"; then
24693 # Extract the first word of "pkg-config", so it can be a program name with args.
24694 set dummy pkg-config; ac_word=$2
24695 echo "$as_me:$LINENO: checking for $ac_word" >&5
24696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24697 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24699 else
24700 case $PKG_CONFIG in
24701 [\\/]* | ?:[\\/]*)
24702 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24703 ;;
24704 *)
24705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24706 for as_dir in $PATH
24707 do
24708 IFS=$as_save_IFS
24709 test -z "$as_dir" && as_dir=.
24710 for ac_exec_ext in '' $ac_executable_extensions; do
24711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24712 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24714 break 2
24715 fi
24716 done
24717 done
24718
24719 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24720 ;;
24721 esac
24722 fi
24723 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24724
24725 if test -n "$PKG_CONFIG"; then
24726 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24727 echo "${ECHO_T}$PKG_CONFIG" >&6
24728 else
24729 echo "$as_me:$LINENO: result: no" >&5
24730 echo "${ECHO_T}no" >&6
24731 fi
24732
24733 fi
24734
24735 if test "$PKG_CONFIG" = "no" ; then
24736 echo "*** The pkg-config script could not be found. Make sure it is"
24737 echo "*** in your path, or set the PKG_CONFIG environment variable"
24738 echo "*** to the full path to pkg-config."
24739 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24740 else
24741 PKG_CONFIG_MIN_VERSION=0.9.0
24742 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24743 echo "$as_me:$LINENO: checking for pangoft2" >&5
24744 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
24745
24746 if $PKG_CONFIG --exists "pangoft2" ; then
24747 echo "$as_me:$LINENO: result: yes" >&5
24748 echo "${ECHO_T}yes" >&6
24749 succeeded=yes
24750
24751 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
24752 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
24753 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
24754 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
24755 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
24756
24757 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
24758 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
24759 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
24760 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
24761 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
24762 else
24763 PANGOFT2_CFLAGS=""
24764 PANGOFT2_LIBS=""
24765 ## If we have a custom action on failure, don't print errors, but
24766 ## do set a variable so people can do so.
24767 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
24768
24769 fi
24770
24771
24772
24773 else
24774 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24775 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24776 fi
24777 fi
24778
24779 if test $succeeded = yes; then
24780
24781 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
24782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
24783
24784 else
24785
24786 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
24787 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
24788 wxUSE_PRINTING_ARCHITECTURE="no"
24789
24790
24791 fi
24792
24793
24794 succeeded=no
24795
24796 if test -z "$PKG_CONFIG"; then
24797 # Extract the first word of "pkg-config", so it can be a program name with args.
24798 set dummy pkg-config; ac_word=$2
24799 echo "$as_me:$LINENO: checking for $ac_word" >&5
24800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24801 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24802 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 else
24804 case $PKG_CONFIG in
24805 [\\/]* | ?:[\\/]*)
24806 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24807 ;;
24808 *)
24809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24810 for as_dir in $PATH
24811 do
24812 IFS=$as_save_IFS
24813 test -z "$as_dir" && as_dir=.
24814 for ac_exec_ext in '' $ac_executable_extensions; do
24815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24816 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24818 break 2
24819 fi
24820 done
24821 done
24822
24823 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24824 ;;
24825 esac
24826 fi
24827 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24828
24829 if test -n "$PKG_CONFIG"; then
24830 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24831 echo "${ECHO_T}$PKG_CONFIG" >&6
24832 else
24833 echo "$as_me:$LINENO: result: no" >&5
24834 echo "${ECHO_T}no" >&6
24835 fi
24836
24837 fi
24838
24839 if test "$PKG_CONFIG" = "no" ; then
24840 echo "*** The pkg-config script could not be found. Make sure it is"
24841 echo "*** in your path, or set the PKG_CONFIG environment variable"
24842 echo "*** to the full path to pkg-config."
24843 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24844 else
24845 PKG_CONFIG_MIN_VERSION=0.9.0
24846 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24847 echo "$as_me:$LINENO: checking for pangoxft" >&5
24848 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24849
24850 if $PKG_CONFIG --exists "pangoxft" ; then
24851 echo "$as_me:$LINENO: result: yes" >&5
24852 echo "${ECHO_T}yes" >&6
24853 succeeded=yes
24854
24855 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24856 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24857 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24858 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24859 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24860
24861 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24862 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24863 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24864 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24865 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24866 else
24867 PANGOXFT_CFLAGS=""
24868 PANGOXFT_LIBS=""
24869 ## If we have a custom action on failure, don't print errors, but
24870 ## do set a variable so people can do so.
24871 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24872
24873 fi
24874
24875
24876
24877 else
24878 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24879 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24880 fi
24881 fi
24882
24883 if test $succeeded = yes; then
24884
24885 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24887
24888 else
24889
24890 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24891 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24892
24893
24894 fi
24895
24896 fi
24897
24898 wxUSE_UNIVERSAL="yes"
24899
24900 if test "$wxUSE_NANOX" = "yes"; then
24901 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24902 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"
24903 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24904 else
24905 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24906 fi
24907
24908 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24909 TOOLKIT=X11
24910 GUIDIST=X11_DIST
24911 fi
24912
24913 if test "$wxUSE_MOTIF" = 1; then
24914 if test "$no_x" = yes; then
24915 # Not all programs may use this symbol, but it does not hurt to define it.
24916
24917 cat >>confdefs.h <<\_ACEOF
24918 #define X_DISPLAY_MISSING 1
24919 _ACEOF
24920
24921 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24922 else
24923 if test -n "$x_includes"; then
24924 X_CFLAGS="$X_CFLAGS -I$x_includes"
24925 fi
24926
24927 # It would also be nice to do this for all -L options, not just this one.
24928 if test -n "$x_libraries"; then
24929 X_LIBS="$X_LIBS -L$x_libraries"
24930 # For Solaris; some versions of Sun CC require a space after -R and
24931 # others require no space. Words are not sufficient . . . .
24932 case `(uname -sr) 2>/dev/null` in
24933 "SunOS 5"*)
24934 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24935 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24936 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24937 cat >conftest.$ac_ext <<_ACEOF
24938 /* confdefs.h. */
24939 _ACEOF
24940 cat confdefs.h >>conftest.$ac_ext
24941 cat >>conftest.$ac_ext <<_ACEOF
24942 /* end confdefs.h. */
24943
24944 int
24945 main ()
24946 {
24947
24948 ;
24949 return 0;
24950 }
24951 _ACEOF
24952 rm -f conftest.$ac_objext conftest$ac_exeext
24953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24954 (eval $ac_link) 2>conftest.er1
24955 ac_status=$?
24956 grep -v '^ *+' conftest.er1 >conftest.err
24957 rm -f conftest.er1
24958 cat conftest.err >&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24964 ac_status=$?
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; } &&
24967 { ac_try='test -s conftest$ac_exeext'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24970 ac_status=$?
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 ac_R_nospace=yes
24974 else
24975 echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.$ac_ext >&5
24977
24978 ac_R_nospace=no
24979 fi
24980 rm -f conftest.err conftest.$ac_objext \
24981 conftest$ac_exeext conftest.$ac_ext
24982 if test $ac_R_nospace = yes; then
24983 echo "$as_me:$LINENO: result: no" >&5
24984 echo "${ECHO_T}no" >&6
24985 X_LIBS="$X_LIBS -R$x_libraries"
24986 else
24987 LIBS="$ac_xsave_LIBS -R $x_libraries"
24988 cat >conftest.$ac_ext <<_ACEOF
24989 /* confdefs.h. */
24990 _ACEOF
24991 cat confdefs.h >>conftest.$ac_ext
24992 cat >>conftest.$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994
24995 int
24996 main ()
24997 {
24998
24999 ;
25000 return 0;
25001 }
25002 _ACEOF
25003 rm -f conftest.$ac_objext conftest$ac_exeext
25004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25005 (eval $ac_link) 2>conftest.er1
25006 ac_status=$?
25007 grep -v '^ *+' conftest.er1 >conftest.err
25008 rm -f conftest.er1
25009 cat conftest.err >&5
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); } &&
25012 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25015 ac_status=$?
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; } &&
25018 { ac_try='test -s conftest$ac_exeext'
25019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25020 (eval $ac_try) 2>&5
25021 ac_status=$?
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); }; }; then
25024 ac_R_space=yes
25025 else
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.$ac_ext >&5
25028
25029 ac_R_space=no
25030 fi
25031 rm -f conftest.err conftest.$ac_objext \
25032 conftest$ac_exeext conftest.$ac_ext
25033 if test $ac_R_space = yes; then
25034 echo "$as_me:$LINENO: result: yes" >&5
25035 echo "${ECHO_T}yes" >&6
25036 X_LIBS="$X_LIBS -R $x_libraries"
25037 else
25038 echo "$as_me:$LINENO: result: neither works" >&5
25039 echo "${ECHO_T}neither works" >&6
25040 fi
25041 fi
25042 LIBS=$ac_xsave_LIBS
25043 esac
25044 fi
25045
25046 # Check for system-dependent libraries X programs must link with.
25047 # Do this before checking for the system-independent R6 libraries
25048 # (-lICE), since we may need -lsocket or whatever for X linking.
25049
25050 if test "$ISC" = yes; then
25051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25052 else
25053 # Martyn Johnson says this is needed for Ultrix, if the X
25054 # libraries were built with DECnet support. And Karl Berry says
25055 # the Alpha needs dnet_stub (dnet does not exist).
25056 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25057 cat >conftest.$ac_ext <<_ACEOF
25058 /* confdefs.h. */
25059 _ACEOF
25060 cat confdefs.h >>conftest.$ac_ext
25061 cat >>conftest.$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25063
25064 /* Override any gcc2 internal prototype to avoid an error. */
25065 #ifdef __cplusplus
25066 extern "C"
25067 #endif
25068 /* We use char because int might match the return type of a gcc2
25069 builtin and then its argument prototype would still apply. */
25070 char XOpenDisplay ();
25071 int
25072 main ()
25073 {
25074 XOpenDisplay ();
25075 ;
25076 return 0;
25077 }
25078 _ACEOF
25079 rm -f conftest.$ac_objext conftest$ac_exeext
25080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25081 (eval $ac_link) 2>conftest.er1
25082 ac_status=$?
25083 grep -v '^ *+' conftest.er1 >conftest.err
25084 rm -f conftest.er1
25085 cat conftest.err >&5
25086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25087 (exit $ac_status); } &&
25088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25091 ac_status=$?
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; } &&
25094 { ac_try='test -s conftest$ac_exeext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25097 ac_status=$?
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25100 :
25101 else
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.$ac_ext >&5
25104
25105 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
25106 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
25107 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
25108 echo $ECHO_N "(cached) $ECHO_C" >&6
25109 else
25110 ac_check_lib_save_LIBS=$LIBS
25111 LIBS="-ldnet $LIBS"
25112 cat >conftest.$ac_ext <<_ACEOF
25113 /* confdefs.h. */
25114 _ACEOF
25115 cat confdefs.h >>conftest.$ac_ext
25116 cat >>conftest.$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25118
25119 /* Override any gcc2 internal prototype to avoid an error. */
25120 #ifdef __cplusplus
25121 extern "C"
25122 #endif
25123 /* We use char because int might match the return type of a gcc2
25124 builtin and then its argument prototype would still apply. */
25125 char dnet_ntoa ();
25126 int
25127 main ()
25128 {
25129 dnet_ntoa ();
25130 ;
25131 return 0;
25132 }
25133 _ACEOF
25134 rm -f conftest.$ac_objext conftest$ac_exeext
25135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25136 (eval $ac_link) 2>conftest.er1
25137 ac_status=$?
25138 grep -v '^ *+' conftest.er1 >conftest.err
25139 rm -f conftest.er1
25140 cat conftest.err >&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); } &&
25143 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25145 (eval $ac_try) 2>&5
25146 ac_status=$?
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); }; } &&
25149 { ac_try='test -s conftest$ac_exeext'
25150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25151 (eval $ac_try) 2>&5
25152 ac_status=$?
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); }; }; then
25155 ac_cv_lib_dnet_dnet_ntoa=yes
25156 else
25157 echo "$as_me: failed program was:" >&5
25158 sed 's/^/| /' conftest.$ac_ext >&5
25159
25160 ac_cv_lib_dnet_dnet_ntoa=no
25161 fi
25162 rm -f conftest.err conftest.$ac_objext \
25163 conftest$ac_exeext conftest.$ac_ext
25164 LIBS=$ac_check_lib_save_LIBS
25165 fi
25166 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25167 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
25168 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
25169 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25170 fi
25171
25172 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25173 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
25174 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
25175 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
25176 echo $ECHO_N "(cached) $ECHO_C" >&6
25177 else
25178 ac_check_lib_save_LIBS=$LIBS
25179 LIBS="-ldnet_stub $LIBS"
25180 cat >conftest.$ac_ext <<_ACEOF
25181 /* confdefs.h. */
25182 _ACEOF
25183 cat confdefs.h >>conftest.$ac_ext
25184 cat >>conftest.$ac_ext <<_ACEOF
25185 /* end confdefs.h. */
25186
25187 /* Override any gcc2 internal prototype to avoid an error. */
25188 #ifdef __cplusplus
25189 extern "C"
25190 #endif
25191 /* We use char because int might match the return type of a gcc2
25192 builtin and then its argument prototype would still apply. */
25193 char dnet_ntoa ();
25194 int
25195 main ()
25196 {
25197 dnet_ntoa ();
25198 ;
25199 return 0;
25200 }
25201 _ACEOF
25202 rm -f conftest.$ac_objext conftest$ac_exeext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25204 (eval $ac_link) 2>conftest.er1
25205 ac_status=$?
25206 grep -v '^ *+' conftest.er1 >conftest.err
25207 rm -f conftest.er1
25208 cat conftest.err >&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } &&
25211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25213 (eval $ac_try) 2>&5
25214 ac_status=$?
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); }; } &&
25217 { ac_try='test -s conftest$ac_exeext'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25220 ac_status=$?
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; }; then
25223 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25224 else
25225 echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.$ac_ext >&5
25227
25228 ac_cv_lib_dnet_stub_dnet_ntoa=no
25229 fi
25230 rm -f conftest.err conftest.$ac_objext \
25231 conftest$ac_exeext conftest.$ac_ext
25232 LIBS=$ac_check_lib_save_LIBS
25233 fi
25234 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25235 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
25236 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
25237 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25238 fi
25239
25240 fi
25241 fi
25242 rm -f conftest.err conftest.$ac_objext \
25243 conftest$ac_exeext conftest.$ac_ext
25244 LIBS="$ac_xsave_LIBS"
25245
25246 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25247 # to get the SysV transport functions.
25248 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25249 # needs -lnsl.
25250 # The nsl library prevents programs from opening the X display
25251 # on Irix 5.2, according to T.E. Dickey.
25252 # The functions gethostbyname, getservbyname, and inet_addr are
25253 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25254 echo "$as_me:$LINENO: checking for gethostbyname" >&5
25255 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
25256 if test "${ac_cv_func_gethostbyname+set}" = set; then
25257 echo $ECHO_N "(cached) $ECHO_C" >&6
25258 else
25259 cat >conftest.$ac_ext <<_ACEOF
25260 /* confdefs.h. */
25261 _ACEOF
25262 cat confdefs.h >>conftest.$ac_ext
25263 cat >>conftest.$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25265 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
25266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25267 #define gethostbyname innocuous_gethostbyname
25268
25269 /* System header to define __stub macros and hopefully few prototypes,
25270 which can conflict with char gethostbyname (); below.
25271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25272 <limits.h> exists even on freestanding compilers. */
25273
25274 #ifdef __STDC__
25275 # include <limits.h>
25276 #else
25277 # include <assert.h>
25278 #endif
25279
25280 #undef gethostbyname
25281
25282 /* Override any gcc2 internal prototype to avoid an error. */
25283 #ifdef __cplusplus
25284 extern "C"
25285 {
25286 #endif
25287 /* We use char because int might match the return type of a gcc2
25288 builtin and then its argument prototype would still apply. */
25289 char gethostbyname ();
25290 /* The GNU C library defines this for functions which it implements
25291 to always fail with ENOSYS. Some functions are actually named
25292 something starting with __ and the normal name is an alias. */
25293 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
25294 choke me
25295 #else
25296 char (*f) () = gethostbyname;
25297 #endif
25298 #ifdef __cplusplus
25299 }
25300 #endif
25301
25302 int
25303 main ()
25304 {
25305 return f != gethostbyname;
25306 ;
25307 return 0;
25308 }
25309 _ACEOF
25310 rm -f conftest.$ac_objext conftest$ac_exeext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25312 (eval $ac_link) 2>conftest.er1
25313 ac_status=$?
25314 grep -v '^ *+' conftest.er1 >conftest.err
25315 rm -f conftest.er1
25316 cat conftest.err >&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); } &&
25319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25321 (eval $ac_try) 2>&5
25322 ac_status=$?
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); }; } &&
25325 { ac_try='test -s conftest$ac_exeext'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25328 ac_status=$?
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; }; then
25331 ac_cv_func_gethostbyname=yes
25332 else
25333 echo "$as_me: failed program was:" >&5
25334 sed 's/^/| /' conftest.$ac_ext >&5
25335
25336 ac_cv_func_gethostbyname=no
25337 fi
25338 rm -f conftest.err conftest.$ac_objext \
25339 conftest$ac_exeext conftest.$ac_ext
25340 fi
25341 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
25342 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
25343
25344 if test $ac_cv_func_gethostbyname = no; then
25345 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
25346 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
25347 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25349 else
25350 ac_check_lib_save_LIBS=$LIBS
25351 LIBS="-lnsl $LIBS"
25352 cat >conftest.$ac_ext <<_ACEOF
25353 /* confdefs.h. */
25354 _ACEOF
25355 cat confdefs.h >>conftest.$ac_ext
25356 cat >>conftest.$ac_ext <<_ACEOF
25357 /* end confdefs.h. */
25358
25359 /* Override any gcc2 internal prototype to avoid an error. */
25360 #ifdef __cplusplus
25361 extern "C"
25362 #endif
25363 /* We use char because int might match the return type of a gcc2
25364 builtin and then its argument prototype would still apply. */
25365 char gethostbyname ();
25366 int
25367 main ()
25368 {
25369 gethostbyname ();
25370 ;
25371 return 0;
25372 }
25373 _ACEOF
25374 rm -f conftest.$ac_objext conftest$ac_exeext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25376 (eval $ac_link) 2>conftest.er1
25377 ac_status=$?
25378 grep -v '^ *+' conftest.er1 >conftest.err
25379 rm -f conftest.er1
25380 cat conftest.err >&5
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); } &&
25383 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25386 ac_status=$?
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; } &&
25389 { ac_try='test -s conftest$ac_exeext'
25390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25391 (eval $ac_try) 2>&5
25392 ac_status=$?
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); }; }; then
25395 ac_cv_lib_nsl_gethostbyname=yes
25396 else
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25399
25400 ac_cv_lib_nsl_gethostbyname=no
25401 fi
25402 rm -f conftest.err conftest.$ac_objext \
25403 conftest$ac_exeext conftest.$ac_ext
25404 LIBS=$ac_check_lib_save_LIBS
25405 fi
25406 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
25407 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
25408 if test $ac_cv_lib_nsl_gethostbyname = yes; then
25409 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25410 fi
25411
25412 if test $ac_cv_lib_nsl_gethostbyname = no; then
25413 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
25414 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
25415 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
25416 echo $ECHO_N "(cached) $ECHO_C" >&6
25417 else
25418 ac_check_lib_save_LIBS=$LIBS
25419 LIBS="-lbsd $LIBS"
25420 cat >conftest.$ac_ext <<_ACEOF
25421 /* confdefs.h. */
25422 _ACEOF
25423 cat confdefs.h >>conftest.$ac_ext
25424 cat >>conftest.$ac_ext <<_ACEOF
25425 /* end confdefs.h. */
25426
25427 /* Override any gcc2 internal prototype to avoid an error. */
25428 #ifdef __cplusplus
25429 extern "C"
25430 #endif
25431 /* We use char because int might match the return type of a gcc2
25432 builtin and then its argument prototype would still apply. */
25433 char gethostbyname ();
25434 int
25435 main ()
25436 {
25437 gethostbyname ();
25438 ;
25439 return 0;
25440 }
25441 _ACEOF
25442 rm -f conftest.$ac_objext conftest$ac_exeext
25443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25444 (eval $ac_link) 2>conftest.er1
25445 ac_status=$?
25446 grep -v '^ *+' conftest.er1 >conftest.err
25447 rm -f conftest.er1
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } &&
25451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25453 (eval $ac_try) 2>&5
25454 ac_status=$?
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); }; } &&
25457 { ac_try='test -s conftest$ac_exeext'
25458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25459 (eval $ac_try) 2>&5
25460 ac_status=$?
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); }; }; then
25463 ac_cv_lib_bsd_gethostbyname=yes
25464 else
25465 echo "$as_me: failed program was:" >&5
25466 sed 's/^/| /' conftest.$ac_ext >&5
25467
25468 ac_cv_lib_bsd_gethostbyname=no
25469 fi
25470 rm -f conftest.err conftest.$ac_objext \
25471 conftest$ac_exeext conftest.$ac_ext
25472 LIBS=$ac_check_lib_save_LIBS
25473 fi
25474 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
25475 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
25476 if test $ac_cv_lib_bsd_gethostbyname = yes; then
25477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25478 fi
25479
25480 fi
25481 fi
25482
25483 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25484 # socket/setsockopt and other routines are undefined under SCO ODT
25485 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25486 # on later versions), says Simon Leinen: it contains gethostby*
25487 # variants that don't use the name server (or something). -lsocket
25488 # must be given before -lnsl if both are needed. We assume that
25489 # if connect needs -lnsl, so does gethostbyname.
25490 echo "$as_me:$LINENO: checking for connect" >&5
25491 echo $ECHO_N "checking for connect... $ECHO_C" >&6
25492 if test "${ac_cv_func_connect+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 else
25495 cat >conftest.$ac_ext <<_ACEOF
25496 /* confdefs.h. */
25497 _ACEOF
25498 cat confdefs.h >>conftest.$ac_ext
25499 cat >>conftest.$ac_ext <<_ACEOF
25500 /* end confdefs.h. */
25501 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
25502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25503 #define connect innocuous_connect
25504
25505 /* System header to define __stub macros and hopefully few prototypes,
25506 which can conflict with char connect (); below.
25507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25508 <limits.h> exists even on freestanding compilers. */
25509
25510 #ifdef __STDC__
25511 # include <limits.h>
25512 #else
25513 # include <assert.h>
25514 #endif
25515
25516 #undef connect
25517
25518 /* Override any gcc2 internal prototype to avoid an error. */
25519 #ifdef __cplusplus
25520 extern "C"
25521 {
25522 #endif
25523 /* We use char because int might match the return type of a gcc2
25524 builtin and then its argument prototype would still apply. */
25525 char connect ();
25526 /* The GNU C library defines this for functions which it implements
25527 to always fail with ENOSYS. Some functions are actually named
25528 something starting with __ and the normal name is an alias. */
25529 #if defined (__stub_connect) || defined (__stub___connect)
25530 choke me
25531 #else
25532 char (*f) () = connect;
25533 #endif
25534 #ifdef __cplusplus
25535 }
25536 #endif
25537
25538 int
25539 main ()
25540 {
25541 return f != connect;
25542 ;
25543 return 0;
25544 }
25545 _ACEOF
25546 rm -f conftest.$ac_objext conftest$ac_exeext
25547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25548 (eval $ac_link) 2>conftest.er1
25549 ac_status=$?
25550 grep -v '^ *+' conftest.er1 >conftest.err
25551 rm -f conftest.er1
25552 cat conftest.err >&5
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); } &&
25555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557 (eval $ac_try) 2>&5
25558 ac_status=$?
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); }; } &&
25561 { ac_try='test -s conftest$ac_exeext'
25562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25563 (eval $ac_try) 2>&5
25564 ac_status=$?
25565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25566 (exit $ac_status); }; }; then
25567 ac_cv_func_connect=yes
25568 else
25569 echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25571
25572 ac_cv_func_connect=no
25573 fi
25574 rm -f conftest.err conftest.$ac_objext \
25575 conftest$ac_exeext conftest.$ac_ext
25576 fi
25577 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
25578 echo "${ECHO_T}$ac_cv_func_connect" >&6
25579
25580 if test $ac_cv_func_connect = no; then
25581 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
25582 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
25583 if test "${ac_cv_lib_socket_connect+set}" = set; then
25584 echo $ECHO_N "(cached) $ECHO_C" >&6
25585 else
25586 ac_check_lib_save_LIBS=$LIBS
25587 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25588 cat >conftest.$ac_ext <<_ACEOF
25589 /* confdefs.h. */
25590 _ACEOF
25591 cat confdefs.h >>conftest.$ac_ext
25592 cat >>conftest.$ac_ext <<_ACEOF
25593 /* end confdefs.h. */
25594
25595 /* Override any gcc2 internal prototype to avoid an error. */
25596 #ifdef __cplusplus
25597 extern "C"
25598 #endif
25599 /* We use char because int might match the return type of a gcc2
25600 builtin and then its argument prototype would still apply. */
25601 char connect ();
25602 int
25603 main ()
25604 {
25605 connect ();
25606 ;
25607 return 0;
25608 }
25609 _ACEOF
25610 rm -f conftest.$ac_objext conftest$ac_exeext
25611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25612 (eval $ac_link) 2>conftest.er1
25613 ac_status=$?
25614 grep -v '^ *+' conftest.er1 >conftest.err
25615 rm -f conftest.er1
25616 cat conftest.err >&5
25617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25618 (exit $ac_status); } &&
25619 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25621 (eval $ac_try) 2>&5
25622 ac_status=$?
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); }; } &&
25625 { ac_try='test -s conftest$ac_exeext'
25626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25627 (eval $ac_try) 2>&5
25628 ac_status=$?
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); }; }; then
25631 ac_cv_lib_socket_connect=yes
25632 else
25633 echo "$as_me: failed program was:" >&5
25634 sed 's/^/| /' conftest.$ac_ext >&5
25635
25636 ac_cv_lib_socket_connect=no
25637 fi
25638 rm -f conftest.err conftest.$ac_objext \
25639 conftest$ac_exeext conftest.$ac_ext
25640 LIBS=$ac_check_lib_save_LIBS
25641 fi
25642 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
25643 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
25644 if test $ac_cv_lib_socket_connect = yes; then
25645 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25646 fi
25647
25648 fi
25649
25650 # Guillermo Gomez says -lposix is necessary on A/UX.
25651 echo "$as_me:$LINENO: checking for remove" >&5
25652 echo $ECHO_N "checking for remove... $ECHO_C" >&6
25653 if test "${ac_cv_func_remove+set}" = set; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 else
25656 cat >conftest.$ac_ext <<_ACEOF
25657 /* confdefs.h. */
25658 _ACEOF
25659 cat confdefs.h >>conftest.$ac_ext
25660 cat >>conftest.$ac_ext <<_ACEOF
25661 /* end confdefs.h. */
25662 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
25663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25664 #define remove innocuous_remove
25665
25666 /* System header to define __stub macros and hopefully few prototypes,
25667 which can conflict with char remove (); below.
25668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25669 <limits.h> exists even on freestanding compilers. */
25670
25671 #ifdef __STDC__
25672 # include <limits.h>
25673 #else
25674 # include <assert.h>
25675 #endif
25676
25677 #undef remove
25678
25679 /* Override any gcc2 internal prototype to avoid an error. */
25680 #ifdef __cplusplus
25681 extern "C"
25682 {
25683 #endif
25684 /* We use char because int might match the return type of a gcc2
25685 builtin and then its argument prototype would still apply. */
25686 char remove ();
25687 /* The GNU C library defines this for functions which it implements
25688 to always fail with ENOSYS. Some functions are actually named
25689 something starting with __ and the normal name is an alias. */
25690 #if defined (__stub_remove) || defined (__stub___remove)
25691 choke me
25692 #else
25693 char (*f) () = remove;
25694 #endif
25695 #ifdef __cplusplus
25696 }
25697 #endif
25698
25699 int
25700 main ()
25701 {
25702 return f != remove;
25703 ;
25704 return 0;
25705 }
25706 _ACEOF
25707 rm -f conftest.$ac_objext conftest$ac_exeext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25709 (eval $ac_link) 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } &&
25716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25718 (eval $ac_try) 2>&5
25719 ac_status=$?
25720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25721 (exit $ac_status); }; } &&
25722 { ac_try='test -s conftest$ac_exeext'
25723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25724 (eval $ac_try) 2>&5
25725 ac_status=$?
25726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727 (exit $ac_status); }; }; then
25728 ac_cv_func_remove=yes
25729 else
25730 echo "$as_me: failed program was:" >&5
25731 sed 's/^/| /' conftest.$ac_ext >&5
25732
25733 ac_cv_func_remove=no
25734 fi
25735 rm -f conftest.err conftest.$ac_objext \
25736 conftest$ac_exeext conftest.$ac_ext
25737 fi
25738 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
25739 echo "${ECHO_T}$ac_cv_func_remove" >&6
25740
25741 if test $ac_cv_func_remove = no; then
25742 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
25743 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
25744 if test "${ac_cv_lib_posix_remove+set}" = set; then
25745 echo $ECHO_N "(cached) $ECHO_C" >&6
25746 else
25747 ac_check_lib_save_LIBS=$LIBS
25748 LIBS="-lposix $LIBS"
25749 cat >conftest.$ac_ext <<_ACEOF
25750 /* confdefs.h. */
25751 _ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25755
25756 /* Override any gcc2 internal prototype to avoid an error. */
25757 #ifdef __cplusplus
25758 extern "C"
25759 #endif
25760 /* We use char because int might match the return type of a gcc2
25761 builtin and then its argument prototype would still apply. */
25762 char remove ();
25763 int
25764 main ()
25765 {
25766 remove ();
25767 ;
25768 return 0;
25769 }
25770 _ACEOF
25771 rm -f conftest.$ac_objext conftest$ac_exeext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25773 (eval $ac_link) 2>conftest.er1
25774 ac_status=$?
25775 grep -v '^ *+' conftest.er1 >conftest.err
25776 rm -f conftest.er1
25777 cat conftest.err >&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } &&
25780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25782 (eval $ac_try) 2>&5
25783 ac_status=$?
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); }; } &&
25786 { ac_try='test -s conftest$ac_exeext'
25787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788 (eval $ac_try) 2>&5
25789 ac_status=$?
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); }; }; then
25792 ac_cv_lib_posix_remove=yes
25793 else
25794 echo "$as_me: failed program was:" >&5
25795 sed 's/^/| /' conftest.$ac_ext >&5
25796
25797 ac_cv_lib_posix_remove=no
25798 fi
25799 rm -f conftest.err conftest.$ac_objext \
25800 conftest$ac_exeext conftest.$ac_ext
25801 LIBS=$ac_check_lib_save_LIBS
25802 fi
25803 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
25804 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
25805 if test $ac_cv_lib_posix_remove = yes; then
25806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25807 fi
25808
25809 fi
25810
25811 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25812 echo "$as_me:$LINENO: checking for shmat" >&5
25813 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
25814 if test "${ac_cv_func_shmat+set}" = set; then
25815 echo $ECHO_N "(cached) $ECHO_C" >&6
25816 else
25817 cat >conftest.$ac_ext <<_ACEOF
25818 /* confdefs.h. */
25819 _ACEOF
25820 cat confdefs.h >>conftest.$ac_ext
25821 cat >>conftest.$ac_ext <<_ACEOF
25822 /* end confdefs.h. */
25823 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
25824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25825 #define shmat innocuous_shmat
25826
25827 /* System header to define __stub macros and hopefully few prototypes,
25828 which can conflict with char shmat (); below.
25829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25830 <limits.h> exists even on freestanding compilers. */
25831
25832 #ifdef __STDC__
25833 # include <limits.h>
25834 #else
25835 # include <assert.h>
25836 #endif
25837
25838 #undef shmat
25839
25840 /* Override any gcc2 internal prototype to avoid an error. */
25841 #ifdef __cplusplus
25842 extern "C"
25843 {
25844 #endif
25845 /* We use char because int might match the return type of a gcc2
25846 builtin and then its argument prototype would still apply. */
25847 char shmat ();
25848 /* The GNU C library defines this for functions which it implements
25849 to always fail with ENOSYS. Some functions are actually named
25850 something starting with __ and the normal name is an alias. */
25851 #if defined (__stub_shmat) || defined (__stub___shmat)
25852 choke me
25853 #else
25854 char (*f) () = shmat;
25855 #endif
25856 #ifdef __cplusplus
25857 }
25858 #endif
25859
25860 int
25861 main ()
25862 {
25863 return f != shmat;
25864 ;
25865 return 0;
25866 }
25867 _ACEOF
25868 rm -f conftest.$ac_objext conftest$ac_exeext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25870 (eval $ac_link) 2>conftest.er1
25871 ac_status=$?
25872 grep -v '^ *+' conftest.er1 >conftest.err
25873 rm -f conftest.er1
25874 cat conftest.err >&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25880 ac_status=$?
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try='test -s conftest$ac_exeext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25886 ac_status=$?
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 ac_cv_func_shmat=yes
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 ac_cv_func_shmat=no
25895 fi
25896 rm -f conftest.err conftest.$ac_objext \
25897 conftest$ac_exeext conftest.$ac_ext
25898 fi
25899 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
25900 echo "${ECHO_T}$ac_cv_func_shmat" >&6
25901
25902 if test $ac_cv_func_shmat = no; then
25903 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
25904 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
25905 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25907 else
25908 ac_check_lib_save_LIBS=$LIBS
25909 LIBS="-lipc $LIBS"
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916
25917 /* Override any gcc2 internal prototype to avoid an error. */
25918 #ifdef __cplusplus
25919 extern "C"
25920 #endif
25921 /* We use char because int might match the return type of a gcc2
25922 builtin and then its argument prototype would still apply. */
25923 char shmat ();
25924 int
25925 main ()
25926 {
25927 shmat ();
25928 ;
25929 return 0;
25930 }
25931 _ACEOF
25932 rm -f conftest.$ac_objext conftest$ac_exeext
25933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25934 (eval $ac_link) 2>conftest.er1
25935 ac_status=$?
25936 grep -v '^ *+' conftest.er1 >conftest.err
25937 rm -f conftest.er1
25938 cat conftest.err >&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); } &&
25941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25944 ac_status=$?
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; } &&
25947 { ac_try='test -s conftest$ac_exeext'
25948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25949 (eval $ac_try) 2>&5
25950 ac_status=$?
25951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25952 (exit $ac_status); }; }; then
25953 ac_cv_lib_ipc_shmat=yes
25954 else
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958 ac_cv_lib_ipc_shmat=no
25959 fi
25960 rm -f conftest.err conftest.$ac_objext \
25961 conftest$ac_exeext conftest.$ac_ext
25962 LIBS=$ac_check_lib_save_LIBS
25963 fi
25964 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
25965 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
25966 if test $ac_cv_lib_ipc_shmat = yes; then
25967 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25968 fi
25969
25970 fi
25971 fi
25972
25973 # Check for libraries that X11R6 Xt/Xaw programs need.
25974 ac_save_LDFLAGS=$LDFLAGS
25975 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25976 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25977 # check for ICE first), but we must link in the order -lSM -lICE or
25978 # we get undefined symbols. So assume we have SM if we have ICE.
25979 # These have to be linked with before -lX11, unlike the other
25980 # libraries we check for below, so use a different variable.
25981 # John Interrante, Karl Berry
25982 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25983 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25984 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25985 echo $ECHO_N "(cached) $ECHO_C" >&6
25986 else
25987 ac_check_lib_save_LIBS=$LIBS
25988 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25989 cat >conftest.$ac_ext <<_ACEOF
25990 /* confdefs.h. */
25991 _ACEOF
25992 cat confdefs.h >>conftest.$ac_ext
25993 cat >>conftest.$ac_ext <<_ACEOF
25994 /* end confdefs.h. */
25995
25996 /* Override any gcc2 internal prototype to avoid an error. */
25997 #ifdef __cplusplus
25998 extern "C"
25999 #endif
26000 /* We use char because int might match the return type of a gcc2
26001 builtin and then its argument prototype would still apply. */
26002 char IceConnectionNumber ();
26003 int
26004 main ()
26005 {
26006 IceConnectionNumber ();
26007 ;
26008 return 0;
26009 }
26010 _ACEOF
26011 rm -f conftest.$ac_objext conftest$ac_exeext
26012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26013 (eval $ac_link) 2>conftest.er1
26014 ac_status=$?
26015 grep -v '^ *+' conftest.er1 >conftest.err
26016 rm -f conftest.er1
26017 cat conftest.err >&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } &&
26020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26023 ac_status=$?
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; } &&
26026 { ac_try='test -s conftest$ac_exeext'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26029 ac_status=$?
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; }; then
26032 ac_cv_lib_ICE_IceConnectionNumber=yes
26033 else
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.$ac_ext >&5
26036
26037 ac_cv_lib_ICE_IceConnectionNumber=no
26038 fi
26039 rm -f conftest.err conftest.$ac_objext \
26040 conftest$ac_exeext conftest.$ac_ext
26041 LIBS=$ac_check_lib_save_LIBS
26042 fi
26043 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26044 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
26045 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
26046 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26047 fi
26048
26049 LDFLAGS=$ac_save_LDFLAGS
26050
26051 fi
26052
26053
26054 if test "$no_x" = "yes"; then
26055 { { echo "$as_me:$LINENO: error: X11 not found" >&5
26056 echo "$as_me: error: X11 not found" >&2;}
26057 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
26058 fi
26059
26060 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
26061 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
26062 AFMINSTALL=afminstall
26063 COMPILED_X_PROGRAM=0
26064
26065 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
26066 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
26067
26068 ac_find_includes=
26069 for ac_dir in $SEARCH_INCLUDE /usr/include;
26070 do
26071 if test -f "$ac_dir/Xm/Xm.h"; then
26072 ac_find_includes=$ac_dir
26073 break
26074 fi
26075 done
26076
26077 if test "$ac_find_includes" != "" ; then
26078 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26079 echo "${ECHO_T}found in $ac_find_includes" >&6
26080
26081 if test "x$ac_find_includes" = "x/usr/include"; then
26082 ac_path_to_include=""
26083 else
26084 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
26085 result=$?
26086 if test $result = 0; then
26087 ac_path_to_include=""
26088 else
26089 ac_path_to_include=" -I$ac_find_includes"
26090 fi
26091 fi
26092
26093 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
26094 else
26095 cat >conftest.$ac_ext <<_ACEOF
26096 /* confdefs.h. */
26097 _ACEOF
26098 cat confdefs.h >>conftest.$ac_ext
26099 cat >>conftest.$ac_ext <<_ACEOF
26100 /* end confdefs.h. */
26101
26102 #include <Xm/Xm.h>
26103
26104 int
26105 main ()
26106 {
26107
26108 int version;
26109 version = xmUseVersion;
26110
26111 ;
26112 return 0;
26113 }
26114 _ACEOF
26115 rm -f conftest.$ac_objext
26116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26117 (eval $ac_compile) 2>conftest.er1
26118 ac_status=$?
26119 grep -v '^ *+' conftest.er1 >conftest.err
26120 rm -f conftest.er1
26121 cat conftest.err >&5
26122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26123 (exit $ac_status); } &&
26124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26126 (eval $ac_try) 2>&5
26127 ac_status=$?
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); }; } &&
26130 { ac_try='test -s conftest.$ac_objext'
26131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132 (eval $ac_try) 2>&5
26133 ac_status=$?
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; }; then
26136
26137 echo "$as_me:$LINENO: result: found in default search path" >&5
26138 echo "${ECHO_T}found in default search path" >&6
26139 COMPILED_X_PROGRAM=1
26140
26141 else
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.$ac_ext >&5
26144
26145
26146 echo "$as_me:$LINENO: result: no" >&5
26147 echo "${ECHO_T}no" >&6
26148 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
26149 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
26150 { (exit 1); exit 1; }; }
26151
26152
26153 fi
26154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26155 fi
26156
26157 if test "$COMPILED_X_PROGRAM" = 0; then
26158 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
26159 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
26160
26161 ac_find_libraries=
26162 for ac_dir in $SEARCH_LIB /usr/lib;
26163 do
26164 for ac_extension in a so sl dylib; do
26165 if test -f "$ac_dir/libXm.$ac_extension"; then
26166 ac_find_libraries=$ac_dir
26167 break 2
26168 fi
26169 done
26170 done
26171
26172 if test "$ac_find_libraries" != "" ; then
26173 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26174 echo "${ECHO_T}found at $ac_find_libraries" >&6
26175
26176
26177 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26178 result=$?
26179 if test $result = 0; then
26180 ac_path_to_link=""
26181 else
26182 ac_path_to_link=" -L$ac_find_libraries"
26183 fi
26184
26185 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26186 else
26187 save_CFLAGS=$CFLAGS
26188 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26189
26190 cat >conftest.$ac_ext <<_ACEOF
26191 /* confdefs.h. */
26192 _ACEOF
26193 cat confdefs.h >>conftest.$ac_ext
26194 cat >>conftest.$ac_ext <<_ACEOF
26195 /* end confdefs.h. */
26196
26197 #include <Xm/Xm.h>
26198
26199 int
26200 main ()
26201 {
26202
26203 int version;
26204 version = xmUseVersion;
26205
26206 ;
26207 return 0;
26208 }
26209 _ACEOF
26210 rm -f conftest.$ac_objext
26211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26212 (eval $ac_compile) 2>conftest.er1
26213 ac_status=$?
26214 grep -v '^ *+' conftest.er1 >conftest.err
26215 rm -f conftest.er1
26216 cat conftest.err >&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); } &&
26219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26221 (eval $ac_try) 2>&5
26222 ac_status=$?
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); }; } &&
26225 { ac_try='test -s conftest.$ac_objext'
26226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26227 (eval $ac_try) 2>&5
26228 ac_status=$?
26229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26230 (exit $ac_status); }; }; then
26231
26232 echo "$as_me:$LINENO: result: found in default search path" >&5
26233 echo "${ECHO_T}found in default search path" >&6
26234 COMPILED_X_PROGRAM=1
26235
26236 else
26237 echo "$as_me: failed program was:" >&5
26238 sed 's/^/| /' conftest.$ac_ext >&5
26239
26240
26241 echo "$as_me:$LINENO: result: no" >&5
26242 echo "${ECHO_T}no" >&6
26243 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
26244 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
26245 { (exit 1); exit 1; }; }
26246
26247
26248 fi
26249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26250
26251 CFLAGS=$save_CFLAGS
26252 fi
26253 fi
26254
26255 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
26256 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
26257 libp_link=""
26258 libsm_ice_link=""
26259 libs_found=0
26260 for libp in "" " -lXp"; do
26261 if test "$libs_found" = "0"; then
26262 for libsm_ice in "" " -lSM -lICE"; do
26263 if test "$libs_found" = "0"; then
26264 save_LIBS="$LIBS"
26265 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26266 save_CFLAGS=$CFLAGS
26267 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26268
26269 cat >conftest.$ac_ext <<_ACEOF
26270 /* confdefs.h. */
26271 _ACEOF
26272 cat confdefs.h >>conftest.$ac_ext
26273 cat >>conftest.$ac_ext <<_ACEOF
26274 /* end confdefs.h. */
26275
26276 #include <Xm/Xm.h>
26277 #include <Xm/List.h>
26278
26279 int
26280 main ()
26281 {
26282
26283 XmString string = NULL;
26284 Widget w = NULL;
26285 int position = 0;
26286 XmListAddItem(w, string, position);
26287
26288 ;
26289 return 0;
26290 }
26291 _ACEOF
26292 rm -f conftest.$ac_objext conftest$ac_exeext
26293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26294 (eval $ac_link) 2>conftest.er1
26295 ac_status=$?
26296 grep -v '^ *+' conftest.er1 >conftest.err
26297 rm -f conftest.er1
26298 cat conftest.err >&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } &&
26301 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try='test -s conftest$ac_exeext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313
26314 libp_link="$libp"
26315 libsm_ice_link="$libsm_ice"
26316 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
26317 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
26318 libs_found=1
26319
26320 else
26321 echo "$as_me: failed program was:" >&5
26322 sed 's/^/| /' conftest.$ac_ext >&5
26323
26324
26325
26326 fi
26327 rm -f conftest.err conftest.$ac_objext \
26328 conftest$ac_exeext conftest.$ac_ext
26329
26330 LIBS="$save_LIBS"
26331 CFLAGS=$save_CFLAGS
26332 fi
26333 done
26334 fi
26335 done
26336
26337 if test "$libs_found" = "0"; then
26338 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
26339 echo "${ECHO_T}can't find the right libraries" >&6
26340 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
26341 echo "$as_me: error: can't link a simple motif program" >&2;}
26342 { (exit 1); exit 1; }; }
26343 fi
26344
26345 save_CFLAGS=$CFLAGS
26346 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26347 echo "$as_me:$LINENO: checking for Motif 2" >&5
26348 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
26349 cat >conftest.$ac_ext <<_ACEOF
26350 /* confdefs.h. */
26351 _ACEOF
26352 cat confdefs.h >>conftest.$ac_ext
26353 cat >>conftest.$ac_ext <<_ACEOF
26354 /* end confdefs.h. */
26355
26356 #include <Xm/Xm.h>
26357
26358 int
26359 main ()
26360 {
26361
26362 #if XmVersion < 2000
26363 #error "Not Motif 2"
26364 #endif
26365
26366 ;
26367 return 0;
26368 }
26369 _ACEOF
26370 rm -f conftest.$ac_objext
26371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26372 (eval $ac_compile) 2>conftest.er1
26373 ac_status=$?
26374 grep -v '^ *+' conftest.er1 >conftest.err
26375 rm -f conftest.er1
26376 cat conftest.err >&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } &&
26379 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try='test -s conftest.$ac_objext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391
26392 cat >>confdefs.h <<\_ACEOF
26393 #define __WXMOTIF20__ 1
26394 _ACEOF
26395
26396 echo "$as_me:$LINENO: result: found" >&5
26397 echo "${ECHO_T}found" >&6
26398
26399 else
26400 echo "$as_me: failed program was:" >&5
26401 sed 's/^/| /' conftest.$ac_ext >&5
26402
26403
26404 cat >>confdefs.h <<\_ACEOF
26405 #define __WXMOTIF20__ 0
26406 _ACEOF
26407
26408 echo "$as_me:$LINENO: result: not found" >&5
26409 echo "${ECHO_T}not found" >&6
26410
26411 fi
26412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26413 CFLAGS=$save_CFLAGS
26414
26415 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26416 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
26417 TOOLKIT=MOTIF
26418 GUIDIST=MOTIF_DIST
26419 fi
26420
26421 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26422 if test "$wxUSE_LIBXPM" = "sys"; then
26423 echo "$as_me:$LINENO: checking for Xpm library" >&5
26424 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
26425
26426 ac_find_libraries=
26427 for ac_dir in $SEARCH_LIB /usr/lib;
26428 do
26429 for ac_extension in a so sl dylib; do
26430 if test -f "$ac_dir/libXpm.$ac_extension"; then
26431 ac_find_libraries=$ac_dir
26432 break 2
26433 fi
26434 done
26435 done
26436
26437 if test "$ac_find_libraries" != "" ; then
26438
26439 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26440 result=$?
26441 if test $result = 0; then
26442 ac_path_to_link=""
26443 else
26444 ac_path_to_link=" -L$ac_find_libraries"
26445 fi
26446
26447 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26448 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
26449 echo "${ECHO_T}found at $ac_find_libraries" >&6
26450
26451 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
26452 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
26453 if test "${wx_cv_x11_xpm_h+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 else
26456
26457 save_CFLAGS=$CFLAGS
26458 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26459
26460 cat >conftest.$ac_ext <<_ACEOF
26461 /* confdefs.h. */
26462 _ACEOF
26463 cat confdefs.h >>conftest.$ac_ext
26464 cat >>conftest.$ac_ext <<_ACEOF
26465 /* end confdefs.h. */
26466
26467 #include <X11/xpm.h>
26468
26469 int
26470 main ()
26471 {
26472
26473 int version;
26474 version = XpmLibraryVersion();
26475
26476 ;
26477 return 0;
26478 }
26479 _ACEOF
26480 rm -f conftest.$ac_objext
26481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26482 (eval $ac_compile) 2>conftest.er1
26483 ac_status=$?
26484 grep -v '^ *+' conftest.er1 >conftest.err
26485 rm -f conftest.er1
26486 cat conftest.err >&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); } &&
26489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26491 (eval $ac_try) 2>&5
26492 ac_status=$?
26493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26494 (exit $ac_status); }; } &&
26495 { ac_try='test -s conftest.$ac_objext'
26496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26497 (eval $ac_try) 2>&5
26498 ac_status=$?
26499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26500 (exit $ac_status); }; }; then
26501 wx_cv_x11_xpm_h=yes
26502 else
26503 echo "$as_me: failed program was:" >&5
26504 sed 's/^/| /' conftest.$ac_ext >&5
26505
26506 wx_cv_x11_xpm_h=no
26507
26508 fi
26509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26510
26511 CFLAGS=$save_CFLAGS
26512
26513
26514 fi
26515 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
26516 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
26517
26518 if test $wx_cv_x11_xpm_h = "yes"; then
26519 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26520 cat >>confdefs.h <<\_ACEOF
26521 #define wxHAVE_LIB_XPM 1
26522 _ACEOF
26523
26524 else
26525 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
26526 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26527 fi
26528 fi
26529
26530 fi
26531
26532 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
26533 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
26534 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
26535 echo $ECHO_N "(cached) $ECHO_C" >&6
26536 else
26537 ac_check_lib_save_LIBS=$LIBS
26538 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26539 cat >conftest.$ac_ext <<_ACEOF
26540 /* confdefs.h. */
26541 _ACEOF
26542 cat confdefs.h >>conftest.$ac_ext
26543 cat >>conftest.$ac_ext <<_ACEOF
26544 /* end confdefs.h. */
26545
26546 /* Override any gcc2 internal prototype to avoid an error. */
26547 #ifdef __cplusplus
26548 extern "C"
26549 #endif
26550 /* We use char because int might match the return type of a gcc2
26551 builtin and then its argument prototype would still apply. */
26552 char XShapeQueryExtension ();
26553 int
26554 main ()
26555 {
26556 XShapeQueryExtension ();
26557 ;
26558 return 0;
26559 }
26560 _ACEOF
26561 rm -f conftest.$ac_objext conftest$ac_exeext
26562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26563 (eval $ac_link) 2>conftest.er1
26564 ac_status=$?
26565 grep -v '^ *+' conftest.er1 >conftest.err
26566 rm -f conftest.er1
26567 cat conftest.err >&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } &&
26570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26573 ac_status=$?
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; } &&
26576 { ac_try='test -s conftest$ac_exeext'
26577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26578 (eval $ac_try) 2>&5
26579 ac_status=$?
26580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26581 (exit $ac_status); }; }; then
26582 ac_cv_lib_Xext_XShapeQueryExtension=yes
26583 else
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26586
26587 ac_cv_lib_Xext_XShapeQueryExtension=no
26588 fi
26589 rm -f conftest.err conftest.$ac_objext \
26590 conftest$ac_exeext conftest.$ac_ext
26591 LIBS=$ac_check_lib_save_LIBS
26592 fi
26593 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26594 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
26595 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
26596
26597 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26598 wxHAVE_XEXT_LIB=1
26599
26600 fi
26601
26602
26603 if test "$wxHAVE_XEXT_LIB" = 1; then
26604 save_CFLAGS="$CFLAGS"
26605 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
26606
26607 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
26608 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
26609 cat >conftest.$ac_ext <<_ACEOF
26610 /* confdefs.h. */
26611 _ACEOF
26612 cat confdefs.h >>conftest.$ac_ext
26613 cat >>conftest.$ac_ext <<_ACEOF
26614 /* end confdefs.h. */
26615
26616 #include <X11/Xlib.h>
26617 #include <X11/extensions/shape.h>
26618
26619 int
26620 main ()
26621 {
26622
26623 int dummy1, dummy2;
26624 XShapeQueryExtension((Display*)NULL,
26625 (int*)NULL, (int*)NULL);
26626
26627 ;
26628 return 0;
26629 }
26630 _ACEOF
26631 rm -f conftest.$ac_objext
26632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26633 (eval $ac_compile) 2>conftest.er1
26634 ac_status=$?
26635 grep -v '^ *+' conftest.er1 >conftest.err
26636 rm -f conftest.er1
26637 cat conftest.err >&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); } &&
26640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26643 ac_status=$?
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; } &&
26646 { ac_try='test -s conftest.$ac_objext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26649 ac_status=$?
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26652
26653 cat >>confdefs.h <<\_ACEOF
26654 #define HAVE_XSHAPE 1
26655 _ACEOF
26656
26657 echo "$as_me:$LINENO: result: found" >&5
26658 echo "${ECHO_T}found" >&6
26659
26660 else
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26663
26664
26665 echo "$as_me:$LINENO: result: not found" >&5
26666 echo "${ECHO_T}not found" >&6
26667
26668 fi
26669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26670 CFLAGS="$save_CFLAGS"
26671
26672 fi
26673 fi
26674
26675 if test "$wxUSE_MAC" = 1; then
26676 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
26677 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
26678 if test "$GCC" = yes; then
26679 echo "$as_me:$LINENO: result: gcc" >&5
26680 echo "${ECHO_T}gcc" >&6
26681 CPPFLAGS_PASCAL="-fpascal-strings"
26682 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26683 echo "$as_me:$LINENO: result: xlc" >&5
26684 echo "${ECHO_T}xlc" >&6
26685 CPPFLAGS_PASCAL="-qmacpstr"
26686 else
26687 echo "$as_me:$LINENO: result: none" >&5
26688 echo "${ECHO_T}none" >&6
26689 fi
26690
26691 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
26692
26693 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
26694 TOOLKIT=MAC
26695 GUIDIST=MACX_DIST
26696 WXBASEPORT="_carbon"
26697 fi
26698
26699 if test "$wxUSE_COCOA" = 1; then
26700 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
26701 TOOLKIT=COCOA
26702 GUIDIST=COCOA_DIST
26703 fi
26704
26705 if test "$wxUSE_PM" = 1; then
26706 TOOLKIT=PM
26707 GUIDIST=GTK_DIST
26708 fi
26709
26710 if test "$TOOLKIT" = "PM" ; then
26711 TOOLKIT_DIR="os2"
26712 else
26713 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
26714 fi
26715
26716 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
26717
26718 if test "$wxUSE_UNIVERSAL" = "yes"; then
26719 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
26720
26721 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
26722 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
26723
26724 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
26725 if test "$wxUSE_X11" = 1; then
26726 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
26727 else
26728 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
26729 fi
26730 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26731 WIDGET_SET=univ
26732 else
26733 ALL_OBJECTS="\$(GUIOBJS)"
26734 ALL_SOURCES="\$(ALL_SOURCES)"
26735 ALL_HEADERS="\$(ALL_HEADERS)"
26736 fi
26737
26738 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
26739
26740 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
26741 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
26742 fi
26743
26744 if test "$wxUSE_HTML" = "yes"; then
26745 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
26746 fi
26747
26748 if test "$wxUSE_LIBJPEG" = "builtin" ; then
26749 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
26750 fi
26751 if test "$wxUSE_LIBTIFF" = "builtin" ; then
26752 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
26753 fi
26754 if test "$wxUSE_LIBPNG" = "builtin" ; then
26755 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
26756 fi
26757
26758 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26759 DISTDIR="wx\$(TOOLKIT)"
26760 else
26761 USE_GUI=0
26762
26763 TOOLKIT_DIR="base"
26764
26765 if test "$USE_WIN32" = 1 ; then
26766 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
26767 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
26768
26769 TOOLKIT="MSW"
26770 else
26771 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
26772 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
26773 fi
26774
26775 ALL_SOURCES="\$(ALL_SOURCES)"
26776 ALL_HEADERS="\$(ALL_HEADERS)"
26777
26778 PORT_FILES="\${top_srcdir}/src/files.lst"
26779
26780 GUIDIST="BASE_DIST"
26781 DISTDIR="wxBase"
26782 fi
26783
26784
26785
26786
26787 IODBC_C_SRC=""
26788
26789
26790 if test "$TOOLKIT" != "MSW" ; then
26791
26792 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
26793
26794 if test "${ac_cv_header_sql_h+set}" = set; then
26795 echo "$as_me:$LINENO: checking for sql.h" >&5
26796 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26797 if test "${ac_cv_header_sql_h+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 fi
26800 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26801 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26802 else
26803 # Is the header compilable?
26804 echo "$as_me:$LINENO: checking sql.h usability" >&5
26805 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
26806 cat >conftest.$ac_ext <<_ACEOF
26807 /* confdefs.h. */
26808 _ACEOF
26809 cat confdefs.h >>conftest.$ac_ext
26810 cat >>conftest.$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26812 $ac_includes_default
26813 #include <sql.h>
26814 _ACEOF
26815 rm -f conftest.$ac_objext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26817 (eval $ac_compile) 2>conftest.er1
26818 ac_status=$?
26819 grep -v '^ *+' conftest.er1 >conftest.err
26820 rm -f conftest.er1
26821 cat conftest.err >&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26827 ac_status=$?
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; } &&
26830 { ac_try='test -s conftest.$ac_objext'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26833 ac_status=$?
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; }; then
26836 ac_header_compiler=yes
26837 else
26838 echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.$ac_ext >&5
26840
26841 ac_header_compiler=no
26842 fi
26843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26845 echo "${ECHO_T}$ac_header_compiler" >&6
26846
26847 # Is the header present?
26848 echo "$as_me:$LINENO: checking sql.h presence" >&5
26849 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
26850 cat >conftest.$ac_ext <<_ACEOF
26851 /* confdefs.h. */
26852 _ACEOF
26853 cat confdefs.h >>conftest.$ac_ext
26854 cat >>conftest.$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26856 #include <sql.h>
26857 _ACEOF
26858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26860 ac_status=$?
26861 grep -v '^ *+' conftest.er1 >conftest.err
26862 rm -f conftest.er1
26863 cat conftest.err >&5
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); } >/dev/null; then
26866 if test -s conftest.err; then
26867 ac_cpp_err=$ac_c_preproc_warn_flag
26868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26869 else
26870 ac_cpp_err=
26871 fi
26872 else
26873 ac_cpp_err=yes
26874 fi
26875 if test -z "$ac_cpp_err"; then
26876 ac_header_preproc=yes
26877 else
26878 echo "$as_me: failed program was:" >&5
26879 sed 's/^/| /' conftest.$ac_ext >&5
26880
26881 ac_header_preproc=no
26882 fi
26883 rm -f conftest.err conftest.$ac_ext
26884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26885 echo "${ECHO_T}$ac_header_preproc" >&6
26886
26887 # So? What about this header?
26888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26889 yes:no: )
26890 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
26891 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26892 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
26893 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
26894 ac_header_preproc=yes
26895 ;;
26896 no:yes:* )
26897 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
26898 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
26899 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
26900 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
26901 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
26902 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
26903 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
26904 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
26905 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
26906 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
26907 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
26908 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
26909 (
26910 cat <<\_ASBOX
26911 ## ----------------------------------------- ##
26912 ## Report this to wx-dev@lists.wxwindows.org ##
26913 ## ----------------------------------------- ##
26914 _ASBOX
26915 ) |
26916 sed "s/^/$as_me: WARNING: /" >&2
26917 ;;
26918 esac
26919 echo "$as_me:$LINENO: checking for sql.h" >&5
26920 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
26921 if test "${ac_cv_header_sql_h+set}" = set; then
26922 echo $ECHO_N "(cached) $ECHO_C" >&6
26923 else
26924 ac_cv_header_sql_h=$ac_header_preproc
26925 fi
26926 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
26927 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
26928
26929 fi
26930 if test $ac_cv_header_sql_h = yes; then
26931 found_sql_h=1
26932 fi
26933
26934
26935 if test "x$found_sql_h" = "x1" ; then
26936 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
26937 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
26938 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
26939 echo $ECHO_N "(cached) $ECHO_C" >&6
26940 else
26941 ac_check_lib_save_LIBS=$LIBS
26942 LIBS="-liodbc $LIBS"
26943 cat >conftest.$ac_ext <<_ACEOF
26944 /* confdefs.h. */
26945 _ACEOF
26946 cat confdefs.h >>conftest.$ac_ext
26947 cat >>conftest.$ac_ext <<_ACEOF
26948 /* end confdefs.h. */
26949
26950 /* Override any gcc2 internal prototype to avoid an error. */
26951 #ifdef __cplusplus
26952 extern "C"
26953 #endif
26954 /* We use char because int might match the return type of a gcc2
26955 builtin and then its argument prototype would still apply. */
26956 char SQLAllocEnv ();
26957 int
26958 main ()
26959 {
26960 SQLAllocEnv ();
26961 ;
26962 return 0;
26963 }
26964 _ACEOF
26965 rm -f conftest.$ac_objext conftest$ac_exeext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26967 (eval $ac_link) 2>conftest.er1
26968 ac_status=$?
26969 grep -v '^ *+' conftest.er1 >conftest.err
26970 rm -f conftest.er1
26971 cat conftest.err >&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26977 ac_status=$?
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try='test -s conftest$ac_exeext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26983 ac_status=$?
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_cv_lib_iodbc_SQLAllocEnv=yes
26987 else
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.$ac_ext >&5
26990
26991 ac_cv_lib_iodbc_SQLAllocEnv=no
26992 fi
26993 rm -f conftest.err conftest.$ac_objext \
26994 conftest$ac_exeext conftest.$ac_ext
26995 LIBS=$ac_check_lib_save_LIBS
26996 fi
26997 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
26998 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
26999 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
27000 ODBC_LINK=" -liodbc"
27001 else
27002
27003 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
27004 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
27005 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
27006 echo $ECHO_N "(cached) $ECHO_C" >&6
27007 else
27008 ac_check_lib_save_LIBS=$LIBS
27009 LIBS="-lunixodbc $LIBS"
27010 cat >conftest.$ac_ext <<_ACEOF
27011 /* confdefs.h. */
27012 _ACEOF
27013 cat confdefs.h >>conftest.$ac_ext
27014 cat >>conftest.$ac_ext <<_ACEOF
27015 /* end confdefs.h. */
27016
27017 /* Override any gcc2 internal prototype to avoid an error. */
27018 #ifdef __cplusplus
27019 extern "C"
27020 #endif
27021 /* We use char because int might match the return type of a gcc2
27022 builtin and then its argument prototype would still apply. */
27023 char SQLAllocEnv ();
27024 int
27025 main ()
27026 {
27027 SQLAllocEnv ();
27028 ;
27029 return 0;
27030 }
27031 _ACEOF
27032 rm -f conftest.$ac_objext conftest$ac_exeext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27034 (eval $ac_link) 2>conftest.er1
27035 ac_status=$?
27036 grep -v '^ *+' conftest.er1 >conftest.err
27037 rm -f conftest.er1
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27044 ac_status=$?
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; } &&
27047 { ac_try='test -s conftest$ac_exeext'
27048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27049 (eval $ac_try) 2>&5
27050 ac_status=$?
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 ac_cv_lib_unixodbc_SQLAllocEnv=yes
27054 else
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.$ac_ext >&5
27057
27058 ac_cv_lib_unixodbc_SQLAllocEnv=no
27059 fi
27060 rm -f conftest.err conftest.$ac_objext \
27061 conftest$ac_exeext conftest.$ac_ext
27062 LIBS=$ac_check_lib_save_LIBS
27063 fi
27064 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
27065 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
27066 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
27067 ODBC_LINK=" -lunixodbc"
27068 else
27069
27070 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
27071 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
27072 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 else
27075 ac_check_lib_save_LIBS=$LIBS
27076 LIBS="-lodbc $LIBS"
27077 cat >conftest.$ac_ext <<_ACEOF
27078 /* confdefs.h. */
27079 _ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27083
27084 /* Override any gcc2 internal prototype to avoid an error. */
27085 #ifdef __cplusplus
27086 extern "C"
27087 #endif
27088 /* We use char because int might match the return type of a gcc2
27089 builtin and then its argument prototype would still apply. */
27090 char SQLAllocEnv ();
27091 int
27092 main ()
27093 {
27094 SQLAllocEnv ();
27095 ;
27096 return 0;
27097 }
27098 _ACEOF
27099 rm -f conftest.$ac_objext conftest$ac_exeext
27100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27101 (eval $ac_link) 2>conftest.er1
27102 ac_status=$?
27103 grep -v '^ *+' conftest.er1 >conftest.err
27104 rm -f conftest.er1
27105 cat conftest.err >&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } &&
27108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27110 (eval $ac_try) 2>&5
27111 ac_status=$?
27112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27113 (exit $ac_status); }; } &&
27114 { ac_try='test -s conftest$ac_exeext'
27115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27116 (eval $ac_try) 2>&5
27117 ac_status=$?
27118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27119 (exit $ac_status); }; }; then
27120 ac_cv_lib_odbc_SQLAllocEnv=yes
27121 else
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.$ac_ext >&5
27124
27125 ac_cv_lib_odbc_SQLAllocEnv=no
27126 fi
27127 rm -f conftest.err conftest.$ac_objext \
27128 conftest$ac_exeext conftest.$ac_ext
27129 LIBS=$ac_check_lib_save_LIBS
27130 fi
27131 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
27132 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
27133 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
27134 ODBC_LINK=" -lodbc"
27135 fi
27136
27137
27138 fi
27139
27140
27141 fi
27142
27143 fi
27144 if test "x$ODBC_LINK" = "x" ; then
27145 if test "$wxUSE_ODBC" = "sys" ; then
27146 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
27147 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
27148 { (exit 1); exit 1; }; }
27149 else
27150 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
27151 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
27152 wxUSE_ODBC=builtin
27153 fi
27154 else
27155 wxUSE_ODBC=sys
27156 fi
27157 fi
27158 if test "$wxUSE_ODBC" != "no" ; then
27159 cat >>confdefs.h <<\_ACEOF
27160 #define wxUSE_ODBC 1
27161 _ACEOF
27162
27163 if test "$wxUSE_ODBC" = "builtin" ; then
27164 cat >>confdefs.h <<\_ACEOF
27165 #define wxUSE_BUILTIN_IODBC 1
27166 _ACEOF
27167
27168 fi
27169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
27170
27171 WXODBCFLAG="-D_IODBC_"
27172 fi
27173 fi
27174
27175 if test "$wxUSE_REGEX" = "builtin" ; then
27176 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
27177 fi
27178 if test "$wxUSE_ZLIB" = "builtin" ; then
27179 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
27180 fi
27181
27182
27183 if test "$wxUSE_DISPLAY" = "yes"; then
27184 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
27185 echo "$as_me:$LINENO: checking for Xinerama" >&5
27186 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
27187
27188 ac_find_libraries=
27189 for ac_dir in $SEARCH_LIB /usr/lib;
27190 do
27191 for ac_extension in a so sl dylib; do
27192 if test -f "$ac_dir/libXinerama.$ac_extension"; then
27193 ac_find_libraries=$ac_dir
27194 break 2
27195 fi
27196 done
27197 done
27198
27199 if test "$ac_find_libraries" != "" ; then
27200
27201 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27202 result=$?
27203 if test $result = 0; then
27204 ac_path_to_link=""
27205 else
27206 ac_path_to_link=" -L$ac_find_libraries"
27207 fi
27208
27209 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27210 LDFLAGS="$LDFLAGS $ac_path_to_link"
27211 fi
27212 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
27213 echo "$as_me:$LINENO: result: yes" >&5
27214 echo "${ECHO_T}yes" >&6
27215
27216 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
27217 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
27218
27219 ac_find_libraries=
27220 for ac_dir in $SEARCH_LIB /usr/lib;
27221 do
27222 for ac_extension in a so sl dylib; do
27223 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27224 ac_find_libraries=$ac_dir
27225 break 2
27226 fi
27227 done
27228 done
27229
27230 if test "$ac_find_libraries" != "" ; then
27231 echo "$as_me:$LINENO: result: yes" >&5
27232 echo "${ECHO_T}yes" >&6
27233
27234 for ac_header in X11/extensions/xf86vmode.h
27235 do
27236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27237 echo "$as_me:$LINENO: checking for $ac_header" >&5
27238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27240 echo $ECHO_N "(cached) $ECHO_C" >&6
27241 else
27242 cat >conftest.$ac_ext <<_ACEOF
27243 /* confdefs.h. */
27244 _ACEOF
27245 cat confdefs.h >>conftest.$ac_ext
27246 cat >>conftest.$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27248
27249 #if HAVE_X11_XLIB_H
27250 #include <X11/Xlib.h>
27251 #endif
27252
27253
27254 #include <$ac_header>
27255 _ACEOF
27256 rm -f conftest.$ac_objext
27257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27258 (eval $ac_compile) 2>conftest.er1
27259 ac_status=$?
27260 grep -v '^ *+' conftest.er1 >conftest.err
27261 rm -f conftest.er1
27262 cat conftest.err >&5
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); } &&
27265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27267 (eval $ac_try) 2>&5
27268 ac_status=$?
27269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27270 (exit $ac_status); }; } &&
27271 { ac_try='test -s conftest.$ac_objext'
27272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27273 (eval $ac_try) 2>&5
27274 ac_status=$?
27275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27276 (exit $ac_status); }; }; then
27277 eval "$as_ac_Header=yes"
27278 else
27279 echo "$as_me: failed program was:" >&5
27280 sed 's/^/| /' conftest.$ac_ext >&5
27281
27282 eval "$as_ac_Header=no"
27283 fi
27284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27285 fi
27286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27289 cat >>confdefs.h <<_ACEOF
27290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27291 _ACEOF
27292
27293 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27294
27295 fi
27296
27297 done
27298
27299 else
27300 echo "$as_me:$LINENO: result: no" >&5
27301 echo "${ECHO_T}no" >&6
27302 fi
27303
27304 else
27305 echo "$as_me:$LINENO: result: no" >&5
27306 echo "${ECHO_T}no" >&6
27307 { echo "$as_me:$LINENO: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&5
27308 echo "$as_me: WARNING: \"*** Xinerama not found; disabling wxDisplay\"" >&2;}
27309 wxUSE_DISPLAY="no"
27310 fi
27311 elif test "$wxUSE_MSW" = 1; then
27312
27313
27314 for ac_header in multimon.h ddraw.h
27315 do
27316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27318 echo "$as_me:$LINENO: checking for $ac_header" >&5
27319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27322 fi
27323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27325 else
27326 # Is the header compilable?
27327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27329 cat >conftest.$ac_ext <<_ACEOF
27330 /* confdefs.h. */
27331 _ACEOF
27332 cat confdefs.h >>conftest.$ac_ext
27333 cat >>conftest.$ac_ext <<_ACEOF
27334 /* end confdefs.h. */
27335 $ac_includes_default
27336 #include <$ac_header>
27337 _ACEOF
27338 rm -f conftest.$ac_objext
27339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27340 (eval $ac_compile) 2>conftest.er1
27341 ac_status=$?
27342 grep -v '^ *+' conftest.er1 >conftest.err
27343 rm -f conftest.er1
27344 cat conftest.err >&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); } &&
27347 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27350 ac_status=$?
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; } &&
27353 { ac_try='test -s conftest.$ac_objext'
27354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355 (eval $ac_try) 2>&5
27356 ac_status=$?
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); }; }; then
27359 ac_header_compiler=yes
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27363
27364 ac_header_compiler=no
27365 fi
27366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27368 echo "${ECHO_T}$ac_header_compiler" >&6
27369
27370 # Is the header present?
27371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27373 cat >conftest.$ac_ext <<_ACEOF
27374 /* confdefs.h. */
27375 _ACEOF
27376 cat confdefs.h >>conftest.$ac_ext
27377 cat >>conftest.$ac_ext <<_ACEOF
27378 /* end confdefs.h. */
27379 #include <$ac_header>
27380 _ACEOF
27381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27383 ac_status=$?
27384 grep -v '^ *+' conftest.er1 >conftest.err
27385 rm -f conftest.er1
27386 cat conftest.err >&5
27387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388 (exit $ac_status); } >/dev/null; then
27389 if test -s conftest.err; then
27390 ac_cpp_err=$ac_c_preproc_warn_flag
27391 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27392 else
27393 ac_cpp_err=
27394 fi
27395 else
27396 ac_cpp_err=yes
27397 fi
27398 if test -z "$ac_cpp_err"; then
27399 ac_header_preproc=yes
27400 else
27401 echo "$as_me: failed program was:" >&5
27402 sed 's/^/| /' conftest.$ac_ext >&5
27403
27404 ac_header_preproc=no
27405 fi
27406 rm -f conftest.err conftest.$ac_ext
27407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27408 echo "${ECHO_T}$ac_header_preproc" >&6
27409
27410 # So? What about this header?
27411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27412 yes:no: )
27413 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27417 ac_header_preproc=yes
27418 ;;
27419 no:yes:* )
27420 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27422 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27423 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27424 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27426 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27427 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27430 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27432 (
27433 cat <<\_ASBOX
27434 ## ----------------------------------------- ##
27435 ## Report this to wx-dev@lists.wxwindows.org ##
27436 ## ----------------------------------------- ##
27437 _ASBOX
27438 ) |
27439 sed "s/^/$as_me: WARNING: /" >&2
27440 ;;
27441 esac
27442 echo "$as_me:$LINENO: checking for $ac_header" >&5
27443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27445 echo $ECHO_N "(cached) $ECHO_C" >&6
27446 else
27447 eval "$as_ac_Header=\$ac_header_preproc"
27448 fi
27449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27451
27452 fi
27453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27454 cat >>confdefs.h <<_ACEOF
27455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27456 _ACEOF
27457
27458 else
27459
27460 wxUSE_DISPLAY="no"
27461 { echo "$as_me:$LINENO: WARNING: \"*** ddraw.h or multimon.h not found; disabling wxDisplay\"" >&5
27462 echo "$as_me: WARNING: \"*** ddraw.h or multimon.h not found; disabling wxDisplay\"" >&2;}
27463
27464 fi
27465
27466 done
27467
27468 fi
27469 fi
27470
27471
27472 USE_OPENGL=0
27473 if test "$wxUSE_OPENGL" = "yes"; then
27474 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27475 OPENGL_LIBS="-framework OpenGL -framework AGL"
27476 elif test "$wxUSE_MSW" = 1; then
27477 OPENGL_LIBS="-lopengl32 -lglu32"
27478 else
27479
27480
27481 ac_find_includes=
27482 for ac_dir in $SEARCH_INCLUDE /usr/include;
27483 do
27484 if test -f "$ac_dir/GL/gl.h"; then
27485 ac_find_includes=$ac_dir
27486 break
27487 fi
27488 done
27489
27490 if test "$ac_find_includes" != "" ; then
27491 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
27492 echo "${ECHO_T}found in $ac_find_includes" >&6
27493
27494 if test "x$ac_find_includes" = "x/usr/include"; then
27495 ac_path_to_include=""
27496 else
27497 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27498 result=$?
27499 if test $result = 0; then
27500 ac_path_to_include=""
27501 else
27502 ac_path_to_include=" -I$ac_find_includes"
27503 fi
27504 fi
27505
27506 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
27507 fi
27508
27509 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27510 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27511 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27512 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27513 echo $ECHO_N "(cached) $ECHO_C" >&6
27514 fi
27515 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27516 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27517 else
27518 # Is the header compilable?
27519 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
27520 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
27521 cat >conftest.$ac_ext <<_ACEOF
27522 /* confdefs.h. */
27523 _ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27527 $ac_includes_default
27528 #include <GL/gl.h>
27529 _ACEOF
27530 rm -f conftest.$ac_objext
27531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27532 (eval $ac_compile) 2>conftest.er1
27533 ac_status=$?
27534 grep -v '^ *+' conftest.er1 >conftest.err
27535 rm -f conftest.er1
27536 cat conftest.err >&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } &&
27539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27541 (eval $ac_try) 2>&5
27542 ac_status=$?
27543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27544 (exit $ac_status); }; } &&
27545 { ac_try='test -s conftest.$ac_objext'
27546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547 (eval $ac_try) 2>&5
27548 ac_status=$?
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); }; }; then
27551 ac_header_compiler=yes
27552 else
27553 echo "$as_me: failed program was:" >&5
27554 sed 's/^/| /' conftest.$ac_ext >&5
27555
27556 ac_header_compiler=no
27557 fi
27558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27560 echo "${ECHO_T}$ac_header_compiler" >&6
27561
27562 # Is the header present?
27563 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
27564 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
27565 cat >conftest.$ac_ext <<_ACEOF
27566 /* confdefs.h. */
27567 _ACEOF
27568 cat confdefs.h >>conftest.$ac_ext
27569 cat >>conftest.$ac_ext <<_ACEOF
27570 /* end confdefs.h. */
27571 #include <GL/gl.h>
27572 _ACEOF
27573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27575 ac_status=$?
27576 grep -v '^ *+' conftest.er1 >conftest.err
27577 rm -f conftest.er1
27578 cat conftest.err >&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } >/dev/null; then
27581 if test -s conftest.err; then
27582 ac_cpp_err=$ac_c_preproc_warn_flag
27583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27584 else
27585 ac_cpp_err=
27586 fi
27587 else
27588 ac_cpp_err=yes
27589 fi
27590 if test -z "$ac_cpp_err"; then
27591 ac_header_preproc=yes
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27595
27596 ac_header_preproc=no
27597 fi
27598 rm -f conftest.err conftest.$ac_ext
27599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27600 echo "${ECHO_T}$ac_header_preproc" >&6
27601
27602 # So? What about this header?
27603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27604 yes:no: )
27605 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
27606 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27607 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
27608 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
27609 ac_header_preproc=yes
27610 ;;
27611 no:yes:* )
27612 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
27613 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
27614 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
27615 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
27616 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
27617 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
27618 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
27619 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27620 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
27621 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
27622 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
27623 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
27624 (
27625 cat <<\_ASBOX
27626 ## ----------------------------------------- ##
27627 ## Report this to wx-dev@lists.wxwindows.org ##
27628 ## ----------------------------------------- ##
27629 _ASBOX
27630 ) |
27631 sed "s/^/$as_me: WARNING: /" >&2
27632 ;;
27633 esac
27634 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
27635 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
27636 if test "${ac_cv_header_GL_gl_h+set}" = set; then
27637 echo $ECHO_N "(cached) $ECHO_C" >&6
27638 else
27639 ac_cv_header_GL_gl_h=$ac_header_preproc
27640 fi
27641 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
27642 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
27643
27644 fi
27645 if test $ac_cv_header_GL_gl_h = yes; then
27646
27647 found_gl=0
27648
27649 echo "$as_me:$LINENO: checking for -lGL" >&5
27650 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
27651
27652 ac_find_libraries=
27653 for ac_dir in $SEARCH_LIB /usr/lib;
27654 do
27655 for ac_extension in a so sl dylib; do
27656 if test -f "$ac_dir/libGL.$ac_extension"; then
27657 ac_find_libraries=$ac_dir
27658 break 2
27659 fi
27660 done
27661 done
27662
27663 if test "$ac_find_libraries" != "" ; then
27664
27665 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27666 result=$?
27667 if test $result = 0; then
27668 ac_path_to_link=""
27669 else
27670 ac_path_to_link=" -L$ac_find_libraries"
27671 fi
27672
27673 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27674 LDFLAGS_GL="$ac_path_to_link"
27675 fi
27676
27677
27678 ac_find_libraries=
27679 for ac_dir in $SEARCH_LIB /usr/lib;
27680 do
27681 for ac_extension in a so sl dylib; do
27682 if test -f "$ac_dir/libGLU.$ac_extension"; then
27683 ac_find_libraries=$ac_dir
27684 break 2
27685 fi
27686 done
27687 done
27688
27689 if test "$ac_find_libraries" != "" ; then
27690
27691 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27692 result=$?
27693 if test $result = 0; then
27694 ac_path_to_link=""
27695 else
27696 ac_path_to_link=" -L$ac_find_libraries"
27697 fi
27698
27699 if test "$ac_path_to_link" != " -L/usr/lib" -a \
27700 "$ac_path_to_link" != "$LDFLAGS_GL"; then
27701 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
27702 fi
27703
27704 found_gl=1
27705 OPENGL_LIBS="-lGL -lGLU"
27706 echo "$as_me:$LINENO: result: yes" >&5
27707 echo "${ECHO_T}yes" >&6
27708 fi
27709 fi
27710
27711 if test "$found_gl" != 1; then
27712 echo "$as_me:$LINENO: result: no" >&5
27713 echo "${ECHO_T}no" >&6
27714 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
27715 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
27716
27717 ac_find_libraries=
27718 for ac_dir in $SEARCH_LIB /usr/lib;
27719 do
27720 for ac_extension in a so sl dylib; do
27721 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
27722 ac_find_libraries=$ac_dir
27723 break 2
27724 fi
27725 done
27726 done
27727
27728 if test "$ac_find_libraries" != "" ; then
27729
27730 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27731 result=$?
27732 if test $result = 0; then
27733 ac_path_to_link=""
27734 else
27735 ac_path_to_link=" -L$ac_find_libraries"
27736 fi
27737
27738 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
27739 OPENGL_LIBS="-lMesaGL -lMesaGLU"
27740 echo "$as_me:$LINENO: result: yes" >&5
27741 echo "${ECHO_T}yes" >&6
27742 else
27743 echo "$as_me:$LINENO: result: no" >&5
27744 echo "${ECHO_T}no" >&6
27745 fi
27746 fi
27747
27748 fi
27749
27750
27751
27752 if test "x$OPENGL_LIBS" = "x"; then
27753 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
27754 echo "$as_me: error: OpenGL libraries not available" >&2;}
27755 { (exit 1); exit 1; }; }
27756 fi
27757 fi
27758
27759 if test "$wxUSE_OPENGL" = "yes"; then
27760 USE_OPENGL=1
27761 cat >>confdefs.h <<\_ACEOF
27762 #define wxUSE_OPENGL 1
27763 _ACEOF
27764
27765 cat >>confdefs.h <<\_ACEOF
27766 #define wxUSE_GLCANVAS 1
27767 _ACEOF
27768
27769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
27770 fi
27771 fi
27772
27773 if test -z "$TOOLKIT_VPATH" ; then
27774 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
27775 fi
27776
27777 if test -n "$TOOLKIT" ; then
27778 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
27779 fi
27780
27781 UNICODE=0
27782 lib_unicode_suffix=
27783 if test "$wxUSE_UNICODE" = "yes"; then
27784 lib_unicode_suffix=u
27785 UNICODE=1
27786 fi
27787
27788 lib_debug_suffix=
27789 DEBUG_FLAG=0
27790 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
27791 lib_debug_suffix=d
27792 DEBUG_FLAG=1
27793 fi
27794
27795 DEBUG_INFO=0
27796 if test "$wxUSE_DEBUG_INFO" = "yes"; then
27797 DEBUG_INFO=1
27798 fi
27799
27800 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
27801
27802 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
27803 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
27804
27805 if test "$cross_compiling" = "yes"; then
27806 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
27807 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
27808 HOST_SUFFIX="-${host_alias}"
27809 fi
27810
27811 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
27812 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
27813 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
27814 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
27815
27816 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27817 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
27818
27819 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
27820 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27821 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
27822 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27823
27824 case "${host}" in
27825 *-*-cygwin* | *-*-mingw32* )
27826 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
27827 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27828 ;;
27829
27830 *-*-darwin* )
27831
27832 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27833 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
27834
27835 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
27836 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
27837 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
27838 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
27839
27840 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
27841 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
27842 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
27843 fi
27844 ;;
27845 esac
27846
27847 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
27848 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
27849
27850 WXCONFIG_LIBS="-l${WX_LIBRARY}"
27851 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
27852
27853 if test "$wxUSE_OPENGL" = "yes"; then
27854 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
27855 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
27856 fi
27857
27858
27859
27860 if test "$wxUSE_SHARED" = "yes"; then
27861 case "${host}" in
27862 *-pc-msdosdjgpp )
27863 wxUSE_SHARED=no
27864 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
27865 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
27866 ;;
27867 esac
27868 fi
27869
27870 SHARED=0
27871 if test "$wxUSE_SHARED" = "yes"; then
27872 SHARED=1
27873
27874
27875 found_versioning=no
27876
27877
27878 if test $found_versioning = no ; then
27879 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
27880 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
27881 if test "${wx_cv_version_script+set}" = set; then
27882 echo $ECHO_N "(cached) $ECHO_C" >&6
27883 else
27884
27885 echo "VER_1 { *; };" >conftest.sym
27886 echo "int main() { return 0; }" >conftest.cpp
27887
27888 if { ac_try='
27889 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
27890 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
27891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27892 (eval $ac_try) 2>&5
27893 ac_status=$?
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); }; } ; then
27896 if test -s conftest.stderr ; then
27897 wx_cv_version_script=no
27898 else
27899 wx_cv_version_script=yes
27900 fi
27901 else
27902 wx_cv_version_script=no
27903 fi
27904 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
27905
27906 fi
27907 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
27908 echo "${ECHO_T}$wx_cv_version_script" >&6
27909 if test $wx_cv_version_script = yes ; then
27910 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
27911 fi
27912 fi
27913
27914
27915 case "${host}" in
27916 *-*-linux* | *-*-gnu* )
27917 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27918 ;;
27919
27920 *-*-solaris2* )
27921 if test "$GCC" = yes ; then
27922 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
27923
27924 saveLdflags="$LDFLAGS"
27925 LDFLAGS="$saveLdflags -Wl,-rpath,/"
27926 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
27927 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
27928 cat >conftest.$ac_ext <<_ACEOF
27929 /* confdefs.h. */
27930 _ACEOF
27931 cat confdefs.h >>conftest.$ac_ext
27932 cat >>conftest.$ac_ext <<_ACEOF
27933 /* end confdefs.h. */
27934
27935 int
27936 main ()
27937 {
27938
27939 ;
27940 return 0;
27941 }
27942 _ACEOF
27943 rm -f conftest.$ac_objext conftest$ac_exeext
27944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27945 (eval $ac_link) 2>conftest.er1
27946 ac_status=$?
27947 grep -v '^ *+' conftest.er1 >conftest.err
27948 rm -f conftest.er1
27949 cat conftest.err >&5
27950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951 (exit $ac_status); } &&
27952 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27955 ac_status=$?
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; } &&
27958 { ac_try='test -s conftest$ac_exeext'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; }; then
27964
27965 echo "$as_me:$LINENO: result: yes" >&5
27966 echo "${ECHO_T}yes" >&6
27967 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
27968
27969 else
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.$ac_ext >&5
27972
27973
27974 echo "$as_me:$LINENO: result: no" >&5
27975 echo "${ECHO_T}no" >&6
27976 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
27977 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
27978 LDFLAGS="$saveLdflags -Wl,-R,/"
27979 cat >conftest.$ac_ext <<_ACEOF
27980 /* confdefs.h. */
27981 _ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985
27986 int
27987 main ()
27988 {
27989
27990 ;
27991 return 0;
27992 }
27993 _ACEOF
27994 rm -f conftest.$ac_objext conftest$ac_exeext
27995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27996 (eval $ac_link) 2>conftest.er1
27997 ac_status=$?
27998 grep -v '^ *+' conftest.er1 >conftest.err
27999 rm -f conftest.er1
28000 cat conftest.err >&5
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); } &&
28003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; } &&
28009 { ac_try='test -s conftest$ac_exeext'
28010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28011 (eval $ac_try) 2>&5
28012 ac_status=$?
28013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014 (exit $ac_status); }; }; then
28015
28016 echo "$as_me:$LINENO: result: yes" >&5
28017 echo "${ECHO_T}yes" >&6
28018 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
28019 else
28020 echo "$as_me: failed program was:" >&5
28021 sed 's/^/| /' conftest.$ac_ext >&5
28022
28023
28024 echo "$as_me:$LINENO: result: no" >&5
28025 echo "${ECHO_T}no" >&6
28026
28027 fi
28028 rm -f conftest.err conftest.$ac_objext \
28029 conftest$ac_exeext conftest.$ac_ext
28030
28031 fi
28032 rm -f conftest.err conftest.$ac_objext \
28033 conftest$ac_exeext conftest.$ac_ext
28034 LDFLAGS="$saveLdflags"
28035 else
28036 SHARED_LD="${CXX} -G -o"
28037 PIC_FLAG="-KPIC"
28038 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
28039 fi
28040 ;;
28041
28042 powerpc-*-darwin* )
28043 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
28044 cat <<EOF >change-install-names
28045 #!/bin/sh
28046 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28047 inst_cmd="install_name_tool "
28048 for i in \${libnames} ; do
28049 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
28050 done
28051 \${inst_cmd} \${3}
28052 EOF
28053 chmod +x change-install-names
28054 ;;
28055
28056 *-*-cygwin* | *-*-mingw32* )
28057 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
28058 ;;
28059
28060 esac
28061
28062 if test "x$WX_TARGET_LIBRARY" = "x"; then
28063 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
28064 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
28065 fi
28066
28067 WX_TARGET_LIBRARY_TYPE="so"
28068 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
28069 fi
28070
28071 if test "$wxUSE_SHARED" = "no"; then
28072
28073 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
28074 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28075 fi
28076
28077 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
28078 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
28079 fi
28080
28081 if test "$wxUSE_OPENGL" = "yes"; then
28082 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
28083 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
28084 else
28085 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
28086 fi
28087
28088 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
28089 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
28090
28091 WX_TARGET_LIBRARY_TYPE="a"
28092 INSTALL_LIBRARY='$(INSTALL_DATA)'
28093
28094 STATIC_FLAG="yes"
28095 else
28096 STATIC_FLAG="no"
28097 fi
28098
28099 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
28100 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
28101 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
28102 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
28103
28104 # Extract the first word of "Rez", so it can be a program name with args.
28105 set dummy Rez; ac_word=$2
28106 echo "$as_me:$LINENO: checking for $ac_word" >&5
28107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28108 if test "${ac_cv_prog_RESCOMP+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 else
28111 if test -n "$RESCOMP"; then
28112 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
28113 else
28114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28115 for as_dir in $PATH
28116 do
28117 IFS=$as_save_IFS
28118 test -z "$as_dir" && as_dir=.
28119 for ac_exec_ext in '' $ac_executable_extensions; do
28120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28121 ac_cv_prog_RESCOMP="Rez"
28122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28123 break 2
28124 fi
28125 done
28126 done
28127
28128 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
28129 fi
28130 fi
28131 RESCOMP=$ac_cv_prog_RESCOMP
28132 if test -n "$RESCOMP"; then
28133 echo "$as_me:$LINENO: result: $RESCOMP" >&5
28134 echo "${ECHO_T}$RESCOMP" >&6
28135 else
28136 echo "$as_me:$LINENO: result: no" >&5
28137 echo "${ECHO_T}no" >&6
28138 fi
28139
28140 # Extract the first word of "DeRez", so it can be a program name with args.
28141 set dummy DeRez; ac_word=$2
28142 echo "$as_me:$LINENO: checking for $ac_word" >&5
28143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28144 if test "${ac_cv_prog_DEREZ+set}" = set; then
28145 echo $ECHO_N "(cached) $ECHO_C" >&6
28146 else
28147 if test -n "$DEREZ"; then
28148 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
28149 else
28150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28151 for as_dir in $PATH
28152 do
28153 IFS=$as_save_IFS
28154 test -z "$as_dir" && as_dir=.
28155 for ac_exec_ext in '' $ac_executable_extensions; do
28156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28157 ac_cv_prog_DEREZ="DeRez"
28158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28159 break 2
28160 fi
28161 done
28162 done
28163
28164 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
28165 fi
28166 fi
28167 DEREZ=$ac_cv_prog_DEREZ
28168 if test -n "$DEREZ"; then
28169 echo "$as_me:$LINENO: result: $DEREZ" >&5
28170 echo "${ECHO_T}$DEREZ" >&6
28171 else
28172 echo "$as_me:$LINENO: result: no" >&5
28173 echo "${ECHO_T}no" >&6
28174 fi
28175
28176 # Extract the first word of "SetFile", so it can be a program name with args.
28177 set dummy SetFile; ac_word=$2
28178 echo "$as_me:$LINENO: checking for $ac_word" >&5
28179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28180 if test "${ac_cv_prog_SETFILE+set}" = set; then
28181 echo $ECHO_N "(cached) $ECHO_C" >&6
28182 else
28183 if test -n "$SETFILE"; then
28184 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
28185 else
28186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28187 for as_dir in $PATH
28188 do
28189 IFS=$as_save_IFS
28190 test -z "$as_dir" && as_dir=.
28191 for ac_exec_ext in '' $ac_executable_extensions; do
28192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28193 ac_cv_prog_SETFILE="SetFile"
28194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28195 break 2
28196 fi
28197 done
28198 done
28199
28200 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
28201 fi
28202 fi
28203 SETFILE=$ac_cv_prog_SETFILE
28204 if test -n "$SETFILE"; then
28205 echo "$as_me:$LINENO: result: $SETFILE" >&5
28206 echo "${ECHO_T}$SETFILE" >&6
28207 else
28208 echo "$as_me:$LINENO: result: no" >&5
28209 echo "${ECHO_T}no" >&6
28210 fi
28211
28212
28213 MACSETFILE="\$(SETFILE)"
28214
28215 if test "$wxUSE_MAC" = 1; then
28216 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
28217
28218 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28219 else
28220 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
28221 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
28222 fi
28223 else
28224 MACSETFILE="@#"
28225 MACRESWXCONFIG="#"
28226
28227 if test "$wxUSE_PM" = 1; then
28228 MACRESCOMP="emxbind -ep"
28229 else
28230 MACRESCOMP="@#"
28231 fi
28232 fi
28233
28234
28235
28236 echo "$as_me:$LINENO: checking for mode_t" >&5
28237 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
28238 if test "${ac_cv_type_mode_t+set}" = set; then
28239 echo $ECHO_N "(cached) $ECHO_C" >&6
28240 else
28241 cat >conftest.$ac_ext <<_ACEOF
28242 /* confdefs.h. */
28243 _ACEOF
28244 cat confdefs.h >>conftest.$ac_ext
28245 cat >>conftest.$ac_ext <<_ACEOF
28246 /* end confdefs.h. */
28247 $ac_includes_default
28248 int
28249 main ()
28250 {
28251 if ((mode_t *) 0)
28252 return 0;
28253 if (sizeof (mode_t))
28254 return 0;
28255 ;
28256 return 0;
28257 }
28258 _ACEOF
28259 rm -f conftest.$ac_objext
28260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28261 (eval $ac_compile) 2>conftest.er1
28262 ac_status=$?
28263 grep -v '^ *+' conftest.er1 >conftest.err
28264 rm -f conftest.er1
28265 cat conftest.err >&5
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); } &&
28268 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; } &&
28274 { ac_try='test -s conftest.$ac_objext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_type_mode_t=yes
28281 else
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.$ac_ext >&5
28284
28285 ac_cv_type_mode_t=no
28286 fi
28287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28288 fi
28289 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
28290 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
28291 if test $ac_cv_type_mode_t = yes; then
28292 :
28293 else
28294
28295 cat >>confdefs.h <<_ACEOF
28296 #define mode_t int
28297 _ACEOF
28298
28299 fi
28300
28301 echo "$as_me:$LINENO: checking for off_t" >&5
28302 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
28303 if test "${ac_cv_type_off_t+set}" = set; then
28304 echo $ECHO_N "(cached) $ECHO_C" >&6
28305 else
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312 $ac_includes_default
28313 int
28314 main ()
28315 {
28316 if ((off_t *) 0)
28317 return 0;
28318 if (sizeof (off_t))
28319 return 0;
28320 ;
28321 return 0;
28322 }
28323 _ACEOF
28324 rm -f conftest.$ac_objext
28325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28326 (eval $ac_compile) 2>conftest.er1
28327 ac_status=$?
28328 grep -v '^ *+' conftest.er1 >conftest.err
28329 rm -f conftest.er1
28330 cat conftest.err >&5
28331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332 (exit $ac_status); } &&
28333 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; } &&
28339 { ac_try='test -s conftest.$ac_objext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 ac_cv_type_off_t=yes
28346 else
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28349
28350 ac_cv_type_off_t=no
28351 fi
28352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28353 fi
28354 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
28355 echo "${ECHO_T}$ac_cv_type_off_t" >&6
28356 if test $ac_cv_type_off_t = yes; then
28357 :
28358 else
28359
28360 cat >>confdefs.h <<_ACEOF
28361 #define off_t long
28362 _ACEOF
28363
28364 fi
28365
28366 echo "$as_me:$LINENO: checking for pid_t" >&5
28367 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
28368 if test "${ac_cv_type_pid_t+set}" = set; then
28369 echo $ECHO_N "(cached) $ECHO_C" >&6
28370 else
28371 cat >conftest.$ac_ext <<_ACEOF
28372 /* confdefs.h. */
28373 _ACEOF
28374 cat confdefs.h >>conftest.$ac_ext
28375 cat >>conftest.$ac_ext <<_ACEOF
28376 /* end confdefs.h. */
28377 $ac_includes_default
28378 int
28379 main ()
28380 {
28381 if ((pid_t *) 0)
28382 return 0;
28383 if (sizeof (pid_t))
28384 return 0;
28385 ;
28386 return 0;
28387 }
28388 _ACEOF
28389 rm -f conftest.$ac_objext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28391 (eval $ac_compile) 2>conftest.er1
28392 ac_status=$?
28393 grep -v '^ *+' conftest.er1 >conftest.err
28394 rm -f conftest.er1
28395 cat conftest.err >&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } &&
28398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28400 (eval $ac_try) 2>&5
28401 ac_status=$?
28402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28403 (exit $ac_status); }; } &&
28404 { ac_try='test -s conftest.$ac_objext'
28405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28406 (eval $ac_try) 2>&5
28407 ac_status=$?
28408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28409 (exit $ac_status); }; }; then
28410 ac_cv_type_pid_t=yes
28411 else
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.$ac_ext >&5
28414
28415 ac_cv_type_pid_t=no
28416 fi
28417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28418 fi
28419 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
28420 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
28421 if test $ac_cv_type_pid_t = yes; then
28422 :
28423 else
28424
28425 cat >>confdefs.h <<_ACEOF
28426 #define pid_t int
28427 _ACEOF
28428
28429 fi
28430
28431 echo "$as_me:$LINENO: checking for size_t" >&5
28432 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
28433 if test "${ac_cv_type_size_t+set}" = set; then
28434 echo $ECHO_N "(cached) $ECHO_C" >&6
28435 else
28436 cat >conftest.$ac_ext <<_ACEOF
28437 /* confdefs.h. */
28438 _ACEOF
28439 cat confdefs.h >>conftest.$ac_ext
28440 cat >>conftest.$ac_ext <<_ACEOF
28441 /* end confdefs.h. */
28442 $ac_includes_default
28443 int
28444 main ()
28445 {
28446 if ((size_t *) 0)
28447 return 0;
28448 if (sizeof (size_t))
28449 return 0;
28450 ;
28451 return 0;
28452 }
28453 _ACEOF
28454 rm -f conftest.$ac_objext
28455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28456 (eval $ac_compile) 2>conftest.er1
28457 ac_status=$?
28458 grep -v '^ *+' conftest.er1 >conftest.err
28459 rm -f conftest.er1
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } &&
28463 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28465 (eval $ac_try) 2>&5
28466 ac_status=$?
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); }; } &&
28469 { ac_try='test -s conftest.$ac_objext'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; }; then
28475 ac_cv_type_size_t=yes
28476 else
28477 echo "$as_me: failed program was:" >&5
28478 sed 's/^/| /' conftest.$ac_ext >&5
28479
28480 ac_cv_type_size_t=no
28481 fi
28482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28483 fi
28484 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
28485 echo "${ECHO_T}$ac_cv_type_size_t" >&6
28486 if test $ac_cv_type_size_t = yes; then
28487 :
28488 else
28489
28490 cat >>confdefs.h <<_ACEOF
28491 #define size_t unsigned
28492 _ACEOF
28493
28494 fi
28495
28496 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
28497 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
28498 if test "${ac_cv_type_uid_t+set}" = set; then
28499 echo $ECHO_N "(cached) $ECHO_C" >&6
28500 else
28501 cat >conftest.$ac_ext <<_ACEOF
28502 /* confdefs.h. */
28503 _ACEOF
28504 cat confdefs.h >>conftest.$ac_ext
28505 cat >>conftest.$ac_ext <<_ACEOF
28506 /* end confdefs.h. */
28507 #include <sys/types.h>
28508
28509 _ACEOF
28510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28511 $EGREP "uid_t" >/dev/null 2>&1; then
28512 ac_cv_type_uid_t=yes
28513 else
28514 ac_cv_type_uid_t=no
28515 fi
28516 rm -f conftest*
28517
28518 fi
28519 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
28520 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
28521 if test $ac_cv_type_uid_t = no; then
28522
28523 cat >>confdefs.h <<\_ACEOF
28524 #define uid_t int
28525 _ACEOF
28526
28527
28528 cat >>confdefs.h <<\_ACEOF
28529 #define gid_t int
28530 _ACEOF
28531
28532 fi
28533
28534
28535
28536
28537 ac_ext=cc
28538 ac_cpp='$CXXCPP $CPPFLAGS'
28539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28542
28543 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
28544 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
28545 if test "${wx_cv_size_t_is_uint+set}" = set; then
28546 echo $ECHO_N "(cached) $ECHO_C" >&6
28547 else
28548
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 #include <stddef.h>
28556 int
28557 main ()
28558 {
28559
28560 return 0; }
28561
28562 struct Foo { void foo(size_t); void foo(unsigned int); };
28563
28564 int bar() {
28565
28566 ;
28567 return 0;
28568 }
28569 _ACEOF
28570 rm -f conftest.$ac_objext
28571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28572 (eval $ac_compile) 2>conftest.er1
28573 ac_status=$?
28574 grep -v '^ *+' conftest.er1 >conftest.err
28575 rm -f conftest.er1
28576 cat conftest.err >&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); } &&
28579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28582 ac_status=$?
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; } &&
28585 { ac_try='test -s conftest.$ac_objext'
28586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28587 (eval $ac_try) 2>&5
28588 ac_status=$?
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 (exit $ac_status); }; }; then
28591 wx_cv_size_t_is_uint=no
28592 else
28593 echo "$as_me: failed program was:" >&5
28594 sed 's/^/| /' conftest.$ac_ext >&5
28595
28596 wx_cv_size_t_is_uint=yes
28597
28598 fi
28599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28600
28601
28602 fi
28603 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
28604 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
28605
28606 if test "$wx_cv_size_t_is_uint" = "yes"; then
28607 cat >>confdefs.h <<\_ACEOF
28608 #define wxSIZE_T_IS_UINT 1
28609 _ACEOF
28610
28611 else
28612 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
28613 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
28614 if test "${wx_cv_size_t_is_ulong+set}" = set; then
28615 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 else
28617 cat >conftest.$ac_ext <<_ACEOF
28618 /* confdefs.h. */
28619 _ACEOF
28620 cat confdefs.h >>conftest.$ac_ext
28621 cat >>conftest.$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623 #include <stddef.h>
28624 int
28625 main ()
28626 {
28627
28628 return 0; }
28629
28630 struct Foo { void foo(size_t); void foo(unsigned long); };
28631
28632 int bar() {
28633
28634 ;
28635 return 0;
28636 }
28637 _ACEOF
28638 rm -f conftest.$ac_objext
28639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28640 (eval $ac_compile) 2>conftest.er1
28641 ac_status=$?
28642 grep -v '^ *+' conftest.er1 >conftest.err
28643 rm -f conftest.er1
28644 cat conftest.err >&5
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); } &&
28647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649 (eval $ac_try) 2>&5
28650 ac_status=$?
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); }; } &&
28653 { ac_try='test -s conftest.$ac_objext'
28654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28655 (eval $ac_try) 2>&5
28656 ac_status=$?
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); }; }; then
28659 wx_cv_size_t_is_ulong=no
28660 else
28661 echo "$as_me: failed program was:" >&5
28662 sed 's/^/| /' conftest.$ac_ext >&5
28663
28664 wx_cv_size_t_is_ulong=yes
28665
28666 fi
28667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28668
28669 fi
28670 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
28671 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
28672
28673 if test "$wx_cv_size_t_is_ulong" = "yes"; then
28674 cat >>confdefs.h <<\_ACEOF
28675 #define wxSIZE_T_IS_ULONG 1
28676 _ACEOF
28677
28678 fi
28679 fi
28680
28681 ac_ext=c
28682 ac_cpp='$CPP $CPPFLAGS'
28683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28686
28687
28688
28689 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
28690 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
28691 if test "${wx_cv_struct_pw_gecos+set}" = set; then
28692 echo $ECHO_N "(cached) $ECHO_C" >&6
28693 else
28694
28695 cat >conftest.$ac_ext <<_ACEOF
28696 /* confdefs.h. */
28697 _ACEOF
28698 cat confdefs.h >>conftest.$ac_ext
28699 cat >>conftest.$ac_ext <<_ACEOF
28700 /* end confdefs.h. */
28701 #include <pwd.h>
28702 int
28703 main ()
28704 {
28705
28706 char *p;
28707 struct passwd *pw;
28708 p = pw->pw_gecos;
28709
28710 ;
28711 return 0;
28712 }
28713 _ACEOF
28714 rm -f conftest.$ac_objext
28715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28716 (eval $ac_compile) 2>conftest.er1
28717 ac_status=$?
28718 grep -v '^ *+' conftest.er1 >conftest.err
28719 rm -f conftest.er1
28720 cat conftest.err >&5
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); } &&
28723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28725 (eval $ac_try) 2>&5
28726 ac_status=$?
28727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728 (exit $ac_status); }; } &&
28729 { ac_try='test -s conftest.$ac_objext'
28730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28731 (eval $ac_try) 2>&5
28732 ac_status=$?
28733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28734 (exit $ac_status); }; }; then
28735
28736 wx_cv_struct_pw_gecos=yes
28737
28738 else
28739 echo "$as_me: failed program was:" >&5
28740 sed 's/^/| /' conftest.$ac_ext >&5
28741
28742
28743 wx_cv_struct_pw_gecos=no
28744
28745
28746 fi
28747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28748
28749
28750 fi
28751 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
28752 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
28753
28754 if test "$wx_cv_struct_pw_gecos" = "yes"; then
28755 cat >>confdefs.h <<\_ACEOF
28756 #define HAVE_PW_GECOS 1
28757 _ACEOF
28758
28759 fi
28760
28761
28762 if test "$wx_cv_sizeof_wchar_t" != "0"; then
28763 cat >>confdefs.h <<\_ACEOF
28764 #define wxUSE_WCHAR_T 1
28765 _ACEOF
28766
28767
28768 WCSLEN_FOUND=0
28769 WCHAR_LINK=
28770
28771 for ac_func in wcslen
28772 do
28773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28774 echo "$as_me:$LINENO: checking for $ac_func" >&5
28775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28776 if eval "test \"\${$as_ac_var+set}\" = set"; then
28777 echo $ECHO_N "(cached) $ECHO_C" >&6
28778 else
28779 cat >conftest.$ac_ext <<_ACEOF
28780 /* confdefs.h. */
28781 _ACEOF
28782 cat confdefs.h >>conftest.$ac_ext
28783 cat >>conftest.$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28787 #define $ac_func innocuous_$ac_func
28788
28789 /* System header to define __stub macros and hopefully few prototypes,
28790 which can conflict with char $ac_func (); below.
28791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28792 <limits.h> exists even on freestanding compilers. */
28793
28794 #ifdef __STDC__
28795 # include <limits.h>
28796 #else
28797 # include <assert.h>
28798 #endif
28799
28800 #undef $ac_func
28801
28802 /* Override any gcc2 internal prototype to avoid an error. */
28803 #ifdef __cplusplus
28804 extern "C"
28805 {
28806 #endif
28807 /* We use char because int might match the return type of a gcc2
28808 builtin and then its argument prototype would still apply. */
28809 char $ac_func ();
28810 /* The GNU C library defines this for functions which it implements
28811 to always fail with ENOSYS. Some functions are actually named
28812 something starting with __ and the normal name is an alias. */
28813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28814 choke me
28815 #else
28816 char (*f) () = $ac_func;
28817 #endif
28818 #ifdef __cplusplus
28819 }
28820 #endif
28821
28822 int
28823 main ()
28824 {
28825 return f != $ac_func;
28826 ;
28827 return 0;
28828 }
28829 _ACEOF
28830 rm -f conftest.$ac_objext conftest$ac_exeext
28831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28832 (eval $ac_link) 2>conftest.er1
28833 ac_status=$?
28834 grep -v '^ *+' conftest.er1 >conftest.err
28835 rm -f conftest.er1
28836 cat conftest.err >&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); } &&
28839 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28841 (eval $ac_try) 2>&5
28842 ac_status=$?
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); }; } &&
28845 { ac_try='test -s conftest$ac_exeext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28848 ac_status=$?
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 eval "$as_ac_var=yes"
28852 else
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28855
28856 eval "$as_ac_var=no"
28857 fi
28858 rm -f conftest.err conftest.$ac_objext \
28859 conftest$ac_exeext conftest.$ac_ext
28860 fi
28861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28863 if test `eval echo '${'$as_ac_var'}'` = yes; then
28864 cat >>confdefs.h <<_ACEOF
28865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28866 _ACEOF
28867 WCSLEN_FOUND=1
28868 fi
28869 done
28870
28871
28872 if test "$WCSLEN_FOUND" = 0; then
28873 if test "$TOOLKIT" = "MSW"; then
28874 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
28875 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
28876 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
28877 echo $ECHO_N "(cached) $ECHO_C" >&6
28878 else
28879 ac_check_lib_save_LIBS=$LIBS
28880 LIBS="-lmsvcrt $LIBS"
28881 cat >conftest.$ac_ext <<_ACEOF
28882 /* confdefs.h. */
28883 _ACEOF
28884 cat confdefs.h >>conftest.$ac_ext
28885 cat >>conftest.$ac_ext <<_ACEOF
28886 /* end confdefs.h. */
28887
28888 /* Override any gcc2 internal prototype to avoid an error. */
28889 #ifdef __cplusplus
28890 extern "C"
28891 #endif
28892 /* We use char because int might match the return type of a gcc2
28893 builtin and then its argument prototype would still apply. */
28894 char wcslen ();
28895 int
28896 main ()
28897 {
28898 wcslen ();
28899 ;
28900 return 0;
28901 }
28902 _ACEOF
28903 rm -f conftest.$ac_objext conftest$ac_exeext
28904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28905 (eval $ac_link) 2>conftest.er1
28906 ac_status=$?
28907 grep -v '^ *+' conftest.er1 >conftest.err
28908 rm -f conftest.er1
28909 cat conftest.err >&5
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); } &&
28912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28914 (eval $ac_try) 2>&5
28915 ac_status=$?
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); }; } &&
28918 { ac_try='test -s conftest$ac_exeext'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28921 ac_status=$?
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; }; then
28924 ac_cv_lib_msvcrt_wcslen=yes
28925 else
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28928
28929 ac_cv_lib_msvcrt_wcslen=no
28930 fi
28931 rm -f conftest.err conftest.$ac_objext \
28932 conftest$ac_exeext conftest.$ac_ext
28933 LIBS=$ac_check_lib_save_LIBS
28934 fi
28935 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
28936 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
28937 if test $ac_cv_lib_msvcrt_wcslen = yes; then
28938 WCHAR_OK=1
28939 fi
28940
28941 else
28942 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
28943 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
28944 if test "${ac_cv_lib_w_wcslen+set}" = set; then
28945 echo $ECHO_N "(cached) $ECHO_C" >&6
28946 else
28947 ac_check_lib_save_LIBS=$LIBS
28948 LIBS="-lw $LIBS"
28949 cat >conftest.$ac_ext <<_ACEOF
28950 /* confdefs.h. */
28951 _ACEOF
28952 cat confdefs.h >>conftest.$ac_ext
28953 cat >>conftest.$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28955
28956 /* Override any gcc2 internal prototype to avoid an error. */
28957 #ifdef __cplusplus
28958 extern "C"
28959 #endif
28960 /* We use char because int might match the return type of a gcc2
28961 builtin and then its argument prototype would still apply. */
28962 char wcslen ();
28963 int
28964 main ()
28965 {
28966 wcslen ();
28967 ;
28968 return 0;
28969 }
28970 _ACEOF
28971 rm -f conftest.$ac_objext conftest$ac_exeext
28972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28973 (eval $ac_link) 2>conftest.er1
28974 ac_status=$?
28975 grep -v '^ *+' conftest.er1 >conftest.err
28976 rm -f conftest.er1
28977 cat conftest.err >&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } &&
28980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28982 (eval $ac_try) 2>&5
28983 ac_status=$?
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); }; } &&
28986 { ac_try='test -s conftest$ac_exeext'
28987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28988 (eval $ac_try) 2>&5
28989 ac_status=$?
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); }; }; then
28992 ac_cv_lib_w_wcslen=yes
28993 else
28994 echo "$as_me: failed program was:" >&5
28995 sed 's/^/| /' conftest.$ac_ext >&5
28996
28997 ac_cv_lib_w_wcslen=no
28998 fi
28999 rm -f conftest.err conftest.$ac_objext \
29000 conftest$ac_exeext conftest.$ac_ext
29001 LIBS=$ac_check_lib_save_LIBS
29002 fi
29003 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
29004 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
29005 if test $ac_cv_lib_w_wcslen = yes; then
29006
29007 WCHAR_LINK=" -lw"
29008 WCSLEN_FOUND=1
29009
29010 fi
29011
29012 fi
29013 fi
29014
29015 if test "$WCSLEN_FOUND" = 1; then
29016 cat >>confdefs.h <<\_ACEOF
29017 #define HAVE_WCSLEN 1
29018 _ACEOF
29019
29020 fi
29021
29022 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
29023 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
29024 fi
29025
29026
29027 for ac_func in wcsrtombs
29028 do
29029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035 cat >conftest.$ac_ext <<_ACEOF
29036 /* confdefs.h. */
29037 _ACEOF
29038 cat confdefs.h >>conftest.$ac_ext
29039 cat >>conftest.$ac_ext <<_ACEOF
29040 /* end confdefs.h. */
29041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29043 #define $ac_func innocuous_$ac_func
29044
29045 /* System header to define __stub macros and hopefully few prototypes,
29046 which can conflict with char $ac_func (); below.
29047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29048 <limits.h> exists even on freestanding compilers. */
29049
29050 #ifdef __STDC__
29051 # include <limits.h>
29052 #else
29053 # include <assert.h>
29054 #endif
29055
29056 #undef $ac_func
29057
29058 /* Override any gcc2 internal prototype to avoid an error. */
29059 #ifdef __cplusplus
29060 extern "C"
29061 {
29062 #endif
29063 /* We use char because int might match the return type of a gcc2
29064 builtin and then its argument prototype would still apply. */
29065 char $ac_func ();
29066 /* The GNU C library defines this for functions which it implements
29067 to always fail with ENOSYS. Some functions are actually named
29068 something starting with __ and the normal name is an alias. */
29069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29070 choke me
29071 #else
29072 char (*f) () = $ac_func;
29073 #endif
29074 #ifdef __cplusplus
29075 }
29076 #endif
29077
29078 int
29079 main ()
29080 {
29081 return f != $ac_func;
29082 ;
29083 return 0;
29084 }
29085 _ACEOF
29086 rm -f conftest.$ac_objext conftest$ac_exeext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29088 (eval $ac_link) 2>conftest.er1
29089 ac_status=$?
29090 grep -v '^ *+' conftest.er1 >conftest.err
29091 rm -f conftest.er1
29092 cat conftest.err >&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
29101 { ac_try='test -s conftest$ac_exeext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 eval "$as_ac_var=yes"
29108 else
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.$ac_ext >&5
29111
29112 eval "$as_ac_var=no"
29113 fi
29114 rm -f conftest.err conftest.$ac_objext \
29115 conftest$ac_exeext conftest.$ac_ext
29116 fi
29117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29119 if test `eval echo '${'$as_ac_var'}'` = yes; then
29120 cat >>confdefs.h <<_ACEOF
29121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29122 _ACEOF
29123
29124 fi
29125 done
29126
29127 else
29128 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
29129 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
29130 fi
29131
29132
29133
29134 ac_ext=cc
29135 ac_cpp='$CXXCPP $CPPFLAGS'
29136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29139
29140
29141
29142 for ac_func in vsnprintf
29143 do
29144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29145 echo "$as_me:$LINENO: checking for $ac_func" >&5
29146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29147 if eval "test \"\${$as_ac_var+set}\" = set"; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29149 else
29150 cat >conftest.$ac_ext <<_ACEOF
29151 /* confdefs.h. */
29152 _ACEOF
29153 cat confdefs.h >>conftest.$ac_ext
29154 cat >>conftest.$ac_ext <<_ACEOF
29155 /* end confdefs.h. */
29156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29158 #define $ac_func innocuous_$ac_func
29159
29160 /* System header to define __stub macros and hopefully few prototypes,
29161 which can conflict with char $ac_func (); below.
29162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29163 <limits.h> exists even on freestanding compilers. */
29164
29165 #ifdef __STDC__
29166 # include <limits.h>
29167 #else
29168 # include <assert.h>
29169 #endif
29170
29171 #undef $ac_func
29172
29173 /* Override any gcc2 internal prototype to avoid an error. */
29174 #ifdef __cplusplus
29175 extern "C"
29176 {
29177 #endif
29178 /* We use char because int might match the return type of a gcc2
29179 builtin and then its argument prototype would still apply. */
29180 char $ac_func ();
29181 /* The GNU C library defines this for functions which it implements
29182 to always fail with ENOSYS. Some functions are actually named
29183 something starting with __ and the normal name is an alias. */
29184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29185 choke me
29186 #else
29187 char (*f) () = $ac_func;
29188 #endif
29189 #ifdef __cplusplus
29190 }
29191 #endif
29192
29193 int
29194 main ()
29195 {
29196 return f != $ac_func;
29197 ;
29198 return 0;
29199 }
29200 _ACEOF
29201 rm -f conftest.$ac_objext conftest$ac_exeext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29203 (eval $ac_link) 2>conftest.er1
29204 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1
29207 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } &&
29210 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29212 (eval $ac_try) 2>&5
29213 ac_status=$?
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); }; } &&
29216 { ac_try='test -s conftest$ac_exeext'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29219 ac_status=$?
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; }; then
29222 eval "$as_ac_var=yes"
29223 else
29224 echo "$as_me: failed program was:" >&5
29225 sed 's/^/| /' conftest.$ac_ext >&5
29226
29227 eval "$as_ac_var=no"
29228 fi
29229 rm -f conftest.err conftest.$ac_objext \
29230 conftest$ac_exeext conftest.$ac_ext
29231 fi
29232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29234 if test `eval echo '${'$as_ac_var'}'` = yes; then
29235 cat >>confdefs.h <<_ACEOF
29236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29237 _ACEOF
29238
29239 fi
29240 done
29241
29242
29243 if test "$ac_cv_func_vsnprintf" = "yes"; then
29244 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
29245 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
29246 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 else
29249
29250 cat >conftest.$ac_ext <<_ACEOF
29251 /* confdefs.h. */
29252 _ACEOF
29253 cat confdefs.h >>conftest.$ac_ext
29254 cat >>conftest.$ac_ext <<_ACEOF
29255 /* end confdefs.h. */
29256
29257 #include <stdio.h>
29258 #include <stdarg.h>
29259
29260 int
29261 main ()
29262 {
29263
29264 char *buf;
29265 va_list ap;
29266 vsnprintf(buf, 10u, "%s", ap);
29267
29268 ;
29269 return 0;
29270 }
29271 _ACEOF
29272 rm -f conftest.$ac_objext
29273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29274 (eval $ac_compile) 2>conftest.er1
29275 ac_status=$?
29276 grep -v '^ *+' conftest.er1 >conftest.err
29277 rm -f conftest.er1
29278 cat conftest.err >&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } &&
29281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29283 (eval $ac_try) 2>&5
29284 ac_status=$?
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); }; } &&
29287 { ac_try='test -s conftest.$ac_objext'
29288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 (eval $ac_try) 2>&5
29290 ac_status=$?
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); }; }; then
29293 wx_cv_func_vsnprintf_decl=yes
29294 else
29295 echo "$as_me: failed program was:" >&5
29296 sed 's/^/| /' conftest.$ac_ext >&5
29297
29298 wx_cv_func_vsnprintf_decl=no
29299
29300 fi
29301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29302
29303
29304 fi
29305 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
29306 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
29307
29308 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29309 cat >>confdefs.h <<\_ACEOF
29310 #define HAVE_VSNPRINTF_DECL 1
29311 _ACEOF
29312
29313 fi
29314 fi
29315
29316 if test "$wxUSE_UNICODE" = yes; then
29317
29318
29319
29320 for ac_func in fputwc wprintf vswprintf
29321 do
29322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29323 echo "$as_me:$LINENO: checking for $ac_func" >&5
29324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29325 if eval "test \"\${$as_ac_var+set}\" = set"; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29327 else
29328 cat >conftest.$ac_ext <<_ACEOF
29329 /* confdefs.h. */
29330 _ACEOF
29331 cat confdefs.h >>conftest.$ac_ext
29332 cat >>conftest.$ac_ext <<_ACEOF
29333 /* end confdefs.h. */
29334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29336 #define $ac_func innocuous_$ac_func
29337
29338 /* System header to define __stub macros and hopefully few prototypes,
29339 which can conflict with char $ac_func (); below.
29340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29341 <limits.h> exists even on freestanding compilers. */
29342
29343 #ifdef __STDC__
29344 # include <limits.h>
29345 #else
29346 # include <assert.h>
29347 #endif
29348
29349 #undef $ac_func
29350
29351 /* Override any gcc2 internal prototype to avoid an error. */
29352 #ifdef __cplusplus
29353 extern "C"
29354 {
29355 #endif
29356 /* We use char because int might match the return type of a gcc2
29357 builtin and then its argument prototype would still apply. */
29358 char $ac_func ();
29359 /* The GNU C library defines this for functions which it implements
29360 to always fail with ENOSYS. Some functions are actually named
29361 something starting with __ and the normal name is an alias. */
29362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29363 choke me
29364 #else
29365 char (*f) () = $ac_func;
29366 #endif
29367 #ifdef __cplusplus
29368 }
29369 #endif
29370
29371 int
29372 main ()
29373 {
29374 return f != $ac_func;
29375 ;
29376 return 0;
29377 }
29378 _ACEOF
29379 rm -f conftest.$ac_objext conftest$ac_exeext
29380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29381 (eval $ac_link) 2>conftest.er1
29382 ac_status=$?
29383 grep -v '^ *+' conftest.er1 >conftest.err
29384 rm -f conftest.er1
29385 cat conftest.err >&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } &&
29388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29390 (eval $ac_try) 2>&5
29391 ac_status=$?
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); }; } &&
29394 { ac_try='test -s conftest$ac_exeext'
29395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396 (eval $ac_try) 2>&5
29397 ac_status=$?
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); }; }; then
29400 eval "$as_ac_var=yes"
29401 else
29402 echo "$as_me: failed program was:" >&5
29403 sed 's/^/| /' conftest.$ac_ext >&5
29404
29405 eval "$as_ac_var=no"
29406 fi
29407 rm -f conftest.err conftest.$ac_objext \
29408 conftest$ac_exeext conftest.$ac_ext
29409 fi
29410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29412 if test `eval echo '${'$as_ac_var'}'` = yes; then
29413 cat >>confdefs.h <<_ACEOF
29414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29415 _ACEOF
29416
29417 fi
29418 done
29419
29420
29421 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
29422 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
29423 cat >conftest.$ac_ext <<_ACEOF
29424 /* confdefs.h. */
29425 _ACEOF
29426 cat confdefs.h >>conftest.$ac_ext
29427 cat >>conftest.$ac_ext <<_ACEOF
29428 /* end confdefs.h. */
29429 #include <wchar.h>
29430 int
29431 main ()
29432 {
29433 &_vsnwprintf;
29434 ;
29435 return 0;
29436 }
29437 _ACEOF
29438 rm -f conftest.$ac_objext
29439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29440 (eval $ac_compile) 2>conftest.er1
29441 ac_status=$?
29442 grep -v '^ *+' conftest.er1 >conftest.err
29443 rm -f conftest.er1
29444 cat conftest.err >&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); } &&
29447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29450 ac_status=$?
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; } &&
29453 { ac_try='test -s conftest.$ac_objext'
29454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29455 (eval $ac_try) 2>&5
29456 ac_status=$?
29457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 (exit $ac_status); }; }; then
29459 echo "$as_me:$LINENO: result: yes" >&5
29460 echo "${ECHO_T}yes" >&6
29461 cat >>confdefs.h <<\_ACEOF
29462 #define HAVE__VSNWPRINTF 1
29463 _ACEOF
29464
29465 else
29466 echo "$as_me: failed program was:" >&5
29467 sed 's/^/| /' conftest.$ac_ext >&5
29468
29469 echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6
29471 fi
29472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
29473 fi
29474
29475 ac_ext=c
29476 ac_cpp='$CPP $CPPFLAGS'
29477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29480
29481
29482
29483
29484 if test "$TOOLKIT" != "MSW"; then
29485
29486
29487
29488
29489 ac_ext=cc
29490 ac_cpp='$CXXCPP $CPPFLAGS'
29491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29494
29495
29496
29497
29498 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
29499 if test "${with_libiconv_prefix+set}" = set; then
29500 withval="$with_libiconv_prefix"
29501
29502 for dir in `echo "$withval" | tr : ' '`; do
29503 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29504 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29505 done
29506
29507 fi;
29508
29509 echo "$as_me:$LINENO: checking for iconv" >&5
29510 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
29511 if test "${am_cv_func_iconv+set}" = set; then
29512 echo $ECHO_N "(cached) $ECHO_C" >&6
29513 else
29514
29515 am_cv_func_iconv="no, consider installing GNU libiconv"
29516 am_cv_lib_iconv=no
29517 cat >conftest.$ac_ext <<_ACEOF
29518 /* confdefs.h. */
29519 _ACEOF
29520 cat confdefs.h >>conftest.$ac_ext
29521 cat >>conftest.$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523 #include <stdlib.h>
29524 #include <iconv.h>
29525 int
29526 main ()
29527 {
29528 iconv_t cd = iconv_open("","");
29529 iconv(cd,NULL,NULL,NULL,NULL);
29530 iconv_close(cd);
29531 ;
29532 return 0;
29533 }
29534 _ACEOF
29535 rm -f conftest.$ac_objext conftest$ac_exeext
29536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29537 (eval $ac_link) 2>conftest.er1
29538 ac_status=$?
29539 grep -v '^ *+' conftest.er1 >conftest.err
29540 rm -f conftest.er1
29541 cat conftest.err >&5
29542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29543 (exit $ac_status); } &&
29544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29546 (eval $ac_try) 2>&5
29547 ac_status=$?
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); }; } &&
29550 { ac_try='test -s conftest$ac_exeext'
29551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552 (eval $ac_try) 2>&5
29553 ac_status=$?
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); }; }; then
29556 am_cv_func_iconv=yes
29557 else
29558 echo "$as_me: failed program was:" >&5
29559 sed 's/^/| /' conftest.$ac_ext >&5
29560
29561 fi
29562 rm -f conftest.err conftest.$ac_objext \
29563 conftest$ac_exeext conftest.$ac_ext
29564 if test "$am_cv_func_iconv" != yes; then
29565 am_save_LIBS="$LIBS"
29566 LIBS="$LIBS -liconv"
29567 cat >conftest.$ac_ext <<_ACEOF
29568 /* confdefs.h. */
29569 _ACEOF
29570 cat confdefs.h >>conftest.$ac_ext
29571 cat >>conftest.$ac_ext <<_ACEOF
29572 /* end confdefs.h. */
29573 #include <stdlib.h>
29574 #include <iconv.h>
29575 int
29576 main ()
29577 {
29578 iconv_t cd = iconv_open("","");
29579 iconv(cd,NULL,NULL,NULL,NULL);
29580 iconv_close(cd);
29581 ;
29582 return 0;
29583 }
29584 _ACEOF
29585 rm -f conftest.$ac_objext conftest$ac_exeext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29587 (eval $ac_link) 2>conftest.er1
29588 ac_status=$?
29589 grep -v '^ *+' conftest.er1 >conftest.err
29590 rm -f conftest.er1
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } &&
29594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29596 (eval $ac_try) 2>&5
29597 ac_status=$?
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); }; } &&
29600 { ac_try='test -s conftest$ac_exeext'
29601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29602 (eval $ac_try) 2>&5
29603 ac_status=$?
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; }; then
29606 am_cv_lib_iconv=yes
29607 am_cv_func_iconv=yes
29608 else
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.$ac_ext >&5
29611
29612 fi
29613 rm -f conftest.err conftest.$ac_objext \
29614 conftest$ac_exeext conftest.$ac_ext
29615 LIBS="$am_save_LIBS"
29616 fi
29617
29618 fi
29619 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
29620 echo "${ECHO_T}$am_cv_func_iconv" >&6
29621 if test "$am_cv_func_iconv" = yes; then
29622
29623 cat >>confdefs.h <<\_ACEOF
29624 #define HAVE_ICONV 1
29625 _ACEOF
29626
29627 echo "$as_me:$LINENO: checking if iconv needs const" >&5
29628 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
29629 if test "${wx_cv_func_iconv_const+set}" = set; then
29630 echo $ECHO_N "(cached) $ECHO_C" >&6
29631 else
29632 cat >conftest.$ac_ext <<_ACEOF
29633 /* confdefs.h. */
29634 _ACEOF
29635 cat confdefs.h >>conftest.$ac_ext
29636 cat >>conftest.$ac_ext <<_ACEOF
29637 /* end confdefs.h. */
29638
29639 #include <stdlib.h>
29640 #include <iconv.h>
29641 extern
29642 #ifdef __cplusplus
29643 "C"
29644 #endif
29645 #if defined(__STDC__) || defined(__cplusplus)
29646 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29647 #else
29648 size_t iconv();
29649 #endif
29650
29651 int
29652 main ()
29653 {
29654
29655 ;
29656 return 0;
29657 }
29658 _ACEOF
29659 rm -f conftest.$ac_objext
29660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29661 (eval $ac_compile) 2>conftest.er1
29662 ac_status=$?
29663 grep -v '^ *+' conftest.er1 >conftest.err
29664 rm -f conftest.er1
29665 cat conftest.err >&5
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); } &&
29668 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29670 (eval $ac_try) 2>&5
29671 ac_status=$?
29672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 (exit $ac_status); }; } &&
29674 { ac_try='test -s conftest.$ac_objext'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29677 ac_status=$?
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; }; then
29680 wx_cv_func_iconv_const="no"
29681 else
29682 echo "$as_me: failed program was:" >&5
29683 sed 's/^/| /' conftest.$ac_ext >&5
29684
29685 wx_cv_func_iconv_const="yes"
29686
29687 fi
29688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29689
29690 fi
29691 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
29692 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
29693
29694 iconv_const=
29695 if test "x$wx_cv_func_iconv_const" = "xyes"; then
29696 iconv_const="const"
29697 fi
29698
29699
29700 cat >>confdefs.h <<_ACEOF
29701 #define ICONV_CONST $iconv_const
29702 _ACEOF
29703
29704 fi
29705 LIBICONV=
29706 if test "$am_cv_lib_iconv" = yes; then
29707 LIBICONV="-liconv"
29708 fi
29709
29710
29711 LIBS="$LIBICONV $LIBS"
29712 ac_ext=c
29713 ac_cpp='$CPP $CPPFLAGS'
29714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29717
29718
29719 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
29720
29721 for ac_func in sigaction
29722 do
29723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29724 echo "$as_me:$LINENO: checking for $ac_func" >&5
29725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29726 if eval "test \"\${$as_ac_var+set}\" = set"; then
29727 echo $ECHO_N "(cached) $ECHO_C" >&6
29728 else
29729 cat >conftest.$ac_ext <<_ACEOF
29730 /* confdefs.h. */
29731 _ACEOF
29732 cat confdefs.h >>conftest.$ac_ext
29733 cat >>conftest.$ac_ext <<_ACEOF
29734 /* end confdefs.h. */
29735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29737 #define $ac_func innocuous_$ac_func
29738
29739 /* System header to define __stub macros and hopefully few prototypes,
29740 which can conflict with char $ac_func (); below.
29741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29742 <limits.h> exists even on freestanding compilers. */
29743
29744 #ifdef __STDC__
29745 # include <limits.h>
29746 #else
29747 # include <assert.h>
29748 #endif
29749
29750 #undef $ac_func
29751
29752 /* Override any gcc2 internal prototype to avoid an error. */
29753 #ifdef __cplusplus
29754 extern "C"
29755 {
29756 #endif
29757 /* We use char because int might match the return type of a gcc2
29758 builtin and then its argument prototype would still apply. */
29759 char $ac_func ();
29760 /* The GNU C library defines this for functions which it implements
29761 to always fail with ENOSYS. Some functions are actually named
29762 something starting with __ and the normal name is an alias. */
29763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29764 choke me
29765 #else
29766 char (*f) () = $ac_func;
29767 #endif
29768 #ifdef __cplusplus
29769 }
29770 #endif
29771
29772 int
29773 main ()
29774 {
29775 return f != $ac_func;
29776 ;
29777 return 0;
29778 }
29779 _ACEOF
29780 rm -f conftest.$ac_objext conftest$ac_exeext
29781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29782 (eval $ac_link) 2>conftest.er1
29783 ac_status=$?
29784 grep -v '^ *+' conftest.er1 >conftest.err
29785 rm -f conftest.er1
29786 cat conftest.err >&5
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); } &&
29789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29792 ac_status=$?
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; } &&
29795 { ac_try='test -s conftest$ac_exeext'
29796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29797 (eval $ac_try) 2>&5
29798 ac_status=$?
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); }; }; then
29801 eval "$as_ac_var=yes"
29802 else
29803 echo "$as_me: failed program was:" >&5
29804 sed 's/^/| /' conftest.$ac_ext >&5
29805
29806 eval "$as_ac_var=no"
29807 fi
29808 rm -f conftest.err conftest.$ac_objext \
29809 conftest$ac_exeext conftest.$ac_ext
29810 fi
29811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29813 if test `eval echo '${'$as_ac_var'}'` = yes; then
29814 cat >>confdefs.h <<_ACEOF
29815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29816 _ACEOF
29817
29818 fi
29819 done
29820
29821
29822 if test "$ac_cv_func_sigaction" = "no"; then
29823 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
29824 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
29825 wxUSE_ON_FATAL_EXCEPTION=no
29826 fi
29827
29828 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29829
29830
29831 ac_ext=cc
29832 ac_cpp='$CXXCPP $CPPFLAGS'
29833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29836
29837
29838 echo "$as_me:$LINENO: checking for sa_handler type" >&5
29839 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
29840 if test "${wx_cv_type_sa_handler+set}" = set; then
29841 echo $ECHO_N "(cached) $ECHO_C" >&6
29842 else
29843
29844 cat >conftest.$ac_ext <<_ACEOF
29845 /* confdefs.h. */
29846 _ACEOF
29847 cat confdefs.h >>conftest.$ac_ext
29848 cat >>conftest.$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29850 #include <signal.h>
29851 int
29852 main ()
29853 {
29854
29855 extern void testSigHandler(int);
29856
29857 struct sigaction sa;
29858 sa.sa_handler = testSigHandler;
29859
29860 ;
29861 return 0;
29862 }
29863 _ACEOF
29864 rm -f conftest.$ac_objext
29865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29866 (eval $ac_compile) 2>conftest.er1
29867 ac_status=$?
29868 grep -v '^ *+' conftest.er1 >conftest.err
29869 rm -f conftest.er1
29870 cat conftest.err >&5
29871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29872 (exit $ac_status); } &&
29873 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29875 (eval $ac_try) 2>&5
29876 ac_status=$?
29877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29878 (exit $ac_status); }; } &&
29879 { ac_try='test -s conftest.$ac_objext'
29880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29881 (eval $ac_try) 2>&5
29882 ac_status=$?
29883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29884 (exit $ac_status); }; }; then
29885
29886 wx_cv_type_sa_handler=int
29887
29888 else
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.$ac_ext >&5
29891
29892
29893 wx_cv_type_sa_handler=void
29894
29895 fi
29896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29897
29898 fi
29899 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
29900 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
29901
29902 ac_ext=c
29903 ac_cpp='$CPP $CPPFLAGS'
29904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29907
29908
29909 cat >>confdefs.h <<_ACEOF
29910 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
29911 _ACEOF
29912
29913 fi
29914 fi
29915
29916
29917
29918 for ac_func in mkstemp mktemp
29919 do
29920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29921 echo "$as_me:$LINENO: checking for $ac_func" >&5
29922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29923 if eval "test \"\${$as_ac_var+set}\" = set"; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29925 else
29926 cat >conftest.$ac_ext <<_ACEOF
29927 /* confdefs.h. */
29928 _ACEOF
29929 cat confdefs.h >>conftest.$ac_ext
29930 cat >>conftest.$ac_ext <<_ACEOF
29931 /* end confdefs.h. */
29932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29934 #define $ac_func innocuous_$ac_func
29935
29936 /* System header to define __stub macros and hopefully few prototypes,
29937 which can conflict with char $ac_func (); below.
29938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29939 <limits.h> exists even on freestanding compilers. */
29940
29941 #ifdef __STDC__
29942 # include <limits.h>
29943 #else
29944 # include <assert.h>
29945 #endif
29946
29947 #undef $ac_func
29948
29949 /* Override any gcc2 internal prototype to avoid an error. */
29950 #ifdef __cplusplus
29951 extern "C"
29952 {
29953 #endif
29954 /* We use char because int might match the return type of a gcc2
29955 builtin and then its argument prototype would still apply. */
29956 char $ac_func ();
29957 /* The GNU C library defines this for functions which it implements
29958 to always fail with ENOSYS. Some functions are actually named
29959 something starting with __ and the normal name is an alias. */
29960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29961 choke me
29962 #else
29963 char (*f) () = $ac_func;
29964 #endif
29965 #ifdef __cplusplus
29966 }
29967 #endif
29968
29969 int
29970 main ()
29971 {
29972 return f != $ac_func;
29973 ;
29974 return 0;
29975 }
29976 _ACEOF
29977 rm -f conftest.$ac_objext conftest$ac_exeext
29978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29979 (eval $ac_link) 2>conftest.er1
29980 ac_status=$?
29981 grep -v '^ *+' conftest.er1 >conftest.err
29982 rm -f conftest.er1
29983 cat conftest.err >&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } &&
29986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29988 (eval $ac_try) 2>&5
29989 ac_status=$?
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); }; } &&
29992 { ac_try='test -s conftest$ac_exeext'
29993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29994 (eval $ac_try) 2>&5
29995 ac_status=$?
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); }; }; then
29998 eval "$as_ac_var=yes"
29999 else
30000 echo "$as_me: failed program was:" >&5
30001 sed 's/^/| /' conftest.$ac_ext >&5
30002
30003 eval "$as_ac_var=no"
30004 fi
30005 rm -f conftest.err conftest.$ac_objext \
30006 conftest$ac_exeext conftest.$ac_ext
30007 fi
30008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30010 if test `eval echo '${'$as_ac_var'}'` = yes; then
30011 cat >>confdefs.h <<_ACEOF
30012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30013 _ACEOF
30014 break
30015 fi
30016 done
30017
30018
30019 echo "$as_me:$LINENO: checking for statfs" >&5
30020 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
30021 if test "${wx_cv_func_statfs+set}" = set; then
30022 echo $ECHO_N "(cached) $ECHO_C" >&6
30023 else
30024 cat >conftest.$ac_ext <<_ACEOF
30025 /* confdefs.h. */
30026 _ACEOF
30027 cat confdefs.h >>conftest.$ac_ext
30028 cat >>conftest.$ac_ext <<_ACEOF
30029 /* end confdefs.h. */
30030
30031 #if defined(__BSD__)
30032 #include <sys/param.h>
30033 #include <sys/mount.h>
30034 #else
30035 #include <sys/vfs.h>
30036 #endif
30037
30038 int
30039 main ()
30040 {
30041
30042 long l;
30043 struct statfs fs;
30044 statfs("/", &fs);
30045 l = fs.f_bsize;
30046 l += fs.f_blocks;
30047 l += fs.f_bavail;
30048
30049 ;
30050 return 0;
30051 }
30052 _ACEOF
30053 rm -f conftest.$ac_objext
30054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30055 (eval $ac_compile) 2>conftest.er1
30056 ac_status=$?
30057 grep -v '^ *+' conftest.er1 >conftest.err
30058 rm -f conftest.er1
30059 cat conftest.err >&5
30060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30061 (exit $ac_status); } &&
30062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064 (eval $ac_try) 2>&5
30065 ac_status=$?
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); }; } &&
30068 { ac_try='test -s conftest.$ac_objext'
30069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30070 (eval $ac_try) 2>&5
30071 ac_status=$?
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); }; }; then
30074
30075 wx_cv_func_statfs=yes
30076
30077 else
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.$ac_ext >&5
30080
30081
30082 wx_cv_func_statfs=no
30083
30084
30085 fi
30086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30087
30088 fi
30089 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
30090 echo "${ECHO_T}$wx_cv_func_statfs" >&6
30091
30092 if test "$wx_cv_func_statfs" = "yes"; then
30093 wx_cv_type_statvfs_t="struct statfs"
30094 cat >>confdefs.h <<\_ACEOF
30095 #define HAVE_STATFS 1
30096 _ACEOF
30097
30098 else
30099 echo "$as_me:$LINENO: checking for statvfs" >&5
30100 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
30101 if test "${wx_cv_func_statvfs+set}" = set; then
30102 echo $ECHO_N "(cached) $ECHO_C" >&6
30103 else
30104 cat >conftest.$ac_ext <<_ACEOF
30105 /* confdefs.h. */
30106 _ACEOF
30107 cat confdefs.h >>conftest.$ac_ext
30108 cat >>conftest.$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30110
30111 #include <stddef.h>
30112 #include <sys/statvfs.h>
30113
30114 int
30115 main ()
30116 {
30117
30118 statvfs("/", NULL);
30119
30120 ;
30121 return 0;
30122 }
30123 _ACEOF
30124 rm -f conftest.$ac_objext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30126 (eval $ac_compile) 2>conftest.er1
30127 ac_status=$?
30128 grep -v '^ *+' conftest.er1 >conftest.err
30129 rm -f conftest.er1
30130 cat conftest.err >&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); } &&
30133 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30135 (eval $ac_try) 2>&5
30136 ac_status=$?
30137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30138 (exit $ac_status); }; } &&
30139 { ac_try='test -s conftest.$ac_objext'
30140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30141 (eval $ac_try) 2>&5
30142 ac_status=$?
30143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30144 (exit $ac_status); }; }; then
30145 wx_cv_func_statvfs=yes
30146 else
30147 echo "$as_me: failed program was:" >&5
30148 sed 's/^/| /' conftest.$ac_ext >&5
30149
30150 wx_cv_func_statvfs=no
30151
30152 fi
30153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30154
30155 fi
30156 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
30157 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
30158
30159 if test "$wx_cv_func_statvfs" = "yes"; then
30160
30161
30162 ac_ext=cc
30163 ac_cpp='$CXXCPP $CPPFLAGS'
30164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30167
30168
30169 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
30170 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
30171 if test "${wx_cv_type_statvfs_t+set}" = set; then
30172 echo $ECHO_N "(cached) $ECHO_C" >&6
30173 else
30174 cat >conftest.$ac_ext <<_ACEOF
30175 /* confdefs.h. */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30180
30181 #include <sys/statvfs.h>
30182
30183 int
30184 main ()
30185 {
30186
30187 long l;
30188 statvfs_t fs;
30189 statvfs("/", &fs);
30190 l = fs.f_bsize;
30191 l += fs.f_blocks;
30192 l += fs.f_bavail;
30193
30194 ;
30195 return 0;
30196 }
30197 _ACEOF
30198 rm -f conftest.$ac_objext
30199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30200 (eval $ac_compile) 2>conftest.er1
30201 ac_status=$?
30202 grep -v '^ *+' conftest.er1 >conftest.err
30203 rm -f conftest.er1
30204 cat conftest.err >&5
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); } &&
30207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30209 (eval $ac_try) 2>&5
30210 ac_status=$?
30211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30212 (exit $ac_status); }; } &&
30213 { ac_try='test -s conftest.$ac_objext'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30216 ac_status=$?
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; }; then
30219 wx_cv_type_statvfs_t=statvfs_t
30220 else
30221 echo "$as_me: failed program was:" >&5
30222 sed 's/^/| /' conftest.$ac_ext >&5
30223
30224
30225 cat >conftest.$ac_ext <<_ACEOF
30226 /* confdefs.h. */
30227 _ACEOF
30228 cat confdefs.h >>conftest.$ac_ext
30229 cat >>conftest.$ac_ext <<_ACEOF
30230 /* end confdefs.h. */
30231
30232 #include <sys/statvfs.h>
30233
30234 int
30235 main ()
30236 {
30237
30238 long l;
30239 struct statvfs fs;
30240 statvfs("/", &fs);
30241 l = fs.f_bsize;
30242 l += fs.f_blocks;
30243 l += fs.f_bavail;
30244
30245 ;
30246 return 0;
30247 }
30248 _ACEOF
30249 rm -f conftest.$ac_objext
30250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30251 (eval $ac_compile) 2>conftest.er1
30252 ac_status=$?
30253 grep -v '^ *+' conftest.er1 >conftest.err
30254 rm -f conftest.er1
30255 cat conftest.err >&5
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); } &&
30258 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30264 { ac_try='test -s conftest.$ac_objext'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30267 ac_status=$?
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; }; then
30270 wx_cv_type_statvfs_t="struct statvfs"
30271 else
30272 echo "$as_me: failed program was:" >&5
30273 sed 's/^/| /' conftest.$ac_ext >&5
30274
30275 wx_cv_type_statvfs_t="unknown"
30276
30277 fi
30278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30279
30280
30281 fi
30282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30283
30284 fi
30285 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
30286 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
30287
30288 ac_ext=c
30289 ac_cpp='$CPP $CPPFLAGS'
30290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30293
30294
30295 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30296 cat >>confdefs.h <<\_ACEOF
30297 #define HAVE_STATVFS 1
30298 _ACEOF
30299
30300 fi
30301 else
30302 wx_cv_type_statvfs_t="unknown"
30303 fi
30304 fi
30305
30306 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30307 cat >>confdefs.h <<_ACEOF
30308 #define WX_STATFS_T $wx_cv_type_statvfs_t
30309 _ACEOF
30310
30311 else
30312 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30313 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30314 fi
30315
30316 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30317
30318
30319 for ac_func in fcntl flock
30320 do
30321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30322 echo "$as_me:$LINENO: checking for $ac_func" >&5
30323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30324 if eval "test \"\${$as_ac_var+set}\" = set"; then
30325 echo $ECHO_N "(cached) $ECHO_C" >&6
30326 else
30327 cat >conftest.$ac_ext <<_ACEOF
30328 /* confdefs.h. */
30329 _ACEOF
30330 cat confdefs.h >>conftest.$ac_ext
30331 cat >>conftest.$ac_ext <<_ACEOF
30332 /* end confdefs.h. */
30333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30335 #define $ac_func innocuous_$ac_func
30336
30337 /* System header to define __stub macros and hopefully few prototypes,
30338 which can conflict with char $ac_func (); below.
30339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30340 <limits.h> exists even on freestanding compilers. */
30341
30342 #ifdef __STDC__
30343 # include <limits.h>
30344 #else
30345 # include <assert.h>
30346 #endif
30347
30348 #undef $ac_func
30349
30350 /* Override any gcc2 internal prototype to avoid an error. */
30351 #ifdef __cplusplus
30352 extern "C"
30353 {
30354 #endif
30355 /* We use char because int might match the return type of a gcc2
30356 builtin and then its argument prototype would still apply. */
30357 char $ac_func ();
30358 /* The GNU C library defines this for functions which it implements
30359 to always fail with ENOSYS. Some functions are actually named
30360 something starting with __ and the normal name is an alias. */
30361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30362 choke me
30363 #else
30364 char (*f) () = $ac_func;
30365 #endif
30366 #ifdef __cplusplus
30367 }
30368 #endif
30369
30370 int
30371 main ()
30372 {
30373 return f != $ac_func;
30374 ;
30375 return 0;
30376 }
30377 _ACEOF
30378 rm -f conftest.$ac_objext conftest$ac_exeext
30379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30380 (eval $ac_link) 2>conftest.er1
30381 ac_status=$?
30382 grep -v '^ *+' conftest.er1 >conftest.err
30383 rm -f conftest.er1
30384 cat conftest.err >&5
30385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30386 (exit $ac_status); } &&
30387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30389 (eval $ac_try) 2>&5
30390 ac_status=$?
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); }; } &&
30393 { ac_try='test -s conftest$ac_exeext'
30394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30395 (eval $ac_try) 2>&5
30396 ac_status=$?
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); }; }; then
30399 eval "$as_ac_var=yes"
30400 else
30401 echo "$as_me: failed program was:" >&5
30402 sed 's/^/| /' conftest.$ac_ext >&5
30403
30404 eval "$as_ac_var=no"
30405 fi
30406 rm -f conftest.err conftest.$ac_objext \
30407 conftest$ac_exeext conftest.$ac_ext
30408 fi
30409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30411 if test `eval echo '${'$as_ac_var'}'` = yes; then
30412 cat >>confdefs.h <<_ACEOF
30413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30414 _ACEOF
30415 break
30416 fi
30417 done
30418
30419
30420 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30421 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
30422 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30423 wxUSE_SNGLINST_CHECKER=no
30424 fi
30425 fi
30426
30427
30428 for ac_func in timegm
30429 do
30430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30431 echo "$as_me:$LINENO: checking for $ac_func" >&5
30432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30433 if eval "test \"\${$as_ac_var+set}\" = set"; then
30434 echo $ECHO_N "(cached) $ECHO_C" >&6
30435 else
30436 cat >conftest.$ac_ext <<_ACEOF
30437 /* confdefs.h. */
30438 _ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30444 #define $ac_func innocuous_$ac_func
30445
30446 /* System header to define __stub macros and hopefully few prototypes,
30447 which can conflict with char $ac_func (); below.
30448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30449 <limits.h> exists even on freestanding compilers. */
30450
30451 #ifdef __STDC__
30452 # include <limits.h>
30453 #else
30454 # include <assert.h>
30455 #endif
30456
30457 #undef $ac_func
30458
30459 /* Override any gcc2 internal prototype to avoid an error. */
30460 #ifdef __cplusplus
30461 extern "C"
30462 {
30463 #endif
30464 /* We use char because int might match the return type of a gcc2
30465 builtin and then its argument prototype would still apply. */
30466 char $ac_func ();
30467 /* The GNU C library defines this for functions which it implements
30468 to always fail with ENOSYS. Some functions are actually named
30469 something starting with __ and the normal name is an alias. */
30470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30471 choke me
30472 #else
30473 char (*f) () = $ac_func;
30474 #endif
30475 #ifdef __cplusplus
30476 }
30477 #endif
30478
30479 int
30480 main ()
30481 {
30482 return f != $ac_func;
30483 ;
30484 return 0;
30485 }
30486 _ACEOF
30487 rm -f conftest.$ac_objext conftest$ac_exeext
30488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30489 (eval $ac_link) 2>conftest.er1
30490 ac_status=$?
30491 grep -v '^ *+' conftest.er1 >conftest.err
30492 rm -f conftest.er1
30493 cat conftest.err >&5
30494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30495 (exit $ac_status); } &&
30496 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30498 (eval $ac_try) 2>&5
30499 ac_status=$?
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); }; } &&
30502 { ac_try='test -s conftest$ac_exeext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30508 eval "$as_ac_var=yes"
30509 else
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.$ac_ext >&5
30512
30513 eval "$as_ac_var=no"
30514 fi
30515 rm -f conftest.err conftest.$ac_objext \
30516 conftest$ac_exeext conftest.$ac_ext
30517 fi
30518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30520 if test `eval echo '${'$as_ac_var'}'` = yes; then
30521 cat >>confdefs.h <<_ACEOF
30522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30523 _ACEOF
30524
30525 fi
30526 done
30527
30528
30529
30530
30531 for ac_func in putenv setenv
30532 do
30533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30534 echo "$as_me:$LINENO: checking for $ac_func" >&5
30535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30536 if eval "test \"\${$as_ac_var+set}\" = set"; then
30537 echo $ECHO_N "(cached) $ECHO_C" >&6
30538 else
30539 cat >conftest.$ac_ext <<_ACEOF
30540 /* confdefs.h. */
30541 _ACEOF
30542 cat confdefs.h >>conftest.$ac_ext
30543 cat >>conftest.$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30547 #define $ac_func innocuous_$ac_func
30548
30549 /* System header to define __stub macros and hopefully few prototypes,
30550 which can conflict with char $ac_func (); below.
30551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30552 <limits.h> exists even on freestanding compilers. */
30553
30554 #ifdef __STDC__
30555 # include <limits.h>
30556 #else
30557 # include <assert.h>
30558 #endif
30559
30560 #undef $ac_func
30561
30562 /* Override any gcc2 internal prototype to avoid an error. */
30563 #ifdef __cplusplus
30564 extern "C"
30565 {
30566 #endif
30567 /* We use char because int might match the return type of a gcc2
30568 builtin and then its argument prototype would still apply. */
30569 char $ac_func ();
30570 /* The GNU C library defines this for functions which it implements
30571 to always fail with ENOSYS. Some functions are actually named
30572 something starting with __ and the normal name is an alias. */
30573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30574 choke me
30575 #else
30576 char (*f) () = $ac_func;
30577 #endif
30578 #ifdef __cplusplus
30579 }
30580 #endif
30581
30582 int
30583 main ()
30584 {
30585 return f != $ac_func;
30586 ;
30587 return 0;
30588 }
30589 _ACEOF
30590 rm -f conftest.$ac_objext conftest$ac_exeext
30591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30592 (eval $ac_link) 2>conftest.er1
30593 ac_status=$?
30594 grep -v '^ *+' conftest.er1 >conftest.err
30595 rm -f conftest.er1
30596 cat conftest.err >&5
30597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30598 (exit $ac_status); } &&
30599 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30601 (eval $ac_try) 2>&5
30602 ac_status=$?
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); }; } &&
30605 { ac_try='test -s conftest$ac_exeext'
30606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607 (eval $ac_try) 2>&5
30608 ac_status=$?
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); }; }; then
30611 eval "$as_ac_var=yes"
30612 else
30613 echo "$as_me: failed program was:" >&5
30614 sed 's/^/| /' conftest.$ac_ext >&5
30615
30616 eval "$as_ac_var=no"
30617 fi
30618 rm -f conftest.err conftest.$ac_objext \
30619 conftest$ac_exeext conftest.$ac_ext
30620 fi
30621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30623 if test `eval echo '${'$as_ac_var'}'` = yes; then
30624 cat >>confdefs.h <<_ACEOF
30625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30626 _ACEOF
30627 break
30628 fi
30629 done
30630
30631
30632 HAVE_SOME_SLEEP_FUNC=0
30633 if test "$USE_BEOS" = 1; then
30634 cat >>confdefs.h <<\_ACEOF
30635 #define HAVE_SLEEP 1
30636 _ACEOF
30637
30638 HAVE_SOME_SLEEP_FUNC=1
30639 fi
30640
30641 if test "$USE_DARWIN" = 1; then
30642 cat >>confdefs.h <<\_ACEOF
30643 #define HAVE_USLEEP 1
30644 _ACEOF
30645
30646 HAVE_SOME_SLEEP_FUNC=1
30647 fi
30648
30649 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30650 POSIX4_LINK=
30651
30652 for ac_func in nanosleep
30653 do
30654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30655 echo "$as_me:$LINENO: checking for $ac_func" >&5
30656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30657 if eval "test \"\${$as_ac_var+set}\" = set"; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30659 else
30660 cat >conftest.$ac_ext <<_ACEOF
30661 /* confdefs.h. */
30662 _ACEOF
30663 cat confdefs.h >>conftest.$ac_ext
30664 cat >>conftest.$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30668 #define $ac_func innocuous_$ac_func
30669
30670 /* System header to define __stub macros and hopefully few prototypes,
30671 which can conflict with char $ac_func (); below.
30672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30673 <limits.h> exists even on freestanding compilers. */
30674
30675 #ifdef __STDC__
30676 # include <limits.h>
30677 #else
30678 # include <assert.h>
30679 #endif
30680
30681 #undef $ac_func
30682
30683 /* Override any gcc2 internal prototype to avoid an error. */
30684 #ifdef __cplusplus
30685 extern "C"
30686 {
30687 #endif
30688 /* We use char because int might match the return type of a gcc2
30689 builtin and then its argument prototype would still apply. */
30690 char $ac_func ();
30691 /* The GNU C library defines this for functions which it implements
30692 to always fail with ENOSYS. Some functions are actually named
30693 something starting with __ and the normal name is an alias. */
30694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30695 choke me
30696 #else
30697 char (*f) () = $ac_func;
30698 #endif
30699 #ifdef __cplusplus
30700 }
30701 #endif
30702
30703 int
30704 main ()
30705 {
30706 return f != $ac_func;
30707 ;
30708 return 0;
30709 }
30710 _ACEOF
30711 rm -f conftest.$ac_objext conftest$ac_exeext
30712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30713 (eval $ac_link) 2>conftest.er1
30714 ac_status=$?
30715 grep -v '^ *+' conftest.er1 >conftest.err
30716 rm -f conftest.er1
30717 cat conftest.err >&5
30718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30719 (exit $ac_status); } &&
30720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30722 (eval $ac_try) 2>&5
30723 ac_status=$?
30724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30725 (exit $ac_status); }; } &&
30726 { ac_try='test -s conftest$ac_exeext'
30727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30728 (eval $ac_try) 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; }; then
30732 eval "$as_ac_var=yes"
30733 else
30734 echo "$as_me: failed program was:" >&5
30735 sed 's/^/| /' conftest.$ac_ext >&5
30736
30737 eval "$as_ac_var=no"
30738 fi
30739 rm -f conftest.err conftest.$ac_objext \
30740 conftest$ac_exeext conftest.$ac_ext
30741 fi
30742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30744 if test `eval echo '${'$as_ac_var'}'` = yes; then
30745 cat >>confdefs.h <<_ACEOF
30746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30747 _ACEOF
30748 cat >>confdefs.h <<\_ACEOF
30749 #define HAVE_NANOSLEEP 1
30750 _ACEOF
30751
30752 else
30753
30754 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
30755 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
30756 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
30757 echo $ECHO_N "(cached) $ECHO_C" >&6
30758 else
30759 ac_check_lib_save_LIBS=$LIBS
30760 LIBS="-lposix4 $LIBS"
30761 cat >conftest.$ac_ext <<_ACEOF
30762 /* confdefs.h. */
30763 _ACEOF
30764 cat confdefs.h >>conftest.$ac_ext
30765 cat >>conftest.$ac_ext <<_ACEOF
30766 /* end confdefs.h. */
30767
30768 /* Override any gcc2 internal prototype to avoid an error. */
30769 #ifdef __cplusplus
30770 extern "C"
30771 #endif
30772 /* We use char because int might match the return type of a gcc2
30773 builtin and then its argument prototype would still apply. */
30774 char nanosleep ();
30775 int
30776 main ()
30777 {
30778 nanosleep ();
30779 ;
30780 return 0;
30781 }
30782 _ACEOF
30783 rm -f conftest.$ac_objext conftest$ac_exeext
30784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30785 (eval $ac_link) 2>conftest.er1
30786 ac_status=$?
30787 grep -v '^ *+' conftest.er1 >conftest.err
30788 rm -f conftest.er1
30789 cat conftest.err >&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); } &&
30792 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 (eval $ac_try) 2>&5
30795 ac_status=$?
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; } &&
30798 { ac_try='test -s conftest$ac_exeext'
30799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30800 (eval $ac_try) 2>&5
30801 ac_status=$?
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 ac_cv_lib_posix4_nanosleep=yes
30805 else
30806 echo "$as_me: failed program was:" >&5
30807 sed 's/^/| /' conftest.$ac_ext >&5
30808
30809 ac_cv_lib_posix4_nanosleep=no
30810 fi
30811 rm -f conftest.err conftest.$ac_objext \
30812 conftest$ac_exeext conftest.$ac_ext
30813 LIBS=$ac_check_lib_save_LIBS
30814 fi
30815 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
30816 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
30817 if test $ac_cv_lib_posix4_nanosleep = yes; then
30818
30819 cat >>confdefs.h <<\_ACEOF
30820 #define HAVE_NANOSLEEP 1
30821 _ACEOF
30822
30823 POSIX4_LINK=" -lposix4"
30824
30825 else
30826
30827
30828 for ac_func in usleep
30829 do
30830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30831 echo "$as_me:$LINENO: checking for $ac_func" >&5
30832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30833 if eval "test \"\${$as_ac_var+set}\" = set"; then
30834 echo $ECHO_N "(cached) $ECHO_C" >&6
30835 else
30836 cat >conftest.$ac_ext <<_ACEOF
30837 /* confdefs.h. */
30838 _ACEOF
30839 cat confdefs.h >>conftest.$ac_ext
30840 cat >>conftest.$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30844 #define $ac_func innocuous_$ac_func
30845
30846 /* System header to define __stub macros and hopefully few prototypes,
30847 which can conflict with char $ac_func (); below.
30848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30849 <limits.h> exists even on freestanding compilers. */
30850
30851 #ifdef __STDC__
30852 # include <limits.h>
30853 #else
30854 # include <assert.h>
30855 #endif
30856
30857 #undef $ac_func
30858
30859 /* Override any gcc2 internal prototype to avoid an error. */
30860 #ifdef __cplusplus
30861 extern "C"
30862 {
30863 #endif
30864 /* We use char because int might match the return type of a gcc2
30865 builtin and then its argument prototype would still apply. */
30866 char $ac_func ();
30867 /* The GNU C library defines this for functions which it implements
30868 to always fail with ENOSYS. Some functions are actually named
30869 something starting with __ and the normal name is an alias. */
30870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30871 choke me
30872 #else
30873 char (*f) () = $ac_func;
30874 #endif
30875 #ifdef __cplusplus
30876 }
30877 #endif
30878
30879 int
30880 main ()
30881 {
30882 return f != $ac_func;
30883 ;
30884 return 0;
30885 }
30886 _ACEOF
30887 rm -f conftest.$ac_objext conftest$ac_exeext
30888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30889 (eval $ac_link) 2>conftest.er1
30890 ac_status=$?
30891 grep -v '^ *+' conftest.er1 >conftest.err
30892 rm -f conftest.er1
30893 cat conftest.err >&5
30894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30895 (exit $ac_status); } &&
30896 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30898 (eval $ac_try) 2>&5
30899 ac_status=$?
30900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30901 (exit $ac_status); }; } &&
30902 { ac_try='test -s conftest$ac_exeext'
30903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30904 (eval $ac_try) 2>&5
30905 ac_status=$?
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); }; }; then
30908 eval "$as_ac_var=yes"
30909 else
30910 echo "$as_me: failed program was:" >&5
30911 sed 's/^/| /' conftest.$ac_ext >&5
30912
30913 eval "$as_ac_var=no"
30914 fi
30915 rm -f conftest.err conftest.$ac_objext \
30916 conftest$ac_exeext conftest.$ac_ext
30917 fi
30918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30920 if test `eval echo '${'$as_ac_var'}'` = yes; then
30921 cat >>confdefs.h <<_ACEOF
30922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30923 _ACEOF
30924 cat >>confdefs.h <<\_ACEOF
30925 #define HAVE_USLEEP 1
30926 _ACEOF
30927
30928 else
30929 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
30930 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30931
30932 fi
30933 done
30934
30935
30936
30937 fi
30938
30939
30940
30941 fi
30942 done
30943
30944 fi
30945
30946
30947
30948 for ac_func in uname gethostname
30949 do
30950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30951 echo "$as_me:$LINENO: checking for $ac_func" >&5
30952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30953 if eval "test \"\${$as_ac_var+set}\" = set"; then
30954 echo $ECHO_N "(cached) $ECHO_C" >&6
30955 else
30956 cat >conftest.$ac_ext <<_ACEOF
30957 /* confdefs.h. */
30958 _ACEOF
30959 cat confdefs.h >>conftest.$ac_ext
30960 cat >>conftest.$ac_ext <<_ACEOF
30961 /* end confdefs.h. */
30962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30964 #define $ac_func innocuous_$ac_func
30965
30966 /* System header to define __stub macros and hopefully few prototypes,
30967 which can conflict with char $ac_func (); below.
30968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30969 <limits.h> exists even on freestanding compilers. */
30970
30971 #ifdef __STDC__
30972 # include <limits.h>
30973 #else
30974 # include <assert.h>
30975 #endif
30976
30977 #undef $ac_func
30978
30979 /* Override any gcc2 internal prototype to avoid an error. */
30980 #ifdef __cplusplus
30981 extern "C"
30982 {
30983 #endif
30984 /* We use char because int might match the return type of a gcc2
30985 builtin and then its argument prototype would still apply. */
30986 char $ac_func ();
30987 /* The GNU C library defines this for functions which it implements
30988 to always fail with ENOSYS. Some functions are actually named
30989 something starting with __ and the normal name is an alias. */
30990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30991 choke me
30992 #else
30993 char (*f) () = $ac_func;
30994 #endif
30995 #ifdef __cplusplus
30996 }
30997 #endif
30998
30999 int
31000 main ()
31001 {
31002 return f != $ac_func;
31003 ;
31004 return 0;
31005 }
31006 _ACEOF
31007 rm -f conftest.$ac_objext conftest$ac_exeext
31008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31009 (eval $ac_link) 2>conftest.er1
31010 ac_status=$?
31011 grep -v '^ *+' conftest.er1 >conftest.err
31012 rm -f conftest.er1
31013 cat conftest.err >&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } &&
31016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31019 ac_status=$?
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; } &&
31022 { ac_try='test -s conftest$ac_exeext'
31023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31024 (eval $ac_try) 2>&5
31025 ac_status=$?
31026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31027 (exit $ac_status); }; }; then
31028 eval "$as_ac_var=yes"
31029 else
31030 echo "$as_me: failed program was:" >&5
31031 sed 's/^/| /' conftest.$ac_ext >&5
31032
31033 eval "$as_ac_var=no"
31034 fi
31035 rm -f conftest.err conftest.$ac_objext \
31036 conftest$ac_exeext conftest.$ac_ext
31037 fi
31038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31040 if test `eval echo '${'$as_ac_var'}'` = yes; then
31041 cat >>confdefs.h <<_ACEOF
31042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31043 _ACEOF
31044 break
31045 fi
31046 done
31047
31048
31049
31050
31051 ac_ext=cc
31052 ac_cpp='$CXXCPP $CPPFLAGS'
31053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31056
31057
31058
31059 for ac_func in strtok_r
31060 do
31061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31062 echo "$as_me:$LINENO: checking for $ac_func" >&5
31063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31064 if eval "test \"\${$as_ac_var+set}\" = set"; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067 cat >conftest.$ac_ext <<_ACEOF
31068 /* confdefs.h. */
31069 _ACEOF
31070 cat confdefs.h >>conftest.$ac_ext
31071 cat >>conftest.$ac_ext <<_ACEOF
31072 /* end confdefs.h. */
31073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31075 #define $ac_func innocuous_$ac_func
31076
31077 /* System header to define __stub macros and hopefully few prototypes,
31078 which can conflict with char $ac_func (); below.
31079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31080 <limits.h> exists even on freestanding compilers. */
31081
31082 #ifdef __STDC__
31083 # include <limits.h>
31084 #else
31085 # include <assert.h>
31086 #endif
31087
31088 #undef $ac_func
31089
31090 /* Override any gcc2 internal prototype to avoid an error. */
31091 #ifdef __cplusplus
31092 extern "C"
31093 {
31094 #endif
31095 /* We use char because int might match the return type of a gcc2
31096 builtin and then its argument prototype would still apply. */
31097 char $ac_func ();
31098 /* The GNU C library defines this for functions which it implements
31099 to always fail with ENOSYS. Some functions are actually named
31100 something starting with __ and the normal name is an alias. */
31101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31102 choke me
31103 #else
31104 char (*f) () = $ac_func;
31105 #endif
31106 #ifdef __cplusplus
31107 }
31108 #endif
31109
31110 int
31111 main ()
31112 {
31113 return f != $ac_func;
31114 ;
31115 return 0;
31116 }
31117 _ACEOF
31118 rm -f conftest.$ac_objext conftest$ac_exeext
31119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31120 (eval $ac_link) 2>conftest.er1
31121 ac_status=$?
31122 grep -v '^ *+' conftest.er1 >conftest.err
31123 rm -f conftest.er1
31124 cat conftest.err >&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); } &&
31127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31130 ac_status=$?
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try='test -s conftest$ac_exeext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31136 ac_status=$?
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31139 eval "$as_ac_var=yes"
31140 else
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31143
31144 eval "$as_ac_var=no"
31145 fi
31146 rm -f conftest.err conftest.$ac_objext \
31147 conftest$ac_exeext conftest.$ac_ext
31148 fi
31149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31151 if test `eval echo '${'$as_ac_var'}'` = yes; then
31152 cat >>confdefs.h <<_ACEOF
31153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31154 _ACEOF
31155
31156 fi
31157 done
31158
31159
31160 ac_ext=c
31161 ac_cpp='$CPP $CPPFLAGS'
31162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31165
31166
31167 INET_LINK=
31168
31169 for ac_func in inet_addr
31170 do
31171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31172 echo "$as_me:$LINENO: checking for $ac_func" >&5
31173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31174 if eval "test \"\${$as_ac_var+set}\" = set"; then
31175 echo $ECHO_N "(cached) $ECHO_C" >&6
31176 else
31177 cat >conftest.$ac_ext <<_ACEOF
31178 /* confdefs.h. */
31179 _ACEOF
31180 cat confdefs.h >>conftest.$ac_ext
31181 cat >>conftest.$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31185 #define $ac_func innocuous_$ac_func
31186
31187 /* System header to define __stub macros and hopefully few prototypes,
31188 which can conflict with char $ac_func (); below.
31189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31190 <limits.h> exists even on freestanding compilers. */
31191
31192 #ifdef __STDC__
31193 # include <limits.h>
31194 #else
31195 # include <assert.h>
31196 #endif
31197
31198 #undef $ac_func
31199
31200 /* Override any gcc2 internal prototype to avoid an error. */
31201 #ifdef __cplusplus
31202 extern "C"
31203 {
31204 #endif
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31207 char $ac_func ();
31208 /* The GNU C library defines this for functions which it implements
31209 to always fail with ENOSYS. Some functions are actually named
31210 something starting with __ and the normal name is an alias. */
31211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31212 choke me
31213 #else
31214 char (*f) () = $ac_func;
31215 #endif
31216 #ifdef __cplusplus
31217 }
31218 #endif
31219
31220 int
31221 main ()
31222 {
31223 return f != $ac_func;
31224 ;
31225 return 0;
31226 }
31227 _ACEOF
31228 rm -f conftest.$ac_objext conftest$ac_exeext
31229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31230 (eval $ac_link) 2>conftest.er1
31231 ac_status=$?
31232 grep -v '^ *+' conftest.er1 >conftest.err
31233 rm -f conftest.er1
31234 cat conftest.err >&5
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); } &&
31237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239 (eval $ac_try) 2>&5
31240 ac_status=$?
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; } &&
31243 { ac_try='test -s conftest$ac_exeext'
31244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31245 (eval $ac_try) 2>&5
31246 ac_status=$?
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); }; }; then
31249 eval "$as_ac_var=yes"
31250 else
31251 echo "$as_me: failed program was:" >&5
31252 sed 's/^/| /' conftest.$ac_ext >&5
31253
31254 eval "$as_ac_var=no"
31255 fi
31256 rm -f conftest.err conftest.$ac_objext \
31257 conftest$ac_exeext conftest.$ac_ext
31258 fi
31259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31261 if test `eval echo '${'$as_ac_var'}'` = yes; then
31262 cat >>confdefs.h <<_ACEOF
31263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31264 _ACEOF
31265 cat >>confdefs.h <<\_ACEOF
31266 #define HAVE_INET_ADDR 1
31267 _ACEOF
31268
31269 else
31270
31271 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
31272 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
31273 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
31274 echo $ECHO_N "(cached) $ECHO_C" >&6
31275 else
31276 ac_check_lib_save_LIBS=$LIBS
31277 LIBS="-lnsl $LIBS"
31278 cat >conftest.$ac_ext <<_ACEOF
31279 /* confdefs.h. */
31280 _ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31284
31285 /* Override any gcc2 internal prototype to avoid an error. */
31286 #ifdef __cplusplus
31287 extern "C"
31288 #endif
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31291 char inet_addr ();
31292 int
31293 main ()
31294 {
31295 inet_addr ();
31296 ;
31297 return 0;
31298 }
31299 _ACEOF
31300 rm -f conftest.$ac_objext conftest$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302 (eval $ac_link) 2>conftest.er1
31303 ac_status=$?
31304 grep -v '^ *+' conftest.er1 >conftest.err
31305 rm -f conftest.er1
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 (eval $ac_try) 2>&5
31312 ac_status=$?
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); }; } &&
31315 { ac_try='test -s conftest$ac_exeext'
31316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31317 (eval $ac_try) 2>&5
31318 ac_status=$?
31319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31320 (exit $ac_status); }; }; then
31321 ac_cv_lib_nsl_inet_addr=yes
31322 else
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31325
31326 ac_cv_lib_nsl_inet_addr=no
31327 fi
31328 rm -f conftest.err conftest.$ac_objext \
31329 conftest$ac_exeext conftest.$ac_ext
31330 LIBS=$ac_check_lib_save_LIBS
31331 fi
31332 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
31333 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
31334 if test $ac_cv_lib_nsl_inet_addr = yes; then
31335 INET_LINK="nsl"
31336 else
31337
31338 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
31339 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
31340 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
31341 echo $ECHO_N "(cached) $ECHO_C" >&6
31342 else
31343 ac_check_lib_save_LIBS=$LIBS
31344 LIBS="-lresolv $LIBS"
31345 cat >conftest.$ac_ext <<_ACEOF
31346 /* confdefs.h. */
31347 _ACEOF
31348 cat confdefs.h >>conftest.$ac_ext
31349 cat >>conftest.$ac_ext <<_ACEOF
31350 /* end confdefs.h. */
31351
31352 /* Override any gcc2 internal prototype to avoid an error. */
31353 #ifdef __cplusplus
31354 extern "C"
31355 #endif
31356 /* We use char because int might match the return type of a gcc2
31357 builtin and then its argument prototype would still apply. */
31358 char inet_addr ();
31359 int
31360 main ()
31361 {
31362 inet_addr ();
31363 ;
31364 return 0;
31365 }
31366 _ACEOF
31367 rm -f conftest.$ac_objext conftest$ac_exeext
31368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31369 (eval $ac_link) 2>conftest.er1
31370 ac_status=$?
31371 grep -v '^ *+' conftest.er1 >conftest.err
31372 rm -f conftest.er1
31373 cat conftest.err >&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); } &&
31376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31378 (eval $ac_try) 2>&5
31379 ac_status=$?
31380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31381 (exit $ac_status); }; } &&
31382 { ac_try='test -s conftest$ac_exeext'
31383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31384 (eval $ac_try) 2>&5
31385 ac_status=$?
31386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31387 (exit $ac_status); }; }; then
31388 ac_cv_lib_resolv_inet_addr=yes
31389 else
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.$ac_ext >&5
31392
31393 ac_cv_lib_resolv_inet_addr=no
31394 fi
31395 rm -f conftest.err conftest.$ac_objext \
31396 conftest$ac_exeext conftest.$ac_ext
31397 LIBS=$ac_check_lib_save_LIBS
31398 fi
31399 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
31400 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
31401 if test $ac_cv_lib_resolv_inet_addr = yes; then
31402 INET_LINK="resolv"
31403 else
31404
31405 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
31406 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
31407 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
31408 echo $ECHO_N "(cached) $ECHO_C" >&6
31409 else
31410 ac_check_lib_save_LIBS=$LIBS
31411 LIBS="-lsocket $LIBS"
31412 cat >conftest.$ac_ext <<_ACEOF
31413 /* confdefs.h. */
31414 _ACEOF
31415 cat confdefs.h >>conftest.$ac_ext
31416 cat >>conftest.$ac_ext <<_ACEOF
31417 /* end confdefs.h. */
31418
31419 /* Override any gcc2 internal prototype to avoid an error. */
31420 #ifdef __cplusplus
31421 extern "C"
31422 #endif
31423 /* We use char because int might match the return type of a gcc2
31424 builtin and then its argument prototype would still apply. */
31425 char inet_addr ();
31426 int
31427 main ()
31428 {
31429 inet_addr ();
31430 ;
31431 return 0;
31432 }
31433 _ACEOF
31434 rm -f conftest.$ac_objext conftest$ac_exeext
31435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31436 (eval $ac_link) 2>conftest.er1
31437 ac_status=$?
31438 grep -v '^ *+' conftest.er1 >conftest.err
31439 rm -f conftest.er1
31440 cat conftest.err >&5
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); } &&
31443 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31446 ac_status=$?
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; } &&
31449 { ac_try='test -s conftest$ac_exeext'
31450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451 (eval $ac_try) 2>&5
31452 ac_status=$?
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; }; then
31455 ac_cv_lib_socket_inet_addr=yes
31456 else
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31459
31460 ac_cv_lib_socket_inet_addr=no
31461 fi
31462 rm -f conftest.err conftest.$ac_objext \
31463 conftest$ac_exeext conftest.$ac_ext
31464 LIBS=$ac_check_lib_save_LIBS
31465 fi
31466 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
31467 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
31468 if test $ac_cv_lib_socket_inet_addr = yes; then
31469 INET_LINK="socket"
31470
31471 fi
31472
31473
31474
31475 fi
31476
31477
31478
31479 fi
31480
31481
31482
31483 fi
31484 done
31485
31486
31487
31488 for ac_func in inet_aton
31489 do
31490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31491 echo "$as_me:$LINENO: checking for $ac_func" >&5
31492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31493 if eval "test \"\${$as_ac_var+set}\" = set"; then
31494 echo $ECHO_N "(cached) $ECHO_C" >&6
31495 else
31496 cat >conftest.$ac_ext <<_ACEOF
31497 /* confdefs.h. */
31498 _ACEOF
31499 cat confdefs.h >>conftest.$ac_ext
31500 cat >>conftest.$ac_ext <<_ACEOF
31501 /* end confdefs.h. */
31502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31504 #define $ac_func innocuous_$ac_func
31505
31506 /* System header to define __stub macros and hopefully few prototypes,
31507 which can conflict with char $ac_func (); below.
31508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31509 <limits.h> exists even on freestanding compilers. */
31510
31511 #ifdef __STDC__
31512 # include <limits.h>
31513 #else
31514 # include <assert.h>
31515 #endif
31516
31517 #undef $ac_func
31518
31519 /* Override any gcc2 internal prototype to avoid an error. */
31520 #ifdef __cplusplus
31521 extern "C"
31522 {
31523 #endif
31524 /* We use char because int might match the return type of a gcc2
31525 builtin and then its argument prototype would still apply. */
31526 char $ac_func ();
31527 /* The GNU C library defines this for functions which it implements
31528 to always fail with ENOSYS. Some functions are actually named
31529 something starting with __ and the normal name is an alias. */
31530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31531 choke me
31532 #else
31533 char (*f) () = $ac_func;
31534 #endif
31535 #ifdef __cplusplus
31536 }
31537 #endif
31538
31539 int
31540 main ()
31541 {
31542 return f != $ac_func;
31543 ;
31544 return 0;
31545 }
31546 _ACEOF
31547 rm -f conftest.$ac_objext conftest$ac_exeext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31549 (eval $ac_link) 2>conftest.er1
31550 ac_status=$?
31551 grep -v '^ *+' conftest.er1 >conftest.err
31552 rm -f conftest.er1
31553 cat conftest.err >&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31565 ac_status=$?
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 eval "$as_ac_var=yes"
31569 else
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31572
31573 eval "$as_ac_var=no"
31574 fi
31575 rm -f conftest.err conftest.$ac_objext \
31576 conftest$ac_exeext conftest.$ac_ext
31577 fi
31578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31580 if test `eval echo '${'$as_ac_var'}'` = yes; then
31581 cat >>confdefs.h <<_ACEOF
31582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31583 _ACEOF
31584 cat >>confdefs.h <<\_ACEOF
31585 #define HAVE_INET_ATON 1
31586 _ACEOF
31587
31588 else
31589
31590 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31591 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
31592 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
31593 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31595 else
31596 ac_check_lib_save_LIBS=$LIBS
31597 LIBS="-l$INET_LINK $LIBS"
31598 cat >conftest.$ac_ext <<_ACEOF
31599 /* confdefs.h. */
31600 _ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h. */
31604
31605 /* Override any gcc2 internal prototype to avoid an error. */
31606 #ifdef __cplusplus
31607 extern "C"
31608 #endif
31609 /* We use char because int might match the return type of a gcc2
31610 builtin and then its argument prototype would still apply. */
31611 char inet_aton ();
31612 int
31613 main ()
31614 {
31615 inet_aton ();
31616 ;
31617 return 0;
31618 }
31619 _ACEOF
31620 rm -f conftest.$ac_objext conftest$ac_exeext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31622 (eval $ac_link) 2>conftest.er1
31623 ac_status=$?
31624 grep -v '^ *+' conftest.er1 >conftest.err
31625 rm -f conftest.er1
31626 cat conftest.err >&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); } &&
31629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31631 (eval $ac_try) 2>&5
31632 ac_status=$?
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); }; } &&
31635 { ac_try='test -s conftest$ac_exeext'
31636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31637 (eval $ac_try) 2>&5
31638 ac_status=$?
31639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31640 (exit $ac_status); }; }; then
31641 eval "$as_ac_Lib=yes"
31642 else
31643 echo "$as_me: failed program was:" >&5
31644 sed 's/^/| /' conftest.$ac_ext >&5
31645
31646 eval "$as_ac_Lib=no"
31647 fi
31648 rm -f conftest.err conftest.$ac_objext \
31649 conftest$ac_exeext conftest.$ac_ext
31650 LIBS=$ac_check_lib_save_LIBS
31651 fi
31652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
31653 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
31654 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
31655 cat >>confdefs.h <<\_ACEOF
31656 #define HAVE_INET_ATON 1
31657 _ACEOF
31658
31659 fi
31660
31661
31662 fi
31663 done
31664
31665
31666 if test "x$INET_LINK" != "x"; then
31667 cat >>confdefs.h <<\_ACEOF
31668 #define HAVE_INET_ADDR 1
31669 _ACEOF
31670
31671 INET_LINK=" -l$INET_LINK"
31672 fi
31673
31674 fi
31675
31676
31677
31678 EXTRALIBS_ESD=
31679 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
31680 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
31681 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
31682 echo $ECHO_N "(cached) $ECHO_C" >&6
31683 else
31684 ac_check_lib_save_LIBS=$LIBS
31685 LIBS="-lesd $LIBS"
31686 cat >conftest.$ac_ext <<_ACEOF
31687 /* confdefs.h. */
31688 _ACEOF
31689 cat confdefs.h >>conftest.$ac_ext
31690 cat >>conftest.$ac_ext <<_ACEOF
31691 /* end confdefs.h. */
31692
31693 /* Override any gcc2 internal prototype to avoid an error. */
31694 #ifdef __cplusplus
31695 extern "C"
31696 #endif
31697 /* We use char because int might match the return type of a gcc2
31698 builtin and then its argument prototype would still apply. */
31699 char esd_close ();
31700 int
31701 main ()
31702 {
31703 esd_close ();
31704 ;
31705 return 0;
31706 }
31707 _ACEOF
31708 rm -f conftest.$ac_objext conftest$ac_exeext
31709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31710 (eval $ac_link) 2>conftest.er1
31711 ac_status=$?
31712 grep -v '^ *+' conftest.er1 >conftest.err
31713 rm -f conftest.er1
31714 cat conftest.err >&5
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); } &&
31717 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31720 ac_status=$?
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; } &&
31723 { ac_try='test -s conftest$ac_exeext'
31724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31725 (eval $ac_try) 2>&5
31726 ac_status=$?
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); }; }; then
31729 ac_cv_lib_esd_esd_close=yes
31730 else
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.$ac_ext >&5
31733
31734 ac_cv_lib_esd_esd_close=no
31735 fi
31736 rm -f conftest.err conftest.$ac_objext \
31737 conftest$ac_exeext conftest.$ac_ext
31738 LIBS=$ac_check_lib_save_LIBS
31739 fi
31740 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
31741 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
31742 if test $ac_cv_lib_esd_esd_close = yes; then
31743
31744
31745 for ac_header in esd.h
31746 do
31747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31749 echo "$as_me:$LINENO: checking for $ac_header" >&5
31750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 fi
31754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31756 else
31757 # Is the header compilable?
31758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31760 cat >conftest.$ac_ext <<_ACEOF
31761 /* confdefs.h. */
31762 _ACEOF
31763 cat confdefs.h >>conftest.$ac_ext
31764 cat >>conftest.$ac_ext <<_ACEOF
31765 /* end confdefs.h. */
31766 $ac_includes_default
31767 #include <$ac_header>
31768 _ACEOF
31769 rm -f conftest.$ac_objext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31771 (eval $ac_compile) 2>conftest.er1
31772 ac_status=$?
31773 grep -v '^ *+' conftest.er1 >conftest.err
31774 rm -f conftest.er1
31775 cat conftest.err >&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; } &&
31784 { ac_try='test -s conftest.$ac_objext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31787 ac_status=$?
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_header_compiler=yes
31791 else
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31794
31795 ac_header_compiler=no
31796 fi
31797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31799 echo "${ECHO_T}$ac_header_compiler" >&6
31800
31801 # Is the header present?
31802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31804 cat >conftest.$ac_ext <<_ACEOF
31805 /* confdefs.h. */
31806 _ACEOF
31807 cat confdefs.h >>conftest.$ac_ext
31808 cat >>conftest.$ac_ext <<_ACEOF
31809 /* end confdefs.h. */
31810 #include <$ac_header>
31811 _ACEOF
31812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31814 ac_status=$?
31815 grep -v '^ *+' conftest.er1 >conftest.err
31816 rm -f conftest.er1
31817 cat conftest.err >&5
31818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819 (exit $ac_status); } >/dev/null; then
31820 if test -s conftest.err; then
31821 ac_cpp_err=$ac_c_preproc_warn_flag
31822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31823 else
31824 ac_cpp_err=
31825 fi
31826 else
31827 ac_cpp_err=yes
31828 fi
31829 if test -z "$ac_cpp_err"; then
31830 ac_header_preproc=yes
31831 else
31832 echo "$as_me: failed program was:" >&5
31833 sed 's/^/| /' conftest.$ac_ext >&5
31834
31835 ac_header_preproc=no
31836 fi
31837 rm -f conftest.err conftest.$ac_ext
31838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31839 echo "${ECHO_T}$ac_header_preproc" >&6
31840
31841 # So? What about this header?
31842 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31843 yes:no: )
31844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31848 ac_header_preproc=yes
31849 ;;
31850 no:yes:* )
31851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31863 (
31864 cat <<\_ASBOX
31865 ## ----------------------------------------- ##
31866 ## Report this to wx-dev@lists.wxwindows.org ##
31867 ## ----------------------------------------- ##
31868 _ASBOX
31869 ) |
31870 sed "s/^/$as_me: WARNING: /" >&2
31871 ;;
31872 esac
31873 echo "$as_me:$LINENO: checking for $ac_header" >&5
31874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31877 else
31878 eval "$as_ac_Header=\$ac_header_preproc"
31879 fi
31880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31882
31883 fi
31884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31885 cat >>confdefs.h <<_ACEOF
31886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31887 _ACEOF
31888
31889 EXTRALIBS_ESD="-lesd"
31890
31891 fi
31892
31893 done
31894
31895
31896 fi
31897
31898
31899
31900 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
31901 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
31902 cat >conftest.$ac_ext <<_ACEOF
31903 /* confdefs.h. */
31904 _ACEOF
31905 cat confdefs.h >>conftest.$ac_ext
31906 cat >>conftest.$ac_ext <<_ACEOF
31907 /* end confdefs.h. */
31908 #ifdef __linux__
31909 #include <linux/cdrom.h>
31910 #else
31911 /* For Solaris */
31912 #include <sys/cdio.h>
31913 #endif
31914
31915 int
31916 main ()
31917 {
31918 struct cdrom_tocentry entry, old_entry;
31919 ;
31920 return 0;
31921 }
31922 _ACEOF
31923 rm -f conftest.$ac_objext
31924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31925 (eval $ac_compile) 2>conftest.er1
31926 ac_status=$?
31927 grep -v '^ *+' conftest.er1 >conftest.err
31928 rm -f conftest.er1
31929 cat conftest.err >&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); } &&
31932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934 (eval $ac_try) 2>&5
31935 ac_status=$?
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); }; } &&
31938 { ac_try='test -s conftest.$ac_objext'
31939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31940 (eval $ac_try) 2>&5
31941 ac_status=$?
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); }; }; then
31944 echo "$as_me:$LINENO: result: yes" >&5
31945 echo "${ECHO_T}yes" >&6
31946 cat >>confdefs.h <<\_ACEOF
31947 #define HAVE_KNOWN_CDROM_INTERFACE 1
31948 _ACEOF
31949
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 echo "$as_me:$LINENO: result: no" >&5
31955 echo "${ECHO_T}no" >&6
31956 fi
31957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31958
31959
31960 cat >confcache <<\_ACEOF
31961 # This file is a shell script that caches the results of configure
31962 # tests run on this system so they can be shared between configure
31963 # scripts and configure runs, see configure's option --config-cache.
31964 # It is not useful on other systems. If it contains results you don't
31965 # want to keep, you may remove or edit it.
31966 #
31967 # config.status only pays attention to the cache file if you give it
31968 # the --recheck option to rerun configure.
31969 #
31970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31972 # following values.
31973
31974 _ACEOF
31975
31976 # The following way of writing the cache mishandles newlines in values,
31977 # but we know of no workaround that is simple, portable, and efficient.
31978 # So, don't put newlines in cache variables' values.
31979 # Ultrix sh set writes to stderr and can't be redirected directly,
31980 # and sets the high bit in the cache file unless we assign to the vars.
31981 {
31982 (set) 2>&1 |
31983 case `(ac_space=' '; set | grep ac_space) 2>&1` in
31984 *ac_space=\ *)
31985 # `set' does not quote correctly, so add quotes (double-quote
31986 # substitution turns \\\\ into \\, and sed turns \\ into \).
31987 sed -n \
31988 "s/'/'\\\\''/g;
31989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31990 ;;
31991 *)
31992 # `set' quotes correctly as required by POSIX, so do not add quotes.
31993 sed -n \
31994 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
31995 ;;
31996 esac;
31997 } |
31998 sed '
31999 t clear
32000 : clear
32001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32002 t end
32003 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32004 : end' >>confcache
32005 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32006 if test -w $cache_file; then
32007 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32008 cat confcache >$cache_file
32009 else
32010 echo "not updating unwritable cache $cache_file"
32011 fi
32012 fi
32013 rm -f confcache
32014
32015
32016 CPP_MT_FLAG=
32017 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32018
32019
32020 THREADS_LINK=
32021 THREADS_CFLAGS=
32022
32023 if test "$wxUSE_THREADS" = "yes" ; then
32024 if test "$USE_BEOS" = 1; then
32025 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
32026 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
32027 wxUSE_THREADS="no"
32028 fi
32029 fi
32030
32031 if test "$wxUSE_THREADS" = "yes" ; then
32032
32033
32034 THREAD_OPTS="-pthread"
32035 case "${host}" in
32036 *-*-solaris2* | *-*-sunos4* )
32037 if test "x$GCC" = "xyes"; then
32038 THREAD_OPTS="-pthreads $THREAD_OPTS"
32039 else
32040 THREAD_OPTS="-mt $THREAD_OPTS"
32041 fi
32042 ;;
32043 *-*-freebsd*)
32044 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
32045 ;;
32046 *-*-darwin* | *-*-cygwin* )
32047 THREAD_OPTS=""
32048 ;;
32049 *-*-aix*)
32050 THREAD_OPTS="pthreads"
32051 ;;
32052 *-hp-hpux* )
32053 if test "x$GCC" != "xyes"; then
32054 THREAD_OPTS=""
32055 fi
32056 ;;
32057
32058 *-*-irix* )
32059 if test "x$GCC" = "xyes"; then
32060 THREAD_OPTS=""
32061 fi
32062 ;;
32063
32064 *-*-*UnixWare*)
32065 if test "x$GCC" != "xyes"; then
32066 THREAD_OPTS="-Ethread"
32067 fi
32068 ;;
32069 esac
32070
32071 THREAD_OPTS="$THREAD_OPTS pthread none"
32072
32073 THREADS_OK=no
32074 for flag in $THREAD_OPTS; do
32075 case $flag in
32076 none)
32077 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
32078 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
32079 ;;
32080
32081 -*)
32082 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
32083 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
32084 THREADS_CFLAGS="$flag"
32085 ;;
32086
32087 *)
32088 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
32089 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
32090 THREADS_LINK="-l$flag"
32091 ;;
32092 esac
32093
32094 save_LIBS="$LIBS"
32095 save_CFLAGS="$CFLAGS"
32096 LIBS="$THREADS_LINK $LIBS"
32097 CFLAGS="$THREADS_CFLAGS $CFLAGS"
32098
32099 cat >conftest.$ac_ext <<_ACEOF
32100 /* confdefs.h. */
32101 _ACEOF
32102 cat confdefs.h >>conftest.$ac_ext
32103 cat >>conftest.$ac_ext <<_ACEOF
32104 /* end confdefs.h. */
32105 #include <pthread.h>
32106 int
32107 main ()
32108 {
32109 pthread_create(0,0,0,0);
32110 ;
32111 return 0;
32112 }
32113 _ACEOF
32114 rm -f conftest.$ac_objext conftest$ac_exeext
32115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32116 (eval $ac_link) 2>conftest.er1
32117 ac_status=$?
32118 grep -v '^ *+' conftest.er1 >conftest.err
32119 rm -f conftest.er1
32120 cat conftest.err >&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); } &&
32123 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32125 (eval $ac_try) 2>&5
32126 ac_status=$?
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); }; } &&
32129 { ac_try='test -s conftest$ac_exeext'
32130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131 (eval $ac_try) 2>&5
32132 ac_status=$?
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); }; }; then
32135 THREADS_OK=yes
32136 else
32137 echo "$as_me: failed program was:" >&5
32138 sed 's/^/| /' conftest.$ac_ext >&5
32139
32140 fi
32141 rm -f conftest.err conftest.$ac_objext \
32142 conftest$ac_exeext conftest.$ac_ext
32143
32144 LIBS="$save_LIBS"
32145 CFLAGS="$save_CFLAGS"
32146
32147 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
32148 echo "${ECHO_T}$THREADS_OK" >&6
32149 if test "x$THREADS_OK" = "xyes"; then
32150 break;
32151 fi
32152
32153 THREADS_LINK=""
32154 THREADS_CFLAGS=""
32155 done
32156
32157 if test "x$THREADS_OK" != "xyes"; then
32158 wxUSE_THREADS=no
32159 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
32160 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
32161 else
32162 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
32163 LIBS="$THREADS_LINK $LIBS"
32164
32165 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
32166 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
32167 flag=no
32168 case "${host}" in
32169 *-aix*)
32170 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
32171 flag="-D_THREAD_SAFE"
32172 ;;
32173 *-freebsd*)
32174 flag="-D_THREAD_SAFE"
32175 ;;
32176 *-hp-hpux* )
32177 flag="-D_REENTRANT"
32178 if test "x$GCC" != "xyes"; then
32179 flag="$flag -D_RWSTD_MULTI_THREAD"
32180
32181 LIBS="$LIBS -lcma"
32182 fi
32183 ;;
32184 *solaris* | alpha*-osf*)
32185 flag="-D_REENTRANT"
32186 ;;
32187 esac
32188 echo "$as_me:$LINENO: result: ${flag}" >&5
32189 echo "${ECHO_T}${flag}" >&6
32190 if test "x$flag" != xno; then
32191 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
32192 fi
32193
32194 if test "x$THREADS_CFLAGS" != "x"; then
32195 CFLAGS="$CFLAGS $THREADS_CFLAGS"
32196 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
32197 fi
32198 fi
32199 fi
32200
32201 if test "$wxUSE_THREADS" = "yes" ; then
32202
32203 for ac_func in thr_setconcurrency
32204 do
32205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32206 echo "$as_me:$LINENO: checking for $ac_func" >&5
32207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32208 if eval "test \"\${$as_ac_var+set}\" = set"; then
32209 echo $ECHO_N "(cached) $ECHO_C" >&6
32210 else
32211 cat >conftest.$ac_ext <<_ACEOF
32212 /* confdefs.h. */
32213 _ACEOF
32214 cat confdefs.h >>conftest.$ac_ext
32215 cat >>conftest.$ac_ext <<_ACEOF
32216 /* end confdefs.h. */
32217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32219 #define $ac_func innocuous_$ac_func
32220
32221 /* System header to define __stub macros and hopefully few prototypes,
32222 which can conflict with char $ac_func (); below.
32223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32224 <limits.h> exists even on freestanding compilers. */
32225
32226 #ifdef __STDC__
32227 # include <limits.h>
32228 #else
32229 # include <assert.h>
32230 #endif
32231
32232 #undef $ac_func
32233
32234 /* Override any gcc2 internal prototype to avoid an error. */
32235 #ifdef __cplusplus
32236 extern "C"
32237 {
32238 #endif
32239 /* We use char because int might match the return type of a gcc2
32240 builtin and then its argument prototype would still apply. */
32241 char $ac_func ();
32242 /* The GNU C library defines this for functions which it implements
32243 to always fail with ENOSYS. Some functions are actually named
32244 something starting with __ and the normal name is an alias. */
32245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32246 choke me
32247 #else
32248 char (*f) () = $ac_func;
32249 #endif
32250 #ifdef __cplusplus
32251 }
32252 #endif
32253
32254 int
32255 main ()
32256 {
32257 return f != $ac_func;
32258 ;
32259 return 0;
32260 }
32261 _ACEOF
32262 rm -f conftest.$ac_objext conftest$ac_exeext
32263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32264 (eval $ac_link) 2>conftest.er1
32265 ac_status=$?
32266 grep -v '^ *+' conftest.er1 >conftest.err
32267 rm -f conftest.er1
32268 cat conftest.err >&5
32269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32270 (exit $ac_status); } &&
32271 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32273 (eval $ac_try) 2>&5
32274 ac_status=$?
32275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32276 (exit $ac_status); }; } &&
32277 { ac_try='test -s conftest$ac_exeext'
32278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32279 (eval $ac_try) 2>&5
32280 ac_status=$?
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); }; }; then
32283 eval "$as_ac_var=yes"
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32287
32288 eval "$as_ac_var=no"
32289 fi
32290 rm -f conftest.err conftest.$ac_objext \
32291 conftest$ac_exeext conftest.$ac_ext
32292 fi
32293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32295 if test `eval echo '${'$as_ac_var'}'` = yes; then
32296 cat >>confdefs.h <<_ACEOF
32297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32298 _ACEOF
32299
32300 fi
32301 done
32302
32303
32304
32305 for ac_header in sched.h
32306 do
32307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32309 echo "$as_me:$LINENO: checking for $ac_header" >&5
32310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32312 echo $ECHO_N "(cached) $ECHO_C" >&6
32313 fi
32314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32316 else
32317 # Is the header compilable?
32318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32320 cat >conftest.$ac_ext <<_ACEOF
32321 /* confdefs.h. */
32322 _ACEOF
32323 cat confdefs.h >>conftest.$ac_ext
32324 cat >>conftest.$ac_ext <<_ACEOF
32325 /* end confdefs.h. */
32326 $ac_includes_default
32327 #include <$ac_header>
32328 _ACEOF
32329 rm -f conftest.$ac_objext
32330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32331 (eval $ac_compile) 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } &&
32338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32340 (eval $ac_try) 2>&5
32341 ac_status=$?
32342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32343 (exit $ac_status); }; } &&
32344 { ac_try='test -s conftest.$ac_objext'
32345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32346 (eval $ac_try) 2>&5
32347 ac_status=$?
32348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32349 (exit $ac_status); }; }; then
32350 ac_header_compiler=yes
32351 else
32352 echo "$as_me: failed program was:" >&5
32353 sed 's/^/| /' conftest.$ac_ext >&5
32354
32355 ac_header_compiler=no
32356 fi
32357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32358 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32359 echo "${ECHO_T}$ac_header_compiler" >&6
32360
32361 # Is the header present?
32362 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32363 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32364 cat >conftest.$ac_ext <<_ACEOF
32365 /* confdefs.h. */
32366 _ACEOF
32367 cat confdefs.h >>conftest.$ac_ext
32368 cat >>conftest.$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32370 #include <$ac_header>
32371 _ACEOF
32372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32374 ac_status=$?
32375 grep -v '^ *+' conftest.er1 >conftest.err
32376 rm -f conftest.er1
32377 cat conftest.err >&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); } >/dev/null; then
32380 if test -s conftest.err; then
32381 ac_cpp_err=$ac_c_preproc_warn_flag
32382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32383 else
32384 ac_cpp_err=
32385 fi
32386 else
32387 ac_cpp_err=yes
32388 fi
32389 if test -z "$ac_cpp_err"; then
32390 ac_header_preproc=yes
32391 else
32392 echo "$as_me: failed program was:" >&5
32393 sed 's/^/| /' conftest.$ac_ext >&5
32394
32395 ac_header_preproc=no
32396 fi
32397 rm -f conftest.err conftest.$ac_ext
32398 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32399 echo "${ECHO_T}$ac_header_preproc" >&6
32400
32401 # So? What about this header?
32402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32403 yes:no: )
32404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32408 ac_header_preproc=yes
32409 ;;
32410 no:yes:* )
32411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32423 (
32424 cat <<\_ASBOX
32425 ## ----------------------------------------- ##
32426 ## Report this to wx-dev@lists.wxwindows.org ##
32427 ## ----------------------------------------- ##
32428 _ASBOX
32429 ) |
32430 sed "s/^/$as_me: WARNING: /" >&2
32431 ;;
32432 esac
32433 echo "$as_me:$LINENO: checking for $ac_header" >&5
32434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438 eval "$as_ac_Header=\$ac_header_preproc"
32439 fi
32440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32442
32443 fi
32444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32445 cat >>confdefs.h <<_ACEOF
32446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32447 _ACEOF
32448
32449 fi
32450
32451 done
32452
32453 if test "$ac_cv_header_sched_h" = "yes"; then
32454 echo "$as_me:$LINENO: checking for sched_yield" >&5
32455 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
32456 if test "${ac_cv_func_sched_yield+set}" = set; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 else
32459 cat >conftest.$ac_ext <<_ACEOF
32460 /* confdefs.h. */
32461 _ACEOF
32462 cat confdefs.h >>conftest.$ac_ext
32463 cat >>conftest.$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32465 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
32466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32467 #define sched_yield innocuous_sched_yield
32468
32469 /* System header to define __stub macros and hopefully few prototypes,
32470 which can conflict with char sched_yield (); below.
32471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32472 <limits.h> exists even on freestanding compilers. */
32473
32474 #ifdef __STDC__
32475 # include <limits.h>
32476 #else
32477 # include <assert.h>
32478 #endif
32479
32480 #undef sched_yield
32481
32482 /* Override any gcc2 internal prototype to avoid an error. */
32483 #ifdef __cplusplus
32484 extern "C"
32485 {
32486 #endif
32487 /* We use char because int might match the return type of a gcc2
32488 builtin and then its argument prototype would still apply. */
32489 char sched_yield ();
32490 /* The GNU C library defines this for functions which it implements
32491 to always fail with ENOSYS. Some functions are actually named
32492 something starting with __ and the normal name is an alias. */
32493 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
32494 choke me
32495 #else
32496 char (*f) () = sched_yield;
32497 #endif
32498 #ifdef __cplusplus
32499 }
32500 #endif
32501
32502 int
32503 main ()
32504 {
32505 return f != sched_yield;
32506 ;
32507 return 0;
32508 }
32509 _ACEOF
32510 rm -f conftest.$ac_objext conftest$ac_exeext
32511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32512 (eval $ac_link) 2>conftest.er1
32513 ac_status=$?
32514 grep -v '^ *+' conftest.er1 >conftest.err
32515 rm -f conftest.er1
32516 cat conftest.err >&5
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); } &&
32519 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521 (eval $ac_try) 2>&5
32522 ac_status=$?
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); }; } &&
32525 { ac_try='test -s conftest$ac_exeext'
32526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527 (eval $ac_try) 2>&5
32528 ac_status=$?
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; }; then
32531 ac_cv_func_sched_yield=yes
32532 else
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32535
32536 ac_cv_func_sched_yield=no
32537 fi
32538 rm -f conftest.err conftest.$ac_objext \
32539 conftest$ac_exeext conftest.$ac_ext
32540 fi
32541 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
32542 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
32543 if test $ac_cv_func_sched_yield = yes; then
32544 cat >>confdefs.h <<\_ACEOF
32545 #define HAVE_SCHED_YIELD 1
32546 _ACEOF
32547
32548 else
32549
32550 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
32551 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
32552 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32554 else
32555 ac_check_lib_save_LIBS=$LIBS
32556 LIBS="-lposix4 $LIBS"
32557 cat >conftest.$ac_ext <<_ACEOF
32558 /* confdefs.h. */
32559 _ACEOF
32560 cat confdefs.h >>conftest.$ac_ext
32561 cat >>conftest.$ac_ext <<_ACEOF
32562 /* end confdefs.h. */
32563
32564 /* Override any gcc2 internal prototype to avoid an error. */
32565 #ifdef __cplusplus
32566 extern "C"
32567 #endif
32568 /* We use char because int might match the return type of a gcc2
32569 builtin and then its argument prototype would still apply. */
32570 char sched_yield ();
32571 int
32572 main ()
32573 {
32574 sched_yield ();
32575 ;
32576 return 0;
32577 }
32578 _ACEOF
32579 rm -f conftest.$ac_objext conftest$ac_exeext
32580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32581 (eval $ac_link) 2>conftest.er1
32582 ac_status=$?
32583 grep -v '^ *+' conftest.er1 >conftest.err
32584 rm -f conftest.er1
32585 cat conftest.err >&5
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); } &&
32588 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32590 (eval $ac_try) 2>&5
32591 ac_status=$?
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); }; } &&
32594 { ac_try='test -s conftest$ac_exeext'
32595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32596 (eval $ac_try) 2>&5
32597 ac_status=$?
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); }; }; then
32600 ac_cv_lib_posix4_sched_yield=yes
32601 else
32602 echo "$as_me: failed program was:" >&5
32603 sed 's/^/| /' conftest.$ac_ext >&5
32604
32605 ac_cv_lib_posix4_sched_yield=no
32606 fi
32607 rm -f conftest.err conftest.$ac_objext \
32608 conftest$ac_exeext conftest.$ac_ext
32609 LIBS=$ac_check_lib_save_LIBS
32610 fi
32611 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
32612 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
32613 if test $ac_cv_lib_posix4_sched_yield = yes; then
32614 cat >>confdefs.h <<\_ACEOF
32615 #define HAVE_SCHED_YIELD 1
32616 _ACEOF
32617 POSIX4_LINK=" -lposix4"
32618 else
32619 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
32620 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32621
32622 fi
32623
32624
32625
32626 fi
32627
32628 fi
32629
32630 HAVE_PRIOR_FUNCS=0
32631 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
32632 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
32633 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
32634 echo $ECHO_N "(cached) $ECHO_C" >&6
32635 else
32636 cat >conftest.$ac_ext <<_ACEOF
32637 /* confdefs.h. */
32638 _ACEOF
32639 cat confdefs.h >>conftest.$ac_ext
32640 cat >>conftest.$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32642 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
32643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32644 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
32645
32646 /* System header to define __stub macros and hopefully few prototypes,
32647 which can conflict with char pthread_attr_getschedpolicy (); below.
32648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32649 <limits.h> exists even on freestanding compilers. */
32650
32651 #ifdef __STDC__
32652 # include <limits.h>
32653 #else
32654 # include <assert.h>
32655 #endif
32656
32657 #undef pthread_attr_getschedpolicy
32658
32659 /* Override any gcc2 internal prototype to avoid an error. */
32660 #ifdef __cplusplus
32661 extern "C"
32662 {
32663 #endif
32664 /* We use char because int might match the return type of a gcc2
32665 builtin and then its argument prototype would still apply. */
32666 char pthread_attr_getschedpolicy ();
32667 /* The GNU C library defines this for functions which it implements
32668 to always fail with ENOSYS. Some functions are actually named
32669 something starting with __ and the normal name is an alias. */
32670 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
32671 choke me
32672 #else
32673 char (*f) () = pthread_attr_getschedpolicy;
32674 #endif
32675 #ifdef __cplusplus
32676 }
32677 #endif
32678
32679 int
32680 main ()
32681 {
32682 return f != pthread_attr_getschedpolicy;
32683 ;
32684 return 0;
32685 }
32686 _ACEOF
32687 rm -f conftest.$ac_objext conftest$ac_exeext
32688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32689 (eval $ac_link) 2>conftest.er1
32690 ac_status=$?
32691 grep -v '^ *+' conftest.er1 >conftest.err
32692 rm -f conftest.er1
32693 cat conftest.err >&5
32694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32695 (exit $ac_status); } &&
32696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32698 (eval $ac_try) 2>&5
32699 ac_status=$?
32700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32701 (exit $ac_status); }; } &&
32702 { ac_try='test -s conftest$ac_exeext'
32703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32704 (eval $ac_try) 2>&5
32705 ac_status=$?
32706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32707 (exit $ac_status); }; }; then
32708 ac_cv_func_pthread_attr_getschedpolicy=yes
32709 else
32710 echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.$ac_ext >&5
32712
32713 ac_cv_func_pthread_attr_getschedpolicy=no
32714 fi
32715 rm -f conftest.err conftest.$ac_objext \
32716 conftest$ac_exeext conftest.$ac_ext
32717 fi
32718 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
32719 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
32720 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
32721 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
32722 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
32723 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
32724 echo $ECHO_N "(cached) $ECHO_C" >&6
32725 else
32726 cat >conftest.$ac_ext <<_ACEOF
32727 /* confdefs.h. */
32728 _ACEOF
32729 cat confdefs.h >>conftest.$ac_ext
32730 cat >>conftest.$ac_ext <<_ACEOF
32731 /* end confdefs.h. */
32732 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
32733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32734 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
32735
32736 /* System header to define __stub macros and hopefully few prototypes,
32737 which can conflict with char pthread_attr_setschedparam (); below.
32738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32739 <limits.h> exists even on freestanding compilers. */
32740
32741 #ifdef __STDC__
32742 # include <limits.h>
32743 #else
32744 # include <assert.h>
32745 #endif
32746
32747 #undef pthread_attr_setschedparam
32748
32749 /* Override any gcc2 internal prototype to avoid an error. */
32750 #ifdef __cplusplus
32751 extern "C"
32752 {
32753 #endif
32754 /* We use char because int might match the return type of a gcc2
32755 builtin and then its argument prototype would still apply. */
32756 char pthread_attr_setschedparam ();
32757 /* The GNU C library defines this for functions which it implements
32758 to always fail with ENOSYS. Some functions are actually named
32759 something starting with __ and the normal name is an alias. */
32760 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
32761 choke me
32762 #else
32763 char (*f) () = pthread_attr_setschedparam;
32764 #endif
32765 #ifdef __cplusplus
32766 }
32767 #endif
32768
32769 int
32770 main ()
32771 {
32772 return f != pthread_attr_setschedparam;
32773 ;
32774 return 0;
32775 }
32776 _ACEOF
32777 rm -f conftest.$ac_objext conftest$ac_exeext
32778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32779 (eval $ac_link) 2>conftest.er1
32780 ac_status=$?
32781 grep -v '^ *+' conftest.er1 >conftest.err
32782 rm -f conftest.er1
32783 cat conftest.err >&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } &&
32786 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32788 (eval $ac_try) 2>&5
32789 ac_status=$?
32790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32791 (exit $ac_status); }; } &&
32792 { ac_try='test -s conftest$ac_exeext'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32795 ac_status=$?
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; }; then
32798 ac_cv_func_pthread_attr_setschedparam=yes
32799 else
32800 echo "$as_me: failed program was:" >&5
32801 sed 's/^/| /' conftest.$ac_ext >&5
32802
32803 ac_cv_func_pthread_attr_setschedparam=no
32804 fi
32805 rm -f conftest.err conftest.$ac_objext \
32806 conftest$ac_exeext conftest.$ac_ext
32807 fi
32808 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
32809 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
32810 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
32811 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
32812 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
32813 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
32814 echo $ECHO_N "(cached) $ECHO_C" >&6
32815 else
32816 cat >conftest.$ac_ext <<_ACEOF
32817 /* confdefs.h. */
32818 _ACEOF
32819 cat confdefs.h >>conftest.$ac_ext
32820 cat >>conftest.$ac_ext <<_ACEOF
32821 /* end confdefs.h. */
32822 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
32823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32824 #define sched_get_priority_max innocuous_sched_get_priority_max
32825
32826 /* System header to define __stub macros and hopefully few prototypes,
32827 which can conflict with char sched_get_priority_max (); below.
32828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32829 <limits.h> exists even on freestanding compilers. */
32830
32831 #ifdef __STDC__
32832 # include <limits.h>
32833 #else
32834 # include <assert.h>
32835 #endif
32836
32837 #undef sched_get_priority_max
32838
32839 /* Override any gcc2 internal prototype to avoid an error. */
32840 #ifdef __cplusplus
32841 extern "C"
32842 {
32843 #endif
32844 /* We use char because int might match the return type of a gcc2
32845 builtin and then its argument prototype would still apply. */
32846 char sched_get_priority_max ();
32847 /* The GNU C library defines this for functions which it implements
32848 to always fail with ENOSYS. Some functions are actually named
32849 something starting with __ and the normal name is an alias. */
32850 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
32851 choke me
32852 #else
32853 char (*f) () = sched_get_priority_max;
32854 #endif
32855 #ifdef __cplusplus
32856 }
32857 #endif
32858
32859 int
32860 main ()
32861 {
32862 return f != sched_get_priority_max;
32863 ;
32864 return 0;
32865 }
32866 _ACEOF
32867 rm -f conftest.$ac_objext conftest$ac_exeext
32868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32869 (eval $ac_link) 2>conftest.er1
32870 ac_status=$?
32871 grep -v '^ *+' conftest.er1 >conftest.err
32872 rm -f conftest.er1
32873 cat conftest.err >&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); } &&
32876 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32878 (eval $ac_try) 2>&5
32879 ac_status=$?
32880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32881 (exit $ac_status); }; } &&
32882 { ac_try='test -s conftest$ac_exeext'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32885 ac_status=$?
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; }; then
32888 ac_cv_func_sched_get_priority_max=yes
32889 else
32890 echo "$as_me: failed program was:" >&5
32891 sed 's/^/| /' conftest.$ac_ext >&5
32892
32893 ac_cv_func_sched_get_priority_max=no
32894 fi
32895 rm -f conftest.err conftest.$ac_objext \
32896 conftest$ac_exeext conftest.$ac_ext
32897 fi
32898 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
32899 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
32900 if test $ac_cv_func_sched_get_priority_max = yes; then
32901 HAVE_PRIOR_FUNCS=1
32902 else
32903 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
32904 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
32905 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
32906 echo $ECHO_N "(cached) $ECHO_C" >&6
32907 else
32908 ac_check_lib_save_LIBS=$LIBS
32909 LIBS="-lposix4 $LIBS"
32910 cat >conftest.$ac_ext <<_ACEOF
32911 /* confdefs.h. */
32912 _ACEOF
32913 cat confdefs.h >>conftest.$ac_ext
32914 cat >>conftest.$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32916
32917 /* Override any gcc2 internal prototype to avoid an error. */
32918 #ifdef __cplusplus
32919 extern "C"
32920 #endif
32921 /* We use char because int might match the return type of a gcc2
32922 builtin and then its argument prototype would still apply. */
32923 char sched_get_priority_max ();
32924 int
32925 main ()
32926 {
32927 sched_get_priority_max ();
32928 ;
32929 return 0;
32930 }
32931 _ACEOF
32932 rm -f conftest.$ac_objext conftest$ac_exeext
32933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32934 (eval $ac_link) 2>conftest.er1
32935 ac_status=$?
32936 grep -v '^ *+' conftest.er1 >conftest.err
32937 rm -f conftest.er1
32938 cat conftest.err >&5
32939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32940 (exit $ac_status); } &&
32941 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943 (eval $ac_try) 2>&5
32944 ac_status=$?
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); }; } &&
32947 { ac_try='test -s conftest$ac_exeext'
32948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32949 (eval $ac_try) 2>&5
32950 ac_status=$?
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); }; }; then
32953 ac_cv_lib_posix4_sched_get_priority_max=yes
32954 else
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.$ac_ext >&5
32957
32958 ac_cv_lib_posix4_sched_get_priority_max=no
32959 fi
32960 rm -f conftest.err conftest.$ac_objext \
32961 conftest$ac_exeext conftest.$ac_ext
32962 LIBS=$ac_check_lib_save_LIBS
32963 fi
32964 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32965 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
32966 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
32967
32968 HAVE_PRIOR_FUNCS=1
32969 POSIX4_LINK=" -lposix4"
32970
32971 fi
32972
32973
32974 fi
32975
32976
32977 fi
32978
32979
32980 fi
32981
32982
32983 if test "$HAVE_PRIOR_FUNCS" = 1; then
32984 cat >>confdefs.h <<\_ACEOF
32985 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
32986 _ACEOF
32987
32988 else
32989 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
32990 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32991 fi
32992
32993 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
32994 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
32995 if test "${ac_cv_func_pthread_cancel+set}" = set; then
32996 echo $ECHO_N "(cached) $ECHO_C" >&6
32997 else
32998 cat >conftest.$ac_ext <<_ACEOF
32999 /* confdefs.h. */
33000 _ACEOF
33001 cat confdefs.h >>conftest.$ac_ext
33002 cat >>conftest.$ac_ext <<_ACEOF
33003 /* end confdefs.h. */
33004 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
33005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33006 #define pthread_cancel innocuous_pthread_cancel
33007
33008 /* System header to define __stub macros and hopefully few prototypes,
33009 which can conflict with char pthread_cancel (); below.
33010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33011 <limits.h> exists even on freestanding compilers. */
33012
33013 #ifdef __STDC__
33014 # include <limits.h>
33015 #else
33016 # include <assert.h>
33017 #endif
33018
33019 #undef pthread_cancel
33020
33021 /* Override any gcc2 internal prototype to avoid an error. */
33022 #ifdef __cplusplus
33023 extern "C"
33024 {
33025 #endif
33026 /* We use char because int might match the return type of a gcc2
33027 builtin and then its argument prototype would still apply. */
33028 char pthread_cancel ();
33029 /* The GNU C library defines this for functions which it implements
33030 to always fail with ENOSYS. Some functions are actually named
33031 something starting with __ and the normal name is an alias. */
33032 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
33033 choke me
33034 #else
33035 char (*f) () = pthread_cancel;
33036 #endif
33037 #ifdef __cplusplus
33038 }
33039 #endif
33040
33041 int
33042 main ()
33043 {
33044 return f != pthread_cancel;
33045 ;
33046 return 0;
33047 }
33048 _ACEOF
33049 rm -f conftest.$ac_objext conftest$ac_exeext
33050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33051 (eval $ac_link) 2>conftest.er1
33052 ac_status=$?
33053 grep -v '^ *+' conftest.er1 >conftest.err
33054 rm -f conftest.er1
33055 cat conftest.err >&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } &&
33058 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33061 ac_status=$?
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; } &&
33064 { ac_try='test -s conftest$ac_exeext'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33067 ac_status=$?
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }; then
33070 ac_cv_func_pthread_cancel=yes
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 ac_cv_func_pthread_cancel=no
33076 fi
33077 rm -f conftest.err conftest.$ac_objext \
33078 conftest$ac_exeext conftest.$ac_ext
33079 fi
33080 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
33081 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
33082 if test $ac_cv_func_pthread_cancel = yes; then
33083 cat >>confdefs.h <<\_ACEOF
33084 #define HAVE_PTHREAD_CANCEL 1
33085 _ACEOF
33086
33087 else
33088 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
33089 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
33090 fi
33091
33092
33093
33094
33095 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
33096 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
33097 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33100
33101 cat >conftest.$ac_ext <<_ACEOF
33102 /* confdefs.h. */
33103 _ACEOF
33104 cat confdefs.h >>conftest.$ac_ext
33105 cat >>conftest.$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33107 #include <pthread.h>
33108 int
33109 main ()
33110 {
33111
33112 pthread_mutexattr_t attr;
33113 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
33114
33115 ;
33116 return 0;
33117 }
33118 _ACEOF
33119 rm -f conftest.$ac_objext
33120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33121 (eval $ac_compile) 2>conftest.er1
33122 ac_status=$?
33123 grep -v '^ *+' conftest.er1 >conftest.err
33124 rm -f conftest.er1
33125 cat conftest.err >&5
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); } &&
33128 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33131 ac_status=$?
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; } &&
33134 { ac_try='test -s conftest.$ac_objext'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33137 ac_status=$?
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; }; then
33140
33141 wx_cv_type_pthread_mutexattr_t=yes
33142
33143 else
33144 echo "$as_me: failed program was:" >&5
33145 sed 's/^/| /' conftest.$ac_ext >&5
33146
33147
33148 wx_cv_type_pthread_mutexattr_t=no
33149
33150
33151 fi
33152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33153
33154 fi
33155 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
33156 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
33157
33158 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
33159 cat >>confdefs.h <<\_ACEOF
33160 #define HAVE_PTHREAD_MUTEXATTR_T 1
33161 _ACEOF
33162
33163 else
33164 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
33165 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
33166 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
33167 echo $ECHO_N "(cached) $ECHO_C" >&6
33168 else
33169
33170 cat >conftest.$ac_ext <<_ACEOF
33171 /* confdefs.h. */
33172 _ACEOF
33173 cat confdefs.h >>conftest.$ac_ext
33174 cat >>conftest.$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33176 #include <pthread.h>
33177 int
33178 main ()
33179 {
33180
33181 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
33182
33183 ;
33184 return 0;
33185 }
33186 _ACEOF
33187 rm -f conftest.$ac_objext
33188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33189 (eval $ac_compile) 2>conftest.er1
33190 ac_status=$?
33191 grep -v '^ *+' conftest.er1 >conftest.err
33192 rm -f conftest.er1
33193 cat conftest.err >&5
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); } &&
33196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33198 (eval $ac_try) 2>&5
33199 ac_status=$?
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); }; } &&
33202 { ac_try='test -s conftest.$ac_objext'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33205 ac_status=$?
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; }; then
33208
33209 wx_cv_type_pthread_rec_mutex_init=yes
33210
33211 else
33212 echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.$ac_ext >&5
33214
33215
33216 wx_cv_type_pthread_rec_mutex_init=no
33217
33218
33219 fi
33220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33221
33222 fi
33223 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
33224 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
33225 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
33226 cat >>confdefs.h <<\_ACEOF
33227 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
33228 _ACEOF
33229
33230 else
33231 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
33232 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
33233 fi
33234 fi
33235 fi
33236
33237 else
33238 if test "$wxUSE_THREADS" = "yes" ; then
33239 case "${host}" in
33240 *-*-mingw32* )
33241 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
33242 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
33243 if test "${wx_cv_cflags_mthread+set}" = set; then
33244 echo $ECHO_N "(cached) $ECHO_C" >&6
33245 else
33246
33247 CFLAGS_OLD="$CFLAGS"
33248 CFLAGS="$CFLAGS -mthreads"
33249 cat >conftest.$ac_ext <<_ACEOF
33250 /* confdefs.h. */
33251 _ACEOF
33252 cat confdefs.h >>conftest.$ac_ext
33253 cat >>conftest.$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33255
33256 int
33257 main ()
33258 {
33259
33260 ;
33261 return 0;
33262 }
33263 _ACEOF
33264 rm -f conftest.$ac_objext
33265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33266 (eval $ac_compile) 2>conftest.er1
33267 ac_status=$?
33268 grep -v '^ *+' conftest.er1 >conftest.err
33269 rm -f conftest.er1
33270 cat conftest.err >&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); } &&
33273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33276 ac_status=$?
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; } &&
33279 { ac_try='test -s conftest.$ac_objext'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33282 ac_status=$?
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; }; then
33285 wx_cv_cflags_mthread=yes
33286 else
33287 echo "$as_me: failed program was:" >&5
33288 sed 's/^/| /' conftest.$ac_ext >&5
33289
33290 wx_cv_cflags_mthread=no
33291
33292 fi
33293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33294
33295
33296 fi
33297 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
33298 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
33299
33300 if test "$wx_cv_cflags_mthread" = "yes"; then
33301 CXXFLAGS="$CXXFLAGS -mthreads"
33302 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
33303 LDFLAGS="$LDFLAGS -mthreads"
33304 else
33305 CFLAGS="$CFLAGS_OLD"
33306 fi
33307 ;;
33308 *-pc-os2*emx )
33309 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
33310 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
33311 LDFLAGS="$LDFLAGS -Zmt"
33312 ;;
33313 esac
33314 fi
33315 fi
33316
33317 if test "$wxUSE_THREADS" = "yes"; then
33318 cat >>confdefs.h <<\_ACEOF
33319 #define wxUSE_THREADS 1
33320 _ACEOF
33321
33322
33323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
33324 else
33325 if test "$ac_cv_func_strtok_r" = "yes"; then
33326 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
33327 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
33328 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33329 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
33330 echo "$as_me:$LINENO: result: yes" >&5
33331 echo "${ECHO_T}yes" >&6
33332 else
33333 echo "$as_me:$LINENO: result: no" >&5
33334 echo "${ECHO_T}no" >&6
33335 fi
33336 fi
33337 fi
33338
33339 if test "$WXGTK20" = 1 ; then
33340 cat >>confdefs.h <<_ACEOF
33341 #define __WXGTK20__ $WXGTK20
33342 _ACEOF
33343
33344 WXGTK12=1
33345 fi
33346
33347 if test "$WXGTK12" = 1 ; then
33348 cat >>confdefs.h <<_ACEOF
33349 #define __WXGTK12__ $WXGTK12
33350 _ACEOF
33351
33352 fi
33353
33354 if test "$WXGTK127" = 1 ; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define __WXGTK127__ $WXGTK127
33357 _ACEOF
33358
33359 fi
33360
33361 if test "$WXGPE" = 1 ; then
33362 cat >>confdefs.h <<_ACEOF
33363 #define __WXGPE__ $WXGPE
33364 _ACEOF
33365
33366 fi
33367
33368 WXDEBUG=
33369
33370 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
33371 WXDEBUG="-g"
33372 wxUSE_OPTIMISE=no
33373 fi
33374
33375 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33376 wxUSE_DEBUG_INFO=yes
33377 WXDEBUG="-ggdb"
33378 fi
33379
33380 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
33381 cat >>confdefs.h <<\_ACEOF
33382 #define WXDEBUG 1
33383 _ACEOF
33384
33385 WXDEBUG_DEFINE="-D__WXDEBUG__"
33386 else
33387 if test "$wxUSE_GTK" = 1 ; then
33388 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
33389 fi
33390 fi
33391
33392 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33393 cat >>confdefs.h <<\_ACEOF
33394 #define wxUSE_MEMORY_TRACING 1
33395 _ACEOF
33396
33397 cat >>confdefs.h <<\_ACEOF
33398 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
33399 _ACEOF
33400
33401 cat >>confdefs.h <<\_ACEOF
33402 #define wxUSE_DEBUG_NEW_ALWAYS 1
33403 _ACEOF
33404
33405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
33406 fi
33407
33408 if test "$wxUSE_DMALLOC" = "yes" ; then
33409 DMALLOC_LIBS="-ldmalloc"
33410 fi
33411
33412 PROFILE=
33413 if test "$wxUSE_PROFILE" = "yes" ; then
33414 PROFILE=" -pg"
33415 fi
33416
33417 CODE_GEN_FLAGS=
33418 CODE_GEN_FLAGS_CXX=
33419 if test "$GCC" = "yes" ; then
33420 if test "$wxUSE_NO_RTTI" = "yes" ; then
33421 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
33422 fi
33423 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33424 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
33425 fi
33426 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33427 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
33428 fi
33429
33430 case "${host}" in
33431 powerpc*-*-aix* )
33432 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
33433 ;;
33434 *-hppa* )
33435 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
33436 ;;
33437 esac
33438 fi
33439
33440 OPTIMISE=
33441 if test "$wxUSE_OPTIMISE" = "no" ; then
33442 if test "$GCC" = yes ; then
33443 OPTIMISE="-O0"
33444 fi
33445 else
33446 if test "$GCC" = yes ; then
33447 OPTIMISE="-O2"
33448
33449 case "${host}" in
33450 i586-*-*|i686-*-* )
33451 OPTIMISE="${OPTIMISE} "
33452 ;;
33453 esac
33454 else
33455 OPTIMISE="-O"
33456 fi
33457 fi
33458
33459
33460 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
33461 cat >>confdefs.h <<\_ACEOF
33462 #define WXWIN_COMPATIBILITY_2_2 1
33463 _ACEOF
33464
33465
33466 WXWIN_COMPATIBILITY_2_4="yes"
33467 fi
33468
33469 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
33470 cat >>confdefs.h <<\_ACEOF
33471 #define WXWIN_COMPATIBILITY_2_4 1
33472 _ACEOF
33473
33474 fi
33475
33476
33477 if test "$wxUSE_GUI" = "yes"; then
33478 cat >>confdefs.h <<\_ACEOF
33479 #define wxUSE_GUI 1
33480 _ACEOF
33481
33482
33483 else
33484 cat >>confdefs.h <<\_ACEOF
33485 #define wxUSE_NOGUI 1
33486 _ACEOF
33487
33488 fi
33489
33490
33491 if test "$wxUSE_UNIX" = "yes"; then
33492 cat >>confdefs.h <<\_ACEOF
33493 #define wxUSE_UNIX 1
33494 _ACEOF
33495
33496 fi
33497
33498
33499 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33500
33501 HAVE_DL_FUNCS=0
33502 HAVE_SHL_FUNCS=0
33503 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33504 if test "$USE_DARWIN" = 1; then
33505 HAVE_DL_FUNCS=1
33506 else
33507
33508 for ac_func in dlopen
33509 do
33510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33511 echo "$as_me:$LINENO: checking for $ac_func" >&5
33512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33513 if eval "test \"\${$as_ac_var+set}\" = set"; then
33514 echo $ECHO_N "(cached) $ECHO_C" >&6
33515 else
33516 cat >conftest.$ac_ext <<_ACEOF
33517 /* confdefs.h. */
33518 _ACEOF
33519 cat confdefs.h >>conftest.$ac_ext
33520 cat >>conftest.$ac_ext <<_ACEOF
33521 /* end confdefs.h. */
33522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33524 #define $ac_func innocuous_$ac_func
33525
33526 /* System header to define __stub macros and hopefully few prototypes,
33527 which can conflict with char $ac_func (); below.
33528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33529 <limits.h> exists even on freestanding compilers. */
33530
33531 #ifdef __STDC__
33532 # include <limits.h>
33533 #else
33534 # include <assert.h>
33535 #endif
33536
33537 #undef $ac_func
33538
33539 /* Override any gcc2 internal prototype to avoid an error. */
33540 #ifdef __cplusplus
33541 extern "C"
33542 {
33543 #endif
33544 /* We use char because int might match the return type of a gcc2
33545 builtin and then its argument prototype would still apply. */
33546 char $ac_func ();
33547 /* The GNU C library defines this for functions which it implements
33548 to always fail with ENOSYS. Some functions are actually named
33549 something starting with __ and the normal name is an alias. */
33550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33551 choke me
33552 #else
33553 char (*f) () = $ac_func;
33554 #endif
33555 #ifdef __cplusplus
33556 }
33557 #endif
33558
33559 int
33560 main ()
33561 {
33562 return f != $ac_func;
33563 ;
33564 return 0;
33565 }
33566 _ACEOF
33567 rm -f conftest.$ac_objext conftest$ac_exeext
33568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33569 (eval $ac_link) 2>conftest.er1
33570 ac_status=$?
33571 grep -v '^ *+' conftest.er1 >conftest.err
33572 rm -f conftest.er1
33573 cat conftest.err >&5
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); } &&
33576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33578 (eval $ac_try) 2>&5
33579 ac_status=$?
33580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581 (exit $ac_status); }; } &&
33582 { ac_try='test -s conftest$ac_exeext'
33583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584 (eval $ac_try) 2>&5
33585 ac_status=$?
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); }; }; then
33588 eval "$as_ac_var=yes"
33589 else
33590 echo "$as_me: failed program was:" >&5
33591 sed 's/^/| /' conftest.$ac_ext >&5
33592
33593 eval "$as_ac_var=no"
33594 fi
33595 rm -f conftest.err conftest.$ac_objext \
33596 conftest$ac_exeext conftest.$ac_ext
33597 fi
33598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33600 if test `eval echo '${'$as_ac_var'}'` = yes; then
33601 cat >>confdefs.h <<_ACEOF
33602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33603 _ACEOF
33604
33605 cat >>confdefs.h <<\_ACEOF
33606 #define HAVE_DLOPEN 1
33607 _ACEOF
33608
33609 HAVE_DL_FUNCS=1
33610
33611 else
33612
33613 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
33614 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
33615 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618 ac_check_lib_save_LIBS=$LIBS
33619 LIBS="-ldl $LIBS"
33620 cat >conftest.$ac_ext <<_ACEOF
33621 /* confdefs.h. */
33622 _ACEOF
33623 cat confdefs.h >>conftest.$ac_ext
33624 cat >>conftest.$ac_ext <<_ACEOF
33625 /* end confdefs.h. */
33626
33627 /* Override any gcc2 internal prototype to avoid an error. */
33628 #ifdef __cplusplus
33629 extern "C"
33630 #endif
33631 /* We use char because int might match the return type of a gcc2
33632 builtin and then its argument prototype would still apply. */
33633 char dlopen ();
33634 int
33635 main ()
33636 {
33637 dlopen ();
33638 ;
33639 return 0;
33640 }
33641 _ACEOF
33642 rm -f conftest.$ac_objext conftest$ac_exeext
33643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33644 (eval $ac_link) 2>conftest.er1
33645 ac_status=$?
33646 grep -v '^ *+' conftest.er1 >conftest.err
33647 rm -f conftest.er1
33648 cat conftest.err >&5
33649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33650 (exit $ac_status); } &&
33651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33653 (eval $ac_try) 2>&5
33654 ac_status=$?
33655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33656 (exit $ac_status); }; } &&
33657 { ac_try='test -s conftest$ac_exeext'
33658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33659 (eval $ac_try) 2>&5
33660 ac_status=$?
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); }; }; then
33663 ac_cv_lib_dl_dlopen=yes
33664 else
33665 echo "$as_me: failed program was:" >&5
33666 sed 's/^/| /' conftest.$ac_ext >&5
33667
33668 ac_cv_lib_dl_dlopen=no
33669 fi
33670 rm -f conftest.err conftest.$ac_objext \
33671 conftest$ac_exeext conftest.$ac_ext
33672 LIBS=$ac_check_lib_save_LIBS
33673 fi
33674 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
33675 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
33676 if test $ac_cv_lib_dl_dlopen = yes; then
33677
33678 cat >>confdefs.h <<\_ACEOF
33679 #define HAVE_DLOPEN 1
33680 _ACEOF
33681
33682 HAVE_DL_FUNCS=1
33683 DL_LINK=" -ldl$DL_LINK"
33684
33685 else
33686
33687
33688 for ac_func in shl_load
33689 do
33690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33691 echo "$as_me:$LINENO: checking for $ac_func" >&5
33692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33693 if eval "test \"\${$as_ac_var+set}\" = set"; then
33694 echo $ECHO_N "(cached) $ECHO_C" >&6
33695 else
33696 cat >conftest.$ac_ext <<_ACEOF
33697 /* confdefs.h. */
33698 _ACEOF
33699 cat confdefs.h >>conftest.$ac_ext
33700 cat >>conftest.$ac_ext <<_ACEOF
33701 /* end confdefs.h. */
33702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33704 #define $ac_func innocuous_$ac_func
33705
33706 /* System header to define __stub macros and hopefully few prototypes,
33707 which can conflict with char $ac_func (); below.
33708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33709 <limits.h> exists even on freestanding compilers. */
33710
33711 #ifdef __STDC__
33712 # include <limits.h>
33713 #else
33714 # include <assert.h>
33715 #endif
33716
33717 #undef $ac_func
33718
33719 /* Override any gcc2 internal prototype to avoid an error. */
33720 #ifdef __cplusplus
33721 extern "C"
33722 {
33723 #endif
33724 /* We use char because int might match the return type of a gcc2
33725 builtin and then its argument prototype would still apply. */
33726 char $ac_func ();
33727 /* The GNU C library defines this for functions which it implements
33728 to always fail with ENOSYS. Some functions are actually named
33729 something starting with __ and the normal name is an alias. */
33730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33731 choke me
33732 #else
33733 char (*f) () = $ac_func;
33734 #endif
33735 #ifdef __cplusplus
33736 }
33737 #endif
33738
33739 int
33740 main ()
33741 {
33742 return f != $ac_func;
33743 ;
33744 return 0;
33745 }
33746 _ACEOF
33747 rm -f conftest.$ac_objext conftest$ac_exeext
33748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33749 (eval $ac_link) 2>conftest.er1
33750 ac_status=$?
33751 grep -v '^ *+' conftest.er1 >conftest.err
33752 rm -f conftest.er1
33753 cat conftest.err >&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } &&
33756 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33758 (eval $ac_try) 2>&5
33759 ac_status=$?
33760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33761 (exit $ac_status); }; } &&
33762 { ac_try='test -s conftest$ac_exeext'
33763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764 (eval $ac_try) 2>&5
33765 ac_status=$?
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); }; }; then
33768 eval "$as_ac_var=yes"
33769 else
33770 echo "$as_me: failed program was:" >&5
33771 sed 's/^/| /' conftest.$ac_ext >&5
33772
33773 eval "$as_ac_var=no"
33774 fi
33775 rm -f conftest.err conftest.$ac_objext \
33776 conftest$ac_exeext conftest.$ac_ext
33777 fi
33778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33780 if test `eval echo '${'$as_ac_var'}'` = yes; then
33781 cat >>confdefs.h <<_ACEOF
33782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33783 _ACEOF
33784
33785 cat >>confdefs.h <<\_ACEOF
33786 #define HAVE_SHL_LOAD 1
33787 _ACEOF
33788
33789 HAVE_SHL_FUNCS=1
33790
33791 else
33792
33793 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
33794 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
33795 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
33796 echo $ECHO_N "(cached) $ECHO_C" >&6
33797 else
33798 ac_check_lib_save_LIBS=$LIBS
33799 LIBS="-lshl_load $LIBS"
33800 cat >conftest.$ac_ext <<_ACEOF
33801 /* confdefs.h. */
33802 _ACEOF
33803 cat confdefs.h >>conftest.$ac_ext
33804 cat >>conftest.$ac_ext <<_ACEOF
33805 /* end confdefs.h. */
33806
33807 /* Override any gcc2 internal prototype to avoid an error. */
33808 #ifdef __cplusplus
33809 extern "C"
33810 #endif
33811 /* We use char because int might match the return type of a gcc2
33812 builtin and then its argument prototype would still apply. */
33813 char dld ();
33814 int
33815 main ()
33816 {
33817 dld ();
33818 ;
33819 return 0;
33820 }
33821 _ACEOF
33822 rm -f conftest.$ac_objext conftest$ac_exeext
33823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33824 (eval $ac_link) 2>conftest.er1
33825 ac_status=$?
33826 grep -v '^ *+' conftest.er1 >conftest.err
33827 rm -f conftest.er1
33828 cat conftest.err >&5
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); } &&
33831 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33833 (eval $ac_try) 2>&5
33834 ac_status=$?
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); }; } &&
33837 { ac_try='test -s conftest$ac_exeext'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33840 ac_status=$?
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; }; then
33843 ac_cv_lib_shl_load_dld=yes
33844 else
33845 echo "$as_me: failed program was:" >&5
33846 sed 's/^/| /' conftest.$ac_ext >&5
33847
33848 ac_cv_lib_shl_load_dld=no
33849 fi
33850 rm -f conftest.err conftest.$ac_objext \
33851 conftest$ac_exeext conftest.$ac_ext
33852 LIBS=$ac_check_lib_save_LIBS
33853 fi
33854 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
33855 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
33856 if test $ac_cv_lib_shl_load_dld = yes; then
33857
33858 HAVE_SHL_FUNCS=1
33859 DL_LINK=" -ldld$DL_LINK"
33860
33861 fi
33862
33863
33864 fi
33865 done
33866
33867
33868 fi
33869
33870
33871 fi
33872 done
33873
33874
33875 if test "$HAVE_DL_FUNCS" = 1; then
33876
33877 for ac_func in dlerror
33878 do
33879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33880 echo "$as_me:$LINENO: checking for $ac_func" >&5
33881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33882 if eval "test \"\${$as_ac_var+set}\" = set"; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 else
33885 cat >conftest.$ac_ext <<_ACEOF
33886 /* confdefs.h. */
33887 _ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33893 #define $ac_func innocuous_$ac_func
33894
33895 /* System header to define __stub macros and hopefully few prototypes,
33896 which can conflict with char $ac_func (); below.
33897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33898 <limits.h> exists even on freestanding compilers. */
33899
33900 #ifdef __STDC__
33901 # include <limits.h>
33902 #else
33903 # include <assert.h>
33904 #endif
33905
33906 #undef $ac_func
33907
33908 /* Override any gcc2 internal prototype to avoid an error. */
33909 #ifdef __cplusplus
33910 extern "C"
33911 {
33912 #endif
33913 /* We use char because int might match the return type of a gcc2
33914 builtin and then its argument prototype would still apply. */
33915 char $ac_func ();
33916 /* The GNU C library defines this for functions which it implements
33917 to always fail with ENOSYS. Some functions are actually named
33918 something starting with __ and the normal name is an alias. */
33919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33920 choke me
33921 #else
33922 char (*f) () = $ac_func;
33923 #endif
33924 #ifdef __cplusplus
33925 }
33926 #endif
33927
33928 int
33929 main ()
33930 {
33931 return f != $ac_func;
33932 ;
33933 return 0;
33934 }
33935 _ACEOF
33936 rm -f conftest.$ac_objext conftest$ac_exeext
33937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33938 (eval $ac_link) 2>conftest.er1
33939 ac_status=$?
33940 grep -v '^ *+' conftest.er1 >conftest.err
33941 rm -f conftest.er1
33942 cat conftest.err >&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } &&
33945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33948 ac_status=$?
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; } &&
33951 { ac_try='test -s conftest$ac_exeext'
33952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953 (eval $ac_try) 2>&5
33954 ac_status=$?
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); }; }; then
33957 eval "$as_ac_var=yes"
33958 else
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33961
33962 eval "$as_ac_var=no"
33963 fi
33964 rm -f conftest.err conftest.$ac_objext \
33965 conftest$ac_exeext conftest.$ac_ext
33966 fi
33967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33969 if test `eval echo '${'$as_ac_var'}'` = yes; then
33970 cat >>confdefs.h <<_ACEOF
33971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33972 _ACEOF
33973 cat >>confdefs.h <<\_ACEOF
33974 #define HAVE_DLERROR 1
33975 _ACEOF
33976
33977 else
33978
33979 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
33980 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
33981 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
33982 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 else
33984 ac_check_lib_save_LIBS=$LIBS
33985 LIBS="-ldl $LIBS"
33986 cat >conftest.$ac_ext <<_ACEOF
33987 /* confdefs.h. */
33988 _ACEOF
33989 cat confdefs.h >>conftest.$ac_ext
33990 cat >>conftest.$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33992
33993 /* Override any gcc2 internal prototype to avoid an error. */
33994 #ifdef __cplusplus
33995 extern "C"
33996 #endif
33997 /* We use char because int might match the return type of a gcc2
33998 builtin and then its argument prototype would still apply. */
33999 char dlerror ();
34000 int
34001 main ()
34002 {
34003 dlerror ();
34004 ;
34005 return 0;
34006 }
34007 _ACEOF
34008 rm -f conftest.$ac_objext conftest$ac_exeext
34009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34010 (eval $ac_link) 2>conftest.er1
34011 ac_status=$?
34012 grep -v '^ *+' conftest.er1 >conftest.err
34013 rm -f conftest.er1
34014 cat conftest.err >&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); } &&
34017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34019 (eval $ac_try) 2>&5
34020 ac_status=$?
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); }; } &&
34023 { ac_try='test -s conftest$ac_exeext'
34024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025 (eval $ac_try) 2>&5
34026 ac_status=$?
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); }; }; then
34029 ac_cv_lib_dl_dlerror=yes
34030 else
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34033
34034 ac_cv_lib_dl_dlerror=no
34035 fi
34036 rm -f conftest.err conftest.$ac_objext \
34037 conftest$ac_exeext conftest.$ac_ext
34038 LIBS=$ac_check_lib_save_LIBS
34039 fi
34040 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
34041 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
34042 if test $ac_cv_lib_dl_dlerror = yes; then
34043 cat >>confdefs.h <<\_ACEOF
34044 #define HAVE_DLERROR 1
34045 _ACEOF
34046
34047 fi
34048
34049
34050
34051 fi
34052 done
34053
34054 fi
34055 fi
34056
34057 if test "$HAVE_DL_FUNCS" = 0; then
34058 if test "$HAVE_SHL_FUNCS" = 0; then
34059 if test "$USE_UNIX" = 1; then
34060 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
34061 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
34062 wxUSE_DYNAMIC_LOADER=no
34063 wxUSE_DYNLIB_CLASS=no
34064 else
34065 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
34066 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
34067 fi
34068 fi
34069 fi
34070 fi
34071 fi
34072
34073 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
34074 cat >>confdefs.h <<\_ACEOF
34075 #define wxUSE_DYNAMIC_LOADER 1
34076 _ACEOF
34077
34078 fi
34079 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
34080 cat >>confdefs.h <<\_ACEOF
34081 #define wxUSE_DYNLIB_CLASS 1
34082 _ACEOF
34083
34084 fi
34085
34086
34087
34088 if test "$wxUSE_PLUGINS" = "yes" ; then
34089 if test "$wxUSE_SHARED" = "no" ; then
34090 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
34091 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
34092 wxUSE_PLUGINS=no
34093 fi
34094 if test "$wxUSE_MONOLITHIC" = "yes" ; then
34095 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
34096 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
34097 wxUSE_PLUGINS=no
34098 fi
34099 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
34100 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
34101 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
34102 wxUSE_PLUGINS=no
34103 fi
34104 if test "$wxUSE_PLUGINS" = "yes" ; then
34105 cat >>confdefs.h <<\_ACEOF
34106 #define wxUSE_PLUGINS 1
34107 _ACEOF
34108
34109 fi
34110 fi
34111
34112
34113 if test "$wxUSE_STL" = "yes"; then
34114 cat >>confdefs.h <<\_ACEOF
34115 #define wxUSE_STL 1
34116 _ACEOF
34117
34118 fi
34119
34120 if test "$wxUSE_APPLE_IEEE" = "yes"; then
34121 cat >>confdefs.h <<\_ACEOF
34122 #define wxUSE_APPLE_IEEE 1
34123 _ACEOF
34124
34125 fi
34126
34127 if test "$wxUSE_TIMER" = "yes"; then
34128 cat >>confdefs.h <<\_ACEOF
34129 #define wxUSE_TIMER 1
34130 _ACEOF
34131
34132 fi
34133
34134 WITH_PLUGIN_SDL=0
34135 if test "$wxUSE_SOUND" = "yes"; then
34136 if test "$USE_UNIX" = "1" ; then
34137
34138 for ac_header in sys/soundcard.h
34139 do
34140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34142 echo "$as_me:$LINENO: checking for $ac_header" >&5
34143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34145 echo $ECHO_N "(cached) $ECHO_C" >&6
34146 fi
34147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34149 else
34150 # Is the header compilable?
34151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34153 cat >conftest.$ac_ext <<_ACEOF
34154 /* confdefs.h. */
34155 _ACEOF
34156 cat confdefs.h >>conftest.$ac_ext
34157 cat >>conftest.$ac_ext <<_ACEOF
34158 /* end confdefs.h. */
34159 $ac_includes_default
34160 #include <$ac_header>
34161 _ACEOF
34162 rm -f conftest.$ac_objext
34163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34164 (eval $ac_compile) 2>conftest.er1
34165 ac_status=$?
34166 grep -v '^ *+' conftest.er1 >conftest.err
34167 rm -f conftest.er1
34168 cat conftest.err >&5
34169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34170 (exit $ac_status); } &&
34171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173 (eval $ac_try) 2>&5
34174 ac_status=$?
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); }; } &&
34177 { ac_try='test -s conftest.$ac_objext'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34180 ac_status=$?
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; }; then
34183 ac_header_compiler=yes
34184 else
34185 echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.$ac_ext >&5
34187
34188 ac_header_compiler=no
34189 fi
34190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34192 echo "${ECHO_T}$ac_header_compiler" >&6
34193
34194 # Is the header present?
34195 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34196 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h. */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 #include <$ac_header>
34204 _ACEOF
34205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34207 ac_status=$?
34208 grep -v '^ *+' conftest.er1 >conftest.err
34209 rm -f conftest.er1
34210 cat conftest.err >&5
34211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34212 (exit $ac_status); } >/dev/null; then
34213 if test -s conftest.err; then
34214 ac_cpp_err=$ac_c_preproc_warn_flag
34215 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34216 else
34217 ac_cpp_err=
34218 fi
34219 else
34220 ac_cpp_err=yes
34221 fi
34222 if test -z "$ac_cpp_err"; then
34223 ac_header_preproc=yes
34224 else
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34227
34228 ac_header_preproc=no
34229 fi
34230 rm -f conftest.err conftest.$ac_ext
34231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34232 echo "${ECHO_T}$ac_header_preproc" >&6
34233
34234 # So? What about this header?
34235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34236 yes:no: )
34237 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34238 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
34240 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
34241 ac_header_preproc=yes
34242 ;;
34243 no:yes:* )
34244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34248 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
34249 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
34250 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
34251 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
34252 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34253 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34254 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
34255 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
34256 (
34257 cat <<\_ASBOX
34258 ## ----------------------------------------- ##
34259 ## Report this to wx-dev@lists.wxwindows.org ##
34260 ## ----------------------------------------- ##
34261 _ASBOX
34262 ) |
34263 sed "s/^/$as_me: WARNING: /" >&2
34264 ;;
34265 esac
34266 echo "$as_me:$LINENO: checking for $ac_header" >&5
34267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34270 else
34271 eval "$as_ac_Header=\$ac_header_preproc"
34272 fi
34273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34275
34276 fi
34277 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34278 cat >>confdefs.h <<_ACEOF
34279 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34280 _ACEOF
34281
34282 fi
34283
34284 done
34285
34286
34287 if test "$wxUSE_LIBSDL" != "no"; then
34288
34289 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
34290 if test "${with_sdl_prefix+set}" = set; then
34291 withval="$with_sdl_prefix"
34292 sdl_prefix="$withval"
34293 else
34294 sdl_prefix=""
34295 fi;
34296
34297 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
34298 if test "${with_sdl_exec_prefix+set}" = set; then
34299 withval="$with_sdl_exec_prefix"
34300 sdl_exec_prefix="$withval"
34301 else
34302 sdl_exec_prefix=""
34303 fi;
34304 # Check whether --enable-sdltest or --disable-sdltest was given.
34305 if test "${enable_sdltest+set}" = set; then
34306 enableval="$enable_sdltest"
34307
34308 else
34309 enable_sdltest=yes
34310 fi;
34311
34312 if test x$sdl_exec_prefix != x ; then
34313 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
34314 if test x${SDL_CONFIG+set} != xset ; then
34315 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
34316 fi
34317 fi
34318 if test x$sdl_prefix != x ; then
34319 sdl_args="$sdl_args --prefix=$sdl_prefix"
34320 if test x${SDL_CONFIG+set} != xset ; then
34321 SDL_CONFIG=$sdl_prefix/bin/sdl-config
34322 fi
34323 fi
34324
34325
34326 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
34327 # Extract the first word of "sdl-config", so it can be a program name with args.
34328 set dummy sdl-config; ac_word=$2
34329 echo "$as_me:$LINENO: checking for $ac_word" >&5
34330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34331 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 else
34334 case $SDL_CONFIG in
34335 [\\/]* | ?:[\\/]*)
34336 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
34337 ;;
34338 *)
34339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34340 for as_dir in $PATH
34341 do
34342 IFS=$as_save_IFS
34343 test -z "$as_dir" && as_dir=.
34344 for ac_exec_ext in '' $ac_executable_extensions; do
34345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34346 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34348 break 2
34349 fi
34350 done
34351 done
34352
34353 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
34354 ;;
34355 esac
34356 fi
34357 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
34358
34359 if test -n "$SDL_CONFIG"; then
34360 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
34361 echo "${ECHO_T}$SDL_CONFIG" >&6
34362 else
34363 echo "$as_me:$LINENO: result: no" >&5
34364 echo "${ECHO_T}no" >&6
34365 fi
34366
34367 min_sdl_version=1.2.0
34368 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
34369 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
34370 no_sdl=""
34371 if test "$SDL_CONFIG" = "no" ; then
34372 no_sdl=yes
34373 else
34374 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
34375 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
34376
34377 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
34378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
34379 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
34380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
34381 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
34382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
34383 if test "x$enable_sdltest" = "xyes" ; then
34384 ac_save_CFLAGS="$CFLAGS"
34385 ac_save_LIBS="$LIBS"
34386 CFLAGS="$CFLAGS $SDL_CFLAGS"
34387 LIBS="$LIBS $SDL_LIBS"
34388 rm -f conf.sdltest
34389 if test "$cross_compiling" = yes; then
34390 echo $ac_n "cross compiling; assumed OK... $ac_c"
34391 else
34392 cat >conftest.$ac_ext <<_ACEOF
34393 /* confdefs.h. */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398
34399 #include <stdio.h>
34400 #include <stdlib.h>
34401 #include <string.h>
34402 #include "SDL.h"
34403
34404 char*
34405 my_strdup (char *str)
34406 {
34407 char *new_str;
34408
34409 if (str)
34410 {
34411 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
34412 strcpy (new_str, str);
34413 }
34414 else
34415 new_str = NULL;
34416
34417 return new_str;
34418 }
34419
34420 int main (int argc, char *argv[])
34421 {
34422 int major, minor, micro;
34423 char *tmp_version;
34424
34425 /* This hangs on some systems (?)
34426 system ("touch conf.sdltest");
34427 */
34428 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
34429
34430 /* HP/UX 9 (%@#!) writes to sscanf strings */
34431 tmp_version = my_strdup("$min_sdl_version");
34432 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
34433 printf("%s, bad version string\n", "$min_sdl_version");
34434 exit(1);
34435 }
34436
34437 if (($sdl_major_version > major) ||
34438 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
34439 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
34440 {
34441 return 0;
34442 }
34443 else
34444 {
34445 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
34446 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
34447 printf("*** best to upgrade to the required version.\n");
34448 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
34449 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
34450 printf("*** config.cache before re-running configure\n");
34451 return 1;
34452 }
34453 }
34454
34455
34456 _ACEOF
34457 rm -f conftest$ac_exeext
34458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34459 (eval $ac_link) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34465 ac_status=$?
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; }; then
34468 :
34469 else
34470 echo "$as_me: program exited with status $ac_status" >&5
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474 ( exit $ac_status )
34475 no_sdl=yes
34476 fi
34477 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34478 fi
34479 CFLAGS="$ac_save_CFLAGS"
34480 LIBS="$ac_save_LIBS"
34481 fi
34482 fi
34483 if test "x$no_sdl" = x ; then
34484 echo "$as_me:$LINENO: result: yes" >&5
34485 echo "${ECHO_T}yes" >&6
34486
34487 EXTRALIBS_SDL="$SDL_LIBS"
34488 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
34489 cat >>confdefs.h <<\_ACEOF
34490 #define wxUSE_LIBSDL 1
34491 _ACEOF
34492
34493
34494 else
34495 echo "$as_me:$LINENO: result: no" >&5
34496 echo "${ECHO_T}no" >&6
34497 if test "$SDL_CONFIG" = "no" ; then
34498 echo "*** The sdl-config script installed by SDL could not be found"
34499 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
34500 echo "*** your path, or set the SDL_CONFIG environment variable to the"
34501 echo "*** full path to sdl-config."
34502 else
34503 if test -f conf.sdltest ; then
34504 :
34505 else
34506 echo "*** Could not run SDL test program, checking why..."
34507 CFLAGS="$CFLAGS $SDL_CFLAGS"
34508 LIBS="$LIBS $SDL_LIBS"
34509 cat >conftest.$ac_ext <<_ACEOF
34510 /* confdefs.h. */
34511 _ACEOF
34512 cat confdefs.h >>conftest.$ac_ext
34513 cat >>conftest.$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34515
34516 #include <stdio.h>
34517 #include "SDL.h"
34518
34519 int main(int argc, char *argv[])
34520 { return 0; }
34521 #undef main
34522 #define main K_and_R_C_main
34523
34524 int
34525 main ()
34526 {
34527 return 0;
34528 ;
34529 return 0;
34530 }
34531 _ACEOF
34532 rm -f conftest.$ac_objext conftest$ac_exeext
34533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34534 (eval $ac_link) 2>conftest.er1
34535 ac_status=$?
34536 grep -v '^ *+' conftest.er1 >conftest.err
34537 rm -f conftest.er1
34538 cat conftest.err >&5
34539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34540 (exit $ac_status); } &&
34541 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34543 (eval $ac_try) 2>&5
34544 ac_status=$?
34545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34546 (exit $ac_status); }; } &&
34547 { ac_try='test -s conftest$ac_exeext'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; }; then
34553 echo "*** The test program compiled, but did not run. This usually means"
34554 echo "*** that the run-time linker is not finding SDL or finding the wrong"
34555 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
34556 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34557 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34558 echo "*** is required on your system"
34559 echo "***"
34560 echo "*** If you have an old version installed, it is best to remove it, although"
34561 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34562 else
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34565
34566 echo "*** The test program failed to compile or link. See the file config.log for the"
34567 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
34568 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
34569 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
34570 fi
34571 rm -f conftest.err conftest.$ac_objext \
34572 conftest$ac_exeext conftest.$ac_ext
34573 CFLAGS="$ac_save_CFLAGS"
34574 LIBS="$ac_save_LIBS"
34575 fi
34576 fi
34577 SDL_CFLAGS=""
34578 SDL_LIBS=""
34579 wxUSE_LIBSDL="no"
34580 fi
34581
34582
34583 rm -f conf.sdltest
34584
34585 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
34586 WITH_PLUGIN_SDL=1
34587 fi
34588 fi
34589 fi
34590
34591 cat >>confdefs.h <<\_ACEOF
34592 #define wxUSE_SOUND 1
34593 _ACEOF
34594
34595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
34596 fi
34597
34598 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34599 cat >>confdefs.h <<\_ACEOF
34600 #define wxUSE_CMDLINE_PARSER 1
34601 _ACEOF
34602
34603 fi
34604
34605 if test "$wxUSE_STOPWATCH" = "yes"; then
34606 cat >>confdefs.h <<\_ACEOF
34607 #define wxUSE_STOPWATCH 1
34608 _ACEOF
34609
34610 fi
34611
34612 if test "$wxUSE_DATETIME" = "yes"; then
34613 cat >>confdefs.h <<\_ACEOF
34614 #define wxUSE_DATETIME 1
34615 _ACEOF
34616
34617 fi
34618
34619 if test "$wxUSE_FILE" = "yes"; then
34620 cat >>confdefs.h <<\_ACEOF
34621 #define wxUSE_FILE 1
34622 _ACEOF
34623
34624 fi
34625
34626 if test "$wxUSE_FFILE" = "yes"; then
34627 cat >>confdefs.h <<\_ACEOF
34628 #define wxUSE_FFILE 1
34629 _ACEOF
34630
34631 fi
34632
34633 if test "$wxUSE_FILESYSTEM" = "yes"; then
34634 cat >>confdefs.h <<\_ACEOF
34635 #define wxUSE_FILESYSTEM 1
34636 _ACEOF
34637
34638 fi
34639
34640 if test "$wxUSE_FS_ZIP" = "yes"; then
34641 cat >>confdefs.h <<\_ACEOF
34642 #define wxUSE_FS_ZIP 1
34643 _ACEOF
34644
34645 fi
34646
34647 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34648 cat >>confdefs.h <<\_ACEOF
34649 #define wxUSE_ZIPSTREAM 1
34650 _ACEOF
34651
34652 fi
34653
34654 if test "$wxUSE_GZSTREAM" = "yes"; then
34655 cat >>confdefs.h <<\_ACEOF
34656 #define wxUSE_GZSTREAM 1
34657 _ACEOF
34658
34659 fi
34660
34661 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34662 cat >>confdefs.h <<\_ACEOF
34663 #define wxUSE_ON_FATAL_EXCEPTION 1
34664 _ACEOF
34665
34666 fi
34667
34668 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34669 cat >>confdefs.h <<\_ACEOF
34670 #define wxUSE_SNGLINST_CHECKER 1
34671 _ACEOF
34672
34673 fi
34674
34675 if test "$wxUSE_BUSYINFO" = "yes"; then
34676 cat >>confdefs.h <<\_ACEOF
34677 #define wxUSE_BUSYINFO 1
34678 _ACEOF
34679
34680 fi
34681
34682 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34683 cat >>confdefs.h <<\_ACEOF
34684 #define wxUSE_STD_IOSTREAM 1
34685 _ACEOF
34686
34687 fi
34688
34689 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34690 cat >>confdefs.h <<\_ACEOF
34691 #define wxUSE_TEXTBUFFER 1
34692 _ACEOF
34693
34694 fi
34695
34696 if test "$wxUSE_TEXTFILE" = "yes"; then
34697 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34698 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34699 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34700 else
34701 cat >>confdefs.h <<\_ACEOF
34702 #define wxUSE_TEXTFILE 1
34703 _ACEOF
34704
34705 fi
34706 fi
34707
34708 if test "$wxUSE_CONFIG" = "yes" ; then
34709 if test "$wxUSE_TEXTFILE" != "yes"; then
34710 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
34711 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34712 else
34713 cat >>confdefs.h <<\_ACEOF
34714 #define wxUSE_CONFIG 1
34715 _ACEOF
34716
34717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34718 fi
34719 fi
34720
34721 if test "$wxUSE_INTL" = "yes" ; then
34722 if test "$wxUSE_FILE" != "yes"; then
34723 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
34724 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34725 else
34726 cat >>confdefs.h <<\_ACEOF
34727 #define wxUSE_INTL 1
34728 _ACEOF
34729
34730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34731 GUIDIST="$GUIDIST INTL_DIST"
34732 fi
34733 fi
34734
34735 if test "$wxUSE_LOG" = "yes"; then
34736 cat >>confdefs.h <<\_ACEOF
34737 #define wxUSE_LOG 1
34738 _ACEOF
34739
34740
34741 if test "$wxUSE_LOGGUI" = "yes"; then
34742 cat >>confdefs.h <<\_ACEOF
34743 #define wxUSE_LOGGUI 1
34744 _ACEOF
34745
34746 fi
34747
34748 if test "$wxUSE_LOGWINDOW" = "yes"; then
34749 cat >>confdefs.h <<\_ACEOF
34750 #define wxUSE_LOGWINDOW 1
34751 _ACEOF
34752
34753 fi
34754
34755 if test "$wxUSE_LOGDIALOG" = "yes"; then
34756 cat >>confdefs.h <<\_ACEOF
34757 #define wxUSE_LOG_DIALOG 1
34758 _ACEOF
34759
34760 fi
34761 fi
34762
34763 if test "$wxUSE_LONGLONG" = "yes"; then
34764 cat >>confdefs.h <<\_ACEOF
34765 #define wxUSE_LONGLONG 1
34766 _ACEOF
34767
34768 fi
34769
34770 if test "$wxUSE_GEOMETRY" = "yes"; then
34771 cat >>confdefs.h <<\_ACEOF
34772 #define wxUSE_GEOMETRY 1
34773 _ACEOF
34774
34775 fi
34776
34777 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
34778 cat >>confdefs.h <<\_ACEOF
34779 #define wxUSE_DIALUP_MANAGER 1
34780 _ACEOF
34781
34782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
34783 fi
34784
34785 if test "$wxUSE_STREAMS" = "yes" ; then
34786 cat >>confdefs.h <<\_ACEOF
34787 #define wxUSE_STREAMS 1
34788 _ACEOF
34789
34790 fi
34791
34792
34793 if test "$wxUSE_DATETIME" = "yes"; then
34794
34795 for ac_func in strptime
34796 do
34797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34798 echo "$as_me:$LINENO: checking for $ac_func" >&5
34799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34800 if eval "test \"\${$as_ac_var+set}\" = set"; then
34801 echo $ECHO_N "(cached) $ECHO_C" >&6
34802 else
34803 cat >conftest.$ac_ext <<_ACEOF
34804 /* confdefs.h. */
34805 _ACEOF
34806 cat confdefs.h >>conftest.$ac_ext
34807 cat >>conftest.$ac_ext <<_ACEOF
34808 /* end confdefs.h. */
34809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34811 #define $ac_func innocuous_$ac_func
34812
34813 /* System header to define __stub macros and hopefully few prototypes,
34814 which can conflict with char $ac_func (); below.
34815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34816 <limits.h> exists even on freestanding compilers. */
34817
34818 #ifdef __STDC__
34819 # include <limits.h>
34820 #else
34821 # include <assert.h>
34822 #endif
34823
34824 #undef $ac_func
34825
34826 /* Override any gcc2 internal prototype to avoid an error. */
34827 #ifdef __cplusplus
34828 extern "C"
34829 {
34830 #endif
34831 /* We use char because int might match the return type of a gcc2
34832 builtin and then its argument prototype would still apply. */
34833 char $ac_func ();
34834 /* The GNU C library defines this for functions which it implements
34835 to always fail with ENOSYS. Some functions are actually named
34836 something starting with __ and the normal name is an alias. */
34837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34838 choke me
34839 #else
34840 char (*f) () = $ac_func;
34841 #endif
34842 #ifdef __cplusplus
34843 }
34844 #endif
34845
34846 int
34847 main ()
34848 {
34849 return f != $ac_func;
34850 ;
34851 return 0;
34852 }
34853 _ACEOF
34854 rm -f conftest.$ac_objext conftest$ac_exeext
34855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34856 (eval $ac_link) 2>conftest.er1
34857 ac_status=$?
34858 grep -v '^ *+' conftest.er1 >conftest.err
34859 rm -f conftest.er1
34860 cat conftest.err >&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34865 (eval $ac_try) 2>&5
34866 ac_status=$?
34867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34868 (exit $ac_status); }; } &&
34869 { ac_try='test -s conftest$ac_exeext'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34872 ac_status=$?
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; }; then
34875 eval "$as_ac_var=yes"
34876 else
34877 echo "$as_me: failed program was:" >&5
34878 sed 's/^/| /' conftest.$ac_ext >&5
34879
34880 eval "$as_ac_var=no"
34881 fi
34882 rm -f conftest.err conftest.$ac_objext \
34883 conftest$ac_exeext conftest.$ac_ext
34884 fi
34885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34887 if test `eval echo '${'$as_ac_var'}'` = yes; then
34888 cat >>confdefs.h <<_ACEOF
34889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34890 _ACEOF
34891
34892 fi
34893 done
34894
34895
34896 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
34897 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
34898 if test "${wx_cv_var_timezone+set}" = set; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34900 else
34901
34902 cat >conftest.$ac_ext <<_ACEOF
34903 /* confdefs.h. */
34904 _ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908
34909 #include <time.h>
34910
34911 int
34912 main ()
34913 {
34914
34915 int tz;
34916 tz = timezone;
34917
34918 ;
34919 return 0;
34920 }
34921 _ACEOF
34922 rm -f conftest.$ac_objext
34923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34924 (eval $ac_compile) 2>conftest.er1
34925 ac_status=$?
34926 grep -v '^ *+' conftest.er1 >conftest.err
34927 rm -f conftest.er1
34928 cat conftest.err >&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); } &&
34931 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34933 (eval $ac_try) 2>&5
34934 ac_status=$?
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); }; } &&
34937 { ac_try='test -s conftest.$ac_objext'
34938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34939 (eval $ac_try) 2>&5
34940 ac_status=$?
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); }; }; then
34943
34944 wx_cv_var_timezone=timezone
34945
34946 else
34947 echo "$as_me: failed program was:" >&5
34948 sed 's/^/| /' conftest.$ac_ext >&5
34949
34950
34951 cat >conftest.$ac_ext <<_ACEOF
34952 /* confdefs.h. */
34953 _ACEOF
34954 cat confdefs.h >>conftest.$ac_ext
34955 cat >>conftest.$ac_ext <<_ACEOF
34956 /* end confdefs.h. */
34957
34958 #include <time.h>
34959
34960 int
34961 main ()
34962 {
34963
34964 int tz;
34965 tz = _timezone;
34966
34967 ;
34968 return 0;
34969 }
34970 _ACEOF
34971 rm -f conftest.$ac_objext
34972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34973 (eval $ac_compile) 2>conftest.er1
34974 ac_status=$?
34975 grep -v '^ *+' conftest.er1 >conftest.err
34976 rm -f conftest.er1
34977 cat conftest.err >&5
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); } &&
34980 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34982 (eval $ac_try) 2>&5
34983 ac_status=$?
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); }; } &&
34986 { ac_try='test -s conftest.$ac_objext'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34989 ac_status=$?
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; }; then
34992
34993 wx_cv_var_timezone=_timezone
34994
34995 else
34996 echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.$ac_ext >&5
34998
34999
35000 cat >conftest.$ac_ext <<_ACEOF
35001 /* confdefs.h. */
35002 _ACEOF
35003 cat confdefs.h >>conftest.$ac_ext
35004 cat >>conftest.$ac_ext <<_ACEOF
35005 /* end confdefs.h. */
35006
35007 #include <time.h>
35008
35009 int
35010 main ()
35011 {
35012
35013 int tz;
35014 tz = __timezone;
35015
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 rm -f conftest.$ac_objext
35021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35022 (eval $ac_compile) 2>conftest.er1
35023 ac_status=$?
35024 grep -v '^ *+' conftest.er1 >conftest.err
35025 rm -f conftest.er1
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } &&
35029 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35031 (eval $ac_try) 2>&5
35032 ac_status=$?
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); }; } &&
35035 { ac_try='test -s conftest.$ac_objext'
35036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35037 (eval $ac_try) 2>&5
35038 ac_status=$?
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); }; }; then
35041
35042 wx_cv_var_timezone=__timezone
35043
35044 else
35045 echo "$as_me: failed program was:" >&5
35046 sed 's/^/| /' conftest.$ac_ext >&5
35047
35048
35049 if test "$USE_DOS" = 0 ; then
35050 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
35051 echo "$as_me: WARNING: no timezone variable" >&2;}
35052 fi
35053
35054
35055 fi
35056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35057
35058
35059 fi
35060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35061
35062
35063 fi
35064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35065
35066
35067 fi
35068 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
35069 echo "${ECHO_T}$wx_cv_var_timezone" >&6
35070
35071 if test "x$wx_cv_var_timezone" != x ; then
35072 cat >>confdefs.h <<_ACEOF
35073 #define WX_TIMEZONE $wx_cv_var_timezone
35074 _ACEOF
35075
35076 fi
35077
35078
35079 for ac_func in localtime
35080 do
35081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35082 echo "$as_me:$LINENO: checking for $ac_func" >&5
35083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35084 if eval "test \"\${$as_ac_var+set}\" = set"; then
35085 echo $ECHO_N "(cached) $ECHO_C" >&6
35086 else
35087 cat >conftest.$ac_ext <<_ACEOF
35088 /* confdefs.h. */
35089 _ACEOF
35090 cat confdefs.h >>conftest.$ac_ext
35091 cat >>conftest.$ac_ext <<_ACEOF
35092 /* end confdefs.h. */
35093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35095 #define $ac_func innocuous_$ac_func
35096
35097 /* System header to define __stub macros and hopefully few prototypes,
35098 which can conflict with char $ac_func (); below.
35099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35100 <limits.h> exists even on freestanding compilers. */
35101
35102 #ifdef __STDC__
35103 # include <limits.h>
35104 #else
35105 # include <assert.h>
35106 #endif
35107
35108 #undef $ac_func
35109
35110 /* Override any gcc2 internal prototype to avoid an error. */
35111 #ifdef __cplusplus
35112 extern "C"
35113 {
35114 #endif
35115 /* We use char because int might match the return type of a gcc2
35116 builtin and then its argument prototype would still apply. */
35117 char $ac_func ();
35118 /* The GNU C library defines this for functions which it implements
35119 to always fail with ENOSYS. Some functions are actually named
35120 something starting with __ and the normal name is an alias. */
35121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35122 choke me
35123 #else
35124 char (*f) () = $ac_func;
35125 #endif
35126 #ifdef __cplusplus
35127 }
35128 #endif
35129
35130 int
35131 main ()
35132 {
35133 return f != $ac_func;
35134 ;
35135 return 0;
35136 }
35137 _ACEOF
35138 rm -f conftest.$ac_objext conftest$ac_exeext
35139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35140 (eval $ac_link) 2>conftest.er1
35141 ac_status=$?
35142 grep -v '^ *+' conftest.er1 >conftest.err
35143 rm -f conftest.er1
35144 cat conftest.err >&5
35145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35146 (exit $ac_status); } &&
35147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35149 (eval $ac_try) 2>&5
35150 ac_status=$?
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); }; } &&
35153 { ac_try='test -s conftest$ac_exeext'
35154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35155 (eval $ac_try) 2>&5
35156 ac_status=$?
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); }; }; then
35159 eval "$as_ac_var=yes"
35160 else
35161 echo "$as_me: failed program was:" >&5
35162 sed 's/^/| /' conftest.$ac_ext >&5
35163
35164 eval "$as_ac_var=no"
35165 fi
35166 rm -f conftest.err conftest.$ac_objext \
35167 conftest$ac_exeext conftest.$ac_ext
35168 fi
35169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35171 if test `eval echo '${'$as_ac_var'}'` = yes; then
35172 cat >>confdefs.h <<_ACEOF
35173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35174 _ACEOF
35175
35176 fi
35177 done
35178
35179
35180 if test "$ac_cv_func_localtime" = "yes"; then
35181 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
35182 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
35183 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
35184 echo $ECHO_N "(cached) $ECHO_C" >&6
35185 else
35186
35187 cat >conftest.$ac_ext <<_ACEOF
35188 /* confdefs.h. */
35189 _ACEOF
35190 cat confdefs.h >>conftest.$ac_ext
35191 cat >>conftest.$ac_ext <<_ACEOF
35192 /* end confdefs.h. */
35193
35194 #include <time.h>
35195
35196 int
35197 main ()
35198 {
35199
35200 struct tm tm;
35201 tm.tm_gmtoff++;
35202
35203 ;
35204 return 0;
35205 }
35206 _ACEOF
35207 rm -f conftest.$ac_objext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35209 (eval $ac_compile) 2>conftest.er1
35210 ac_status=$?
35211 grep -v '^ *+' conftest.er1 >conftest.err
35212 rm -f conftest.er1
35213 cat conftest.err >&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } &&
35216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35219 ac_status=$?
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; } &&
35222 { ac_try='test -s conftest.$ac_objext'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35225 ac_status=$?
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }; then
35228
35229 wx_cv_struct_tm_has_gmtoff=yes
35230
35231 else
35232 echo "$as_me: failed program was:" >&5
35233 sed 's/^/| /' conftest.$ac_ext >&5
35234
35235 wx_cv_struct_tm_has_gmtoff=no
35236
35237 fi
35238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35239
35240 fi
35241 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
35242 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
35243 fi
35244
35245 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35246 cat >>confdefs.h <<\_ACEOF
35247 #define WX_GMTOFF_IN_TM 1
35248 _ACEOF
35249
35250 fi
35251
35252
35253
35254 for ac_func in gettimeofday ftime
35255 do
35256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35257 echo "$as_me:$LINENO: checking for $ac_func" >&5
35258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35259 if eval "test \"\${$as_ac_var+set}\" = set"; then
35260 echo $ECHO_N "(cached) $ECHO_C" >&6
35261 else
35262 cat >conftest.$ac_ext <<_ACEOF
35263 /* confdefs.h. */
35264 _ACEOF
35265 cat confdefs.h >>conftest.$ac_ext
35266 cat >>conftest.$ac_ext <<_ACEOF
35267 /* end confdefs.h. */
35268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35270 #define $ac_func innocuous_$ac_func
35271
35272 /* System header to define __stub macros and hopefully few prototypes,
35273 which can conflict with char $ac_func (); below.
35274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35275 <limits.h> exists even on freestanding compilers. */
35276
35277 #ifdef __STDC__
35278 # include <limits.h>
35279 #else
35280 # include <assert.h>
35281 #endif
35282
35283 #undef $ac_func
35284
35285 /* Override any gcc2 internal prototype to avoid an error. */
35286 #ifdef __cplusplus
35287 extern "C"
35288 {
35289 #endif
35290 /* We use char because int might match the return type of a gcc2
35291 builtin and then its argument prototype would still apply. */
35292 char $ac_func ();
35293 /* The GNU C library defines this for functions which it implements
35294 to always fail with ENOSYS. Some functions are actually named
35295 something starting with __ and the normal name is an alias. */
35296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35297 choke me
35298 #else
35299 char (*f) () = $ac_func;
35300 #endif
35301 #ifdef __cplusplus
35302 }
35303 #endif
35304
35305 int
35306 main ()
35307 {
35308 return f != $ac_func;
35309 ;
35310 return 0;
35311 }
35312 _ACEOF
35313 rm -f conftest.$ac_objext conftest$ac_exeext
35314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35315 (eval $ac_link) 2>conftest.er1
35316 ac_status=$?
35317 grep -v '^ *+' conftest.er1 >conftest.err
35318 rm -f conftest.er1
35319 cat conftest.err >&5
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); } &&
35322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35325 ac_status=$?
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; } &&
35328 { ac_try='test -s conftest$ac_exeext'
35329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35330 (eval $ac_try) 2>&5
35331 ac_status=$?
35332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35333 (exit $ac_status); }; }; then
35334 eval "$as_ac_var=yes"
35335 else
35336 echo "$as_me: failed program was:" >&5
35337 sed 's/^/| /' conftest.$ac_ext >&5
35338
35339 eval "$as_ac_var=no"
35340 fi
35341 rm -f conftest.err conftest.$ac_objext \
35342 conftest$ac_exeext conftest.$ac_ext
35343 fi
35344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35346 if test `eval echo '${'$as_ac_var'}'` = yes; then
35347 cat >>confdefs.h <<_ACEOF
35348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35349 _ACEOF
35350 break
35351 fi
35352 done
35353
35354
35355 if test "$ac_cv_func_gettimeofday" = "yes"; then
35356 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
35357 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
35358 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
35359 echo $ECHO_N "(cached) $ECHO_C" >&6
35360 else
35361
35362
35363
35364 ac_ext=cc
35365 ac_cpp='$CXXCPP $CPPFLAGS'
35366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35369
35370
35371 cat >conftest.$ac_ext <<_ACEOF
35372 /* confdefs.h. */
35373 _ACEOF
35374 cat confdefs.h >>conftest.$ac_ext
35375 cat >>conftest.$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35377
35378 #include <sys/time.h>
35379 #include <unistd.h>
35380
35381 int
35382 main ()
35383 {
35384
35385 struct timeval tv;
35386 gettimeofday(&tv, NULL);
35387
35388 ;
35389 return 0;
35390 }
35391 _ACEOF
35392 rm -f conftest.$ac_objext
35393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35394 (eval $ac_compile) 2>conftest.er1
35395 ac_status=$?
35396 grep -v '^ *+' conftest.er1 >conftest.err
35397 rm -f conftest.er1
35398 cat conftest.err >&5
35399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35400 (exit $ac_status); } &&
35401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35403 (eval $ac_try) 2>&5
35404 ac_status=$?
35405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35406 (exit $ac_status); }; } &&
35407 { ac_try='test -s conftest.$ac_objext'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35410 ac_status=$?
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; }; then
35413 wx_cv_func_gettimeofday_has_2_args=yes
35414 else
35415 echo "$as_me: failed program was:" >&5
35416 sed 's/^/| /' conftest.$ac_ext >&5
35417
35418 cat >conftest.$ac_ext <<_ACEOF
35419 /* confdefs.h. */
35420 _ACEOF
35421 cat confdefs.h >>conftest.$ac_ext
35422 cat >>conftest.$ac_ext <<_ACEOF
35423 /* end confdefs.h. */
35424
35425 #include <sys/time.h>
35426 #include <unistd.h>
35427
35428 int
35429 main ()
35430 {
35431
35432 struct timeval tv;
35433 gettimeofday(&tv);
35434
35435 ;
35436 return 0;
35437 }
35438 _ACEOF
35439 rm -f conftest.$ac_objext
35440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35441 (eval $ac_compile) 2>conftest.er1
35442 ac_status=$?
35443 grep -v '^ *+' conftest.er1 >conftest.err
35444 rm -f conftest.er1
35445 cat conftest.err >&5
35446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35447 (exit $ac_status); } &&
35448 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35450 (eval $ac_try) 2>&5
35451 ac_status=$?
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); }; } &&
35454 { ac_try='test -s conftest.$ac_objext'
35455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35456 (eval $ac_try) 2>&5
35457 ac_status=$?
35458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35459 (exit $ac_status); }; }; then
35460 wx_cv_func_gettimeofday_has_2_args=no
35461 else
35462 echo "$as_me: failed program was:" >&5
35463 sed 's/^/| /' conftest.$ac_ext >&5
35464
35465
35466 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
35467 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35468 wx_cv_func_gettimeofday_has_2_args=unknown
35469
35470
35471 fi
35472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35473
35474 fi
35475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35476 ac_ext=c
35477 ac_cpp='$CPP $CPPFLAGS'
35478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35481
35482
35483 fi
35484 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35485 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
35486
35487 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35488 cat >>confdefs.h <<\_ACEOF
35489 #define WX_GETTIMEOFDAY_NO_TZ 1
35490 _ACEOF
35491
35492 fi
35493 fi
35494
35495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
35496 fi
35497
35498
35499 if test "$wxUSE_SOCKETS" = "yes"; then
35500 if test "$wxUSE_MGL" = "1"; then
35501 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
35502 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
35503 wxUSE_SOCKETS="no"
35504 fi
35505 fi
35506
35507 if test "$wxUSE_SOCKETS" = "yes"; then
35508 if test "$TOOLKIT" != "MSW"; then
35509 echo "$as_me:$LINENO: checking for socket" >&5
35510 echo $ECHO_N "checking for socket... $ECHO_C" >&6
35511 if test "${ac_cv_func_socket+set}" = set; then
35512 echo $ECHO_N "(cached) $ECHO_C" >&6
35513 else
35514 cat >conftest.$ac_ext <<_ACEOF
35515 /* confdefs.h. */
35516 _ACEOF
35517 cat confdefs.h >>conftest.$ac_ext
35518 cat >>conftest.$ac_ext <<_ACEOF
35519 /* end confdefs.h. */
35520 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
35521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35522 #define socket innocuous_socket
35523
35524 /* System header to define __stub macros and hopefully few prototypes,
35525 which can conflict with char socket (); below.
35526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35527 <limits.h> exists even on freestanding compilers. */
35528
35529 #ifdef __STDC__
35530 # include <limits.h>
35531 #else
35532 # include <assert.h>
35533 #endif
35534
35535 #undef socket
35536
35537 /* Override any gcc2 internal prototype to avoid an error. */
35538 #ifdef __cplusplus
35539 extern "C"
35540 {
35541 #endif
35542 /* We use char because int might match the return type of a gcc2
35543 builtin and then its argument prototype would still apply. */
35544 char socket ();
35545 /* The GNU C library defines this for functions which it implements
35546 to always fail with ENOSYS. Some functions are actually named
35547 something starting with __ and the normal name is an alias. */
35548 #if defined (__stub_socket) || defined (__stub___socket)
35549 choke me
35550 #else
35551 char (*f) () = socket;
35552 #endif
35553 #ifdef __cplusplus
35554 }
35555 #endif
35556
35557 int
35558 main ()
35559 {
35560 return f != socket;
35561 ;
35562 return 0;
35563 }
35564 _ACEOF
35565 rm -f conftest.$ac_objext conftest$ac_exeext
35566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35567 (eval $ac_link) 2>conftest.er1
35568 ac_status=$?
35569 grep -v '^ *+' conftest.er1 >conftest.err
35570 rm -f conftest.er1
35571 cat conftest.err >&5
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); } &&
35574 { ac_try='test -z "$ac_c_werror_flag" || 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 ac_cv_func_socket=yes
35587 else
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35590
35591 ac_cv_func_socket=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: $ac_cv_func_socket" >&5
35597 echo "${ECHO_T}$ac_cv_func_socket" >&6
35598 if test $ac_cv_func_socket = yes; then
35599 :
35600 else
35601
35602 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
35603 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
35604 if test "${ac_cv_lib_socket_socket+set}" = set; then
35605 echo $ECHO_N "(cached) $ECHO_C" >&6
35606 else
35607 ac_check_lib_save_LIBS=$LIBS
35608 LIBS="-lsocket $LIBS"
35609 cat >conftest.$ac_ext <<_ACEOF
35610 /* confdefs.h. */
35611 _ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35615
35616 /* Override any gcc2 internal prototype to avoid an error. */
35617 #ifdef __cplusplus
35618 extern "C"
35619 #endif
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35622 char socket ();
35623 int
35624 main ()
35625 {
35626 socket ();
35627 ;
35628 return 0;
35629 }
35630 _ACEOF
35631 rm -f conftest.$ac_objext conftest$ac_exeext
35632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35633 (eval $ac_link) 2>conftest.er1
35634 ac_status=$?
35635 grep -v '^ *+' conftest.er1 >conftest.err
35636 rm -f conftest.er1
35637 cat conftest.err >&5
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); } &&
35640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35642 (eval $ac_try) 2>&5
35643 ac_status=$?
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; } &&
35646 { ac_try='test -s conftest$ac_exeext'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35649 ac_status=$?
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; }; then
35652 ac_cv_lib_socket_socket=yes
35653 else
35654 echo "$as_me: failed program was:" >&5
35655 sed 's/^/| /' conftest.$ac_ext >&5
35656
35657 ac_cv_lib_socket_socket=no
35658 fi
35659 rm -f conftest.err conftest.$ac_objext \
35660 conftest$ac_exeext conftest.$ac_ext
35661 LIBS=$ac_check_lib_save_LIBS
35662 fi
35663 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
35664 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
35665 if test $ac_cv_lib_socket_socket = yes; then
35666 if test "$INET_LINK" != " -lsocket"; then
35667 INET_LINK="$INET_LINK -lsocket"
35668 fi
35669 else
35670
35671 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
35672 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35673 wxUSE_SOCKETS=no
35674
35675
35676 fi
35677
35678
35679
35680 fi
35681
35682 fi
35683 fi
35684
35685 if test "$wxUSE_SOCKETS" = "yes" ; then
35686 if test "$TOOLKIT" != "MSW"; then
35687 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
35688 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
35689 if test "${wx_cv_type_getsockname3+set}" = set; then
35690 echo $ECHO_N "(cached) $ECHO_C" >&6
35691 else
35692
35693 cat >conftest.$ac_ext <<_ACEOF
35694 /* confdefs.h. */
35695 _ACEOF
35696 cat confdefs.h >>conftest.$ac_ext
35697 cat >>conftest.$ac_ext <<_ACEOF
35698 /* end confdefs.h. */
35699
35700 #include <sys/types.h>
35701 #include <sys/socket.h>
35702
35703 int
35704 main ()
35705 {
35706
35707 socklen_t len;
35708 getsockname(0, 0, &len);
35709
35710 ;
35711 return 0;
35712 }
35713 _ACEOF
35714 rm -f conftest.$ac_objext
35715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35716 (eval $ac_compile) 2>conftest.er1
35717 ac_status=$?
35718 grep -v '^ *+' conftest.er1 >conftest.err
35719 rm -f conftest.er1
35720 cat conftest.err >&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); } &&
35723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35725 (eval $ac_try) 2>&5
35726 ac_status=$?
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); }; } &&
35729 { ac_try='test -s conftest.$ac_objext'
35730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35731 (eval $ac_try) 2>&5
35732 ac_status=$?
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; }; then
35735 wx_cv_type_getsockname3=socklen_t
35736 else
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.$ac_ext >&5
35739
35740
35741 CFLAGS_OLD="$CFLAGS"
35742 if test "$GCC" = yes ; then
35743 CFLAGS="$CFLAGS -Werror"
35744 fi
35745
35746 cat >conftest.$ac_ext <<_ACEOF
35747 /* confdefs.h. */
35748 _ACEOF
35749 cat confdefs.h >>conftest.$ac_ext
35750 cat >>conftest.$ac_ext <<_ACEOF
35751 /* end confdefs.h. */
35752
35753 #include <sys/types.h>
35754 #include <sys/socket.h>
35755
35756 int
35757 main ()
35758 {
35759
35760 size_t len;
35761 getsockname(0, 0, &len);
35762
35763 ;
35764 return 0;
35765 }
35766 _ACEOF
35767 rm -f conftest.$ac_objext
35768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35769 (eval $ac_compile) 2>conftest.er1
35770 ac_status=$?
35771 grep -v '^ *+' conftest.er1 >conftest.err
35772 rm -f conftest.er1
35773 cat conftest.err >&5
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); } &&
35776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35778 (eval $ac_try) 2>&5
35779 ac_status=$?
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); }; } &&
35782 { ac_try='test -s conftest.$ac_objext'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; }; then
35788 wx_cv_type_getsockname3=size_t
35789 else
35790 echo "$as_me: failed program was:" >&5
35791 sed 's/^/| /' conftest.$ac_ext >&5
35792
35793 cat >conftest.$ac_ext <<_ACEOF
35794 /* confdefs.h. */
35795 _ACEOF
35796 cat confdefs.h >>conftest.$ac_ext
35797 cat >>conftest.$ac_ext <<_ACEOF
35798 /* end confdefs.h. */
35799
35800 #include <sys/types.h>
35801 #include <sys/socket.h>
35802
35803 int
35804 main ()
35805 {
35806
35807 int len;
35808 getsockname(0, 0, &len);
35809
35810 ;
35811 return 0;
35812 }
35813 _ACEOF
35814 rm -f conftest.$ac_objext
35815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35816 (eval $ac_compile) 2>conftest.er1
35817 ac_status=$?
35818 grep -v '^ *+' conftest.er1 >conftest.err
35819 rm -f conftest.er1
35820 cat conftest.err >&5
35821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822 (exit $ac_status); } &&
35823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825 (eval $ac_try) 2>&5
35826 ac_status=$?
35827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828 (exit $ac_status); }; } &&
35829 { ac_try='test -s conftest.$ac_objext'
35830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35831 (eval $ac_try) 2>&5
35832 ac_status=$?
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); }; }; then
35835 wx_cv_type_getsockname3=int
35836 else
35837 echo "$as_me: failed program was:" >&5
35838 sed 's/^/| /' conftest.$ac_ext >&5
35839
35840 wx_cv_type_getsockname3=unknown
35841
35842 fi
35843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35844
35845 fi
35846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35847
35848 CFLAGS="$CFLAGS_OLD"
35849
35850
35851 fi
35852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35853
35854 fi
35855 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
35856 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
35857
35858 if test "$wx_cv_type_getsockname3" = "unknown"; then
35859 wxUSE_SOCKETS=no
35860 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
35861 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35862 else
35863 cat >>confdefs.h <<_ACEOF
35864 #define SOCKLEN_T $wx_cv_type_getsockname3
35865 _ACEOF
35866
35867 fi
35868 fi
35869 fi
35870
35871 if test "$wxUSE_SOCKETS" = "yes" ; then
35872 cat >>confdefs.h <<\_ACEOF
35873 #define wxUSE_SOCKETS 1
35874 _ACEOF
35875
35876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35877 fi
35878
35879 if test "$wxUSE_PROTOCOL" = "yes"; then
35880 if test "$wxUSE_SOCKETS" != "yes"; then
35881 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
35882 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35883 wxUSE_PROTOCOL=no
35884 fi
35885 fi
35886
35887 if test "$wxUSE_PROTOCOL" = "yes"; then
35888 cat >>confdefs.h <<\_ACEOF
35889 #define wxUSE_PROTOCOL 1
35890 _ACEOF
35891
35892
35893 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35894 cat >>confdefs.h <<\_ACEOF
35895 #define wxUSE_PROTOCOL_HTTP 1
35896 _ACEOF
35897
35898 fi
35899 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35900 cat >>confdefs.h <<\_ACEOF
35901 #define wxUSE_PROTOCOL_FTP 1
35902 _ACEOF
35903
35904 fi
35905 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35906 cat >>confdefs.h <<\_ACEOF
35907 #define wxUSE_PROTOCOL_FILE 1
35908 _ACEOF
35909
35910 fi
35911 else
35912 if test "$wxUSE_FS_INET" = "yes"; then
35913 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35914 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35915 wxUSE_FS_INET="no"
35916 fi
35917 fi
35918
35919 if test "$wxUSE_URL" = "yes"; then
35920 if test "$wxUSE_PROTOCOL" != "yes"; then
35921 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
35922 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35923 wxUSE_URL=no
35924 fi
35925 if test "$wxUSE_URL" = "yes"; then
35926 cat >>confdefs.h <<\_ACEOF
35927 #define wxUSE_URL 1
35928 _ACEOF
35929
35930 fi
35931 fi
35932
35933 if test "$wxUSE_FS_INET" = "yes"; then
35934 cat >>confdefs.h <<\_ACEOF
35935 #define wxUSE_FS_INET 1
35936 _ACEOF
35937
35938 fi
35939
35940
35941 if test "$wxUSE_GUI" = "yes"; then
35942
35943 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
35944 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
35945 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
35946 wxUSE_JOYSTICK=no
35947 fi
35948
35949 if test "$TOOLKIT" != "MSW"; then
35950 if test "$wxUSE_JOYSTICK" = "yes"; then
35951
35952 for ac_header in linux/joystick.h
35953 do
35954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35956 echo "$as_me:$LINENO: checking for $ac_header" >&5
35957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35959 echo $ECHO_N "(cached) $ECHO_C" >&6
35960 fi
35961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35962 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35963 else
35964 # Is the header compilable?
35965 echo "$as_me:$LINENO: checking $ac_header usability" >&5
35966 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
35967 cat >conftest.$ac_ext <<_ACEOF
35968 /* confdefs.h. */
35969 _ACEOF
35970 cat confdefs.h >>conftest.$ac_ext
35971 cat >>conftest.$ac_ext <<_ACEOF
35972 /* end confdefs.h. */
35973 $ac_includes_default
35974 #include <$ac_header>
35975 _ACEOF
35976 rm -f conftest.$ac_objext
35977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35978 (eval $ac_compile) 2>conftest.er1
35979 ac_status=$?
35980 grep -v '^ *+' conftest.er1 >conftest.err
35981 rm -f conftest.er1
35982 cat conftest.err >&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); } &&
35985 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35988 ac_status=$?
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; } &&
35991 { ac_try='test -s conftest.$ac_objext'
35992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35993 (eval $ac_try) 2>&5
35994 ac_status=$?
35995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35996 (exit $ac_status); }; }; then
35997 ac_header_compiler=yes
35998 else
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.$ac_ext >&5
36001
36002 ac_header_compiler=no
36003 fi
36004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36006 echo "${ECHO_T}$ac_header_compiler" >&6
36007
36008 # Is the header present?
36009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36011 cat >conftest.$ac_ext <<_ACEOF
36012 /* confdefs.h. */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017 #include <$ac_header>
36018 _ACEOF
36019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36021 ac_status=$?
36022 grep -v '^ *+' conftest.er1 >conftest.err
36023 rm -f conftest.er1
36024 cat conftest.err >&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); } >/dev/null; then
36027 if test -s conftest.err; then
36028 ac_cpp_err=$ac_c_preproc_warn_flag
36029 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36030 else
36031 ac_cpp_err=
36032 fi
36033 else
36034 ac_cpp_err=yes
36035 fi
36036 if test -z "$ac_cpp_err"; then
36037 ac_header_preproc=yes
36038 else
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36041
36042 ac_header_preproc=no
36043 fi
36044 rm -f conftest.err conftest.$ac_ext
36045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36046 echo "${ECHO_T}$ac_header_preproc" >&6
36047
36048 # So? What about this header?
36049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36050 yes:no: )
36051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36055 ac_header_preproc=yes
36056 ;;
36057 no:yes:* )
36058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36070 (
36071 cat <<\_ASBOX
36072 ## ----------------------------------------- ##
36073 ## Report this to wx-dev@lists.wxwindows.org ##
36074 ## ----------------------------------------- ##
36075 _ASBOX
36076 ) |
36077 sed "s/^/$as_me: WARNING: /" >&2
36078 ;;
36079 esac
36080 echo "$as_me:$LINENO: checking for $ac_header" >&5
36081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36083 echo $ECHO_N "(cached) $ECHO_C" >&6
36084 else
36085 eval "$as_ac_Header=\$ac_header_preproc"
36086 fi
36087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36089
36090 fi
36091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36092 cat >>confdefs.h <<_ACEOF
36093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36094 _ACEOF
36095
36096 fi
36097
36098 done
36099
36100 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
36101 wxUSE_JOYSTICK=no
36102 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
36103 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
36104 fi
36105 fi
36106 fi
36107
36108 if test "$wxUSE_JOYSTICK" = "yes"; then
36109 cat >>confdefs.h <<\_ACEOF
36110 #define wxUSE_JOYSTICK 1
36111 _ACEOF
36112
36113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
36114 fi
36115 fi
36116
36117
36118
36119 if test "$wxUSE_FONTMAP" = "yes" ; then
36120 cat >>confdefs.h <<\_ACEOF
36121 #define wxUSE_FONTMAP 1
36122 _ACEOF
36123
36124 fi
36125
36126 if test "$wxUSE_UNICODE" = "yes" ; then
36127 cat >>confdefs.h <<\_ACEOF
36128 #define wxUSE_UNICODE 1
36129 _ACEOF
36130
36131
36132 if test "$USE_WIN32" != 1; then
36133 wxUSE_UNICODE_MSLU=no
36134 fi
36135
36136 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
36137 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
36138 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
36139 if test "${ac_cv_lib_unicows_main+set}" = set; then
36140 echo $ECHO_N "(cached) $ECHO_C" >&6
36141 else
36142 ac_check_lib_save_LIBS=$LIBS
36143 LIBS="-lunicows $LIBS"
36144 cat >conftest.$ac_ext <<_ACEOF
36145 /* confdefs.h. */
36146 _ACEOF
36147 cat confdefs.h >>conftest.$ac_ext
36148 cat >>conftest.$ac_ext <<_ACEOF
36149 /* end confdefs.h. */
36150
36151
36152 int
36153 main ()
36154 {
36155 main ();
36156 ;
36157 return 0;
36158 }
36159 _ACEOF
36160 rm -f conftest.$ac_objext conftest$ac_exeext
36161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36162 (eval $ac_link) 2>conftest.er1
36163 ac_status=$?
36164 grep -v '^ *+' conftest.er1 >conftest.err
36165 rm -f conftest.er1
36166 cat conftest.err >&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } &&
36169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
36175 { ac_try='test -s conftest$ac_exeext'
36176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36177 (eval $ac_try) 2>&5
36178 ac_status=$?
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); }; }; then
36181 ac_cv_lib_unicows_main=yes
36182 else
36183 echo "$as_me: failed program was:" >&5
36184 sed 's/^/| /' conftest.$ac_ext >&5
36185
36186 ac_cv_lib_unicows_main=no
36187 fi
36188 rm -f conftest.err conftest.$ac_objext \
36189 conftest$ac_exeext conftest.$ac_ext
36190 LIBS=$ac_check_lib_save_LIBS
36191 fi
36192 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
36193 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
36194 if test $ac_cv_lib_unicows_main = yes; then
36195
36196 cat >>confdefs.h <<\_ACEOF
36197 #define wxUSE_UNICODE_MSLU 1
36198 _ACEOF
36199
36200
36201 else
36202
36203 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36204 Applications will only run on Windows NT/2000/XP!" >&5
36205 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
36206 Applications will only run on Windows NT/2000/XP!" >&2;}
36207 wxUSE_UNICODE_MSLU=no
36208
36209 fi
36210
36211 fi
36212 fi
36213
36214 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
36215 cat >>confdefs.h <<\_ACEOF
36216 #define wxUSE_EXPERIMENTAL_PRINTF 1
36217 _ACEOF
36218
36219 fi
36220
36221
36222 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
36223 cat >>confdefs.h <<\_ACEOF
36224 #define wxUSE_POSTSCRIPT 1
36225 _ACEOF
36226
36227 fi
36228
36229 cat >>confdefs.h <<\_ACEOF
36230 #define wxUSE_AFM_FOR_POSTSCRIPT 1
36231 _ACEOF
36232
36233
36234 cat >>confdefs.h <<\_ACEOF
36235 #define wxUSE_NORMALIZED_PS_FONTS 1
36236 _ACEOF
36237
36238
36239
36240 if test "$wxUSE_CONSTRAINTS" = "yes"; then
36241 cat >>confdefs.h <<\_ACEOF
36242 #define wxUSE_CONSTRAINTS 1
36243 _ACEOF
36244
36245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
36246 fi
36247
36248 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36249 cat >>confdefs.h <<\_ACEOF
36250 #define wxUSE_MDI_ARCHITECTURE 1
36251 _ACEOF
36252
36253 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
36254 fi
36255
36256 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
36257 cat >>confdefs.h <<\_ACEOF
36258 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
36259 _ACEOF
36260
36261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
36262 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
36263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
36264 fi
36265 fi
36266
36267 if test "$wxUSE_HELP" = "yes"; then
36268 cat >>confdefs.h <<\_ACEOF
36269 #define wxUSE_HELP 1
36270 _ACEOF
36271
36272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
36273
36274 if test "$wxUSE_MSW" = 1; then
36275 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
36276 cat >>confdefs.h <<\_ACEOF
36277 #define wxUSE_MS_HTML_HELP 1
36278 _ACEOF
36279
36280 fi
36281 fi
36282
36283 if test "$wxUSE_WXHTML_HELP" = "yes"; then
36284 if test "$wxUSE_HTML" = "yes"; then
36285 cat >>confdefs.h <<\_ACEOF
36286 #define wxUSE_WXHTML_HELP 1
36287 _ACEOF
36288
36289 else
36290 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
36291 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
36292 wxUSE_WXHTML_HELP=no
36293 fi
36294 fi
36295 fi
36296
36297 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
36298 if test "$wxUSE_CONSTRAINTS" != "yes"; then
36299 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
36300 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
36301 else
36302 cat >>confdefs.h <<\_ACEOF
36303 #define wxUSE_PRINTING_ARCHITECTURE 1
36304 _ACEOF
36305
36306 fi
36307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
36308 fi
36309
36310 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
36311 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
36312 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
36313 { (exit 1); exit 1; }; }
36314 fi
36315
36316
36317 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
36318 -o "$wxUSE_CLIPBOARD" = "yes" \
36319 -o "$wxUSE_OLE" = "yes" \
36320 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
36321
36322 for ac_header in ole2.h
36323 do
36324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36326 echo "$as_me:$LINENO: checking for $ac_header" >&5
36327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36330 fi
36331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36333 else
36334 # Is the header compilable?
36335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36337 cat >conftest.$ac_ext <<_ACEOF
36338 /* confdefs.h. */
36339 _ACEOF
36340 cat confdefs.h >>conftest.$ac_ext
36341 cat >>conftest.$ac_ext <<_ACEOF
36342 /* end confdefs.h. */
36343 $ac_includes_default
36344 #include <$ac_header>
36345 _ACEOF
36346 rm -f conftest.$ac_objext
36347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36348 (eval $ac_compile) 2>conftest.er1
36349 ac_status=$?
36350 grep -v '^ *+' conftest.er1 >conftest.err
36351 rm -f conftest.er1
36352 cat conftest.err >&5
36353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 (exit $ac_status); } &&
36355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36357 (eval $ac_try) 2>&5
36358 ac_status=$?
36359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 (exit $ac_status); }; } &&
36361 { ac_try='test -s conftest.$ac_objext'
36362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36363 (eval $ac_try) 2>&5
36364 ac_status=$?
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); }; }; then
36367 ac_header_compiler=yes
36368 else
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.$ac_ext >&5
36371
36372 ac_header_compiler=no
36373 fi
36374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36376 echo "${ECHO_T}$ac_header_compiler" >&6
36377
36378 # Is the header present?
36379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36381 cat >conftest.$ac_ext <<_ACEOF
36382 /* confdefs.h. */
36383 _ACEOF
36384 cat confdefs.h >>conftest.$ac_ext
36385 cat >>conftest.$ac_ext <<_ACEOF
36386 /* end confdefs.h. */
36387 #include <$ac_header>
36388 _ACEOF
36389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36391 ac_status=$?
36392 grep -v '^ *+' conftest.er1 >conftest.err
36393 rm -f conftest.er1
36394 cat conftest.err >&5
36395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36396 (exit $ac_status); } >/dev/null; then
36397 if test -s conftest.err; then
36398 ac_cpp_err=$ac_c_preproc_warn_flag
36399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36400 else
36401 ac_cpp_err=
36402 fi
36403 else
36404 ac_cpp_err=yes
36405 fi
36406 if test -z "$ac_cpp_err"; then
36407 ac_header_preproc=yes
36408 else
36409 echo "$as_me: failed program was:" >&5
36410 sed 's/^/| /' conftest.$ac_ext >&5
36411
36412 ac_header_preproc=no
36413 fi
36414 rm -f conftest.err conftest.$ac_ext
36415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36416 echo "${ECHO_T}$ac_header_preproc" >&6
36417
36418 # So? What about this header?
36419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36420 yes:no: )
36421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36425 ac_header_preproc=yes
36426 ;;
36427 no:yes:* )
36428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36440 (
36441 cat <<\_ASBOX
36442 ## ----------------------------------------- ##
36443 ## Report this to wx-dev@lists.wxwindows.org ##
36444 ## ----------------------------------------- ##
36445 _ASBOX
36446 ) |
36447 sed "s/^/$as_me: WARNING: /" >&2
36448 ;;
36449 esac
36450 echo "$as_me:$LINENO: checking for $ac_header" >&5
36451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36453 echo $ECHO_N "(cached) $ECHO_C" >&6
36454 else
36455 eval "$as_ac_Header=\$ac_header_preproc"
36456 fi
36457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36459
36460 fi
36461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36462 cat >>confdefs.h <<_ACEOF
36463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36464 _ACEOF
36465
36466 fi
36467
36468 done
36469
36470
36471 if test "$ac_cv_header_ole2_h" = "yes" ; then
36472 if test "$GCC" = yes ; then
36473
36474
36475 ac_ext=cc
36476 ac_cpp='$CXXCPP $CPPFLAGS'
36477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36480
36481
36482 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
36483 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
36484 cat >conftest.$ac_ext <<_ACEOF
36485 /* confdefs.h. */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 #include <windows.h>
36491 #include <ole2.h>
36492 int
36493 main ()
36494 {
36495
36496 ;
36497 return 0;
36498 }
36499 _ACEOF
36500 rm -f conftest.$ac_objext
36501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36502 (eval $ac_compile) 2>conftest.er1
36503 ac_status=$?
36504 grep -v '^ *+' conftest.er1 >conftest.err
36505 rm -f conftest.er1
36506 cat conftest.err >&5
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); } &&
36509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36511 (eval $ac_try) 2>&5
36512 ac_status=$?
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); }; } &&
36515 { ac_try='test -s conftest.$ac_objext'
36516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36517 (eval $ac_try) 2>&5
36518 ac_status=$?
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); }; }; then
36521 echo "$as_me:$LINENO: result: no" >&5
36522 echo "${ECHO_T}no" >&6
36523 else
36524 echo "$as_me: failed program was:" >&5
36525 sed 's/^/| /' conftest.$ac_ext >&5
36526
36527 echo "$as_me:$LINENO: result: yes" >&5
36528 echo "${ECHO_T}yes" >&6
36529 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
36530 fi
36531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36532 ac_ext=c
36533 ac_cpp='$CPP $CPPFLAGS'
36534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36537
36538 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
36539 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
36540 if test "$wxUSE_OLE" = "yes" ; then
36541 cat >>confdefs.h <<\_ACEOF
36542 #define wxUSE_OLE 1
36543 _ACEOF
36544
36545 fi
36546 fi
36547
36548 if test "$wxUSE_DATAOBJ" = "yes" ; then
36549 cat >>confdefs.h <<\_ACEOF
36550 #define wxUSE_DATAOBJ 1
36551 _ACEOF
36552
36553 fi
36554 else
36555 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
36556 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
36557
36558 wxUSE_CLIPBOARD=no
36559 wxUSE_DRAG_AND_DROP=no
36560 wxUSE_DATAOBJ=no
36561 wxUSE_OLE=no
36562 fi
36563
36564 if test "$wxUSE_METAFILE" = "yes"; then
36565 cat >>confdefs.h <<\_ACEOF
36566 #define wxUSE_METAFILE 1
36567 _ACEOF
36568
36569
36570 cat >>confdefs.h <<\_ACEOF
36571 #define wxUSE_ENH_METAFILE 1
36572 _ACEOF
36573
36574 fi
36575 fi
36576
36577 if test "$wxUSE_IPC" = "yes"; then
36578 if test "$wxUSE_SOCKETS" != "yes"; then
36579 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
36580 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
36581 fi
36582
36583 cat >>confdefs.h <<\_ACEOF
36584 #define wxUSE_IPC 1
36585 _ACEOF
36586
36587 fi
36588
36589 if test "$wxUSE_CLIPBOARD" = "yes"; then
36590 if test "$wxUSE_MGL" = 1; then
36591 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
36592 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
36593 wxUSE_CLIPBOARD=no
36594 fi
36595
36596 if test "$wxUSE_CLIPBOARD" = "yes"; then
36597 cat >>confdefs.h <<\_ACEOF
36598 #define wxUSE_CLIPBOARD 1
36599 _ACEOF
36600
36601
36602 cat >>confdefs.h <<\_ACEOF
36603 #define wxUSE_DATAOBJ 1
36604 _ACEOF
36605
36606 fi
36607 fi
36608
36609 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36610 if test "$wxUSE_GTK" = 1; then
36611 if test "$WXGTK12" != 1; then
36612 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
36613 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
36614 wxUSE_DRAG_AND_DROP=no
36615 fi
36616 fi
36617
36618 if test "$wxUSE_MOTIF" = 1; then
36619 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
36620 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
36621 wxUSE_DRAG_AND_DROP=no
36622 fi
36623
36624 if test "$wxUSE_X11" = 1; then
36625 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
36626 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
36627 wxUSE_DRAG_AND_DROP=no
36628 fi
36629
36630 if test "$wxUSE_MGL" = 1; then
36631 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
36632 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
36633 wxUSE_DRAG_AND_DROP=no
36634 fi
36635
36636 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36637 cat >>confdefs.h <<\_ACEOF
36638 #define wxUSE_DRAG_AND_DROP 1
36639 _ACEOF
36640
36641 fi
36642
36643 fi
36644
36645 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
36647 fi
36648
36649 if test "$wxUSE_SPLINES" = "yes" ; then
36650 cat >>confdefs.h <<\_ACEOF
36651 #define wxUSE_SPLINES 1
36652 _ACEOF
36653
36654 fi
36655
36656
36657 USES_CONTROLS=0
36658 if test "$wxUSE_CONTROLS" = "yes"; then
36659 USES_CONTROLS=1
36660 fi
36661
36662 if test "$wxUSE_ACCEL" = "yes"; then
36663 cat >>confdefs.h <<\_ACEOF
36664 #define wxUSE_ACCEL 1
36665 _ACEOF
36666
36667 USES_CONTROLS=1
36668 fi
36669
36670 if test "$wxUSE_BUTTON" = "yes"; then
36671 cat >>confdefs.h <<\_ACEOF
36672 #define wxUSE_BUTTON 1
36673 _ACEOF
36674
36675 USES_CONTROLS=1
36676 fi
36677
36678 if test "$wxUSE_BMPBUTTON" = "yes"; then
36679 cat >>confdefs.h <<\_ACEOF
36680 #define wxUSE_BMPBUTTON 1
36681 _ACEOF
36682
36683 USES_CONTROLS=1
36684 fi
36685
36686 if test "$wxUSE_CALCTRL" = "yes"; then
36687 cat >>confdefs.h <<\_ACEOF
36688 #define wxUSE_CALENDARCTRL 1
36689 _ACEOF
36690
36691 USES_CONTROLS=1
36692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
36693 fi
36694
36695 if test "$wxUSE_CARET" = "yes"; then
36696 cat >>confdefs.h <<\_ACEOF
36697 #define wxUSE_CARET 1
36698 _ACEOF
36699
36700 USES_CONTROLS=1
36701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
36702 fi
36703
36704 if test "$wxUSE_COMBOBOX" = "yes"; then
36705 cat >>confdefs.h <<\_ACEOF
36706 #define wxUSE_COMBOBOX 1
36707 _ACEOF
36708
36709 USES_CONTROLS=1
36710 fi
36711
36712 if test "$wxUSE_CHOICE" = "yes"; then
36713 cat >>confdefs.h <<\_ACEOF
36714 #define wxUSE_CHOICE 1
36715 _ACEOF
36716
36717 USES_CONTROLS=1
36718 fi
36719
36720 if test "$wxUSE_CHECKBOX" = "yes"; then
36721 cat >>confdefs.h <<\_ACEOF
36722 #define wxUSE_CHECKBOX 1
36723 _ACEOF
36724
36725 USES_CONTROLS=1
36726 fi
36727
36728 if test "$wxUSE_CHECKLST" = "yes"; then
36729 cat >>confdefs.h <<\_ACEOF
36730 #define wxUSE_CHECKLISTBOX 1
36731 _ACEOF
36732
36733 USES_CONTROLS=1
36734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
36735 fi
36736
36737 if test "$wxUSE_DISPLAY" = "yes"; then
36738 cat >>confdefs.h <<\_ACEOF
36739 #define wxUSE_DISPLAY 1
36740 _ACEOF
36741
36742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
36743 fi
36744
36745 if test "$wxUSE_GAUGE" = "yes"; then
36746 cat >>confdefs.h <<\_ACEOF
36747 #define wxUSE_GAUGE 1
36748 _ACEOF
36749
36750 USES_CONTROLS=1
36751 fi
36752
36753 if test "$wxUSE_GRID" = "yes"; then
36754 cat >>confdefs.h <<\_ACEOF
36755 #define wxUSE_GRID 1
36756 _ACEOF
36757
36758 USES_CONTROLS=1
36759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
36760 fi
36761
36762 if test "$wxUSE_IMAGLIST" = "yes"; then
36763 cat >>confdefs.h <<\_ACEOF
36764 #define wxUSE_IMAGLIST 1
36765 _ACEOF
36766
36767 fi
36768
36769 if test "$wxUSE_LISTBOOK" = "yes"; then
36770 cat >>confdefs.h <<\_ACEOF
36771 #define wxUSE_LISTBOOK 1
36772 _ACEOF
36773
36774 USES_CONTROLS=1
36775 fi
36776
36777 if test "$wxUSE_LISTBOX" = "yes"; then
36778 cat >>confdefs.h <<\_ACEOF
36779 #define wxUSE_LISTBOX 1
36780 _ACEOF
36781
36782 USES_CONTROLS=1
36783 fi
36784
36785 if test "$wxUSE_LISTCTRL" = "yes"; then
36786 if test "$wxUSE_IMAGLIST" = "yes"; then
36787 cat >>confdefs.h <<\_ACEOF
36788 #define wxUSE_LISTCTRL 1
36789 _ACEOF
36790
36791 USES_CONTROLS=1
36792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
36793 else
36794 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36795 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36796 fi
36797 fi
36798
36799 if test "$wxUSE_NOTEBOOK" = "yes"; then
36800 cat >>confdefs.h <<\_ACEOF
36801 #define wxUSE_NOTEBOOK 1
36802 _ACEOF
36803
36804 USES_CONTROLS=1
36805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
36806 fi
36807
36808
36809 if test "$wxUSE_RADIOBOX" = "yes"; then
36810 cat >>confdefs.h <<\_ACEOF
36811 #define wxUSE_RADIOBOX 1
36812 _ACEOF
36813
36814 USES_CONTROLS=1
36815 fi
36816
36817 if test "$wxUSE_RADIOBTN" = "yes"; then
36818 cat >>confdefs.h <<\_ACEOF
36819 #define wxUSE_RADIOBTN 1
36820 _ACEOF
36821
36822 USES_CONTROLS=1
36823 fi
36824
36825 if test "$wxUSE_SASH" = "yes"; then
36826 cat >>confdefs.h <<\_ACEOF
36827 #define wxUSE_SASH 1
36828 _ACEOF
36829
36830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
36831 fi
36832
36833 if test "$wxUSE_SCROLLBAR" = "yes"; then
36834 cat >>confdefs.h <<\_ACEOF
36835 #define wxUSE_SCROLLBAR 1
36836 _ACEOF
36837
36838 USES_CONTROLS=1
36839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
36840 fi
36841
36842 if test "$wxUSE_SLIDER" = "yes"; then
36843 cat >>confdefs.h <<\_ACEOF
36844 #define wxUSE_SLIDER 1
36845 _ACEOF
36846
36847 USES_CONTROLS=1
36848 fi
36849
36850 if test "$wxUSE_SPINBTN" = "yes"; then
36851 cat >>confdefs.h <<\_ACEOF
36852 #define wxUSE_SPINBTN 1
36853 _ACEOF
36854
36855 USES_CONTROLS=1
36856 fi
36857
36858 if test "$wxUSE_SPINCTRL" = "yes"; then
36859 cat >>confdefs.h <<\_ACEOF
36860 #define wxUSE_SPINCTRL 1
36861 _ACEOF
36862
36863 USES_CONTROLS=1
36864 fi
36865
36866 if test "$wxUSE_SPLITTER" = "yes"; then
36867 cat >>confdefs.h <<\_ACEOF
36868 #define wxUSE_SPLITTER 1
36869 _ACEOF
36870
36871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
36872 fi
36873
36874 if test "$wxUSE_STATBMP" = "yes"; then
36875 cat >>confdefs.h <<\_ACEOF
36876 #define wxUSE_STATBMP 1
36877 _ACEOF
36878
36879 USES_CONTROLS=1
36880 fi
36881
36882 if test "$wxUSE_STATBOX" = "yes"; then
36883 cat >>confdefs.h <<\_ACEOF
36884 #define wxUSE_STATBOX 1
36885 _ACEOF
36886
36887 USES_CONTROLS=1
36888 fi
36889
36890 if test "$wxUSE_STATTEXT" = "yes"; then
36891 cat >>confdefs.h <<\_ACEOF
36892 #define wxUSE_STATTEXT 1
36893 _ACEOF
36894
36895 USES_CONTROLS=1
36896 fi
36897
36898 if test "$wxUSE_STATLINE" = "yes"; then
36899 cat >>confdefs.h <<\_ACEOF
36900 #define wxUSE_STATLINE 1
36901 _ACEOF
36902
36903 USES_CONTROLS=1
36904 fi
36905
36906 if test "$wxUSE_STATUSBAR" = "yes"; then
36907 cat >>confdefs.h <<\_ACEOF
36908 #define wxUSE_STATUSBAR 1
36909 _ACEOF
36910
36911 USES_CONTROLS=1
36912
36913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
36914 fi
36915
36916 if test "$wxUSE_TABDIALOG" = "yes"; then
36917 cat >>confdefs.h <<\_ACEOF
36918 #define wxUSE_TAB_DIALOG 1
36919 _ACEOF
36920
36921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
36922 fi
36923
36924 if test "$wxUSE_TEXTCTRL" = "yes"; then
36925 cat >>confdefs.h <<\_ACEOF
36926 #define wxUSE_TEXTCTRL 1
36927 _ACEOF
36928
36929 USES_CONTROLS=1
36930 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
36931 fi
36932
36933 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36934 if test "$wxUSE_COCOA" = 1 ; then
36935 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36936 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36937 wxUSE_TOGGLEBTN=no
36938 fi
36939 if test "$wxUSE_UNIVERSAL" = "yes"; then
36940 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
36941 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
36942 wxUSE_TOGGLEBTN=no
36943 fi
36944
36945 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36946 cat >>confdefs.h <<\_ACEOF
36947 #define wxUSE_TOGGLEBTN 1
36948 _ACEOF
36949
36950 USES_CONTROLS=1
36951 fi
36952 fi
36953
36954 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
36955 cat >>confdefs.h <<\_ACEOF
36956 #define wxUSE_TOOLBAR_SIMPLE 1
36957 _ACEOF
36958
36959 wxUSE_TOOLBAR="yes"
36960 USES_CONTROLS=1
36961 fi
36962
36963 if test "$wxUSE_TOOLBAR" = "yes"; then
36964 cat >>confdefs.h <<\_ACEOF
36965 #define wxUSE_TOOLBAR 1
36966 _ACEOF
36967
36968 USES_CONTROLS=1
36969
36970 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
36971 wxUSE_TOOLBAR_NATIVE="yes"
36972 fi
36973
36974 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
36975 cat >>confdefs.h <<\_ACEOF
36976 #define wxUSE_TOOLBAR_NATIVE 1
36977 _ACEOF
36978
36979 USES_CONTROLS=1
36980 fi
36981
36982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
36983 fi
36984
36985 if test "$wxUSE_TOOLTIPS" = "yes"; then
36986 if test "$wxUSE_MOTIF" = 1; then
36987 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36988 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36989 else
36990 if test "$wxUSE_UNIVERSAL" = "yes"; then
36991 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36992 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36993 else
36994 cat >>confdefs.h <<\_ACEOF
36995 #define wxUSE_TOOLTIPS 1
36996 _ACEOF
36997
36998 fi
36999 fi
37000 fi
37001
37002 if test "$wxUSE_TREECTRL" = "yes"; then
37003 if test "$wxUSE_IMAGLIST" = "yes"; then
37004 cat >>confdefs.h <<\_ACEOF
37005 #define wxUSE_TREECTRL 1
37006 _ACEOF
37007
37008 USES_CONTROLS=1
37009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
37010 else
37011 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
37012 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
37013 fi
37014 fi
37015
37016 if test "$wxUSE_POPUPWIN" = "yes"; then
37017 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
37018 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
37019 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
37020 else
37021 if test "$wxUSE_PM" = 1; then
37022 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
37023 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
37024 else
37025 cat >>confdefs.h <<\_ACEOF
37026 #define wxUSE_POPUPWIN 1
37027 _ACEOF
37028
37029
37030 USES_CONTROLS=1
37031 fi
37032 fi
37033 fi
37034
37035 if test "$wxUSE_TIPWINDOW" = "yes"; then
37036 if test "$wxUSE_PM" = 1; then
37037 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
37038 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
37039 else
37040 cat >>confdefs.h <<\_ACEOF
37041 #define wxUSE_TIPWINDOW 1
37042 _ACEOF
37043
37044 fi
37045 fi
37046
37047 if test "$USES_CONTROLS" = 1; then
37048 cat >>confdefs.h <<\_ACEOF
37049 #define wxUSE_CONTROLS 1
37050 _ACEOF
37051
37052 fi
37053
37054
37055 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
37056 cat >>confdefs.h <<\_ACEOF
37057 #define wxUSE_ACCESSIBILITY 1
37058 _ACEOF
37059
37060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
37061 fi
37062
37063 if test "$wxUSE_DRAGIMAGE" = "yes"; then
37064 cat >>confdefs.h <<\_ACEOF
37065 #define wxUSE_DRAGIMAGE 1
37066 _ACEOF
37067
37068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
37069 fi
37070
37071 if test "$wxUSE_EXCEPTIONS" = "yes"; then
37072 cat >>confdefs.h <<\_ACEOF
37073 #define wxUSE_EXCEPTIONS 1
37074 _ACEOF
37075
37076 fi
37077
37078 USE_HTML=0
37079 if test "$wxUSE_HTML" = "yes"; then
37080 cat >>confdefs.h <<\_ACEOF
37081 #define wxUSE_HTML 1
37082 _ACEOF
37083
37084 USE_HTML=1
37085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
37086 fi
37087
37088 if test "$wxUSE_MENUS" = "yes"; then
37089 cat >>confdefs.h <<\_ACEOF
37090 #define wxUSE_MENUS 1
37091 _ACEOF
37092
37093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
37094 fi
37095
37096 if test "$wxUSE_METAFILE" = "yes"; then
37097 cat >>confdefs.h <<\_ACEOF
37098 #define wxUSE_METAFILE 1
37099 _ACEOF
37100
37101 fi
37102
37103 if test "$wxUSE_MIMETYPE" = "yes"; then
37104 cat >>confdefs.h <<\_ACEOF
37105 #define wxUSE_MIMETYPE 1
37106 _ACEOF
37107
37108 fi
37109
37110 if test "$wxUSE_MINIFRAME" = "yes"; then
37111 cat >>confdefs.h <<\_ACEOF
37112 #define wxUSE_MINIFRAME 1
37113 _ACEOF
37114
37115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
37116 fi
37117
37118 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
37119 cat >>confdefs.h <<\_ACEOF
37120 #define wxUSE_SYSTEM_OPTIONS 1
37121 _ACEOF
37122
37123 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
37124 "$TOOLKIT" = "MOTIF"; then
37125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
37126 fi
37127 fi
37128
37129
37130 if test "$wxUSE_VALIDATORS" = "yes"; then
37131 cat >>confdefs.h <<\_ACEOF
37132 #define wxUSE_VALIDATORS 1
37133 _ACEOF
37134
37135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
37136 fi
37137
37138 if test "$wxUSE_PALETTE" = "yes" ; then
37139 cat >>confdefs.h <<\_ACEOF
37140 #define wxUSE_PALETTE 1
37141 _ACEOF
37142
37143 fi
37144
37145 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
37146 LIBS=" -lunicows $LIBS"
37147 fi
37148
37149
37150 if test "$wxUSE_IMAGE" = "yes" ; then
37151 cat >>confdefs.h <<\_ACEOF
37152 #define wxUSE_IMAGE 1
37153 _ACEOF
37154
37155
37156 if test "$wxUSE_GIF" = "yes" ; then
37157 cat >>confdefs.h <<\_ACEOF
37158 #define wxUSE_GIF 1
37159 _ACEOF
37160
37161 fi
37162
37163 if test "$wxUSE_PCX" = "yes" ; then
37164 cat >>confdefs.h <<\_ACEOF
37165 #define wxUSE_PCX 1
37166 _ACEOF
37167
37168 fi
37169
37170 if test "$wxUSE_IFF" = "yes" ; then
37171 cat >>confdefs.h <<\_ACEOF
37172 #define wxUSE_IFF 1
37173 _ACEOF
37174
37175 fi
37176
37177 if test "$wxUSE_PNM" = "yes" ; then
37178 cat >>confdefs.h <<\_ACEOF
37179 #define wxUSE_PNM 1
37180 _ACEOF
37181
37182 fi
37183
37184 if test "$wxUSE_XPM" = "yes" ; then
37185 cat >>confdefs.h <<\_ACEOF
37186 #define wxUSE_XPM 1
37187 _ACEOF
37188
37189 fi
37190
37191 if test "$wxUSE_ICO_CUR" = "yes" ; then
37192 cat >>confdefs.h <<\_ACEOF
37193 #define wxUSE_ICO_CUR 1
37194 _ACEOF
37195
37196 fi
37197 fi
37198
37199
37200 if test "$wxUSE_CHOICEDLG" = "yes"; then
37201 cat >>confdefs.h <<\_ACEOF
37202 #define wxUSE_CHOICEDLG 1
37203 _ACEOF
37204
37205 fi
37206
37207 if test "$wxUSE_COLOURDLG" = "yes"; then
37208 cat >>confdefs.h <<\_ACEOF
37209 #define wxUSE_COLOURDLG 1
37210 _ACEOF
37211
37212 fi
37213
37214 if test "$wxUSE_FILEDLG" = "yes"; then
37215 cat >>confdefs.h <<\_ACEOF
37216 #define wxUSE_FILEDLG 1
37217 _ACEOF
37218
37219 fi
37220
37221 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37222 cat >>confdefs.h <<\_ACEOF
37223 #define wxUSE_FINDREPLDLG 1
37224 _ACEOF
37225
37226 fi
37227
37228 if test "$wxUSE_FONTDLG" = "yes"; then
37229 cat >>confdefs.h <<\_ACEOF
37230 #define wxUSE_FONTDLG 1
37231 _ACEOF
37232
37233 fi
37234
37235 if test "$wxUSE_DIRDLG" = "yes"; then
37236 if test "$wxUSE_TREECTRL" != "yes"; then
37237 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37238 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37239 else
37240 cat >>confdefs.h <<\_ACEOF
37241 #define wxUSE_DIRDLG 1
37242 _ACEOF
37243
37244 fi
37245 fi
37246
37247 if test "$wxUSE_MSGDLG" = "yes"; then
37248 cat >>confdefs.h <<\_ACEOF
37249 #define wxUSE_MSGDLG 1
37250 _ACEOF
37251
37252 fi
37253
37254 if test "$wxUSE_NUMBERDLG" = "yes"; then
37255 cat >>confdefs.h <<\_ACEOF
37256 #define wxUSE_NUMBERDLG 1
37257 _ACEOF
37258
37259 fi
37260
37261 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37262 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37263 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
37264 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
37265 else
37266 cat >>confdefs.h <<\_ACEOF
37267 #define wxUSE_PROGRESSDLG 1
37268 _ACEOF
37269
37270 fi
37271 fi
37272
37273 if test "$wxUSE_SPLASH" = "yes"; then
37274 cat >>confdefs.h <<\_ACEOF
37275 #define wxUSE_SPLASH 1
37276 _ACEOF
37277
37278 fi
37279
37280 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37281 if test "$wxUSE_CONSTRAINTS" != "yes"; then
37282 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
37283 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
37284 else
37285 cat >>confdefs.h <<\_ACEOF
37286 #define wxUSE_STARTUP_TIPS 1
37287 _ACEOF
37288
37289 fi
37290 fi
37291
37292 if test "$wxUSE_TEXTDLG" = "yes"; then
37293 cat >>confdefs.h <<\_ACEOF
37294 #define wxUSE_TEXTDLG 1
37295 _ACEOF
37296
37297 fi
37298
37299 if test "$wxUSE_WIZARDDLG" = "yes"; then
37300 cat >>confdefs.h <<\_ACEOF
37301 #define wxUSE_WIZARDDLG 1
37302 _ACEOF
37303
37304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
37305 fi
37306
37307
37308 if test "$cross_compiling" = "yes"; then
37309 OSINFO="\"$host\""
37310 else
37311 OSINFO=`uname -s -r -m`
37312 OSINFO="\"$OSINFO\""
37313 fi
37314
37315 cat >>confdefs.h <<_ACEOF
37316 #define WXWIN_OS_DESCRIPTION $OSINFO
37317 _ACEOF
37318
37319
37320
37321 if test "x$prefix" != "xNONE"; then
37322 wxPREFIX=$prefix
37323 else
37324 wxPREFIX=$ac_default_prefix
37325 fi
37326
37327 cat >>confdefs.h <<_ACEOF
37328 #define wxINSTALL_PREFIX "$wxPREFIX"
37329 _ACEOF
37330
37331
37332 top_builddir_wxconfig=`pwd`
37333
37334
37335
37336 CORE_BASE_LIBS="net base"
37337 CORE_GUI_LIBS="adv core"
37338
37339 if test "$wxUSE_XML" = "yes" ; then
37340 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
37341 fi
37342 if test "$wxUSE_ODBC" != "no" ; then
37343 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
37344 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
37345 fi
37346 if test "$wxUSE_HTML" = "yes" ; then
37347 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
37348 fi
37349
37350 if test "$wxUSE_GUI" != "yes"; then
37351 CORE_GUI_LIBS=""
37352 fi
37353
37354
37355
37356
37357
37358
37359
37360
37361 if test "$wxUSE_MAC" = 1 ; then
37362 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
37363 fi
37364 if test "$wxUSE_COCOA" = 1 ; then
37365 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
37366 fi
37367
37368
37369 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37370
37371 have_cos=0
37372 have_floor=0
37373
37374 for ac_func in cos
37375 do
37376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37377 echo "$as_me:$LINENO: checking for $ac_func" >&5
37378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37379 if eval "test \"\${$as_ac_var+set}\" = set"; then
37380 echo $ECHO_N "(cached) $ECHO_C" >&6
37381 else
37382 cat >conftest.$ac_ext <<_ACEOF
37383 /* confdefs.h. */
37384 _ACEOF
37385 cat confdefs.h >>conftest.$ac_ext
37386 cat >>conftest.$ac_ext <<_ACEOF
37387 /* end confdefs.h. */
37388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37390 #define $ac_func innocuous_$ac_func
37391
37392 /* System header to define __stub macros and hopefully few prototypes,
37393 which can conflict with char $ac_func (); below.
37394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37395 <limits.h> exists even on freestanding compilers. */
37396
37397 #ifdef __STDC__
37398 # include <limits.h>
37399 #else
37400 # include <assert.h>
37401 #endif
37402
37403 #undef $ac_func
37404
37405 /* Override any gcc2 internal prototype to avoid an error. */
37406 #ifdef __cplusplus
37407 extern "C"
37408 {
37409 #endif
37410 /* We use char because int might match the return type of a gcc2
37411 builtin and then its argument prototype would still apply. */
37412 char $ac_func ();
37413 /* The GNU C library defines this for functions which it implements
37414 to always fail with ENOSYS. Some functions are actually named
37415 something starting with __ and the normal name is an alias. */
37416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37417 choke me
37418 #else
37419 char (*f) () = $ac_func;
37420 #endif
37421 #ifdef __cplusplus
37422 }
37423 #endif
37424
37425 int
37426 main ()
37427 {
37428 return f != $ac_func;
37429 ;
37430 return 0;
37431 }
37432 _ACEOF
37433 rm -f conftest.$ac_objext conftest$ac_exeext
37434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37435 (eval $ac_link) 2>conftest.er1
37436 ac_status=$?
37437 grep -v '^ *+' conftest.er1 >conftest.err
37438 rm -f conftest.er1
37439 cat conftest.err >&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } &&
37442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37444 (eval $ac_try) 2>&5
37445 ac_status=$?
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); }; } &&
37448 { ac_try='test -s conftest$ac_exeext'
37449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37450 (eval $ac_try) 2>&5
37451 ac_status=$?
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); }; }; then
37454 eval "$as_ac_var=yes"
37455 else
37456 echo "$as_me: failed program was:" >&5
37457 sed 's/^/| /' conftest.$ac_ext >&5
37458
37459 eval "$as_ac_var=no"
37460 fi
37461 rm -f conftest.err conftest.$ac_objext \
37462 conftest$ac_exeext conftest.$ac_ext
37463 fi
37464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37466 if test `eval echo '${'$as_ac_var'}'` = yes; then
37467 cat >>confdefs.h <<_ACEOF
37468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37469 _ACEOF
37470 have_cos=1
37471 fi
37472 done
37473
37474
37475 for ac_func in floor
37476 do
37477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37478 echo "$as_me:$LINENO: checking for $ac_func" >&5
37479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37480 if eval "test \"\${$as_ac_var+set}\" = set"; then
37481 echo $ECHO_N "(cached) $ECHO_C" >&6
37482 else
37483 cat >conftest.$ac_ext <<_ACEOF
37484 /* confdefs.h. */
37485 _ACEOF
37486 cat confdefs.h >>conftest.$ac_ext
37487 cat >>conftest.$ac_ext <<_ACEOF
37488 /* end confdefs.h. */
37489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37491 #define $ac_func innocuous_$ac_func
37492
37493 /* System header to define __stub macros and hopefully few prototypes,
37494 which can conflict with char $ac_func (); below.
37495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37496 <limits.h> exists even on freestanding compilers. */
37497
37498 #ifdef __STDC__
37499 # include <limits.h>
37500 #else
37501 # include <assert.h>
37502 #endif
37503
37504 #undef $ac_func
37505
37506 /* Override any gcc2 internal prototype to avoid an error. */
37507 #ifdef __cplusplus
37508 extern "C"
37509 {
37510 #endif
37511 /* We use char because int might match the return type of a gcc2
37512 builtin and then its argument prototype would still apply. */
37513 char $ac_func ();
37514 /* The GNU C library defines this for functions which it implements
37515 to always fail with ENOSYS. Some functions are actually named
37516 something starting with __ and the normal name is an alias. */
37517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37518 choke me
37519 #else
37520 char (*f) () = $ac_func;
37521 #endif
37522 #ifdef __cplusplus
37523 }
37524 #endif
37525
37526 int
37527 main ()
37528 {
37529 return f != $ac_func;
37530 ;
37531 return 0;
37532 }
37533 _ACEOF
37534 rm -f conftest.$ac_objext conftest$ac_exeext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37536 (eval $ac_link) 2>conftest.er1
37537 ac_status=$?
37538 grep -v '^ *+' conftest.er1 >conftest.err
37539 rm -f conftest.er1
37540 cat conftest.err >&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } &&
37543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37545 (eval $ac_try) 2>&5
37546 ac_status=$?
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); }; } &&
37549 { ac_try='test -s conftest$ac_exeext'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37552 ac_status=$?
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; }; then
37555 eval "$as_ac_var=yes"
37556 else
37557 echo "$as_me: failed program was:" >&5
37558 sed 's/^/| /' conftest.$ac_ext >&5
37559
37560 eval "$as_ac_var=no"
37561 fi
37562 rm -f conftest.err conftest.$ac_objext \
37563 conftest$ac_exeext conftest.$ac_ext
37564 fi
37565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37567 if test `eval echo '${'$as_ac_var'}'` = yes; then
37568 cat >>confdefs.h <<_ACEOF
37569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37570 _ACEOF
37571 have_floor=1
37572 fi
37573 done
37574
37575 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
37576 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
37577 if test "$have_cos" = 1 -a "$have_floor" = 1; then
37578 echo "$as_me:$LINENO: result: yes" >&5
37579 echo "${ECHO_T}yes" >&6
37580 else
37581 echo "$as_me:$LINENO: result: no" >&5
37582 echo "${ECHO_T}no" >&6
37583 LIBS="$LIBS -lm"
37584 # use different functions to avoid configure caching
37585 have_sin=0
37586 have_ceil=0
37587
37588 for ac_func in sin
37589 do
37590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37591 echo "$as_me:$LINENO: checking for $ac_func" >&5
37592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37593 if eval "test \"\${$as_ac_var+set}\" = set"; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37595 else
37596 cat >conftest.$ac_ext <<_ACEOF
37597 /* confdefs.h. */
37598 _ACEOF
37599 cat confdefs.h >>conftest.$ac_ext
37600 cat >>conftest.$ac_ext <<_ACEOF
37601 /* end confdefs.h. */
37602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37604 #define $ac_func innocuous_$ac_func
37605
37606 /* System header to define __stub macros and hopefully few prototypes,
37607 which can conflict with char $ac_func (); below.
37608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37609 <limits.h> exists even on freestanding compilers. */
37610
37611 #ifdef __STDC__
37612 # include <limits.h>
37613 #else
37614 # include <assert.h>
37615 #endif
37616
37617 #undef $ac_func
37618
37619 /* Override any gcc2 internal prototype to avoid an error. */
37620 #ifdef __cplusplus
37621 extern "C"
37622 {
37623 #endif
37624 /* We use char because int might match the return type of a gcc2
37625 builtin and then its argument prototype would still apply. */
37626 char $ac_func ();
37627 /* The GNU C library defines this for functions which it implements
37628 to always fail with ENOSYS. Some functions are actually named
37629 something starting with __ and the normal name is an alias. */
37630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37631 choke me
37632 #else
37633 char (*f) () = $ac_func;
37634 #endif
37635 #ifdef __cplusplus
37636 }
37637 #endif
37638
37639 int
37640 main ()
37641 {
37642 return f != $ac_func;
37643 ;
37644 return 0;
37645 }
37646 _ACEOF
37647 rm -f conftest.$ac_objext conftest$ac_exeext
37648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37649 (eval $ac_link) 2>conftest.er1
37650 ac_status=$?
37651 grep -v '^ *+' conftest.er1 >conftest.err
37652 rm -f conftest.er1
37653 cat conftest.err >&5
37654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37655 (exit $ac_status); } &&
37656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37658 (eval $ac_try) 2>&5
37659 ac_status=$?
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); }; } &&
37662 { ac_try='test -s conftest$ac_exeext'
37663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37664 (eval $ac_try) 2>&5
37665 ac_status=$?
37666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37667 (exit $ac_status); }; }; then
37668 eval "$as_ac_var=yes"
37669 else
37670 echo "$as_me: failed program was:" >&5
37671 sed 's/^/| /' conftest.$ac_ext >&5
37672
37673 eval "$as_ac_var=no"
37674 fi
37675 rm -f conftest.err conftest.$ac_objext \
37676 conftest$ac_exeext conftest.$ac_ext
37677 fi
37678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37680 if test `eval echo '${'$as_ac_var'}'` = yes; then
37681 cat >>confdefs.h <<_ACEOF
37682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37683 _ACEOF
37684 have_sin=1
37685 fi
37686 done
37687
37688
37689 for ac_func in ceil
37690 do
37691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37692 echo "$as_me:$LINENO: checking for $ac_func" >&5
37693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37694 if eval "test \"\${$as_ac_var+set}\" = set"; then
37695 echo $ECHO_N "(cached) $ECHO_C" >&6
37696 else
37697 cat >conftest.$ac_ext <<_ACEOF
37698 /* confdefs.h. */
37699 _ACEOF
37700 cat confdefs.h >>conftest.$ac_ext
37701 cat >>conftest.$ac_ext <<_ACEOF
37702 /* end confdefs.h. */
37703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37705 #define $ac_func innocuous_$ac_func
37706
37707 /* System header to define __stub macros and hopefully few prototypes,
37708 which can conflict with char $ac_func (); below.
37709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37710 <limits.h> exists even on freestanding compilers. */
37711
37712 #ifdef __STDC__
37713 # include <limits.h>
37714 #else
37715 # include <assert.h>
37716 #endif
37717
37718 #undef $ac_func
37719
37720 /* Override any gcc2 internal prototype to avoid an error. */
37721 #ifdef __cplusplus
37722 extern "C"
37723 {
37724 #endif
37725 /* We use char because int might match the return type of a gcc2
37726 builtin and then its argument prototype would still apply. */
37727 char $ac_func ();
37728 /* The GNU C library defines this for functions which it implements
37729 to always fail with ENOSYS. Some functions are actually named
37730 something starting with __ and the normal name is an alias. */
37731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37732 choke me
37733 #else
37734 char (*f) () = $ac_func;
37735 #endif
37736 #ifdef __cplusplus
37737 }
37738 #endif
37739
37740 int
37741 main ()
37742 {
37743 return f != $ac_func;
37744 ;
37745 return 0;
37746 }
37747 _ACEOF
37748 rm -f conftest.$ac_objext conftest$ac_exeext
37749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37750 (eval $ac_link) 2>conftest.er1
37751 ac_status=$?
37752 grep -v '^ *+' conftest.er1 >conftest.err
37753 rm -f conftest.er1
37754 cat conftest.err >&5
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); } &&
37757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37759 (eval $ac_try) 2>&5
37760 ac_status=$?
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); }; } &&
37763 { ac_try='test -s conftest$ac_exeext'
37764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37765 (eval $ac_try) 2>&5
37766 ac_status=$?
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); }; }; then
37769 eval "$as_ac_var=yes"
37770 else
37771 echo "$as_me: failed program was:" >&5
37772 sed 's/^/| /' conftest.$ac_ext >&5
37773
37774 eval "$as_ac_var=no"
37775 fi
37776 rm -f conftest.err conftest.$ac_objext \
37777 conftest$ac_exeext conftest.$ac_ext
37778 fi
37779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37781 if test `eval echo '${'$as_ac_var'}'` = yes; then
37782 cat >>confdefs.h <<_ACEOF
37783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37784 _ACEOF
37785 have_ceil=1
37786 fi
37787 done
37788
37789 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
37790 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
37791 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
37792 echo "$as_me:$LINENO: result: yes" >&5
37793 echo "${ECHO_T}yes" >&6
37794 else
37795 echo "$as_me:$LINENO: result: no" >&5
37796 echo "${ECHO_T}no" >&6
37797 # not sure we should warn the user, crash, etc.
37798 fi
37799 fi
37800
37801 if test "$wxUSE_GUI" = "yes"; then
37802
37803
37804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
37805 drawing dynamic erase event exec font image \
37806 minimal propsize rotate shaped widgets render"
37807
37808 if test "$wxUSE_MONOLITHIC" != "yes"; then
37809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37810 fi
37811 else
37812 SAMPLES_SUBDIRS="console"
37813 fi
37814
37815
37816 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
37817 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
37818
37819 if test "$GXX" = yes ; then
37820 CXXWARNINGS="-Wall"
37821 fi
37822
37823 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
37824
37825 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
37826 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
37827 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
37828
37829
37830 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
37831 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37832 EXTRALIBS_XML="$EXPAT_LINK"
37833 EXTRALIBS_HTML="$MSPACK_LINK"
37834 EXTRALIBS_ODBC="$ODBC_LINK"
37835 if test "$wxUSE_GUI" = "yes"; then
37836 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
37837 fi
37838 if test "$wxUSE_OPENGL" = "yes"; then
37839 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37840 fi
37841
37842 LDFLAGS="$LDFLAGS $PROFILE"
37843
37844 if test "$wxUSE_GTK" = 1; then
37845 WXCONFIG_INCLUDE=
37846 else
37847 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
37848 fi
37849
37850 WXCONFIG_EXTRALIBS="$LIBS"
37851
37852 if test "$wxUSE_REGEX" = "builtin" ; then
37853 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
37854 fi
37855 if test "$wxUSE_EXPAT" = "builtin" ; then
37856 wxconfig_3rdparty="$wxconfig_3rdparty expat"
37857 fi
37858 if test "$wxUSE_ODBC" = "builtin" ; then
37859 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37860 fi
37861 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37862 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
37863 fi
37864 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37865 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
37866 fi
37867 if test "$wxUSE_LIBPNG" = "builtin" ; then
37868 wxconfig_3rdparty="$wxconfig_3rdparty png"
37869 fi
37870 if test "$wxUSE_ZLIB" = "builtin" ; then
37871 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
37872 fi
37873 if test "$wxUSE_ODBC" = "builtin" ; then
37874 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
37875 fi
37876
37877 for i in $wxconfig_3rdparty ; do
37878 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
37879 done
37880
37881
37882 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37883 WXUNIV=1
37884 else
37885 WXUNIV=0
37886 fi
37887
37888
37889
37890
37891
37892
37893
37894
37895
37896 if test $wxUSE_MONOLITHIC = "yes" ; then
37897 MONOLITHIC=1
37898 else
37899 MONOLITHIC=0
37900 fi
37901
37902 if test $wxUSE_PLUGINS = "yes" ; then
37903 USE_PLUGINS=1
37904 else
37905 USE_PLUGINS=0
37906 fi
37907
37908 if test $wxUSE_ODBC != "no" ; then
37909 USE_ODBC=1
37910 else
37911 USE_ODBC=0
37912 fi
37913
37914 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37915 OFFICIAL_BUILD=1
37916 else
37917 OFFICIAL_BUILD=0
37918 fi
37919
37920
37921
37922
37923
37924
37925
37926
37927
37928
37929
37930
37931
37932
37933
37934
37935
37936
37937
37938
37939
37940 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
37941
37942
37943
37944
37945
37946
37947
37948
37949
37950 if test "x$BAKEFILE_HOST" = "x"; then
37951 BAKEFILE_HOST="${host}"
37952 fi
37953
37954 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37955
37956 if test -n "$ac_tool_prefix"; then
37957 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37958 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37959 echo "$as_me:$LINENO: checking for $ac_word" >&5
37960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37961 if test "${ac_cv_prog_RANLIB+set}" = set; then
37962 echo $ECHO_N "(cached) $ECHO_C" >&6
37963 else
37964 if test -n "$RANLIB"; then
37965 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37966 else
37967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37968 for as_dir in $PATH
37969 do
37970 IFS=$as_save_IFS
37971 test -z "$as_dir" && as_dir=.
37972 for ac_exec_ext in '' $ac_executable_extensions; do
37973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37974 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37976 break 2
37977 fi
37978 done
37979 done
37980
37981 fi
37982 fi
37983 RANLIB=$ac_cv_prog_RANLIB
37984 if test -n "$RANLIB"; then
37985 echo "$as_me:$LINENO: result: $RANLIB" >&5
37986 echo "${ECHO_T}$RANLIB" >&6
37987 else
37988 echo "$as_me:$LINENO: result: no" >&5
37989 echo "${ECHO_T}no" >&6
37990 fi
37991
37992 fi
37993 if test -z "$ac_cv_prog_RANLIB"; then
37994 ac_ct_RANLIB=$RANLIB
37995 # Extract the first word of "ranlib", so it can be a program name with args.
37996 set dummy ranlib; ac_word=$2
37997 echo "$as_me:$LINENO: checking for $ac_word" >&5
37998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37999 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
38000 echo $ECHO_N "(cached) $ECHO_C" >&6
38001 else
38002 if test -n "$ac_ct_RANLIB"; then
38003 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
38004 else
38005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38006 for as_dir in $PATH
38007 do
38008 IFS=$as_save_IFS
38009 test -z "$as_dir" && as_dir=.
38010 for ac_exec_ext in '' $ac_executable_extensions; do
38011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38012 ac_cv_prog_ac_ct_RANLIB="ranlib"
38013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38014 break 2
38015 fi
38016 done
38017 done
38018
38019 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
38020 fi
38021 fi
38022 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
38023 if test -n "$ac_ct_RANLIB"; then
38024 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
38025 echo "${ECHO_T}$ac_ct_RANLIB" >&6
38026 else
38027 echo "$as_me:$LINENO: result: no" >&5
38028 echo "${ECHO_T}no" >&6
38029 fi
38030
38031 RANLIB=$ac_ct_RANLIB
38032 else
38033 RANLIB="$ac_cv_prog_RANLIB"
38034 fi
38035
38036 # Find a good install program. We prefer a C program (faster),
38037 # so one script is as good as another. But avoid the broken or
38038 # incompatible versions:
38039 # SysV /etc/install, /usr/sbin/install
38040 # SunOS /usr/etc/install
38041 # IRIX /sbin/install
38042 # AIX /bin/install
38043 # AmigaOS /C/install, which installs bootblocks on floppy discs
38044 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38045 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38046 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38047 # OS/2's system install, which has a completely different semantic
38048 # ./install, which can be erroneously created by make from ./install.sh.
38049 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
38050 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
38051 if test -z "$INSTALL"; then
38052 if test "${ac_cv_path_install+set}" = set; then
38053 echo $ECHO_N "(cached) $ECHO_C" >&6
38054 else
38055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38056 for as_dir in $PATH
38057 do
38058 IFS=$as_save_IFS
38059 test -z "$as_dir" && as_dir=.
38060 # Account for people who put trailing slashes in PATH elements.
38061 case $as_dir/ in
38062 ./ | .// | /cC/* | \
38063 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
38064 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
38065 /usr/ucb/* ) ;;
38066 *)
38067 # OSF1 and SCO ODT 3.0 have their own names for install.
38068 # Don't use installbsd from OSF since it installs stuff as root
38069 # by default.
38070 for ac_prog in ginstall scoinst install; do
38071 for ac_exec_ext in '' $ac_executable_extensions; do
38072 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
38073 if test $ac_prog = install &&
38074 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38075 # AIX install. It has an incompatible calling convention.
38076 :
38077 elif test $ac_prog = install &&
38078 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
38079 # program-specific install script used by HP pwplus--don't use.
38080 :
38081 else
38082 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
38083 break 3
38084 fi
38085 fi
38086 done
38087 done
38088 ;;
38089 esac
38090 done
38091
38092
38093 fi
38094 if test "${ac_cv_path_install+set}" = set; then
38095 INSTALL=$ac_cv_path_install
38096 else
38097 # As a last resort, use the slow shell script. We don't cache a
38098 # path for INSTALL within a source directory, because that will
38099 # break other packages using the cache if that directory is
38100 # removed, or if the path is relative.
38101 INSTALL=$ac_install_sh
38102 fi
38103 fi
38104 echo "$as_me:$LINENO: result: $INSTALL" >&5
38105 echo "${ECHO_T}$INSTALL" >&6
38106
38107 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38108 # It thinks the first close brace ends the variable substitution.
38109 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
38110
38111 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
38112
38113 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
38114
38115 echo "$as_me:$LINENO: checking whether ln -s works" >&5
38116 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
38117 LN_S=$as_ln_s
38118 if test "$LN_S" = "ln -s"; then
38119 echo "$as_me:$LINENO: result: yes" >&5
38120 echo "${ECHO_T}yes" >&6
38121 else
38122 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
38123 echo "${ECHO_T}no, using $LN_S" >&6
38124 fi
38125
38126
38127 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38128 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
38129 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
38130 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 else
38133 cat >conftest.make <<\_ACEOF
38134 all:
38135 @echo 'ac_maketemp="$(MAKE)"'
38136 _ACEOF
38137 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
38138 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
38139 if test -n "$ac_maketemp"; then
38140 eval ac_cv_prog_make_${ac_make}_set=yes
38141 else
38142 eval ac_cv_prog_make_${ac_make}_set=no
38143 fi
38144 rm -f conftest.make
38145 fi
38146 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
38147 echo "$as_me:$LINENO: result: yes" >&5
38148 echo "${ECHO_T}yes" >&6
38149 SET_MAKE=
38150 else
38151 echo "$as_me:$LINENO: result: no" >&5
38152 echo "${ECHO_T}no" >&6
38153 SET_MAKE="MAKE=${MAKE-make}"
38154 fi
38155
38156
38157
38158 if test -n "$ac_tool_prefix"; then
38159 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38160 set dummy ${ac_tool_prefix}ar; ac_word=$2
38161 echo "$as_me:$LINENO: checking for $ac_word" >&5
38162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38163 if test "${ac_cv_prog_AR+set}" = set; then
38164 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 else
38166 if test -n "$AR"; then
38167 ac_cv_prog_AR="$AR" # Let the user override the test.
38168 else
38169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38170 for as_dir in $PATH
38171 do
38172 IFS=$as_save_IFS
38173 test -z "$as_dir" && as_dir=.
38174 for ac_exec_ext in '' $ac_executable_extensions; do
38175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38176 ac_cv_prog_AR="${ac_tool_prefix}ar"
38177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38178 break 2
38179 fi
38180 done
38181 done
38182
38183 fi
38184 fi
38185 AR=$ac_cv_prog_AR
38186 if test -n "$AR"; then
38187 echo "$as_me:$LINENO: result: $AR" >&5
38188 echo "${ECHO_T}$AR" >&6
38189 else
38190 echo "$as_me:$LINENO: result: no" >&5
38191 echo "${ECHO_T}no" >&6
38192 fi
38193
38194 fi
38195 if test -z "$ac_cv_prog_AR"; then
38196 ac_ct_AR=$AR
38197 # Extract the first word of "ar", so it can be a program name with args.
38198 set dummy ar; ac_word=$2
38199 echo "$as_me:$LINENO: checking for $ac_word" >&5
38200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38201 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
38202 echo $ECHO_N "(cached) $ECHO_C" >&6
38203 else
38204 if test -n "$ac_ct_AR"; then
38205 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
38206 else
38207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38208 for as_dir in $PATH
38209 do
38210 IFS=$as_save_IFS
38211 test -z "$as_dir" && as_dir=.
38212 for ac_exec_ext in '' $ac_executable_extensions; do
38213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38214 ac_cv_prog_ac_ct_AR="ar"
38215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38216 break 2
38217 fi
38218 done
38219 done
38220
38221 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
38222 fi
38223 fi
38224 ac_ct_AR=$ac_cv_prog_ac_ct_AR
38225 if test -n "$ac_ct_AR"; then
38226 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
38227 echo "${ECHO_T}$ac_ct_AR" >&6
38228 else
38229 echo "$as_me:$LINENO: result: no" >&5
38230 echo "${ECHO_T}no" >&6
38231 fi
38232
38233 AR=$ac_ct_AR
38234 else
38235 AR="$ac_cv_prog_AR"
38236 fi
38237
38238 if test -n "$ac_tool_prefix"; then
38239 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38240 set dummy ${ac_tool_prefix}strip; ac_word=$2
38241 echo "$as_me:$LINENO: checking for $ac_word" >&5
38242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38243 if test "${ac_cv_prog_STRIP+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246 if test -n "$STRIP"; then
38247 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
38248 else
38249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38250 for as_dir in $PATH
38251 do
38252 IFS=$as_save_IFS
38253 test -z "$as_dir" && as_dir=.
38254 for ac_exec_ext in '' $ac_executable_extensions; do
38255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38256 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
38257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38258 break 2
38259 fi
38260 done
38261 done
38262
38263 fi
38264 fi
38265 STRIP=$ac_cv_prog_STRIP
38266 if test -n "$STRIP"; then
38267 echo "$as_me:$LINENO: result: $STRIP" >&5
38268 echo "${ECHO_T}$STRIP" >&6
38269 else
38270 echo "$as_me:$LINENO: result: no" >&5
38271 echo "${ECHO_T}no" >&6
38272 fi
38273
38274 fi
38275 if test -z "$ac_cv_prog_STRIP"; then
38276 ac_ct_STRIP=$STRIP
38277 # Extract the first word of "strip", so it can be a program name with args.
38278 set dummy strip; ac_word=$2
38279 echo "$as_me:$LINENO: checking for $ac_word" >&5
38280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38281 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
38282 echo $ECHO_N "(cached) $ECHO_C" >&6
38283 else
38284 if test -n "$ac_ct_STRIP"; then
38285 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
38286 else
38287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38288 for as_dir in $PATH
38289 do
38290 IFS=$as_save_IFS
38291 test -z "$as_dir" && as_dir=.
38292 for ac_exec_ext in '' $ac_executable_extensions; do
38293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38294 ac_cv_prog_ac_ct_STRIP="strip"
38295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38296 break 2
38297 fi
38298 done
38299 done
38300
38301 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
38302 fi
38303 fi
38304 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
38305 if test -n "$ac_ct_STRIP"; then
38306 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
38307 echo "${ECHO_T}$ac_ct_STRIP" >&6
38308 else
38309 echo "$as_me:$LINENO: result: no" >&5
38310 echo "${ECHO_T}no" >&6
38311 fi
38312
38313 STRIP=$ac_ct_STRIP
38314 else
38315 STRIP="$ac_cv_prog_STRIP"
38316 fi
38317
38318 if test -n "$ac_tool_prefix"; then
38319 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38320 set dummy ${ac_tool_prefix}nm; ac_word=$2
38321 echo "$as_me:$LINENO: checking for $ac_word" >&5
38322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38323 if test "${ac_cv_prog_NM+set}" = set; then
38324 echo $ECHO_N "(cached) $ECHO_C" >&6
38325 else
38326 if test -n "$NM"; then
38327 ac_cv_prog_NM="$NM" # Let the user override the test.
38328 else
38329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38330 for as_dir in $PATH
38331 do
38332 IFS=$as_save_IFS
38333 test -z "$as_dir" && as_dir=.
38334 for ac_exec_ext in '' $ac_executable_extensions; do
38335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38336 ac_cv_prog_NM="${ac_tool_prefix}nm"
38337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38338 break 2
38339 fi
38340 done
38341 done
38342
38343 fi
38344 fi
38345 NM=$ac_cv_prog_NM
38346 if test -n "$NM"; then
38347 echo "$as_me:$LINENO: result: $NM" >&5
38348 echo "${ECHO_T}$NM" >&6
38349 else
38350 echo "$as_me:$LINENO: result: no" >&5
38351 echo "${ECHO_T}no" >&6
38352 fi
38353
38354 fi
38355 if test -z "$ac_cv_prog_NM"; then
38356 ac_ct_NM=$NM
38357 # Extract the first word of "nm", so it can be a program name with args.
38358 set dummy nm; ac_word=$2
38359 echo "$as_me:$LINENO: checking for $ac_word" >&5
38360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38361 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 else
38364 if test -n "$ac_ct_NM"; then
38365 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
38366 else
38367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38368 for as_dir in $PATH
38369 do
38370 IFS=$as_save_IFS
38371 test -z "$as_dir" && as_dir=.
38372 for ac_exec_ext in '' $ac_executable_extensions; do
38373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38374 ac_cv_prog_ac_ct_NM="nm"
38375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38376 break 2
38377 fi
38378 done
38379 done
38380
38381 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
38382 fi
38383 fi
38384 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38385 if test -n "$ac_ct_NM"; then
38386 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
38387 echo "${ECHO_T}$ac_ct_NM" >&6
38388 else
38389 echo "$as_me:$LINENO: result: no" >&5
38390 echo "${ECHO_T}no" >&6
38391 fi
38392
38393 NM=$ac_ct_NM
38394 else
38395 NM="$ac_cv_prog_NM"
38396 fi
38397
38398
38399 case ${BAKEFILE_HOST} in
38400 *-hp-hpux* )
38401 INSTALL_DIR="mkdir"
38402 ;;
38403 *) INSTALL_DIR="$INSTALL -d"
38404 ;;
38405 esac
38406
38407
38408 LDFLAGS_GUI=
38409 case ${BAKEFILE_HOST} in
38410 *-*-cygwin* | *-*-mingw32* )
38411 LDFLAGS_GUI="-mwindows"
38412 esac
38413
38414
38415 fi
38416
38417 echo "$as_me:$LINENO: checking if make is GNU make" >&5
38418 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
38419 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38421 else
38422
38423 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38424 egrep -s GNU > /dev/null); then
38425 bakefile_cv_prog_makeisgnu="yes"
38426 else
38427 bakefile_cv_prog_makeisgnu="no"
38428 fi
38429
38430 fi
38431 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
38432 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
38433
38434 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38435 IF_GNU_MAKE=""
38436 else
38437 IF_GNU_MAKE="#"
38438 fi
38439
38440
38441
38442 PLATFORM_UNIX=0
38443 PLATFORM_WIN32=0
38444 PLATFORM_MSDOS=0
38445 PLATFORM_MAC=0
38446 PLATFORM_MACOSX=0
38447 PLATFORM_OS2=0
38448
38449 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38450 case "${BAKEFILE_HOST}" in
38451 *-*-cygwin* | *-*-mingw32* )
38452 PLATFORM_WIN32=1
38453 ;;
38454 *-pc-msdosdjgpp )
38455 PLATFORM_MSDOS=1
38456 ;;
38457 *-pc-os2_emx | *-pc-os2-emx )
38458 PLATFORM_OS2=1
38459 ;;
38460 powerpc-*-darwin* )
38461 PLATFORM_MAC=1
38462 PLATFORM_MACOSX=1
38463 ;;
38464 * )
38465 PLATFORM_UNIX=1
38466 ;;
38467 esac
38468 else
38469 case "$BAKEFILE_FORCE_PLATFORM" in
38470 win32 )
38471 PLATFORM_WIN32=1
38472 ;;
38473 msdos )
38474 PLATFORM_MSDOS=1
38475 ;;
38476 os2 )
38477 PLATFORM_OS2=1
38478 ;;
38479 darwin )
38480 PLATFORM_MAC=1
38481 PLATFORM_MACOSX=1
38482 ;;
38483 unix )
38484 PLATFORM_UNIX=1
38485 ;;
38486 * )
38487 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
38488 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
38489 { (exit 1); exit 1; }; }
38490 ;;
38491 esac
38492 fi
38493
38494
38495
38496
38497
38498
38499
38500
38501
38502 # Check whether --enable-omf or --disable-omf was given.
38503 if test "${enable_omf+set}" = set; then
38504 enableval="$enable_omf"
38505 bk_os2_use_omf="$enableval"
38506 fi;
38507
38508 case "${BAKEFILE_HOST}" in
38509 *-*-darwin* )
38510 CFLAGS="$CFLAGS -fno-common"
38511 CXXFLAGS="$CXXFLAGS -fno-common"
38512 ;;
38513
38514 *-pc-os2_emx | *-pc-os2-emx )
38515 if test "x$bk_os2_use_omf" = "xyes" ; then
38516 AR=emxomfar
38517 RANLIB=:
38518 LDFLAGS="-Zomf $LDFLAGS"
38519 CFLAGS="-Zomf $CFLAGS"
38520 CXXFLAGS="-Zomf $CXXFLAGS"
38521 OS2_LIBEXT="lib"
38522 else
38523 OS2_LIBEXT="a"
38524 fi
38525 ;;
38526 esac
38527
38528
38529 SO_SUFFIX="so"
38530 SO_SUFFIX_MODULE="so"
38531 EXEEXT=""
38532 LIBPREFIX="lib"
38533 LIBEXT=".a"
38534 DLLPREFIX="lib"
38535 DLLPREFIX_MODULE=""
38536 DLLIMP_SUFFIX=""
38537
38538 case "${BAKEFILE_HOST}" in
38539 *-hp-hpux* )
38540 SO_SUFFIX="sl"
38541 SO_SUFFIX_MODULE="sl"
38542 ;;
38543 *-*-aix* )
38544 SO_SUFFIX="a"
38545 SO_SUFFIX_MODULE="a"
38546 ;;
38547 *-*-cygwin* | *-*-mingw32* )
38548 SO_SUFFIX="dll"
38549 SO_SUFFIX_MODULE="dll"
38550 DLLIMP_SUFFIX="dll.a"
38551 EXEEXT=".exe"
38552 DLLPREFIX=""
38553 ;;
38554 *-pc-msdosdjgpp )
38555 EXEEXT=".exe"
38556 DLLPREFIX=""
38557 ;;
38558 *-pc-os2_emx | *-pc-os2-emx )
38559 SO_SUFFIX="dll"
38560 SO_SUFFIX_MODULE="dll"
38561 DLLIMP_SUFFIX=$OS2_LIBEXT
38562 EXEEXT=".exe"
38563 DLLPREFIX=""
38564 LIBPREFIX=""
38565 LIBEXT=".$OS2_LIBEXT"
38566 ;;
38567 powerpc-*-darwin* )
38568 SO_SUFFIX="dylib"
38569 SO_SUFFIX_MODULE="bundle"
38570 ;;
38571 esac
38572
38573 if test "x$DLLIMP_SUFFIX" = "x" ; then
38574 DLLIMP_SUFFIX="$SO_SUFFIX"
38575 fi
38576
38577
38578
38579
38580
38581
38582
38583
38584
38585
38586
38587 SHARED_LD_CC="\$(CC) -shared -o"
38588 SHARED_LD_CXX="\$(CXX) -shared -o"
38589
38590 if test "x$GCC" = "xyes"; then
38591 PIC_FLAG="-fPIC"
38592 fi
38593
38594 case "${BAKEFILE_HOST}" in
38595 *-hp-hpux* )
38596 if test "x$GCC" = "xyes"; then
38597 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
38598 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
38599 else
38600 LDFLAGS="$LDFLAGS -L/usr/lib"
38601
38602 SHARED_LD_CC="${CC} -b -o"
38603 SHARED_LD_CXX="${CXX} -b -o"
38604 PIC_FLAG="+Z"
38605 fi
38606 ;;
38607
38608 *-*-linux* )
38609 if test "x$GCC" != "xyes"; then
38610 echo "$as_me:$LINENO: checking for Intel compiler" >&5
38611 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
38612 if test "${bakefile_cv_prog_icc+set}" = set; then
38613 echo $ECHO_N "(cached) $ECHO_C" >&6
38614 else
38615
38616 cat >conftest.$ac_ext <<_ACEOF
38617 /* confdefs.h. */
38618 _ACEOF
38619 cat confdefs.h >>conftest.$ac_ext
38620 cat >>conftest.$ac_ext <<_ACEOF
38621 /* end confdefs.h. */
38622
38623 int
38624 main ()
38625 {
38626
38627 #ifndef __INTEL_COMPILER
38628 #error Not icc
38629 #endif
38630
38631 ;
38632 return 0;
38633 }
38634 _ACEOF
38635 rm -f conftest.$ac_objext
38636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38637 (eval $ac_compile) 2>conftest.er1
38638 ac_status=$?
38639 grep -v '^ *+' conftest.er1 >conftest.err
38640 rm -f conftest.er1
38641 cat conftest.err >&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); } &&
38644 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38647 ac_status=$?
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; } &&
38650 { ac_try='test -s conftest.$ac_objext'
38651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652 (eval $ac_try) 2>&5
38653 ac_status=$?
38654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655 (exit $ac_status); }; }; then
38656 bakefile_cv_prog_icc=yes
38657 else
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.$ac_ext >&5
38660
38661 bakefile_cv_prog_icc=no
38662
38663 fi
38664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38665
38666 fi
38667 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
38668 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
38669 if test "$bakefile_cv_prog_icc" = "yes"; then
38670 PIC_FLAG="-KPIC"
38671 fi
38672 fi
38673 ;;
38674
38675 *-*-solaris2* )
38676 if test "x$GCC" != xyes ; then
38677 SHARED_LD_CC="${CC} -G -o"
38678 SHARED_LD_CXX="${CXX} -G -o"
38679 PIC_FLAG="-KPIC"
38680 fi
38681 ;;
38682
38683 *-*-darwin* )
38684
38685 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
38686 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
38687 if test "${wx_cv_gcc31+set}" = set; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38689 else
38690
38691 cat >conftest.$ac_ext <<_ACEOF
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697
38698 int
38699 main ()
38700 {
38701
38702 #if (__GNUC__ < 3) || \
38703 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38704 #error old gcc
38705 #endif
38706
38707 ;
38708 return 0;
38709 }
38710 _ACEOF
38711 rm -f conftest.$ac_objext
38712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38713 (eval $ac_compile) 2>conftest.er1
38714 ac_status=$?
38715 grep -v '^ *+' conftest.er1 >conftest.err
38716 rm -f conftest.er1
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } &&
38720 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38722 (eval $ac_try) 2>&5
38723 ac_status=$?
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); }; } &&
38726 { ac_try='test -s conftest.$ac_objext'
38727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38728 (eval $ac_try) 2>&5
38729 ac_status=$?
38730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38731 (exit $ac_status); }; }; then
38732
38733 wx_cv_gcc31=yes
38734
38735 else
38736 echo "$as_me: failed program was:" >&5
38737 sed 's/^/| /' conftest.$ac_ext >&5
38738
38739
38740 wx_cv_gcc31=no
38741
38742
38743 fi
38744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38745
38746 fi
38747 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
38748 echo "${ECHO_T}$wx_cv_gcc31" >&6
38749 if test "$wx_cv_gcc31" = "no"; then
38750
38751 D='$'
38752 cat <<EOF >shared-ld-sh
38753 #!/bin/sh
38754 #-----------------------------------------------------------------------------
38755 #-- Name: distrib/mac/shared-ld-sh
38756 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38757 #-- Author: Gilles Depeyrot
38758 #-- Copyright: (c) 2002 Gilles Depeyrot
38759 #-- Licence: any use permitted
38760 #-----------------------------------------------------------------------------
38761
38762 verbose=0
38763 args=""
38764 objects=""
38765 linking_flag="-dynamiclib"
38766
38767 while test ${D}# -gt 0; do
38768 case ${D}1 in
38769
38770 -v)
38771 verbose=1
38772 ;;
38773
38774 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38775 # collect these options and values
38776 args="${D}{args} ${D}1 ${D}2"
38777 shift
38778 ;;
38779
38780 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38781 # collect these options
38782 args="${D}{args} ${D}1"
38783 ;;
38784
38785 -dynamiclib|-bundle)
38786 linking_flag="${D}1"
38787 ;;
38788
38789 -*)
38790 echo "shared-ld: unhandled option '${D}1'"
38791 exit 1
38792 ;;
38793
38794 *.o | *.a | *.dylib)
38795 # collect object files
38796 objects="${D}{objects} ${D}1"
38797 ;;
38798
38799 *)
38800 echo "shared-ld: unhandled argument '${D}1'"
38801 exit 1
38802 ;;
38803
38804 esac
38805 shift
38806 done
38807
38808 #
38809 # Link one module containing all the others
38810 #
38811 if test ${D}{verbose} = 1; then
38812 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
38813 fi
38814 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
38815 status=${D}?
38816 if test ${D}{status} != 0; then
38817 exit ${D}{status}
38818 fi
38819
38820 #
38821 # Link the shared library from the single module created
38822 #
38823 if test ${D}{verbose} = 1; then
38824 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38825 fi
38826 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38827 status=${D}?
38828 if test ${D}{status} != 0; then
38829 exit ${D}{status}
38830 fi
38831
38832 #
38833 # Remove intermediate module
38834 #
38835 rm -f master.${D}${D}.o
38836
38837 exit 0
38838 EOF
38839
38840 chmod +x shared-ld-sh
38841
38842 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38843 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38844 SHARED_LD_CXX="$SHARED_LD_CC"
38845 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
38846 else
38847 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38848 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
38849 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38850 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
38851 fi
38852
38853 PIC_FLAG="-dynamic -fPIC"
38854 ;;
38855
38856 *-*-aix* )
38857 if test "x$GCC" != "xyes"; then
38858 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38859 set dummy makeC++SharedLib; ac_word=$2
38860 echo "$as_me:$LINENO: checking for $ac_word" >&5
38861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
38862 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
38863 echo $ECHO_N "(cached) $ECHO_C" >&6
38864 else
38865 if test -n "$AIX_CXX_LD"; then
38866 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38867 else
38868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38869 for as_dir in $PATH
38870 do
38871 IFS=$as_save_IFS
38872 test -z "$as_dir" && as_dir=.
38873 for ac_exec_ext in '' $ac_executable_extensions; do
38874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38875 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
38877 break 2
38878 fi
38879 done
38880 done
38881
38882 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38883 fi
38884 fi
38885 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38886 if test -n "$AIX_CXX_LD"; then
38887 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
38888 echo "${ECHO_T}$AIX_CXX_LD" >&6
38889 else
38890 echo "$as_me:$LINENO: result: no" >&5
38891 echo "${ECHO_T}no" >&6
38892 fi
38893
38894 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38895 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38896 fi
38897 ;;
38898
38899 *-*-beos* )
38900 SHARED_LD_CC="${LD} -shared -o"
38901 SHARED_LD_CXX="${LD} -shared -o"
38902 ;;
38903
38904 *-*-irix* )
38905 if test "x$GCC" != "xyes"; then
38906 PIC_FLAG="-KPIC"
38907 fi
38908 ;;
38909
38910 *-*-cygwin* | *-*-mingw32* )
38911 PIC_FLAG=""
38912 ;;
38913
38914 *-pc-os2_emx | *-pc-os2-emx )
38915 SHARED_LD_CC="`pwd`/dllar.sh -o"
38916 SHARED_LD_CXX="`pwd`/dllar.sh -o"
38917 PIC_FLAG=""
38918
38919 D='$'
38920 cat <<EOF >dllar.sh
38921 #!/bin/sh
38922 #
38923 # dllar - a tool to build both a .dll and an .a file
38924 # from a set of object (.o) files for EMX/OS2.
38925 #
38926 # Written by Andrew Zabolotny, bit@freya.etu.ru
38927 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38928 #
38929 # This script will accept a set of files on the command line.
38930 # All the public symbols from the .o files will be exported into
38931 # a .DEF file, then linker will be run (through gcc) against them to
38932 # build a shared library consisting of all given .o files. All libraries
38933 # (.a) will be first decompressed into component .o files then act as
38934 # described above. You can optionally give a description (-d "description")
38935 # which will be put into .DLL. To see the list of accepted options (as well
38936 # as command-line format) simply run this program without options. The .DLL
38937 # is built to be imported by name (there is no guarantee that new versions
38938 # of the library you build will have same ordinals for same symbols).
38939 #
38940 # dllar is free software; you can redistribute it and/or modify
38941 # it under the terms of the GNU General Public License as published by
38942 # the Free Software Foundation; either version 2, or (at your option)
38943 # any later version.
38944 #
38945 # dllar is distributed in the hope that it will be useful,
38946 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38947 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38948 # GNU General Public License for more details.
38949 #
38950 # You should have received a copy of the GNU General Public License
38951 # along with dllar; see the file COPYING. If not, write to the Free
38952 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38953 # 02111-1307, USA.
38954
38955 # To successfuly run this program you will need:
38956 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38957 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38958 # - gcc
38959 # (used to build the .dll)
38960 # - emxexp
38961 # (used to create .def file from .o files)
38962 # - emximp
38963 # (used to create .a file from .def file)
38964 # - GNU text utilites (cat, sort, uniq)
38965 # used to process emxexp output
38966 # - GNU file utilities (mv, rm)
38967 # - GNU sed
38968 # - lxlite (optional, see flag below)
38969 # (used for general .dll cleanup)
38970 #
38971
38972 flag_USE_LXLITE=1;
38973
38974 #
38975 # helper functions
38976 # basnam, variant of basename, which does _not_ remove the path, _iff_
38977 # second argument (suffix to remove) is given
38978 basnam(){
38979 case ${D}# in
38980 1)
38981 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
38982 ;;
38983 2)
38984 echo ${D}1 | sed 's/'${D}2'${D}//'
38985 ;;
38986 *)
38987 echo "error in basnam ${D}*"
38988 exit 8
38989 ;;
38990 esac
38991 }
38992
38993 # Cleanup temporary files and output
38994 CleanUp() {
38995 cd ${D}curDir
38996 for i in ${D}inputFiles ; do
38997 case ${D}i in
38998 *!)
38999 rm -rf \`basnam ${D}i !\`
39000 ;;
39001 *)
39002 ;;
39003 esac
39004 done
39005
39006 # Kill result in case of failure as there is just to many stupid make/nmake
39007 # things out there which doesn't do this.
39008 if ${D}# -eq 0 ; then
39009 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39010 fi
39011 }
39012
39013 # Print usage and exit script with rc=1.
39014 PrintHelp() {
39015 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
39016 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
39017 echo ' -ord[inals] -exclude "symbol(s)"'
39018 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
39019 echo ' *.o *.a'
39020 echo '*> "output_file" should have no extension.'
39021 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39022 echo ' The import library name is derived from this and is set to "name".a,'
39023 echo ' unless overridden by -import'
39024 echo '*> "importlib_name" should have no extension.'
39025 echo ' If it has the .o, or .a extension, it is automatically removed.'
39026 echo ' This name is used as the import library name and may be longer and'
39027 echo ' more descriptive than the DLL name which has to follow the old '
39028 echo ' 8.3 convention of FAT.'
39029 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39030 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39031 echo ' These flags will be put at the start of GCC command line.'
39032 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
39033 echo '*> -exclude defines symbols which will not be exported. You can define'
39034 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39035 echo ' If the last character of a symbol is "*", all symbols beginning'
39036 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39037 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
39038 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39039 echo '*> -nocrtdll switch will disable linking the library against emx''s'
39040 echo ' C runtime DLLs.'
39041 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
39042 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39043 echo ' unchanged to GCC at the end of command line.'
39044 echo '*> If you create a DLL from a library and you do not specify -o,'
39045 echo ' the basename for DLL and import library will be set to library name,'
39046 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39047 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39048 echo ' library will be renamed into gcc_s.a.'
39049 echo '--------'
39050 echo 'Example:'
39051 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39052 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39053 CleanUp
39054 exit 1
39055 }
39056
39057 # Execute a command.
39058 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39059 # @Uses Whatever CleanUp() uses.
39060 doCommand() {
39061 echo "${D}*"
39062 eval ${D}*
39063 rcCmd=${D}?
39064
39065 if ${D}rcCmd -ne 0 ; then
39066 echo "command failed, exit code="${D}rcCmd
39067 CleanUp
39068 exit ${D}rcCmd
39069 fi
39070 }
39071
39072 # main routine
39073 # setup globals
39074 cmdLine=${D}*
39075 outFile=""
39076 outimpFile=""
39077 inputFiles=""
39078 description=""
39079 CC=gcc.exe
39080 CFLAGS="-s -Zcrtdll"
39081 EXTRA_CFLAGS=""
39082 EXPORT_BY_ORDINALS=0
39083 exclude_symbols=""
39084 library_flags=""
39085 curDir=\`pwd\`
39086 curDirS=curDir
39087 case ${D}curDirS in
39088 */)
39089 ;;
39090 *)
39091 curDirS=${D}{curDirS}"/"
39092 ;;
39093 esac
39094 # Parse commandline
39095 libsToLink=0
39096 while ${D}1 ; do
39097 case ${D}1 in
39098 -ord*)
39099 EXPORT_BY_ORDINALS=1;
39100 ;;
39101 -o*)
39102 shift
39103 outFile=${D}1
39104 ;;
39105 -i*)
39106 shift
39107 outimpFile=${D}1
39108 ;;
39109 -d*)
39110 shift
39111 description=${D}1
39112 ;;
39113 -f*)
39114 shift
39115 CFLAGS=${D}1
39116 ;;
39117 -c*)
39118 shift
39119 CC=${D}1
39120 ;;
39121 -h*)
39122 PrintHelp
39123 ;;
39124 -ex*)
39125 shift
39126 exclude_symbols=${D}{exclude_symbols}${D}1" "
39127 ;;
39128 -libf*)
39129 shift
39130 library_flags=${D}{library_flags}${D}1" "
39131 ;;
39132 -nocrt*)
39133 CFLAGS="-s"
39134 ;;
39135 -nolxl*)
39136 flag_USE_LXLITE=0
39137 ;;
39138 -* | /*)
39139 case ${D}1 in
39140 -L* | -l*)
39141 libsToLink=1
39142 ;;
39143 *)
39144 ;;
39145 esac
39146 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39147 ;;
39148 *)
39149 found=0;
39150 if ${D}libsToLink -ne 0 ; then
39151 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39152 else
39153 for file in ${D}1 ; do
39154 if -f ${D}file ; then
39155 inputFiles="${D}{inputFiles} ${D}file"
39156 found=1
39157 fi
39158 done
39159 if ${D}found -eq 0 ; then
39160 echo "ERROR: No file(s) found: "${D}1
39161 exit 8
39162 fi
39163 fi
39164 ;;
39165 esac
39166 shift
39167 done # iterate cmdline words
39168
39169 #
39170 if -z "${D}inputFiles" ; then
39171 echo "dllar: no input files"
39172 PrintHelp
39173 fi
39174
39175 # Now extract all .o files from .a files
39176 newInputFiles=""
39177 for file in ${D}inputFiles ; do
39178 case ${D}file in
39179 *.a | *.lib)
39180 case ${D}file in
39181 *.a)
39182 suffix=".a"
39183 AR="ar"
39184 ;;
39185 *.lib)
39186 suffix=".lib"
39187 AR="emxomfar"
39188 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39189 ;;
39190 *)
39191 ;;
39192 esac
39193 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39194 mkdir ${D}dirname
39195 if ${D}? -ne 0 ; then
39196 echo "Failed to create subdirectory ./${D}dirname"
39197 CleanUp
39198 exit 8;
39199 fi
39200 # Append '!' to indicate archive
39201 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39202 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39203 cd ${D}curDir
39204 found=0;
39205 for subfile in ${D}dirname/*.o* ; do
39206 if -f ${D}subfile ; then
39207 found=1
39208 if -s ${D}subfile ; then
39209 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39210 newInputFiles="${D}newInputFiles ${D}subfile"
39211 fi
39212 fi
39213 done
39214 if ${D}found -eq 0 ; then
39215 echo "WARNING: there are no files in archive \'${D}file\'"
39216 fi
39217 ;;
39218 *)
39219 newInputFiles="${D}{newInputFiles} ${D}file"
39220 ;;
39221 esac
39222 done
39223 inputFiles="${D}newInputFiles"
39224
39225 # Output filename(s).
39226 do_backup=0;
39227 if -z ${D}outFile ; then
39228 do_backup=1;
39229 set outFile ${D}inputFiles; outFile=${D}2
39230 fi
39231
39232 # If it is an archive, remove the '!' and the '_%' suffixes
39233 case ${D}outFile in
39234 *_%!)
39235 outFile=\`basnam ${D}outFile _%!\`
39236 ;;
39237 *)
39238 ;;
39239 esac
39240 case ${D}outFile in
39241 *.dll)
39242 outFile=\`basnam ${D}outFile .dll\`
39243 ;;
39244 *.DLL)
39245 outFile=\`basnam ${D}outFile .DLL\`
39246 ;;
39247 *.o)
39248 outFile=\`basnam ${D}outFile .o\`
39249 ;;
39250 *.obj)
39251 outFile=\`basnam ${D}outFile .obj\`
39252 ;;
39253 *.a)
39254 outFile=\`basnam ${D}outFile .a\`
39255 ;;
39256 *.lib)
39257 outFile=\`basnam ${D}outFile .lib\`
39258 ;;
39259 *)
39260 ;;
39261 esac
39262 case ${D}outimpFile in
39263 *.a)
39264 outimpFile=\`basnam ${D}outimpFile .a\`
39265 ;;
39266 *.lib)
39267 outimpFile=\`basnam ${D}outimpFile .lib\`
39268 ;;
39269 *)
39270 ;;
39271 esac
39272 if -z ${D}outimpFile ; then
39273 outimpFile=${D}outFile
39274 fi
39275 defFile="${D}{outFile}.def"
39276 arcFile="${D}{outimpFile}.a"
39277 arcFile2="${D}{outimpFile}.lib"
39278 dllFile="${D}outFile"
39279 # Add suffix to dllFile later, first we need a version to use as
39280 # name in .def file.
39281
39282 if ${D}do_backup -ne 0 ; then
39283 if -f ${D}arcFile ; then
39284 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39285 fi
39286 if -f ${D}arcFile2 ; then
39287 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39288 fi
39289 fi
39290
39291 # Extract public symbols from all the object files.
39292 tmpdefFile=${D}{defFile}_%
39293 rm -f ${D}tmpdefFile
39294 for file in ${D}inputFiles ; do
39295 case ${D}file in
39296 *!)
39297 ;;
39298 *)
39299 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39300 ;;
39301 esac
39302 done
39303
39304 # Create the def file.
39305 rm -f ${D}defFile
39306 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39307 dllFile="${D}dllFile.dll"
39308 if -n ${D}description ; then
39309 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
39310 fi
39311 echo "EXPORTS" >> ${D}defFile
39312
39313 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39314 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39315
39316 # Checks if the export is ok or not.
39317 for word in ${D}exclude_symbols; do
39318 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39319 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39320 done
39321
39322
39323 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39324 sed "=" < ${D}tmpdefFile | \
39325 sed '
39326 N
39327 : loop
39328 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
39329 t loop
39330 ' > ${D}{tmpdefFile}%
39331 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39332 else
39333 rm -f ${D}{tmpdefFile}%
39334 fi
39335 cat ${D}tmpdefFile >> ${D}defFile
39336 rm -f ${D}tmpdefFile
39337
39338 # Do linking, create implib, and apply lxlite.
39339 gccCmdl="";
39340 for file in ${D}inputFiles ; do
39341 case ${D}file in
39342 *!)
39343 ;;
39344 *)
39345 gccCmdl="${D}gccCmdl ${D}file"
39346 ;;
39347 esac
39348 done
39349 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39350 touch "${D}{outFile}.dll"
39351
39352 doCommand "emximp -o ${D}arcFile ${D}defFile"
39353 if ${D}flag_USE_LXLITE -ne 0 ; then
39354 add_flags="";
39355 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
39356 add_flags="-ynd"
39357 fi
39358 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39359 fi
39360 doCommand "emxomf -s -l ${D}arcFile"
39361
39362 # Successful exit.
39363 CleanUp 1
39364 exit 0
39365 EOF
39366
39367 chmod +x dllar.sh
39368 ;;
39369
39370 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39371 *-*-sunos4* | \
39372 *-*-osf* | \
39373 *-*-dgux5* | \
39374 *-*-sysv5* )
39375 ;;
39376
39377 *)
39378 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
39379 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
39380 { (exit 1); exit 1; }; }
39381 esac
39382
39383 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39384 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39385 fi
39386 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39387 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39388 fi
39389
39390
39391
39392
39393
39394
39395
39396
39397 USE_SOVERSION=0
39398 USE_SOVERLINUX=0
39399 USE_SOVERSOLARIS=0
39400 USE_SOSYMLINKS=0
39401 USE_MACVERSION=0
39402 SONAME_FLAG=
39403
39404 case "${BAKEFILE_HOST}" in
39405 *-*-linux* )
39406 SONAME_FLAG="-Wl,-soname,"
39407 USE_SOVERSION=1
39408 USE_SOVERLINUX=1
39409 USE_SOSYMLINKS=1
39410 ;;
39411
39412 *-*-solaris2* )
39413 SONAME_FLAG="-h "
39414 USE_SOVERSION=1
39415 USE_SOVERSOLARIS=1
39416 USE_SOSYMLINKS=1
39417 ;;
39418
39419 *-*-darwin* )
39420 USE_MACVERSION=1
39421 USE_SOVERSION=1
39422 USE_SOSYMLINKS=1
39423 ;;
39424 esac
39425
39426
39427
39428
39429
39430
39431
39432
39433
39434 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
39435 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
39436 DEPS_TRACKING=0
39437
39438 if test "x$GCC" = "xyes"; then
39439 DEPSMODE=gcc
39440 DEPS_TRACKING=1
39441 case "${BAKEFILE_HOST}" in
39442 powerpc-*-darwin* )
39443 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
39444 ;;
39445 * )
39446 DEPSFLAG_GCC="-MMD"
39447 ;;
39448 esac
39449 echo "$as_me:$LINENO: result: gcc" >&5
39450 echo "${ECHO_T}gcc" >&6
39451 else
39452 echo "$as_me:$LINENO: result: none" >&5
39453 echo "${ECHO_T}none" >&6
39454 fi
39455
39456 if test $DEPS_TRACKING = 1 ; then
39457
39458 D='$'
39459 cat <<EOF >bk-deps
39460 #!/bin/sh
39461
39462 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39463 # script. It is used to track C/C++ files dependencies in portable way.
39464 #
39465 # Permission is given to use this file in any way.
39466
39467 DEPSMODE=${DEPSMODE}
39468 DEPSDIR=.deps
39469 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
39470
39471 mkdir -p ${D}DEPSDIR
39472
39473 if test ${D}DEPSMODE = gcc ; then
39474 ${D}* ${D}{DEPSFLAG_GCC}
39475 status=${D}?
39476 if test ${D}{status} != 0 ; then
39477 exit ${D}{status}
39478 fi
39479 # move created file to the location we want it in:
39480 while test ${D}# -gt 0; do
39481 case "${D}1" in
39482 -o )
39483 shift
39484 objfile=${D}1
39485 ;;
39486 -* )
39487 ;;
39488 * )
39489 srcfile=${D}1
39490 ;;
39491 esac
39492 shift
39493 done
39494 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
39495 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
39496 if test -f ${D}depfile ; then
39497 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39498 rm -f ${D}depfile
39499 else
39500 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
39501 if test -f ${D}depfile ; then
39502 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
39503 rm -f ${D}depfile
39504 fi
39505 fi
39506 exit 0
39507 else
39508 ${D}*
39509 exit ${D}?
39510 fi
39511 EOF
39512
39513 chmod +x bk-deps
39514 fi
39515
39516
39517
39518
39519 RESCOMP=
39520 SETFILE=
39521
39522 case ${BAKEFILE_HOST} in
39523 *-*-cygwin* | *-*-mingw32* )
39524 if test "$build" != "$host" ; then
39525 RESCOMP=$host_alias-windres
39526 else
39527 # Extract the first word of "windres", so it can be a program name with args.
39528 set dummy windres; ac_word=$2
39529 echo "$as_me:$LINENO: checking for $ac_word" >&5
39530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39531 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39532 echo $ECHO_N "(cached) $ECHO_C" >&6
39533 else
39534 if test -n "$RESCOMP"; then
39535 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39536 else
39537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39538 for as_dir in $PATH
39539 do
39540 IFS=$as_save_IFS
39541 test -z "$as_dir" && as_dir=.
39542 for ac_exec_ext in '' $ac_executable_extensions; do
39543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39544 ac_cv_prog_RESCOMP="windres"
39545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39546 break 2
39547 fi
39548 done
39549 done
39550
39551 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
39552 fi
39553 fi
39554 RESCOMP=$ac_cv_prog_RESCOMP
39555 if test -n "$RESCOMP"; then
39556 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39557 echo "${ECHO_T}$RESCOMP" >&6
39558 else
39559 echo "$as_me:$LINENO: result: no" >&5
39560 echo "${ECHO_T}no" >&6
39561 fi
39562
39563 fi
39564 ;;
39565
39566 *-*-darwin* )
39567 # Extract the first word of "Rez", so it can be a program name with args.
39568 set dummy Rez; ac_word=$2
39569 echo "$as_me:$LINENO: checking for $ac_word" >&5
39570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39571 if test "${ac_cv_prog_RESCOMP+set}" = set; then
39572 echo $ECHO_N "(cached) $ECHO_C" >&6
39573 else
39574 if test -n "$RESCOMP"; then
39575 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
39576 else
39577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39578 for as_dir in $PATH
39579 do
39580 IFS=$as_save_IFS
39581 test -z "$as_dir" && as_dir=.
39582 for ac_exec_ext in '' $ac_executable_extensions; do
39583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39584 ac_cv_prog_RESCOMP="Rez"
39585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39586 break 2
39587 fi
39588 done
39589 done
39590
39591 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
39592 fi
39593 fi
39594 RESCOMP=$ac_cv_prog_RESCOMP
39595 if test -n "$RESCOMP"; then
39596 echo "$as_me:$LINENO: result: $RESCOMP" >&5
39597 echo "${ECHO_T}$RESCOMP" >&6
39598 else
39599 echo "$as_me:$LINENO: result: no" >&5
39600 echo "${ECHO_T}no" >&6
39601 fi
39602
39603 # Extract the first word of "SetFile", so it can be a program name with args.
39604 set dummy SetFile; ac_word=$2
39605 echo "$as_me:$LINENO: checking for $ac_word" >&5
39606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39607 if test "${ac_cv_prog_SETFILE+set}" = set; then
39608 echo $ECHO_N "(cached) $ECHO_C" >&6
39609 else
39610 if test -n "$SETFILE"; then
39611 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39612 else
39613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39614 for as_dir in $PATH
39615 do
39616 IFS=$as_save_IFS
39617 test -z "$as_dir" && as_dir=.
39618 for ac_exec_ext in '' $ac_executable_extensions; do
39619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39620 ac_cv_prog_SETFILE="SetFile"
39621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39622 break 2
39623 fi
39624 done
39625 done
39626
39627 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39628 fi
39629 fi
39630 SETFILE=$ac_cv_prog_SETFILE
39631 if test -n "$SETFILE"; then
39632 echo "$as_me:$LINENO: result: $SETFILE" >&5
39633 echo "${ECHO_T}$SETFILE" >&6
39634 else
39635 echo "$as_me:$LINENO: result: no" >&5
39636 echo "${ECHO_T}no" >&6
39637 fi
39638
39639 ;;
39640 esac
39641
39642
39643
39644
39645
39646
39647
39648
39649 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
39650 if test "${enable_precomp_headers+set}" = set; then
39651 enableval="$enable_precomp_headers"
39652 bk_use_pch="$enableval"
39653 fi;
39654
39655 GCC_PCH=0
39656
39657 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39658 if test "x$GCC" = "xyes"; then
39659 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
39660 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
39661 cat >conftest.$ac_ext <<_ACEOF
39662 /* confdefs.h. */
39663 _ACEOF
39664 cat confdefs.h >>conftest.$ac_ext
39665 cat >>conftest.$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39667
39668 int
39669 main ()
39670 {
39671
39672 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39673 #error "no pch support"
39674 #endif
39675 #if (__GNUC__ < 3)
39676 #error "no pch support"
39677 #endif
39678 #if (__GNUC__ == 3) && \
39679 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39680 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
39681 #error "no pch support"
39682 #endif
39683
39684 ;
39685 return 0;
39686 }
39687 _ACEOF
39688 rm -f conftest.$ac_objext
39689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39690 (eval $ac_compile) 2>conftest.er1
39691 ac_status=$?
39692 grep -v '^ *+' conftest.er1 >conftest.err
39693 rm -f conftest.er1
39694 cat conftest.err >&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } &&
39697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39699 (eval $ac_try) 2>&5
39700 ac_status=$?
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); }; } &&
39703 { ac_try='test -s conftest.$ac_objext'
39704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39705 (eval $ac_try) 2>&5
39706 ac_status=$?
39707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39708 (exit $ac_status); }; }; then
39709
39710 echo "$as_me:$LINENO: result: yes" >&5
39711 echo "${ECHO_T}yes" >&6
39712 CPPFLAGS="-fpch-deps $CPPFLAGS"
39713 GCC_PCH=1
39714
39715 else
39716 echo "$as_me: failed program was:" >&5
39717 sed 's/^/| /' conftest.$ac_ext >&5
39718
39719
39720 echo "$as_me:$LINENO: result: no" >&5
39721 echo "${ECHO_T}no" >&6
39722
39723 fi
39724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39725 if test $GCC_PCH = 1 ; then
39726 cat <<EOF >bk-make-pch
39727 #!/bin/sh
39728
39729 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
39730 # script. It is used to generated precompiled headers.
39731 #
39732 # Permission is given to use this file in any way.
39733
39734 outfile="\${1}"
39735 header="\${2}"
39736 shift
39737 shift
39738
39739 compiler=
39740 headerfile=
39741 while test \${#} -gt 0; do
39742 case "\${1}" in
39743 -I* )
39744 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
39745 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
39746 headerfile="\${incdir}/\${header}"
39747 fi
39748 ;;
39749 esac
39750 compiler="\${compiler} \${1}"
39751 shift
39752 done
39753
39754 if test "x\${headerfile}" = "x" ; then
39755 echo "error: can't find header \${header} in include paths" >2
39756 else
39757 if test -f \${outfile} ; then
39758 rm -f \${outfile}
39759 else
39760 mkdir -p \`dirname \${outfile}\`
39761 fi
39762 depsfile=".deps/\`basename \${outfile}\`.d"
39763 mkdir -p .deps
39764 # can do this because gcc is >= 3.4:
39765 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
39766 exit \${?}
39767 fi
39768 EOF
39769 chmod +x bk-make-pch
39770 fi
39771 fi
39772 fi
39773
39774
39775
39776
39777
39778 COND_BUILD_DEBUG="#"
39779 if test "x$BUILD" = "xdebug" ; then
39780 COND_BUILD_DEBUG=""
39781 fi
39782
39783 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39784 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39785 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39786 fi
39787
39788 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39789 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39790 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39791 fi
39792
39793 COND_BUILD_DEBUG_UNICODE_0="#"
39794 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39795 COND_BUILD_DEBUG_UNICODE_0=""
39796 fi
39797
39798 COND_BUILD_DEBUG_UNICODE_1="#"
39799 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39800 COND_BUILD_DEBUG_UNICODE_1=""
39801 fi
39802
39803 COND_BUILD_RELEASE="#"
39804 if test "x$BUILD" = "xrelease" ; then
39805 COND_BUILD_RELEASE=""
39806 fi
39807
39808 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39809 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39810 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39811 fi
39812
39813 COND_BUILD_RELEASE_UNICODE_0="#"
39814 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39815 COND_BUILD_RELEASE_UNICODE_0=""
39816 fi
39817
39818 COND_BUILD_RELEASE_UNICODE_1="#"
39819 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39820 COND_BUILD_RELEASE_UNICODE_1=""
39821 fi
39822
39823 COND_DEBUG_FLAG_1="#"
39824 if test "x$DEBUG_FLAG" = "x1" ; then
39825 COND_DEBUG_FLAG_1=""
39826 fi
39827
39828 COND_DEBUG_INFO_0="#"
39829 if test "x$DEBUG_INFO" = "x0" ; then
39830 COND_DEBUG_INFO_0=""
39831 fi
39832
39833 COND_DEBUG_INFO_1="#"
39834 if test "x$DEBUG_INFO" = "x1" ; then
39835 COND_DEBUG_INFO_1=""
39836 fi
39837
39838 COND_DEPS_TRACKING_0="#"
39839 if test "x$DEPS_TRACKING" = "x0" ; then
39840 COND_DEPS_TRACKING_0=""
39841 fi
39842
39843 COND_DEPS_TRACKING_1="#"
39844 if test "x$DEPS_TRACKING" = "x1" ; then
39845 COND_DEPS_TRACKING_1=""
39846 fi
39847
39848 COND_GCC_PCH_1="#"
39849 if test "x$GCC_PCH" = "x1" ; then
39850 COND_GCC_PCH_1=""
39851 fi
39852
39853 COND_MONOLITHIC_0="#"
39854 if test "x$MONOLITHIC" = "x0" ; then
39855 COND_MONOLITHIC_0=""
39856 fi
39857
39858 COND_MONOLITHIC_0_SHARED_0="#"
39859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39860 COND_MONOLITHIC_0_SHARED_0=""
39861 fi
39862
39863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39866 fi
39867
39868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
39869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39870 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
39871 fi
39872
39873 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
39874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
39875 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
39876 fi
39877
39878 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
39879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
39880 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
39881 fi
39882
39883 COND_MONOLITHIC_0_SHARED_1="#"
39884 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39885 COND_MONOLITHIC_0_SHARED_1=""
39886 fi
39887
39888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39889 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39891 fi
39892
39893 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
39894 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
39895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
39896 fi
39897
39898 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
39899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
39900 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
39901 fi
39902
39903 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
39904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
39905 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
39906 fi
39907
39908 COND_MONOLITHIC_0_USE_ODBC_1="#"
39909 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
39910 COND_MONOLITHIC_0_USE_ODBC_1=""
39911 fi
39912
39913 COND_MONOLITHIC_1="#"
39914 if test "x$MONOLITHIC" = "x1" ; then
39915 COND_MONOLITHIC_1=""
39916 fi
39917
39918 COND_MONOLITHIC_1_SHARED_0="#"
39919 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39920 COND_MONOLITHIC_1_SHARED_0=""
39921 fi
39922
39923 COND_MONOLITHIC_1_SHARED_1="#"
39924 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39925 COND_MONOLITHIC_1_SHARED_1=""
39926 fi
39927
39928 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39929 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39930 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39931 fi
39932
39933 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39934 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39935 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39936 fi
39937
39938 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39939 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39940 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39941 fi
39942
39943 COND_PLATFORM_MACOSX_1="#"
39944 if test "x$PLATFORM_MACOSX" = "x1" ; then
39945 COND_PLATFORM_MACOSX_1=""
39946 fi
39947
39948 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
39949 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
39950 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
39951 fi
39952
39953 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
39954 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
39955 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
39956 fi
39957
39958 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
39959 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
39960 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
39961 fi
39962
39963 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39964 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39965 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39966 fi
39967
39968 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39970 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39971 fi
39972
39973 COND_PLATFORM_MAC_1="#"
39974 if test "x$PLATFORM_MAC" = "x1" ; then
39975 COND_PLATFORM_MAC_1=""
39976 fi
39977
39978 COND_PLATFORM_OS2_1="#"
39979 if test "x$PLATFORM_OS2" = "x1" ; then
39980 COND_PLATFORM_OS2_1=""
39981 fi
39982
39983 COND_PLATFORM_UNIX_0="#"
39984 if test "x$PLATFORM_UNIX" = "x0" ; then
39985 COND_PLATFORM_UNIX_0=""
39986 fi
39987
39988 COND_PLATFORM_UNIX_1="#"
39989 if test "x$PLATFORM_UNIX" = "x1" ; then
39990 COND_PLATFORM_UNIX_1=""
39991 fi
39992
39993 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39994 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39995 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39996 fi
39997
39998 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39999 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40000 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40001 fi
40002
40003 COND_PLATFORM_WIN32_0="#"
40004 if test "x$PLATFORM_WIN32" = "x0" ; then
40005 COND_PLATFORM_WIN32_0=""
40006 fi
40007
40008 COND_PLATFORM_WIN32_1="#"
40009 if test "x$PLATFORM_WIN32" = "x1" ; then
40010 COND_PLATFORM_WIN32_1=""
40011 fi
40012
40013 COND_SHARED_0="#"
40014 if test "x$SHARED" = "x0" ; then
40015 COND_SHARED_0=""
40016 fi
40017
40018 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40019 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40020 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40021 fi
40022
40023 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40024 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40025 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40026 fi
40027
40028 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40029 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40030 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40031 fi
40032
40033 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40034 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40035 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40036 fi
40037
40038 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
40039 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40040 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
40041 fi
40042
40043 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
40044 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
40045 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
40046 fi
40047
40048 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
40049 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40050 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
40051 fi
40052
40053 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
40054 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40055 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
40056 fi
40057
40058 COND_SHARED_1="#"
40059 if test "x$SHARED" = "x1" ; then
40060 COND_SHARED_1=""
40061 fi
40062
40063 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40064 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40065 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40066 fi
40067
40068 COND_TOOLKIT_COCOA="#"
40069 if test "x$TOOLKIT" = "xCOCOA" ; then
40070 COND_TOOLKIT_COCOA=""
40071 fi
40072
40073 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40074 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40075 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40076 fi
40077
40078 COND_TOOLKIT_GTK="#"
40079 if test "x$TOOLKIT" = "xGTK" ; then
40080 COND_TOOLKIT_GTK=""
40081 fi
40082
40083 COND_TOOLKIT_GTK_USE_GUI_1="#"
40084 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40085 COND_TOOLKIT_GTK_USE_GUI_1=""
40086 fi
40087
40088 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
40089 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40090 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
40091 fi
40092
40093 COND_TOOLKIT_MAC="#"
40094 if test "x$TOOLKIT" = "xMAC" ; then
40095 COND_TOOLKIT_MAC=""
40096 fi
40097
40098 COND_TOOLKIT_MAC_USE_GUI_1="#"
40099 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
40100 COND_TOOLKIT_MAC_USE_GUI_1=""
40101 fi
40102
40103 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
40104 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40105 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
40106 fi
40107
40108 COND_TOOLKIT_MGL="#"
40109 if test "x$TOOLKIT" = "xMGL" ; then
40110 COND_TOOLKIT_MGL=""
40111 fi
40112
40113 COND_TOOLKIT_MGL_USE_GUI_1="#"
40114 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
40115 COND_TOOLKIT_MGL_USE_GUI_1=""
40116 fi
40117
40118 COND_TOOLKIT_MOTIF="#"
40119 if test "x$TOOLKIT" = "xMOTIF" ; then
40120 COND_TOOLKIT_MOTIF=""
40121 fi
40122
40123 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40124 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40125 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40126 fi
40127
40128 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40129 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40130 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40131 fi
40132
40133 COND_TOOLKIT_MSW="#"
40134 if test "x$TOOLKIT" = "xMSW" ; then
40135 COND_TOOLKIT_MSW=""
40136 fi
40137
40138 COND_TOOLKIT_MSW_USE_GUI_1="#"
40139 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40140 COND_TOOLKIT_MSW_USE_GUI_1=""
40141 fi
40142
40143 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40144 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40145 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40146 fi
40147
40148 COND_TOOLKIT_PM="#"
40149 if test "x$TOOLKIT" = "xPM" ; then
40150 COND_TOOLKIT_PM=""
40151 fi
40152
40153 COND_TOOLKIT_PM_USE_GUI_1="#"
40154 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40155 COND_TOOLKIT_PM_USE_GUI_1=""
40156 fi
40157
40158 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40159 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40160 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40161 fi
40162
40163 COND_TOOLKIT_WINCE="#"
40164 if test "x$TOOLKIT" = "xWINCE" ; then
40165 COND_TOOLKIT_WINCE=""
40166 fi
40167
40168 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40169 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40170 COND_TOOLKIT_WINCE_USE_GUI_1=""
40171 fi
40172
40173 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40174 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40175 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40176 fi
40177
40178 COND_TOOLKIT_X11="#"
40179 if test "x$TOOLKIT" = "xX11" ; then
40180 COND_TOOLKIT_X11=""
40181 fi
40182
40183 COND_TOOLKIT_X11_USE_GUI_1="#"
40184 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40185 COND_TOOLKIT_X11_USE_GUI_1=""
40186 fi
40187
40188 COND_UNICODE_1="#"
40189 if test "x$UNICODE" = "x1" ; then
40190 COND_UNICODE_1=""
40191 fi
40192
40193 COND_USE_EXCEPTIONS_0="#"
40194 if test "x$USE_EXCEPTIONS" = "x0" ; then
40195 COND_USE_EXCEPTIONS_0=""
40196 fi
40197
40198 COND_USE_EXCEPTIONS_1="#"
40199 if test "x$USE_EXCEPTIONS" = "x1" ; then
40200 COND_USE_EXCEPTIONS_1=""
40201 fi
40202
40203 COND_USE_GUI_0="#"
40204 if test "x$USE_GUI" = "x0" ; then
40205 COND_USE_GUI_0=""
40206 fi
40207
40208 COND_USE_GUI_1="#"
40209 if test "x$USE_GUI" = "x1" ; then
40210 COND_USE_GUI_1=""
40211 fi
40212
40213 COND_USE_GUI_1_WXUNIV_0="#"
40214 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40215 COND_USE_GUI_1_WXUNIV_0=""
40216 fi
40217
40218 COND_USE_GUI_1_WXUNIV_1="#"
40219 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40220 COND_USE_GUI_1_WXUNIV_1=""
40221 fi
40222
40223 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40224 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40225 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40226 fi
40227
40228 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40229 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40230 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40231 fi
40232
40233 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40234 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40235 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40236 fi
40237
40238 COND_USE_ODBC_1="#"
40239 if test "x$USE_ODBC" = "x1" ; then
40240 COND_USE_ODBC_1=""
40241 fi
40242
40243 COND_USE_PLUGINS_0="#"
40244 if test "x$USE_PLUGINS" = "x0" ; then
40245 COND_USE_PLUGINS_0=""
40246 fi
40247
40248 COND_USE_SOSYMLINKS_1="#"
40249 if test "x$USE_SOSYMLINKS" = "x1" ; then
40250 COND_USE_SOSYMLINKS_1=""
40251 fi
40252
40253 COND_USE_SOVERLINUX_1="#"
40254 if test "x$USE_SOVERLINUX" = "x1" ; then
40255 COND_USE_SOVERLINUX_1=""
40256 fi
40257
40258 COND_USE_SOVERSION_0="#"
40259 if test "x$USE_SOVERSION" = "x0" ; then
40260 COND_USE_SOVERSION_0=""
40261 fi
40262
40263 COND_USE_SOVERSOLARIS_1="#"
40264 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40265 COND_USE_SOVERSOLARIS_1=""
40266 fi
40267
40268 COND_WITH_PLUGIN_SDL_1="#"
40269 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40270 COND_WITH_PLUGIN_SDL_1=""
40271 fi
40272
40273 COND_WITH_SDL_1="#"
40274 if test "x$WITH_SDL" = "x1" ; then
40275 COND_WITH_SDL_1=""
40276 fi
40277
40278 COND_WXUNIV_1="#"
40279 if test "x$WXUNIV" = "x1" ; then
40280 COND_WXUNIV_1=""
40281 fi
40282
40283 COND_WXUSE_EXPAT_BUILTIN="#"
40284 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40285 COND_WXUSE_EXPAT_BUILTIN=""
40286 fi
40287
40288 COND_WXUSE_LIBJPEG_BUILTIN="#"
40289 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40290 COND_WXUSE_LIBJPEG_BUILTIN=""
40291 fi
40292
40293 COND_WXUSE_LIBPNG_BUILTIN="#"
40294 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40295 COND_WXUSE_LIBPNG_BUILTIN=""
40296 fi
40297
40298 COND_WXUSE_LIBTIFF_BUILTIN="#"
40299 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40300 COND_WXUSE_LIBTIFF_BUILTIN=""
40301 fi
40302
40303 COND_WXUSE_ODBC_BUILTIN="#"
40304 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
40305 COND_WXUSE_ODBC_BUILTIN=""
40306 fi
40307
40308 COND_WXUSE_REGEX_BUILTIN="#"
40309 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40310 COND_WXUSE_REGEX_BUILTIN=""
40311 fi
40312
40313 COND_WXUSE_ZLIB_BUILTIN="#"
40314 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40315 COND_WXUSE_ZLIB_BUILTIN=""
40316 fi
40317
40318
40319
40320
40321
40322 if test $GCC_PCH = 1 ; then
40323 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
40324 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
40325 else
40326 case "${host}" in
40327 powerpc-*-darwin* )
40328 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
40329 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
40330 ;;
40331 esac
40332 fi
40333
40334
40335 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40336
40337
40338
40339
40340
40341
40342
40343
40344
40345
40346
40347
40348
40349
40350
40351
40352
40353
40354
40355
40356
40357
40358
40359
40360
40361
40362
40363
40364
40365
40366
40367
40368
40369
40370
40371
40372
40373
40374
40375
40376
40377
40378
40379
40380
40381
40382
40383
40384
40385
40386
40387
40388
40389
40390
40391
40392
40393
40394
40395
40396
40397
40398
40399
40400
40401
40402
40403
40404
40405
40406
40407
40408
40409
40410
40411
40412
40413
40414
40415
40416
40417
40418
40419
40420
40421
40422
40423
40424
40425
40426
40427
40428
40429
40430
40431
40432
40433
40434
40435
40436 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40437 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
40438 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
40439 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40441 else
40442 cat >conftest.make <<\_ACEOF
40443 all:
40444 @echo 'ac_maketemp="$(MAKE)"'
40445 _ACEOF
40446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40447 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
40448 if test -n "$ac_maketemp"; then
40449 eval ac_cv_prog_make_${ac_make}_set=yes
40450 else
40451 eval ac_cv_prog_make_${ac_make}_set=no
40452 fi
40453 rm -f conftest.make
40454 fi
40455 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
40456 echo "$as_me:$LINENO: result: yes" >&5
40457 echo "${ECHO_T}yes" >&6
40458 SET_MAKE=
40459 else
40460 echo "$as_me:$LINENO: result: no" >&5
40461 echo "${ECHO_T}no" >&6
40462 SET_MAKE="MAKE=${MAKE-make}"
40463 fi
40464
40465
40466 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
40467 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
40468 fi
40469
40470 ac_config_headers="$ac_config_headers setup.h"
40471
40472
40473 ac_config_files="$ac_config_files wx-config version-script Makefile"
40474
40475
40476 ac_config_commands="$ac_config_commands default"
40477
40478
40479
40480 if test "$wxUSE_GUI" = "yes"; then
40481 SUBDIRS="samples demos utils contrib"
40482 else SUBDIRS="samples utils"
40483 fi
40484
40485
40486
40487 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
40488 if test "${with_cppunit_prefix+set}" = set; then
40489 withval="$with_cppunit_prefix"
40490 cppunit_config_prefix="$withval"
40491 else
40492 cppunit_config_prefix=""
40493 fi;
40494
40495 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
40496 if test "${with_cppunit_exec_prefix+set}" = set; then
40497 withval="$with_cppunit_exec_prefix"
40498 cppunit_config_exec_prefix="$withval"
40499 else
40500 cppunit_config_exec_prefix=""
40501 fi;
40502
40503 if test x$cppunit_config_exec_prefix != x ; then
40504 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40505 if test x${CPPUNIT_CONFIG+set} != xset ; then
40506 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40507 fi
40508 fi
40509 if test x$cppunit_config_prefix != x ; then
40510 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40511 if test x${CPPUNIT_CONFIG+set} != xset ; then
40512 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40513 fi
40514 fi
40515
40516 # Extract the first word of "cppunit-config", so it can be a program name with args.
40517 set dummy cppunit-config; ac_word=$2
40518 echo "$as_me:$LINENO: checking for $ac_word" >&5
40519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40520 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
40521 echo $ECHO_N "(cached) $ECHO_C" >&6
40522 else
40523 case $CPPUNIT_CONFIG in
40524 [\\/]* | ?:[\\/]*)
40525 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40526 ;;
40527 *)
40528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40529 for as_dir in $PATH
40530 do
40531 IFS=$as_save_IFS
40532 test -z "$as_dir" && as_dir=.
40533 for ac_exec_ext in '' $ac_executable_extensions; do
40534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40535 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40537 break 2
40538 fi
40539 done
40540 done
40541
40542 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40543 ;;
40544 esac
40545 fi
40546 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40547
40548 if test -n "$CPPUNIT_CONFIG"; then
40549 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
40550 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
40551 else
40552 echo "$as_me:$LINENO: result: no" >&5
40553 echo "${ECHO_T}no" >&6
40554 fi
40555
40556 cppunit_version_min=1.8.0
40557
40558 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
40559 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
40560 no_cppunit=""
40561 if test "$CPPUNIT_CONFIG" = "no" ; then
40562 no_cppunit=yes
40563 else
40564 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40565 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40566 cppunit_version=`$CPPUNIT_CONFIG --version`
40567
40568 cppunit_major_version=`echo $cppunit_version | \
40569 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40570 cppunit_minor_version=`echo $cppunit_version | \
40571 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40572 cppunit_micro_version=`echo $cppunit_version | \
40573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40574
40575 cppunit_major_min=`echo $cppunit_version_min | \
40576 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40577 cppunit_minor_min=`echo $cppunit_version_min | \
40578 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40579 cppunit_micro_min=`echo $cppunit_version_min | \
40580 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40581
40582 cppunit_version_proper=`expr \
40583 $cppunit_major_version \> $cppunit_major_min \| \
40584 $cppunit_major_version \= $cppunit_major_min \& \
40585 $cppunit_minor_version \> $cppunit_minor_min \| \
40586 $cppunit_major_version \= $cppunit_major_min \& \
40587 $cppunit_minor_version \= $cppunit_minor_min \& \
40588 $cppunit_micro_version \>= $cppunit_micro_min `
40589
40590 if test "$cppunit_version_proper" = "1" ; then
40591 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40592 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
40593 else
40594 echo "$as_me:$LINENO: result: no" >&5
40595 echo "${ECHO_T}no" >&6
40596 no_cppunit=yes
40597 fi
40598 fi
40599
40600 if test "x$no_cppunit" = x ; then
40601 SUBDIRS="$SUBDIRS tests"
40602 else
40603 CPPUNIT_CFLAGS=""
40604 CPPUNIT_LIBS=""
40605 :
40606 fi
40607
40608
40609
40610
40611
40612 for subdir in `echo $SUBDIRS`; do
40613 if test -d ${srcdir}/${subdir} ; then
40614 if test "$wxUSE_GUI" = "yes"; then
40615 if test ${subdir} = "samples"; then
40616 makefiles="samples/Makefile.in $makefiles"
40617 for sample in `echo $SAMPLES_SUBDIRS`; do
40618 if test -d $srcdir/samples/$sample; then
40619 makefiles="samples/$sample/Makefile.in $makefiles"
40620 fi
40621 done
40622 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40623 fi
40624 else if test ${subdir} = "samples"; then
40625 makefiles="samples/Makefile.in samples/console/Makefile.in"
40626 elif test ${subdir} = "utils"; then
40627 makefiles="utils/HelpGen/Makefile.in \
40628 utils/HelpGen/src/Makefile.in \
40629 utils/tex2rtf/Makefile.in \
40630 utils/tex2rtf/src/Makefile.in"
40631 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40632 fi
40633 fi
40634
40635 for mkin in $makefiles ; do
40636 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40637 ac_config_files="$ac_config_files $mk"
40638
40639 done
40640 fi
40641 done
40642
40643
40644 cat >confcache <<\_ACEOF
40645 # This file is a shell script that caches the results of configure
40646 # tests run on this system so they can be shared between configure
40647 # scripts and configure runs, see configure's option --config-cache.
40648 # It is not useful on other systems. If it contains results you don't
40649 # want to keep, you may remove or edit it.
40650 #
40651 # config.status only pays attention to the cache file if you give it
40652 # the --recheck option to rerun configure.
40653 #
40654 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40655 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40656 # following values.
40657
40658 _ACEOF
40659
40660 # The following way of writing the cache mishandles newlines in values,
40661 # but we know of no workaround that is simple, portable, and efficient.
40662 # So, don't put newlines in cache variables' values.
40663 # Ultrix sh set writes to stderr and can't be redirected directly,
40664 # and sets the high bit in the cache file unless we assign to the vars.
40665 {
40666 (set) 2>&1 |
40667 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40668 *ac_space=\ *)
40669 # `set' does not quote correctly, so add quotes (double-quote
40670 # substitution turns \\\\ into \\, and sed turns \\ into \).
40671 sed -n \
40672 "s/'/'\\\\''/g;
40673 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40674 ;;
40675 *)
40676 # `set' quotes correctly as required by POSIX, so do not add quotes.
40677 sed -n \
40678 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40679 ;;
40680 esac;
40681 } |
40682 sed '
40683 t clear
40684 : clear
40685 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40686 t end
40687 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40688 : end' >>confcache
40689 if diff $cache_file confcache >/dev/null 2>&1; then :; else
40690 if test -w $cache_file; then
40691 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40692 cat confcache >$cache_file
40693 else
40694 echo "not updating unwritable cache $cache_file"
40695 fi
40696 fi
40697 rm -f confcache
40698
40699 test "x$prefix" = xNONE && prefix=$ac_default_prefix
40700 # Let make expand exec_prefix.
40701 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
40702
40703 # VPATH may cause trouble with some makes, so we remove $(srcdir),
40704 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
40705 # trailing colons and then remove the whole line if VPATH becomes empty
40706 # (actually we leave an empty line to preserve line numbers).
40707 if test "x$srcdir" = x.; then
40708 ac_vpsub='/^[ ]*VPATH[ ]*=/{
40709 s/:*\$(srcdir):*/:/;
40710 s/:*\${srcdir}:*/:/;
40711 s/:*@srcdir@:*/:/;
40712 s/^\([^=]*=[ ]*\):*/\1/;
40713 s/:*$//;
40714 s/^[^=]*=[ ]*$//;
40715 }'
40716 fi
40717
40718 DEFS=-DHAVE_CONFIG_H
40719
40720 ac_libobjs=
40721 ac_ltlibobjs=
40722 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40723 # 1. Remove the extension, and $U if already installed.
40724 ac_i=`echo "$ac_i" |
40725 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
40726 # 2. Add them.
40727 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
40728 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
40729 done
40730 LIBOBJS=$ac_libobjs
40731
40732 LTLIBOBJS=$ac_ltlibobjs
40733
40734
40735
40736 : ${CONFIG_STATUS=./config.status}
40737 ac_clean_files_save=$ac_clean_files
40738 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
40739 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
40740 echo "$as_me: creating $CONFIG_STATUS" >&6;}
40741 cat >$CONFIG_STATUS <<_ACEOF
40742 #! $SHELL
40743 # Generated by $as_me.
40744 # Run this file to recreate the current configuration.
40745 # Compiler output produced by configure, useful for debugging
40746 # configure, is in config.log if it exists.
40747
40748 debug=false
40749 ac_cs_recheck=false
40750 ac_cs_silent=false
40751 SHELL=\${CONFIG_SHELL-$SHELL}
40752 _ACEOF
40753
40754 cat >>$CONFIG_STATUS <<\_ACEOF
40755 ## --------------------- ##
40756 ## M4sh Initialization. ##
40757 ## --------------------- ##
40758
40759 # Be Bourne compatible
40760 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
40761 emulate sh
40762 NULLCMD=:
40763 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
40764 # is contrary to our usage. Disable this feature.
40765 alias -g '${1+"$@"}'='"$@"'
40766 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
40767 set -o posix
40768 fi
40769 DUALCASE=1; export DUALCASE # for MKS sh
40770
40771 # Support unset when possible.
40772 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
40773 as_unset=unset
40774 else
40775 as_unset=false
40776 fi
40777
40778
40779 # Work around bugs in pre-3.0 UWIN ksh.
40780 $as_unset ENV MAIL MAILPATH
40781 PS1='$ '
40782 PS2='> '
40783 PS4='+ '
40784
40785 # NLS nuisances.
40786 for as_var in \
40787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
40788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
40789 LC_TELEPHONE LC_TIME
40790 do
40791 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
40792 eval $as_var=C; export $as_var
40793 else
40794 $as_unset $as_var
40795 fi
40796 done
40797
40798 # Required to use basename.
40799 if expr a : '\(a\)' >/dev/null 2>&1; then
40800 as_expr=expr
40801 else
40802 as_expr=false
40803 fi
40804
40805 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
40806 as_basename=basename
40807 else
40808 as_basename=false
40809 fi
40810
40811
40812 # Name of the executable.
40813 as_me=`$as_basename "$0" ||
40814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
40815 X"$0" : 'X\(//\)$' \| \
40816 X"$0" : 'X\(/\)$' \| \
40817 . : '\(.\)' 2>/dev/null ||
40818 echo X/"$0" |
40819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
40820 /^X\/\(\/\/\)$/{ s//\1/; q; }
40821 /^X\/\(\/\).*/{ s//\1/; q; }
40822 s/.*/./; q'`
40823
40824
40825 # PATH needs CR, and LINENO needs CR and PATH.
40826 # Avoid depending upon Character Ranges.
40827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
40828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
40829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40830 as_cr_digits='0123456789'
40831 as_cr_alnum=$as_cr_Letters$as_cr_digits
40832
40833 # The user is always right.
40834 if test "${PATH_SEPARATOR+set}" != set; then
40835 echo "#! /bin/sh" >conf$$.sh
40836 echo "exit 0" >>conf$$.sh
40837 chmod +x conf$$.sh
40838 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40839 PATH_SEPARATOR=';'
40840 else
40841 PATH_SEPARATOR=:
40842 fi
40843 rm -f conf$$.sh
40844 fi
40845
40846
40847 as_lineno_1=$LINENO
40848 as_lineno_2=$LINENO
40849 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40850 test "x$as_lineno_1" != "x$as_lineno_2" &&
40851 test "x$as_lineno_3" = "x$as_lineno_2" || {
40852 # Find who we are. Look in the path if we contain no path at all
40853 # relative or not.
40854 case $0 in
40855 *[\\/]* ) as_myself=$0 ;;
40856 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40857 for as_dir in $PATH
40858 do
40859 IFS=$as_save_IFS
40860 test -z "$as_dir" && as_dir=.
40861 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40862 done
40863
40864 ;;
40865 esac
40866 # We did not find ourselves, most probably we were run as `sh COMMAND'
40867 # in which case we are not to be found in the path.
40868 if test "x$as_myself" = x; then
40869 as_myself=$0
40870 fi
40871 if test ! -f "$as_myself"; then
40872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
40873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
40874 { (exit 1); exit 1; }; }
40875 fi
40876 case $CONFIG_SHELL in
40877 '')
40878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40879 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
40880 do
40881 IFS=$as_save_IFS
40882 test -z "$as_dir" && as_dir=.
40883 for as_base in sh bash ksh sh5; do
40884 case $as_dir in
40885 /*)
40886 if ("$as_dir/$as_base" -c '
40887 as_lineno_1=$LINENO
40888 as_lineno_2=$LINENO
40889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
40890 test "x$as_lineno_1" != "x$as_lineno_2" &&
40891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
40892 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
40893 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
40894 CONFIG_SHELL=$as_dir/$as_base
40895 export CONFIG_SHELL
40896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
40897 fi;;
40898 esac
40899 done
40900 done
40901 ;;
40902 esac
40903
40904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
40905 # uniformly replaced by the line number. The first 'sed' inserts a
40906 # line-number line before each line; the second 'sed' does the real
40907 # work. The second script uses 'N' to pair each line-number line
40908 # with the numbered line, and appends trailing '-' during
40909 # substitution so that $LINENO is not a special case at line end.
40910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
40911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
40912 sed '=' <$as_myself |
40913 sed '
40914 N
40915 s,$,-,
40916 : loop
40917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
40918 t loop
40919 s,-$,,
40920 s,^['$as_cr_digits']*\n,,
40921 ' >$as_me.lineno &&
40922 chmod +x $as_me.lineno ||
40923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
40924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
40925 { (exit 1); exit 1; }; }
40926
40927 # Don't try to exec as it changes $[0], causing all sort of problems
40928 # (the dirname of $[0] is not the place where we might find the
40929 # original and so on. Autoconf is especially sensible to this).
40930 . ./$as_me.lineno
40931 # Exit status is that of the last command.
40932 exit
40933 }
40934
40935
40936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
40937 *c*,-n*) ECHO_N= ECHO_C='
40938 ' ECHO_T=' ' ;;
40939 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
40940 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
40941 esac
40942
40943 if expr a : '\(a\)' >/dev/null 2>&1; then
40944 as_expr=expr
40945 else
40946 as_expr=false
40947 fi
40948
40949 rm -f conf$$ conf$$.exe conf$$.file
40950 echo >conf$$.file
40951 if ln -s conf$$.file conf$$ 2>/dev/null; then
40952 # We could just check for DJGPP; but this test a) works b) is more generic
40953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
40954 if test -f conf$$.exe; then
40955 # Don't use ln at all; we don't have any links
40956 as_ln_s='cp -p'
40957 else
40958 as_ln_s='ln -s'
40959 fi
40960 elif ln conf$$.file conf$$ 2>/dev/null; then
40961 as_ln_s=ln
40962 else
40963 as_ln_s='cp -p'
40964 fi
40965 rm -f conf$$ conf$$.exe conf$$.file
40966
40967 if mkdir -p . 2>/dev/null; then
40968 as_mkdir_p=:
40969 else
40970 test -d ./-p && rmdir ./-p
40971 as_mkdir_p=false
40972 fi
40973
40974 as_executable_p="test -f"
40975
40976 # Sed expression to map a string onto a valid CPP name.
40977 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
40978
40979 # Sed expression to map a string onto a valid variable name.
40980 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
40981
40982
40983 # IFS
40984 # We need space, tab and new line, in precisely that order.
40985 as_nl='
40986 '
40987 IFS=" $as_nl"
40988
40989 # CDPATH.
40990 $as_unset CDPATH
40991
40992 exec 6>&1
40993
40994 # Open the log real soon, to keep \$[0] and so on meaningful, and to
40995 # report actual input values of CONFIG_FILES etc. instead of their
40996 # values after options handling. Logging --version etc. is OK.
40997 exec 5>>config.log
40998 {
40999 echo
41000 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41001 ## Running $as_me. ##
41002 _ASBOX
41003 } >&5
41004 cat >&5 <<_CSEOF
41005
41006 This file was extended by wxWindows $as_me 2.5.1, which was
41007 generated by GNU Autoconf 2.58. Invocation command line was
41008
41009 CONFIG_FILES = $CONFIG_FILES
41010 CONFIG_HEADERS = $CONFIG_HEADERS
41011 CONFIG_LINKS = $CONFIG_LINKS
41012 CONFIG_COMMANDS = $CONFIG_COMMANDS
41013 $ $0 $@
41014
41015 _CSEOF
41016 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
41017 echo >&5
41018 _ACEOF
41019
41020 # Files that config.status was made for.
41021 if test -n "$ac_config_files"; then
41022 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
41023 fi
41024
41025 if test -n "$ac_config_headers"; then
41026 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
41027 fi
41028
41029 if test -n "$ac_config_links"; then
41030 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
41031 fi
41032
41033 if test -n "$ac_config_commands"; then
41034 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
41035 fi
41036
41037 cat >>$CONFIG_STATUS <<\_ACEOF
41038
41039 ac_cs_usage="\
41040 \`$as_me' instantiates files from templates according to the
41041 current configuration.
41042
41043 Usage: $0 [OPTIONS] [FILE]...
41044
41045 -h, --help print this help, then exit
41046 -V, --version print version number, then exit
41047 -q, --quiet do not print progress messages
41048 -d, --debug don't remove temporary files
41049 --recheck update $as_me by reconfiguring in the same conditions
41050 --file=FILE[:TEMPLATE]
41051 instantiate the configuration file FILE
41052 --header=FILE[:TEMPLATE]
41053 instantiate the configuration header FILE
41054
41055 Configuration files:
41056 $config_files
41057
41058 Configuration headers:
41059 $config_headers
41060
41061 Configuration commands:
41062 $config_commands
41063
41064 Report bugs to <bug-autoconf@gnu.org>."
41065 _ACEOF
41066
41067 cat >>$CONFIG_STATUS <<_ACEOF
41068 ac_cs_version="\\
41069 wxWindows config.status 2.5.1
41070 configured by $0, generated by GNU Autoconf 2.58,
41071 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
41072
41073 Copyright (C) 2003 Free Software Foundation, Inc.
41074 This config.status script is free software; the Free Software Foundation
41075 gives unlimited permission to copy, distribute and modify it."
41076 srcdir=$srcdir
41077 INSTALL="$INSTALL"
41078 _ACEOF
41079
41080 cat >>$CONFIG_STATUS <<\_ACEOF
41081 # If no file are specified by the user, then we need to provide default
41082 # value. By we need to know if files were specified by the user.
41083 ac_need_defaults=:
41084 while test $# != 0
41085 do
41086 case $1 in
41087 --*=*)
41088 ac_option=`expr "x$1" : 'x\([^=]*\)='`
41089 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
41090 ac_shift=:
41091 ;;
41092 -*)
41093 ac_option=$1
41094 ac_optarg=$2
41095 ac_shift=shift
41096 ;;
41097 *) # This is not an option, so the user has probably given explicit
41098 # arguments.
41099 ac_option=$1
41100 ac_need_defaults=false;;
41101 esac
41102
41103 case $ac_option in
41104 # Handling of the options.
41105 _ACEOF
41106 cat >>$CONFIG_STATUS <<\_ACEOF
41107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41108 ac_cs_recheck=: ;;
41109 --version | --vers* | -V )
41110 echo "$ac_cs_version"; exit 0 ;;
41111 --he | --h)
41112 # Conflict between --help and --header
41113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
41114 Try \`$0 --help' for more information." >&5
41115 echo "$as_me: error: ambiguous option: $1
41116 Try \`$0 --help' for more information." >&2;}
41117 { (exit 1); exit 1; }; };;
41118 --help | --hel | -h )
41119 echo "$ac_cs_usage"; exit 0 ;;
41120 --debug | --d* | -d )
41121 debug=: ;;
41122 --file | --fil | --fi | --f )
41123 $ac_shift
41124 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
41125 ac_need_defaults=false;;
41126 --header | --heade | --head | --hea )
41127 $ac_shift
41128 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
41129 ac_need_defaults=false;;
41130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41132 ac_cs_silent=: ;;
41133
41134 # This is an error.
41135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
41136 Try \`$0 --help' for more information." >&5
41137 echo "$as_me: error: unrecognized option: $1
41138 Try \`$0 --help' for more information." >&2;}
41139 { (exit 1); exit 1; }; } ;;
41140
41141 *) ac_config_targets="$ac_config_targets $1" ;;
41142
41143 esac
41144 shift
41145 done
41146
41147 ac_configure_extra_args=
41148
41149 if $ac_cs_silent; then
41150 exec 6>/dev/null
41151 ac_configure_extra_args="$ac_configure_extra_args --silent"
41152 fi
41153
41154 _ACEOF
41155 cat >>$CONFIG_STATUS <<_ACEOF
41156 if \$ac_cs_recheck; then
41157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
41158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41159 fi
41160
41161 _ACEOF
41162
41163 cat >>$CONFIG_STATUS <<_ACEOF
41164 #
41165 # INIT-COMMANDS section.
41166 #
41167
41168
41169 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
41170 LN_S="${LN_S}"
41171
41172
41173
41174 _ACEOF
41175
41176
41177
41178 cat >>$CONFIG_STATUS <<\_ACEOF
41179 for ac_config_target in $ac_config_targets
41180 do
41181 case "$ac_config_target" in
41182 # Handling of arguments.
41183 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
41184 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
41185 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41186 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
41187 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
41188 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
41189 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
41190 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
41191 { (exit 1); exit 1; }; };;
41192 esac
41193 done
41194
41195 # If the user did not use the arguments to specify the items to instantiate,
41196 # then the envvar interface is used. Set only those that are not.
41197 # We use the long form for the default assignment because of an extremely
41198 # bizarre bug on SunOS 4.1.3.
41199 if $ac_need_defaults; then
41200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41201 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41202 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41203 fi
41204
41205 # Have a temporary directory for convenience. Make it in the build tree
41206 # simply because there is no reason to put it here, and in addition,
41207 # creating and moving files from /tmp can sometimes cause problems.
41208 # Create a temporary directory, and hook for its removal unless debugging.
41209 $debug ||
41210 {
41211 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
41212 trap '{ (exit 1); exit 1; }' 1 2 13 15
41213 }
41214
41215 # Create a (secure) tmp directory for tmp files.
41216
41217 {
41218 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
41219 test -n "$tmp" && test -d "$tmp"
41220 } ||
41221 {
41222 tmp=./confstat$$-$RANDOM
41223 (umask 077 && mkdir $tmp)
41224 } ||
41225 {
41226 echo "$me: cannot create a temporary directory in ." >&2
41227 { (exit 1); exit 1; }
41228 }
41229
41230 _ACEOF
41231
41232 cat >>$CONFIG_STATUS <<_ACEOF
41233
41234 #
41235 # CONFIG_FILES section.
41236 #
41237
41238 # No need to generate the scripts if there are no CONFIG_FILES.
41239 # This happens for instance when ./config.status config.h
41240 if test -n "\$CONFIG_FILES"; then
41241 # Protect against being on the right side of a sed subst in config.status.
41242 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
41243 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
41244 s,@SHELL@,$SHELL,;t t
41245 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
41246 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
41247 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
41248 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
41249 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
41250 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
41251 s,@exec_prefix@,$exec_prefix,;t t
41252 s,@prefix@,$prefix,;t t
41253 s,@program_transform_name@,$program_transform_name,;t t
41254 s,@bindir@,$bindir,;t t
41255 s,@sbindir@,$sbindir,;t t
41256 s,@libexecdir@,$libexecdir,;t t
41257 s,@datadir@,$datadir,;t t
41258 s,@sysconfdir@,$sysconfdir,;t t
41259 s,@sharedstatedir@,$sharedstatedir,;t t
41260 s,@localstatedir@,$localstatedir,;t t
41261 s,@libdir@,$libdir,;t t
41262 s,@includedir@,$includedir,;t t
41263 s,@oldincludedir@,$oldincludedir,;t t
41264 s,@infodir@,$infodir,;t t
41265 s,@mandir@,$mandir,;t t
41266 s,@build_alias@,$build_alias,;t t
41267 s,@host_alias@,$host_alias,;t t
41268 s,@target_alias@,$target_alias,;t t
41269 s,@DEFS@,$DEFS,;t t
41270 s,@ECHO_C@,$ECHO_C,;t t
41271 s,@ECHO_N@,$ECHO_N,;t t
41272 s,@ECHO_T@,$ECHO_T,;t t
41273 s,@LIBS@,$LIBS,;t t
41274 s,@build@,$build,;t t
41275 s,@build_cpu@,$build_cpu,;t t
41276 s,@build_vendor@,$build_vendor,;t t
41277 s,@build_os@,$build_os,;t t
41278 s,@host@,$host,;t t
41279 s,@host_cpu@,$host_cpu,;t t
41280 s,@host_vendor@,$host_vendor,;t t
41281 s,@host_os@,$host_os,;t t
41282 s,@target@,$target,;t t
41283 s,@target_cpu@,$target_cpu,;t t
41284 s,@target_vendor@,$target_vendor,;t t
41285 s,@target_os@,$target_os,;t t
41286 s,@CC@,$CC,;t t
41287 s,@CFLAGS@,$CFLAGS,;t t
41288 s,@LDFLAGS@,$LDFLAGS,;t t
41289 s,@CPPFLAGS@,$CPPFLAGS,;t t
41290 s,@ac_ct_CC@,$ac_ct_CC,;t t
41291 s,@EXEEXT@,$EXEEXT,;t t
41292 s,@OBJEXT@,$OBJEXT,;t t
41293 s,@CPP@,$CPP,;t t
41294 s,@EGREP@,$EGREP,;t t
41295 s,@CXX@,$CXX,;t t
41296 s,@CXXFLAGS@,$CXXFLAGS,;t t
41297 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
41298 s,@RANLIB@,$RANLIB,;t t
41299 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
41300 s,@AR@,$AR,;t t
41301 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
41302 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
41303 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
41304 s,@STRIP@,$STRIP,;t t
41305 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
41306 s,@LN_S@,$LN_S,;t t
41307 s,@CXXCPP@,$CXXCPP,;t t
41308 s,@subdirs@,$subdirs,;t t
41309 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
41310 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
41311 s,@GTK_LIBS@,$GTK_LIBS,;t t
41312 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
41313 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
41314 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
41315 s,@X_CFLAGS@,$X_CFLAGS,;t t
41316 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
41317 s,@X_LIBS@,$X_LIBS,;t t
41318 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
41319 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
41320 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
41321 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
41322 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
41323 s,@RESCOMP@,$RESCOMP,;t t
41324 s,@DEREZ@,$DEREZ,;t t
41325 s,@SETFILE@,$SETFILE,;t t
41326 s,@LIBICONV@,$LIBICONV,;t t
41327 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
41328 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
41329 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
41330 s,@SDL_LIBS@,$SDL_LIBS,;t t
41331 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
41332 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
41333 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
41334 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
41335 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
41336 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
41337 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
41338 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
41339 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
41340 s,@VENDOR@,$VENDOR,;t t
41341 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
41342 s,@WXUNIV@,$WXUNIV,;t t
41343 s,@MONOLITHIC@,$MONOLITHIC,;t t
41344 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
41345 s,@EXTRALIBS@,$EXTRALIBS,;t t
41346 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
41347 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
41348 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
41349 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
41350 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
41351 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
41352 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
41353 s,@UNICODE@,$UNICODE,;t t
41354 s,@BUILD@,$BUILD,;t t
41355 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
41356 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
41357 s,@SHARED@,$SHARED,;t t
41358 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
41359 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
41360 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
41361 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
41362 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
41363 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
41364 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
41365 s,@SET_MAKE@,$SET_MAKE,;t t
41366 s,@MAKE_SET@,$MAKE_SET,;t t
41367 s,@ac_ct_AR@,$ac_ct_AR,;t t
41368 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
41369 s,@NM@,$NM,;t t
41370 s,@ac_ct_NM@,$ac_ct_NM,;t t
41371 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
41372 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
41373 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
41374 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
41375 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
41376 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
41377 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
41378 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
41379 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
41380 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
41381 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
41382 s,@LIBPREFIX@,$LIBPREFIX,;t t
41383 s,@LIBEXT@,$LIBEXT,;t t
41384 s,@DLLPREFIX@,$DLLPREFIX,;t t
41385 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
41386 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
41387 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
41388 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
41389 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
41390 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
41391 s,@PIC_FLAG@,$PIC_FLAG,;t t
41392 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
41393 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
41394 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
41395 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
41396 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
41397 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
41398 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
41399 s,@GCC_PCH@,$GCC_PCH,;t t
41400 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
41401 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
41402 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
41403 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
41404 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
41405 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
41406 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
41407 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
41408 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
41409 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
41410 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
41411 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
41412 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
41413 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
41414 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
41415 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
41416 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
41417 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
41418 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
41419 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
41420 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
41421 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
41422 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
41423 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
41424 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
41425 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
41426 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
41427 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
41428 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
41429 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
41430 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
41431 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
41432 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
41433 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
41434 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
41435 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
41436 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
41437 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
41438 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
41439 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
41440 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
41441 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
41442 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
41443 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
41444 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
41445 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
41446 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
41447 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
41448 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
41449 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41450 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41451 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41452 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
41453 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
41454 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
41455 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
41456 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
41457 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
41458 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
41459 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
41460 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
41461 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
41462 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
41463 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
41464 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
41465 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
41466 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
41467 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
41468 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
41469 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
41470 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
41471 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
41472 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
41473 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
41474 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
41475 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
41476 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
41477 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
41478 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
41479 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
41480 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
41481 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
41482 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
41483 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
41484 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
41485 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
41486 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
41487 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
41488 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
41489 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
41490 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
41491 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
41492 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
41493 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
41494 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
41495 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
41496 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
41497 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
41498 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
41499 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
41500 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
41501 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
41502 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
41503 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
41504 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
41505 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
41506 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
41507 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
41508 s,@PATH_IFS@,$PATH_IFS,;t t
41509 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
41510 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
41511 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
41512 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
41513 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
41514 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
41515 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
41516 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
41517 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
41518 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
41519 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
41520 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
41521 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
41522 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
41523 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
41524 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
41525 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
41526 s,@WX_ALL@,$WX_ALL,;t t
41527 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
41528 s,@SHARED_LD@,$SHARED_LD,;t t
41529 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
41530 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
41531 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
41532 s,@USE_GUI@,$USE_GUI,;t t
41533 s,@AFMINSTALL@,$AFMINSTALL,;t t
41534 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
41535 s,@TOOLKIT@,$TOOLKIT,;t t
41536 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
41537 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
41538 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
41539 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
41540 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
41541 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
41542 s,@cross_compiling@,$cross_compiling,;t t
41543 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
41544 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
41545 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
41546 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
41547 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
41548 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
41549 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
41550 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
41551 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
41552 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
41553 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
41554 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
41555 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
41556 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
41557 s,@GUIDIST@,$GUIDIST,;t t
41558 s,@PORT_FILES@,$PORT_FILES,;t t
41559 s,@DISTDIR@,$DISTDIR,;t t
41560 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
41561 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
41562 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
41563 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
41564 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
41565 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
41566 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
41567 s,@RESFLAGS@,$RESFLAGS,;t t
41568 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
41569 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
41570 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
41571 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
41572 s,@MACRESCOMP@,$MACRESCOMP,;t t
41573 s,@MACSETFILE@,$MACSETFILE,;t t
41574 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
41575 s,@GCC@,$GCC,;t t
41576 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
41577 s,@DLLTOOL@,$DLLTOOL,;t t
41578 s,@AS@,$AS,;t t
41579 s,@LD@,$LD,;t t
41580 s,@MAKEINFO@,$MAKEINFO,;t t
41581 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
41582 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
41583 s,@LIBOBJS@,$LIBOBJS,;t t
41584 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
41585 CEOF
41586
41587 _ACEOF
41588
41589 cat >>$CONFIG_STATUS <<\_ACEOF
41590 # Split the substitutions into bite-sized pieces for seds with
41591 # small command number limits, like on Digital OSF/1 and HP-UX.
41592 ac_max_sed_lines=48
41593 ac_sed_frag=1 # Number of current file.
41594 ac_beg=1 # First line for current file.
41595 ac_end=$ac_max_sed_lines # Line after last line for current file.
41596 ac_more_lines=:
41597 ac_sed_cmds=
41598 while $ac_more_lines; do
41599 if test $ac_beg -gt 1; then
41600 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
41601 else
41602 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
41603 fi
41604 if test ! -s $tmp/subs.frag; then
41605 ac_more_lines=false
41606 else
41607 # The purpose of the label and of the branching condition is to
41608 # speed up the sed processing (if there are no `@' at all, there
41609 # is no need to browse any of the substitutions).
41610 # These are the two extra sed commands mentioned above.
41611 (echo ':t
41612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
41613 if test -z "$ac_sed_cmds"; then
41614 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
41615 else
41616 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
41617 fi
41618 ac_sed_frag=`expr $ac_sed_frag + 1`
41619 ac_beg=$ac_end
41620 ac_end=`expr $ac_end + $ac_max_sed_lines`
41621 fi
41622 done
41623 if test -z "$ac_sed_cmds"; then
41624 ac_sed_cmds=cat
41625 fi
41626 fi # test -n "$CONFIG_FILES"
41627
41628 _ACEOF
41629 cat >>$CONFIG_STATUS <<\_ACEOF
41630 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
41631 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41632 case $ac_file in
41633 - | *:- | *:-:* ) # input from stdin
41634 cat >$tmp/stdin
41635 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41637 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41638 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41639 * ) ac_file_in=$ac_file.in ;;
41640 esac
41641
41642 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
41643 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
41644 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41645 X"$ac_file" : 'X\(//\)[^/]' \| \
41646 X"$ac_file" : 'X\(//\)$' \| \
41647 X"$ac_file" : 'X\(/\)' \| \
41648 . : '\(.\)' 2>/dev/null ||
41649 echo X"$ac_file" |
41650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41652 /^X\(\/\/\)$/{ s//\1/; q; }
41653 /^X\(\/\).*/{ s//\1/; q; }
41654 s/.*/./; q'`
41655 { if $as_mkdir_p; then
41656 mkdir -p "$ac_dir"
41657 else
41658 as_dir="$ac_dir"
41659 as_dirs=
41660 while test ! -d "$as_dir"; do
41661 as_dirs="$as_dir $as_dirs"
41662 as_dir=`(dirname "$as_dir") 2>/dev/null ||
41663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41664 X"$as_dir" : 'X\(//\)[^/]' \| \
41665 X"$as_dir" : 'X\(//\)$' \| \
41666 X"$as_dir" : 'X\(/\)' \| \
41667 . : '\(.\)' 2>/dev/null ||
41668 echo X"$as_dir" |
41669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
41670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
41671 /^X\(\/\/\)$/{ s//\1/; q; }
41672 /^X\(\/\).*/{ s//\1/; q; }
41673 s/.*/./; q'`
41674 done
41675 test ! -n "$as_dirs" || mkdir $as_dirs
41676 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
41677 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
41678 { (exit 1); exit 1; }; }; }
41679
41680 ac_builddir=.
41681
41682 if test "$ac_dir" != .; then
41683 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
41684 # A "../" for each directory in $ac_dir_suffix.
41685 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
41686 else
41687 ac_dir_suffix= ac_top_builddir=
41688 fi
41689
41690 case $srcdir in
41691 .) # No --srcdir option. We are building in place.
41692 ac_srcdir=.
41693 if test -z "$ac_top_builddir"; then
41694 ac_top_srcdir=.
41695 else
41696 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
41697 fi ;;
41698 [\\/]* | ?:[\\/]* ) # Absolute path.
41699 ac_srcdir=$srcdir$ac_dir_suffix;
41700 ac_top_srcdir=$srcdir ;;
41701 *) # Relative path.
41702 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
41703 ac_top_srcdir=$ac_top_builddir$srcdir ;;
41704 esac
41705
41706 # Do not use `cd foo && pwd` to compute absolute paths, because
41707 # the directories may not exist.
41708 case `pwd` in
41709 .) ac_abs_builddir="$ac_dir";;
41710 *)
41711 case "$ac_dir" in
41712 .) ac_abs_builddir=`pwd`;;
41713 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
41714 *) ac_abs_builddir=`pwd`/"$ac_dir";;
41715 esac;;
41716 esac
41717 case $ac_abs_builddir in
41718 .) ac_abs_top_builddir=${ac_top_builddir}.;;
41719 *)
41720 case ${ac_top_builddir}. in
41721 .) ac_abs_top_builddir=$ac_abs_builddir;;
41722 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
41723 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
41724 esac;;
41725 esac
41726 case $ac_abs_builddir in
41727 .) ac_abs_srcdir=$ac_srcdir;;
41728 *)
41729 case $ac_srcdir in
41730 .) ac_abs_srcdir=$ac_abs_builddir;;
41731 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
41732 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
41733 esac;;
41734 esac
41735 case $ac_abs_builddir in
41736 .) ac_abs_top_srcdir=$ac_top_srcdir;;
41737 *)
41738 case $ac_top_srcdir in
41739 .) ac_abs_top_srcdir=$ac_abs_builddir;;
41740 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
41741 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
41742 esac;;
41743 esac
41744
41745
41746 case $INSTALL in
41747 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41748 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
41749 esac
41750
41751 # Let's still pretend it is `configure' which instantiates (i.e., don't
41752 # use $as_me), people would be surprised to read:
41753 # /* config.h. Generated by config.status. */
41754 if test x"$ac_file" = x-; then
41755 configure_input=
41756 else
41757 configure_input="$ac_file. "
41758 fi
41759 configure_input=$configure_input"Generated from `echo $ac_file_in |
41760 sed 's,.*/,,'` by configure."
41761
41762 # First look for the input files in the build tree, otherwise in the
41763 # src tree.
41764 ac_file_inputs=`IFS=:
41765 for f in $ac_file_in; do
41766 case $f in
41767 -) echo $tmp/stdin ;;
41768 [\\/$]*)
41769 # Absolute (can't be DOS-style, as IFS=:)
41770 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41771 echo "$as_me: error: cannot find input file: $f" >&2;}
41772 { (exit 1); exit 1; }; }
41773 echo "$f";;
41774 *) # Relative
41775 if test -f "$f"; then
41776 # Build tree
41777 echo "$f"
41778 elif test -f "$srcdir/$f"; then
41779 # Source tree
41780 echo "$srcdir/$f"
41781 else
41782 # /dev/null tree
41783 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41784 echo "$as_me: error: cannot find input file: $f" >&2;}
41785 { (exit 1); exit 1; }; }
41786 fi;;
41787 esac
41788 done` || { (exit 1); exit 1; }
41789
41790 if test x"$ac_file" != x-; then
41791 { echo "$as_me:$LINENO: creating $ac_file" >&5
41792 echo "$as_me: creating $ac_file" >&6;}
41793 rm -f "$ac_file"
41794 fi
41795 _ACEOF
41796 cat >>$CONFIG_STATUS <<_ACEOF
41797 sed "$ac_vpsub
41798 $extrasub
41799 _ACEOF
41800 cat >>$CONFIG_STATUS <<\_ACEOF
41801 :t
41802 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41803 s,@configure_input@,$configure_input,;t t
41804 s,@srcdir@,$ac_srcdir,;t t
41805 s,@abs_srcdir@,$ac_abs_srcdir,;t t
41806 s,@top_srcdir@,$ac_top_srcdir,;t t
41807 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
41808 s,@builddir@,$ac_builddir,;t t
41809 s,@abs_builddir@,$ac_abs_builddir,;t t
41810 s,@top_builddir@,$ac_top_builddir,;t t
41811 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
41812 s,@INSTALL@,$ac_INSTALL,;t t
41813 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
41814 rm -f $tmp/stdin
41815 if test x"$ac_file" != x-; then
41816 mv $tmp/out $ac_file
41817 else
41818 cat $tmp/out
41819 rm -f $tmp/out
41820 fi
41821
41822 done
41823 _ACEOF
41824 cat >>$CONFIG_STATUS <<\_ACEOF
41825
41826 #
41827 # CONFIG_HEADER section.
41828 #
41829
41830 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
41831 # NAME is the cpp macro being defined and VALUE is the value it is being given.
41832 #
41833 # ac_d sets the value in "#define NAME VALUE" lines.
41834 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
41835 ac_dB='[ ].*$,\1#\2'
41836 ac_dC=' '
41837 ac_dD=',;t'
41838 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
41839 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
41840 ac_uB='$,\1#\2define\3'
41841 ac_uC=' '
41842 ac_uD=',;t'
41843
41844 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
41845 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
41846 case $ac_file in
41847 - | *:- | *:-:* ) # input from stdin
41848 cat >$tmp/stdin
41849 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41850 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41851 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
41852 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
41853 * ) ac_file_in=$ac_file.in ;;
41854 esac
41855
41856 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
41857 echo "$as_me: creating $ac_file" >&6;}
41858
41859 # First look for the input files in the build tree, otherwise in the
41860 # src tree.
41861 ac_file_inputs=`IFS=:
41862 for f in $ac_file_in; do
41863 case $f in
41864 -) echo $tmp/stdin ;;
41865 [\\/$]*)
41866 # Absolute (can't be DOS-style, as IFS=:)
41867 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41868 echo "$as_me: error: cannot find input file: $f" >&2;}
41869 { (exit 1); exit 1; }; }
41870 # Do quote $f, to prevent DOS paths from being IFS'd.
41871 echo "$f";;
41872 *) # Relative
41873 if test -f "$f"; then
41874 # Build tree
41875 echo "$f"
41876 elif test -f "$srcdir/$f"; then
41877 # Source tree
41878 echo "$srcdir/$f"
41879 else
41880 # /dev/null tree
41881 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
41882 echo "$as_me: error: cannot find input file: $f" >&2;}
41883 { (exit 1); exit 1; }; }
41884 fi;;
41885 esac
41886 done` || { (exit 1); exit 1; }
41887 # Remove the trailing spaces.
41888 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
41889
41890 _ACEOF
41891
41892 # Transform confdefs.h into two sed scripts, `conftest.defines' and
41893 # `conftest.undefs', that substitutes the proper values into
41894 # config.h.in to produce config.h. The first handles `#define'
41895 # templates, and the second `#undef' templates.
41896 # And first: Protect against being on the right side of a sed subst in
41897 # config.status. Protect against being in an unquoted here document
41898 # in config.status.
41899 rm -f conftest.defines conftest.undefs
41900 # Using a here document instead of a string reduces the quoting nightmare.
41901 # Putting comments in sed scripts is not portable.
41902 #
41903 # `end' is used to avoid that the second main sed command (meant for
41904 # 0-ary CPP macros) applies to n-ary macro definitions.
41905 # See the Autoconf documentation for `clear'.
41906 cat >confdef2sed.sed <<\_ACEOF
41907 s/[\\&,]/\\&/g
41908 s,[\\$`],\\&,g
41909 t clear
41910 : clear
41911 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
41912 t end
41913 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
41914 : end
41915 _ACEOF
41916 # If some macros were called several times there might be several times
41917 # the same #defines, which is useless. Nevertheless, we may not want to
41918 # sort them, since we want the *last* AC-DEFINE to be honored.
41919 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
41920 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
41921 rm -f confdef2sed.sed
41922
41923 # This sed command replaces #undef with comments. This is necessary, for
41924 # example, in the case of _POSIX_SOURCE, which is predefined and required
41925 # on some systems where configure will not decide to define it.
41926 cat >>conftest.undefs <<\_ACEOF
41927 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
41928 _ACEOF
41929
41930 # Break up conftest.defines because some shells have a limit on the size
41931 # of here documents, and old seds have small limits too (100 cmds).
41932 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
41933 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
41934 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
41935 echo ' :' >>$CONFIG_STATUS
41936 rm -f conftest.tail
41937 while grep . conftest.defines >/dev/null
41938 do
41939 # Write a limited-size here document to $tmp/defines.sed.
41940 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
41941 # Speed up: don't consider the non `#define' lines.
41942 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
41943 # Work around the forget-to-reset-the-flag bug.
41944 echo 't clr' >>$CONFIG_STATUS
41945 echo ': clr' >>$CONFIG_STATUS
41946 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
41947 echo 'CEOF
41948 sed -f $tmp/defines.sed $tmp/in >$tmp/out
41949 rm -f $tmp/in
41950 mv $tmp/out $tmp/in
41951 ' >>$CONFIG_STATUS
41952 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
41953 rm -f conftest.defines
41954 mv conftest.tail conftest.defines
41955 done
41956 rm -f conftest.defines
41957 echo ' fi # grep' >>$CONFIG_STATUS
41958 echo >>$CONFIG_STATUS
41959
41960 # Break up conftest.undefs because some shells have a limit on the size
41961 # of here documents, and old seds have small limits too (100 cmds).
41962 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
41963 rm -f conftest.tail
41964 while grep . conftest.undefs >/dev/null
41965 do
41966 # Write a limited-size here document to $tmp/undefs.sed.
41967 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
41968 # Speed up: don't consider the non `#undef'
41969 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
41970 # Work around the forget-to-reset-the-flag bug.
41971 echo 't clr' >>$CONFIG_STATUS
41972 echo ': clr' >>$CONFIG_STATUS
41973 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
41974 echo 'CEOF
41975 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
41976 rm -f $tmp/in
41977 mv $tmp/out $tmp/in
41978 ' >>$CONFIG_STATUS
41979 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
41980 rm -f conftest.undefs
41981 mv conftest.tail conftest.undefs
41982 done
41983 rm -f conftest.undefs
41984
41985 cat >>$CONFIG_STATUS <<\_ACEOF
41986 # Let's still pretend it is `configure' which instantiates (i.e., don't
41987 # use $as_me), people would be surprised to read:
41988 # /* config.h. Generated by config.status. */
41989 if test x"$ac_file" = x-; then
41990 echo "/* Generated by configure. */" >$tmp/config.h
41991 else
41992 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
41993 fi
41994 cat $tmp/in >>$tmp/config.h
41995 rm -f $tmp/in
41996 if test x"$ac_file" != x-; then
41997 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
41998 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
41999 echo "$as_me: $ac_file is unchanged" >&6;}
42000 else
42001 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
42002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42003 X"$ac_file" : 'X\(//\)[^/]' \| \
42004 X"$ac_file" : 'X\(//\)$' \| \
42005 X"$ac_file" : 'X\(/\)' \| \
42006 . : '\(.\)' 2>/dev/null ||
42007 echo X"$ac_file" |
42008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42010 /^X\(\/\/\)$/{ s//\1/; q; }
42011 /^X\(\/\).*/{ s//\1/; q; }
42012 s/.*/./; q'`
42013 { if $as_mkdir_p; then
42014 mkdir -p "$ac_dir"
42015 else
42016 as_dir="$ac_dir"
42017 as_dirs=
42018 while test ! -d "$as_dir"; do
42019 as_dirs="$as_dir $as_dirs"
42020 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42022 X"$as_dir" : 'X\(//\)[^/]' \| \
42023 X"$as_dir" : 'X\(//\)$' \| \
42024 X"$as_dir" : 'X\(/\)' \| \
42025 . : '\(.\)' 2>/dev/null ||
42026 echo X"$as_dir" |
42027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42029 /^X\(\/\/\)$/{ s//\1/; q; }
42030 /^X\(\/\).*/{ s//\1/; q; }
42031 s/.*/./; q'`
42032 done
42033 test ! -n "$as_dirs" || mkdir $as_dirs
42034 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42035 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42036 { (exit 1); exit 1; }; }; }
42037
42038 rm -f $ac_file
42039 mv $tmp/config.h $ac_file
42040 fi
42041 else
42042 cat $tmp/config.h
42043 rm -f $tmp/config.h
42044 fi
42045 done
42046 _ACEOF
42047 cat >>$CONFIG_STATUS <<\_ACEOF
42048
42049 #
42050 # CONFIG_COMMANDS section.
42051 #
42052 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
42053 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
42054 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
42055 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
42056 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42057 X"$ac_dest" : 'X\(//\)[^/]' \| \
42058 X"$ac_dest" : 'X\(//\)$' \| \
42059 X"$ac_dest" : 'X\(/\)' \| \
42060 . : '\(.\)' 2>/dev/null ||
42061 echo X"$ac_dest" |
42062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42063 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42064 /^X\(\/\/\)$/{ s//\1/; q; }
42065 /^X\(\/\).*/{ s//\1/; q; }
42066 s/.*/./; q'`
42067 { if $as_mkdir_p; then
42068 mkdir -p "$ac_dir"
42069 else
42070 as_dir="$ac_dir"
42071 as_dirs=
42072 while test ! -d "$as_dir"; do
42073 as_dirs="$as_dir $as_dirs"
42074 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42076 X"$as_dir" : 'X\(//\)[^/]' \| \
42077 X"$as_dir" : 'X\(//\)$' \| \
42078 X"$as_dir" : 'X\(/\)' \| \
42079 . : '\(.\)' 2>/dev/null ||
42080 echo X"$as_dir" |
42081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42082 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42083 /^X\(\/\/\)$/{ s//\1/; q; }
42084 /^X\(\/\).*/{ s//\1/; q; }
42085 s/.*/./; q'`
42086 done
42087 test ! -n "$as_dirs" || mkdir $as_dirs
42088 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42090 { (exit 1); exit 1; }; }; }
42091
42092 ac_builddir=.
42093
42094 if test "$ac_dir" != .; then
42095 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42096 # A "../" for each directory in $ac_dir_suffix.
42097 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42098 else
42099 ac_dir_suffix= ac_top_builddir=
42100 fi
42101
42102 case $srcdir in
42103 .) # No --srcdir option. We are building in place.
42104 ac_srcdir=.
42105 if test -z "$ac_top_builddir"; then
42106 ac_top_srcdir=.
42107 else
42108 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42109 fi ;;
42110 [\\/]* | ?:[\\/]* ) # Absolute path.
42111 ac_srcdir=$srcdir$ac_dir_suffix;
42112 ac_top_srcdir=$srcdir ;;
42113 *) # Relative path.
42114 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42115 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42116 esac
42117
42118 # Do not use `cd foo && pwd` to compute absolute paths, because
42119 # the directories may not exist.
42120 case `pwd` in
42121 .) ac_abs_builddir="$ac_dir";;
42122 *)
42123 case "$ac_dir" in
42124 .) ac_abs_builddir=`pwd`;;
42125 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42126 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42127 esac;;
42128 esac
42129 case $ac_abs_builddir in
42130 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42131 *)
42132 case ${ac_top_builddir}. in
42133 .) ac_abs_top_builddir=$ac_abs_builddir;;
42134 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42135 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42136 esac;;
42137 esac
42138 case $ac_abs_builddir in
42139 .) ac_abs_srcdir=$ac_srcdir;;
42140 *)
42141 case $ac_srcdir in
42142 .) ac_abs_srcdir=$ac_abs_builddir;;
42143 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42144 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42145 esac;;
42146 esac
42147 case $ac_abs_builddir in
42148 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42149 *)
42150 case $ac_top_srcdir in
42151 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42152 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42153 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42154 esac;;
42155 esac
42156
42157
42158 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
42159 echo "$as_me: executing $ac_dest commands" >&6;}
42160 case $ac_dest in
42161 default )
42162 if test ! -h wx-config; then
42163 chmod +x wx-config
42164 mv wx-config wx${TOOLCHAIN_NAME}-config
42165 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
42166 fi
42167
42168 if test ! -d lib; then
42169 mkdir lib
42170 fi
42171 if test ! -d lib/wx; then
42172 mkdir lib/wx
42173 fi
42174 if test ! -d lib/wx/include; then
42175 mkdir lib/wx/include
42176 fi
42177 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
42178 mkdir lib/wx/include/${TOOLCHAIN_NAME}
42179 fi
42180 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
42181 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
42182 fi
42183 if test -f setup.h; then
42184 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
42185 fi
42186 ;;
42187 esac
42188 done
42189 _ACEOF
42190
42191 cat >>$CONFIG_STATUS <<\_ACEOF
42192
42193 { (exit 0); exit 0; }
42194 _ACEOF
42195 chmod +x $CONFIG_STATUS
42196 ac_clean_files=$ac_clean_files_save
42197
42198
42199 # configure is writing to config.log, and then calls config.status.
42200 # config.status does its own redirection, appending to config.log.
42201 # Unfortunately, on DOS this fails, as config.log is still kept open
42202 # by configure, so config.status won't be able to write to it; its
42203 # output is simply discarded. So we exec the FD to /dev/null,
42204 # effectively closing config.log, so it can be properly (re)opened and
42205 # appended to by config.status. When coming back to configure, we
42206 # need to make the FD available again.
42207 if test "$no_create" != yes; then
42208 ac_cs_success=:
42209 ac_config_status_args=
42210 test "$silent" = yes &&
42211 ac_config_status_args="$ac_config_status_args --quiet"
42212 exec 5>/dev/null
42213 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42214 exec 5>>config.log
42215 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42216 # would make configure fail if this is the last instruction.
42217 $ac_cs_success || { (exit 1); exit 1; }
42218 fi
42219
42220 #
42221 # CONFIG_SUBDIRS section.
42222 #
42223 if test "$no_recursion" != yes; then
42224
42225 # Remove --cache-file and --srcdir arguments so they do not pile up.
42226 ac_sub_configure_args=
42227 ac_prev=
42228 for ac_arg in $ac_configure_args; do
42229 if test -n "$ac_prev"; then
42230 ac_prev=
42231 continue
42232 fi
42233 case $ac_arg in
42234 -cache-file | --cache-file | --cache-fil | --cache-fi \
42235 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42236 ac_prev=cache_file ;;
42237 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42238 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42239 | --c=*)
42240 ;;
42241 --config-cache | -C)
42242 ;;
42243 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42244 ac_prev=srcdir ;;
42245 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42246 ;;
42247 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42248 ac_prev=prefix ;;
42249 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42250 ;;
42251 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
42252 esac
42253 done
42254
42255 # Always prepend --prefix to ensure using the same prefix
42256 # in subdir configurations.
42257 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
42258
42259 ac_popdir=`pwd`
42260 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42261
42262 # Do not complain, so a configure script can configure whichever
42263 # parts of a large source tree are present.
42264 test -d $srcdir/$ac_dir || continue
42265
42266 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
42267 echo "$as_me: configuring in $ac_dir" >&6;}
42268 { if $as_mkdir_p; then
42269 mkdir -p "$ac_dir"
42270 else
42271 as_dir="$ac_dir"
42272 as_dirs=
42273 while test ! -d "$as_dir"; do
42274 as_dirs="$as_dir $as_dirs"
42275 as_dir=`(dirname "$as_dir") 2>/dev/null ||
42276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42277 X"$as_dir" : 'X\(//\)[^/]' \| \
42278 X"$as_dir" : 'X\(//\)$' \| \
42279 X"$as_dir" : 'X\(/\)' \| \
42280 . : '\(.\)' 2>/dev/null ||
42281 echo X"$as_dir" |
42282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
42283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
42284 /^X\(\/\/\)$/{ s//\1/; q; }
42285 /^X\(\/\).*/{ s//\1/; q; }
42286 s/.*/./; q'`
42287 done
42288 test ! -n "$as_dirs" || mkdir $as_dirs
42289 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
42290 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
42291 { (exit 1); exit 1; }; }; }
42292
42293 ac_builddir=.
42294
42295 if test "$ac_dir" != .; then
42296 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
42297 # A "../" for each directory in $ac_dir_suffix.
42298 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
42299 else
42300 ac_dir_suffix= ac_top_builddir=
42301 fi
42302
42303 case $srcdir in
42304 .) # No --srcdir option. We are building in place.
42305 ac_srcdir=.
42306 if test -z "$ac_top_builddir"; then
42307 ac_top_srcdir=.
42308 else
42309 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
42310 fi ;;
42311 [\\/]* | ?:[\\/]* ) # Absolute path.
42312 ac_srcdir=$srcdir$ac_dir_suffix;
42313 ac_top_srcdir=$srcdir ;;
42314 *) # Relative path.
42315 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
42316 ac_top_srcdir=$ac_top_builddir$srcdir ;;
42317 esac
42318
42319 # Do not use `cd foo && pwd` to compute absolute paths, because
42320 # the directories may not exist.
42321 case `pwd` in
42322 .) ac_abs_builddir="$ac_dir";;
42323 *)
42324 case "$ac_dir" in
42325 .) ac_abs_builddir=`pwd`;;
42326 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
42327 *) ac_abs_builddir=`pwd`/"$ac_dir";;
42328 esac;;
42329 esac
42330 case $ac_abs_builddir in
42331 .) ac_abs_top_builddir=${ac_top_builddir}.;;
42332 *)
42333 case ${ac_top_builddir}. in
42334 .) ac_abs_top_builddir=$ac_abs_builddir;;
42335 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
42336 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
42337 esac;;
42338 esac
42339 case $ac_abs_builddir in
42340 .) ac_abs_srcdir=$ac_srcdir;;
42341 *)
42342 case $ac_srcdir in
42343 .) ac_abs_srcdir=$ac_abs_builddir;;
42344 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
42345 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
42346 esac;;
42347 esac
42348 case $ac_abs_builddir in
42349 .) ac_abs_top_srcdir=$ac_top_srcdir;;
42350 *)
42351 case $ac_top_srcdir in
42352 .) ac_abs_top_srcdir=$ac_abs_builddir;;
42353 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
42354 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
42355 esac;;
42356 esac
42357
42358
42359 cd $ac_dir
42360
42361 # Check for guested configure; otherwise get Cygnus style configure.
42362 if test -f $ac_srcdir/configure.gnu; then
42363 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
42364 elif test -f $ac_srcdir/configure; then
42365 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
42366 elif test -f $ac_srcdir/configure.in; then
42367 ac_sub_configure=$ac_configure
42368 else
42369 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
42370 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42371 ac_sub_configure=
42372 fi
42373
42374 # The recursion is here.
42375 if test -n "$ac_sub_configure"; then
42376 # Make the cache file name correct relative to the subdirectory.
42377 case $cache_file in
42378 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42379 *) # Relative path.
42380 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
42381 esac
42382
42383 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
42384 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42385 # The eval makes quoting arguments work.
42386 eval $ac_sub_configure $ac_sub_configure_args \
42387 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
42388 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
42389 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
42390 { (exit 1); exit 1; }; }
42391 fi
42392
42393 cd "$ac_popdir"
42394 done
42395 fi
42396
42397
42398 echo
42399 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
42400 echo ""
42401 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT_LOWERCASE:-base only}"
42402 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42403
42404 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
42405 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
42406 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
42407
42408 echo " What level of wxWindows compatibility should be enabled?"
42409 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
42410 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
42411
42412 echo " Which libraries should wxWindows use?"
42413 echo " jpeg ${wxUSE_LIBJPEG-none}"
42414 echo " png ${wxUSE_LIBPNG-none}"
42415 echo " regex ${wxUSE_REGEX}"
42416 echo " tiff ${wxUSE_LIBTIFF-none}"
42417 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42418 echo " xpm ${wxUSE_LIBXPM-none}"
42419 fi
42420 echo " zlib ${wxUSE_ZLIB}"
42421 echo " odbc ${wxUSE_ODBC}"
42422 echo " expat ${wxUSE_EXPAT}"
42423 echo " libmspack ${wxUSE_LIBMSPACK}"
42424 echo " sdl ${wxUSE_LIBSDL}"
42425
42426 echo ""
42427