]> git.saurik.com Git - wxWidgets.git/blob - configure
wxCocoa: allow wxUSE_NUMBERDLG
[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.57 for wxWindows 2.5.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25 fi
26
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/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 -n "`(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 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 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 YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP 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 wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_GUI UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX DLLPREFIX AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_BUILD_DEBUG COND_BUILD_RELEASE COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_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_USE_SOVERSION_1 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_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_GTK_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_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_MSW_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 LEX_STEM PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME 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_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH 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 MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY ESD_LINK LIBOBJS LTLIBOBJS'
315 ac_subst_files=''
316
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
336
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
354
355 ac_prev=
356 for ac_option
357 do
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
363 fi
364
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367 # Accept the important Cygnus configure options, so we can diagnose typos.
368
369 case $ac_option in
370
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
375
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
380
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
387
388 --config-cache | -C)
389 cache_file=config.cache ;;
390
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
396
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
405
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
418
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
427
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
431
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
438
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
443
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
450
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
455
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
460
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
467
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
476
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
481
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
485
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
489
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
493
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
502
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
507
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
514
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
521
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
538
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
542
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
548
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
559
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
564
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
569
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
576
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
581
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
584
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
587
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
600
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
609
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
613
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
620
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
627
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
631 ;;
632
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
642
643 *)
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 ;;
650
651 esac
652 done
653
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
658 fi
659
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
662 do
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669 done
670
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674 do
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681 done
682
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
689
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
698 fi
699 fi
700
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704 test "$silent" = yes && exec 6>/dev/null
705
706
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717 echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
726 fi
727 else
728 ac_srcdir_defaulted=no
729 fi
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
737 fi
738 fi
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
775 ac_env_CXX_set=${CXX+set}
776 ac_env_CXX_value=$CXX
777 ac_cv_env_CXX_set=${CXX+set}
778 ac_cv_env_CXX_value=$CXX
779 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
780 ac_env_CXXFLAGS_value=$CXXFLAGS
781 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
783 ac_env_CXXCPP_set=${CXXCPP+set}
784 ac_env_CXXCPP_value=$CXXCPP
785 ac_cv_env_CXXCPP_set=${CXXCPP+set}
786 ac_cv_env_CXXCPP_value=$CXXCPP
787
788 #
789 # Report the --help message.
790 #
791 if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
794 cat <<_ACEOF
795 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
796
797 Usage: $0 [OPTION]... [VAR=VALUE]...
798
799 To assign environment variables (e.g., CC, CFLAGS...), specify them as
800 VAR=VALUE. See below for descriptions of some of the useful variables.
801
802 Defaults for the options are specified in brackets.
803
804 Configuration:
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814
815 _ACEOF
816
817 cat <<_ACEOF
818 Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
820 [$ac_default_prefix]
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
822 [PREFIX]
823
824 By default, \`make install' will install all the files in
825 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827 for instance \`--prefix=\$HOME'.
828
829 For better control, use the options below.
830
831 Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
844 _ACEOF
845
846 cat <<\_ACEOF
847
848 X features:
849 --x-includes=DIR X include files are in DIR
850 --x-libraries=DIR X library files are in DIR
851
852 System types:
853 --build=BUILD configure for building on BUILD [guessed]
854 --host=HOST cross-compile to build programs to run on HOST [BUILD]
855 --target=TARGET configure for building compilers for TARGET [HOST]
856 _ACEOF
857 fi
858
859 if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
862 esac
863 cat <<\_ACEOF
864
865 Optional Features:
866 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
867 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
868 --enable-gui use GUI classes
869 --disable-monolithic don't build wxWindows as single library
870 --enable-universal use wxWindows GUI controls instead of native ones
871 --enable-nanox use NanoX
872 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
873 --enable-shared create shared library code
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
877 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
878 --enable-debug_info create code with debugging information
879 --enable-debug_gdb create code with extra GDB debugging information
880 --enable-debug_cntxt use wxDebugContext
881 --enable-mem_tracing create code with memory tracing
882 --enable-profile create code with profiling information
883 --enable-no_rtti create code without RTTI information
884 --enable-no_exceptions create code without C++ exceptions handling
885 --enable-permissive compile code disregarding strict ANSI
886 --enable-no_deps create code without dependency information
887 --enable-compat20 enable wxWindows 2.0 compatibility
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --disable-largefile omit support for large files
1027 --disable-gtktest do not try to compile and run a test GTK+ program
1028 --disable-gtktest Do not try to compile and run a test GTK program
1029
1030 Optional Packages:
1031 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1032 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1033 --with-gtk use GTK+
1034 --with-motif use Motif/Lesstif
1035 --with-mac use Mac OS X
1036 --with-cocoa use Cocoa
1037 --with-wine use Wine
1038 --with-msw use MS-Windows
1039 --with-pm use OS/2 Presentation Manager
1040 --with-mgl use SciTech MGL
1041 --with-microwin use MicroWindows
1042 --with-x11 use X11
1043 --with-libpng use libpng (PNG image format)
1044 --with-libjpeg use libjpeg (JPEG file format)
1045 --with-libtiff use libtiff (TIFF file format)
1046 --with-opengl use OpenGL (or Mesa)
1047 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1048 --with-regex enable support for wxRegEx class
1049 --with-zlib use zlib for LZW compression
1050 --with-odbc use the IODBC and wxODBC classes
1051 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1052 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1053 --with-x use the X Window System
1054 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1055
1056 Some influential environment variables:
1057 CC C compiler command
1058 CFLAGS C compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CPP C preprocessor
1064 CXX C++ compiler command
1065 CXXFLAGS C++ compiler flags
1066 CXXCPP C++ preprocessor
1067
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1070
1071 Report bugs to <wx-dev@lists.wxwindows.org>.
1072 _ACEOF
1073 fi
1074
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1077 ac_popdir=`pwd`
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1080 ac_builddir=.
1081
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1086 else
1087 ac_dir_suffix= ac_top_builddir=
1088 fi
1089
1090 case $srcdir in
1091 .) # No --srcdir option. We are building in place.
1092 ac_srcdir=.
1093 if test -z "$ac_top_builddir"; then
1094 ac_top_srcdir=.
1095 else
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1097 fi ;;
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1101 *) # Relative path.
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1104 esac
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1106 # absolute.
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1111
1112 cd $ac_dir
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1115 echo
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1118 echo
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1122 echo
1123 $ac_configure --help
1124 else
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1126 fi
1127 cd $ac_popdir
1128 done
1129 fi
1130
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1133 cat <<\_ACEOF
1134 wxWindows configure 2.5.0
1135 generated by GNU Autoconf 2.57
1136
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1141 _ACEOF
1142 exit 0
1143 fi
1144 exec 5>config.log
1145 cat >&5 <<_ACEOF
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1148
1149 It was created by wxWindows $as_me 2.5.0, which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1151
1152 $ $0 $@
1153
1154 _ACEOF
1155 {
1156 cat <<_ASUNAME
1157 ## --------- ##
1158 ## Platform. ##
1159 ## --------- ##
1160
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1166
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1169
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1177
1178 _ASUNAME
1179
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181 for as_dir in $PATH
1182 do
1183 IFS=$as_save_IFS
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1186 done
1187
1188 } >&5
1189
1190 cat >&5 <<_ACEOF
1191
1192
1193 ## ----------- ##
1194 ## Core tests. ##
1195 ## ----------- ##
1196
1197 _ACEOF
1198
1199
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1205 ac_configure_args=
1206 ac_configure_args0=
1207 ac_configure_args1=
1208 ac_sep=
1209 ac_must_keep_next=false
1210 for ac_pass in 1 2
1211 do
1212 for ac_arg
1213 do
1214 case $ac_arg in
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1218 continue ;;
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1221 esac
1222 case $ac_pass in
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1224 2)
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1228 else
1229 case $ac_arg in
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 esac
1237 ;;
1238 -* ) ac_must_keep_next=true ;;
1239 esac
1240 fi
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1243 ac_sep=" "
1244 ;;
1245 esac
1246 done
1247 done
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1250
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1258 {
1259 echo
1260
1261 cat <<\_ASBOX
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1265 _ASBOX
1266 echo
1267 # The following way of writing the cache mishandles newlines in values,
1268 {
1269 (set) 2>&1 |
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 *ac_space=\ *)
1272 sed -n \
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275 ;;
1276 *)
1277 sed -n \
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ;;
1280 esac;
1281 }
1282 echo
1283
1284 cat <<\_ASBOX
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1288 _ASBOX
1289 echo
1290 for ac_var in $ac_subst_vars
1291 do
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1294 done | sort
1295 echo
1296
1297 if test -n "$ac_subst_files"; then
1298 cat <<\_ASBOX
1299 ## ------------- ##
1300 ## Output files. ##
1301 ## ------------- ##
1302 _ASBOX
1303 echo
1304 for ac_var in $ac_subst_files
1305 do
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1308 done | sort
1309 echo
1310 fi
1311
1312 if test -s confdefs.h; then
1313 cat <<\_ASBOX
1314 ## ----------- ##
1315 ## confdefs.h. ##
1316 ## ----------- ##
1317 _ASBOX
1318 echo
1319 sed "/^$/d" confdefs.h | sort
1320 echo
1321 fi
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1325 } >&5
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1328 exit $exit_status
1329 ' 0
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332 done
1333 ac_signal=0
1334
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338 echo >confdefs.h
1339
1340 # Predefined preprocessor variables.
1341
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1344 _ACEOF
1345
1346
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349 _ACEOF
1350
1351
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1354 _ACEOF
1355
1356
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1359 _ACEOF
1360
1361
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364 _ACEOF
1365
1366
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372 else
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374 fi
1375 fi
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1381 . "$ac_site_file"
1382 fi
1383 done
1384
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1391 case $cache_file in
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1394 esac
1395 fi
1396 else
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1399 >$cache_file
1400 fi
1401
1402 # Check that the precious variables saved in the cache have kept the same
1403 # value.
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1412 set,)
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1416 ,set)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,);;
1421 *)
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1430 fi;;
1431 esac
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1434 case $ac_new_val in
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1438 esac
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 esac
1443 fi
1444 done
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1451 fi
1452
1453 ac_ext=c
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488 ac_aux_dir=
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1491 ac_aux_dir=$ac_dir
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 break
1494 elif test -f $ac_dir/install.sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 break
1498 elif test -f $ac_dir/shtool; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1501 break
1502 fi
1503 done
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1508 fi
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1518
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524 ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1535
1536 fi
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1539 build=$ac_cv_build
1540 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545 echo "$as_me:$LINENO: checking host system type" >&5
1546 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547 if test "${ac_cv_host+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 else
1550 ac_cv_host_alias=$host_alias
1551 test -z "$ac_cv_host_alias" &&
1552 ac_cv_host_alias=$ac_cv_build_alias
1553 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1554 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556 { (exit 1); exit 1; }; }
1557
1558 fi
1559 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560 echo "${ECHO_T}$ac_cv_host" >&6
1561 host=$ac_cv_host
1562 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1563 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1564 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1565
1566
1567 echo "$as_me:$LINENO: checking target system type" >&5
1568 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569 if test "${ac_cv_target+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 else
1572 ac_cv_target_alias=$target_alias
1573 test "x$ac_cv_target_alias" = "x" &&
1574 ac_cv_target_alias=$ac_cv_host_alias
1575 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1579
1580 fi
1581 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582 echo "${ECHO_T}$ac_cv_target" >&6
1583 target=$ac_cv_target
1584 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587
1588
1589 # The aliases save the names the user supplied, while $host etc.
1590 # will get canonicalized.
1591 test -n "$target_alias" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1593 NONENONEs,x,x, &&
1594 program_prefix=${target_alias}-
1595
1596
1597
1598 WX_MAJOR_VERSION_NUMBER=2
1599 WX_MINOR_VERSION_NUMBER=5
1600 WX_RELEASE_NUMBER=0
1601
1602 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1603 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1604
1605 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1606
1607 WX_CURRENT=0
1608 WX_REVISION=0
1609 WX_AGE=0
1610
1611
1612
1613 USE_UNIX=1
1614 USE_WIN32=0
1615 USE_DOS=0
1616 USE_BEOS=0
1617 USE_MAC=0
1618
1619 USE_AIX=
1620 USE_BSD= USE_DARWIN= USE_FREEBSD=
1621 USE_GNU= USE_HPUX=
1622 USE_LINUX=
1623 USE_NETBSD=
1624 USE_OPENBSD=
1625 USE_OSF= USE_SGI=
1626 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1627 USE_ULTRIX=
1628 USE_UNIXWARE=
1629
1630 USE_ALPHA=
1631
1632 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1633
1634 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1635
1636 DEFAULT_wxUSE_COCOA=0
1637 DEFAULT_wxUSE_GTK=0
1638 DEFAULT_wxUSE_MAC=0
1639 DEFAULT_wxUSE_MGL=0
1640 DEFAULT_wxUSE_MICROWIN=0
1641 DEFAULT_wxUSE_MOTIF=0
1642 DEFAULT_wxUSE_MSW=0
1643 DEFAULT_wxUSE_PM=0
1644 DEFAULT_wxUSE_X11=0
1645
1646 DEFAULT_DEFAULT_wxUSE_COCOA=0
1647 DEFAULT_DEFAULT_wxUSE_GTK=0
1648 DEFAULT_DEFAULT_wxUSE_MAC=0
1649 DEFAULT_DEFAULT_wxUSE_MGL=0
1650 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1651 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1652 DEFAULT_DEFAULT_wxUSE_MSW=0
1653 DEFAULT_DEFAULT_wxUSE_PM=0
1654 DEFAULT_DEFAULT_wxUSE_X11=0
1655
1656 PROGRAM_EXT=
1657 SO_SUFFIX=so
1658 SAMPLES_RPATH_FLAG=
1659
1660 case "${host}" in
1661 *-hp-hpux* )
1662 USE_HPUX=1
1663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1664 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1665 SO_SUFFIX=sl
1666 cat >>confdefs.h <<\_ACEOF
1667 #define __HPUX__ 1
1668 _ACEOF
1669
1670 ;;
1671 *-*-linux* )
1672 USE_LINUX=1
1673 cat >>confdefs.h <<\_ACEOF
1674 #define __LINUX__ 1
1675 _ACEOF
1676
1677 TMP=`uname -m`
1678 if test "x$TMP" = "xalpha"; then
1679 USE_ALPHA=1
1680 cat >>confdefs.h <<\_ACEOF
1681 #define __ALPHA__ 1
1682 _ACEOF
1683
1684 fi
1685 DEFAULT_DEFAULT_wxUSE_GTK=1
1686 ;;
1687 *-*-gnu* )
1688 USE_GNU=1
1689 cat >>confdefs.h <<\_ACEOF
1690 #define __GNU__ 1
1691 _ACEOF
1692
1693 TMP=`uname -m`
1694 if test "x$TMP" = "xalpha"; then
1695 USE_ALPHA=1
1696 cat >>confdefs.h <<\_ACEOF
1697 #define __ALPHA__ 1
1698 _ACEOF
1699
1700 fi
1701 DEFAULT_DEFAULT_wxUSE_GTK=1
1702 ;;
1703 *-*-irix5* | *-*-irix6* )
1704 USE_SGI=1
1705 USE_SVR4=1
1706 cat >>confdefs.h <<\_ACEOF
1707 #define __SGI__ 1
1708 _ACEOF
1709
1710 cat >>confdefs.h <<\_ACEOF
1711 #define __SVR4__ 1
1712 _ACEOF
1713
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1715 ;;
1716 *-*-solaris2* )
1717 USE_SUN=1
1718 USE_SOLARIS=1
1719 USE_SVR4=1
1720 cat >>confdefs.h <<\_ACEOF
1721 #define __SUN__ 1
1722 _ACEOF
1723
1724 cat >>confdefs.h <<\_ACEOF
1725 #define __SOLARIS__ 1
1726 _ACEOF
1727
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __SVR4__ 1
1730 _ACEOF
1731
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1734 ;;
1735 *-*-sunos4* )
1736 USE_SUN=1
1737 USE_SUNOS=1
1738 USE_BSD=1
1739 cat >>confdefs.h <<\_ACEOF
1740 #define __SUN__ 1
1741 _ACEOF
1742
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __SUNOS__ 1
1745 _ACEOF
1746
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __BSD__ 1
1749 _ACEOF
1750
1751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1752 ;;
1753 *-*-freebsd*)
1754 USE_BSD=1
1755 USE_FREEBSD=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __FREEBSD__ 1
1758 _ACEOF
1759
1760 cat >>confdefs.h <<\_ACEOF
1761 #define __BSD__ 1
1762 _ACEOF
1763
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-openbsd*)
1767 USE_BSD=1
1768 USE_OPENBSD=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __OPENBSD__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __BSD__ 1
1775 _ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_GTK=1
1778 ;;
1779 *-*-netbsd*)
1780 USE_BSD=1
1781 USE_NETBSD=1
1782 cat >>confdefs.h <<\_ACEOF
1783 #define __NETBSD__ 1
1784 _ACEOF
1785
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __BSD__ 1
1788 _ACEOF
1789
1790 DEFAULT_DEFAULT_wxUSE_GTK=1
1791 ;;
1792 *-*-osf* )
1793 USE_ALPHA=1
1794 USE_OSF=1
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __ALPHA__ 1
1797 _ACEOF
1798
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __OSF__ 1
1801 _ACEOF
1802
1803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1805 ;;
1806 *-*-dgux5* )
1807 USE_ALPHA=1
1808 USE_SVR4=1
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __ALPHA__ 1
1811 _ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __SVR4__ 1
1815 _ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1818 ;;
1819 *-*-sysv5* )
1820 USE_SYSV=1
1821 USE_SVR4=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __SYSV__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __SVR4__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1831 ;;
1832 *-*-aix* )
1833 USE_AIX=1
1834 USE_SYSV=1
1835 USE_SVR4=1
1836 SO_SUFFIX=a
1837 cat >>confdefs.h <<\_ACEOF
1838 #define __AIX__ 1
1839 _ACEOF
1840
1841 cat >>confdefs.h <<\_ACEOF
1842 #define __SYSV__ 1
1843 _ACEOF
1844
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __SVR4__ 1
1847 _ACEOF
1848
1849 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1850 ;;
1851
1852 *-*-*UnixWare*)
1853 USE_SYSV=1
1854 USE_SVR4=1
1855 USE_UNIXWARE=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __UNIXWARE__ 1
1858 _ACEOF
1859
1860 ;;
1861
1862 *-*-cygwin* | *-*-mingw32* )
1863 SO_SUFFIX=dll
1864 PROGRAM_EXT=".exe"
1865 RESCOMP=windres
1866 DEFAULT_DEFAULT_wxUSE_MSW=1
1867 ;;
1868
1869 *-pc-msdosdjgpp )
1870 USE_UNIX=0
1871 USE_DOS=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __DOS__ 1
1874 _ACEOF
1875
1876 PROGRAM_EXT=".exe"
1877 DEFAULT_DEFAULT_wxUSE_MGL=1
1878 LIBS="$LIBS -lstdc++"
1879 ;;
1880
1881 *-pc-os2_emx | *-pc-os2-emx )
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __EMX__ 1
1884 _ACEOF
1885
1886 PROGRAM_EXT=".exe"
1887 DEFAULT_DEFAULT_wxUSE_PM=1
1888 ;;
1889
1890 powerpc-*-darwin* )
1891 USE_BSD=1
1892 USE_DARWIN=1
1893 SO_SUFFIX=dylib
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __BSD__ 1
1896 _ACEOF
1897
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __DARWIN__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __POWERPC__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define TARGET_CARBON 1
1908 _ACEOF
1909
1910 DEFAULT_DEFAULT_wxUSE_MAC=1
1911 ;;
1912
1913 *-*-beos* )
1914 USE_BEOS=1
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __BEOS__ 1
1917 _ACEOF
1918
1919 ;;
1920
1921 *)
1922 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1923 echo "$as_me: error: unknown system type ${host}." >&2;}
1924 { (exit 1); exit 1; }; }
1925 esac
1926
1927
1928
1929
1930 wx_arg_cache_file="configarg.cache"
1931 echo "loading argument cache $wx_arg_cache_file"
1932 rm -f ${wx_arg_cache_file}.tmp
1933 touch ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}
1935
1936
1937 DEBUG_CONFIGURE=0
1938 if test $DEBUG_CONFIGURE = 1; then
1939 DEFAULT_wxUSE_UNIVERSAL=no
1940
1941 DEFAULT_wxUSE_NANOX=no
1942
1943 DEFAULT_wxUSE_THREADS=yes
1944
1945 DEFAULT_wxUSE_SHARED=yes
1946 DEFAULT_wxUSE_OPTIMISE=no
1947 DEFAULT_wxUSE_PROFILE=no
1948 DEFAULT_wxUSE_NO_DEPS=no
1949 DEFAULT_wxUSE_NO_RTTI=no
1950 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1951 DEFAULT_wxUSE_PERMISSIVE=no
1952 DEFAULT_wxUSE_DEBUG_FLAG=yes
1953 DEFAULT_wxUSE_DEBUG_INFO=yes
1954 DEFAULT_wxUSE_DEBUG_GDB=yes
1955 DEFAULT_wxUSE_MEM_TRACING=no
1956 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1957 DEFAULT_wxUSE_DMALLOC=no
1958 DEFAULT_wxUSE_PRECOMP=no
1959 DEFAULT_wxUSE_APPLE_IEEE=no
1960
1961 DEFAULT_wxUSE_LOG=yes
1962 DEFAULT_wxUSE_LOGWINDOW=no
1963 DEFAULT_wxUSE_LOGGUI=no
1964 DEFAULT_wxUSE_LOGDIALOG=no
1965
1966 DEFAULT_wxUSE_GUI=yes
1967 DEFAULT_wxUSE_CONTROLS=no
1968
1969 DEFAULT_wxUSE_REGEX=no
1970 DEFAULT_wxUSE_ZLIB=no
1971 DEFAULT_wxUSE_LIBPNG=no
1972 DEFAULT_wxUSE_LIBJPEG=no
1973 DEFAULT_wxUSE_LIBTIFF=no
1974 DEFAULT_wxUSE_ODBC=no
1975 DEFAULT_wxUSE_OPENGL=no
1976
1977 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1978 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1979 DEFAULT_wxUSE_STD_IOSTREAM=no
1980 DEFAULT_wxUSE_CMDLINE_PARSER=no
1981 DEFAULT_wxUSE_DATETIME=no
1982 DEFAULT_wxUSE_TIMER=no
1983 DEFAULT_wxUSE_STOPWATCH=no
1984 DEFAULT_wxUSE_FILE=no
1985 DEFAULT_wxUSE_FFILE=no
1986 DEFAULT_wxUSE_TEXTBUFFER=no
1987 DEFAULT_wxUSE_TEXTFILE=no
1988 DEFAULT_wxUSE_WAVE=no
1989 DEFAULT_wxUSE_INTL=no
1990 DEFAULT_wxUSE_CONFIG=no
1991 DEFAULT_wxUSE_FONTMAP=no
1992 DEFAULT_wxUSE_STREAMS=no
1993 DEFAULT_wxUSE_SOCKETS=no
1994 DEFAULT_wxUSE_OLE=no
1995 DEFAULT_wxUSE_DATAOBJ=no
1996 DEFAULT_wxUSE_DIALUP_MANAGER=no
1997 DEFAULT_wxUSE_JOYSTICK=no
1998 DEFAULT_wxUSE_DYNLIB_CLASS=no
1999 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2000 DEFAULT_wxUSE_LONGLONG=no
2001 DEFAULT_wxUSE_GEOMETRY=no
2002
2003 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2004 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2005 DEFAULT_wxUSE_POSTSCRIPT=no
2006
2007 DEFAULT_wxUSE_CLIPBOARD=no
2008 DEFAULT_wxUSE_TOOLTIPS=no
2009 DEFAULT_wxUSE_DRAG_AND_DROP=no
2010 DEFAULT_wxUSE_DRAGIMAGE=no
2011 DEFAULT_wxUSE_SPLINES=no
2012
2013 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2014 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2015 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2016
2017 DEFAULT_wxUSE_RESOURCES=no
2018 DEFAULT_wxUSE_CONSTRAINTS=no
2019 DEFAULT_wxUSE_IPC=no
2020 DEFAULT_wxUSE_HELP=no
2021 DEFAULT_wxUSE_MS_HTML_HELP=no
2022 DEFAULT_wxUSE_WXHTML_HELP=no
2023 DEFAULT_wxUSE_TREELAYOUT=no
2024 DEFAULT_wxUSE_METAFILE=no
2025 DEFAULT_wxUSE_MIMETYPE=no
2026 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2027 DEFAULT_wxUSE_PROTOCOL=no
2028 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2029 DEFAULT_wxUSE_PROTOCOL_FTP=no
2030 DEFAULT_wxUSE_PROTOCOL_FILE=no
2031 DEFAULT_wxUSE_URL=no
2032
2033 DEFAULT_wxUSE_COMMONDLGS=no
2034 DEFAULT_wxUSE_CHOICEDLG=no
2035 DEFAULT_wxUSE_COLOURDLG=no
2036 DEFAULT_wxUSE_DIRDLG=no
2037 DEFAULT_wxUSE_FILEDLG=no
2038 DEFAULT_wxUSE_FINDREPLDLG=no
2039 DEFAULT_wxUSE_FONTDLG=no
2040 DEFAULT_wxUSE_MSGDLG=no
2041 DEFAULT_wxUSE_NUMBERDLG=no
2042 DEFAULT_wxUSE_TEXTDLG=no
2043 DEFAULT_wxUSE_SPLASH=no
2044 DEFAULT_wxUSE_STARTUP_TIPS=no
2045 DEFAULT_wxUSE_PROGRESSDLG=no
2046 DEFAULT_wxUSE_WIZARDDLG=no
2047
2048 DEFAULT_wxUSE_MENUS=no
2049 DEFAULT_wxUSE_MINIFRAME=no
2050 DEFAULT_wxUSE_HTML=no
2051 DEFAULT_wxUSE_FILESYSTEM=no
2052 DEFAULT_wxUSE_FS_INET=no
2053 DEFAULT_wxUSE_FS_ZIP=no
2054 DEFAULT_wxUSE_BUSYINFO=no
2055 DEFAULT_wxUSE_ZIPSTREAM=no
2056 DEFAULT_wxUSE_VALIDATORS=no
2057
2058 DEFAULT_wxUSE_ACCEL=no
2059 DEFAULT_wxUSE_BUTTON=no
2060 DEFAULT_wxUSE_BMPBUTTON=no
2061 DEFAULT_wxUSE_CALCTRL=no
2062 DEFAULT_wxUSE_CARET=no
2063 DEFAULT_wxUSE_CHECKBOX=no
2064 DEFAULT_wxUSE_CHECKLST=no
2065 DEFAULT_wxUSE_CHOICE=no
2066 DEFAULT_wxUSE_COMBOBOX=no
2067 DEFAULT_wxUSE_DISPLAY=no
2068 DEFAULT_wxUSE_GAUGE=no
2069 DEFAULT_wxUSE_GRID=no
2070 DEFAULT_wxUSE_IMAGLIST=no
2071 DEFAULT_wxUSE_LISTBOX=no
2072 DEFAULT_wxUSE_LISTCTRL=no
2073 DEFAULT_wxUSE_NOTEBOOK=no
2074 DEFAULT_wxUSE_RADIOBOX=no
2075 DEFAULT_wxUSE_RADIOBTN=no
2076 DEFAULT_wxUSE_SASH=no
2077 DEFAULT_wxUSE_SCROLLBAR=no
2078 DEFAULT_wxUSE_SLIDER=no
2079 DEFAULT_wxUSE_SPINBTN=no
2080 DEFAULT_wxUSE_SPINCTRL=no
2081 DEFAULT_wxUSE_SPLITTER=no
2082 DEFAULT_wxUSE_STATBMP=no
2083 DEFAULT_wxUSE_STATBOX=no
2084 DEFAULT_wxUSE_STATLINE=no
2085 DEFAULT_wxUSE_STATTEXT=no
2086 DEFAULT_wxUSE_STATUSBAR=yes
2087 DEFAULT_wxUSE_TABDIALOG=no
2088 DEFAULT_wxUSE_TEXTCTRL=no
2089 DEFAULT_wxUSE_TOGGLEBTN=no
2090 DEFAULT_wxUSE_TOOLBAR=no
2091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2092 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2093 DEFAULT_wxUSE_TREECTRL=no
2094 DEFAULT_wxUSE_POPUPWIN=no
2095 DEFAULT_wxUSE_TIPWINDOW=no
2096
2097 DEFAULT_wxUSE_UNICODE=no
2098 DEFAULT_wxUSE_UNICODE_MSLU=no
2099 DEFAULT_wxUSE_WCSRTOMBS=no
2100
2101 DEFAULT_wxUSE_PALETTE=no
2102 DEFAULT_wxUSE_IMAGE=no
2103 DEFAULT_wxUSE_GIF=no
2104 DEFAULT_wxUSE_PCX=no
2105 DEFAULT_wxUSE_PNM=no
2106 DEFAULT_wxUSE_IFF=no
2107 DEFAULT_wxUSE_XPM=no
2108 DEFAULT_wxUSE_ICO_CUR=no
2109 DEFAULT_wxUSE_ACCESSIBILITY=no
2110
2111 DEFAULT_wxUSE_MONOLITHIC=yes
2112 else
2113 DEFAULT_wxUSE_UNIVERSAL=no
2114
2115 DEFAULT_wxUSE_NANOX=no
2116
2117 DEFAULT_wxUSE_THREADS=yes
2118
2119 DEFAULT_wxUSE_SHARED=yes
2120 DEFAULT_wxUSE_OPTIMISE=yes
2121 DEFAULT_wxUSE_PROFILE=no
2122 DEFAULT_wxUSE_NO_DEPS=no
2123 DEFAULT_wxUSE_NO_RTTI=no
2124 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2125 DEFAULT_wxUSE_PERMISSIVE=no
2126 DEFAULT_wxUSE_DEBUG_FLAG=no
2127 DEFAULT_wxUSE_DEBUG_INFO=no
2128 DEFAULT_wxUSE_DEBUG_GDB=no
2129 DEFAULT_wxUSE_MEM_TRACING=no
2130 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2131 DEFAULT_wxUSE_DMALLOC=no
2132 DEFAULT_wxUSE_PRECOMP=no
2133 DEFAULT_wxUSE_APPLE_IEEE=yes
2134
2135 DEFAULT_wxUSE_LOG=yes
2136 DEFAULT_wxUSE_LOGWINDOW=yes
2137 DEFAULT_wxUSE_LOGGUI=yes
2138 DEFAULT_wxUSE_LOGDIALOG=yes
2139
2140 DEFAULT_wxUSE_GUI=yes
2141
2142 DEFAULT_wxUSE_REGEX=yes
2143 DEFAULT_wxUSE_ZLIB=yes
2144 DEFAULT_wxUSE_LIBPNG=yes
2145 DEFAULT_wxUSE_LIBJPEG=yes
2146 DEFAULT_wxUSE_LIBTIFF=yes
2147 DEFAULT_wxUSE_ODBC=no
2148 DEFAULT_wxUSE_OPENGL=no
2149
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2154 DEFAULT_wxUSE_DATETIME=yes
2155 DEFAULT_wxUSE_TIMER=yes
2156 DEFAULT_wxUSE_STOPWATCH=yes
2157 DEFAULT_wxUSE_FILE=yes
2158 DEFAULT_wxUSE_FFILE=yes
2159 DEFAULT_wxUSE_TEXTBUFFER=yes
2160 DEFAULT_wxUSE_TEXTFILE=yes
2161 DEFAULT_wxUSE_WAVE=no
2162 DEFAULT_wxUSE_INTL=yes
2163 DEFAULT_wxUSE_CONFIG=yes
2164 DEFAULT_wxUSE_FONTMAP=yes
2165 DEFAULT_wxUSE_STREAMS=yes
2166 DEFAULT_wxUSE_SOCKETS=yes
2167 DEFAULT_wxUSE_OLE=yes
2168 DEFAULT_wxUSE_DATAOBJ=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2170 DEFAULT_wxUSE_JOYSTICK=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2173 DEFAULT_wxUSE_LONGLONG=yes
2174 DEFAULT_wxUSE_GEOMETRY=yes
2175
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2178 DEFAULT_wxUSE_POSTSCRIPT=yes
2179
2180 DEFAULT_wxUSE_CLIPBOARD=yes
2181 DEFAULT_wxUSE_TOOLTIPS=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2183 DEFAULT_wxUSE_DRAGIMAGE=yes
2184 DEFAULT_wxUSE_SPLINES=yes
2185
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2189
2190 DEFAULT_wxUSE_RESOURCES=no
2191 DEFAULT_wxUSE_CONSTRAINTS=yes
2192 DEFAULT_wxUSE_IPC=yes
2193 DEFAULT_wxUSE_HELP=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP=yes
2195 DEFAULT_wxUSE_WXHTML_HELP=yes
2196 DEFAULT_wxUSE_TREELAYOUT=yes
2197 DEFAULT_wxUSE_METAFILE=yes
2198 DEFAULT_wxUSE_MIMETYPE=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2200 DEFAULT_wxUSE_PROTOCOL=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2204 DEFAULT_wxUSE_URL=yes
2205
2206 DEFAULT_wxUSE_COMMONDLGS=yes
2207 DEFAULT_wxUSE_CHOICEDLG=yes
2208 DEFAULT_wxUSE_COLOURDLG=yes
2209 DEFAULT_wxUSE_DIRDLG=yes
2210 DEFAULT_wxUSE_FILEDLG=yes
2211 DEFAULT_wxUSE_FINDREPLDLG=yes
2212 DEFAULT_wxUSE_FONTDLG=yes
2213 DEFAULT_wxUSE_MSGDLG=yes
2214 DEFAULT_wxUSE_NUMBERDLG=yes
2215 DEFAULT_wxUSE_TEXTDLG=yes
2216 DEFAULT_wxUSE_SPLASH=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS=yes
2218 DEFAULT_wxUSE_PROGRESSDLG=yes
2219 DEFAULT_wxUSE_WIZARDDLG=yes
2220
2221 DEFAULT_wxUSE_MENUS=yes
2222 DEFAULT_wxUSE_MINIFRAME=yes
2223 DEFAULT_wxUSE_HTML=yes
2224 DEFAULT_wxUSE_FILESYSTEM=yes
2225 DEFAULT_wxUSE_FS_INET=yes
2226 DEFAULT_wxUSE_FS_ZIP=yes
2227 DEFAULT_wxUSE_BUSYINFO=yes
2228 DEFAULT_wxUSE_ZIPSTREAM=yes
2229 DEFAULT_wxUSE_VALIDATORS=yes
2230
2231 DEFAULT_wxUSE_ACCEL=yes
2232 DEFAULT_wxUSE_BUTTON=yes
2233 DEFAULT_wxUSE_BMPBUTTON=yes
2234 DEFAULT_wxUSE_CALCTRL=yes
2235 DEFAULT_wxUSE_CARET=yes
2236 DEFAULT_wxUSE_CHECKBOX=yes
2237 DEFAULT_wxUSE_CHECKLST=yes
2238 DEFAULT_wxUSE_CHOICE=yes
2239 DEFAULT_wxUSE_COMBOBOX=yes
2240 DEFAULT_wxUSE_DISPLAY=no
2241 DEFAULT_wxUSE_GAUGE=yes
2242 DEFAULT_wxUSE_GRID=yes
2243 DEFAULT_wxUSE_IMAGLIST=yes
2244 DEFAULT_wxUSE_LISTBOX=yes
2245 DEFAULT_wxUSE_LISTCTRL=yes
2246 DEFAULT_wxUSE_NOTEBOOK=yes
2247 DEFAULT_wxUSE_RADIOBOX=yes
2248 DEFAULT_wxUSE_RADIOBTN=yes
2249 DEFAULT_wxUSE_SASH=yes
2250 DEFAULT_wxUSE_SCROLLBAR=yes
2251 DEFAULT_wxUSE_SLIDER=yes
2252 DEFAULT_wxUSE_SPINBTN=yes
2253 DEFAULT_wxUSE_SPINCTRL=yes
2254 DEFAULT_wxUSE_SPLITTER=yes
2255 DEFAULT_wxUSE_STATBMP=yes
2256 DEFAULT_wxUSE_STATBOX=yes
2257 DEFAULT_wxUSE_STATLINE=yes
2258 DEFAULT_wxUSE_STATTEXT=yes
2259 DEFAULT_wxUSE_STATUSBAR=yes
2260 DEFAULT_wxUSE_TABDIALOG=no
2261 DEFAULT_wxUSE_TEXTCTRL=yes
2262 DEFAULT_wxUSE_TOGGLEBTN=yes
2263 DEFAULT_wxUSE_TOOLBAR=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2266 DEFAULT_wxUSE_TREECTRL=yes
2267 DEFAULT_wxUSE_POPUPWIN=yes
2268 DEFAULT_wxUSE_TIPWINDOW=yes
2269
2270 DEFAULT_wxUSE_UNICODE=no
2271 DEFAULT_wxUSE_UNICODE_MSLU=yes
2272 DEFAULT_wxUSE_WCSRTOMBS=no
2273
2274 DEFAULT_wxUSE_PALETTE=yes
2275 DEFAULT_wxUSE_IMAGE=yes
2276 DEFAULT_wxUSE_GIF=yes
2277 DEFAULT_wxUSE_PCX=yes
2278 DEFAULT_wxUSE_IFF=no
2279 DEFAULT_wxUSE_PNM=yes
2280 DEFAULT_wxUSE_XPM=yes
2281 DEFAULT_wxUSE_ICO_CUR=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY=no
2283
2284 DEFAULT_wxUSE_MONOLITHIC=yes
2285 fi
2286
2287
2288
2289 for toolkit in `echo $ALL_TOOLKITS`; do
2290 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2291 if test "x$LINE" != "x" ; then
2292 has_toolkit_in_cache=1
2293 eval "DEFAULT_$LINE"
2294 eval "CACHE_$toolkit=1"
2295 fi
2296 done
2297
2298
2299
2300 enablestring=
2301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2302 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2303 no_cache=0
2304 # Check whether --enable-gui or --disable-gui was given.
2305 if test "${enable_gui+set}" = set; then
2306 enableval="$enable_gui"
2307
2308 if test "$enableval" = yes; then
2309 ac_cv_use_gui='wxUSE_GUI=yes'
2310 else
2311 ac_cv_use_gui='wxUSE_GUI=no'
2312 fi
2313
2314 else
2315
2316 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2317 if test "x$LINE" != x ; then
2318 eval "DEFAULT_$LINE"
2319 else
2320 no_cache=1
2321 fi
2322
2323 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2324
2325 fi;
2326
2327 eval "$ac_cv_use_gui"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2330 fi
2331
2332 if test "$wxUSE_GUI" = yes; then
2333 echo "$as_me:$LINENO: result: yes" >&5
2334 echo "${ECHO_T}yes" >&6
2335 else
2336 echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6
2338 fi
2339
2340
2341 enablestring=
2342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2343 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2344 no_cache=0
2345 # Check whether --enable-monolithic or --disable-monolithic was given.
2346 if test "${enable_monolithic+set}" = set; then
2347 enableval="$enable_monolithic"
2348
2349 if test "$enableval" = yes; then
2350 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2351 else
2352 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2353 fi
2354
2355 else
2356
2357 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2358 if test "x$LINE" != x ; then
2359 eval "DEFAULT_$LINE"
2360 else
2361 no_cache=1
2362 fi
2363
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2365
2366 fi;
2367
2368 eval "$ac_cv_use_monolithic"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2371 fi
2372
2373 if test "$wxUSE_MONOLITHIC" = yes; then
2374 echo "$as_me:$LINENO: result: yes" >&5
2375 echo "${ECHO_T}yes" >&6
2376 else
2377 echo "$as_me:$LINENO: result: no" >&5
2378 echo "${ECHO_T}no" >&6
2379 fi
2380
2381
2382 if test "$wxUSE_GUI" = "yes"; then
2383
2384
2385 enablestring=
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2387 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2388 no_cache=0
2389 # Check whether --enable-universal or --disable-universal was given.
2390 if test "${enable_universal+set}" = set; then
2391 enableval="$enable_universal"
2392
2393 if test "$enableval" = yes; then
2394 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2395 else
2396 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2397 fi
2398
2399 else
2400
2401 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2404 else
2405 no_cache=1
2406 fi
2407
2408 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2409
2410 fi;
2411
2412 eval "$ac_cv_use_universal"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2415 fi
2416
2417 if test "$wxUSE_UNIVERSAL" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419 echo "${ECHO_T}yes" >&6
2420 else
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2423 fi
2424
2425
2426 # Check whether --with-gtk or --without-gtk was given.
2427 if test "${with_gtk+set}" = set; then
2428 withval="$with_gtk"
2429 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2430 fi;
2431
2432 # Check whether --with-motif or --without-motif was given.
2433 if test "${with_motif+set}" = set; then
2434 withval="$with_motif"
2435 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2436 fi;
2437
2438 # Check whether --with-mac or --without-mac was given.
2439 if test "${with_mac+set}" = set; then
2440 withval="$with_mac"
2441 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2442 fi;
2443
2444 # Check whether --with-cocoa or --without-cocoa was given.
2445 if test "${with_cocoa+set}" = set; then
2446 withval="$with_cocoa"
2447 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2448 fi;
2449
2450 # Check whether --with-wine or --without-wine was given.
2451 if test "${with_wine+set}" = set; then
2452 withval="$with_wine"
2453 wxUSE_WINE="$withval" CACHE_WINE=1
2454 fi;
2455
2456 # Check whether --with-msw or --without-msw was given.
2457 if test "${with_msw+set}" = set; then
2458 withval="$with_msw"
2459 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2460 fi;
2461
2462 # Check whether --with-pm or --without-pm was given.
2463 if test "${with_pm+set}" = set; then
2464 withval="$with_pm"
2465 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2466 fi;
2467
2468 # Check whether --with-mgl or --without-mgl was given.
2469 if test "${with_mgl+set}" = set; then
2470 withval="$with_mgl"
2471 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2472 fi;
2473
2474 # Check whether --with-microwin or --without-microwin was given.
2475 if test "${with_microwin+set}" = set; then
2476 withval="$with_microwin"
2477 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2478 fi;
2479
2480 # Check whether --with-x11 or --without-x11 was given.
2481 if test "${with_x11+set}" = set; then
2482 withval="$with_x11"
2483 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2484 fi;
2485
2486 enablestring=
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2489 no_cache=0
2490 # Check whether --enable-nanox or --disable-nanox was given.
2491 if test "${enable_nanox+set}" = set; then
2492 enableval="$enable_nanox"
2493
2494 if test "$enableval" = yes; then
2495 ac_cv_use_nanox='wxUSE_NANOX=yes'
2496 else
2497 ac_cv_use_nanox='wxUSE_NANOX=no'
2498 fi
2499
2500 else
2501
2502 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x ; then
2504 eval "DEFAULT_$LINE"
2505 else
2506 no_cache=1
2507 fi
2508
2509 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2510
2511 fi;
2512
2513 eval "$ac_cv_use_nanox"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2516 fi
2517
2518 if test "$wxUSE_NANOX" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2521 else
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2524 fi
2525
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2533 if test "${enable_gtk2+set}" = set; then
2534 enableval="$enable_gtk2"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2538 else
2539 ac_cv_use_gtk2='wxUSE_GTK2=no'
2540 fi
2541
2542 else
2543
2544 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2552
2553 fi;
2554
2555 eval "$ac_cv_use_gtk2"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_GTK2" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569
2570 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2571 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2572 no_cache=0
2573
2574 # Check whether --with-libpng or --without-libpng was given.
2575 if test "${with_libpng+set}" = set; then
2576 withval="$with_libpng"
2577
2578 if test "$withval" = yes; then
2579 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2580 elif test "$withval" = no; then
2581 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2582 elif test "$withval" = sys; then
2583 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2584 elif test "$withval" = builtin; then
2585 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2586 else
2587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2589 { (exit 1); exit 1; }; }
2590 fi
2591
2592 else
2593
2594 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2597 else
2598 no_cache=1
2599 fi
2600
2601 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2602
2603 fi;
2604
2605 eval "$ac_cv_use_libpng"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2608 fi
2609
2610 if test "$wxUSE_LIBPNG" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2613 elif test "$wxUSE_LIBPNG" = no; then
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2616 elif test "$wxUSE_LIBPNG" = sys; then
2617 echo "$as_me:$LINENO: result: system version" >&5
2618 echo "${ECHO_T}system version" >&6
2619 elif test "$wxUSE_LIBPNG" = builtin; then
2620 echo "$as_me:$LINENO: result: builtin version" >&5
2621 echo "${ECHO_T}builtin version" >&6
2622 else
2623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2624 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2625 { (exit 1); exit 1; }; }
2626 fi
2627
2628
2629 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2630 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2631 no_cache=0
2632
2633 # Check whether --with-libjpeg or --without-libjpeg was given.
2634 if test "${with_libjpeg+set}" = set; then
2635 withval="$with_libjpeg"
2636
2637 if test "$withval" = yes; then
2638 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2639 elif test "$withval" = no; then
2640 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2641 elif test "$withval" = sys; then
2642 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2643 elif test "$withval" = builtin; then
2644 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2645 else
2646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2647 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2648 { (exit 1); exit 1; }; }
2649 fi
2650
2651 else
2652
2653 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2656 else
2657 no_cache=1
2658 fi
2659
2660 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2661
2662 fi;
2663
2664 eval "$ac_cv_use_libjpeg"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2667 fi
2668
2669 if test "$wxUSE_LIBJPEG" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2672 elif test "$wxUSE_LIBJPEG" = no; then
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2675 elif test "$wxUSE_LIBJPEG" = sys; then
2676 echo "$as_me:$LINENO: result: system version" >&5
2677 echo "${ECHO_T}system version" >&6
2678 elif test "$wxUSE_LIBJPEG" = builtin; then
2679 echo "$as_me:$LINENO: result: builtin version" >&5
2680 echo "${ECHO_T}builtin version" >&6
2681 else
2682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2683 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2684 { (exit 1); exit 1; }; }
2685 fi
2686
2687
2688 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2689 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2690 no_cache=0
2691
2692 # Check whether --with-libtiff or --without-libtiff was given.
2693 if test "${with_libtiff+set}" = set; then
2694 withval="$with_libtiff"
2695
2696 if test "$withval" = yes; then
2697 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2698 elif test "$withval" = no; then
2699 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2700 elif test "$withval" = sys; then
2701 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2702 elif test "$withval" = builtin; then
2703 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2704 else
2705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2706 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2707 { (exit 1); exit 1; }; }
2708 fi
2709
2710 else
2711
2712 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2715 else
2716 no_cache=1
2717 fi
2718
2719 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2720
2721 fi;
2722
2723 eval "$ac_cv_use_libtiff"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2726 fi
2727
2728 if test "$wxUSE_LIBTIFF" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2731 elif test "$wxUSE_LIBTIFF" = no; then
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2734 elif test "$wxUSE_LIBTIFF" = sys; then
2735 echo "$as_me:$LINENO: result: system version" >&5
2736 echo "${ECHO_T}system version" >&6
2737 elif test "$wxUSE_LIBTIFF" = builtin; then
2738 echo "$as_me:$LINENO: result: builtin version" >&5
2739 echo "${ECHO_T}builtin version" >&6
2740 else
2741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2742 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2743 { (exit 1); exit 1; }; }
2744 fi
2745
2746
2747 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2748 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2749 no_cache=0
2750
2751 # Check whether --with-opengl or --without-opengl was given.
2752 if test "${with_opengl+set}" = set; then
2753 withval="$with_opengl"
2754
2755 if test "$withval" = yes; then
2756 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2757 else
2758 ac_cv_use_opengl='wxUSE_OPENGL=no'
2759 fi
2760
2761 else
2762
2763 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x ; then
2765 eval "DEFAULT_$LINE"
2766 else
2767 no_cache=1
2768 fi
2769
2770 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2771
2772 fi;
2773
2774 eval "$ac_cv_use_opengl"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$wxUSE_OPENGL" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2782 else
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2785 fi
2786
2787
2788 fi
2789
2790
2791 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2792 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2793 no_cache=0
2794
2795 # Check whether --with-dmalloc or --without-dmalloc was given.
2796 if test "${with_dmalloc+set}" = set; then
2797 withval="$with_dmalloc"
2798
2799 if test "$withval" = yes; then
2800 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2801 else
2802 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2803 fi
2804
2805 else
2806
2807 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2810 else
2811 no_cache=1
2812 fi
2813
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2815
2816 fi;
2817
2818 eval "$ac_cv_use_dmalloc"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_DMALLOC" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2826 else
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2829 fi
2830
2831
2832 echo "$as_me:$LINENO: checking for --with-regex" >&5
2833 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2834 no_cache=0
2835
2836 # Check whether --with-regex or --without-regex was given.
2837 if test "${with_regex+set}" = set; then
2838 withval="$with_regex"
2839
2840 if test "$withval" = yes; then
2841 ac_cv_use_regex='wxUSE_REGEX=yes'
2842 elif test "$withval" = no; then
2843 ac_cv_use_regex='wxUSE_REGEX=no'
2844 elif test "$withval" = sys; then
2845 ac_cv_use_regex='wxUSE_REGEX=sys'
2846 elif test "$withval" = builtin; then
2847 ac_cv_use_regex='wxUSE_REGEX=builtin'
2848 else
2849 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2850 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2851 { (exit 1); exit 1; }; }
2852 fi
2853
2854 else
2855
2856 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x ; then
2858 eval "DEFAULT_$LINE"
2859 else
2860 no_cache=1
2861 fi
2862
2863 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2864
2865 fi;
2866
2867 eval "$ac_cv_use_regex"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2870 fi
2871
2872 if test "$wxUSE_REGEX" = yes; then
2873 echo "$as_me:$LINENO: result: yes" >&5
2874 echo "${ECHO_T}yes" >&6
2875 elif test "$wxUSE_REGEX" = no; then
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2878 elif test "$wxUSE_REGEX" = sys; then
2879 echo "$as_me:$LINENO: result: system version" >&5
2880 echo "${ECHO_T}system version" >&6
2881 elif test "$wxUSE_REGEX" = builtin; then
2882 echo "$as_me:$LINENO: result: builtin version" >&5
2883 echo "${ECHO_T}builtin version" >&6
2884 else
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2886 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2888 fi
2889
2890
2891 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2892 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2893 no_cache=0
2894
2895 # Check whether --with-zlib or --without-zlib was given.
2896 if test "${with_zlib+set}" = set; then
2897 withval="$with_zlib"
2898
2899 if test "$withval" = yes; then
2900 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2901 elif test "$withval" = no; then
2902 ac_cv_use_zlib='wxUSE_ZLIB=no'
2903 elif test "$withval" = sys; then
2904 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2905 elif test "$withval" = builtin; then
2906 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2907 else
2908 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2909 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2910 { (exit 1); exit 1; }; }
2911 fi
2912
2913 else
2914
2915 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x ; then
2917 eval "DEFAULT_$LINE"
2918 else
2919 no_cache=1
2920 fi
2921
2922 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2923
2924 fi;
2925
2926 eval "$ac_cv_use_zlib"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2929 fi
2930
2931 if test "$wxUSE_ZLIB" = yes; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2934 elif test "$wxUSE_ZLIB" = no; then
2935 echo "$as_me:$LINENO: result: no" >&5
2936 echo "${ECHO_T}no" >&6
2937 elif test "$wxUSE_ZLIB" = sys; then
2938 echo "$as_me:$LINENO: result: system version" >&5
2939 echo "${ECHO_T}system version" >&6
2940 elif test "$wxUSE_ZLIB" = builtin; then
2941 echo "$as_me:$LINENO: result: builtin version" >&5
2942 echo "${ECHO_T}builtin version" >&6
2943 else
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2945 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2947 fi
2948
2949
2950 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2951 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2952 no_cache=0
2953
2954 # Check whether --with-odbc or --without-odbc was given.
2955 if test "${with_odbc+set}" = set; then
2956 withval="$with_odbc"
2957
2958 if test "$withval" = yes; then
2959 ac_cv_use_odbc='wxUSE_ODBC=yes'
2960 elif test "$withval" = no; then
2961 ac_cv_use_odbc='wxUSE_ODBC=no'
2962 elif test "$withval" = sys; then
2963 ac_cv_use_odbc='wxUSE_ODBC=sys'
2964 elif test "$withval" = builtin; then
2965 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2966 else
2967 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2968 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2969 { (exit 1); exit 1; }; }
2970 fi
2971
2972 else
2973
2974 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x ; then
2976 eval "DEFAULT_$LINE"
2977 else
2978 no_cache=1
2979 fi
2980
2981 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2982
2983 fi;
2984
2985 eval "$ac_cv_use_odbc"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2988 fi
2989
2990 if test "$wxUSE_ODBC" = yes; then
2991 echo "$as_me:$LINENO: result: yes" >&5
2992 echo "${ECHO_T}yes" >&6
2993 elif test "$wxUSE_ODBC" = no; then
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
2996 elif test "$wxUSE_ODBC" = sys; then
2997 echo "$as_me:$LINENO: result: system version" >&5
2998 echo "${ECHO_T}system version" >&6
2999 elif test "$wxUSE_ODBC" = builtin; then
3000 echo "$as_me:$LINENO: result: builtin version" >&5
3001 echo "${ECHO_T}builtin version" >&6
3002 else
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3004 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3006 fi
3007
3008
3009
3010
3011 enablestring=
3012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3014 no_cache=0
3015 # Check whether --enable-shared or --disable-shared was given.
3016 if test "${enable_shared+set}" = set; then
3017 enableval="$enable_shared"
3018
3019 if test "$enableval" = yes; then
3020 ac_cv_use_shared='wxUSE_SHARED=yes'
3021 else
3022 ac_cv_use_shared='wxUSE_SHARED=no'
3023 fi
3024
3025 else
3026
3027 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x ; then
3029 eval "DEFAULT_$LINE"
3030 else
3031 no_cache=1
3032 fi
3033
3034 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3035
3036 fi;
3037
3038 eval "$ac_cv_use_shared"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3041 fi
3042
3043 if test "$wxUSE_SHARED" = yes; then
3044 echo "$as_me:$LINENO: result: yes" >&5
3045 echo "${ECHO_T}yes" >&6
3046 else
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3049 fi
3050
3051
3052 enablestring=
3053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3054 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3055 no_cache=0
3056 # Check whether --enable-optimise or --disable-optimise was given.
3057 if test "${enable_optimise+set}" = set; then
3058 enableval="$enable_optimise"
3059
3060 if test "$enableval" = yes; then
3061 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3062 else
3063 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3064 fi
3065
3066 else
3067
3068 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x ; then
3070 eval "DEFAULT_$LINE"
3071 else
3072 no_cache=1
3073 fi
3074
3075 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3076
3077 fi;
3078
3079 eval "$ac_cv_use_optimise"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test "$wxUSE_OPTIMISE" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3087 else
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3090 fi
3091
3092
3093 enablestring=
3094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3095 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3096 no_cache=0
3097 # Check whether --enable-debug or --disable-debug was given.
3098 if test "${enable_debug+set}" = set; then
3099 enableval="$enable_debug"
3100
3101 if test "$enableval" = yes; then
3102 ac_cv_use_debug='wxUSE_DEBUG=yes'
3103 else
3104 ac_cv_use_debug='wxUSE_DEBUG=no'
3105 fi
3106
3107 else
3108
3109 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x ; then
3111 eval "DEFAULT_$LINE"
3112 else
3113 no_cache=1
3114 fi
3115
3116 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3117
3118 fi;
3119
3120 eval "$ac_cv_use_debug"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3123 fi
3124
3125 if test "$wxUSE_DEBUG" = yes; then
3126 echo "$as_me:$LINENO: result: yes" >&5
3127 echo "${ECHO_T}yes" >&6
3128 else
3129 echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6
3131 fi
3132
3133
3134
3135 enablestring=
3136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3137 echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3138 no_cache=0
3139 # Check whether --enable-precomp or --disable-precomp was given.
3140 if test "${enable_precomp+set}" = set; then
3141 enableval="$enable_precomp"
3142
3143 if test "$enableval" = yes; then
3144 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
3145 else
3146 ac_cv_use_precomp='wxUSE_PRECOMP=no'
3147 fi
3148
3149 else
3150
3151 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x ; then
3153 eval "DEFAULT_$LINE"
3154 else
3155 no_cache=1
3156 fi
3157
3158 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3159
3160 fi;
3161
3162 eval "$ac_cv_use_precomp"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3165 fi
3166
3167 if test "$wxUSE_PRECOMP" = yes; then
3168 echo "$as_me:$LINENO: result: yes" >&5
3169 echo "${ECHO_T}yes" >&6
3170 else
3171 echo "$as_me:$LINENO: result: no" >&5
3172 echo "${ECHO_T}no" >&6
3173 fi
3174
3175
3176 if test "$wxUSE_DEBUG" = "yes"; then
3177 DEFAULT_wxUSE_DEBUG_FLAG=yes
3178 DEFAULT_wxUSE_DEBUG_INFO=yes
3179 elif test "$wxUSE_DEBUG" = "no"; then
3180 DEFAULT_wxUSE_DEBUG_FLAG=no
3181 DEFAULT_wxUSE_DEBUG_INFO=no
3182 fi
3183
3184
3185 enablestring=
3186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3187 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3188 no_cache=0
3189 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3190 if test "${enable_debug_flag+set}" = set; then
3191 enableval="$enable_debug_flag"
3192
3193 if test "$enableval" = yes; then
3194 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3195 else
3196 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3197 fi
3198
3199 else
3200
3201 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x ; then
3203 eval "DEFAULT_$LINE"
3204 else
3205 no_cache=1
3206 fi
3207
3208 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3209
3210 fi;
3211
3212 eval "$ac_cv_use_debug_flag"
3213 if test "$no_cache" != 1; then
3214 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3215 fi
3216
3217 if test "$wxUSE_DEBUG_FLAG" = yes; then
3218 echo "$as_me:$LINENO: result: yes" >&5
3219 echo "${ECHO_T}yes" >&6
3220 else
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3223 fi
3224
3225
3226 enablestring=
3227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3228 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3229 no_cache=0
3230 # Check whether --enable-debug_info or --disable-debug_info was given.
3231 if test "${enable_debug_info+set}" = set; then
3232 enableval="$enable_debug_info"
3233
3234 if test "$enableval" = yes; then
3235 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3236 else
3237 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3238 fi
3239
3240 else
3241
3242 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3245 else
3246 no_cache=1
3247 fi
3248
3249 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3250
3251 fi;
3252
3253 eval "$ac_cv_use_debug_info"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test "$wxUSE_DEBUG_INFO" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3261 else
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3264 fi
3265
3266
3267 enablestring=
3268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3269 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3270 no_cache=0
3271 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3272 if test "${enable_debug_gdb+set}" = set; then
3273 enableval="$enable_debug_gdb"
3274
3275 if test "$enableval" = yes; then
3276 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3277 else
3278 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3279 fi
3280
3281 else
3282
3283 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x ; then
3285 eval "DEFAULT_$LINE"
3286 else
3287 no_cache=1
3288 fi
3289
3290 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3291
3292 fi;
3293
3294 eval "$ac_cv_use_debug_gdb"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3297 fi
3298
3299 if test "$wxUSE_DEBUG_GDB" = yes; then
3300 echo "$as_me:$LINENO: result: yes" >&5
3301 echo "${ECHO_T}yes" >&6
3302 else
3303 echo "$as_me:$LINENO: result: no" >&5
3304 echo "${ECHO_T}no" >&6
3305 fi
3306
3307
3308 enablestring=
3309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3310 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3311 no_cache=0
3312 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3313 if test "${enable_debug_cntxt+set}" = set; then
3314 enableval="$enable_debug_cntxt"
3315
3316 if test "$enableval" = yes; then
3317 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3318 else
3319 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3320 fi
3321
3322 else
3323
3324 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x ; then
3326 eval "DEFAULT_$LINE"
3327 else
3328 no_cache=1
3329 fi
3330
3331 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3332
3333 fi;
3334
3335 eval "$ac_cv_use_debug_cntxt"
3336 if test "$no_cache" != 1; then
3337 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3338 fi
3339
3340 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3341 echo "$as_me:$LINENO: result: yes" >&5
3342 echo "${ECHO_T}yes" >&6
3343 else
3344 echo "$as_me:$LINENO: result: no" >&5
3345 echo "${ECHO_T}no" >&6
3346 fi
3347
3348
3349 enablestring=
3350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3351 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3352 no_cache=0
3353 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3354 if test "${enable_mem_tracing+set}" = set; then
3355 enableval="$enable_mem_tracing"
3356
3357 if test "$enableval" = yes; then
3358 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3359 else
3360 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3361 fi
3362
3363 else
3364
3365 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3366 if test "x$LINE" != x ; then
3367 eval "DEFAULT_$LINE"
3368 else
3369 no_cache=1
3370 fi
3371
3372 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3373
3374 fi;
3375
3376 eval "$ac_cv_use_mem_tracing"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3379 fi
3380
3381 if test "$wxUSE_MEM_TRACING" = yes; then
3382 echo "$as_me:$LINENO: result: yes" >&5
3383 echo "${ECHO_T}yes" >&6
3384 else
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3387 fi
3388
3389
3390 enablestring=
3391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3392 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3393 no_cache=0
3394 # Check whether --enable-profile or --disable-profile was given.
3395 if test "${enable_profile+set}" = set; then
3396 enableval="$enable_profile"
3397
3398 if test "$enableval" = yes; then
3399 ac_cv_use_profile='wxUSE_PROFILE=yes'
3400 else
3401 ac_cv_use_profile='wxUSE_PROFILE=no'
3402 fi
3403
3404 else
3405
3406 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x ; then
3408 eval "DEFAULT_$LINE"
3409 else
3410 no_cache=1
3411 fi
3412
3413 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3414
3415 fi;
3416
3417 eval "$ac_cv_use_profile"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_PROFILE" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430
3431 enablestring=
3432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3433 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3434 no_cache=0
3435 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3436 if test "${enable_no_rtti+set}" = set; then
3437 enableval="$enable_no_rtti"
3438
3439 if test "$enableval" = yes; then
3440 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3441 else
3442 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3443 fi
3444
3445 else
3446
3447 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x ; then
3449 eval "DEFAULT_$LINE"
3450 else
3451 no_cache=1
3452 fi
3453
3454 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3455
3456 fi;
3457
3458 eval "$ac_cv_use_no_rtti"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3461 fi
3462
3463 if test "$wxUSE_NO_RTTI" = yes; then
3464 echo "$as_me:$LINENO: result: yes" >&5
3465 echo "${ECHO_T}yes" >&6
3466 else
3467 echo "$as_me:$LINENO: result: no" >&5
3468 echo "${ECHO_T}no" >&6
3469 fi
3470
3471
3472 enablestring=
3473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3474 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3475 no_cache=0
3476 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3477 if test "${enable_no_exceptions+set}" = set; then
3478 enableval="$enable_no_exceptions"
3479
3480 if test "$enableval" = yes; then
3481 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3482 else
3483 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3484 fi
3485
3486 else
3487
3488 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3489 if test "x$LINE" != x ; then
3490 eval "DEFAULT_$LINE"
3491 else
3492 no_cache=1
3493 fi
3494
3495 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3496
3497 fi;
3498
3499 eval "$ac_cv_use_no_exceptions"
3500 if test "$no_cache" != 1; then
3501 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3502 fi
3503
3504 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3505 echo "$as_me:$LINENO: result: yes" >&5
3506 echo "${ECHO_T}yes" >&6
3507 else
3508 echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3510 fi
3511
3512
3513 enablestring=
3514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3515 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3516 no_cache=0
3517 # Check whether --enable-permissive or --disable-permissive was given.
3518 if test "${enable_permissive+set}" = set; then
3519 enableval="$enable_permissive"
3520
3521 if test "$enableval" = yes; then
3522 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3523 else
3524 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3537
3538 fi;
3539
3540 eval "$ac_cv_use_permissive"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_PERMISSIVE" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 enablestring=
3555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3556 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3557 no_cache=0
3558 # Check whether --enable-no_deps or --disable-no_deps was given.
3559 if test "${enable_no_deps+set}" = set; then
3560 enableval="$enable_no_deps"
3561
3562 if test "$enableval" = yes; then
3563 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3564 else
3565 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3566 fi
3567
3568 else
3569
3570 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3578
3579 fi;
3580
3581 eval "$ac_cv_use_no_deps"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_NO_DEPS" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 else
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 fi
3593
3594
3595
3596 enablestring=
3597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3598 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3599 no_cache=0
3600 # Check whether --enable-compat20 or --disable-compat20 was given.
3601 if test "${enable_compat20+set}" = set; then
3602 enableval="$enable_compat20"
3603
3604 if test "$enableval" = yes; then
3605 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3606 else
3607 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3608 fi
3609
3610 else
3611
3612 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3613 if test "x$LINE" != x ; then
3614 eval "DEFAULT_$LINE"
3615 else
3616 no_cache=1
3617 fi
3618
3619 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3620
3621 fi;
3622
3623 eval "$ac_cv_use_compat20"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3626 fi
3627
3628 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3629 echo "$as_me:$LINENO: result: yes" >&5
3630 echo "${ECHO_T}yes" >&6
3631 else
3632 echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6
3634 fi
3635
3636
3637 enablestring=
3638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3639 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3640 no_cache=0
3641 # Check whether --enable-compat22 or --disable-compat22 was given.
3642 if test "${enable_compat22+set}" = set; then
3643 enableval="$enable_compat22"
3644
3645 if test "$enableval" = yes; then
3646 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3647 else
3648 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3649 fi
3650
3651 else
3652
3653 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3654 if test "x$LINE" != x ; then
3655 eval "DEFAULT_$LINE"
3656 else
3657 no_cache=1
3658 fi
3659
3660 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3661
3662 fi;
3663
3664 eval "$ac_cv_use_compat22"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3667 fi
3668
3669 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3670 echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6
3672 else
3673 echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6
3675 fi
3676
3677
3678 enablestring=disable
3679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3680 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3681 no_cache=0
3682 # Check whether --enable-compat24 or --disable-compat24 was given.
3683 if test "${enable_compat24+set}" = set; then
3684 enableval="$enable_compat24"
3685
3686 if test "$enableval" = yes; then
3687 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3688 else
3689 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3690 fi
3691
3692 else
3693
3694 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x ; then
3696 eval "DEFAULT_$LINE"
3697 else
3698 no_cache=1
3699 fi
3700
3701 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3702
3703 fi;
3704
3705 eval "$ac_cv_use_compat24"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3708 fi
3709
3710 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3711 echo "$as_me:$LINENO: result: yes" >&5
3712 echo "${ECHO_T}yes" >&6
3713 else
3714 echo "$as_me:$LINENO: result: no" >&5
3715 echo "${ECHO_T}no" >&6
3716 fi
3717
3718
3719 # Check whether --enable-rpath or --disable-rpath was given.
3720 if test "${enable_rpath+set}" = set; then
3721 enableval="$enable_rpath"
3722 wxRPATH_DIR="$enableval"
3723 fi;
3724
3725 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3726 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3727 fi
3728
3729
3730
3731
3732 enablestring=
3733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3734 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3735 no_cache=0
3736 # Check whether --enable-intl or --disable-intl was given.
3737 if test "${enable_intl+set}" = set; then
3738 enableval="$enable_intl"
3739
3740 if test "$enableval" = yes; then
3741 ac_cv_use_intl='wxUSE_INTL=yes'
3742 else
3743 ac_cv_use_intl='wxUSE_INTL=no'
3744 fi
3745
3746 else
3747
3748 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x ; then
3750 eval "DEFAULT_$LINE"
3751 else
3752 no_cache=1
3753 fi
3754
3755 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3756
3757 fi;
3758
3759 eval "$ac_cv_use_intl"
3760 if test "$no_cache" != 1; then
3761 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3762 fi
3763
3764 if test "$wxUSE_INTL" = yes; then
3765 echo "$as_me:$LINENO: result: yes" >&5
3766 echo "${ECHO_T}yes" >&6
3767 else
3768 echo "$as_me:$LINENO: result: no" >&5
3769 echo "${ECHO_T}no" >&6
3770 fi
3771
3772
3773 enablestring=
3774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3775 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3776 no_cache=0
3777 # Check whether --enable-config or --disable-config was given.
3778 if test "${enable_config+set}" = set; then
3779 enableval="$enable_config"
3780
3781 if test "$enableval" = yes; then
3782 ac_cv_use_config='wxUSE_CONFIG=yes'
3783 else
3784 ac_cv_use_config='wxUSE_CONFIG=no'
3785 fi
3786
3787 else
3788
3789 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x ; then
3791 eval "DEFAULT_$LINE"
3792 else
3793 no_cache=1
3794 fi
3795
3796 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3797
3798 fi;
3799
3800 eval "$ac_cv_use_config"
3801 if test "$no_cache" != 1; then
3802 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3803 fi
3804
3805 if test "$wxUSE_CONFIG" = yes; then
3806 echo "$as_me:$LINENO: result: yes" >&5
3807 echo "${ECHO_T}yes" >&6
3808 else
3809 echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6
3811 fi
3812
3813
3814
3815 enablestring=
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3817 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3818 no_cache=0
3819 # Check whether --enable-protocols or --disable-protocols was given.
3820 if test "${enable_protocols+set}" = set; then
3821 enableval="$enable_protocols"
3822
3823 if test "$enableval" = yes; then
3824 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3825 else
3826 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3827 fi
3828
3829 else
3830
3831 LINE=`grep "wxUSE_PROTOCOL" ${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_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3839
3840 fi;
3841
3842 eval "$ac_cv_use_protocols"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_PROTOCOL" = 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}-ftp" >&5
3858 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3859 no_cache=0
3860 # Check whether --enable-ftp or --disable-ftp was given.
3861 if test "${enable_ftp+set}" = set; then
3862 enableval="$enable_ftp"
3863
3864 if test "$enableval" = yes; then
3865 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3866 else
3867 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3868 fi
3869
3870 else
3871
3872 LINE=`grep "wxUSE_PROTOCOL_FTP" ${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_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3880
3881 fi;
3882
3883 eval "$ac_cv_use_ftp"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3886 fi
3887
3888 if test "$wxUSE_PROTOCOL_FTP" = 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}-http" >&5
3899 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3900 no_cache=0
3901 # Check whether --enable-http or --disable-http was given.
3902 if test "${enable_http+set}" = set; then
3903 enableval="$enable_http"
3904
3905 if test "$enableval" = yes; then
3906 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3907 else
3908 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3909 fi
3910
3911 else
3912
3913 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${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_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3921
3922 fi;
3923
3924 eval "$ac_cv_use_http"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test "$wxUSE_PROTOCOL_HTTP" = 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}-fileproto" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3941 no_cache=0
3942 # Check whether --enable-fileproto or --disable-fileproto was given.
3943 if test "${enable_fileproto+set}" = set; then
3944 enableval="$enable_fileproto"
3945
3946 if test "$enableval" = yes; then
3947 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3948 else
3949 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3950 fi
3951
3952 else
3953
3954 LINE=`grep "wxUSE_PROTOCOL_FILE" ${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_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3962
3963 fi;
3964
3965 eval "$ac_cv_use_fileproto"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3968 fi
3969
3970 if test "$wxUSE_PROTOCOL_FILE" = 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}-sockets" >&5
3981 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3982 no_cache=0
3983 # Check whether --enable-sockets or --disable-sockets was given.
3984 if test "${enable_sockets+set}" = set; then
3985 enableval="$enable_sockets"
3986
3987 if test "$enableval" = yes; then
3988 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3989 else
3990 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3991 fi
3992
3993 else
3994
3995 LINE=`grep "wxUSE_SOCKETS" ${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_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4003
4004 fi;
4005
4006 eval "$ac_cv_use_sockets"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4009 fi
4010
4011 if test "$wxUSE_SOCKETS" = 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 enablestring=
4021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4022 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4023 no_cache=0
4024 # Check whether --enable-ole or --disable-ole was given.
4025 if test "${enable_ole+set}" = set; then
4026 enableval="$enable_ole"
4027
4028 if test "$enableval" = yes; then
4029 ac_cv_use_ole='wxUSE_OLE=yes'
4030 else
4031 ac_cv_use_ole='wxUSE_OLE=no'
4032 fi
4033
4034 else
4035
4036 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4039 else
4040 no_cache=1
4041 fi
4042
4043 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4044
4045 fi;
4046
4047 eval "$ac_cv_use_ole"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4050 fi
4051
4052 if test "$wxUSE_OLE" = yes; then
4053 echo "$as_me:$LINENO: result: yes" >&5
4054 echo "${ECHO_T}yes" >&6
4055 else
4056 echo "$as_me:$LINENO: result: no" >&5
4057 echo "${ECHO_T}no" >&6
4058 fi
4059
4060
4061 enablestring=
4062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4063 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4064 no_cache=0
4065 # Check whether --enable-dataobj or --disable-dataobj was given.
4066 if test "${enable_dataobj+set}" = set; then
4067 enableval="$enable_dataobj"
4068
4069 if test "$enableval" = yes; then
4070 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4071 else
4072 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4073 fi
4074
4075 else
4076
4077 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x ; then
4079 eval "DEFAULT_$LINE"
4080 else
4081 no_cache=1
4082 fi
4083
4084 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4085
4086 fi;
4087
4088 eval "$ac_cv_use_dataobj"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4091 fi
4092
4093 if test "$wxUSE_DATAOBJ" = yes; then
4094 echo "$as_me:$LINENO: result: yes" >&5
4095 echo "${ECHO_T}yes" >&6
4096 else
4097 echo "$as_me:$LINENO: result: no" >&5
4098 echo "${ECHO_T}no" >&6
4099 fi
4100
4101
4102
4103 enablestring=
4104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4105 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4106 no_cache=0
4107 # Check whether --enable-ipc or --disable-ipc was given.
4108 if test "${enable_ipc+set}" = set; then
4109 enableval="$enable_ipc"
4110
4111 if test "$enableval" = yes; then
4112 ac_cv_use_ipc='wxUSE_IPC=yes'
4113 else
4114 ac_cv_use_ipc='wxUSE_IPC=no'
4115 fi
4116
4117 else
4118
4119 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x ; then
4121 eval "DEFAULT_$LINE"
4122 else
4123 no_cache=1
4124 fi
4125
4126 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4127
4128 fi;
4129
4130 eval "$ac_cv_use_ipc"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4133 fi
4134
4135 if test "$wxUSE_IPC" = yes; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137 echo "${ECHO_T}yes" >&6
4138 else
4139 echo "$as_me:$LINENO: result: no" >&5
4140 echo "${ECHO_T}no" >&6
4141 fi
4142
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-cmdline or --disable-cmdline was given.
4150 if test "${enable_cmdline+set}" = set; then
4151 enableval="$enable_cmdline"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4155 else
4156 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4157 fi
4158
4159 else
4160
4161 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4169
4170 fi;
4171
4172 eval "$ac_cv_use_cmdline"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-datetime or --disable-datetime was given.
4191 if test "${enable_datetime+set}" = set; then
4192 enableval="$enable_datetime"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4196 else
4197 ac_cv_use_datetime='wxUSE_DATETIME=no'
4198 fi
4199
4200 else
4201
4202 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4210
4211 fi;
4212
4213 eval "$ac_cv_use_datetime"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_DATETIME" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4232 if test "${enable_stopwatch+set}" = set; then
4233 enableval="$enable_stopwatch"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4237 else
4238 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4239 fi
4240
4241 else
4242
4243 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4251
4252 fi;
4253
4254 eval "$ac_cv_use_stopwatch"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_STOPWATCH" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268 enablestring=
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4271 no_cache=0
4272 # Check whether --enable-dialupman or --disable-dialupman was given.
4273 if test "${enable_dialupman+set}" = set; then
4274 enableval="$enable_dialupman"
4275
4276 if test "$enableval" = yes; then
4277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4278 else
4279 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4280 fi
4281
4282 else
4283
4284 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4287 else
4288 no_cache=1
4289 fi
4290
4291 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4292
4293 fi;
4294
4295 eval "$ac_cv_use_dialupman"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4303 else
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4306 fi
4307
4308
4309 enablestring=
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4311 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4312 no_cache=0
4313 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4314 if test "${enable_apple_ieee+set}" = set; then
4315 enableval="$enable_apple_ieee"
4316
4317 if test "$enableval" = yes; then
4318 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4319 else
4320 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4321 fi
4322
4323 else
4324
4325 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x ; then
4327 eval "DEFAULT_$LINE"
4328 else
4329 no_cache=1
4330 fi
4331
4332 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4333
4334 fi;
4335
4336 eval "$ac_cv_use_apple_ieee"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_APPLE_IEEE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343 echo "${ECHO_T}yes" >&6
4344 else
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4347 fi
4348
4349
4350 enablestring=
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4353 no_cache=0
4354 # Check whether --enable-timer or --disable-timer was given.
4355 if test "${enable_timer+set}" = set; then
4356 enableval="$enable_timer"
4357
4358 if test "$enableval" = yes; then
4359 ac_cv_use_timer='wxUSE_TIMER=yes'
4360 else
4361 ac_cv_use_timer='wxUSE_TIMER=no'
4362 fi
4363
4364 else
4365
4366 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 else
4370 no_cache=1
4371 fi
4372
4373 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4374
4375 fi;
4376
4377 eval "$ac_cv_use_timer"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4380 fi
4381
4382 if test "$wxUSE_TIMER" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6
4385 else
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4388 fi
4389
4390
4391 enablestring=
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4394 no_cache=0
4395 # Check whether --enable-wave or --disable-wave was given.
4396 if test "${enable_wave+set}" = set; then
4397 enableval="$enable_wave"
4398
4399 if test "$enableval" = yes; then
4400 ac_cv_use_wave='wxUSE_WAVE=yes'
4401 else
4402 ac_cv_use_wave='wxUSE_WAVE=no'
4403 fi
4404
4405 else
4406
4407 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4408 if test "x$LINE" != x ; then
4409 eval "DEFAULT_$LINE"
4410 else
4411 no_cache=1
4412 fi
4413
4414 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4415
4416 fi;
4417
4418 eval "$ac_cv_use_wave"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_WAVE" = yes; then
4424 echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6
4426 else
4427 echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6
4429 fi
4430
4431
4432 enablestring=
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4435 no_cache=0
4436 # Check whether --enable-fraction or --disable-fraction was given.
4437 if test "${enable_fraction+set}" = set; then
4438 enableval="$enable_fraction"
4439
4440 if test "$enableval" = yes; then
4441 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4442 else
4443 ac_cv_use_fraction='wxUSE_FRACTION=no'
4444 fi
4445
4446 else
4447
4448 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x ; then
4450 eval "DEFAULT_$LINE"
4451 else
4452 no_cache=1
4453 fi
4454
4455 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4456
4457 fi;
4458
4459 eval "$ac_cv_use_fraction"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4462 fi
4463
4464 if test "$wxUSE_FRACTION" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466 echo "${ECHO_T}yes" >&6
4467 else
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4470 fi
4471
4472
4473 enablestring=
4474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4475 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4476 no_cache=0
4477 # Check whether --enable-dynlib or --disable-dynlib was given.
4478 if test "${enable_dynlib+set}" = set; then
4479 enableval="$enable_dynlib"
4480
4481 if test "$enableval" = yes; then
4482 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4483 else
4484 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4485 fi
4486
4487 else
4488
4489 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4492 else
4493 no_cache=1
4494 fi
4495
4496 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4497
4498 fi;
4499
4500 eval "$ac_cv_use_dynlib"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4503 fi
4504
4505 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4506 echo "$as_me:$LINENO: result: yes" >&5
4507 echo "${ECHO_T}yes" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4511 fi
4512
4513
4514 enablestring=
4515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4517 no_cache=0
4518 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4519 if test "${enable_dynamicloader+set}" = set; then
4520 enableval="$enable_dynamicloader"
4521
4522 if test "$enableval" = yes; then
4523 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4524 else
4525 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4526 fi
4527
4528 else
4529
4530 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4533 else
4534 no_cache=1
4535 fi
4536
4537 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4538
4539 fi;
4540
4541 eval "$ac_cv_use_dynamicloader"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4544 fi
4545
4546 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4547 echo "$as_me:$LINENO: result: yes" >&5
4548 echo "${ECHO_T}yes" >&6
4549 else
4550 echo "$as_me:$LINENO: result: no" >&5
4551 echo "${ECHO_T}no" >&6
4552 fi
4553
4554
4555 enablestring=
4556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4557 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4558 no_cache=0
4559 # Check whether --enable-longlong or --disable-longlong was given.
4560 if test "${enable_longlong+set}" = set; then
4561 enableval="$enable_longlong"
4562
4563 if test "$enableval" = yes; then
4564 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4565 else
4566 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4567 fi
4568
4569 else
4570
4571 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4574 else
4575 no_cache=1
4576 fi
4577
4578 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4579
4580 fi;
4581
4582 eval "$ac_cv_use_longlong"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4585 fi
4586
4587 if test "$wxUSE_LONGLONG" = yes; then
4588 echo "$as_me:$LINENO: result: yes" >&5
4589 echo "${ECHO_T}yes" >&6
4590 else
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4593 fi
4594
4595
4596 enablestring=
4597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4598 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4599 no_cache=0
4600 # Check whether --enable-geometry or --disable-geometry was given.
4601 if test "${enable_geometry+set}" = set; then
4602 enableval="$enable_geometry"
4603
4604 if test "$enableval" = yes; then
4605 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4606 else
4607 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4608 fi
4609
4610 else
4611
4612 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4615 else
4616 no_cache=1
4617 fi
4618
4619 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4620
4621 fi;
4622
4623 eval "$ac_cv_use_geometry"
4624 if test "$no_cache" != 1; then
4625 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4626 fi
4627
4628 if test "$wxUSE_GEOMETRY" = yes; then
4629 echo "$as_me:$LINENO: result: yes" >&5
4630 echo "${ECHO_T}yes" >&6
4631 else
4632 echo "$as_me:$LINENO: result: no" >&5
4633 echo "${ECHO_T}no" >&6
4634 fi
4635
4636
4637 enablestring=
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4640 no_cache=0
4641 # Check whether --enable-log or --disable-log was given.
4642 if test "${enable_log+set}" = set; then
4643 enableval="$enable_log"
4644
4645 if test "$enableval" = yes; then
4646 ac_cv_use_log='wxUSE_LOG=yes'
4647 else
4648 ac_cv_use_log='wxUSE_LOG=no'
4649 fi
4650
4651 else
4652
4653 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4661
4662 fi;
4663
4664 eval "$ac_cv_use_log"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_LOG" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4672 else
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4675 fi
4676
4677
4678 enablestring=
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4681 no_cache=0
4682 # Check whether --enable-streams or --disable-streams was given.
4683 if test "${enable_streams+set}" = set; then
4684 enableval="$enable_streams"
4685
4686 if test "$enableval" = yes; then
4687 ac_cv_use_streams='wxUSE_STREAMS=yes'
4688 else
4689 ac_cv_use_streams='wxUSE_STREAMS=no'
4690 fi
4691
4692 else
4693
4694 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x ; then
4696 eval "DEFAULT_$LINE"
4697 else
4698 no_cache=1
4699 fi
4700
4701 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4702
4703 fi;
4704
4705 eval "$ac_cv_use_streams"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4708 fi
4709
4710 if test "$wxUSE_STREAMS" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4713 else
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4716 fi
4717
4718
4719 enablestring=
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4722 no_cache=0
4723 # Check whether --enable-file or --disable-file was given.
4724 if test "${enable_file+set}" = set; then
4725 enableval="$enable_file"
4726
4727 if test "$enableval" = yes; then
4728 ac_cv_use_file='wxUSE_FILE=yes'
4729 else
4730 ac_cv_use_file='wxUSE_FILE=no'
4731 fi
4732
4733 else
4734
4735 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x ; then
4737 eval "DEFAULT_$LINE"
4738 else
4739 no_cache=1
4740 fi
4741
4742 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4743
4744 fi;
4745
4746 eval "$ac_cv_use_file"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4749 fi
4750
4751 if test "$wxUSE_FILE" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4754 else
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4757 fi
4758
4759
4760 enablestring=
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4763 no_cache=0
4764 # Check whether --enable-ffile or --disable-ffile was given.
4765 if test "${enable_ffile+set}" = set; then
4766 enableval="$enable_ffile"
4767
4768 if test "$enableval" = yes; then
4769 ac_cv_use_ffile='wxUSE_FFILE=yes'
4770 else
4771 ac_cv_use_ffile='wxUSE_FFILE=no'
4772 fi
4773
4774 else
4775
4776 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4779 else
4780 no_cache=1
4781 fi
4782
4783 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4784
4785 fi;
4786
4787 eval "$ac_cv_use_ffile"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4790 fi
4791
4792 if test "$wxUSE_FFILE" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4795 else
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4798 fi
4799
4800
4801 enablestring=
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4804 no_cache=0
4805 # Check whether --enable-textbuf or --disable-textbuf was given.
4806 if test "${enable_textbuf+set}" = set; then
4807 enableval="$enable_textbuf"
4808
4809 if test "$enableval" = yes; then
4810 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4811 else
4812 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4813 fi
4814
4815 else
4816
4817 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x ; then
4819 eval "DEFAULT_$LINE"
4820 else
4821 no_cache=1
4822 fi
4823
4824 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4825
4826 fi;
4827
4828 eval "$ac_cv_use_textbuf"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test "$wxUSE_TEXTBUFFER" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4836 else
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4839 fi
4840
4841
4842 enablestring=
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4845 no_cache=0
4846 # Check whether --enable-textfile or --disable-textfile was given.
4847 if test "${enable_textfile+set}" = set; then
4848 enableval="$enable_textfile"
4849
4850 if test "$enableval" = yes; then
4851 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4852 else
4853 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4854 fi
4855
4856 else
4857
4858 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 else
4862 no_cache=1
4863 fi
4864
4865 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4866
4867 fi;
4868
4869 eval "$ac_cv_use_textfile"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test "$wxUSE_TEXTFILE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4880 fi
4881
4882
4883 enablestring=
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4886 no_cache=0
4887 # Check whether --enable-fontmap or --disable-fontmap was given.
4888 if test "${enable_fontmap+set}" = set; then
4889 enableval="$enable_fontmap"
4890
4891 if test "$enableval" = yes; then
4892 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4893 else
4894 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4895 fi
4896
4897 else
4898
4899 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x ; then
4901 eval "DEFAULT_$LINE"
4902 else
4903 no_cache=1
4904 fi
4905
4906 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4907
4908 fi;
4909
4910 eval "$ac_cv_use_fontmap"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4913 fi
4914
4915 if test "$wxUSE_FONTMAP" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4918 else
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4921 fi
4922
4923
4924 enablestring=
4925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4926 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4927 no_cache=0
4928 # Check whether --enable-unicode or --disable-unicode was given.
4929 if test "${enable_unicode+set}" = set; then
4930 enableval="$enable_unicode"
4931
4932 if test "$enableval" = yes; then
4933 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4934 else
4935 ac_cv_use_unicode='wxUSE_UNICODE=no'
4936 fi
4937
4938 else
4939
4940 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x ; then
4942 eval "DEFAULT_$LINE"
4943 else
4944 no_cache=1
4945 fi
4946
4947 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4948
4949 fi;
4950
4951 eval "$ac_cv_use_unicode"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4954 fi
4955
4956 if test "$wxUSE_UNICODE" = yes; then
4957 echo "$as_me:$LINENO: result: yes" >&5
4958 echo "${ECHO_T}yes" >&6
4959 else
4960 echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6
4962 fi
4963
4964
4965 enablestring=
4966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4967 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4968 no_cache=0
4969 # Check whether --enable-mslu or --disable-mslu was given.
4970 if test "${enable_mslu+set}" = set; then
4971 enableval="$enable_mslu"
4972
4973 if test "$enableval" = yes; then
4974 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4975 else
4976 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4977 fi
4978
4979 else
4980
4981 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x ; then
4983 eval "DEFAULT_$LINE"
4984 else
4985 no_cache=1
4986 fi
4987
4988 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4989
4990 fi;
4991
4992 eval "$ac_cv_use_mslu"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4995 fi
4996
4997 if test "$wxUSE_UNICODE_MSLU" = yes; then
4998 echo "$as_me:$LINENO: result: yes" >&5
4999 echo "${ECHO_T}yes" >&6
5000 else
5001 echo "$as_me:$LINENO: result: no" >&5
5002 echo "${ECHO_T}no" >&6
5003 fi
5004
5005
5006 enablestring=
5007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5008 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5009 no_cache=0
5010 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5011 if test "${enable_wxprintfv+set}" = set; then
5012 enableval="$enable_wxprintfv"
5013
5014 if test "$enableval" = yes; then
5015 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5016 else
5017 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5018 fi
5019
5020 else
5021
5022 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5023 if test "x$LINE" != x ; then
5024 eval "DEFAULT_$LINE"
5025 else
5026 no_cache=1
5027 fi
5028
5029 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5030
5031 fi;
5032
5033 eval "$ac_cv_use_wxprintfv"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5036 fi
5037
5038 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5039 echo "$as_me:$LINENO: result: yes" >&5
5040 echo "${ECHO_T}yes" >&6
5041 else
5042 echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6
5044 fi
5045
5046
5047 enablestring=
5048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5049 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5050 no_cache=0
5051 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5052 if test "${enable_std_iostreams+set}" = set; then
5053 enableval="$enable_std_iostreams"
5054
5055 if test "$enableval" = yes; then
5056 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5057 else
5058 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5059 fi
5060
5061 else
5062
5063 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x ; then
5065 eval "DEFAULT_$LINE"
5066 else
5067 no_cache=1
5068 fi
5069
5070 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5071
5072 fi;
5073
5074 eval "$ac_cv_use_std_iostreams"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5077 fi
5078
5079 if test "$wxUSE_STD_IOSTREAM" = yes; then
5080 echo "$as_me:$LINENO: result: yes" >&5
5081 echo "${ECHO_T}yes" >&6
5082 else
5083 echo "$as_me:$LINENO: result: no" >&5
5084 echo "${ECHO_T}no" >&6
5085 fi
5086
5087
5088 enablestring=
5089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5091 no_cache=0
5092 # Check whether --enable-filesystem or --disable-filesystem was given.
5093 if test "${enable_filesystem+set}" = set; then
5094 enableval="$enable_filesystem"
5095
5096 if test "$enableval" = yes; then
5097 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5098 else
5099 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5100 fi
5101
5102 else
5103
5104 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x ; then
5106 eval "DEFAULT_$LINE"
5107 else
5108 no_cache=1
5109 fi
5110
5111 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5112
5113 fi;
5114
5115 eval "$ac_cv_use_filesystem"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5118 fi
5119
5120 if test "$wxUSE_FILESYSTEM" = yes; then
5121 echo "$as_me:$LINENO: result: yes" >&5
5122 echo "${ECHO_T}yes" >&6
5123 else
5124 echo "$as_me:$LINENO: result: no" >&5
5125 echo "${ECHO_T}no" >&6
5126 fi
5127
5128
5129 enablestring=
5130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5132 no_cache=0
5133 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5134 if test "${enable_fs_inet+set}" = set; then
5135 enableval="$enable_fs_inet"
5136
5137 if test "$enableval" = yes; then
5138 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5139 else
5140 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5141 fi
5142
5143 else
5144
5145 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5146 if test "x$LINE" != x ; then
5147 eval "DEFAULT_$LINE"
5148 else
5149 no_cache=1
5150 fi
5151
5152 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5153
5154 fi;
5155
5156 eval "$ac_cv_use_fs_inet"
5157 if test "$no_cache" != 1; then
5158 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5159 fi
5160
5161 if test "$wxUSE_FS_INET" = yes; then
5162 echo "$as_me:$LINENO: result: yes" >&5
5163 echo "${ECHO_T}yes" >&6
5164 else
5165 echo "$as_me:$LINENO: result: no" >&5
5166 echo "${ECHO_T}no" >&6
5167 fi
5168
5169
5170 enablestring=
5171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5172 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5173 no_cache=0
5174 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5175 if test "${enable_fs_zip+set}" = set; then
5176 enableval="$enable_fs_zip"
5177
5178 if test "$enableval" = yes; then
5179 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5180 else
5181 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5182 fi
5183
5184 else
5185
5186 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x ; then
5188 eval "DEFAULT_$LINE"
5189 else
5190 no_cache=1
5191 fi
5192
5193 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5194
5195 fi;
5196
5197 eval "$ac_cv_use_fs_zip"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5200 fi
5201
5202 if test "$wxUSE_FS_ZIP" = yes; then
5203 echo "$as_me:$LINENO: result: yes" >&5
5204 echo "${ECHO_T}yes" >&6
5205 else
5206 echo "$as_me:$LINENO: result: no" >&5
5207 echo "${ECHO_T}no" >&6
5208 fi
5209
5210
5211 enablestring=
5212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5213 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5214 no_cache=0
5215 # Check whether --enable-zipstream or --disable-zipstream was given.
5216 if test "${enable_zipstream+set}" = set; then
5217 enableval="$enable_zipstream"
5218
5219 if test "$enableval" = yes; then
5220 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5221 else
5222 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5223 fi
5224
5225 else
5226
5227 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x ; then
5229 eval "DEFAULT_$LINE"
5230 else
5231 no_cache=1
5232 fi
5233
5234 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5235
5236 fi;
5237
5238 eval "$ac_cv_use_zipstream"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5241 fi
5242
5243 if test "$wxUSE_ZIPSTREAM" = yes; then
5244 echo "$as_me:$LINENO: result: yes" >&5
5245 echo "${ECHO_T}yes" >&6
5246 else
5247 echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6
5249 fi
5250
5251
5252
5253 enablestring=
5254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5255 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5256 no_cache=0
5257 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5258 if test "${enable_catch_segvs+set}" = set; then
5259 enableval="$enable_catch_segvs"
5260
5261 if test "$enableval" = yes; then
5262 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5263 else
5264 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5265 fi
5266
5267 else
5268
5269 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x ; then
5271 eval "DEFAULT_$LINE"
5272 else
5273 no_cache=1
5274 fi
5275
5276 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5277
5278 fi;
5279
5280 eval "$ac_cv_use_catch_segvs"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5283 fi
5284
5285 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5286 echo "$as_me:$LINENO: result: yes" >&5
5287 echo "${ECHO_T}yes" >&6
5288 else
5289 echo "$as_me:$LINENO: result: no" >&5
5290 echo "${ECHO_T}no" >&6
5291 fi
5292
5293
5294 enablestring=
5295 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5297 no_cache=0
5298 # Check whether --enable-snglinst or --disable-snglinst was given.
5299 if test "${enable_snglinst+set}" = set; then
5300 enableval="$enable_snglinst"
5301
5302 if test "$enableval" = yes; then
5303 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5304 else
5305 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5306 fi
5307
5308 else
5309
5310 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5311 if test "x$LINE" != x ; then
5312 eval "DEFAULT_$LINE"
5313 else
5314 no_cache=1
5315 fi
5316
5317 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5318
5319 fi;
5320
5321 eval "$ac_cv_use_snglinst"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5324 fi
5325
5326 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5327 echo "$as_me:$LINENO: result: yes" >&5
5328 echo "${ECHO_T}yes" >&6
5329 else
5330 echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6
5332 fi
5333
5334
5335
5336 enablestring=
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5339 no_cache=0
5340 # Check whether --enable-mimetype or --disable-mimetype was given.
5341 if test "${enable_mimetype+set}" = set; then
5342 enableval="$enable_mimetype"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5346 else
5347 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5348 fi
5349
5350 else
5351
5352 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5360
5361 fi;
5362
5363 eval "$ac_cv_use_mimetype"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_MIMETYPE" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5371 else
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5374 fi
5375
5376
5377 enablestring=
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5380 no_cache=0
5381 # Check whether --enable-system_options or --disable-system_options was given.
5382 if test "${enable_system_options+set}" = set; then
5383 enableval="$enable_system_options"
5384
5385 if test "$enableval" = yes; then
5386 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5387 else
5388 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5389 fi
5390
5391 else
5392
5393 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 else
5397 no_cache=1
5398 fi
5399
5400 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5401
5402 fi;
5403
5404 eval "$ac_cv_use_system_options"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5412 else
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5415 fi
5416
5417
5418
5419 enablestring=
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5422 no_cache=0
5423 # Check whether --enable-url or --disable-url was given.
5424 if test "${enable_url+set}" = set; then
5425 enableval="$enable_url"
5426
5427 if test "$enableval" = yes; then
5428 ac_cv_use_url='wxUSE_URL=yes'
5429 else
5430 ac_cv_use_url='wxUSE_URL=no'
5431 fi
5432
5433 else
5434
5435 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x ; then
5437 eval "DEFAULT_$LINE"
5438 else
5439 no_cache=1
5440 fi
5441
5442 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5443
5444 fi;
5445
5446 eval "$ac_cv_use_url"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test "$wxUSE_URL" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6
5454 else
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5457 fi
5458
5459
5460 enablestring=
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5463 no_cache=0
5464 # Check whether --enable-protocol or --disable-protocol was given.
5465 if test "${enable_protocol+set}" = set; then
5466 enableval="$enable_protocol"
5467
5468 if test "$enableval" = yes; then
5469 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5470 else
5471 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5472 fi
5473
5474 else
5475
5476 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5479 else
5480 no_cache=1
5481 fi
5482
5483 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5484
5485 fi;
5486
5487 eval "$ac_cv_use_protocol"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_PROTOCOL" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6
5495 else
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5498 fi
5499
5500
5501 enablestring=
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5504 no_cache=0
5505 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5506 if test "${enable_protocol_http+set}" = set; then
5507 enableval="$enable_protocol_http"
5508
5509 if test "$enableval" = yes; then
5510 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5511 else
5512 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5513 fi
5514
5515 else
5516
5517 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x ; then
5519 eval "DEFAULT_$LINE"
5520 else
5521 no_cache=1
5522 fi
5523
5524 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5525
5526 fi;
5527
5528 eval "$ac_cv_use_protocol_http"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5531 fi
5532
5533 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6
5536 else
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5539 fi
5540
5541
5542 enablestring=
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5545 no_cache=0
5546 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5547 if test "${enable_protocol_ftp+set}" = set; then
5548 enableval="$enable_protocol_ftp"
5549
5550 if test "$enableval" = yes; then
5551 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5552 else
5553 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5554 fi
5555
5556 else
5557
5558 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5561 else
5562 no_cache=1
5563 fi
5564
5565 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5566
5567 fi;
5568
5569 eval "$ac_cv_use_protocol_ftp"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5572 fi
5573
5574 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5577 else
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5580 fi
5581
5582
5583 enablestring=
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5586 no_cache=0
5587 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5588 if test "${enable_protocol_file+set}" = set; then
5589 enableval="$enable_protocol_file"
5590
5591 if test "$enableval" = yes; then
5592 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5593 else
5594 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5595 fi
5596
5597 else
5598
5599 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x ; then
5601 eval "DEFAULT_$LINE"
5602 else
5603 no_cache=1
5604 fi
5605
5606 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5607
5608 fi;
5609
5610 eval "$ac_cv_use_protocol_file"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6
5618 else
5619 echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6
5621 fi
5622
5623
5624
5625
5626
5627 enablestring=
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5630 no_cache=0
5631 # Check whether --enable-threads or --disable-threads was given.
5632 if test "${enable_threads+set}" = set; then
5633 enableval="$enable_threads"
5634
5635 if test "$enableval" = yes; then
5636 ac_cv_use_threads='wxUSE_THREADS=yes'
5637 else
5638 ac_cv_use_threads='wxUSE_THREADS=no'
5639 fi
5640
5641 else
5642
5643 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x ; then
5645 eval "DEFAULT_$LINE"
5646 else
5647 no_cache=1
5648 fi
5649
5650 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5651
5652 fi;
5653
5654 eval "$ac_cv_use_threads"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test "$wxUSE_THREADS" = yes; then
5660 echo "$as_me:$LINENO: result: yes" >&5
5661 echo "${ECHO_T}yes" >&6
5662 else
5663 echo "$as_me:$LINENO: result: no" >&5
5664 echo "${ECHO_T}no" >&6
5665 fi
5666
5667
5668 if test "$wxUSE_GUI" = "yes"; then
5669
5670
5671
5672 enablestring=
5673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5674 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5675 no_cache=0
5676 # Check whether --enable-docview or --disable-docview was given.
5677 if test "${enable_docview+set}" = set; then
5678 enableval="$enable_docview"
5679
5680 if test "$enableval" = yes; then
5681 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5682 else
5683 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5684 fi
5685
5686 else
5687
5688 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x ; then
5690 eval "DEFAULT_$LINE"
5691 else
5692 no_cache=1
5693 fi
5694
5695 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5696
5697 fi;
5698
5699 eval "$ac_cv_use_docview"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5702 fi
5703
5704 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5705 echo "$as_me:$LINENO: result: yes" >&5
5706 echo "${ECHO_T}yes" >&6
5707 else
5708 echo "$as_me:$LINENO: result: no" >&5
5709 echo "${ECHO_T}no" >&6
5710 fi
5711
5712
5713 enablestring=
5714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5716 no_cache=0
5717 # Check whether --enable-help or --disable-help was given.
5718 if test "${enable_help+set}" = set; then
5719 enableval="$enable_help"
5720
5721 if test "$enableval" = yes; then
5722 ac_cv_use_help='wxUSE_HELP=yes'
5723 else
5724 ac_cv_use_help='wxUSE_HELP=no'
5725 fi
5726
5727 else
5728
5729 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x ; then
5731 eval "DEFAULT_$LINE"
5732 else
5733 no_cache=1
5734 fi
5735
5736 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5737
5738 fi;
5739
5740 eval "$ac_cv_use_help"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5743 fi
5744
5745 if test "$wxUSE_HELP" = yes; then
5746 echo "$as_me:$LINENO: result: yes" >&5
5747 echo "${ECHO_T}yes" >&6
5748 else
5749 echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6
5751 fi
5752
5753
5754 enablestring=
5755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5757 no_cache=0
5758 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5759 if test "${enable_mshtmlhelp+set}" = set; then
5760 enableval="$enable_mshtmlhelp"
5761
5762 if test "$enableval" = yes; then
5763 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5764 else
5765 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5766 fi
5767
5768 else
5769
5770 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x ; then
5772 eval "DEFAULT_$LINE"
5773 else
5774 no_cache=1
5775 fi
5776
5777 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5778
5779 fi;
5780
5781 eval "$ac_cv_use_mshtmlhelp"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5784 fi
5785
5786 if test "$wxUSE_MS_HTML_HELP" = yes; then
5787 echo "$as_me:$LINENO: result: yes" >&5
5788 echo "${ECHO_T}yes" >&6
5789 else
5790 echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6
5792 fi
5793
5794
5795 enablestring=
5796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5797 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5798 no_cache=0
5799 # Check whether --enable-html or --disable-html was given.
5800 if test "${enable_html+set}" = set; then
5801 enableval="$enable_html"
5802
5803 if test "$enableval" = yes; then
5804 ac_cv_use_html='wxUSE_HTML=yes'
5805 else
5806 ac_cv_use_html='wxUSE_HTML=no'
5807 fi
5808
5809 else
5810
5811 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x ; then
5813 eval "DEFAULT_$LINE"
5814 else
5815 no_cache=1
5816 fi
5817
5818 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5819
5820 fi;
5821
5822 eval "$ac_cv_use_html"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5825 fi
5826
5827 if test "$wxUSE_HTML" = yes; then
5828 echo "$as_me:$LINENO: result: yes" >&5
5829 echo "${ECHO_T}yes" >&6
5830 else
5831 echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6
5833 fi
5834
5835
5836 enablestring=
5837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5839 no_cache=0
5840 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5841 if test "${enable_htmlhelp+set}" = set; then
5842 enableval="$enable_htmlhelp"
5843
5844 if test "$enableval" = yes; then
5845 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5846 else
5847 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5848 fi
5849
5850 else
5851
5852 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x ; then
5854 eval "DEFAULT_$LINE"
5855 else
5856 no_cache=1
5857 fi
5858
5859 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5860
5861 fi;
5862
5863 eval "$ac_cv_use_htmlhelp"
5864 if test "$no_cache" != 1; then
5865 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5866 fi
5867
5868 if test "$wxUSE_WXHTML_HELP" = yes; then
5869 echo "$as_me:$LINENO: result: yes" >&5
5870 echo "${ECHO_T}yes" >&6
5871 else
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5874 fi
5875
5876
5877 enablestring=
5878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5880 no_cache=0
5881 # Check whether --enable-constraints or --disable-constraints was given.
5882 if test "${enable_constraints+set}" = set; then
5883 enableval="$enable_constraints"
5884
5885 if test "$enableval" = yes; then
5886 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5887 else
5888 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5889 fi
5890
5891 else
5892
5893 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5896 else
5897 no_cache=1
5898 fi
5899
5900 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5901
5902 fi;
5903
5904 eval "$ac_cv_use_constraints"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test "$wxUSE_CONSTRAINTS" = yes; then
5910 echo "$as_me:$LINENO: result: yes" >&5
5911 echo "${ECHO_T}yes" >&6
5912 else
5913 echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6
5915 fi
5916
5917
5918 enablestring=
5919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5921 no_cache=0
5922 # Check whether --enable-printarch or --disable-printarch was given.
5923 if test "${enable_printarch+set}" = set; then
5924 enableval="$enable_printarch"
5925
5926 if test "$enableval" = yes; then
5927 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5928 else
5929 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5930 fi
5931
5932 else
5933
5934 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5942
5943 fi;
5944
5945 eval "$ac_cv_use_printarch"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5948 fi
5949
5950 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5951 echo "$as_me:$LINENO: result: yes" >&5
5952 echo "${ECHO_T}yes" >&6
5953 else
5954 echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6
5956 fi
5957
5958
5959 enablestring=
5960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5962 no_cache=0
5963 # Check whether --enable-mdi or --disable-mdi was given.
5964 if test "${enable_mdi+set}" = set; then
5965 enableval="$enable_mdi"
5966
5967 if test "$enableval" = yes; then
5968 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5969 else
5970 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5971 fi
5972
5973 else
5974
5975 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5978 else
5979 no_cache=1
5980 fi
5981
5982 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5983
5984 fi;
5985
5986 eval "$ac_cv_use_mdi"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5989 fi
5990
5991 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5992 echo "$as_me:$LINENO: result: yes" >&5
5993 echo "${ECHO_T}yes" >&6
5994 else
5995 echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6
5997 fi
5998
5999
6000 enablestring=
6001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6003 no_cache=0
6004 # Check whether --enable-loggui or --disable-loggui was given.
6005 if test "${enable_loggui+set}" = set; then
6006 enableval="$enable_loggui"
6007
6008 if test "$enableval" = yes; then
6009 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6010 else
6011 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6012 fi
6013
6014 else
6015
6016 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6024
6025 fi;
6026
6027 eval "$ac_cv_use_loggui"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6030 fi
6031
6032 if test "$wxUSE_LOGGUI" = yes; then
6033 echo "$as_me:$LINENO: result: yes" >&5
6034 echo "${ECHO_T}yes" >&6
6035 else
6036 echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6
6038 fi
6039
6040
6041 enablestring=
6042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6044 no_cache=0
6045 # Check whether --enable-logwin or --disable-logwin was given.
6046 if test "${enable_logwin+set}" = set; then
6047 enableval="$enable_logwin"
6048
6049 if test "$enableval" = yes; then
6050 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6051 else
6052 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6053 fi
6054
6055 else
6056
6057 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6065
6066 fi;
6067
6068 eval "$ac_cv_use_logwin"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_LOGWINDOW" = yes; then
6074 echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6
6076 else
6077 echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6
6079 fi
6080
6081
6082 enablestring=
6083 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6084 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6085 no_cache=0
6086 # Check whether --enable-logdialog or --disable-logdialog was given.
6087 if test "${enable_logdialog+set}" = set; then
6088 enableval="$enable_logdialog"
6089
6090 if test "$enableval" = yes; then
6091 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6092 else
6093 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6094 fi
6095
6096 else
6097
6098 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6101 else
6102 no_cache=1
6103 fi
6104
6105 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6106
6107 fi;
6108
6109 eval "$ac_cv_use_logdialog"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6112 fi
6113
6114 if test "$wxUSE_LOGDIALOG" = yes; then
6115 echo "$as_me:$LINENO: result: yes" >&5
6116 echo "${ECHO_T}yes" >&6
6117 else
6118 echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6
6120 fi
6121
6122
6123
6124 enablestring=
6125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6127 no_cache=0
6128 # Check whether --enable-postscript or --disable-postscript was given.
6129 if test "${enable_postscript+set}" = set; then
6130 enableval="$enable_postscript"
6131
6132 if test "$enableval" = yes; then
6133 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6134 else
6135 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6136 fi
6137
6138 else
6139
6140 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x ; then
6142 eval "DEFAULT_$LINE"
6143 else
6144 no_cache=1
6145 fi
6146
6147 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6148
6149 fi;
6150
6151 eval "$ac_cv_use_postscript"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6154 fi
6155
6156 if test "$wxUSE_POSTSCRIPT" = yes; then
6157 echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6
6159 else
6160 echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6
6162 fi
6163
6164
6165
6166
6167
6168 enablestring=
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6171 no_cache=0
6172 # Check whether --enable-prologio or --disable-prologio was given.
6173 if test "${enable_prologio+set}" = set; then
6174 enableval="$enable_prologio"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6178 else
6179 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6180 fi
6181
6182 else
6183
6184 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x ; then
6186 eval "DEFAULT_$LINE"
6187 else
6188 no_cache=1
6189 fi
6190
6191 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6192
6193 fi;
6194
6195 eval "$ac_cv_use_prologio"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_PROLOGIO" = yes; then
6201 echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6
6203 else
6204 echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6
6206 fi
6207
6208
6209 enablestring=
6210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6212 no_cache=0
6213 # Check whether --enable-resources or --disable-resources was given.
6214 if test "${enable_resources+set}" = set; then
6215 enableval="$enable_resources"
6216
6217 if test "$enableval" = yes; then
6218 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6219 else
6220 ac_cv_use_resources='wxUSE_RESOURCES=no'
6221 fi
6222
6223 else
6224
6225 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6226 if test "x$LINE" != x ; then
6227 eval "DEFAULT_$LINE"
6228 else
6229 no_cache=1
6230 fi
6231
6232 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6233
6234 fi;
6235
6236 eval "$ac_cv_use_resources"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test "$wxUSE_RESOURCES" = yes; then
6242 echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6
6244 else
6245 echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6
6247 fi
6248
6249
6250
6251
6252 enablestring=
6253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6254 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6255 no_cache=0
6256 # Check whether --enable-clipboard or --disable-clipboard was given.
6257 if test "${enable_clipboard+set}" = set; then
6258 enableval="$enable_clipboard"
6259
6260 if test "$enableval" = yes; then
6261 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6262 else
6263 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6264 fi
6265
6266 else
6267
6268 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x ; then
6270 eval "DEFAULT_$LINE"
6271 else
6272 no_cache=1
6273 fi
6274
6275 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6276
6277 fi;
6278
6279 eval "$ac_cv_use_clipboard"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6282 fi
6283
6284 if test "$wxUSE_CLIPBOARD" = yes; then
6285 echo "$as_me:$LINENO: result: yes" >&5
6286 echo "${ECHO_T}yes" >&6
6287 else
6288 echo "$as_me:$LINENO: result: no" >&5
6289 echo "${ECHO_T}no" >&6
6290 fi
6291
6292
6293 enablestring=
6294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6296 no_cache=0
6297 # Check whether --enable-dnd or --disable-dnd was given.
6298 if test "${enable_dnd+set}" = set; then
6299 enableval="$enable_dnd"
6300
6301 if test "$enableval" = yes; then
6302 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6303 else
6304 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6305 fi
6306
6307 else
6308
6309 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x ; then
6311 eval "DEFAULT_$LINE"
6312 else
6313 no_cache=1
6314 fi
6315
6316 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6317
6318 fi;
6319
6320 eval "$ac_cv_use_dnd"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6323 fi
6324
6325 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6326 echo "$as_me:$LINENO: result: yes" >&5
6327 echo "${ECHO_T}yes" >&6
6328 else
6329 echo "$as_me:$LINENO: result: no" >&5
6330 echo "${ECHO_T}no" >&6
6331 fi
6332
6333
6334 enablestring=
6335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6336 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6337 no_cache=0
6338 # Check whether --enable-metafile or --disable-metafile was given.
6339 if test "${enable_metafile+set}" = set; then
6340 enableval="$enable_metafile"
6341
6342 if test "$enableval" = yes; then
6343 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6344 else
6345 ac_cv_use_metafile='wxUSE_METAFILE=no'
6346 fi
6347
6348 else
6349
6350 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x ; then
6352 eval "DEFAULT_$LINE"
6353 else
6354 no_cache=1
6355 fi
6356
6357 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6358
6359 fi;
6360
6361 eval "$ac_cv_use_metafile"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6364 fi
6365
6366 if test "$wxUSE_METAFILE" = yes; then
6367 echo "$as_me:$LINENO: result: yes" >&5
6368 echo "${ECHO_T}yes" >&6
6369 else
6370 echo "$as_me:$LINENO: result: no" >&5
6371 echo "${ECHO_T}no" >&6
6372 fi
6373
6374
6375
6376
6377
6378 enablestring=
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6381 no_cache=0
6382 # Check whether --enable-controls or --disable-controls was given.
6383 if test "${enable_controls+set}" = set; then
6384 enableval="$enable_controls"
6385
6386 if test "$enableval" = yes; then
6387 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6388 else
6389 ac_cv_use_controls='wxUSE_CONTROLS=no'
6390 fi
6391
6392 else
6393
6394 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x ; then
6396 eval "DEFAULT_$LINE"
6397 else
6398 no_cache=1
6399 fi
6400
6401 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6402
6403 fi;
6404
6405 eval "$ac_cv_use_controls"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6408 fi
6409
6410 if test "$wxUSE_CONTROLS" = yes; then
6411 echo "$as_me:$LINENO: result: yes" >&5
6412 echo "${ECHO_T}yes" >&6
6413 else
6414 echo "$as_me:$LINENO: result: no" >&5
6415 echo "${ECHO_T}no" >&6
6416 fi
6417
6418
6419 if test "$wxUSE_CONTROLS" = "yes"; then
6420 DEFAULT_wxUSE_ACCEL=yes
6421 DEFAULT_wxUSE_BMPBUTTON=yes
6422 DEFAULT_wxUSE_BUTTON=yes
6423 DEFAULT_wxUSE_CALCTRL=no
6424 DEFAULT_wxUSE_CARET=yes
6425 DEFAULT_wxUSE_COMBOBOX=yes
6426 DEFAULT_wxUSE_CHECKBOX=yes
6427 DEFAULT_wxUSE_CHECKLISTBOX=yes
6428 DEFAULT_wxUSE_CHOICE=yes
6429 DEFAULT_wxUSE_GAUGE=yes
6430 DEFAULT_wxUSE_GRID=yes
6431 DEFAULT_wxUSE_IMAGLIST=yes
6432 DEFAULT_wxUSE_LISTBOX=yes
6433 DEFAULT_wxUSE_LISTCTRL=yes
6434 DEFAULT_wxUSE_NOTEBOOK=yes
6435 DEFAULT_wxUSE_RADIOBOX=yes
6436 DEFAULT_wxUSE_RADIOBTN=yes
6437 DEFAULT_wxUSE_SASH=yes
6438 DEFAULT_wxUSE_SCROLLBAR=yes
6439 DEFAULT_wxUSE_SLIDER=yes
6440 DEFAULT_wxUSE_SPINBTN=yes
6441 DEFAULT_wxUSE_SPINCTRL=yes
6442 DEFAULT_wxUSE_SPLITTER=yes
6443 DEFAULT_wxUSE_STATBMP=yes
6444 DEFAULT_wxUSE_STATBOX=yes
6445 DEFAULT_wxUSE_STATLINE=yes
6446 DEFAULT_wxUSE_STATUSBAR=yes
6447 DEFAULT_wxUSE_TAB_DIALOG=yes
6448 DEFAULT_wxUSE_TOGGLEBTN=yes
6449 DEFAULT_wxUSE_TOOLBAR=yes
6450 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6451 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6452 DEFAULT_wxUSE_TOOLTIPS=yes
6453 DEFAULT_wxUSE_TREECTRL=yes
6454 DEFAULT_wxUSE_POPUPWIN=yes
6455 DEFAULT_wxUSE_TIPWINDOW=yes
6456 elif test "$wxUSE_CONTROLS" = "no"; then
6457 DEFAULT_wxUSE_ACCEL=no
6458 DEFAULT_wxUSE_BMPBUTTON=no
6459 DEFAULT_wxUSE_BUTTON=no
6460 DEFAULT_wxUSE_CALCTRL=no
6461 DEFAULT_wxUSE_CARET=no
6462 DEFAULT_wxUSE_COMBOBOX=no
6463 DEFAULT_wxUSE_CHECKBOX=no
6464 DEFAULT_wxUSE_CHECKLISTBOX=no
6465 DEFAULT_wxUSE_CHOICE=no
6466 DEFAULT_wxUSE_GAUGE=no
6467 DEFAULT_wxUSE_GRID=no
6468 DEFAULT_wxUSE_IMAGLIST=no
6469 DEFAULT_wxUSE_LISTBOX=no
6470 DEFAULT_wxUSE_LISTCTRL=no
6471 DEFAULT_wxUSE_NOTEBOOK=no
6472 DEFAULT_wxUSE_RADIOBOX=no
6473 DEFAULT_wxUSE_RADIOBTN=no
6474 DEFAULT_wxUSE_SASH=no
6475 DEFAULT_wxUSE_SCROLLBAR=no
6476 DEFAULT_wxUSE_SLIDER=no
6477 DEFAULT_wxUSE_SPINBTN=no
6478 DEFAULT_wxUSE_SPINCTRL=no
6479 DEFAULT_wxUSE_SPLITTER=no
6480 DEFAULT_wxUSE_STATBMP=no
6481 DEFAULT_wxUSE_STATBOX=no
6482 DEFAULT_wxUSE_STATLINE=no
6483 DEFAULT_wxUSE_STATUSBAR=no
6484 DEFAULT_wxUSE_TAB_DIALOG=no
6485 DEFAULT_wxUSE_TOGGLEBTN=no
6486 DEFAULT_wxUSE_TOOLBAR=no
6487 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6488 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6489 DEFAULT_wxUSE_TOOLTIPS=no
6490 DEFAULT_wxUSE_TREECTRL=no
6491 DEFAULT_wxUSE_POPUPWIN=no
6492 DEFAULT_wxUSE_TIPWINDOW=no
6493 fi
6494
6495 ## FIXME: This is a blatant hack
6496 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6497 wxUSE_PRINTING_ARCHITECTURE=no
6498 wxUSE_HELP=no
6499 wxUSE_CLIPBOARD=no
6500 wxUSE_DRAG_AND_DROP=no
6501 wxUSE_DATAOBJ=no
6502 # Generic notebook requires tab dialog
6503 DEFAULT_wxUSE_TABDIALOG=yes
6504 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6505 DEFAULT_wxUSE_GAUGE=no
6506 DEFAULT_wxUSE_SCROLLBAR=no
6507 DEFAULT_wxUSE_COMBOBOX=no
6508 DEFAULT_wxUSE_CALCTRL=no
6509 DEFAULT_wxUSE_SPINBTN=no
6510 DEFAULT_wxUSE_SPINCTRL=no
6511 DEFAULT_wxUSE_TOOLTIPS=no
6512 DEFAULT_wxUSE_DRAGIMAGE=no
6513 DEFAULT_wxUSE_FINDREPLDLG=no
6514 DEFAULT_wxUSE_FONTDLG=no
6515 DEFAULT_wxUSE_GRID=no
6516 DEFAULT_wxUSE_PROGRESSDLG=no
6517 DEFAULT_wxUSE_SASH=no
6518 DEFAULT_wxUSE_SPLITTER=no
6519 DEFAULT_wxUSE_WIZARDDLG=no
6520 DEFAULT_wxUSE_SPLITTER=no
6521 DEFAULT_wxUSE_STARTUP_TIPS=no
6522 fi
6523
6524
6525 enablestring=
6526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6528 no_cache=0
6529 # Check whether --enable-accel or --disable-accel was given.
6530 if test "${enable_accel+set}" = set; then
6531 enableval="$enable_accel"
6532
6533 if test "$enableval" = yes; then
6534 ac_cv_use_accel='wxUSE_ACCEL=yes'
6535 else
6536 ac_cv_use_accel='wxUSE_ACCEL=no'
6537 fi
6538
6539 else
6540
6541 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6542 if test "x$LINE" != x ; then
6543 eval "DEFAULT_$LINE"
6544 else
6545 no_cache=1
6546 fi
6547
6548 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6549
6550 fi;
6551
6552 eval "$ac_cv_use_accel"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6555 fi
6556
6557 if test "$wxUSE_ACCEL" = yes; then
6558 echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6
6560 else
6561 echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6
6563 fi
6564
6565
6566 enablestring=
6567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6569 no_cache=0
6570 # Check whether --enable-button or --disable-button was given.
6571 if test "${enable_button+set}" = set; then
6572 enableval="$enable_button"
6573
6574 if test "$enableval" = yes; then
6575 ac_cv_use_button='wxUSE_BUTTON=yes'
6576 else
6577 ac_cv_use_button='wxUSE_BUTTON=no'
6578 fi
6579
6580 else
6581
6582 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6583 if test "x$LINE" != x ; then
6584 eval "DEFAULT_$LINE"
6585 else
6586 no_cache=1
6587 fi
6588
6589 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6590
6591 fi;
6592
6593 eval "$ac_cv_use_button"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6596 fi
6597
6598 if test "$wxUSE_BUTTON" = yes; then
6599 echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6
6601 else
6602 echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6
6604 fi
6605
6606
6607 enablestring=
6608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6610 no_cache=0
6611 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6612 if test "${enable_bmpbutton+set}" = set; then
6613 enableval="$enable_bmpbutton"
6614
6615 if test "$enableval" = yes; then
6616 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6617 else
6618 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6619 fi
6620
6621 else
6622
6623 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x ; then
6625 eval "DEFAULT_$LINE"
6626 else
6627 no_cache=1
6628 fi
6629
6630 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6631
6632 fi;
6633
6634 eval "$ac_cv_use_bmpbutton"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6637 fi
6638
6639 if test "$wxUSE_BMPBUTTON" = yes; then
6640 echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6
6642 else
6643 echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6
6645 fi
6646
6647
6648 enablestring=
6649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6651 no_cache=0
6652 # Check whether --enable-calendar or --disable-calendar was given.
6653 if test "${enable_calendar+set}" = set; then
6654 enableval="$enable_calendar"
6655
6656 if test "$enableval" = yes; then
6657 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6658 else
6659 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6660 fi
6661
6662 else
6663
6664 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x ; then
6666 eval "DEFAULT_$LINE"
6667 else
6668 no_cache=1
6669 fi
6670
6671 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6672
6673 fi;
6674
6675 eval "$ac_cv_use_calendar"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6678 fi
6679
6680 if test "$wxUSE_CALCTRL" = yes; then
6681 echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6
6683 else
6684 echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6
6686 fi
6687
6688
6689 enablestring=
6690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6692 no_cache=0
6693 # Check whether --enable-caret or --disable-caret was given.
6694 if test "${enable_caret+set}" = set; then
6695 enableval="$enable_caret"
6696
6697 if test "$enableval" = yes; then
6698 ac_cv_use_caret='wxUSE_CARET=yes'
6699 else
6700 ac_cv_use_caret='wxUSE_CARET=no'
6701 fi
6702
6703 else
6704
6705 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6706 if test "x$LINE" != x ; then
6707 eval "DEFAULT_$LINE"
6708 else
6709 no_cache=1
6710 fi
6711
6712 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6713
6714 fi;
6715
6716 eval "$ac_cv_use_caret"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6719 fi
6720
6721 if test "$wxUSE_CARET" = yes; then
6722 echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6
6724 else
6725 echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6
6727 fi
6728
6729
6730 enablestring=
6731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6733 no_cache=0
6734 # Check whether --enable-checkbox or --disable-checkbox was given.
6735 if test "${enable_checkbox+set}" = set; then
6736 enableval="$enable_checkbox"
6737
6738 if test "$enableval" = yes; then
6739 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6740 else
6741 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6742 fi
6743
6744 else
6745
6746 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6747 if test "x$LINE" != x ; then
6748 eval "DEFAULT_$LINE"
6749 else
6750 no_cache=1
6751 fi
6752
6753 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6754
6755 fi;
6756
6757 eval "$ac_cv_use_checkbox"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6760 fi
6761
6762 if test "$wxUSE_CHECKBOX" = yes; then
6763 echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6
6765 else
6766 echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6
6768 fi
6769
6770
6771 enablestring=
6772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6774 no_cache=0
6775 # Check whether --enable-checklst or --disable-checklst was given.
6776 if test "${enable_checklst+set}" = set; then
6777 enableval="$enable_checklst"
6778
6779 if test "$enableval" = yes; then
6780 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6781 else
6782 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6783 fi
6784
6785 else
6786
6787 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x ; then
6789 eval "DEFAULT_$LINE"
6790 else
6791 no_cache=1
6792 fi
6793
6794 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6795
6796 fi;
6797
6798 eval "$ac_cv_use_checklst"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6801 fi
6802
6803 if test "$wxUSE_CHECKLST" = yes; then
6804 echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6
6806 else
6807 echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6
6809 fi
6810
6811
6812 enablestring=
6813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6815 no_cache=0
6816 # Check whether --enable-choice or --disable-choice was given.
6817 if test "${enable_choice+set}" = set; then
6818 enableval="$enable_choice"
6819
6820 if test "$enableval" = yes; then
6821 ac_cv_use_choice='wxUSE_CHOICE=yes'
6822 else
6823 ac_cv_use_choice='wxUSE_CHOICE=no'
6824 fi
6825
6826 else
6827
6828 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6829 if test "x$LINE" != x ; then
6830 eval "DEFAULT_$LINE"
6831 else
6832 no_cache=1
6833 fi
6834
6835 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6836
6837 fi;
6838
6839 eval "$ac_cv_use_choice"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6842 fi
6843
6844 if test "$wxUSE_CHOICE" = yes; then
6845 echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6
6847 else
6848 echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6
6850 fi
6851
6852
6853 enablestring=
6854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6856 no_cache=0
6857 # Check whether --enable-combobox or --disable-combobox was given.
6858 if test "${enable_combobox+set}" = set; then
6859 enableval="$enable_combobox"
6860
6861 if test "$enableval" = yes; then
6862 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6863 else
6864 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6865 fi
6866
6867 else
6868
6869 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x ; then
6871 eval "DEFAULT_$LINE"
6872 else
6873 no_cache=1
6874 fi
6875
6876 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6877
6878 fi;
6879
6880 eval "$ac_cv_use_combobox"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6883 fi
6884
6885 if test "$wxUSE_COMBOBOX" = yes; then
6886 echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6
6888 else
6889 echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6
6891 fi
6892
6893
6894 enablestring=
6895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6897 no_cache=0
6898 # Check whether --enable-display or --disable-display was given.
6899 if test "${enable_display+set}" = set; then
6900 enableval="$enable_display"
6901
6902 if test "$enableval" = yes; then
6903 ac_cv_use_display='wxUSE_DISPLAY=yes'
6904 else
6905 ac_cv_use_display='wxUSE_DISPLAY=no'
6906 fi
6907
6908 else
6909
6910 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6911 if test "x$LINE" != x ; then
6912 eval "DEFAULT_$LINE"
6913 else
6914 no_cache=1
6915 fi
6916
6917 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6918
6919 fi;
6920
6921 eval "$ac_cv_use_display"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6924 fi
6925
6926 if test "$wxUSE_DISPLAY" = yes; then
6927 echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6
6929 else
6930 echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6
6932 fi
6933
6934
6935 enablestring=
6936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6938 no_cache=0
6939 # Check whether --enable-gauge or --disable-gauge was given.
6940 if test "${enable_gauge+set}" = set; then
6941 enableval="$enable_gauge"
6942
6943 if test "$enableval" = yes; then
6944 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6945 else
6946 ac_cv_use_gauge='wxUSE_GAUGE=no'
6947 fi
6948
6949 else
6950
6951 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x ; then
6953 eval "DEFAULT_$LINE"
6954 else
6955 no_cache=1
6956 fi
6957
6958 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6959
6960 fi;
6961
6962 eval "$ac_cv_use_gauge"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6965 fi
6966
6967 if test "$wxUSE_GAUGE" = yes; then
6968 echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6
6970 else
6971 echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6
6973 fi
6974
6975
6976 enablestring=
6977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6979 no_cache=0
6980 # Check whether --enable-grid or --disable-grid was given.
6981 if test "${enable_grid+set}" = set; then
6982 enableval="$enable_grid"
6983
6984 if test "$enableval" = yes; then
6985 ac_cv_use_grid='wxUSE_GRID=yes'
6986 else
6987 ac_cv_use_grid='wxUSE_GRID=no'
6988 fi
6989
6990 else
6991
6992 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6993 if test "x$LINE" != x ; then
6994 eval "DEFAULT_$LINE"
6995 else
6996 no_cache=1
6997 fi
6998
6999 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7000
7001 fi;
7002
7003 eval "$ac_cv_use_grid"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7006 fi
7007
7008 if test "$wxUSE_GRID" = yes; then
7009 echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6
7011 else
7012 echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6
7014 fi
7015
7016
7017 enablestring=
7018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7020 no_cache=0
7021 # Check whether --enable-imaglist or --disable-imaglist was given.
7022 if test "${enable_imaglist+set}" = set; then
7023 enableval="$enable_imaglist"
7024
7025 if test "$enableval" = yes; then
7026 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7027 else
7028 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7029 fi
7030
7031 else
7032
7033 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7034 if test "x$LINE" != x ; then
7035 eval "DEFAULT_$LINE"
7036 else
7037 no_cache=1
7038 fi
7039
7040 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7041
7042 fi;
7043
7044 eval "$ac_cv_use_imaglist"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7047 fi
7048
7049 if test "$wxUSE_IMAGLIST" = yes; then
7050 echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6
7052 else
7053 echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6
7055 fi
7056
7057
7058 enablestring=
7059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7061 no_cache=0
7062 # Check whether --enable-listbox or --disable-listbox was given.
7063 if test "${enable_listbox+set}" = set; then
7064 enableval="$enable_listbox"
7065
7066 if test "$enableval" = yes; then
7067 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7068 else
7069 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7070 fi
7071
7072 else
7073
7074 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x ; then
7076 eval "DEFAULT_$LINE"
7077 else
7078 no_cache=1
7079 fi
7080
7081 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7082
7083 fi;
7084
7085 eval "$ac_cv_use_listbox"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7088 fi
7089
7090 if test "$wxUSE_LISTBOX" = yes; then
7091 echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6
7093 else
7094 echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6
7096 fi
7097
7098
7099 enablestring=
7100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7102 no_cache=0
7103 # Check whether --enable-listctrl or --disable-listctrl was given.
7104 if test "${enable_listctrl+set}" = set; then
7105 enableval="$enable_listctrl"
7106
7107 if test "$enableval" = yes; then
7108 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7109 else
7110 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7111 fi
7112
7113 else
7114
7115 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7116 if test "x$LINE" != x ; then
7117 eval "DEFAULT_$LINE"
7118 else
7119 no_cache=1
7120 fi
7121
7122 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7123
7124 fi;
7125
7126 eval "$ac_cv_use_listctrl"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7129 fi
7130
7131 if test "$wxUSE_LISTCTRL" = yes; then
7132 echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6
7134 else
7135 echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6
7137 fi
7138
7139
7140 enablestring=
7141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7143 no_cache=0
7144 # Check whether --enable-notebook or --disable-notebook was given.
7145 if test "${enable_notebook+set}" = set; then
7146 enableval="$enable_notebook"
7147
7148 if test "$enableval" = yes; then
7149 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7150 else
7151 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7152 fi
7153
7154 else
7155
7156 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x ; then
7158 eval "DEFAULT_$LINE"
7159 else
7160 no_cache=1
7161 fi
7162
7163 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7164
7165 fi;
7166
7167 eval "$ac_cv_use_notebook"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7170 fi
7171
7172 if test "$wxUSE_NOTEBOOK" = yes; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6
7175 else
7176 echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6
7178 fi
7179
7180
7181 enablestring=
7182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7184 no_cache=0
7185 # Check whether --enable-radiobox or --disable-radiobox was given.
7186 if test "${enable_radiobox+set}" = set; then
7187 enableval="$enable_radiobox"
7188
7189 if test "$enableval" = yes; then
7190 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7191 else
7192 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7193 fi
7194
7195 else
7196
7197 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7198 if test "x$LINE" != x ; then
7199 eval "DEFAULT_$LINE"
7200 else
7201 no_cache=1
7202 fi
7203
7204 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7205
7206 fi;
7207
7208 eval "$ac_cv_use_radiobox"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7211 fi
7212
7213 if test "$wxUSE_RADIOBOX" = yes; then
7214 echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6
7216 else
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7219 fi
7220
7221
7222 enablestring=
7223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7225 no_cache=0
7226 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7227 if test "${enable_radiobtn+set}" = set; then
7228 enableval="$enable_radiobtn"
7229
7230 if test "$enableval" = yes; then
7231 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7232 else
7233 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7234 fi
7235
7236 else
7237
7238 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7239 if test "x$LINE" != x ; then
7240 eval "DEFAULT_$LINE"
7241 else
7242 no_cache=1
7243 fi
7244
7245 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7246
7247 fi;
7248
7249 eval "$ac_cv_use_radiobtn"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7252 fi
7253
7254 if test "$wxUSE_RADIOBTN" = yes; then
7255 echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6
7257 else
7258 echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6
7260 fi
7261
7262
7263 enablestring=
7264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7266 no_cache=0
7267 # Check whether --enable-sash or --disable-sash was given.
7268 if test "${enable_sash+set}" = set; then
7269 enableval="$enable_sash"
7270
7271 if test "$enableval" = yes; then
7272 ac_cv_use_sash='wxUSE_SASH=yes'
7273 else
7274 ac_cv_use_sash='wxUSE_SASH=no'
7275 fi
7276
7277 else
7278
7279 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7280 if test "x$LINE" != x ; then
7281 eval "DEFAULT_$LINE"
7282 else
7283 no_cache=1
7284 fi
7285
7286 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7287
7288 fi;
7289
7290 eval "$ac_cv_use_sash"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7293 fi
7294
7295 if test "$wxUSE_SASH" = yes; then
7296 echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6
7298 else
7299 echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6
7301 fi
7302
7303
7304 enablestring=
7305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7307 no_cache=0
7308 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7309 if test "${enable_scrollbar+set}" = set; then
7310 enableval="$enable_scrollbar"
7311
7312 if test "$enableval" = yes; then
7313 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7314 else
7315 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7316 fi
7317
7318 else
7319
7320 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x ; then
7322 eval "DEFAULT_$LINE"
7323 else
7324 no_cache=1
7325 fi
7326
7327 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7328
7329 fi;
7330
7331 eval "$ac_cv_use_scrollbar"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7334 fi
7335
7336 if test "$wxUSE_SCROLLBAR" = yes; then
7337 echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6
7339 else
7340 echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6
7342 fi
7343
7344
7345 enablestring=
7346 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7348 no_cache=0
7349 # Check whether --enable-slider or --disable-slider was given.
7350 if test "${enable_slider+set}" = set; then
7351 enableval="$enable_slider"
7352
7353 if test "$enableval" = yes; then
7354 ac_cv_use_slider='wxUSE_SLIDER=yes'
7355 else
7356 ac_cv_use_slider='wxUSE_SLIDER=no'
7357 fi
7358
7359 else
7360
7361 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x ; then
7363 eval "DEFAULT_$LINE"
7364 else
7365 no_cache=1
7366 fi
7367
7368 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7369
7370 fi;
7371
7372 eval "$ac_cv_use_slider"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7375 fi
7376
7377 if test "$wxUSE_SLIDER" = yes; then
7378 echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6
7380 else
7381 echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6
7383 fi
7384
7385
7386 enablestring=
7387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7389 no_cache=0
7390 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7391 if test "${enable_spinbtn+set}" = set; then
7392 enableval="$enable_spinbtn"
7393
7394 if test "$enableval" = yes; then
7395 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7396 else
7397 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7398 fi
7399
7400 else
7401
7402 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7405 else
7406 no_cache=1
7407 fi
7408
7409 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7410
7411 fi;
7412
7413 eval "$ac_cv_use_spinbtn"
7414 if test "$no_cache" != 1; then
7415 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7416 fi
7417
7418 if test "$wxUSE_SPINBTN" = yes; then
7419 echo "$as_me:$LINENO: result: yes" >&5
7420 echo "${ECHO_T}yes" >&6
7421 else
7422 echo "$as_me:$LINENO: result: no" >&5
7423 echo "${ECHO_T}no" >&6
7424 fi
7425
7426
7427 enablestring=
7428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7430 no_cache=0
7431 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7432 if test "${enable_spinctrl+set}" = set; then
7433 enableval="$enable_spinctrl"
7434
7435 if test "$enableval" = yes; then
7436 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7437 else
7438 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7439 fi
7440
7441 else
7442
7443 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7446 else
7447 no_cache=1
7448 fi
7449
7450 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7451
7452 fi;
7453
7454 eval "$ac_cv_use_spinctrl"
7455 if test "$no_cache" != 1; then
7456 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7457 fi
7458
7459 if test "$wxUSE_SPINCTRL" = yes; then
7460 echo "$as_me:$LINENO: result: yes" >&5
7461 echo "${ECHO_T}yes" >&6
7462 else
7463 echo "$as_me:$LINENO: result: no" >&5
7464 echo "${ECHO_T}no" >&6
7465 fi
7466
7467
7468 enablestring=
7469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7470 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7471 no_cache=0
7472 # Check whether --enable-splitter or --disable-splitter was given.
7473 if test "${enable_splitter+set}" = set; then
7474 enableval="$enable_splitter"
7475
7476 if test "$enableval" = yes; then
7477 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7478 else
7479 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7480 fi
7481
7482 else
7483
7484 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7487 else
7488 no_cache=1
7489 fi
7490
7491 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7492
7493 fi;
7494
7495 eval "$ac_cv_use_splitter"
7496 if test "$no_cache" != 1; then
7497 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7498 fi
7499
7500 if test "$wxUSE_SPLITTER" = yes; then
7501 echo "$as_me:$LINENO: result: yes" >&5
7502 echo "${ECHO_T}yes" >&6
7503 else
7504 echo "$as_me:$LINENO: result: no" >&5
7505 echo "${ECHO_T}no" >&6
7506 fi
7507
7508
7509 enablestring=
7510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7511 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7512 no_cache=0
7513 # Check whether --enable-statbmp or --disable-statbmp was given.
7514 if test "${enable_statbmp+set}" = set; then
7515 enableval="$enable_statbmp"
7516
7517 if test "$enableval" = yes; then
7518 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7519 else
7520 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7521 fi
7522
7523 else
7524
7525 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7528 else
7529 no_cache=1
7530 fi
7531
7532 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7533
7534 fi;
7535
7536 eval "$ac_cv_use_statbmp"
7537 if test "$no_cache" != 1; then
7538 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7539 fi
7540
7541 if test "$wxUSE_STATBMP" = yes; then
7542 echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7544 else
7545 echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7547 fi
7548
7549
7550 enablestring=
7551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7552 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7553 no_cache=0
7554 # Check whether --enable-statbox or --disable-statbox was given.
7555 if test "${enable_statbox+set}" = set; then
7556 enableval="$enable_statbox"
7557
7558 if test "$enableval" = yes; then
7559 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7560 else
7561 ac_cv_use_statbox='wxUSE_STATBOX=no'
7562 fi
7563
7564 else
7565
7566 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x ; then
7568 eval "DEFAULT_$LINE"
7569 else
7570 no_cache=1
7571 fi
7572
7573 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7574
7575 fi;
7576
7577 eval "$ac_cv_use_statbox"
7578 if test "$no_cache" != 1; then
7579 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7580 fi
7581
7582 if test "$wxUSE_STATBOX" = yes; then
7583 echo "$as_me:$LINENO: result: yes" >&5
7584 echo "${ECHO_T}yes" >&6
7585 else
7586 echo "$as_me:$LINENO: result: no" >&5
7587 echo "${ECHO_T}no" >&6
7588 fi
7589
7590
7591 enablestring=
7592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7593 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7594 no_cache=0
7595 # Check whether --enable-statline or --disable-statline was given.
7596 if test "${enable_statline+set}" = set; then
7597 enableval="$enable_statline"
7598
7599 if test "$enableval" = yes; then
7600 ac_cv_use_statline='wxUSE_STATLINE=yes'
7601 else
7602 ac_cv_use_statline='wxUSE_STATLINE=no'
7603 fi
7604
7605 else
7606
7607 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7610 else
7611 no_cache=1
7612 fi
7613
7614 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7615
7616 fi;
7617
7618 eval "$ac_cv_use_statline"
7619 if test "$no_cache" != 1; then
7620 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7621 fi
7622
7623 if test "$wxUSE_STATLINE" = yes; then
7624 echo "$as_me:$LINENO: result: yes" >&5
7625 echo "${ECHO_T}yes" >&6
7626 else
7627 echo "$as_me:$LINENO: result: no" >&5
7628 echo "${ECHO_T}no" >&6
7629 fi
7630
7631
7632 enablestring=
7633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7635 no_cache=0
7636 # Check whether --enable-stattext or --disable-stattext was given.
7637 if test "${enable_stattext+set}" = set; then
7638 enableval="$enable_stattext"
7639
7640 if test "$enableval" = yes; then
7641 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7642 else
7643 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7644 fi
7645
7646 else
7647
7648 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7649 if test "x$LINE" != x ; then
7650 eval "DEFAULT_$LINE"
7651 else
7652 no_cache=1
7653 fi
7654
7655 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7656
7657 fi;
7658
7659 eval "$ac_cv_use_stattext"
7660 if test "$no_cache" != 1; then
7661 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7662 fi
7663
7664 if test "$wxUSE_STATTEXT" = yes; then
7665 echo "$as_me:$LINENO: result: yes" >&5
7666 echo "${ECHO_T}yes" >&6
7667 else
7668 echo "$as_me:$LINENO: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7670 fi
7671
7672
7673 enablestring=
7674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7675 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7676 no_cache=0
7677 # Check whether --enable-statusbar or --disable-statusbar was given.
7678 if test "${enable_statusbar+set}" = set; then
7679 enableval="$enable_statusbar"
7680
7681 if test "$enableval" = yes; then
7682 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7683 else
7684 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7685 fi
7686
7687 else
7688
7689 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7690 if test "x$LINE" != x ; then
7691 eval "DEFAULT_$LINE"
7692 else
7693 no_cache=1
7694 fi
7695
7696 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7697
7698 fi;
7699
7700 eval "$ac_cv_use_statusbar"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7703 fi
7704
7705 if test "$wxUSE_STATUSBAR" = yes; then
7706 echo "$as_me:$LINENO: result: yes" >&5
7707 echo "${ECHO_T}yes" >&6
7708 else
7709 echo "$as_me:$LINENO: result: no" >&5
7710 echo "${ECHO_T}no" >&6
7711 fi
7712
7713
7714 enablestring=
7715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7716 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7717 no_cache=0
7718 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7719 if test "${enable_tabdialog+set}" = set; then
7720 enableval="$enable_tabdialog"
7721
7722 if test "$enableval" = yes; then
7723 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7724 else
7725 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7726 fi
7727
7728 else
7729
7730 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7731 if test "x$LINE" != x ; then
7732 eval "DEFAULT_$LINE"
7733 else
7734 no_cache=1
7735 fi
7736
7737 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7738
7739 fi;
7740
7741 eval "$ac_cv_use_tabdialog"
7742 if test "$no_cache" != 1; then
7743 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7744 fi
7745
7746 if test "$wxUSE_TABDIALOG" = yes; then
7747 echo "$as_me:$LINENO: result: yes" >&5
7748 echo "${ECHO_T}yes" >&6
7749 else
7750 echo "$as_me:$LINENO: result: no" >&5
7751 echo "${ECHO_T}no" >&6
7752 fi
7753
7754
7755 enablestring=
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7758 no_cache=0
7759 # Check whether --enable-textctrl or --disable-textctrl was given.
7760 if test "${enable_textctrl+set}" = set; then
7761 enableval="$enable_textctrl"
7762
7763 if test "$enableval" = yes; then
7764 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7765 else
7766 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7767 fi
7768
7769 else
7770
7771 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 else
7775 no_cache=1
7776 fi
7777
7778 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7779
7780 fi;
7781
7782 eval "$ac_cv_use_textctrl"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_TEXTCTRL" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7790 else
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7793 fi
7794
7795
7796 enablestring=
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7799 no_cache=0
7800 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7801 if test "${enable_togglebtn+set}" = set; then
7802 enableval="$enable_togglebtn"
7803
7804 if test "$enableval" = yes; then
7805 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7806 else
7807 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7808 fi
7809
7810 else
7811
7812 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 else
7816 no_cache=1
7817 fi
7818
7819 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7820
7821 fi;
7822
7823 eval "$ac_cv_use_togglebtn"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_TOGGLEBTN" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7831 else
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7834 fi
7835
7836
7837 enablestring=
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7840 no_cache=0
7841 # Check whether --enable-toolbar or --disable-toolbar was given.
7842 if test "${enable_toolbar+set}" = set; then
7843 enableval="$enable_toolbar"
7844
7845 if test "$enableval" = yes; then
7846 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7847 else
7848 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7849 fi
7850
7851 else
7852
7853 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x ; then
7855 eval "DEFAULT_$LINE"
7856 else
7857 no_cache=1
7858 fi
7859
7860 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7861
7862 fi;
7863
7864 eval "$ac_cv_use_toolbar"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_TOOLBAR" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7872 else
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7875 fi
7876
7877
7878 enablestring=
7879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7881 no_cache=0
7882 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7883 if test "${enable_tbarnative+set}" = set; then
7884 enableval="$enable_tbarnative"
7885
7886 if test "$enableval" = yes; then
7887 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7888 else
7889 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7890 fi
7891
7892 else
7893
7894 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7895 if test "x$LINE" != x ; then
7896 eval "DEFAULT_$LINE"
7897 else
7898 no_cache=1
7899 fi
7900
7901 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7902
7903 fi;
7904
7905 eval "$ac_cv_use_tbarnative"
7906 if test "$no_cache" != 1; then
7907 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7908 fi
7909
7910 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7911 echo "$as_me:$LINENO: result: yes" >&5
7912 echo "${ECHO_T}yes" >&6
7913 else
7914 echo "$as_me:$LINENO: result: no" >&5
7915 echo "${ECHO_T}no" >&6
7916 fi
7917
7918
7919 enablestring=
7920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7921 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7922 no_cache=0
7923 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7924 if test "${enable_tbarsmpl+set}" = set; then
7925 enableval="$enable_tbarsmpl"
7926
7927 if test "$enableval" = yes; then
7928 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7929 else
7930 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7931 fi
7932
7933 else
7934
7935 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7936 if test "x$LINE" != x ; then
7937 eval "DEFAULT_$LINE"
7938 else
7939 no_cache=1
7940 fi
7941
7942 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7943
7944 fi;
7945
7946 eval "$ac_cv_use_tbarsmpl"
7947 if test "$no_cache" != 1; then
7948 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7949 fi
7950
7951 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7952 echo "$as_me:$LINENO: result: yes" >&5
7953 echo "${ECHO_T}yes" >&6
7954 else
7955 echo "$as_me:$LINENO: result: no" >&5
7956 echo "${ECHO_T}no" >&6
7957 fi
7958
7959
7960 enablestring=
7961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7962 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7963 no_cache=0
7964 # Check whether --enable-treectrl or --disable-treectrl was given.
7965 if test "${enable_treectrl+set}" = set; then
7966 enableval="$enable_treectrl"
7967
7968 if test "$enableval" = yes; then
7969 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7970 else
7971 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7972 fi
7973
7974 else
7975
7976 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7977 if test "x$LINE" != x ; then
7978 eval "DEFAULT_$LINE"
7979 else
7980 no_cache=1
7981 fi
7982
7983 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7984
7985 fi;
7986
7987 eval "$ac_cv_use_treectrl"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7990 fi
7991
7992 if test "$wxUSE_TREECTRL" = yes; then
7993 echo "$as_me:$LINENO: result: yes" >&5
7994 echo "${ECHO_T}yes" >&6
7995 else
7996 echo "$as_me:$LINENO: result: no" >&5
7997 echo "${ECHO_T}no" >&6
7998 fi
7999
8000
8001 enablestring=
8002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8003 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8004 no_cache=0
8005 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8006 if test "${enable_tipwindow+set}" = set; then
8007 enableval="$enable_tipwindow"
8008
8009 if test "$enableval" = yes; then
8010 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8011 else
8012 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8013 fi
8014
8015 else
8016
8017 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8018 if test "x$LINE" != x ; then
8019 eval "DEFAULT_$LINE"
8020 else
8021 no_cache=1
8022 fi
8023
8024 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8025
8026 fi;
8027
8028 eval "$ac_cv_use_tipwindow"
8029 if test "$no_cache" != 1; then
8030 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8031 fi
8032
8033 if test "$wxUSE_TIPWINDOW" = yes; then
8034 echo "$as_me:$LINENO: result: yes" >&5
8035 echo "${ECHO_T}yes" >&6
8036 else
8037 echo "$as_me:$LINENO: result: no" >&5
8038 echo "${ECHO_T}no" >&6
8039 fi
8040
8041
8042 enablestring=
8043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8044 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8045 no_cache=0
8046 # Check whether --enable-popupwin or --disable-popupwin was given.
8047 if test "${enable_popupwin+set}" = set; then
8048 enableval="$enable_popupwin"
8049
8050 if test "$enableval" = yes; then
8051 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8052 else
8053 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8054 fi
8055
8056 else
8057
8058 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8059 if test "x$LINE" != x ; then
8060 eval "DEFAULT_$LINE"
8061 else
8062 no_cache=1
8063 fi
8064
8065 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8066
8067 fi;
8068
8069 eval "$ac_cv_use_popupwin"
8070 if test "$no_cache" != 1; then
8071 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8072 fi
8073
8074 if test "$wxUSE_POPUPWIN" = yes; then
8075 echo "$as_me:$LINENO: result: yes" >&5
8076 echo "${ECHO_T}yes" >&6
8077 else
8078 echo "$as_me:$LINENO: result: no" >&5
8079 echo "${ECHO_T}no" >&6
8080 fi
8081
8082
8083
8084
8085 enablestring=
8086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8087 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8088 no_cache=0
8089 # Check whether --enable-commondlg or --disable-commondlg was given.
8090 if test "${enable_commondlg+set}" = set; then
8091 enableval="$enable_commondlg"
8092
8093 if test "$enableval" = yes; then
8094 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8095 else
8096 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8097 fi
8098
8099 else
8100
8101 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8102 if test "x$LINE" != x ; then
8103 eval "DEFAULT_$LINE"
8104 else
8105 no_cache=1
8106 fi
8107
8108 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8109
8110 fi;
8111
8112 eval "$ac_cv_use_commondlg"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8115 fi
8116
8117 if test "$wxUSE_COMMONDLGS" = yes; then
8118 echo "$as_me:$LINENO: result: yes" >&5
8119 echo "${ECHO_T}yes" >&6
8120 else
8121 echo "$as_me:$LINENO: result: no" >&5
8122 echo "${ECHO_T}no" >&6
8123 fi
8124
8125
8126 enablestring=
8127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8128 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8129 no_cache=0
8130 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8131 if test "${enable_choicedlg+set}" = set; then
8132 enableval="$enable_choicedlg"
8133
8134 if test "$enableval" = yes; then
8135 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8136 else
8137 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8138 fi
8139
8140 else
8141
8142 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8143 if test "x$LINE" != x ; then
8144 eval "DEFAULT_$LINE"
8145 else
8146 no_cache=1
8147 fi
8148
8149 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8150
8151 fi;
8152
8153 eval "$ac_cv_use_choicedlg"
8154 if test "$no_cache" != 1; then
8155 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8156 fi
8157
8158 if test "$wxUSE_CHOICEDLG" = yes; then
8159 echo "$as_me:$LINENO: result: yes" >&5
8160 echo "${ECHO_T}yes" >&6
8161 else
8162 echo "$as_me:$LINENO: result: no" >&5
8163 echo "${ECHO_T}no" >&6
8164 fi
8165
8166
8167 enablestring=
8168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8169 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8170 no_cache=0
8171 # Check whether --enable-coldlg or --disable-coldlg was given.
8172 if test "${enable_coldlg+set}" = set; then
8173 enableval="$enable_coldlg"
8174
8175 if test "$enableval" = yes; then
8176 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8177 else
8178 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8179 fi
8180
8181 else
8182
8183 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8184 if test "x$LINE" != x ; then
8185 eval "DEFAULT_$LINE"
8186 else
8187 no_cache=1
8188 fi
8189
8190 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8191
8192 fi;
8193
8194 eval "$ac_cv_use_coldlg"
8195 if test "$no_cache" != 1; then
8196 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8197 fi
8198
8199 if test "$wxUSE_COLOURDLG" = yes; then
8200 echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6
8202 else
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8205 fi
8206
8207
8208 enablestring=
8209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8210 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8211 no_cache=0
8212 # Check whether --enable-filedlg or --disable-filedlg was given.
8213 if test "${enable_filedlg+set}" = set; then
8214 enableval="$enable_filedlg"
8215
8216 if test "$enableval" = yes; then
8217 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8218 else
8219 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8220 fi
8221
8222 else
8223
8224 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8225 if test "x$LINE" != x ; then
8226 eval "DEFAULT_$LINE"
8227 else
8228 no_cache=1
8229 fi
8230
8231 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8232
8233 fi;
8234
8235 eval "$ac_cv_use_filedlg"
8236 if test "$no_cache" != 1; then
8237 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8238 fi
8239
8240 if test "$wxUSE_FILEDLG" = yes; then
8241 echo "$as_me:$LINENO: result: yes" >&5
8242 echo "${ECHO_T}yes" >&6
8243 else
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8246 fi
8247
8248
8249 enablestring=
8250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8252 no_cache=0
8253 # Check whether --enable-finddlg or --disable-finddlg was given.
8254 if test "${enable_finddlg+set}" = set; then
8255 enableval="$enable_finddlg"
8256
8257 if test "$enableval" = yes; then
8258 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8259 else
8260 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8261 fi
8262
8263 else
8264
8265 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8266 if test "x$LINE" != x ; then
8267 eval "DEFAULT_$LINE"
8268 else
8269 no_cache=1
8270 fi
8271
8272 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8273
8274 fi;
8275
8276 eval "$ac_cv_use_finddlg"
8277 if test "$no_cache" != 1; then
8278 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8279 fi
8280
8281 if test "$wxUSE_FINDREPLDLG" = yes; then
8282 echo "$as_me:$LINENO: result: yes" >&5
8283 echo "${ECHO_T}yes" >&6
8284 else
8285 echo "$as_me:$LINENO: result: no" >&5
8286 echo "${ECHO_T}no" >&6
8287 fi
8288
8289
8290 enablestring=
8291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8292 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8293 no_cache=0
8294 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8295 if test "${enable_fontdlg+set}" = set; then
8296 enableval="$enable_fontdlg"
8297
8298 if test "$enableval" = yes; then
8299 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8300 else
8301 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8302 fi
8303
8304 else
8305
8306 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x ; then
8308 eval "DEFAULT_$LINE"
8309 else
8310 no_cache=1
8311 fi
8312
8313 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8314
8315 fi;
8316
8317 eval "$ac_cv_use_fontdlg"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8320 fi
8321
8322 if test "$wxUSE_FONTDLG" = yes; then
8323 echo "$as_me:$LINENO: result: yes" >&5
8324 echo "${ECHO_T}yes" >&6
8325 else
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6
8328 fi
8329
8330
8331 enablestring=
8332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8334 no_cache=0
8335 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8336 if test "${enable_dirdlg+set}" = set; then
8337 enableval="$enable_dirdlg"
8338
8339 if test "$enableval" = yes; then
8340 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8341 else
8342 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8343 fi
8344
8345 else
8346
8347 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8348 if test "x$LINE" != x ; then
8349 eval "DEFAULT_$LINE"
8350 else
8351 no_cache=1
8352 fi
8353
8354 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8355
8356 fi;
8357
8358 eval "$ac_cv_use_dirdlg"
8359 if test "$no_cache" != 1; then
8360 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8361 fi
8362
8363 if test "$wxUSE_DIRDLG" = yes; then
8364 echo "$as_me:$LINENO: result: yes" >&5
8365 echo "${ECHO_T}yes" >&6
8366 else
8367 echo "$as_me:$LINENO: result: no" >&5
8368 echo "${ECHO_T}no" >&6
8369 fi
8370
8371
8372 enablestring=
8373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8375 no_cache=0
8376 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8377 if test "${enable_msgdlg+set}" = set; then
8378 enableval="$enable_msgdlg"
8379
8380 if test "$enableval" = yes; then
8381 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8382 else
8383 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8384 fi
8385
8386 else
8387
8388 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8389 if test "x$LINE" != x ; then
8390 eval "DEFAULT_$LINE"
8391 else
8392 no_cache=1
8393 fi
8394
8395 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8396
8397 fi;
8398
8399 eval "$ac_cv_use_msgdlg"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8402 fi
8403
8404 if test "$wxUSE_MSGDLG" = yes; then
8405 echo "$as_me:$LINENO: result: yes" >&5
8406 echo "${ECHO_T}yes" >&6
8407 else
8408 echo "$as_me:$LINENO: result: no" >&5
8409 echo "${ECHO_T}no" >&6
8410 fi
8411
8412
8413 enablestring=
8414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8416 no_cache=0
8417 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8418 if test "${enable_numberdlg+set}" = set; then
8419 enableval="$enable_numberdlg"
8420
8421 if test "$enableval" = yes; then
8422 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8423 else
8424 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8425 fi
8426
8427 else
8428
8429 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8430 if test "x$LINE" != x ; then
8431 eval "DEFAULT_$LINE"
8432 else
8433 no_cache=1
8434 fi
8435
8436 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8437
8438 fi;
8439
8440 eval "$ac_cv_use_numberdlg"
8441 if test "$no_cache" != 1; then
8442 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8443 fi
8444
8445 if test "$wxUSE_NUMBERDLG" = yes; then
8446 echo "$as_me:$LINENO: result: yes" >&5
8447 echo "${ECHO_T}yes" >&6
8448 else
8449 echo "$as_me:$LINENO: result: no" >&5
8450 echo "${ECHO_T}no" >&6
8451 fi
8452
8453
8454 enablestring=
8455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8456 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8457 no_cache=0
8458 # Check whether --enable-splash or --disable-splash was given.
8459 if test "${enable_splash+set}" = set; then
8460 enableval="$enable_splash"
8461
8462 if test "$enableval" = yes; then
8463 ac_cv_use_splash='wxUSE_SPLASH=yes'
8464 else
8465 ac_cv_use_splash='wxUSE_SPLASH=no'
8466 fi
8467
8468 else
8469
8470 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x ; then
8472 eval "DEFAULT_$LINE"
8473 else
8474 no_cache=1
8475 fi
8476
8477 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8478
8479 fi;
8480
8481 eval "$ac_cv_use_splash"
8482 if test "$no_cache" != 1; then
8483 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8484 fi
8485
8486 if test "$wxUSE_SPLASH" = yes; then
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8489 else
8490 echo "$as_me:$LINENO: result: no" >&5
8491 echo "${ECHO_T}no" >&6
8492 fi
8493
8494
8495 enablestring=
8496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8497 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8498 no_cache=0
8499 # Check whether --enable-textdlg or --disable-textdlg was given.
8500 if test "${enable_textdlg+set}" = set; then
8501 enableval="$enable_textdlg"
8502
8503 if test "$enableval" = yes; then
8504 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8505 else
8506 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8507 fi
8508
8509 else
8510
8511 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8512 if test "x$LINE" != x ; then
8513 eval "DEFAULT_$LINE"
8514 else
8515 no_cache=1
8516 fi
8517
8518 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8519
8520 fi;
8521
8522 eval "$ac_cv_use_textdlg"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8525 fi
8526
8527 if test "$wxUSE_TEXTDLG" = yes; then
8528 echo "$as_me:$LINENO: result: yes" >&5
8529 echo "${ECHO_T}yes" >&6
8530 else
8531 echo "$as_me:$LINENO: result: no" >&5
8532 echo "${ECHO_T}no" >&6
8533 fi
8534
8535
8536 enablestring=
8537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8539 no_cache=0
8540 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8541 if test "${enable_tipdlg+set}" = set; then
8542 enableval="$enable_tipdlg"
8543
8544 if test "$enableval" = yes; then
8545 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8546 else
8547 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8548 fi
8549
8550 else
8551
8552 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8553 if test "x$LINE" != x ; then
8554 eval "DEFAULT_$LINE"
8555 else
8556 no_cache=1
8557 fi
8558
8559 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8560
8561 fi;
8562
8563 eval "$ac_cv_use_tipdlg"
8564 if test "$no_cache" != 1; then
8565 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8566 fi
8567
8568 if test "$wxUSE_STARTUP_TIPS" = yes; then
8569 echo "$as_me:$LINENO: result: yes" >&5
8570 echo "${ECHO_T}yes" >&6
8571 else
8572 echo "$as_me:$LINENO: result: no" >&5
8573 echo "${ECHO_T}no" >&6
8574 fi
8575
8576
8577 enablestring=
8578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8580 no_cache=0
8581 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8582 if test "${enable_progressdlg+set}" = set; then
8583 enableval="$enable_progressdlg"
8584
8585 if test "$enableval" = yes; then
8586 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8587 else
8588 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8589 fi
8590
8591 else
8592
8593 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8594 if test "x$LINE" != x ; then
8595 eval "DEFAULT_$LINE"
8596 else
8597 no_cache=1
8598 fi
8599
8600 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8601
8602 fi;
8603
8604 eval "$ac_cv_use_progressdlg"
8605 if test "$no_cache" != 1; then
8606 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8607 fi
8608
8609 if test "$wxUSE_PROGRESSDLG" = yes; then
8610 echo "$as_me:$LINENO: result: yes" >&5
8611 echo "${ECHO_T}yes" >&6
8612 else
8613 echo "$as_me:$LINENO: result: no" >&5
8614 echo "${ECHO_T}no" >&6
8615 fi
8616
8617
8618 enablestring=
8619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8620 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8621 no_cache=0
8622 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8623 if test "${enable_wizarddlg+set}" = set; then
8624 enableval="$enable_wizarddlg"
8625
8626 if test "$enableval" = yes; then
8627 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8628 else
8629 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8630 fi
8631
8632 else
8633
8634 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x ; then
8636 eval "DEFAULT_$LINE"
8637 else
8638 no_cache=1
8639 fi
8640
8641 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8642
8643 fi;
8644
8645 eval "$ac_cv_use_wizarddlg"
8646 if test "$no_cache" != 1; then
8647 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8648 fi
8649
8650 if test "$wxUSE_WIZARDDLG" = yes; then
8651 echo "$as_me:$LINENO: result: yes" >&5
8652 echo "${ECHO_T}yes" >&6
8653 else
8654 echo "$as_me:$LINENO: result: no" >&5
8655 echo "${ECHO_T}no" >&6
8656 fi
8657
8658
8659
8660
8661 enablestring=
8662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8663 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8664 no_cache=0
8665 # Check whether --enable-menus or --disable-menus was given.
8666 if test "${enable_menus+set}" = set; then
8667 enableval="$enable_menus"
8668
8669 if test "$enableval" = yes; then
8670 ac_cv_use_menus='wxUSE_MENUS=yes'
8671 else
8672 ac_cv_use_menus='wxUSE_MENUS=no'
8673 fi
8674
8675 else
8676
8677 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8678 if test "x$LINE" != x ; then
8679 eval "DEFAULT_$LINE"
8680 else
8681 no_cache=1
8682 fi
8683
8684 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8685
8686 fi;
8687
8688 eval "$ac_cv_use_menus"
8689 if test "$no_cache" != 1; then
8690 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8691 fi
8692
8693 if test "$wxUSE_MENUS" = yes; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8696 else
8697 echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6
8699 fi
8700
8701
8702 enablestring=
8703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8704 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8705 no_cache=0
8706 # Check whether --enable-miniframe or --disable-miniframe was given.
8707 if test "${enable_miniframe+set}" = set; then
8708 enableval="$enable_miniframe"
8709
8710 if test "$enableval" = yes; then
8711 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8712 else
8713 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8714 fi
8715
8716 else
8717
8718 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8719 if test "x$LINE" != x ; then
8720 eval "DEFAULT_$LINE"
8721 else
8722 no_cache=1
8723 fi
8724
8725 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8726
8727 fi;
8728
8729 eval "$ac_cv_use_miniframe"
8730 if test "$no_cache" != 1; then
8731 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8732 fi
8733
8734 if test "$wxUSE_MINIFRAME" = yes; then
8735 echo "$as_me:$LINENO: result: yes" >&5
8736 echo "${ECHO_T}yes" >&6
8737 else
8738 echo "$as_me:$LINENO: result: no" >&5
8739 echo "${ECHO_T}no" >&6
8740 fi
8741
8742
8743 enablestring=
8744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8745 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8746 no_cache=0
8747 # Check whether --enable-tooltips or --disable-tooltips was given.
8748 if test "${enable_tooltips+set}" = set; then
8749 enableval="$enable_tooltips"
8750
8751 if test "$enableval" = yes; then
8752 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8753 else
8754 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8755 fi
8756
8757 else
8758
8759 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8760 if test "x$LINE" != x ; then
8761 eval "DEFAULT_$LINE"
8762 else
8763 no_cache=1
8764 fi
8765
8766 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8767
8768 fi;
8769
8770 eval "$ac_cv_use_tooltips"
8771 if test "$no_cache" != 1; then
8772 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8773 fi
8774
8775 if test "$wxUSE_TOOLTIPS" = yes; then
8776 echo "$as_me:$LINENO: result: yes" >&5
8777 echo "${ECHO_T}yes" >&6
8778 else
8779 echo "$as_me:$LINENO: result: no" >&5
8780 echo "${ECHO_T}no" >&6
8781 fi
8782
8783
8784 enablestring=
8785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8786 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8787 no_cache=0
8788 # Check whether --enable-splines or --disable-splines was given.
8789 if test "${enable_splines+set}" = set; then
8790 enableval="$enable_splines"
8791
8792 if test "$enableval" = yes; then
8793 ac_cv_use_splines='wxUSE_SPLINES=yes'
8794 else
8795 ac_cv_use_splines='wxUSE_SPLINES=no'
8796 fi
8797
8798 else
8799
8800 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8801 if test "x$LINE" != x ; then
8802 eval "DEFAULT_$LINE"
8803 else
8804 no_cache=1
8805 fi
8806
8807 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8808
8809 fi;
8810
8811 eval "$ac_cv_use_splines"
8812 if test "$no_cache" != 1; then
8813 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8814 fi
8815
8816 if test "$wxUSE_SPLINES" = yes; then
8817 echo "$as_me:$LINENO: result: yes" >&5
8818 echo "${ECHO_T}yes" >&6
8819 else
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8822 fi
8823
8824
8825 enablestring=
8826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8827 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8828 no_cache=0
8829 # Check whether --enable-validators or --disable-validators was given.
8830 if test "${enable_validators+set}" = set; then
8831 enableval="$enable_validators"
8832
8833 if test "$enableval" = yes; then
8834 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8835 else
8836 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8837 fi
8838
8839 else
8840
8841 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8842 if test "x$LINE" != x ; then
8843 eval "DEFAULT_$LINE"
8844 else
8845 no_cache=1
8846 fi
8847
8848 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8849
8850 fi;
8851
8852 eval "$ac_cv_use_validators"
8853 if test "$no_cache" != 1; then
8854 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8855 fi
8856
8857 if test "$wxUSE_VALIDATORS" = yes; then
8858 echo "$as_me:$LINENO: result: yes" >&5
8859 echo "${ECHO_T}yes" >&6
8860 else
8861 echo "$as_me:$LINENO: result: no" >&5
8862 echo "${ECHO_T}no" >&6
8863 fi
8864
8865
8866 enablestring=
8867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8869 no_cache=0
8870 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8871 if test "${enable_busyinfo+set}" = set; then
8872 enableval="$enable_busyinfo"
8873
8874 if test "$enableval" = yes; then
8875 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8876 else
8877 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8878 fi
8879
8880 else
8881
8882 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x ; then
8884 eval "DEFAULT_$LINE"
8885 else
8886 no_cache=1
8887 fi
8888
8889 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8890
8891 fi;
8892
8893 eval "$ac_cv_use_busyinfo"
8894 if test "$no_cache" != 1; then
8895 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8896 fi
8897
8898 if test "$wxUSE_BUSYINFO" = yes; then
8899 echo "$as_me:$LINENO: result: yes" >&5
8900 echo "${ECHO_T}yes" >&6
8901 else
8902 echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6
8904 fi
8905
8906
8907 enablestring=
8908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8909 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8910 no_cache=0
8911 # Check whether --enable-joystick or --disable-joystick was given.
8912 if test "${enable_joystick+set}" = set; then
8913 enableval="$enable_joystick"
8914
8915 if test "$enableval" = yes; then
8916 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8917 else
8918 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8919 fi
8920
8921 else
8922
8923 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8924 if test "x$LINE" != x ; then
8925 eval "DEFAULT_$LINE"
8926 else
8927 no_cache=1
8928 fi
8929
8930 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8931
8932 fi;
8933
8934 eval "$ac_cv_use_joystick"
8935 if test "$no_cache" != 1; then
8936 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8937 fi
8938
8939 if test "$wxUSE_JOYSTICK" = yes; then
8940 echo "$as_me:$LINENO: result: yes" >&5
8941 echo "${ECHO_T}yes" >&6
8942 else
8943 echo "$as_me:$LINENO: result: no" >&5
8944 echo "${ECHO_T}no" >&6
8945 fi
8946
8947
8948 enablestring=
8949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8950 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8951 no_cache=0
8952 # Check whether --enable-metafile or --disable-metafile was given.
8953 if test "${enable_metafile+set}" = set; then
8954 enableval="$enable_metafile"
8955
8956 if test "$enableval" = yes; then
8957 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8958 else
8959 ac_cv_use_metafile='wxUSE_METAFILE=no'
8960 fi
8961
8962 else
8963
8964 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8965 if test "x$LINE" != x ; then
8966 eval "DEFAULT_$LINE"
8967 else
8968 no_cache=1
8969 fi
8970
8971 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8972
8973 fi;
8974
8975 eval "$ac_cv_use_metafile"
8976 if test "$no_cache" != 1; then
8977 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8978 fi
8979
8980 if test "$wxUSE_METAFILE" = yes; then
8981 echo "$as_me:$LINENO: result: yes" >&5
8982 echo "${ECHO_T}yes" >&6
8983 else
8984 echo "$as_me:$LINENO: result: no" >&5
8985 echo "${ECHO_T}no" >&6
8986 fi
8987
8988
8989 enablestring=
8990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8991 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8992 no_cache=0
8993 # Check whether --enable-dragimage or --disable-dragimage was given.
8994 if test "${enable_dragimage+set}" = set; then
8995 enableval="$enable_dragimage"
8996
8997 if test "$enableval" = yes; then
8998 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8999 else
9000 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9001 fi
9002
9003 else
9004
9005 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9006 if test "x$LINE" != x ; then
9007 eval "DEFAULT_$LINE"
9008 else
9009 no_cache=1
9010 fi
9011
9012 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9013
9014 fi;
9015
9016 eval "$ac_cv_use_dragimage"
9017 if test "$no_cache" != 1; then
9018 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9019 fi
9020
9021 if test "$wxUSE_DRAGIMAGE" = yes; then
9022 echo "$as_me:$LINENO: result: yes" >&5
9023 echo "${ECHO_T}yes" >&6
9024 else
9025 echo "$as_me:$LINENO: result: no" >&5
9026 echo "${ECHO_T}no" >&6
9027 fi
9028
9029
9030 enablestring=
9031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9033 no_cache=0
9034 # Check whether --enable-accessibility or --disable-accessibility was given.
9035 if test "${enable_accessibility+set}" = set; then
9036 enableval="$enable_accessibility"
9037
9038 if test "$enableval" = yes; then
9039 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9040 else
9041 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9042 fi
9043
9044 else
9045
9046 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9047 if test "x$LINE" != x ; then
9048 eval "DEFAULT_$LINE"
9049 else
9050 no_cache=1
9051 fi
9052
9053 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9054
9055 fi;
9056
9057 eval "$ac_cv_use_accessibility"
9058 if test "$no_cache" != 1; then
9059 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9060 fi
9061
9062 if test "$wxUSE_ACCESSIBILITY" = yes; then
9063 echo "$as_me:$LINENO: result: yes" >&5
9064 echo "${ECHO_T}yes" >&6
9065 else
9066 echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6
9068 fi
9069
9070
9071
9072
9073 enablestring=
9074 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9076 no_cache=0
9077 # Check whether --enable-palette or --disable-palette was given.
9078 if test "${enable_palette+set}" = set; then
9079 enableval="$enable_palette"
9080
9081 if test "$enableval" = yes; then
9082 ac_cv_use_palette='wxUSE_PALETTE=yes'
9083 else
9084 ac_cv_use_palette='wxUSE_PALETTE=no'
9085 fi
9086
9087 else
9088
9089 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9090 if test "x$LINE" != x ; then
9091 eval "DEFAULT_$LINE"
9092 else
9093 no_cache=1
9094 fi
9095
9096 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9097
9098 fi;
9099
9100 eval "$ac_cv_use_palette"
9101 if test "$no_cache" != 1; then
9102 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9103 fi
9104
9105 if test "$wxUSE_PALETTE" = yes; then
9106 echo "$as_me:$LINENO: result: yes" >&5
9107 echo "${ECHO_T}yes" >&6
9108 else
9109 echo "$as_me:$LINENO: result: no" >&5
9110 echo "${ECHO_T}no" >&6
9111 fi
9112
9113
9114 enablestring=
9115 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9117 no_cache=0
9118 # Check whether --enable-image or --disable-image was given.
9119 if test "${enable_image+set}" = set; then
9120 enableval="$enable_image"
9121
9122 if test "$enableval" = yes; then
9123 ac_cv_use_image='wxUSE_IMAGE=yes'
9124 else
9125 ac_cv_use_image='wxUSE_IMAGE=no'
9126 fi
9127
9128 else
9129
9130 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9131 if test "x$LINE" != x ; then
9132 eval "DEFAULT_$LINE"
9133 else
9134 no_cache=1
9135 fi
9136
9137 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9138
9139 fi;
9140
9141 eval "$ac_cv_use_image"
9142 if test "$no_cache" != 1; then
9143 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9144 fi
9145
9146 if test "$wxUSE_IMAGE" = yes; then
9147 echo "$as_me:$LINENO: result: yes" >&5
9148 echo "${ECHO_T}yes" >&6
9149 else
9150 echo "$as_me:$LINENO: result: no" >&5
9151 echo "${ECHO_T}no" >&6
9152 fi
9153
9154
9155 enablestring=
9156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9158 no_cache=0
9159 # Check whether --enable-gif or --disable-gif was given.
9160 if test "${enable_gif+set}" = set; then
9161 enableval="$enable_gif"
9162
9163 if test "$enableval" = yes; then
9164 ac_cv_use_gif='wxUSE_GIF=yes'
9165 else
9166 ac_cv_use_gif='wxUSE_GIF=no'
9167 fi
9168
9169 else
9170
9171 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9172 if test "x$LINE" != x ; then
9173 eval "DEFAULT_$LINE"
9174 else
9175 no_cache=1
9176 fi
9177
9178 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9179
9180 fi;
9181
9182 eval "$ac_cv_use_gif"
9183 if test "$no_cache" != 1; then
9184 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9185 fi
9186
9187 if test "$wxUSE_GIF" = yes; then
9188 echo "$as_me:$LINENO: result: yes" >&5
9189 echo "${ECHO_T}yes" >&6
9190 else
9191 echo "$as_me:$LINENO: result: no" >&5
9192 echo "${ECHO_T}no" >&6
9193 fi
9194
9195
9196 enablestring=
9197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9199 no_cache=0
9200 # Check whether --enable-pcx or --disable-pcx was given.
9201 if test "${enable_pcx+set}" = set; then
9202 enableval="$enable_pcx"
9203
9204 if test "$enableval" = yes; then
9205 ac_cv_use_pcx='wxUSE_PCX=yes'
9206 else
9207 ac_cv_use_pcx='wxUSE_PCX=no'
9208 fi
9209
9210 else
9211
9212 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9213 if test "x$LINE" != x ; then
9214 eval "DEFAULT_$LINE"
9215 else
9216 no_cache=1
9217 fi
9218
9219 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9220
9221 fi;
9222
9223 eval "$ac_cv_use_pcx"
9224 if test "$no_cache" != 1; then
9225 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9226 fi
9227
9228 if test "$wxUSE_PCX" = yes; then
9229 echo "$as_me:$LINENO: result: yes" >&5
9230 echo "${ECHO_T}yes" >&6
9231 else
9232 echo "$as_me:$LINENO: result: no" >&5
9233 echo "${ECHO_T}no" >&6
9234 fi
9235
9236
9237 enablestring=
9238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9240 no_cache=0
9241 # Check whether --enable-iff or --disable-iff was given.
9242 if test "${enable_iff+set}" = set; then
9243 enableval="$enable_iff"
9244
9245 if test "$enableval" = yes; then
9246 ac_cv_use_iff='wxUSE_IFF=yes'
9247 else
9248 ac_cv_use_iff='wxUSE_IFF=no'
9249 fi
9250
9251 else
9252
9253 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9254 if test "x$LINE" != x ; then
9255 eval "DEFAULT_$LINE"
9256 else
9257 no_cache=1
9258 fi
9259
9260 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9261
9262 fi;
9263
9264 eval "$ac_cv_use_iff"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9267 fi
9268
9269 if test "$wxUSE_IFF" = yes; then
9270 echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6
9272 else
9273 echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6
9275 fi
9276
9277
9278 enablestring=
9279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9281 no_cache=0
9282 # Check whether --enable-pnm or --disable-pnm was given.
9283 if test "${enable_pnm+set}" = set; then
9284 enableval="$enable_pnm"
9285
9286 if test "$enableval" = yes; then
9287 ac_cv_use_pnm='wxUSE_PNM=yes'
9288 else
9289 ac_cv_use_pnm='wxUSE_PNM=no'
9290 fi
9291
9292 else
9293
9294 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9295 if test "x$LINE" != x ; then
9296 eval "DEFAULT_$LINE"
9297 else
9298 no_cache=1
9299 fi
9300
9301 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9302
9303 fi;
9304
9305 eval "$ac_cv_use_pnm"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9308 fi
9309
9310 if test "$wxUSE_PNM" = yes; then
9311 echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6
9313 else
9314 echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6
9316 fi
9317
9318
9319 enablestring=
9320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9322 no_cache=0
9323 # Check whether --enable-xpm or --disable-xpm was given.
9324 if test "${enable_xpm+set}" = set; then
9325 enableval="$enable_xpm"
9326
9327 if test "$enableval" = yes; then
9328 ac_cv_use_xpm='wxUSE_XPM=yes'
9329 else
9330 ac_cv_use_xpm='wxUSE_XPM=no'
9331 fi
9332
9333 else
9334
9335 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9336 if test "x$LINE" != x ; then
9337 eval "DEFAULT_$LINE"
9338 else
9339 no_cache=1
9340 fi
9341
9342 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9343
9344 fi;
9345
9346 eval "$ac_cv_use_xpm"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9349 fi
9350
9351 if test "$wxUSE_XPM" = yes; then
9352 echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6
9354 else
9355 echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6
9357 fi
9358
9359
9360 enablestring=
9361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9363 no_cache=0
9364 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9365 if test "${enable_ico_cur+set}" = set; then
9366 enableval="$enable_ico_cur"
9367
9368 if test "$enableval" = yes; then
9369 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9370 else
9371 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9372 fi
9373
9374 else
9375
9376 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9377 if test "x$LINE" != x ; then
9378 eval "DEFAULT_$LINE"
9379 else
9380 no_cache=1
9381 fi
9382
9383 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9384
9385 fi;
9386
9387 eval "$ac_cv_use_ico_cur"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9390 fi
9391
9392 if test "$wxUSE_ICO_CUR" = yes; then
9393 echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6
9395 else
9396 echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6
9398 fi
9399
9400
9401 fi
9402
9403 case "${host}" in
9404 *-pc-os2_emx | *-pc-os2-emx )
9405 PATH_IFS=';'
9406 LEX_STEM="lexyy"
9407 ;;
9408 *)
9409 PATH_IFS=':'
9410 LEX_STEM="lex.yy"
9411 ;;
9412 esac
9413
9414
9415
9416 echo "saving argument cache $wx_arg_cache_file"
9417 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9418
9419
9420
9421 echo "$as_me:$LINENO: checking for toolkit" >&5
9422 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9423
9424 # In Wine, we need to default to MSW, not GTK or MOTIF
9425 if test "$wxUSE_WINE" = "yes"; then
9426 DEFAULT_DEFAULT_wxUSE_GTK=0
9427 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9428 DEFAULT_DEFAULT_wxUSE_MSW=1
9429 fi
9430
9431 if test "$wxUSE_GUI" = "yes"; then
9432
9433 if test "$USE_BEOS" = 1; then
9434 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9435 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9436 { (exit 1); exit 1; }; }
9437 fi
9438
9439 if test "$TOOLKIT_GIVEN" = 1; then
9440 for toolkit in `echo $ALL_TOOLKITS`; do
9441 var=wxUSE_$toolkit
9442 eval "value=\$${var}"
9443 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9444 done
9445 else
9446 for toolkit in `echo $ALL_TOOLKITS`; do
9447 if test "$has_toolkit_in_cache" != 1; then
9448 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9449 else
9450 var=DEFAULT_wxUSE_$toolkit
9451 fi
9452 eval "wxUSE_$toolkit=\$${var}"
9453 done
9454 fi
9455
9456 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9457 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9458 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9459
9460 case "${host}" in
9461 *-pc-os2_emx | *-pc-os2-emx )
9462 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9463 esac
9464
9465 case "$NUM_TOOLKITS" in
9466 1)
9467 ;;
9468 0)
9469 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9470 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9471 { (exit 1); exit 1; }; }
9472 ;;
9473 *)
9474 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9475 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9476 { (exit 1); exit 1; }; }
9477 esac
9478
9479 for toolkit in `echo $ALL_TOOLKITS`; do
9480 var=wxUSE_$toolkit
9481 eval "value=\$${var}"
9482 if test "x$value" != x; then
9483 cache_var=CACHE_$toolkit
9484 eval "cache=\$${cache_var}"
9485 if test "$cache" = 1; then
9486 echo "$var=$value" >> ${wx_arg_cache_file}
9487 fi
9488 if test "$value" = 1; then
9489 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9490 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9491 echo "${ECHO_T}$toolkit_echo" >&6
9492 fi
9493 fi
9494 done
9495 else
9496 if test "x$host_alias" != "x"; then
9497 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9498 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9499 else
9500 echo "$as_me:$LINENO: result: base only" >&5
9501 echo "${ECHO_T}base only" >&6
9502 fi
9503 fi
9504
9505 wants_win32=0
9506 doesnt_want_win32=0
9507 case "${host}" in
9508 *-*-cygwin*)
9509 if test "$wxUSE_MSW" = 1 ; then
9510 wants_win32=1
9511 else
9512 doesnt_want_win32=1
9513 fi
9514 ;;
9515 *-*-mingw*)
9516 wants_win32=1
9517 ;;
9518 esac
9519
9520 if test "$wxUSE_WINE" = "yes"; then
9521 wants_win32=1
9522 CC=winegcc
9523 CXX=wineg++
9524 RESCOMP=wrc
9525 fi
9526
9527 if test "$wants_win32" = 1 ; then
9528 USE_UNIX=0
9529 USE_WIN32=1
9530 cat >>confdefs.h <<\_ACEOF
9531 #define __WIN32__ 1
9532 _ACEOF
9533
9534 cat >>confdefs.h <<\_ACEOF
9535 #define __WIN95__ 1
9536 _ACEOF
9537
9538 cat >>confdefs.h <<\_ACEOF
9539 #define __WINDOWS__ 1
9540 _ACEOF
9541
9542 cat >>confdefs.h <<\_ACEOF
9543 #define __GNUWIN32__ 1
9544 _ACEOF
9545
9546 cat >>confdefs.h <<\_ACEOF
9547 #define STRICT 1
9548 _ACEOF
9549
9550 cat >>confdefs.h <<\_ACEOF
9551 #define WINVER 0x0400
9552 _ACEOF
9553
9554 fi
9555 if test "$doesnt_want_win32" = 1 ; then
9556 USE_UNIX=1
9557 USE_WIN32=0
9558 fi
9559
9560 if test "$USE_UNIX" = 1 ; then
9561 wxUSE_UNIX=yes
9562 cat >>confdefs.h <<\_ACEOF
9563 #define __UNIX__ 1
9564 _ACEOF
9565
9566 fi
9567
9568
9569 cat >confcache <<\_ACEOF
9570 # This file is a shell script that caches the results of configure
9571 # tests run on this system so they can be shared between configure
9572 # scripts and configure runs, see configure's option --config-cache.
9573 # It is not useful on other systems. If it contains results you don't
9574 # want to keep, you may remove or edit it.
9575 #
9576 # config.status only pays attention to the cache file if you give it
9577 # the --recheck option to rerun configure.
9578 #
9579 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9580 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9581 # following values.
9582
9583 _ACEOF
9584
9585 # The following way of writing the cache mishandles newlines in values,
9586 # but we know of no workaround that is simple, portable, and efficient.
9587 # So, don't put newlines in cache variables' values.
9588 # Ultrix sh set writes to stderr and can't be redirected directly,
9589 # and sets the high bit in the cache file unless we assign to the vars.
9590 {
9591 (set) 2>&1 |
9592 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9593 *ac_space=\ *)
9594 # `set' does not quote correctly, so add quotes (double-quote
9595 # substitution turns \\\\ into \\, and sed turns \\ into \).
9596 sed -n \
9597 "s/'/'\\\\''/g;
9598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9599 ;;
9600 *)
9601 # `set' quotes correctly as required by POSIX, so do not add quotes.
9602 sed -n \
9603 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9604 ;;
9605 esac;
9606 } |
9607 sed '
9608 t clear
9609 : clear
9610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9611 t end
9612 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9613 : end' >>confcache
9614 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9615 if test -w $cache_file; then
9616 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9617 cat confcache >$cache_file
9618 else
9619 echo "not updating unwritable cache $cache_file"
9620 fi
9621 fi
9622 rm -f confcache
9623
9624 if test "$build" != "$host" ; then
9625 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9626 CC=$host_alias-gcc
9627 CXX=$host_alias-c++
9628 AR=$host_alias-ar
9629 RANLIB=$host_alias-ranlib
9630 DLLTOOL=$host_alias-dlltool
9631 RESCOMP=$host_alias-windres
9632 LD=$host_alias-ld
9633 NM=$host_alias-nm
9634 STRIP=$host_alias-strip
9635 else
9636 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9637 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9638 { (exit 1); exit 1; }; }
9639 fi
9640 fi
9641
9642 CFLAGS=${CFLAGS:=}
9643 ac_ext=c
9644 ac_cpp='$CPP $CPPFLAGS'
9645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9648 if test -n "$ac_tool_prefix"; then
9649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9650 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9651 echo "$as_me:$LINENO: checking for $ac_word" >&5
9652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9653 if test "${ac_cv_prog_CC+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9655 else
9656 if test -n "$CC"; then
9657 ac_cv_prog_CC="$CC" # Let the user override the test.
9658 else
9659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9660 for as_dir in $PATH
9661 do
9662 IFS=$as_save_IFS
9663 test -z "$as_dir" && as_dir=.
9664 for ac_exec_ext in '' $ac_executable_extensions; do
9665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9666 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9668 break 2
9669 fi
9670 done
9671 done
9672
9673 fi
9674 fi
9675 CC=$ac_cv_prog_CC
9676 if test -n "$CC"; then
9677 echo "$as_me:$LINENO: result: $CC" >&5
9678 echo "${ECHO_T}$CC" >&6
9679 else
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9682 fi
9683
9684 fi
9685 if test -z "$ac_cv_prog_CC"; then
9686 ac_ct_CC=$CC
9687 # Extract the first word of "gcc", so it can be a program name with args.
9688 set dummy gcc; ac_word=$2
9689 echo "$as_me:$LINENO: checking for $ac_word" >&5
9690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9693 else
9694 if test -n "$ac_ct_CC"; then
9695 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9696 else
9697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9698 for as_dir in $PATH
9699 do
9700 IFS=$as_save_IFS
9701 test -z "$as_dir" && as_dir=.
9702 for ac_exec_ext in '' $ac_executable_extensions; do
9703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9704 ac_cv_prog_ac_ct_CC="gcc"
9705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9706 break 2
9707 fi
9708 done
9709 done
9710
9711 fi
9712 fi
9713 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9714 if test -n "$ac_ct_CC"; then
9715 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9716 echo "${ECHO_T}$ac_ct_CC" >&6
9717 else
9718 echo "$as_me:$LINENO: result: no" >&5
9719 echo "${ECHO_T}no" >&6
9720 fi
9721
9722 CC=$ac_ct_CC
9723 else
9724 CC="$ac_cv_prog_CC"
9725 fi
9726
9727 if test -z "$CC"; then
9728 if test -n "$ac_tool_prefix"; then
9729 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9730 set dummy ${ac_tool_prefix}cc; ac_word=$2
9731 echo "$as_me:$LINENO: checking for $ac_word" >&5
9732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9733 if test "${ac_cv_prog_CC+set}" = set; then
9734 echo $ECHO_N "(cached) $ECHO_C" >&6
9735 else
9736 if test -n "$CC"; then
9737 ac_cv_prog_CC="$CC" # Let the user override the test.
9738 else
9739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9740 for as_dir in $PATH
9741 do
9742 IFS=$as_save_IFS
9743 test -z "$as_dir" && as_dir=.
9744 for ac_exec_ext in '' $ac_executable_extensions; do
9745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9746 ac_cv_prog_CC="${ac_tool_prefix}cc"
9747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9748 break 2
9749 fi
9750 done
9751 done
9752
9753 fi
9754 fi
9755 CC=$ac_cv_prog_CC
9756 if test -n "$CC"; then
9757 echo "$as_me:$LINENO: result: $CC" >&5
9758 echo "${ECHO_T}$CC" >&6
9759 else
9760 echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6
9762 fi
9763
9764 fi
9765 if test -z "$ac_cv_prog_CC"; then
9766 ac_ct_CC=$CC
9767 # Extract the first word of "cc", so it can be a program name with args.
9768 set dummy cc; ac_word=$2
9769 echo "$as_me:$LINENO: checking for $ac_word" >&5
9770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9771 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9773 else
9774 if test -n "$ac_ct_CC"; then
9775 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9776 else
9777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9778 for as_dir in $PATH
9779 do
9780 IFS=$as_save_IFS
9781 test -z "$as_dir" && as_dir=.
9782 for ac_exec_ext in '' $ac_executable_extensions; do
9783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9784 ac_cv_prog_ac_ct_CC="cc"
9785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 break 2
9787 fi
9788 done
9789 done
9790
9791 fi
9792 fi
9793 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9794 if test -n "$ac_ct_CC"; then
9795 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9796 echo "${ECHO_T}$ac_ct_CC" >&6
9797 else
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9800 fi
9801
9802 CC=$ac_ct_CC
9803 else
9804 CC="$ac_cv_prog_CC"
9805 fi
9806
9807 fi
9808 if test -z "$CC"; then
9809 # Extract the first word of "cc", so it can be a program name with args.
9810 set dummy cc; ac_word=$2
9811 echo "$as_me:$LINENO: checking for $ac_word" >&5
9812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9813 if test "${ac_cv_prog_CC+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9815 else
9816 if test -n "$CC"; then
9817 ac_cv_prog_CC="$CC" # Let the user override the test.
9818 else
9819 ac_prog_rejected=no
9820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9821 for as_dir in $PATH
9822 do
9823 IFS=$as_save_IFS
9824 test -z "$as_dir" && as_dir=.
9825 for ac_exec_ext in '' $ac_executable_extensions; do
9826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9827 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9828 ac_prog_rejected=yes
9829 continue
9830 fi
9831 ac_cv_prog_CC="cc"
9832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9833 break 2
9834 fi
9835 done
9836 done
9837
9838 if test $ac_prog_rejected = yes; then
9839 # We found a bogon in the path, so make sure we never use it.
9840 set dummy $ac_cv_prog_CC
9841 shift
9842 if test $# != 0; then
9843 # We chose a different compiler from the bogus one.
9844 # However, it has the same basename, so the bogon will be chosen
9845 # first if we set CC to just the basename; use the full file name.
9846 shift
9847 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9848 fi
9849 fi
9850 fi
9851 fi
9852 CC=$ac_cv_prog_CC
9853 if test -n "$CC"; then
9854 echo "$as_me:$LINENO: result: $CC" >&5
9855 echo "${ECHO_T}$CC" >&6
9856 else
9857 echo "$as_me:$LINENO: result: no" >&5
9858 echo "${ECHO_T}no" >&6
9859 fi
9860
9861 fi
9862 if test -z "$CC"; then
9863 if test -n "$ac_tool_prefix"; then
9864 for ac_prog in cl
9865 do
9866 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9867 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9868 echo "$as_me:$LINENO: checking for $ac_word" >&5
9869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9870 if test "${ac_cv_prog_CC+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 else
9873 if test -n "$CC"; then
9874 ac_cv_prog_CC="$CC" # Let the user override the test.
9875 else
9876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9877 for as_dir in $PATH
9878 do
9879 IFS=$as_save_IFS
9880 test -z "$as_dir" && as_dir=.
9881 for ac_exec_ext in '' $ac_executable_extensions; do
9882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9883 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9885 break 2
9886 fi
9887 done
9888 done
9889
9890 fi
9891 fi
9892 CC=$ac_cv_prog_CC
9893 if test -n "$CC"; then
9894 echo "$as_me:$LINENO: result: $CC" >&5
9895 echo "${ECHO_T}$CC" >&6
9896 else
9897 echo "$as_me:$LINENO: result: no" >&5
9898 echo "${ECHO_T}no" >&6
9899 fi
9900
9901 test -n "$CC" && break
9902 done
9903 fi
9904 if test -z "$CC"; then
9905 ac_ct_CC=$CC
9906 for ac_prog in cl
9907 do
9908 # Extract the first word of "$ac_prog", so it can be a program name with args.
9909 set dummy $ac_prog; ac_word=$2
9910 echo "$as_me:$LINENO: checking for $ac_word" >&5
9911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9913 echo $ECHO_N "(cached) $ECHO_C" >&6
9914 else
9915 if test -n "$ac_ct_CC"; then
9916 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9917 else
9918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9919 for as_dir in $PATH
9920 do
9921 IFS=$as_save_IFS
9922 test -z "$as_dir" && as_dir=.
9923 for ac_exec_ext in '' $ac_executable_extensions; do
9924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9925 ac_cv_prog_ac_ct_CC="$ac_prog"
9926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9927 break 2
9928 fi
9929 done
9930 done
9931
9932 fi
9933 fi
9934 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9935 if test -n "$ac_ct_CC"; then
9936 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9937 echo "${ECHO_T}$ac_ct_CC" >&6
9938 else
9939 echo "$as_me:$LINENO: result: no" >&5
9940 echo "${ECHO_T}no" >&6
9941 fi
9942
9943 test -n "$ac_ct_CC" && break
9944 done
9945
9946 CC=$ac_ct_CC
9947 fi
9948
9949 fi
9950
9951
9952 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9953 See \`config.log' for more details." >&5
9954 echo "$as_me: error: no acceptable C compiler found in \$PATH
9955 See \`config.log' for more details." >&2;}
9956 { (exit 1); exit 1; }; }
9957
9958 # Provide some information about the compiler.
9959 echo "$as_me:$LINENO:" \
9960 "checking for C compiler version" >&5
9961 ac_compiler=`set X $ac_compile; echo $2`
9962 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9963 (eval $ac_compiler --version </dev/null >&5) 2>&5
9964 ac_status=$?
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }
9967 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9968 (eval $ac_compiler -v </dev/null >&5) 2>&5
9969 ac_status=$?
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }
9972 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9973 (eval $ac_compiler -V </dev/null >&5) 2>&5
9974 ac_status=$?
9975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 (exit $ac_status); }
9977
9978 cat >conftest.$ac_ext <<_ACEOF
9979 #line $LINENO "configure"
9980 /* confdefs.h. */
9981 _ACEOF
9982 cat confdefs.h >>conftest.$ac_ext
9983 cat >>conftest.$ac_ext <<_ACEOF
9984 /* end confdefs.h. */
9985
9986 int
9987 main ()
9988 {
9989
9990 ;
9991 return 0;
9992 }
9993 _ACEOF
9994 ac_clean_files_save=$ac_clean_files
9995 ac_clean_files="$ac_clean_files a.out a.exe b.out"
9996 # Try to create an executable without -o first, disregard a.out.
9997 # It will help us diagnose broken compilers, and finding out an intuition
9998 # of exeext.
9999 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10000 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10001 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10002 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10003 (eval $ac_link_default) 2>&5
10004 ac_status=$?
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; then
10007 # Find the output, starting from the most likely. This scheme is
10008 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10009 # resort.
10010
10011 # Be careful to initialize this variable, since it used to be cached.
10012 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10013 ac_cv_exeext=
10014 # b.out is created by i960 compilers.
10015 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10016 do
10017 test -f "$ac_file" || continue
10018 case $ac_file in
10019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10020 ;;
10021 conftest.$ac_ext )
10022 # This is the source file.
10023 ;;
10024 [ab].out )
10025 # We found the default executable, but exeext='' is most
10026 # certainly right.
10027 break;;
10028 *.* )
10029 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10030 # FIXME: I believe we export ac_cv_exeext for Libtool,
10031 # but it would be cool to find out if it's true. Does anybody
10032 # maintain Libtool? --akim.
10033 export ac_cv_exeext
10034 break;;
10035 * )
10036 break;;
10037 esac
10038 done
10039 else
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.$ac_ext >&5
10042
10043 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10044 See \`config.log' for more details." >&5
10045 echo "$as_me: error: C compiler cannot create executables
10046 See \`config.log' for more details." >&2;}
10047 { (exit 77); exit 77; }; }
10048 fi
10049
10050 ac_exeext=$ac_cv_exeext
10051 echo "$as_me:$LINENO: result: $ac_file" >&5
10052 echo "${ECHO_T}$ac_file" >&6
10053
10054 # Check the compiler produces executables we can run. If not, either
10055 # the compiler is broken, or we cross compile.
10056 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10057 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10058 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10059 # If not cross compiling, check that we can run a simple program.
10060 if test "$cross_compiling" != yes; then
10061 if { ac_try='./$ac_file'
10062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10063 (eval $ac_try) 2>&5
10064 ac_status=$?
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; }; then
10067 cross_compiling=no
10068 else
10069 if test "$cross_compiling" = maybe; then
10070 cross_compiling=yes
10071 else
10072 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10073 If you meant to cross compile, use \`--host'.
10074 See \`config.log' for more details." >&5
10075 echo "$as_me: error: cannot run C compiled programs.
10076 If you meant to cross compile, use \`--host'.
10077 See \`config.log' for more details." >&2;}
10078 { (exit 1); exit 1; }; }
10079 fi
10080 fi
10081 fi
10082 echo "$as_me:$LINENO: result: yes" >&5
10083 echo "${ECHO_T}yes" >&6
10084
10085 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10086 ac_clean_files=$ac_clean_files_save
10087 # Check the compiler produces executables we can run. If not, either
10088 # the compiler is broken, or we cross compile.
10089 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10090 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10091 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10092 echo "${ECHO_T}$cross_compiling" >&6
10093
10094 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10095 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10097 (eval $ac_link) 2>&5
10098 ac_status=$?
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; then
10101 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10102 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10103 # work properly (i.e., refer to `conftest.exe'), while it won't with
10104 # `rm'.
10105 for ac_file in conftest.exe conftest conftest.*; do
10106 test -f "$ac_file" || continue
10107 case $ac_file in
10108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10109 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10110 export ac_cv_exeext
10111 break;;
10112 * ) break;;
10113 esac
10114 done
10115 else
10116 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10117 See \`config.log' for more details." >&5
10118 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10119 See \`config.log' for more details." >&2;}
10120 { (exit 1); exit 1; }; }
10121 fi
10122
10123 rm -f conftest$ac_cv_exeext
10124 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10125 echo "${ECHO_T}$ac_cv_exeext" >&6
10126
10127 rm -f conftest.$ac_ext
10128 EXEEXT=$ac_cv_exeext
10129 ac_exeext=$EXEEXT
10130 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10131 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10132 if test "${ac_cv_objext+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 else
10135 cat >conftest.$ac_ext <<_ACEOF
10136 #line $LINENO "configure"
10137 /* confdefs.h. */
10138 _ACEOF
10139 cat confdefs.h >>conftest.$ac_ext
10140 cat >>conftest.$ac_ext <<_ACEOF
10141 /* end confdefs.h. */
10142
10143 int
10144 main ()
10145 {
10146
10147 ;
10148 return 0;
10149 }
10150 _ACEOF
10151 rm -f conftest.o conftest.obj
10152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10153 (eval $ac_compile) 2>&5
10154 ac_status=$?
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); }; then
10157 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10158 case $ac_file in
10159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10160 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10161 break;;
10162 esac
10163 done
10164 else
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.$ac_ext >&5
10167
10168 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10169 See \`config.log' for more details." >&5
10170 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10171 See \`config.log' for more details." >&2;}
10172 { (exit 1); exit 1; }; }
10173 fi
10174
10175 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10176 fi
10177 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10178 echo "${ECHO_T}$ac_cv_objext" >&6
10179 OBJEXT=$ac_cv_objext
10180 ac_objext=$OBJEXT
10181 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10182 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10183 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10184 echo $ECHO_N "(cached) $ECHO_C" >&6
10185 else
10186 cat >conftest.$ac_ext <<_ACEOF
10187 #line $LINENO "configure"
10188 /* confdefs.h. */
10189 _ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10193
10194 int
10195 main ()
10196 {
10197 #ifndef __GNUC__
10198 choke me
10199 #endif
10200
10201 ;
10202 return 0;
10203 }
10204 _ACEOF
10205 rm -f conftest.$ac_objext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10207 (eval $ac_compile) 2>&5
10208 ac_status=$?
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); } &&
10211 { ac_try='test -s conftest.$ac_objext'
10212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10213 (eval $ac_try) 2>&5
10214 ac_status=$?
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 (exit $ac_status); }; }; then
10217 ac_compiler_gnu=yes
10218 else
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.$ac_ext >&5
10221
10222 ac_compiler_gnu=no
10223 fi
10224 rm -f conftest.$ac_objext conftest.$ac_ext
10225 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10226
10227 fi
10228 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10229 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10230 GCC=`test $ac_compiler_gnu = yes && echo yes`
10231 ac_test_CFLAGS=${CFLAGS+set}
10232 ac_save_CFLAGS=$CFLAGS
10233 CFLAGS="-g"
10234 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10235 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10236 if test "${ac_cv_prog_cc_g+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10238 else
10239 cat >conftest.$ac_ext <<_ACEOF
10240 #line $LINENO "configure"
10241 /* confdefs.h. */
10242 _ACEOF
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246
10247 int
10248 main ()
10249 {
10250
10251 ;
10252 return 0;
10253 }
10254 _ACEOF
10255 rm -f conftest.$ac_objext
10256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10257 (eval $ac_compile) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); } &&
10261 { ac_try='test -s conftest.$ac_objext'
10262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10263 (eval $ac_try) 2>&5
10264 ac_status=$?
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }; }; then
10267 ac_cv_prog_cc_g=yes
10268 else
10269 echo "$as_me: failed program was:" >&5
10270 sed 's/^/| /' conftest.$ac_ext >&5
10271
10272 ac_cv_prog_cc_g=no
10273 fi
10274 rm -f conftest.$ac_objext conftest.$ac_ext
10275 fi
10276 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10277 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10278 if test "$ac_test_CFLAGS" = set; then
10279 CFLAGS=$ac_save_CFLAGS
10280 elif test $ac_cv_prog_cc_g = yes; then
10281 if test "$GCC" = yes; then
10282 CFLAGS="-g -O2"
10283 else
10284 CFLAGS="-g"
10285 fi
10286 else
10287 if test "$GCC" = yes; then
10288 CFLAGS="-O2"
10289 else
10290 CFLAGS=
10291 fi
10292 fi
10293 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10294 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10295 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10297 else
10298 ac_cv_prog_cc_stdc=no
10299 ac_save_CC=$CC
10300 cat >conftest.$ac_ext <<_ACEOF
10301 #line $LINENO "configure"
10302 /* confdefs.h. */
10303 _ACEOF
10304 cat confdefs.h >>conftest.$ac_ext
10305 cat >>conftest.$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307 #include <stdarg.h>
10308 #include <stdio.h>
10309 #include <sys/types.h>
10310 #include <sys/stat.h>
10311 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10312 struct buf { int x; };
10313 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10314 static char *e (p, i)
10315 char **p;
10316 int i;
10317 {
10318 return p[i];
10319 }
10320 static char *f (char * (*g) (char **, int), char **p, ...)
10321 {
10322 char *s;
10323 va_list v;
10324 va_start (v,p);
10325 s = g (p, va_arg (v,int));
10326 va_end (v);
10327 return s;
10328 }
10329 int test (int i, double x);
10330 struct s1 {int (*f) (int a);};
10331 struct s2 {int (*f) (double a);};
10332 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10333 int argc;
10334 char **argv;
10335 int
10336 main ()
10337 {
10338 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10339 ;
10340 return 0;
10341 }
10342 _ACEOF
10343 # Don't try gcc -ansi; that turns off useful extensions and
10344 # breaks some systems' header files.
10345 # AIX -qlanglvl=ansi
10346 # Ultrix and OSF/1 -std1
10347 # HP-UX 10.20 and later -Ae
10348 # HP-UX older versions -Aa -D_HPUX_SOURCE
10349 # SVR4 -Xc -D__EXTENSIONS__
10350 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10351 do
10352 CC="$ac_save_CC $ac_arg"
10353 rm -f conftest.$ac_objext
10354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10355 (eval $ac_compile) 2>&5
10356 ac_status=$?
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); } &&
10359 { ac_try='test -s conftest.$ac_objext'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10362 ac_status=$?
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; }; then
10365 ac_cv_prog_cc_stdc=$ac_arg
10366 break
10367 else
10368 echo "$as_me: failed program was:" >&5
10369 sed 's/^/| /' conftest.$ac_ext >&5
10370
10371 fi
10372 rm -f conftest.$ac_objext
10373 done
10374 rm -f conftest.$ac_ext conftest.$ac_objext
10375 CC=$ac_save_CC
10376
10377 fi
10378
10379 case "x$ac_cv_prog_cc_stdc" in
10380 x|xno)
10381 echo "$as_me:$LINENO: result: none needed" >&5
10382 echo "${ECHO_T}none needed" >&6 ;;
10383 *)
10384 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10385 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10386 CC="$CC $ac_cv_prog_cc_stdc" ;;
10387 esac
10388
10389 # Some people use a C++ compiler to compile C. Since we use `exit',
10390 # in C++ we need to declare it. In case someone uses the same compiler
10391 # for both compiling C and C++ we need to have the C++ compiler decide
10392 # the declaration of exit, since it's the most demanding environment.
10393 cat >conftest.$ac_ext <<_ACEOF
10394 #ifndef __cplusplus
10395 choke me
10396 #endif
10397 _ACEOF
10398 rm -f conftest.$ac_objext
10399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10400 (eval $ac_compile) 2>&5
10401 ac_status=$?
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } &&
10404 { ac_try='test -s conftest.$ac_objext'
10405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406 (eval $ac_try) 2>&5
10407 ac_status=$?
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; }; then
10410 for ac_declaration in \
10411 ''\
10412 '#include <stdlib.h>' \
10413 'extern "C" void std::exit (int) throw (); using std::exit;' \
10414 'extern "C" void std::exit (int); using std::exit;' \
10415 'extern "C" void exit (int) throw ();' \
10416 'extern "C" void exit (int);' \
10417 'void exit (int);'
10418 do
10419 cat >conftest.$ac_ext <<_ACEOF
10420 #line $LINENO "configure"
10421 /* confdefs.h. */
10422 _ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 #include <stdlib.h>
10427 $ac_declaration
10428 int
10429 main ()
10430 {
10431 exit (42);
10432 ;
10433 return 0;
10434 }
10435 _ACEOF
10436 rm -f conftest.$ac_objext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10438 (eval $ac_compile) 2>&5
10439 ac_status=$?
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); } &&
10442 { ac_try='test -s conftest.$ac_objext'
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444 (eval $ac_try) 2>&5
10445 ac_status=$?
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }; }; then
10448 :
10449 else
10450 echo "$as_me: failed program was:" >&5
10451 sed 's/^/| /' conftest.$ac_ext >&5
10452
10453 continue
10454 fi
10455 rm -f conftest.$ac_objext conftest.$ac_ext
10456 cat >conftest.$ac_ext <<_ACEOF
10457 #line $LINENO "configure"
10458 /* confdefs.h. */
10459 _ACEOF
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 $ac_declaration
10464 int
10465 main ()
10466 {
10467 exit (42);
10468 ;
10469 return 0;
10470 }
10471 _ACEOF
10472 rm -f conftest.$ac_objext
10473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10474 (eval $ac_compile) 2>&5
10475 ac_status=$?
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); } &&
10478 { ac_try='test -s conftest.$ac_objext'
10479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10480 (eval $ac_try) 2>&5
10481 ac_status=$?
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); }; }; then
10484 break
10485 else
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10488
10489 fi
10490 rm -f conftest.$ac_objext conftest.$ac_ext
10491 done
10492 rm -f conftest*
10493 if test -n "$ac_declaration"; then
10494 echo '#ifdef __cplusplus' >>confdefs.h
10495 echo $ac_declaration >>confdefs.h
10496 echo '#endif' >>confdefs.h
10497 fi
10498
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10502
10503 fi
10504 rm -f conftest.$ac_objext conftest.$ac_ext
10505 ac_ext=c
10506 ac_cpp='$CPP $CPPFLAGS'
10507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10510
10511
10512
10513 ac_ext=c
10514 ac_cpp='$CPP $CPPFLAGS'
10515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10518 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10519 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10520 # On Suns, sometimes $CPP names a directory.
10521 if test -n "$CPP" && test -d "$CPP"; then
10522 CPP=
10523 fi
10524 if test -z "$CPP"; then
10525 if test "${ac_cv_prog_CPP+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 else
10528 # Double quotes because CPP needs to be expanded
10529 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10530 do
10531 ac_preproc_ok=false
10532 for ac_c_preproc_warn_flag in '' yes
10533 do
10534 # Use a header file that comes with gcc, so configuring glibc
10535 # with a fresh cross-compiler works.
10536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10537 # <limits.h> exists even on freestanding compilers.
10538 # On the NeXT, cc -E runs the code through the compiler's parser,
10539 # not just through cpp. "Syntax error" is here to catch this case.
10540 cat >conftest.$ac_ext <<_ACEOF
10541 #line $LINENO "configure"
10542 /* confdefs.h. */
10543 _ACEOF
10544 cat confdefs.h >>conftest.$ac_ext
10545 cat >>conftest.$ac_ext <<_ACEOF
10546 /* end confdefs.h. */
10547 #ifdef __STDC__
10548 # include <limits.h>
10549 #else
10550 # include <assert.h>
10551 #endif
10552 Syntax error
10553 _ACEOF
10554 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10555 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10556 ac_status=$?
10557 grep -v '^ *+' conftest.er1 >conftest.err
10558 rm -f conftest.er1
10559 cat conftest.err >&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } >/dev/null; then
10562 if test -s conftest.err; then
10563 ac_cpp_err=$ac_c_preproc_warn_flag
10564 else
10565 ac_cpp_err=
10566 fi
10567 else
10568 ac_cpp_err=yes
10569 fi
10570 if test -z "$ac_cpp_err"; then
10571 :
10572 else
10573 echo "$as_me: failed program was:" >&5
10574 sed 's/^/| /' conftest.$ac_ext >&5
10575
10576 # Broken: fails on valid input.
10577 continue
10578 fi
10579 rm -f conftest.err conftest.$ac_ext
10580
10581 # OK, works on sane cases. Now check whether non-existent headers
10582 # can be detected and how.
10583 cat >conftest.$ac_ext <<_ACEOF
10584 #line $LINENO "configure"
10585 /* confdefs.h. */
10586 _ACEOF
10587 cat confdefs.h >>conftest.$ac_ext
10588 cat >>conftest.$ac_ext <<_ACEOF
10589 /* end confdefs.h. */
10590 #include <ac_nonexistent.h>
10591 _ACEOF
10592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10594 ac_status=$?
10595 grep -v '^ *+' conftest.er1 >conftest.err
10596 rm -f conftest.er1
10597 cat conftest.err >&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } >/dev/null; then
10600 if test -s conftest.err; then
10601 ac_cpp_err=$ac_c_preproc_warn_flag
10602 else
10603 ac_cpp_err=
10604 fi
10605 else
10606 ac_cpp_err=yes
10607 fi
10608 if test -z "$ac_cpp_err"; then
10609 # Broken: success on invalid input.
10610 continue
10611 else
10612 echo "$as_me: failed program was:" >&5
10613 sed 's/^/| /' conftest.$ac_ext >&5
10614
10615 # Passes both tests.
10616 ac_preproc_ok=:
10617 break
10618 fi
10619 rm -f conftest.err conftest.$ac_ext
10620
10621 done
10622 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10623 rm -f conftest.err conftest.$ac_ext
10624 if $ac_preproc_ok; then
10625 break
10626 fi
10627
10628 done
10629 ac_cv_prog_CPP=$CPP
10630
10631 fi
10632 CPP=$ac_cv_prog_CPP
10633 else
10634 ac_cv_prog_CPP=$CPP
10635 fi
10636 echo "$as_me:$LINENO: result: $CPP" >&5
10637 echo "${ECHO_T}$CPP" >&6
10638 ac_preproc_ok=false
10639 for ac_c_preproc_warn_flag in '' yes
10640 do
10641 # Use a header file that comes with gcc, so configuring glibc
10642 # with a fresh cross-compiler works.
10643 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10644 # <limits.h> exists even on freestanding compilers.
10645 # On the NeXT, cc -E runs the code through the compiler's parser,
10646 # not just through cpp. "Syntax error" is here to catch this case.
10647 cat >conftest.$ac_ext <<_ACEOF
10648 #line $LINENO "configure"
10649 /* confdefs.h. */
10650 _ACEOF
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10654 #ifdef __STDC__
10655 # include <limits.h>
10656 #else
10657 # include <assert.h>
10658 #endif
10659 Syntax error
10660 _ACEOF
10661 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10662 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10663 ac_status=$?
10664 grep -v '^ *+' conftest.er1 >conftest.err
10665 rm -f conftest.er1
10666 cat conftest.err >&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } >/dev/null; then
10669 if test -s conftest.err; then
10670 ac_cpp_err=$ac_c_preproc_warn_flag
10671 else
10672 ac_cpp_err=
10673 fi
10674 else
10675 ac_cpp_err=yes
10676 fi
10677 if test -z "$ac_cpp_err"; then
10678 :
10679 else
10680 echo "$as_me: failed program was:" >&5
10681 sed 's/^/| /' conftest.$ac_ext >&5
10682
10683 # Broken: fails on valid input.
10684 continue
10685 fi
10686 rm -f conftest.err conftest.$ac_ext
10687
10688 # OK, works on sane cases. Now check whether non-existent headers
10689 # can be detected and how.
10690 cat >conftest.$ac_ext <<_ACEOF
10691 #line $LINENO "configure"
10692 /* confdefs.h. */
10693 _ACEOF
10694 cat confdefs.h >>conftest.$ac_ext
10695 cat >>conftest.$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 #include <ac_nonexistent.h>
10698 _ACEOF
10699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10701 ac_status=$?
10702 grep -v '^ *+' conftest.er1 >conftest.err
10703 rm -f conftest.er1
10704 cat conftest.err >&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } >/dev/null; then
10707 if test -s conftest.err; then
10708 ac_cpp_err=$ac_c_preproc_warn_flag
10709 else
10710 ac_cpp_err=
10711 fi
10712 else
10713 ac_cpp_err=yes
10714 fi
10715 if test -z "$ac_cpp_err"; then
10716 # Broken: success on invalid input.
10717 continue
10718 else
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.$ac_ext >&5
10721
10722 # Passes both tests.
10723 ac_preproc_ok=:
10724 break
10725 fi
10726 rm -f conftest.err conftest.$ac_ext
10727
10728 done
10729 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10730 rm -f conftest.err conftest.$ac_ext
10731 if $ac_preproc_ok; then
10732 :
10733 else
10734 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10735 See \`config.log' for more details." >&5
10736 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10737 See \`config.log' for more details." >&2;}
10738 { (exit 1); exit 1; }; }
10739 fi
10740
10741 ac_ext=c
10742 ac_cpp='$CPP $CPPFLAGS'
10743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10746
10747
10748 echo "$as_me:$LINENO: checking for egrep" >&5
10749 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10750 if test "${ac_cv_prog_egrep+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 else
10753 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10754 then ac_cv_prog_egrep='grep -E'
10755 else ac_cv_prog_egrep='egrep'
10756 fi
10757 fi
10758 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10759 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10760 EGREP=$ac_cv_prog_egrep
10761
10762
10763 if test $ac_cv_c_compiler_gnu = yes; then
10764 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10765 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10766 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10767 echo $ECHO_N "(cached) $ECHO_C" >&6
10768 else
10769 ac_pattern="Autoconf.*'x'"
10770 cat >conftest.$ac_ext <<_ACEOF
10771 #line $LINENO "configure"
10772 /* confdefs.h. */
10773 _ACEOF
10774 cat confdefs.h >>conftest.$ac_ext
10775 cat >>conftest.$ac_ext <<_ACEOF
10776 /* end confdefs.h. */
10777 #include <sgtty.h>
10778 Autoconf TIOCGETP
10779 _ACEOF
10780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10781 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10782 ac_cv_prog_gcc_traditional=yes
10783 else
10784 ac_cv_prog_gcc_traditional=no
10785 fi
10786 rm -f conftest*
10787
10788
10789 if test $ac_cv_prog_gcc_traditional = no; then
10790 cat >conftest.$ac_ext <<_ACEOF
10791 #line $LINENO "configure"
10792 /* confdefs.h. */
10793 _ACEOF
10794 cat confdefs.h >>conftest.$ac_ext
10795 cat >>conftest.$ac_ext <<_ACEOF
10796 /* end confdefs.h. */
10797 #include <termio.h>
10798 Autoconf TCGETA
10799 _ACEOF
10800 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10801 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10802 ac_cv_prog_gcc_traditional=yes
10803 fi
10804 rm -f conftest*
10805
10806 fi
10807 fi
10808 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10809 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10810 if test $ac_cv_prog_gcc_traditional = yes; then
10811 CC="$CC -traditional"
10812 fi
10813 fi
10814
10815
10816
10817
10818 ac_ext=cc
10819 ac_cpp='$CXXCPP $CPPFLAGS'
10820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10823
10824
10825 CXXFLAGS=${CXXFLAGS:=}
10826 ac_ext=cc
10827 ac_cpp='$CXXCPP $CPPFLAGS'
10828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10831 if test -n "$ac_tool_prefix"; then
10832 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10833 do
10834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10836 echo "$as_me:$LINENO: checking for $ac_word" >&5
10837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10838 if test "${ac_cv_prog_CXX+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10840 else
10841 if test -n "$CXX"; then
10842 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10843 else
10844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10845 for as_dir in $PATH
10846 do
10847 IFS=$as_save_IFS
10848 test -z "$as_dir" && as_dir=.
10849 for ac_exec_ext in '' $ac_executable_extensions; do
10850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10851 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10853 break 2
10854 fi
10855 done
10856 done
10857
10858 fi
10859 fi
10860 CXX=$ac_cv_prog_CXX
10861 if test -n "$CXX"; then
10862 echo "$as_me:$LINENO: result: $CXX" >&5
10863 echo "${ECHO_T}$CXX" >&6
10864 else
10865 echo "$as_me:$LINENO: result: no" >&5
10866 echo "${ECHO_T}no" >&6
10867 fi
10868
10869 test -n "$CXX" && break
10870 done
10871 fi
10872 if test -z "$CXX"; then
10873 ac_ct_CXX=$CXX
10874 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10875 do
10876 # Extract the first word of "$ac_prog", so it can be a program name with args.
10877 set dummy $ac_prog; ac_word=$2
10878 echo "$as_me:$LINENO: checking for $ac_word" >&5
10879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10880 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10881 echo $ECHO_N "(cached) $ECHO_C" >&6
10882 else
10883 if test -n "$ac_ct_CXX"; then
10884 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10885 else
10886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10887 for as_dir in $PATH
10888 do
10889 IFS=$as_save_IFS
10890 test -z "$as_dir" && as_dir=.
10891 for ac_exec_ext in '' $ac_executable_extensions; do
10892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10893 ac_cv_prog_ac_ct_CXX="$ac_prog"
10894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10895 break 2
10896 fi
10897 done
10898 done
10899
10900 fi
10901 fi
10902 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10903 if test -n "$ac_ct_CXX"; then
10904 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10905 echo "${ECHO_T}$ac_ct_CXX" >&6
10906 else
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10909 fi
10910
10911 test -n "$ac_ct_CXX" && break
10912 done
10913 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10914
10915 CXX=$ac_ct_CXX
10916 fi
10917
10918
10919 # Provide some information about the compiler.
10920 echo "$as_me:$LINENO:" \
10921 "checking for C++ compiler version" >&5
10922 ac_compiler=`set X $ac_compile; echo $2`
10923 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10924 (eval $ac_compiler --version </dev/null >&5) 2>&5
10925 ac_status=$?
10926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10927 (exit $ac_status); }
10928 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10929 (eval $ac_compiler -v </dev/null >&5) 2>&5
10930 ac_status=$?
10931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10932 (exit $ac_status); }
10933 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10934 (eval $ac_compiler -V </dev/null >&5) 2>&5
10935 ac_status=$?
10936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10937 (exit $ac_status); }
10938
10939 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10940 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10941 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10943 else
10944 cat >conftest.$ac_ext <<_ACEOF
10945 #line $LINENO "configure"
10946 /* confdefs.h. */
10947 _ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10951
10952 int
10953 main ()
10954 {
10955 #ifndef __GNUC__
10956 choke me
10957 #endif
10958
10959 ;
10960 return 0;
10961 }
10962 _ACEOF
10963 rm -f conftest.$ac_objext
10964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10965 (eval $ac_compile) 2>&5
10966 ac_status=$?
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } &&
10969 { ac_try='test -s conftest.$ac_objext'
10970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971 (eval $ac_try) 2>&5
10972 ac_status=$?
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 ac_compiler_gnu=yes
10976 else
10977 echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10979
10980 ac_compiler_gnu=no
10981 fi
10982 rm -f conftest.$ac_objext conftest.$ac_ext
10983 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10984
10985 fi
10986 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10987 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10988 GXX=`test $ac_compiler_gnu = yes && echo yes`
10989 ac_test_CXXFLAGS=${CXXFLAGS+set}
10990 ac_save_CXXFLAGS=$CXXFLAGS
10991 CXXFLAGS="-g"
10992 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10993 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10994 if test "${ac_cv_prog_cxx_g+set}" = set; then
10995 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 else
10997 cat >conftest.$ac_ext <<_ACEOF
10998 #line $LINENO "configure"
10999 /* confdefs.h. */
11000 _ACEOF
11001 cat confdefs.h >>conftest.$ac_ext
11002 cat >>conftest.$ac_ext <<_ACEOF
11003 /* end confdefs.h. */
11004
11005 int
11006 main ()
11007 {
11008
11009 ;
11010 return 0;
11011 }
11012 _ACEOF
11013 rm -f conftest.$ac_objext
11014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11015 (eval $ac_compile) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); } &&
11019 { ac_try='test -s conftest.$ac_objext'
11020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11021 (eval $ac_try) 2>&5
11022 ac_status=$?
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); }; }; then
11025 ac_cv_prog_cxx_g=yes
11026 else
11027 echo "$as_me: failed program was:" >&5
11028 sed 's/^/| /' conftest.$ac_ext >&5
11029
11030 ac_cv_prog_cxx_g=no
11031 fi
11032 rm -f conftest.$ac_objext conftest.$ac_ext
11033 fi
11034 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11035 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11036 if test "$ac_test_CXXFLAGS" = set; then
11037 CXXFLAGS=$ac_save_CXXFLAGS
11038 elif test $ac_cv_prog_cxx_g = yes; then
11039 if test "$GXX" = yes; then
11040 CXXFLAGS="-g -O2"
11041 else
11042 CXXFLAGS="-g"
11043 fi
11044 else
11045 if test "$GXX" = yes; then
11046 CXXFLAGS="-O2"
11047 else
11048 CXXFLAGS=
11049 fi
11050 fi
11051 for ac_declaration in \
11052 ''\
11053 '#include <stdlib.h>' \
11054 'extern "C" void std::exit (int) throw (); using std::exit;' \
11055 'extern "C" void std::exit (int); using std::exit;' \
11056 'extern "C" void exit (int) throw ();' \
11057 'extern "C" void exit (int);' \
11058 'void exit (int);'
11059 do
11060 cat >conftest.$ac_ext <<_ACEOF
11061 #line $LINENO "configure"
11062 /* confdefs.h. */
11063 _ACEOF
11064 cat confdefs.h >>conftest.$ac_ext
11065 cat >>conftest.$ac_ext <<_ACEOF
11066 /* end confdefs.h. */
11067 #include <stdlib.h>
11068 $ac_declaration
11069 int
11070 main ()
11071 {
11072 exit (42);
11073 ;
11074 return 0;
11075 }
11076 _ACEOF
11077 rm -f conftest.$ac_objext
11078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11079 (eval $ac_compile) 2>&5
11080 ac_status=$?
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); } &&
11083 { ac_try='test -s conftest.$ac_objext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11086 ac_status=$?
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 :
11090 else
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11093
11094 continue
11095 fi
11096 rm -f conftest.$ac_objext conftest.$ac_ext
11097 cat >conftest.$ac_ext <<_ACEOF
11098 #line $LINENO "configure"
11099 /* confdefs.h. */
11100 _ACEOF
11101 cat confdefs.h >>conftest.$ac_ext
11102 cat >>conftest.$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11104 $ac_declaration
11105 int
11106 main ()
11107 {
11108 exit (42);
11109 ;
11110 return 0;
11111 }
11112 _ACEOF
11113 rm -f conftest.$ac_objext
11114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11115 (eval $ac_compile) 2>&5
11116 ac_status=$?
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); } &&
11119 { ac_try='test -s conftest.$ac_objext'
11120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11121 (eval $ac_try) 2>&5
11122 ac_status=$?
11123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11124 (exit $ac_status); }; }; then
11125 break
11126 else
11127 echo "$as_me: failed program was:" >&5
11128 sed 's/^/| /' conftest.$ac_ext >&5
11129
11130 fi
11131 rm -f conftest.$ac_objext conftest.$ac_ext
11132 done
11133 rm -f conftest*
11134 if test -n "$ac_declaration"; then
11135 echo '#ifdef __cplusplus' >>confdefs.h
11136 echo $ac_declaration >>confdefs.h
11137 echo '#endif' >>confdefs.h
11138 fi
11139
11140 ac_ext=cc
11141 ac_cpp='$CXXCPP $CPPFLAGS'
11142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11145
11146
11147 ac_ext=c
11148 ac_cpp='$CPP $CPPFLAGS'
11149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11152
11153
11154 if test -n "$ac_tool_prefix"; then
11155 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11156 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11157 echo "$as_me:$LINENO: checking for $ac_word" >&5
11158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11159 if test "${ac_cv_prog_RANLIB+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11161 else
11162 if test -n "$RANLIB"; then
11163 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11164 else
11165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11166 for as_dir in $PATH
11167 do
11168 IFS=$as_save_IFS
11169 test -z "$as_dir" && as_dir=.
11170 for ac_exec_ext in '' $ac_executable_extensions; do
11171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11172 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11174 break 2
11175 fi
11176 done
11177 done
11178
11179 fi
11180 fi
11181 RANLIB=$ac_cv_prog_RANLIB
11182 if test -n "$RANLIB"; then
11183 echo "$as_me:$LINENO: result: $RANLIB" >&5
11184 echo "${ECHO_T}$RANLIB" >&6
11185 else
11186 echo "$as_me:$LINENO: result: no" >&5
11187 echo "${ECHO_T}no" >&6
11188 fi
11189
11190 fi
11191 if test -z "$ac_cv_prog_RANLIB"; then
11192 ac_ct_RANLIB=$RANLIB
11193 # Extract the first word of "ranlib", so it can be a program name with args.
11194 set dummy ranlib; ac_word=$2
11195 echo "$as_me:$LINENO: checking for $ac_word" >&5
11196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11197 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11199 else
11200 if test -n "$ac_ct_RANLIB"; then
11201 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11202 else
11203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11204 for as_dir in $PATH
11205 do
11206 IFS=$as_save_IFS
11207 test -z "$as_dir" && as_dir=.
11208 for ac_exec_ext in '' $ac_executable_extensions; do
11209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11210 ac_cv_prog_ac_ct_RANLIB="ranlib"
11211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11212 break 2
11213 fi
11214 done
11215 done
11216
11217 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11218 fi
11219 fi
11220 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11221 if test -n "$ac_ct_RANLIB"; then
11222 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11223 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11224 else
11225 echo "$as_me:$LINENO: result: no" >&5
11226 echo "${ECHO_T}no" >&6
11227 fi
11228
11229 RANLIB=$ac_ct_RANLIB
11230 else
11231 RANLIB="$ac_cv_prog_RANLIB"
11232 fi
11233
11234
11235 # Extract the first word of "ar", so it can be a program name with args.
11236 set dummy ar; ac_word=$2
11237 echo "$as_me:$LINENO: checking for $ac_word" >&5
11238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11239 if test "${ac_cv_prog_AR+set}" = set; then
11240 echo $ECHO_N "(cached) $ECHO_C" >&6
11241 else
11242 if test -n "$AR"; then
11243 ac_cv_prog_AR="$AR" # Let the user override the test.
11244 else
11245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11246 for as_dir in $PATH
11247 do
11248 IFS=$as_save_IFS
11249 test -z "$as_dir" && as_dir=.
11250 for ac_exec_ext in '' $ac_executable_extensions; do
11251 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11252 ac_cv_prog_AR="ar"
11253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11254 break 2
11255 fi
11256 done
11257 done
11258
11259 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11260 fi
11261 fi
11262 AR=$ac_cv_prog_AR
11263 if test -n "$AR"; then
11264 echo "$as_me:$LINENO: result: $AR" >&5
11265 echo "${ECHO_T}$AR" >&6
11266 else
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11269 fi
11270
11271
11272 # Find a good install program. We prefer a C program (faster),
11273 # so one script is as good as another. But avoid the broken or
11274 # incompatible versions:
11275 # SysV /etc/install, /usr/sbin/install
11276 # SunOS /usr/etc/install
11277 # IRIX /sbin/install
11278 # AIX /bin/install
11279 # AmigaOS /C/install, which installs bootblocks on floppy discs
11280 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11281 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11282 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11283 # ./install, which can be erroneously created by make from ./install.sh.
11284 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11285 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11286 if test -z "$INSTALL"; then
11287 if test "${ac_cv_path_install+set}" = set; then
11288 echo $ECHO_N "(cached) $ECHO_C" >&6
11289 else
11290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11291 for as_dir in $PATH
11292 do
11293 IFS=$as_save_IFS
11294 test -z "$as_dir" && as_dir=.
11295 # Account for people who put trailing slashes in PATH elements.
11296 case $as_dir/ in
11297 ./ | .// | /cC/* | \
11298 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11299 /usr/ucb/* ) ;;
11300 *)
11301 # OSF1 and SCO ODT 3.0 have their own names for install.
11302 # Don't use installbsd from OSF since it installs stuff as root
11303 # by default.
11304 for ac_prog in ginstall scoinst install; do
11305 for ac_exec_ext in '' $ac_executable_extensions; do
11306 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11307 if test $ac_prog = install &&
11308 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11309 # AIX install. It has an incompatible calling convention.
11310 :
11311 elif test $ac_prog = install &&
11312 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11313 # program-specific install script used by HP pwplus--don't use.
11314 :
11315 else
11316 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11317 break 3
11318 fi
11319 fi
11320 done
11321 done
11322 ;;
11323 esac
11324 done
11325
11326
11327 fi
11328 if test "${ac_cv_path_install+set}" = set; then
11329 INSTALL=$ac_cv_path_install
11330 else
11331 # As a last resort, use the slow shell script. We don't cache a
11332 # path for INSTALL within a source directory, because that will
11333 # break other packages using the cache if that directory is
11334 # removed, or if the path is relative.
11335 INSTALL=$ac_install_sh
11336 fi
11337 fi
11338 echo "$as_me:$LINENO: result: $INSTALL" >&5
11339 echo "${ECHO_T}$INSTALL" >&6
11340
11341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11342 # It thinks the first close brace ends the variable substitution.
11343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11344
11345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11346
11347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11348
11349
11350 case ${INSTALL} in
11351 /* ) # Absolute
11352 ;;
11353 ?:* ) # Drive letter, considered as absolute.
11354 ;;
11355 *)
11356 INSTALL=`pwd`/${INSTALL} ;;
11357 esac
11358
11359 case ${host} in
11360 *-hp-hpux* )
11361 INSTALL_DIR="mkdir"
11362 ;;
11363
11364 *) INSTALL_DIR="$INSTALL -d"
11365 ;;
11366 esac
11367
11368
11369 case "${host}" in
11370
11371 powerpc-*-darwin* )
11372 INSTALL_PROGRAM="cp -fp"
11373 INSTALL_DATA="cp -fp"
11374 ;;
11375 *)
11376 ;;
11377 esac
11378
11379 # Extract the first word of "strip", so it can be a program name with args.
11380 set dummy strip; ac_word=$2
11381 echo "$as_me:$LINENO: checking for $ac_word" >&5
11382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11383 if test "${ac_cv_prog_STRIP+set}" = set; then
11384 echo $ECHO_N "(cached) $ECHO_C" >&6
11385 else
11386 if test -n "$STRIP"; then
11387 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11388 else
11389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11390 for as_dir in $PATH
11391 do
11392 IFS=$as_save_IFS
11393 test -z "$as_dir" && as_dir=.
11394 for ac_exec_ext in '' $ac_executable_extensions; do
11395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11396 ac_cv_prog_STRIP="strip"
11397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11398 break 2
11399 fi
11400 done
11401 done
11402
11403 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11404 fi
11405 fi
11406 STRIP=$ac_cv_prog_STRIP
11407 if test -n "$STRIP"; then
11408 echo "$as_me:$LINENO: result: $STRIP" >&5
11409 echo "${ECHO_T}$STRIP" >&6
11410 else
11411 echo "$as_me:$LINENO: result: no" >&5
11412 echo "${ECHO_T}no" >&6
11413 fi
11414
11415
11416 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11417 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11418 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11419 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 else
11421
11422 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11423 egrep -s GNU > /dev/null); then
11424 wx_cv_prog_makeisgnu="yes"
11425 else
11426 wx_cv_prog_makeisgnu="no"
11427 fi
11428
11429 fi
11430 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11431 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11432
11433 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11434 IF_GNU_MAKE=""
11435 else
11436 IF_GNU_MAKE="#"
11437 fi
11438
11439
11440
11441 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11442 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11443 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11444 if test "${wx_cv_prog_makevpath+set}" = set; then
11445 echo $ECHO_N "(cached) $ECHO_C" >&6
11446 else
11447
11448 cat - << EOF > confMake
11449 check : file
11450 cp \$? \$@
11451 cp \$? final_file
11452 EOF
11453
11454 if test ! -d sub ; then
11455 mkdir sub
11456 fi
11457 echo dummy > sub/file
11458 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11459 RESULT=$?
11460 rm -f sub/file check final_file confMake
11461 rmdir sub
11462 if test "$RESULT" = 0; then
11463 wx_cv_prog_makevpath="yes"
11464 else
11465 wx_cv_prog_makevpath="no"
11466 fi
11467
11468 fi
11469 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11470 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11471
11472 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11473 { { echo "$as_me:$LINENO: error:
11474 You need a make-utility that is able to use the variable
11475 VPATH correctly.
11476 If your version of make does not support VPATH correctly,
11477 please install GNU-make (possibly as gmake), and start
11478 configure with the following command:
11479 export MAKE=gmake; ./configure for sh-type shells
11480 setenv MAKE gmake; ./configure for csh-type shells
11481 Also please do remember to use gmake in this case every time
11482 you are trying to compile.
11483 " >&5
11484 echo "$as_me: error:
11485 You need a make-utility that is able to use the variable
11486 VPATH correctly.
11487 If your version of make does not support VPATH correctly,
11488 please install GNU-make (possibly as gmake), and start
11489 configure with the following command:
11490 export MAKE=gmake; ./configure for sh-type shells
11491 setenv MAKE gmake; ./configure for csh-type shells
11492 Also please do remember to use gmake in this case every time
11493 you are trying to compile.
11494 " >&2;}
11495 { (exit 1); exit 1; }; }
11496 fi fi
11497 for ac_prog in 'bison -y' byacc
11498 do
11499 # Extract the first word of "$ac_prog", so it can be a program name with args.
11500 set dummy $ac_prog; ac_word=$2
11501 echo "$as_me:$LINENO: checking for $ac_word" >&5
11502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11503 if test "${ac_cv_prog_YACC+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11505 else
11506 if test -n "$YACC"; then
11507 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11508 else
11509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11510 for as_dir in $PATH
11511 do
11512 IFS=$as_save_IFS
11513 test -z "$as_dir" && as_dir=.
11514 for ac_exec_ext in '' $ac_executable_extensions; do
11515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11516 ac_cv_prog_YACC="$ac_prog"
11517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11518 break 2
11519 fi
11520 done
11521 done
11522
11523 fi
11524 fi
11525 YACC=$ac_cv_prog_YACC
11526 if test -n "$YACC"; then
11527 echo "$as_me:$LINENO: result: $YACC" >&5
11528 echo "${ECHO_T}$YACC" >&6
11529 else
11530 echo "$as_me:$LINENO: result: no" >&5
11531 echo "${ECHO_T}no" >&6
11532 fi
11533
11534 test -n "$YACC" && break
11535 done
11536 test -n "$YACC" || YACC="yacc"
11537
11538
11539 for ac_prog in flex lex
11540 do
11541 # Extract the first word of "$ac_prog", so it can be a program name with args.
11542 set dummy $ac_prog; ac_word=$2
11543 echo "$as_me:$LINENO: checking for $ac_word" >&5
11544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11545 if test "${ac_cv_prog_LEX+set}" = set; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11547 else
11548 if test -n "$LEX"; then
11549 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11550 else
11551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11552 for as_dir in $PATH
11553 do
11554 IFS=$as_save_IFS
11555 test -z "$as_dir" && as_dir=.
11556 for ac_exec_ext in '' $ac_executable_extensions; do
11557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11558 ac_cv_prog_LEX="$ac_prog"
11559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11560 break 2
11561 fi
11562 done
11563 done
11564
11565 fi
11566 fi
11567 LEX=$ac_cv_prog_LEX
11568 if test -n "$LEX"; then
11569 echo "$as_me:$LINENO: result: $LEX" >&5
11570 echo "${ECHO_T}$LEX" >&6
11571 else
11572 echo "$as_me:$LINENO: result: no" >&5
11573 echo "${ECHO_T}no" >&6
11574 fi
11575
11576 test -n "$LEX" && break
11577 done
11578 test -n "$LEX" || LEX=":"
11579
11580 if test -z "$LEXLIB"
11581 then
11582 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11583 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11584 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11586 else
11587 ac_check_lib_save_LIBS=$LIBS
11588 LIBS="-lfl $LIBS"
11589 cat >conftest.$ac_ext <<_ACEOF
11590 #line $LINENO "configure"
11591 /* confdefs.h. */
11592 _ACEOF
11593 cat confdefs.h >>conftest.$ac_ext
11594 cat >>conftest.$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11596
11597 /* Override any gcc2 internal prototype to avoid an error. */
11598 #ifdef __cplusplus
11599 extern "C"
11600 #endif
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11603 char yywrap ();
11604 int
11605 main ()
11606 {
11607 yywrap ();
11608 ;
11609 return 0;
11610 }
11611 _ACEOF
11612 rm -f conftest.$ac_objext conftest$ac_exeext
11613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11614 (eval $ac_link) 2>&5
11615 ac_status=$?
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } &&
11618 { ac_try='test -s conftest$ac_exeext'
11619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11620 (eval $ac_try) 2>&5
11621 ac_status=$?
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); }; }; then
11624 ac_cv_lib_fl_yywrap=yes
11625 else
11626 echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.$ac_ext >&5
11628
11629 ac_cv_lib_fl_yywrap=no
11630 fi
11631 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11632 LIBS=$ac_check_lib_save_LIBS
11633 fi
11634 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11635 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11636 if test $ac_cv_lib_fl_yywrap = yes; then
11637 LEXLIB="-lfl"
11638 else
11639 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11640 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11641 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11642 echo $ECHO_N "(cached) $ECHO_C" >&6
11643 else
11644 ac_check_lib_save_LIBS=$LIBS
11645 LIBS="-ll $LIBS"
11646 cat >conftest.$ac_ext <<_ACEOF
11647 #line $LINENO "configure"
11648 /* confdefs.h. */
11649 _ACEOF
11650 cat confdefs.h >>conftest.$ac_ext
11651 cat >>conftest.$ac_ext <<_ACEOF
11652 /* end confdefs.h. */
11653
11654 /* Override any gcc2 internal prototype to avoid an error. */
11655 #ifdef __cplusplus
11656 extern "C"
11657 #endif
11658 /* We use char because int might match the return type of a gcc2
11659 builtin and then its argument prototype would still apply. */
11660 char yywrap ();
11661 int
11662 main ()
11663 {
11664 yywrap ();
11665 ;
11666 return 0;
11667 }
11668 _ACEOF
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11671 (eval $ac_link) 2>&5
11672 ac_status=$?
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); } &&
11675 { ac_try='test -s conftest$ac_exeext'
11676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 (eval $ac_try) 2>&5
11678 ac_status=$?
11679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 (exit $ac_status); }; }; then
11681 ac_cv_lib_l_yywrap=yes
11682 else
11683 echo "$as_me: failed program was:" >&5
11684 sed 's/^/| /' conftest.$ac_ext >&5
11685
11686 ac_cv_lib_l_yywrap=no
11687 fi
11688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11689 LIBS=$ac_check_lib_save_LIBS
11690 fi
11691 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11692 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11693 if test $ac_cv_lib_l_yywrap = yes; then
11694 LEXLIB="-ll"
11695 fi
11696
11697 fi
11698
11699 fi
11700
11701 if test "x$LEX" != "x:"; then
11702 echo "$as_me:$LINENO: checking lex output file root" >&5
11703 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11704 if test "${ac_cv_prog_lex_root+set}" = set; then
11705 echo $ECHO_N "(cached) $ECHO_C" >&6
11706 else
11707 # The minimal lex program is just a single line: %%. But some broken lexes
11708 # (Solaris, I think it was) want two %% lines, so accommodate them.
11709 cat >conftest.l <<_ACEOF
11710 %%
11711 %%
11712 _ACEOF
11713 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11714 (eval $LEX conftest.l) 2>&5
11715 ac_status=$?
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }
11718 if test -f lex.yy.c; then
11719 ac_cv_prog_lex_root=lex.yy
11720 elif test -f lexyy.c; then
11721 ac_cv_prog_lex_root=lexyy
11722 else
11723 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11724 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11725 { (exit 1); exit 1; }; }
11726 fi
11727 fi
11728 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11729 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11730 rm -f conftest.l
11731 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11732
11733 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11734 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11735 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 else
11738 # POSIX says lex can declare yytext either as a pointer or an array; the
11739 # default is implementation-dependent. Figure out which it is, since
11740 # not all implementations provide the %pointer and %array declarations.
11741 ac_cv_prog_lex_yytext_pointer=no
11742 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11743 ac_save_LIBS=$LIBS
11744 LIBS="$LIBS $LEXLIB"
11745 cat >conftest.$ac_ext <<_ACEOF
11746 `cat $LEX_OUTPUT_ROOT.c`
11747 _ACEOF
11748 rm -f conftest.$ac_objext conftest$ac_exeext
11749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11750 (eval $ac_link) 2>&5
11751 ac_status=$?
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); } &&
11754 { ac_try='test -s conftest$ac_exeext'
11755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11756 (eval $ac_try) 2>&5
11757 ac_status=$?
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); }; }; then
11760 ac_cv_prog_lex_yytext_pointer=yes
11761 else
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.$ac_ext >&5
11764
11765 fi
11766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11767 LIBS=$ac_save_LIBS
11768 rm -f "${LEX_OUTPUT_ROOT}.c"
11769
11770 fi
11771 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11772 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11773 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11774
11775 cat >>confdefs.h <<\_ACEOF
11776 #define YYTEXT_POINTER 1
11777 _ACEOF
11778
11779 fi
11780
11781 fi
11782
11783 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11784 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11785 LN_S=$as_ln_s
11786 if test "$LN_S" = "ln -s"; then
11787 echo "$as_me:$LINENO: result: yes" >&5
11788 echo "${ECHO_T}yes" >&6
11789 else
11790 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11791 echo "${ECHO_T}no, using $LN_S" >&6
11792 fi
11793
11794
11795 case "${host}" in
11796 *-pc-os2_emx | *-pc-os2-emx )
11797 LIBS="$LIBS -lstdcpp"
11798 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11799 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11800 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11801 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11803 else
11804 ac_check_lib_save_LIBS=$LIBS
11805 LIBS="-lcExt $LIBS"
11806 cat >conftest.$ac_ext <<_ACEOF
11807 #line $LINENO "configure"
11808 /* confdefs.h. */
11809 _ACEOF
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813
11814 /* Override any gcc2 internal prototype to avoid an error. */
11815 #ifdef __cplusplus
11816 extern "C"
11817 #endif
11818 /* We use char because int might match the return type of a gcc2
11819 builtin and then its argument prototype would still apply. */
11820 char drand48 ();
11821 int
11822 main ()
11823 {
11824 drand48 ();
11825 ;
11826 return 0;
11827 }
11828 _ACEOF
11829 rm -f conftest.$ac_objext conftest$ac_exeext
11830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11831 (eval $ac_link) 2>&5
11832 ac_status=$?
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); } &&
11835 { ac_try='test -s conftest$ac_exeext'
11836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11837 (eval $ac_try) 2>&5
11838 ac_status=$?
11839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11840 (exit $ac_status); }; }; then
11841 ac_cv_lib_cExt_drand48=yes
11842 else
11843 echo "$as_me: failed program was:" >&5
11844 sed 's/^/| /' conftest.$ac_ext >&5
11845
11846 ac_cv_lib_cExt_drand48=no
11847 fi
11848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11849 LIBS=$ac_check_lib_save_LIBS
11850 fi
11851 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11852 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11853 if test $ac_cv_lib_cExt_drand48 = yes; then
11854 LIBS="$LIBS -lcExt"
11855 fi
11856
11857 else
11858 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11859 fi
11860 ;;
11861 esac
11862
11863
11864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11865 echo "$as_me:$LINENO: checking for strings.h" >&5
11866 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11867 if test "${ac_cv_header_strings_h+set}" = set; then
11868 echo $ECHO_N "(cached) $ECHO_C" >&6
11869 else
11870 ac_cv_header_strings_h=no
11871 fi
11872 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11873 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11874 if test "$ac_cv_header_strings_h" = "no"; then
11875 echo "$as_me:$LINENO: result: forced no into cache" >&5
11876 echo "${ECHO_T}forced no into cache" >&6
11877 else
11878 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11879 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11880 fi
11881 fi
11882 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11883 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11884 if test "${ac_cv_header_stdc+set}" = set; then
11885 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 else
11887 cat >conftest.$ac_ext <<_ACEOF
11888 #line $LINENO "configure"
11889 /* confdefs.h. */
11890 _ACEOF
11891 cat confdefs.h >>conftest.$ac_ext
11892 cat >>conftest.$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11894 #include <stdlib.h>
11895 #include <stdarg.h>
11896 #include <string.h>
11897 #include <float.h>
11898
11899 int
11900 main ()
11901 {
11902
11903 ;
11904 return 0;
11905 }
11906 _ACEOF
11907 rm -f conftest.$ac_objext
11908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11909 (eval $ac_compile) 2>&5
11910 ac_status=$?
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); } &&
11913 { ac_try='test -s conftest.$ac_objext'
11914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11915 (eval $ac_try) 2>&5
11916 ac_status=$?
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); }; }; then
11919 ac_cv_header_stdc=yes
11920 else
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.$ac_ext >&5
11923
11924 ac_cv_header_stdc=no
11925 fi
11926 rm -f conftest.$ac_objext conftest.$ac_ext
11927
11928 if test $ac_cv_header_stdc = yes; then
11929 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11930 cat >conftest.$ac_ext <<_ACEOF
11931 #line $LINENO "configure"
11932 /* confdefs.h. */
11933 _ACEOF
11934 cat confdefs.h >>conftest.$ac_ext
11935 cat >>conftest.$ac_ext <<_ACEOF
11936 /* end confdefs.h. */
11937 #include <string.h>
11938
11939 _ACEOF
11940 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11941 $EGREP "memchr" >/dev/null 2>&1; then
11942 :
11943 else
11944 ac_cv_header_stdc=no
11945 fi
11946 rm -f conftest*
11947
11948 fi
11949
11950 if test $ac_cv_header_stdc = yes; then
11951 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11952 cat >conftest.$ac_ext <<_ACEOF
11953 #line $LINENO "configure"
11954 /* confdefs.h. */
11955 _ACEOF
11956 cat confdefs.h >>conftest.$ac_ext
11957 cat >>conftest.$ac_ext <<_ACEOF
11958 /* end confdefs.h. */
11959 #include <stdlib.h>
11960
11961 _ACEOF
11962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11963 $EGREP "free" >/dev/null 2>&1; then
11964 :
11965 else
11966 ac_cv_header_stdc=no
11967 fi
11968 rm -f conftest*
11969
11970 fi
11971
11972 if test $ac_cv_header_stdc = yes; then
11973 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11974 if test "$cross_compiling" = yes; then
11975 :
11976 else
11977 cat >conftest.$ac_ext <<_ACEOF
11978 #line $LINENO "configure"
11979 /* confdefs.h. */
11980 _ACEOF
11981 cat confdefs.h >>conftest.$ac_ext
11982 cat >>conftest.$ac_ext <<_ACEOF
11983 /* end confdefs.h. */
11984 #include <ctype.h>
11985 #if ((' ' & 0x0FF) == 0x020)
11986 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11987 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11988 #else
11989 # define ISLOWER(c) \
11990 (('a' <= (c) && (c) <= 'i') \
11991 || ('j' <= (c) && (c) <= 'r') \
11992 || ('s' <= (c) && (c) <= 'z'))
11993 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11994 #endif
11995
11996 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11997 int
11998 main ()
11999 {
12000 int i;
12001 for (i = 0; i < 256; i++)
12002 if (XOR (islower (i), ISLOWER (i))
12003 || toupper (i) != TOUPPER (i))
12004 exit(2);
12005 exit (0);
12006 }
12007 _ACEOF
12008 rm -f conftest$ac_exeext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12016 ac_status=$?
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; }; then
12019 :
12020 else
12021 echo "$as_me: program exited with status $ac_status" >&5
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.$ac_ext >&5
12024
12025 ( exit $ac_status )
12026 ac_cv_header_stdc=no
12027 fi
12028 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12029 fi
12030 fi
12031 fi
12032 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12033 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12034 if test $ac_cv_header_stdc = yes; then
12035
12036 cat >>confdefs.h <<\_ACEOF
12037 #define STDC_HEADERS 1
12038 _ACEOF
12039
12040 fi
12041
12042 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12053 inttypes.h stdint.h unistd.h
12054 do
12055 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12056 echo "$as_me:$LINENO: checking for $ac_header" >&5
12057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 else
12061 cat >conftest.$ac_ext <<_ACEOF
12062 #line $LINENO "configure"
12063 /* confdefs.h. */
12064 _ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 $ac_includes_default
12069
12070 #include <$ac_header>
12071 _ACEOF
12072 rm -f conftest.$ac_objext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12074 (eval $ac_compile) 2>&5
12075 ac_status=$?
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } &&
12078 { ac_try='test -s conftest.$ac_objext'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12081 ac_status=$?
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; }; then
12084 eval "$as_ac_Header=yes"
12085 else
12086 echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.$ac_ext >&5
12088
12089 eval "$as_ac_Header=no"
12090 fi
12091 rm -f conftest.$ac_objext conftest.$ac_ext
12092 fi
12093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12096 cat >>confdefs.h <<_ACEOF
12097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12098 _ACEOF
12099
12100 fi
12101
12102 done
12103
12104
12105
12106 for ac_header in strings.h
12107 do
12108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12110 echo "$as_me:$LINENO: checking for $ac_header" >&5
12111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 fi
12115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12117 else
12118 # Is the header compilable?
12119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12121 cat >conftest.$ac_ext <<_ACEOF
12122 #line $LINENO "configure"
12123 /* confdefs.h. */
12124 _ACEOF
12125 cat confdefs.h >>conftest.$ac_ext
12126 cat >>conftest.$ac_ext <<_ACEOF
12127 /* end confdefs.h. */
12128 $ac_includes_default
12129 #include <$ac_header>
12130 _ACEOF
12131 rm -f conftest.$ac_objext
12132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12133 (eval $ac_compile) 2>&5
12134 ac_status=$?
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } &&
12137 { ac_try='test -s conftest.$ac_objext'
12138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12139 (eval $ac_try) 2>&5
12140 ac_status=$?
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); }; }; then
12143 ac_header_compiler=yes
12144 else
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.$ac_ext >&5
12147
12148 ac_header_compiler=no
12149 fi
12150 rm -f conftest.$ac_objext conftest.$ac_ext
12151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12152 echo "${ECHO_T}$ac_header_compiler" >&6
12153
12154 # Is the header present?
12155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12157 cat >conftest.$ac_ext <<_ACEOF
12158 #line $LINENO "configure"
12159 /* confdefs.h. */
12160 _ACEOF
12161 cat confdefs.h >>conftest.$ac_ext
12162 cat >>conftest.$ac_ext <<_ACEOF
12163 /* end confdefs.h. */
12164 #include <$ac_header>
12165 _ACEOF
12166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12168 ac_status=$?
12169 grep -v '^ *+' conftest.er1 >conftest.err
12170 rm -f conftest.er1
12171 cat conftest.err >&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 (exit $ac_status); } >/dev/null; then
12174 if test -s conftest.err; then
12175 ac_cpp_err=$ac_c_preproc_warn_flag
12176 else
12177 ac_cpp_err=
12178 fi
12179 else
12180 ac_cpp_err=yes
12181 fi
12182 if test -z "$ac_cpp_err"; then
12183 ac_header_preproc=yes
12184 else
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12187
12188 ac_header_preproc=no
12189 fi
12190 rm -f conftest.err conftest.$ac_ext
12191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12192 echo "${ECHO_T}$ac_header_preproc" >&6
12193
12194 # So? What about this header?
12195 case $ac_header_compiler:$ac_header_preproc in
12196 yes:no )
12197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12201 (
12202 cat <<\_ASBOX
12203 ## ------------------------------------ ##
12204 ## Report this to bug-autoconf@gnu.org. ##
12205 ## ------------------------------------ ##
12206 _ASBOX
12207 ) |
12208 sed "s/^/$as_me: WARNING: /" >&2
12209 ;;
12210 no:yes )
12211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12217 (
12218 cat <<\_ASBOX
12219 ## ------------------------------------ ##
12220 ## Report this to bug-autoconf@gnu.org. ##
12221 ## ------------------------------------ ##
12222 _ASBOX
12223 ) |
12224 sed "s/^/$as_me: WARNING: /" >&2
12225 ;;
12226 esac
12227 echo "$as_me:$LINENO: checking for $ac_header" >&5
12228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12230 echo $ECHO_N "(cached) $ECHO_C" >&6
12231 else
12232 eval "$as_ac_Header=$ac_header_preproc"
12233 fi
12234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12236
12237 fi
12238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12239 cat >>confdefs.h <<_ACEOF
12240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12241 _ACEOF
12242
12243 fi
12244
12245 done
12246
12247
12248
12249 for ac_header in stdlib.h
12250 do
12251 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12253 echo "$as_me:$LINENO: checking for $ac_header" >&5
12254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12256 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 fi
12258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12260 else
12261 # Is the header compilable?
12262 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12263 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12264 cat >conftest.$ac_ext <<_ACEOF
12265 #line $LINENO "configure"
12266 /* confdefs.h. */
12267 _ACEOF
12268 cat confdefs.h >>conftest.$ac_ext
12269 cat >>conftest.$ac_ext <<_ACEOF
12270 /* end confdefs.h. */
12271 $ac_includes_default
12272 #include <$ac_header>
12273 _ACEOF
12274 rm -f conftest.$ac_objext
12275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12276 (eval $ac_compile) 2>&5
12277 ac_status=$?
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } &&
12280 { ac_try='test -s conftest.$ac_objext'
12281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12282 (eval $ac_try) 2>&5
12283 ac_status=$?
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); }; }; then
12286 ac_header_compiler=yes
12287 else
12288 echo "$as_me: failed program was:" >&5
12289 sed 's/^/| /' conftest.$ac_ext >&5
12290
12291 ac_header_compiler=no
12292 fi
12293 rm -f conftest.$ac_objext conftest.$ac_ext
12294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12295 echo "${ECHO_T}$ac_header_compiler" >&6
12296
12297 # Is the header present?
12298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12300 cat >conftest.$ac_ext <<_ACEOF
12301 #line $LINENO "configure"
12302 /* confdefs.h. */
12303 _ACEOF
12304 cat confdefs.h >>conftest.$ac_ext
12305 cat >>conftest.$ac_ext <<_ACEOF
12306 /* end confdefs.h. */
12307 #include <$ac_header>
12308 _ACEOF
12309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12311 ac_status=$?
12312 grep -v '^ *+' conftest.er1 >conftest.err
12313 rm -f conftest.er1
12314 cat conftest.err >&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } >/dev/null; then
12317 if test -s conftest.err; then
12318 ac_cpp_err=$ac_c_preproc_warn_flag
12319 else
12320 ac_cpp_err=
12321 fi
12322 else
12323 ac_cpp_err=yes
12324 fi
12325 if test -z "$ac_cpp_err"; then
12326 ac_header_preproc=yes
12327 else
12328 echo "$as_me: failed program was:" >&5
12329 sed 's/^/| /' conftest.$ac_ext >&5
12330
12331 ac_header_preproc=no
12332 fi
12333 rm -f conftest.err conftest.$ac_ext
12334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12335 echo "${ECHO_T}$ac_header_preproc" >&6
12336
12337 # So? What about this header?
12338 case $ac_header_compiler:$ac_header_preproc in
12339 yes:no )
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12344 (
12345 cat <<\_ASBOX
12346 ## ------------------------------------ ##
12347 ## Report this to bug-autoconf@gnu.org. ##
12348 ## ------------------------------------ ##
12349 _ASBOX
12350 ) |
12351 sed "s/^/$as_me: WARNING: /" >&2
12352 ;;
12353 no:yes )
12354 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12355 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12356 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12357 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12360 (
12361 cat <<\_ASBOX
12362 ## ------------------------------------ ##
12363 ## Report this to bug-autoconf@gnu.org. ##
12364 ## ------------------------------------ ##
12365 _ASBOX
12366 ) |
12367 sed "s/^/$as_me: WARNING: /" >&2
12368 ;;
12369 esac
12370 echo "$as_me:$LINENO: checking for $ac_header" >&5
12371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12373 echo $ECHO_N "(cached) $ECHO_C" >&6
12374 else
12375 eval "$as_ac_Header=$ac_header_preproc"
12376 fi
12377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12379
12380 fi
12381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12382 cat >>confdefs.h <<_ACEOF
12383 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12384 _ACEOF
12385
12386 fi
12387
12388 done
12389
12390
12391 for ac_header in malloc.h
12392 do
12393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12395 echo "$as_me:$LINENO: checking for $ac_header" >&5
12396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12399 fi
12400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12402 else
12403 # Is the header compilable?
12404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12406 cat >conftest.$ac_ext <<_ACEOF
12407 #line $LINENO "configure"
12408 /* confdefs.h. */
12409 _ACEOF
12410 cat confdefs.h >>conftest.$ac_ext
12411 cat >>conftest.$ac_ext <<_ACEOF
12412 /* end confdefs.h. */
12413 $ac_includes_default
12414 #include <$ac_header>
12415 _ACEOF
12416 rm -f conftest.$ac_objext
12417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12418 (eval $ac_compile) 2>&5
12419 ac_status=$?
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } &&
12422 { ac_try='test -s conftest.$ac_objext'
12423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12424 (eval $ac_try) 2>&5
12425 ac_status=$?
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); }; }; then
12428 ac_header_compiler=yes
12429 else
12430 echo "$as_me: failed program was:" >&5
12431 sed 's/^/| /' conftest.$ac_ext >&5
12432
12433 ac_header_compiler=no
12434 fi
12435 rm -f conftest.$ac_objext conftest.$ac_ext
12436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12437 echo "${ECHO_T}$ac_header_compiler" >&6
12438
12439 # Is the header present?
12440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12442 cat >conftest.$ac_ext <<_ACEOF
12443 #line $LINENO "configure"
12444 /* confdefs.h. */
12445 _ACEOF
12446 cat confdefs.h >>conftest.$ac_ext
12447 cat >>conftest.$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12449 #include <$ac_header>
12450 _ACEOF
12451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12453 ac_status=$?
12454 grep -v '^ *+' conftest.er1 >conftest.err
12455 rm -f conftest.er1
12456 cat conftest.err >&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } >/dev/null; then
12459 if test -s conftest.err; then
12460 ac_cpp_err=$ac_c_preproc_warn_flag
12461 else
12462 ac_cpp_err=
12463 fi
12464 else
12465 ac_cpp_err=yes
12466 fi
12467 if test -z "$ac_cpp_err"; then
12468 ac_header_preproc=yes
12469 else
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12472
12473 ac_header_preproc=no
12474 fi
12475 rm -f conftest.err conftest.$ac_ext
12476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12477 echo "${ECHO_T}$ac_header_preproc" >&6
12478
12479 # So? What about this header?
12480 case $ac_header_compiler:$ac_header_preproc in
12481 yes:no )
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12486 (
12487 cat <<\_ASBOX
12488 ## ------------------------------------ ##
12489 ## Report this to bug-autoconf@gnu.org. ##
12490 ## ------------------------------------ ##
12491 _ASBOX
12492 ) |
12493 sed "s/^/$as_me: WARNING: /" >&2
12494 ;;
12495 no:yes )
12496 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12497 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12498 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12499 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12502 (
12503 cat <<\_ASBOX
12504 ## ------------------------------------ ##
12505 ## Report this to bug-autoconf@gnu.org. ##
12506 ## ------------------------------------ ##
12507 _ASBOX
12508 ) |
12509 sed "s/^/$as_me: WARNING: /" >&2
12510 ;;
12511 esac
12512 echo "$as_me:$LINENO: checking for $ac_header" >&5
12513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12515 echo $ECHO_N "(cached) $ECHO_C" >&6
12516 else
12517 eval "$as_ac_Header=$ac_header_preproc"
12518 fi
12519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12521
12522 fi
12523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12524 cat >>confdefs.h <<_ACEOF
12525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12526 _ACEOF
12527
12528 fi
12529
12530 done
12531
12532
12533 for ac_header in unistd.h
12534 do
12535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12537 echo "$as_me:$LINENO: checking for $ac_header" >&5
12538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12541 fi
12542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12544 else
12545 # Is the header compilable?
12546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12548 cat >conftest.$ac_ext <<_ACEOF
12549 #line $LINENO "configure"
12550 /* confdefs.h. */
12551 _ACEOF
12552 cat confdefs.h >>conftest.$ac_ext
12553 cat >>conftest.$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 $ac_includes_default
12556 #include <$ac_header>
12557 _ACEOF
12558 rm -f conftest.$ac_objext
12559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12560 (eval $ac_compile) 2>&5
12561 ac_status=$?
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } &&
12564 { ac_try='test -s conftest.$ac_objext'
12565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12566 (eval $ac_try) 2>&5
12567 ac_status=$?
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); }; }; then
12570 ac_header_compiler=yes
12571 else
12572 echo "$as_me: failed program was:" >&5
12573 sed 's/^/| /' conftest.$ac_ext >&5
12574
12575 ac_header_compiler=no
12576 fi
12577 rm -f conftest.$ac_objext conftest.$ac_ext
12578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12579 echo "${ECHO_T}$ac_header_compiler" >&6
12580
12581 # Is the header present?
12582 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12584 cat >conftest.$ac_ext <<_ACEOF
12585 #line $LINENO "configure"
12586 /* confdefs.h. */
12587 _ACEOF
12588 cat confdefs.h >>conftest.$ac_ext
12589 cat >>conftest.$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12591 #include <$ac_header>
12592 _ACEOF
12593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12595 ac_status=$?
12596 grep -v '^ *+' conftest.er1 >conftest.err
12597 rm -f conftest.er1
12598 cat conftest.err >&5
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); } >/dev/null; then
12601 if test -s conftest.err; then
12602 ac_cpp_err=$ac_c_preproc_warn_flag
12603 else
12604 ac_cpp_err=
12605 fi
12606 else
12607 ac_cpp_err=yes
12608 fi
12609 if test -z "$ac_cpp_err"; then
12610 ac_header_preproc=yes
12611 else
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.$ac_ext >&5
12614
12615 ac_header_preproc=no
12616 fi
12617 rm -f conftest.err conftest.$ac_ext
12618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12619 echo "${ECHO_T}$ac_header_preproc" >&6
12620
12621 # So? What about this header?
12622 case $ac_header_compiler:$ac_header_preproc in
12623 yes:no )
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12628 (
12629 cat <<\_ASBOX
12630 ## ------------------------------------ ##
12631 ## Report this to bug-autoconf@gnu.org. ##
12632 ## ------------------------------------ ##
12633 _ASBOX
12634 ) |
12635 sed "s/^/$as_me: WARNING: /" >&2
12636 ;;
12637 no:yes )
12638 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12640 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12641 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12642 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12644 (
12645 cat <<\_ASBOX
12646 ## ------------------------------------ ##
12647 ## Report this to bug-autoconf@gnu.org. ##
12648 ## ------------------------------------ ##
12649 _ASBOX
12650 ) |
12651 sed "s/^/$as_me: WARNING: /" >&2
12652 ;;
12653 esac
12654 echo "$as_me:$LINENO: checking for $ac_header" >&5
12655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12658 else
12659 eval "$as_ac_Header=$ac_header_preproc"
12660 fi
12661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12663
12664 fi
12665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12666 cat >>confdefs.h <<_ACEOF
12667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12668 _ACEOF
12669
12670 fi
12671
12672 done
12673
12674
12675 for ac_header in wchar.h
12676 do
12677 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12679 echo "$as_me:$LINENO: checking for $ac_header" >&5
12680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12682 echo $ECHO_N "(cached) $ECHO_C" >&6
12683 fi
12684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12685 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12686 else
12687 # Is the header compilable?
12688 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12689 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12690 cat >conftest.$ac_ext <<_ACEOF
12691 #line $LINENO "configure"
12692 /* confdefs.h. */
12693 _ACEOF
12694 cat confdefs.h >>conftest.$ac_ext
12695 cat >>conftest.$ac_ext <<_ACEOF
12696 /* end confdefs.h. */
12697 $ac_includes_default
12698 #include <$ac_header>
12699 _ACEOF
12700 rm -f conftest.$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>&5
12703 ac_status=$?
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); } &&
12706 { ac_try='test -s conftest.$ac_objext'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; }; then
12712 ac_header_compiler=yes
12713 else
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12716
12717 ac_header_compiler=no
12718 fi
12719 rm -f conftest.$ac_objext conftest.$ac_ext
12720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12721 echo "${ECHO_T}$ac_header_compiler" >&6
12722
12723 # Is the header present?
12724 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12725 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12726 cat >conftest.$ac_ext <<_ACEOF
12727 #line $LINENO "configure"
12728 /* confdefs.h. */
12729 _ACEOF
12730 cat confdefs.h >>conftest.$ac_ext
12731 cat >>conftest.$ac_ext <<_ACEOF
12732 /* end confdefs.h. */
12733 #include <$ac_header>
12734 _ACEOF
12735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12736 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12737 ac_status=$?
12738 grep -v '^ *+' conftest.er1 >conftest.err
12739 rm -f conftest.er1
12740 cat conftest.err >&5
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); } >/dev/null; then
12743 if test -s conftest.err; then
12744 ac_cpp_err=$ac_c_preproc_warn_flag
12745 else
12746 ac_cpp_err=
12747 fi
12748 else
12749 ac_cpp_err=yes
12750 fi
12751 if test -z "$ac_cpp_err"; then
12752 ac_header_preproc=yes
12753 else
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12756
12757 ac_header_preproc=no
12758 fi
12759 rm -f conftest.err conftest.$ac_ext
12760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12761 echo "${ECHO_T}$ac_header_preproc" >&6
12762
12763 # So? What about this header?
12764 case $ac_header_compiler:$ac_header_preproc in
12765 yes:no )
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12770 (
12771 cat <<\_ASBOX
12772 ## ------------------------------------ ##
12773 ## Report this to bug-autoconf@gnu.org. ##
12774 ## ------------------------------------ ##
12775 _ASBOX
12776 ) |
12777 sed "s/^/$as_me: WARNING: /" >&2
12778 ;;
12779 no:yes )
12780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12785 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12786 (
12787 cat <<\_ASBOX
12788 ## ------------------------------------ ##
12789 ## Report this to bug-autoconf@gnu.org. ##
12790 ## ------------------------------------ ##
12791 _ASBOX
12792 ) |
12793 sed "s/^/$as_me: WARNING: /" >&2
12794 ;;
12795 esac
12796 echo "$as_me:$LINENO: checking for $ac_header" >&5
12797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 else
12801 eval "$as_ac_Header=$ac_header_preproc"
12802 fi
12803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12805
12806 fi
12807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12808 cat >>confdefs.h <<_ACEOF
12809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12810 _ACEOF
12811
12812 fi
12813
12814 done
12815
12816
12817 if test "$ac_cv_header_wchar_h" != "yes"; then
12818
12819 for ac_header in wcstr.h
12820 do
12821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12823 echo "$as_me:$LINENO: checking for $ac_header" >&5
12824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12826 echo $ECHO_N "(cached) $ECHO_C" >&6
12827 fi
12828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12830 else
12831 # Is the header compilable?
12832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12834 cat >conftest.$ac_ext <<_ACEOF
12835 #line $LINENO "configure"
12836 /* confdefs.h. */
12837 _ACEOF
12838 cat confdefs.h >>conftest.$ac_ext
12839 cat >>conftest.$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 $ac_includes_default
12842 #include <$ac_header>
12843 _ACEOF
12844 rm -f conftest.$ac_objext
12845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12846 (eval $ac_compile) 2>&5
12847 ac_status=$?
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); } &&
12850 { ac_try='test -s conftest.$ac_objext'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12853 ac_status=$?
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; }; then
12856 ac_header_compiler=yes
12857 else
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.$ac_ext >&5
12860
12861 ac_header_compiler=no
12862 fi
12863 rm -f conftest.$ac_objext conftest.$ac_ext
12864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12865 echo "${ECHO_T}$ac_header_compiler" >&6
12866
12867 # Is the header present?
12868 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12869 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12870 cat >conftest.$ac_ext <<_ACEOF
12871 #line $LINENO "configure"
12872 /* confdefs.h. */
12873 _ACEOF
12874 cat confdefs.h >>conftest.$ac_ext
12875 cat >>conftest.$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12877 #include <$ac_header>
12878 _ACEOF
12879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12881 ac_status=$?
12882 grep -v '^ *+' conftest.er1 >conftest.err
12883 rm -f conftest.er1
12884 cat conftest.err >&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); } >/dev/null; then
12887 if test -s conftest.err; then
12888 ac_cpp_err=$ac_c_preproc_warn_flag
12889 else
12890 ac_cpp_err=
12891 fi
12892 else
12893 ac_cpp_err=yes
12894 fi
12895 if test -z "$ac_cpp_err"; then
12896 ac_header_preproc=yes
12897 else
12898 echo "$as_me: failed program was:" >&5
12899 sed 's/^/| /' conftest.$ac_ext >&5
12900
12901 ac_header_preproc=no
12902 fi
12903 rm -f conftest.err conftest.$ac_ext
12904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12905 echo "${ECHO_T}$ac_header_preproc" >&6
12906
12907 # So? What about this header?
12908 case $ac_header_compiler:$ac_header_preproc in
12909 yes:no )
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12911 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12914 (
12915 cat <<\_ASBOX
12916 ## ------------------------------------ ##
12917 ## Report this to bug-autoconf@gnu.org. ##
12918 ## ------------------------------------ ##
12919 _ASBOX
12920 ) |
12921 sed "s/^/$as_me: WARNING: /" >&2
12922 ;;
12923 no:yes )
12924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12930 (
12931 cat <<\_ASBOX
12932 ## ------------------------------------ ##
12933 ## Report this to bug-autoconf@gnu.org. ##
12934 ## ------------------------------------ ##
12935 _ASBOX
12936 ) |
12937 sed "s/^/$as_me: WARNING: /" >&2
12938 ;;
12939 esac
12940 echo "$as_me:$LINENO: checking for $ac_header" >&5
12941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12943 echo $ECHO_N "(cached) $ECHO_C" >&6
12944 else
12945 eval "$as_ac_Header=$ac_header_preproc"
12946 fi
12947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12949
12950 fi
12951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12952 cat >>confdefs.h <<_ACEOF
12953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12954 _ACEOF
12955
12956 fi
12957
12958 done
12959
12960 fi
12961
12962
12963 for ac_header in fnmatch.h
12964 do
12965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12967 echo "$as_me:$LINENO: checking for $ac_header" >&5
12968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12970 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 fi
12972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12974 else
12975 # Is the header compilable?
12976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12978 cat >conftest.$ac_ext <<_ACEOF
12979 #line $LINENO "configure"
12980 /* confdefs.h. */
12981 _ACEOF
12982 cat confdefs.h >>conftest.$ac_ext
12983 cat >>conftest.$ac_ext <<_ACEOF
12984 /* end confdefs.h. */
12985 $ac_includes_default
12986 #include <$ac_header>
12987 _ACEOF
12988 rm -f conftest.$ac_objext
12989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12990 (eval $ac_compile) 2>&5
12991 ac_status=$?
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try='test -s conftest.$ac_objext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12997 ac_status=$?
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 ac_header_compiler=yes
13001 else
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13004
13005 ac_header_compiler=no
13006 fi
13007 rm -f conftest.$ac_objext conftest.$ac_ext
13008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13009 echo "${ECHO_T}$ac_header_compiler" >&6
13010
13011 # Is the header present?
13012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13014 cat >conftest.$ac_ext <<_ACEOF
13015 #line $LINENO "configure"
13016 /* confdefs.h. */
13017 _ACEOF
13018 cat confdefs.h >>conftest.$ac_ext
13019 cat >>conftest.$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <$ac_header>
13022 _ACEOF
13023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13025 ac_status=$?
13026 grep -v '^ *+' conftest.er1 >conftest.err
13027 rm -f conftest.er1
13028 cat conftest.err >&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } >/dev/null; then
13031 if test -s conftest.err; then
13032 ac_cpp_err=$ac_c_preproc_warn_flag
13033 else
13034 ac_cpp_err=
13035 fi
13036 else
13037 ac_cpp_err=yes
13038 fi
13039 if test -z "$ac_cpp_err"; then
13040 ac_header_preproc=yes
13041 else
13042 echo "$as_me: failed program was:" >&5
13043 sed 's/^/| /' conftest.$ac_ext >&5
13044
13045 ac_header_preproc=no
13046 fi
13047 rm -f conftest.err conftest.$ac_ext
13048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13049 echo "${ECHO_T}$ac_header_preproc" >&6
13050
13051 # So? What about this header?
13052 case $ac_header_compiler:$ac_header_preproc in
13053 yes:no )
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13058 (
13059 cat <<\_ASBOX
13060 ## ------------------------------------ ##
13061 ## Report this to bug-autoconf@gnu.org. ##
13062 ## ------------------------------------ ##
13063 _ASBOX
13064 ) |
13065 sed "s/^/$as_me: WARNING: /" >&2
13066 ;;
13067 no:yes )
13068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13074 (
13075 cat <<\_ASBOX
13076 ## ------------------------------------ ##
13077 ## Report this to bug-autoconf@gnu.org. ##
13078 ## ------------------------------------ ##
13079 _ASBOX
13080 ) |
13081 sed "s/^/$as_me: WARNING: /" >&2
13082 ;;
13083 esac
13084 echo "$as_me:$LINENO: checking for $ac_header" >&5
13085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13087 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 else
13089 eval "$as_ac_Header=$ac_header_preproc"
13090 fi
13091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13093
13094 fi
13095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13096 cat >>confdefs.h <<_ACEOF
13097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13098 _ACEOF
13099
13100 fi
13101
13102 done
13103
13104
13105 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13106
13107 for ac_func in fnmatch
13108 do
13109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13110 echo "$as_me:$LINENO: checking for $ac_func" >&5
13111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13112 if eval "test \"\${$as_ac_var+set}\" = set"; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 else
13115 cat >conftest.$ac_ext <<_ACEOF
13116 #line $LINENO "configure"
13117 /* confdefs.h. */
13118 _ACEOF
13119 cat confdefs.h >>conftest.$ac_ext
13120 cat >>conftest.$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122 /* System header to define __stub macros and hopefully few prototypes,
13123 which can conflict with char $ac_func (); below.
13124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13125 <limits.h> exists even on freestanding compilers. */
13126 #ifdef __STDC__
13127 # include <limits.h>
13128 #else
13129 # include <assert.h>
13130 #endif
13131 /* Override any gcc2 internal prototype to avoid an error. */
13132 #ifdef __cplusplus
13133 extern "C"
13134 {
13135 #endif
13136 /* We use char because int might match the return type of a gcc2
13137 builtin and then its argument prototype would still apply. */
13138 char $ac_func ();
13139 /* The GNU C library defines this for functions which it implements
13140 to always fail with ENOSYS. Some functions are actually named
13141 something starting with __ and the normal name is an alias. */
13142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13143 choke me
13144 #else
13145 char (*f) () = $ac_func;
13146 #endif
13147 #ifdef __cplusplus
13148 }
13149 #endif
13150
13151 int
13152 main ()
13153 {
13154 return f != $ac_func;
13155 ;
13156 return 0;
13157 }
13158 _ACEOF
13159 rm -f conftest.$ac_objext conftest$ac_exeext
13160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13161 (eval $ac_link) 2>&5
13162 ac_status=$?
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); } &&
13165 { ac_try='test -s conftest$ac_exeext'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13168 ac_status=$?
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; }; then
13171 eval "$as_ac_var=yes"
13172 else
13173 echo "$as_me: failed program was:" >&5
13174 sed 's/^/| /' conftest.$ac_ext >&5
13175
13176 eval "$as_ac_var=no"
13177 fi
13178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13179 fi
13180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13182 if test `eval echo '${'$as_ac_var'}'` = yes; then
13183 cat >>confdefs.h <<_ACEOF
13184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13185 _ACEOF
13186
13187 fi
13188 done
13189
13190 fi
13191
13192
13193 for ac_header in langinfo.h
13194 do
13195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13197 echo "$as_me:$LINENO: checking for $ac_header" >&5
13198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6
13201 fi
13202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13204 else
13205 # Is the header compilable?
13206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13208 cat >conftest.$ac_ext <<_ACEOF
13209 #line $LINENO "configure"
13210 /* confdefs.h. */
13211 _ACEOF
13212 cat confdefs.h >>conftest.$ac_ext
13213 cat >>conftest.$ac_ext <<_ACEOF
13214 /* end confdefs.h. */
13215 $ac_includes_default
13216 #include <$ac_header>
13217 _ACEOF
13218 rm -f conftest.$ac_objext
13219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13220 (eval $ac_compile) 2>&5
13221 ac_status=$?
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try='test -s conftest.$ac_objext'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13227 ac_status=$?
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; }; then
13230 ac_header_compiler=yes
13231 else
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.$ac_ext >&5
13234
13235 ac_header_compiler=no
13236 fi
13237 rm -f conftest.$ac_objext conftest.$ac_ext
13238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13239 echo "${ECHO_T}$ac_header_compiler" >&6
13240
13241 # Is the header present?
13242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13244 cat >conftest.$ac_ext <<_ACEOF
13245 #line $LINENO "configure"
13246 /* confdefs.h. */
13247 _ACEOF
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 #include <$ac_header>
13252 _ACEOF
13253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13255 ac_status=$?
13256 grep -v '^ *+' conftest.er1 >conftest.err
13257 rm -f conftest.er1
13258 cat conftest.err >&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); } >/dev/null; then
13261 if test -s conftest.err; then
13262 ac_cpp_err=$ac_c_preproc_warn_flag
13263 else
13264 ac_cpp_err=
13265 fi
13266 else
13267 ac_cpp_err=yes
13268 fi
13269 if test -z "$ac_cpp_err"; then
13270 ac_header_preproc=yes
13271 else
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.$ac_ext >&5
13274
13275 ac_header_preproc=no
13276 fi
13277 rm -f conftest.err conftest.$ac_ext
13278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13279 echo "${ECHO_T}$ac_header_preproc" >&6
13280
13281 # So? What about this header?
13282 case $ac_header_compiler:$ac_header_preproc in
13283 yes:no )
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13288 (
13289 cat <<\_ASBOX
13290 ## ------------------------------------ ##
13291 ## Report this to bug-autoconf@gnu.org. ##
13292 ## ------------------------------------ ##
13293 _ASBOX
13294 ) |
13295 sed "s/^/$as_me: WARNING: /" >&2
13296 ;;
13297 no:yes )
13298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13304 (
13305 cat <<\_ASBOX
13306 ## ------------------------------------ ##
13307 ## Report this to bug-autoconf@gnu.org. ##
13308 ## ------------------------------------ ##
13309 _ASBOX
13310 ) |
13311 sed "s/^/$as_me: WARNING: /" >&2
13312 ;;
13313 esac
13314 echo "$as_me:$LINENO: checking for $ac_header" >&5
13315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13318 else
13319 eval "$as_ac_Header=$ac_header_preproc"
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
13324 fi
13325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13326 cat >>confdefs.h <<_ACEOF
13327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13328 _ACEOF
13329
13330 fi
13331
13332 done
13333
13334
13335 case "${host}" in
13336 *-pc-os2_emx | *-pc-os2-emx )
13337 if test $ac_cv_header_langinfo_h = "yes"; then
13338 LIBS="$LIBS -lintl"
13339 fi
13340 ;;
13341 esac
13342
13343 if test "$wxUSE_GUI" = "yes"; then
13344 if test "$wxUSE_UNIX" = "yes"; then
13345
13346 for ac_header in X11/XKBlib.h
13347 do
13348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13350 echo "$as_me:$LINENO: checking for $ac_header" >&5
13351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13353 echo $ECHO_N "(cached) $ECHO_C" >&6
13354 fi
13355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13357 else
13358 # Is the header compilable?
13359 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13360 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13361 cat >conftest.$ac_ext <<_ACEOF
13362 #line $LINENO "configure"
13363 /* confdefs.h. */
13364 _ACEOF
13365 cat confdefs.h >>conftest.$ac_ext
13366 cat >>conftest.$ac_ext <<_ACEOF
13367 /* end confdefs.h. */
13368 $ac_includes_default
13369 #include <$ac_header>
13370 _ACEOF
13371 rm -f conftest.$ac_objext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13373 (eval $ac_compile) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 ac_header_compiler=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13387
13388 ac_header_compiler=no
13389 fi
13390 rm -f conftest.$ac_objext conftest.$ac_ext
13391 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13392 echo "${ECHO_T}$ac_header_compiler" >&6
13393
13394 # Is the header present?
13395 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13396 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13397 cat >conftest.$ac_ext <<_ACEOF
13398 #line $LINENO "configure"
13399 /* confdefs.h. */
13400 _ACEOF
13401 cat confdefs.h >>conftest.$ac_ext
13402 cat >>conftest.$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404 #include <$ac_header>
13405 _ACEOF
13406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13408 ac_status=$?
13409 grep -v '^ *+' conftest.er1 >conftest.err
13410 rm -f conftest.er1
13411 cat conftest.err >&5
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); } >/dev/null; then
13414 if test -s conftest.err; then
13415 ac_cpp_err=$ac_c_preproc_warn_flag
13416 else
13417 ac_cpp_err=
13418 fi
13419 else
13420 ac_cpp_err=yes
13421 fi
13422 if test -z "$ac_cpp_err"; then
13423 ac_header_preproc=yes
13424 else
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13427
13428 ac_header_preproc=no
13429 fi
13430 rm -f conftest.err conftest.$ac_ext
13431 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13432 echo "${ECHO_T}$ac_header_preproc" >&6
13433
13434 # So? What about this header?
13435 case $ac_header_compiler:$ac_header_preproc in
13436 yes:no )
13437 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13438 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13441 (
13442 cat <<\_ASBOX
13443 ## ------------------------------------ ##
13444 ## Report this to bug-autoconf@gnu.org. ##
13445 ## ------------------------------------ ##
13446 _ASBOX
13447 ) |
13448 sed "s/^/$as_me: WARNING: /" >&2
13449 ;;
13450 no:yes )
13451 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13453 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13454 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13457 (
13458 cat <<\_ASBOX
13459 ## ------------------------------------ ##
13460 ## Report this to bug-autoconf@gnu.org. ##
13461 ## ------------------------------------ ##
13462 _ASBOX
13463 ) |
13464 sed "s/^/$as_me: WARNING: /" >&2
13465 ;;
13466 esac
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 else
13472 eval "$as_ac_Header=$ac_header_preproc"
13473 fi
13474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13476
13477 fi
13478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13479 cat >>confdefs.h <<_ACEOF
13480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13481 _ACEOF
13482
13483 fi
13484
13485 done
13486
13487 fi
13488 fi
13489
13490
13491 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13492 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13493 if test "${ac_cv_c_const+set}" = set; then
13494 echo $ECHO_N "(cached) $ECHO_C" >&6
13495 else
13496 cat >conftest.$ac_ext <<_ACEOF
13497 #line $LINENO "configure"
13498 /* confdefs.h. */
13499 _ACEOF
13500 cat confdefs.h >>conftest.$ac_ext
13501 cat >>conftest.$ac_ext <<_ACEOF
13502 /* end confdefs.h. */
13503
13504 int
13505 main ()
13506 {
13507 /* FIXME: Include the comments suggested by Paul. */
13508 #ifndef __cplusplus
13509 /* Ultrix mips cc rejects this. */
13510 typedef int charset[2];
13511 const charset x;
13512 /* SunOS 4.1.1 cc rejects this. */
13513 char const *const *ccp;
13514 char **p;
13515 /* NEC SVR4.0.2 mips cc rejects this. */
13516 struct point {int x, y;};
13517 static struct point const zero = {0,0};
13518 /* AIX XL C 1.02.0.0 rejects this.
13519 It does not let you subtract one const X* pointer from another in
13520 an arm of an if-expression whose if-part is not a constant
13521 expression */
13522 const char *g = "string";
13523 ccp = &g + (g ? g-g : 0);
13524 /* HPUX 7.0 cc rejects these. */
13525 ++ccp;
13526 p = (char**) ccp;
13527 ccp = (char const *const *) p;
13528 { /* SCO 3.2v4 cc rejects this. */
13529 char *t;
13530 char const *s = 0 ? (char *) 0 : (char const *) 0;
13531
13532 *t++ = 0;
13533 }
13534 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13535 int x[] = {25, 17};
13536 const int *foo = &x[0];
13537 ++foo;
13538 }
13539 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13540 typedef const int *iptr;
13541 iptr p = 0;
13542 ++p;
13543 }
13544 { /* AIX XL C 1.02.0.0 rejects this saying
13545 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13546 struct s { int j; const int *ap[3]; };
13547 struct s *b; b->j = 5;
13548 }
13549 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13550 const int foo = 10;
13551 }
13552 #endif
13553
13554 ;
13555 return 0;
13556 }
13557 _ACEOF
13558 rm -f conftest.$ac_objext
13559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13560 (eval $ac_compile) 2>&5
13561 ac_status=$?
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try='test -s conftest.$ac_objext'
13565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566 (eval $ac_try) 2>&5
13567 ac_status=$?
13568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569 (exit $ac_status); }; }; then
13570 ac_cv_c_const=yes
13571 else
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.$ac_ext >&5
13574
13575 ac_cv_c_const=no
13576 fi
13577 rm -f conftest.$ac_objext conftest.$ac_ext
13578 fi
13579 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13580 echo "${ECHO_T}$ac_cv_c_const" >&6
13581 if test $ac_cv_c_const = no; then
13582
13583 cat >>confdefs.h <<\_ACEOF
13584 #define const
13585 _ACEOF
13586
13587 fi
13588
13589 echo "$as_me:$LINENO: checking for inline" >&5
13590 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13591 if test "${ac_cv_c_inline+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 else
13594 ac_cv_c_inline=no
13595 for ac_kw in inline __inline__ __inline; do
13596 cat >conftest.$ac_ext <<_ACEOF
13597 #line $LINENO "configure"
13598 /* confdefs.h. */
13599 _ACEOF
13600 cat confdefs.h >>conftest.$ac_ext
13601 cat >>conftest.$ac_ext <<_ACEOF
13602 /* end confdefs.h. */
13603 #ifndef __cplusplus
13604 typedef int foo_t;
13605 static $ac_kw foo_t static_foo () {return 0; }
13606 $ac_kw foo_t foo () {return 0; }
13607 #endif
13608
13609 _ACEOF
13610 rm -f conftest.$ac_objext
13611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>&5
13613 ac_status=$?
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } &&
13616 { ac_try='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13619 ac_status=$?
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 ac_cv_c_inline=$ac_kw; break
13623 else
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13626
13627 fi
13628 rm -f conftest.$ac_objext conftest.$ac_ext
13629 done
13630
13631 fi
13632 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13633 echo "${ECHO_T}$ac_cv_c_inline" >&6
13634 case $ac_cv_c_inline in
13635 inline | yes) ;;
13636 no)
13637 cat >>confdefs.h <<\_ACEOF
13638 #define inline
13639 _ACEOF
13640 ;;
13641 *) cat >>confdefs.h <<_ACEOF
13642 #define inline $ac_cv_c_inline
13643 _ACEOF
13644 ;;
13645 esac
13646
13647
13648 echo "$as_me:$LINENO: checking for char" >&5
13649 echo $ECHO_N "checking for char... $ECHO_C" >&6
13650 if test "${ac_cv_type_char+set}" = set; then
13651 echo $ECHO_N "(cached) $ECHO_C" >&6
13652 else
13653 cat >conftest.$ac_ext <<_ACEOF
13654 #line $LINENO "configure"
13655 /* confdefs.h. */
13656 _ACEOF
13657 cat confdefs.h >>conftest.$ac_ext
13658 cat >>conftest.$ac_ext <<_ACEOF
13659 /* end confdefs.h. */
13660 $ac_includes_default
13661 int
13662 main ()
13663 {
13664 if ((char *) 0)
13665 return 0;
13666 if (sizeof (char))
13667 return 0;
13668 ;
13669 return 0;
13670 }
13671 _ACEOF
13672 rm -f conftest.$ac_objext
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>&5
13675 ac_status=$?
13676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13677 (exit $ac_status); } &&
13678 { ac_try='test -s conftest.$ac_objext'
13679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13680 (eval $ac_try) 2>&5
13681 ac_status=$?
13682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13683 (exit $ac_status); }; }; then
13684 ac_cv_type_char=yes
13685 else
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13688
13689 ac_cv_type_char=no
13690 fi
13691 rm -f conftest.$ac_objext conftest.$ac_ext
13692 fi
13693 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13694 echo "${ECHO_T}$ac_cv_type_char" >&6
13695
13696 echo "$as_me:$LINENO: checking size of char" >&5
13697 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13698 if test "${ac_cv_sizeof_char+set}" = set; then
13699 echo $ECHO_N "(cached) $ECHO_C" >&6
13700 else
13701 if test "$ac_cv_type_char" = yes; then
13702 # The cast to unsigned long works around a bug in the HP C Compiler
13703 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13704 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13705 # This bug is HP SR number 8606223364.
13706 if test "$cross_compiling" = yes; then
13707 # Depending upon the size, compute the lo and hi bounds.
13708 cat >conftest.$ac_ext <<_ACEOF
13709 #line $LINENO "configure"
13710 /* confdefs.h. */
13711 _ACEOF
13712 cat confdefs.h >>conftest.$ac_ext
13713 cat >>conftest.$ac_ext <<_ACEOF
13714 /* end confdefs.h. */
13715 $ac_includes_default
13716 int
13717 main ()
13718 {
13719 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13720 test_array [0] = 0
13721
13722 ;
13723 return 0;
13724 }
13725 _ACEOF
13726 rm -f conftest.$ac_objext
13727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13728 (eval $ac_compile) 2>&5
13729 ac_status=$?
13730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13731 (exit $ac_status); } &&
13732 { ac_try='test -s conftest.$ac_objext'
13733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13734 (eval $ac_try) 2>&5
13735 ac_status=$?
13736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13737 (exit $ac_status); }; }; then
13738 ac_lo=0 ac_mid=0
13739 while :; do
13740 cat >conftest.$ac_ext <<_ACEOF
13741 #line $LINENO "configure"
13742 /* confdefs.h. */
13743 _ACEOF
13744 cat confdefs.h >>conftest.$ac_ext
13745 cat >>conftest.$ac_ext <<_ACEOF
13746 /* end confdefs.h. */
13747 $ac_includes_default
13748 int
13749 main ()
13750 {
13751 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13752 test_array [0] = 0
13753
13754 ;
13755 return 0;
13756 }
13757 _ACEOF
13758 rm -f conftest.$ac_objext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13760 (eval $ac_compile) 2>&5
13761 ac_status=$?
13762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13763 (exit $ac_status); } &&
13764 { ac_try='test -s conftest.$ac_objext'
13765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13766 (eval $ac_try) 2>&5
13767 ac_status=$?
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 (exit $ac_status); }; }; then
13770 ac_hi=$ac_mid; break
13771 else
13772 echo "$as_me: failed program was:" >&5
13773 sed 's/^/| /' conftest.$ac_ext >&5
13774
13775 ac_lo=`expr $ac_mid + 1`
13776 if test $ac_lo -le $ac_mid; then
13777 ac_lo= ac_hi=
13778 break
13779 fi
13780 ac_mid=`expr 2 '*' $ac_mid + 1`
13781 fi
13782 rm -f conftest.$ac_objext conftest.$ac_ext
13783 done
13784 else
13785 echo "$as_me: failed program was:" >&5
13786 sed 's/^/| /' conftest.$ac_ext >&5
13787
13788 cat >conftest.$ac_ext <<_ACEOF
13789 #line $LINENO "configure"
13790 /* confdefs.h. */
13791 _ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795 $ac_includes_default
13796 int
13797 main ()
13798 {
13799 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13800 test_array [0] = 0
13801
13802 ;
13803 return 0;
13804 }
13805 _ACEOF
13806 rm -f conftest.$ac_objext
13807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13808 (eval $ac_compile) 2>&5
13809 ac_status=$?
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try='test -s conftest.$ac_objext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 ac_hi=-1 ac_mid=-1
13819 while :; do
13820 cat >conftest.$ac_ext <<_ACEOF
13821 #line $LINENO "configure"
13822 /* confdefs.h. */
13823 _ACEOF
13824 cat confdefs.h >>conftest.$ac_ext
13825 cat >>conftest.$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827 $ac_includes_default
13828 int
13829 main ()
13830 {
13831 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13832 test_array [0] = 0
13833
13834 ;
13835 return 0;
13836 }
13837 _ACEOF
13838 rm -f conftest.$ac_objext
13839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13840 (eval $ac_compile) 2>&5
13841 ac_status=$?
13842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843 (exit $ac_status); } &&
13844 { ac_try='test -s conftest.$ac_objext'
13845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13846 (eval $ac_try) 2>&5
13847 ac_status=$?
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); }; }; then
13850 ac_lo=$ac_mid; break
13851 else
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13854
13855 ac_hi=`expr '(' $ac_mid ')' - 1`
13856 if test $ac_mid -le $ac_hi; then
13857 ac_lo= ac_hi=
13858 break
13859 fi
13860 ac_mid=`expr 2 '*' $ac_mid`
13861 fi
13862 rm -f conftest.$ac_objext conftest.$ac_ext
13863 done
13864 else
13865 echo "$as_me: failed program was:" >&5
13866 sed 's/^/| /' conftest.$ac_ext >&5
13867
13868 ac_lo= ac_hi=
13869 fi
13870 rm -f conftest.$ac_objext conftest.$ac_ext
13871 fi
13872 rm -f conftest.$ac_objext conftest.$ac_ext
13873 # Binary search between lo and hi bounds.
13874 while test "x$ac_lo" != "x$ac_hi"; do
13875 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13876 cat >conftest.$ac_ext <<_ACEOF
13877 #line $LINENO "configure"
13878 /* confdefs.h. */
13879 _ACEOF
13880 cat confdefs.h >>conftest.$ac_ext
13881 cat >>conftest.$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13883 $ac_includes_default
13884 int
13885 main ()
13886 {
13887 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13888 test_array [0] = 0
13889
13890 ;
13891 return 0;
13892 }
13893 _ACEOF
13894 rm -f conftest.$ac_objext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13896 (eval $ac_compile) 2>&5
13897 ac_status=$?
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); } &&
13900 { ac_try='test -s conftest.$ac_objext'
13901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13902 (eval $ac_try) 2>&5
13903 ac_status=$?
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); }; }; then
13906 ac_hi=$ac_mid
13907 else
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.$ac_ext >&5
13910
13911 ac_lo=`expr '(' $ac_mid ')' + 1`
13912 fi
13913 rm -f conftest.$ac_objext conftest.$ac_ext
13914 done
13915 case $ac_lo in
13916 ?*) ac_cv_sizeof_char=$ac_lo;;
13917 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13918 See \`config.log' for more details." >&5
13919 echo "$as_me: error: cannot compute sizeof (char), 77
13920 See \`config.log' for more details." >&2;}
13921 { (exit 1); exit 1; }; } ;;
13922 esac
13923 else
13924 if test "$cross_compiling" = yes; then
13925 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13926 See \`config.log' for more details." >&5
13927 echo "$as_me: error: cannot run test program while cross compiling
13928 See \`config.log' for more details." >&2;}
13929 { (exit 1); exit 1; }; }
13930 else
13931 cat >conftest.$ac_ext <<_ACEOF
13932 #line $LINENO "configure"
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938 $ac_includes_default
13939 long longval () { return (long) (sizeof (char)); }
13940 unsigned long ulongval () { return (long) (sizeof (char)); }
13941 #include <stdio.h>
13942 #include <stdlib.h>
13943 int
13944 main ()
13945 {
13946
13947 FILE *f = fopen ("conftest.val", "w");
13948 if (! f)
13949 exit (1);
13950 if (((long) (sizeof (char))) < 0)
13951 {
13952 long i = longval ();
13953 if (i != ((long) (sizeof (char))))
13954 exit (1);
13955 fprintf (f, "%ld\n", i);
13956 }
13957 else
13958 {
13959 unsigned long i = ulongval ();
13960 if (i != ((long) (sizeof (char))))
13961 exit (1);
13962 fprintf (f, "%lu\n", i);
13963 }
13964 exit (ferror (f) || fclose (f) != 0);
13965
13966 ;
13967 return 0;
13968 }
13969 _ACEOF
13970 rm -f conftest$ac_exeext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13972 (eval $ac_link) 2>&5
13973 ac_status=$?
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13977 (eval $ac_try) 2>&5
13978 ac_status=$?
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); }; }; then
13981 ac_cv_sizeof_char=`cat conftest.val`
13982 else
13983 echo "$as_me: program exited with status $ac_status" >&5
13984 echo "$as_me: failed program was:" >&5
13985 sed 's/^/| /' conftest.$ac_ext >&5
13986
13987 ( exit $ac_status )
13988 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13989 See \`config.log' for more details." >&5
13990 echo "$as_me: error: cannot compute sizeof (char), 77
13991 See \`config.log' for more details." >&2;}
13992 { (exit 1); exit 1; }; }
13993 fi
13994 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13995 fi
13996 fi
13997 rm -f conftest.val
13998 else
13999 ac_cv_sizeof_char=0
14000 fi
14001 fi
14002 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14003 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14004 cat >>confdefs.h <<_ACEOF
14005 #define SIZEOF_CHAR $ac_cv_sizeof_char
14006 _ACEOF
14007
14008
14009 echo "$as_me:$LINENO: checking for short" >&5
14010 echo $ECHO_N "checking for short... $ECHO_C" >&6
14011 if test "${ac_cv_type_short+set}" = set; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 else
14014 cat >conftest.$ac_ext <<_ACEOF
14015 #line $LINENO "configure"
14016 /* confdefs.h. */
14017 _ACEOF
14018 cat confdefs.h >>conftest.$ac_ext
14019 cat >>conftest.$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14021 $ac_includes_default
14022 int
14023 main ()
14024 {
14025 if ((short *) 0)
14026 return 0;
14027 if (sizeof (short))
14028 return 0;
14029 ;
14030 return 0;
14031 }
14032 _ACEOF
14033 rm -f conftest.$ac_objext
14034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14035 (eval $ac_compile) 2>&5
14036 ac_status=$?
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try='test -s conftest.$ac_objext'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14042 ac_status=$?
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14045 ac_cv_type_short=yes
14046 else
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.$ac_ext >&5
14049
14050 ac_cv_type_short=no
14051 fi
14052 rm -f conftest.$ac_objext conftest.$ac_ext
14053 fi
14054 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14055 echo "${ECHO_T}$ac_cv_type_short" >&6
14056
14057 echo "$as_me:$LINENO: checking size of short" >&5
14058 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14059 if test "${ac_cv_sizeof_short+set}" = set; then
14060 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 else
14062 if test "$ac_cv_type_short" = yes; then
14063 # The cast to unsigned long works around a bug in the HP C Compiler
14064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14066 # This bug is HP SR number 8606223364.
14067 if test "$cross_compiling" = yes; then
14068 # Depending upon the size, compute the lo and hi bounds.
14069 cat >conftest.$ac_ext <<_ACEOF
14070 #line $LINENO "configure"
14071 /* confdefs.h. */
14072 _ACEOF
14073 cat confdefs.h >>conftest.$ac_ext
14074 cat >>conftest.$ac_ext <<_ACEOF
14075 /* end confdefs.h. */
14076 $ac_includes_default
14077 int
14078 main ()
14079 {
14080 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14081 test_array [0] = 0
14082
14083 ;
14084 return 0;
14085 }
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>&5
14090 ac_status=$?
14091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14092 (exit $ac_status); } &&
14093 { ac_try='test -s conftest.$ac_objext'
14094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14095 (eval $ac_try) 2>&5
14096 ac_status=$?
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); }; }; then
14099 ac_lo=0 ac_mid=0
14100 while :; do
14101 cat >conftest.$ac_ext <<_ACEOF
14102 #line $LINENO "configure"
14103 /* confdefs.h. */
14104 _ACEOF
14105 cat confdefs.h >>conftest.$ac_ext
14106 cat >>conftest.$ac_ext <<_ACEOF
14107 /* end confdefs.h. */
14108 $ac_includes_default
14109 int
14110 main ()
14111 {
14112 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14113 test_array [0] = 0
14114
14115 ;
14116 return 0;
14117 }
14118 _ACEOF
14119 rm -f conftest.$ac_objext
14120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14121 (eval $ac_compile) 2>&5
14122 ac_status=$?
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } &&
14125 { ac_try='test -s conftest.$ac_objext'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14128 ac_status=$?
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; }; then
14131 ac_hi=$ac_mid; break
14132 else
14133 echo "$as_me: failed program was:" >&5
14134 sed 's/^/| /' conftest.$ac_ext >&5
14135
14136 ac_lo=`expr $ac_mid + 1`
14137 if test $ac_lo -le $ac_mid; then
14138 ac_lo= ac_hi=
14139 break
14140 fi
14141 ac_mid=`expr 2 '*' $ac_mid + 1`
14142 fi
14143 rm -f conftest.$ac_objext conftest.$ac_ext
14144 done
14145 else
14146 echo "$as_me: failed program was:" >&5
14147 sed 's/^/| /' conftest.$ac_ext >&5
14148
14149 cat >conftest.$ac_ext <<_ACEOF
14150 #line $LINENO "configure"
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 $ac_includes_default
14157 int
14158 main ()
14159 {
14160 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14161 test_array [0] = 0
14162
14163 ;
14164 return 0;
14165 }
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 (eval $ac_compile) 2>&5
14170 ac_status=$?
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } &&
14173 { ac_try='test -s conftest.$ac_objext'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14176 ac_status=$?
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; }; then
14179 ac_hi=-1 ac_mid=-1
14180 while :; do
14181 cat >conftest.$ac_ext <<_ACEOF
14182 #line $LINENO "configure"
14183 /* confdefs.h. */
14184 _ACEOF
14185 cat confdefs.h >>conftest.$ac_ext
14186 cat >>conftest.$ac_ext <<_ACEOF
14187 /* end confdefs.h. */
14188 $ac_includes_default
14189 int
14190 main ()
14191 {
14192 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14193 test_array [0] = 0
14194
14195 ;
14196 return 0;
14197 }
14198 _ACEOF
14199 rm -f conftest.$ac_objext
14200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14201 (eval $ac_compile) 2>&5
14202 ac_status=$?
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try='test -s conftest.$ac_objext'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; }; then
14211 ac_lo=$ac_mid; break
14212 else
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14215
14216 ac_hi=`expr '(' $ac_mid ')' - 1`
14217 if test $ac_mid -le $ac_hi; then
14218 ac_lo= ac_hi=
14219 break
14220 fi
14221 ac_mid=`expr 2 '*' $ac_mid`
14222 fi
14223 rm -f conftest.$ac_objext conftest.$ac_ext
14224 done
14225 else
14226 echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.$ac_ext >&5
14228
14229 ac_lo= ac_hi=
14230 fi
14231 rm -f conftest.$ac_objext conftest.$ac_ext
14232 fi
14233 rm -f conftest.$ac_objext conftest.$ac_ext
14234 # Binary search between lo and hi bounds.
14235 while test "x$ac_lo" != "x$ac_hi"; do
14236 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14237 cat >conftest.$ac_ext <<_ACEOF
14238 #line $LINENO "configure"
14239 /* confdefs.h. */
14240 _ACEOF
14241 cat confdefs.h >>conftest.$ac_ext
14242 cat >>conftest.$ac_ext <<_ACEOF
14243 /* end confdefs.h. */
14244 $ac_includes_default
14245 int
14246 main ()
14247 {
14248 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14249 test_array [0] = 0
14250
14251 ;
14252 return 0;
14253 }
14254 _ACEOF
14255 rm -f conftest.$ac_objext
14256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14257 (eval $ac_compile) 2>&5
14258 ac_status=$?
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } &&
14261 { ac_try='test -s conftest.$ac_objext'
14262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14263 (eval $ac_try) 2>&5
14264 ac_status=$?
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); }; }; then
14267 ac_hi=$ac_mid
14268 else
14269 echo "$as_me: failed program was:" >&5
14270 sed 's/^/| /' conftest.$ac_ext >&5
14271
14272 ac_lo=`expr '(' $ac_mid ')' + 1`
14273 fi
14274 rm -f conftest.$ac_objext conftest.$ac_ext
14275 done
14276 case $ac_lo in
14277 ?*) ac_cv_sizeof_short=$ac_lo;;
14278 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14279 See \`config.log' for more details." >&5
14280 echo "$as_me: error: cannot compute sizeof (short), 77
14281 See \`config.log' for more details." >&2;}
14282 { (exit 1); exit 1; }; } ;;
14283 esac
14284 else
14285 if test "$cross_compiling" = yes; then
14286 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14287 See \`config.log' for more details." >&5
14288 echo "$as_me: error: cannot run test program while cross compiling
14289 See \`config.log' for more details." >&2;}
14290 { (exit 1); exit 1; }; }
14291 else
14292 cat >conftest.$ac_ext <<_ACEOF
14293 #line $LINENO "configure"
14294 /* confdefs.h. */
14295 _ACEOF
14296 cat confdefs.h >>conftest.$ac_ext
14297 cat >>conftest.$ac_ext <<_ACEOF
14298 /* end confdefs.h. */
14299 $ac_includes_default
14300 long longval () { return (long) (sizeof (short)); }
14301 unsigned long ulongval () { return (long) (sizeof (short)); }
14302 #include <stdio.h>
14303 #include <stdlib.h>
14304 int
14305 main ()
14306 {
14307
14308 FILE *f = fopen ("conftest.val", "w");
14309 if (! f)
14310 exit (1);
14311 if (((long) (sizeof (short))) < 0)
14312 {
14313 long i = longval ();
14314 if (i != ((long) (sizeof (short))))
14315 exit (1);
14316 fprintf (f, "%ld\n", i);
14317 }
14318 else
14319 {
14320 unsigned long i = ulongval ();
14321 if (i != ((long) (sizeof (short))))
14322 exit (1);
14323 fprintf (f, "%lu\n", i);
14324 }
14325 exit (ferror (f) || fclose (f) != 0);
14326
14327 ;
14328 return 0;
14329 }
14330 _ACEOF
14331 rm -f conftest$ac_exeext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14333 (eval $ac_link) 2>&5
14334 ac_status=$?
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14339 ac_status=$?
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 ac_cv_sizeof_short=`cat conftest.val`
14343 else
14344 echo "$as_me: program exited with status $ac_status" >&5
14345 echo "$as_me: failed program was:" >&5
14346 sed 's/^/| /' conftest.$ac_ext >&5
14347
14348 ( exit $ac_status )
14349 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14350 See \`config.log' for more details." >&5
14351 echo "$as_me: error: cannot compute sizeof (short), 77
14352 See \`config.log' for more details." >&2;}
14353 { (exit 1); exit 1; }; }
14354 fi
14355 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14356 fi
14357 fi
14358 rm -f conftest.val
14359 else
14360 ac_cv_sizeof_short=0
14361 fi
14362 fi
14363 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14364 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14365 cat >>confdefs.h <<_ACEOF
14366 #define SIZEOF_SHORT $ac_cv_sizeof_short
14367 _ACEOF
14368
14369
14370 echo "$as_me:$LINENO: checking for void *" >&5
14371 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14372 if test "${ac_cv_type_void_p+set}" = set; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 else
14375 cat >conftest.$ac_ext <<_ACEOF
14376 #line $LINENO "configure"
14377 /* confdefs.h. */
14378 _ACEOF
14379 cat confdefs.h >>conftest.$ac_ext
14380 cat >>conftest.$ac_ext <<_ACEOF
14381 /* end confdefs.h. */
14382 $ac_includes_default
14383 int
14384 main ()
14385 {
14386 if ((void * *) 0)
14387 return 0;
14388 if (sizeof (void *))
14389 return 0;
14390 ;
14391 return 0;
14392 }
14393 _ACEOF
14394 rm -f conftest.$ac_objext
14395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14396 (eval $ac_compile) 2>&5
14397 ac_status=$?
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } &&
14400 { ac_try='test -s conftest.$ac_objext'
14401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14402 (eval $ac_try) 2>&5
14403 ac_status=$?
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 ac_cv_type_void_p=yes
14407 else
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.$ac_ext >&5
14410
14411 ac_cv_type_void_p=no
14412 fi
14413 rm -f conftest.$ac_objext conftest.$ac_ext
14414 fi
14415 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14416 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14417
14418 echo "$as_me:$LINENO: checking size of void *" >&5
14419 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14420 if test "${ac_cv_sizeof_void_p+set}" = set; then
14421 echo $ECHO_N "(cached) $ECHO_C" >&6
14422 else
14423 if test "$ac_cv_type_void_p" = yes; then
14424 # The cast to unsigned long works around a bug in the HP C Compiler
14425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14427 # This bug is HP SR number 8606223364.
14428 if test "$cross_compiling" = yes; then
14429 # Depending upon the size, compute the lo and hi bounds.
14430 cat >conftest.$ac_ext <<_ACEOF
14431 #line $LINENO "configure"
14432 /* confdefs.h. */
14433 _ACEOF
14434 cat confdefs.h >>conftest.$ac_ext
14435 cat >>conftest.$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437 $ac_includes_default
14438 int
14439 main ()
14440 {
14441 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14442 test_array [0] = 0
14443
14444 ;
14445 return 0;
14446 }
14447 _ACEOF
14448 rm -f conftest.$ac_objext
14449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14450 (eval $ac_compile) 2>&5
14451 ac_status=$?
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); } &&
14454 { ac_try='test -s conftest.$ac_objext'
14455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14456 (eval $ac_try) 2>&5
14457 ac_status=$?
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14459 (exit $ac_status); }; }; then
14460 ac_lo=0 ac_mid=0
14461 while :; do
14462 cat >conftest.$ac_ext <<_ACEOF
14463 #line $LINENO "configure"
14464 /* confdefs.h. */
14465 _ACEOF
14466 cat confdefs.h >>conftest.$ac_ext
14467 cat >>conftest.$ac_ext <<_ACEOF
14468 /* end confdefs.h. */
14469 $ac_includes_default
14470 int
14471 main ()
14472 {
14473 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14474 test_array [0] = 0
14475
14476 ;
14477 return 0;
14478 }
14479 _ACEOF
14480 rm -f conftest.$ac_objext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14482 (eval $ac_compile) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } &&
14486 { ac_try='test -s conftest.$ac_objext'
14487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14488 (eval $ac_try) 2>&5
14489 ac_status=$?
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); }; }; then
14492 ac_hi=$ac_mid; break
14493 else
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14496
14497 ac_lo=`expr $ac_mid + 1`
14498 if test $ac_lo -le $ac_mid; then
14499 ac_lo= ac_hi=
14500 break
14501 fi
14502 ac_mid=`expr 2 '*' $ac_mid + 1`
14503 fi
14504 rm -f conftest.$ac_objext conftest.$ac_ext
14505 done
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14509
14510 cat >conftest.$ac_ext <<_ACEOF
14511 #line $LINENO "configure"
14512 /* confdefs.h. */
14513 _ACEOF
14514 cat confdefs.h >>conftest.$ac_ext
14515 cat >>conftest.$ac_ext <<_ACEOF
14516 /* end confdefs.h. */
14517 $ac_includes_default
14518 int
14519 main ()
14520 {
14521 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14522 test_array [0] = 0
14523
14524 ;
14525 return 0;
14526 }
14527 _ACEOF
14528 rm -f conftest.$ac_objext
14529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14530 (eval $ac_compile) 2>&5
14531 ac_status=$?
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); } &&
14534 { ac_try='test -s conftest.$ac_objext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14537 ac_status=$?
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14540 ac_hi=-1 ac_mid=-1
14541 while :; do
14542 cat >conftest.$ac_ext <<_ACEOF
14543 #line $LINENO "configure"
14544 /* confdefs.h. */
14545 _ACEOF
14546 cat confdefs.h >>conftest.$ac_ext
14547 cat >>conftest.$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14549 $ac_includes_default
14550 int
14551 main ()
14552 {
14553 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14554 test_array [0] = 0
14555
14556 ;
14557 return 0;
14558 }
14559 _ACEOF
14560 rm -f conftest.$ac_objext
14561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14562 (eval $ac_compile) 2>&5
14563 ac_status=$?
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); } &&
14566 { ac_try='test -s conftest.$ac_objext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14569 ac_status=$?
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 ac_lo=$ac_mid; break
14573 else
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14576
14577 ac_hi=`expr '(' $ac_mid ')' - 1`
14578 if test $ac_mid -le $ac_hi; then
14579 ac_lo= ac_hi=
14580 break
14581 fi
14582 ac_mid=`expr 2 '*' $ac_mid`
14583 fi
14584 rm -f conftest.$ac_objext conftest.$ac_ext
14585 done
14586 else
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.$ac_ext >&5
14589
14590 ac_lo= ac_hi=
14591 fi
14592 rm -f conftest.$ac_objext conftest.$ac_ext
14593 fi
14594 rm -f conftest.$ac_objext conftest.$ac_ext
14595 # Binary search between lo and hi bounds.
14596 while test "x$ac_lo" != "x$ac_hi"; do
14597 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14598 cat >conftest.$ac_ext <<_ACEOF
14599 #line $LINENO "configure"
14600 /* confdefs.h. */
14601 _ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14605 $ac_includes_default
14606 int
14607 main ()
14608 {
14609 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14610 test_array [0] = 0
14611
14612 ;
14613 return 0;
14614 }
14615 _ACEOF
14616 rm -f conftest.$ac_objext
14617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14618 (eval $ac_compile) 2>&5
14619 ac_status=$?
14620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14621 (exit $ac_status); } &&
14622 { ac_try='test -s conftest.$ac_objext'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14625 ac_status=$?
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; }; then
14628 ac_hi=$ac_mid
14629 else
14630 echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.$ac_ext >&5
14632
14633 ac_lo=`expr '(' $ac_mid ')' + 1`
14634 fi
14635 rm -f conftest.$ac_objext conftest.$ac_ext
14636 done
14637 case $ac_lo in
14638 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14639 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14640 See \`config.log' for more details." >&5
14641 echo "$as_me: error: cannot compute sizeof (void *), 77
14642 See \`config.log' for more details." >&2;}
14643 { (exit 1); exit 1; }; } ;;
14644 esac
14645 else
14646 if test "$cross_compiling" = yes; then
14647 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14648 See \`config.log' for more details." >&5
14649 echo "$as_me: error: cannot run test program while cross compiling
14650 See \`config.log' for more details." >&2;}
14651 { (exit 1); exit 1; }; }
14652 else
14653 cat >conftest.$ac_ext <<_ACEOF
14654 #line $LINENO "configure"
14655 /* confdefs.h. */
14656 _ACEOF
14657 cat confdefs.h >>conftest.$ac_ext
14658 cat >>conftest.$ac_ext <<_ACEOF
14659 /* end confdefs.h. */
14660 $ac_includes_default
14661 long longval () { return (long) (sizeof (void *)); }
14662 unsigned long ulongval () { return (long) (sizeof (void *)); }
14663 #include <stdio.h>
14664 #include <stdlib.h>
14665 int
14666 main ()
14667 {
14668
14669 FILE *f = fopen ("conftest.val", "w");
14670 if (! f)
14671 exit (1);
14672 if (((long) (sizeof (void *))) < 0)
14673 {
14674 long i = longval ();
14675 if (i != ((long) (sizeof (void *))))
14676 exit (1);
14677 fprintf (f, "%ld\n", i);
14678 }
14679 else
14680 {
14681 unsigned long i = ulongval ();
14682 if (i != ((long) (sizeof (void *))))
14683 exit (1);
14684 fprintf (f, "%lu\n", i);
14685 }
14686 exit (ferror (f) || fclose (f) != 0);
14687
14688 ;
14689 return 0;
14690 }
14691 _ACEOF
14692 rm -f conftest$ac_exeext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14694 (eval $ac_link) 2>&5
14695 ac_status=$?
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699 (eval $ac_try) 2>&5
14700 ac_status=$?
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); }; }; then
14703 ac_cv_sizeof_void_p=`cat conftest.val`
14704 else
14705 echo "$as_me: program exited with status $ac_status" >&5
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14708
14709 ( exit $ac_status )
14710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14711 See \`config.log' for more details." >&5
14712 echo "$as_me: error: cannot compute sizeof (void *), 77
14713 See \`config.log' for more details." >&2;}
14714 { (exit 1); exit 1; }; }
14715 fi
14716 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14717 fi
14718 fi
14719 rm -f conftest.val
14720 else
14721 ac_cv_sizeof_void_p=0
14722 fi
14723 fi
14724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14725 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14726 cat >>confdefs.h <<_ACEOF
14727 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14728 _ACEOF
14729
14730
14731 echo "$as_me:$LINENO: checking for int" >&5
14732 echo $ECHO_N "checking for int... $ECHO_C" >&6
14733 if test "${ac_cv_type_int+set}" = set; then
14734 echo $ECHO_N "(cached) $ECHO_C" >&6
14735 else
14736 cat >conftest.$ac_ext <<_ACEOF
14737 #line $LINENO "configure"
14738 /* confdefs.h. */
14739 _ACEOF
14740 cat confdefs.h >>conftest.$ac_ext
14741 cat >>conftest.$ac_ext <<_ACEOF
14742 /* end confdefs.h. */
14743 $ac_includes_default
14744 int
14745 main ()
14746 {
14747 if ((int *) 0)
14748 return 0;
14749 if (sizeof (int))
14750 return 0;
14751 ;
14752 return 0;
14753 }
14754 _ACEOF
14755 rm -f conftest.$ac_objext
14756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14757 (eval $ac_compile) 2>&5
14758 ac_status=$?
14759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14760 (exit $ac_status); } &&
14761 { ac_try='test -s conftest.$ac_objext'
14762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14763 (eval $ac_try) 2>&5
14764 ac_status=$?
14765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14766 (exit $ac_status); }; }; then
14767 ac_cv_type_int=yes
14768 else
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.$ac_ext >&5
14771
14772 ac_cv_type_int=no
14773 fi
14774 rm -f conftest.$ac_objext conftest.$ac_ext
14775 fi
14776 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14777 echo "${ECHO_T}$ac_cv_type_int" >&6
14778
14779 echo "$as_me:$LINENO: checking size of int" >&5
14780 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14781 if test "${ac_cv_sizeof_int+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14783 else
14784 if test "$ac_cv_type_int" = yes; then
14785 # The cast to unsigned long works around a bug in the HP C Compiler
14786 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14787 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14788 # This bug is HP SR number 8606223364.
14789 if test "$cross_compiling" = yes; then
14790 # Depending upon the size, compute the lo and hi bounds.
14791 cat >conftest.$ac_ext <<_ACEOF
14792 #line $LINENO "configure"
14793 /* confdefs.h. */
14794 _ACEOF
14795 cat confdefs.h >>conftest.$ac_ext
14796 cat >>conftest.$ac_ext <<_ACEOF
14797 /* end confdefs.h. */
14798 $ac_includes_default
14799 int
14800 main ()
14801 {
14802 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14803 test_array [0] = 0
14804
14805 ;
14806 return 0;
14807 }
14808 _ACEOF
14809 rm -f conftest.$ac_objext
14810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14811 (eval $ac_compile) 2>&5
14812 ac_status=$?
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); } &&
14815 { ac_try='test -s conftest.$ac_objext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_lo=0 ac_mid=0
14822 while :; do
14823 cat >conftest.$ac_ext <<_ACEOF
14824 #line $LINENO "configure"
14825 /* confdefs.h. */
14826 _ACEOF
14827 cat confdefs.h >>conftest.$ac_ext
14828 cat >>conftest.$ac_ext <<_ACEOF
14829 /* end confdefs.h. */
14830 $ac_includes_default
14831 int
14832 main ()
14833 {
14834 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14835 test_array [0] = 0
14836
14837 ;
14838 return 0;
14839 }
14840 _ACEOF
14841 rm -f conftest.$ac_objext
14842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14843 (eval $ac_compile) 2>&5
14844 ac_status=$?
14845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14846 (exit $ac_status); } &&
14847 { ac_try='test -s conftest.$ac_objext'
14848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14849 (eval $ac_try) 2>&5
14850 ac_status=$?
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); }; }; then
14853 ac_hi=$ac_mid; break
14854 else
14855 echo "$as_me: failed program was:" >&5
14856 sed 's/^/| /' conftest.$ac_ext >&5
14857
14858 ac_lo=`expr $ac_mid + 1`
14859 if test $ac_lo -le $ac_mid; then
14860 ac_lo= ac_hi=
14861 break
14862 fi
14863 ac_mid=`expr 2 '*' $ac_mid + 1`
14864 fi
14865 rm -f conftest.$ac_objext conftest.$ac_ext
14866 done
14867 else
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14870
14871 cat >conftest.$ac_ext <<_ACEOF
14872 #line $LINENO "configure"
14873 /* confdefs.h. */
14874 _ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 $ac_includes_default
14879 int
14880 main ()
14881 {
14882 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14883 test_array [0] = 0
14884
14885 ;
14886 return 0;
14887 }
14888 _ACEOF
14889 rm -f conftest.$ac_objext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>&5
14892 ac_status=$?
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } &&
14895 { ac_try='test -s conftest.$ac_objext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 ac_hi=-1 ac_mid=-1
14902 while :; do
14903 cat >conftest.$ac_ext <<_ACEOF
14904 #line $LINENO "configure"
14905 /* confdefs.h. */
14906 _ACEOF
14907 cat confdefs.h >>conftest.$ac_ext
14908 cat >>conftest.$ac_ext <<_ACEOF
14909 /* end confdefs.h. */
14910 $ac_includes_default
14911 int
14912 main ()
14913 {
14914 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14915 test_array [0] = 0
14916
14917 ;
14918 return 0;
14919 }
14920 _ACEOF
14921 rm -f conftest.$ac_objext
14922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14923 (eval $ac_compile) 2>&5
14924 ac_status=$?
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try='test -s conftest.$ac_objext'
14928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14929 (eval $ac_try) 2>&5
14930 ac_status=$?
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; }; then
14933 ac_lo=$ac_mid; break
14934 else
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14937
14938 ac_hi=`expr '(' $ac_mid ')' - 1`
14939 if test $ac_mid -le $ac_hi; then
14940 ac_lo= ac_hi=
14941 break
14942 fi
14943 ac_mid=`expr 2 '*' $ac_mid`
14944 fi
14945 rm -f conftest.$ac_objext conftest.$ac_ext
14946 done
14947 else
14948 echo "$as_me: failed program was:" >&5
14949 sed 's/^/| /' conftest.$ac_ext >&5
14950
14951 ac_lo= ac_hi=
14952 fi
14953 rm -f conftest.$ac_objext conftest.$ac_ext
14954 fi
14955 rm -f conftest.$ac_objext conftest.$ac_ext
14956 # Binary search between lo and hi bounds.
14957 while test "x$ac_lo" != "x$ac_hi"; do
14958 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14959 cat >conftest.$ac_ext <<_ACEOF
14960 #line $LINENO "configure"
14961 /* confdefs.h. */
14962 _ACEOF
14963 cat confdefs.h >>conftest.$ac_ext
14964 cat >>conftest.$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14966 $ac_includes_default
14967 int
14968 main ()
14969 {
14970 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14971 test_array [0] = 0
14972
14973 ;
14974 return 0;
14975 }
14976 _ACEOF
14977 rm -f conftest.$ac_objext
14978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14979 (eval $ac_compile) 2>&5
14980 ac_status=$?
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } &&
14983 { ac_try='test -s conftest.$ac_objext'
14984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14985 (eval $ac_try) 2>&5
14986 ac_status=$?
14987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14988 (exit $ac_status); }; }; then
14989 ac_hi=$ac_mid
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14993
14994 ac_lo=`expr '(' $ac_mid ')' + 1`
14995 fi
14996 rm -f conftest.$ac_objext conftest.$ac_ext
14997 done
14998 case $ac_lo in
14999 ?*) ac_cv_sizeof_int=$ac_lo;;
15000 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15001 See \`config.log' for more details." >&5
15002 echo "$as_me: error: cannot compute sizeof (int), 77
15003 See \`config.log' for more details." >&2;}
15004 { (exit 1); exit 1; }; } ;;
15005 esac
15006 else
15007 if test "$cross_compiling" = yes; then
15008 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15009 See \`config.log' for more details." >&5
15010 echo "$as_me: error: cannot run test program while cross compiling
15011 See \`config.log' for more details." >&2;}
15012 { (exit 1); exit 1; }; }
15013 else
15014 cat >conftest.$ac_ext <<_ACEOF
15015 #line $LINENO "configure"
15016 /* confdefs.h. */
15017 _ACEOF
15018 cat confdefs.h >>conftest.$ac_ext
15019 cat >>conftest.$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 $ac_includes_default
15022 long longval () { return (long) (sizeof (int)); }
15023 unsigned long ulongval () { return (long) (sizeof (int)); }
15024 #include <stdio.h>
15025 #include <stdlib.h>
15026 int
15027 main ()
15028 {
15029
15030 FILE *f = fopen ("conftest.val", "w");
15031 if (! f)
15032 exit (1);
15033 if (((long) (sizeof (int))) < 0)
15034 {
15035 long i = longval ();
15036 if (i != ((long) (sizeof (int))))
15037 exit (1);
15038 fprintf (f, "%ld\n", i);
15039 }
15040 else
15041 {
15042 unsigned long i = ulongval ();
15043 if (i != ((long) (sizeof (int))))
15044 exit (1);
15045 fprintf (f, "%lu\n", i);
15046 }
15047 exit (ferror (f) || fclose (f) != 0);
15048
15049 ;
15050 return 0;
15051 }
15052 _ACEOF
15053 rm -f conftest$ac_exeext
15054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15055 (eval $ac_link) 2>&5
15056 ac_status=$?
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15061 ac_status=$?
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15064 ac_cv_sizeof_int=`cat conftest.val`
15065 else
15066 echo "$as_me: program exited with status $ac_status" >&5
15067 echo "$as_me: failed program was:" >&5
15068 sed 's/^/| /' conftest.$ac_ext >&5
15069
15070 ( exit $ac_status )
15071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15072 See \`config.log' for more details." >&5
15073 echo "$as_me: error: cannot compute sizeof (int), 77
15074 See \`config.log' for more details." >&2;}
15075 { (exit 1); exit 1; }; }
15076 fi
15077 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15078 fi
15079 fi
15080 rm -f conftest.val
15081 else
15082 ac_cv_sizeof_int=0
15083 fi
15084 fi
15085 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15086 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15087 cat >>confdefs.h <<_ACEOF
15088 #define SIZEOF_INT $ac_cv_sizeof_int
15089 _ACEOF
15090
15091
15092 echo "$as_me:$LINENO: checking for long" >&5
15093 echo $ECHO_N "checking for long... $ECHO_C" >&6
15094 if test "${ac_cv_type_long+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 else
15097 cat >conftest.$ac_ext <<_ACEOF
15098 #line $LINENO "configure"
15099 /* confdefs.h. */
15100 _ACEOF
15101 cat confdefs.h >>conftest.$ac_ext
15102 cat >>conftest.$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15104 $ac_includes_default
15105 int
15106 main ()
15107 {
15108 if ((long *) 0)
15109 return 0;
15110 if (sizeof (long))
15111 return 0;
15112 ;
15113 return 0;
15114 }
15115 _ACEOF
15116 rm -f conftest.$ac_objext
15117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15118 (eval $ac_compile) 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); } &&
15122 { ac_try='test -s conftest.$ac_objext'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15125 ac_status=$?
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; }; then
15128 ac_cv_type_long=yes
15129 else
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15132
15133 ac_cv_type_long=no
15134 fi
15135 rm -f conftest.$ac_objext conftest.$ac_ext
15136 fi
15137 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15138 echo "${ECHO_T}$ac_cv_type_long" >&6
15139
15140 echo "$as_me:$LINENO: checking size of long" >&5
15141 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15142 if test "${ac_cv_sizeof_long+set}" = set; then
15143 echo $ECHO_N "(cached) $ECHO_C" >&6
15144 else
15145 if test "$ac_cv_type_long" = yes; then
15146 # The cast to unsigned long works around a bug in the HP C Compiler
15147 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15148 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15149 # This bug is HP SR number 8606223364.
15150 if test "$cross_compiling" = yes; then
15151 # Depending upon the size, compute the lo and hi bounds.
15152 cat >conftest.$ac_ext <<_ACEOF
15153 #line $LINENO "configure"
15154 /* confdefs.h. */
15155 _ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159 $ac_includes_default
15160 int
15161 main ()
15162 {
15163 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15164 test_array [0] = 0
15165
15166 ;
15167 return 0;
15168 }
15169 _ACEOF
15170 rm -f conftest.$ac_objext
15171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15172 (eval $ac_compile) 2>&5
15173 ac_status=$?
15174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15175 (exit $ac_status); } &&
15176 { ac_try='test -s conftest.$ac_objext'
15177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15178 (eval $ac_try) 2>&5
15179 ac_status=$?
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); }; }; then
15182 ac_lo=0 ac_mid=0
15183 while :; do
15184 cat >conftest.$ac_ext <<_ACEOF
15185 #line $LINENO "configure"
15186 /* confdefs.h. */
15187 _ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 $ac_includes_default
15192 int
15193 main ()
15194 {
15195 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15196 test_array [0] = 0
15197
15198 ;
15199 return 0;
15200 }
15201 _ACEOF
15202 rm -f conftest.$ac_objext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15204 (eval $ac_compile) 2>&5
15205 ac_status=$?
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } &&
15208 { ac_try='test -s conftest.$ac_objext'
15209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210 (eval $ac_try) 2>&5
15211 ac_status=$?
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); }; }; then
15214 ac_hi=$ac_mid; break
15215 else
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15218
15219 ac_lo=`expr $ac_mid + 1`
15220 if test $ac_lo -le $ac_mid; then
15221 ac_lo= ac_hi=
15222 break
15223 fi
15224 ac_mid=`expr 2 '*' $ac_mid + 1`
15225 fi
15226 rm -f conftest.$ac_objext conftest.$ac_ext
15227 done
15228 else
15229 echo "$as_me: failed program was:" >&5
15230 sed 's/^/| /' conftest.$ac_ext >&5
15231
15232 cat >conftest.$ac_ext <<_ACEOF
15233 #line $LINENO "configure"
15234 /* confdefs.h. */
15235 _ACEOF
15236 cat confdefs.h >>conftest.$ac_ext
15237 cat >>conftest.$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15239 $ac_includes_default
15240 int
15241 main ()
15242 {
15243 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15244 test_array [0] = 0
15245
15246 ;
15247 return 0;
15248 }
15249 _ACEOF
15250 rm -f conftest.$ac_objext
15251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15252 (eval $ac_compile) 2>&5
15253 ac_status=$?
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try='test -s conftest.$ac_objext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 ac_hi=-1 ac_mid=-1
15263 while :; do
15264 cat >conftest.$ac_ext <<_ACEOF
15265 #line $LINENO "configure"
15266 /* confdefs.h. */
15267 _ACEOF
15268 cat confdefs.h >>conftest.$ac_ext
15269 cat >>conftest.$ac_ext <<_ACEOF
15270 /* end confdefs.h. */
15271 $ac_includes_default
15272 int
15273 main ()
15274 {
15275 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15276 test_array [0] = 0
15277
15278 ;
15279 return 0;
15280 }
15281 _ACEOF
15282 rm -f conftest.$ac_objext
15283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15284 (eval $ac_compile) 2>&5
15285 ac_status=$?
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); } &&
15288 { ac_try='test -s conftest.$ac_objext'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; }; then
15294 ac_lo=$ac_mid; break
15295 else
15296 echo "$as_me: failed program was:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15298
15299 ac_hi=`expr '(' $ac_mid ')' - 1`
15300 if test $ac_mid -le $ac_hi; then
15301 ac_lo= ac_hi=
15302 break
15303 fi
15304 ac_mid=`expr 2 '*' $ac_mid`
15305 fi
15306 rm -f conftest.$ac_objext conftest.$ac_ext
15307 done
15308 else
15309 echo "$as_me: failed program was:" >&5
15310 sed 's/^/| /' conftest.$ac_ext >&5
15311
15312 ac_lo= ac_hi=
15313 fi
15314 rm -f conftest.$ac_objext conftest.$ac_ext
15315 fi
15316 rm -f conftest.$ac_objext conftest.$ac_ext
15317 # Binary search between lo and hi bounds.
15318 while test "x$ac_lo" != "x$ac_hi"; do
15319 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15320 cat >conftest.$ac_ext <<_ACEOF
15321 #line $LINENO "configure"
15322 /* confdefs.h. */
15323 _ACEOF
15324 cat confdefs.h >>conftest.$ac_ext
15325 cat >>conftest.$ac_ext <<_ACEOF
15326 /* end confdefs.h. */
15327 $ac_includes_default
15328 int
15329 main ()
15330 {
15331 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15332 test_array [0] = 0
15333
15334 ;
15335 return 0;
15336 }
15337 _ACEOF
15338 rm -f conftest.$ac_objext
15339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15340 (eval $ac_compile) 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); } &&
15344 { ac_try='test -s conftest.$ac_objext'
15345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15346 (eval $ac_try) 2>&5
15347 ac_status=$?
15348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15349 (exit $ac_status); }; }; then
15350 ac_hi=$ac_mid
15351 else
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15354
15355 ac_lo=`expr '(' $ac_mid ')' + 1`
15356 fi
15357 rm -f conftest.$ac_objext conftest.$ac_ext
15358 done
15359 case $ac_lo in
15360 ?*) ac_cv_sizeof_long=$ac_lo;;
15361 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15362 See \`config.log' for more details." >&5
15363 echo "$as_me: error: cannot compute sizeof (long), 77
15364 See \`config.log' for more details." >&2;}
15365 { (exit 1); exit 1; }; } ;;
15366 esac
15367 else
15368 if test "$cross_compiling" = yes; then
15369 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15370 See \`config.log' for more details." >&5
15371 echo "$as_me: error: cannot run test program while cross compiling
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; }
15374 else
15375 cat >conftest.$ac_ext <<_ACEOF
15376 #line $LINENO "configure"
15377 /* confdefs.h. */
15378 _ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15382 $ac_includes_default
15383 long longval () { return (long) (sizeof (long)); }
15384 unsigned long ulongval () { return (long) (sizeof (long)); }
15385 #include <stdio.h>
15386 #include <stdlib.h>
15387 int
15388 main ()
15389 {
15390
15391 FILE *f = fopen ("conftest.val", "w");
15392 if (! f)
15393 exit (1);
15394 if (((long) (sizeof (long))) < 0)
15395 {
15396 long i = longval ();
15397 if (i != ((long) (sizeof (long))))
15398 exit (1);
15399 fprintf (f, "%ld\n", i);
15400 }
15401 else
15402 {
15403 unsigned long i = ulongval ();
15404 if (i != ((long) (sizeof (long))))
15405 exit (1);
15406 fprintf (f, "%lu\n", i);
15407 }
15408 exit (ferror (f) || fclose (f) != 0);
15409
15410 ;
15411 return 0;
15412 }
15413 _ACEOF
15414 rm -f conftest$ac_exeext
15415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15416 (eval $ac_link) 2>&5
15417 ac_status=$?
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15421 (eval $ac_try) 2>&5
15422 ac_status=$?
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }; }; then
15425 ac_cv_sizeof_long=`cat conftest.val`
15426 else
15427 echo "$as_me: program exited with status $ac_status" >&5
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15430
15431 ( exit $ac_status )
15432 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15433 See \`config.log' for more details." >&5
15434 echo "$as_me: error: cannot compute sizeof (long), 77
15435 See \`config.log' for more details." >&2;}
15436 { (exit 1); exit 1; }; }
15437 fi
15438 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15439 fi
15440 fi
15441 rm -f conftest.val
15442 else
15443 ac_cv_sizeof_long=0
15444 fi
15445 fi
15446 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15447 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15448 cat >>confdefs.h <<_ACEOF
15449 #define SIZEOF_LONG $ac_cv_sizeof_long
15450 _ACEOF
15451
15452
15453
15454 case "${host}" in
15455 arm-*-linux* )
15456 echo "$as_me:$LINENO: checking for long long" >&5
15457 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15458 if test "${ac_cv_type_long_long+set}" = set; then
15459 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 else
15461 cat >conftest.$ac_ext <<_ACEOF
15462 #line $LINENO "configure"
15463 /* confdefs.h. */
15464 _ACEOF
15465 cat confdefs.h >>conftest.$ac_ext
15466 cat >>conftest.$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468 $ac_includes_default
15469 int
15470 main ()
15471 {
15472 if ((long long *) 0)
15473 return 0;
15474 if (sizeof (long long))
15475 return 0;
15476 ;
15477 return 0;
15478 }
15479 _ACEOF
15480 rm -f conftest.$ac_objext
15481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); } &&
15486 { ac_try='test -s conftest.$ac_objext'
15487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488 (eval $ac_try) 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }; }; then
15492 ac_cv_type_long_long=yes
15493 else
15494 echo "$as_me: failed program was:" >&5
15495 sed 's/^/| /' conftest.$ac_ext >&5
15496
15497 ac_cv_type_long_long=no
15498 fi
15499 rm -f conftest.$ac_objext conftest.$ac_ext
15500 fi
15501 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15502 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15503
15504 echo "$as_me:$LINENO: checking size of long long" >&5
15505 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15506 if test "${ac_cv_sizeof_long_long+set}" = set; then
15507 echo $ECHO_N "(cached) $ECHO_C" >&6
15508 else
15509 if test "$ac_cv_type_long_long" = yes; then
15510 # The cast to unsigned long works around a bug in the HP C Compiler
15511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15513 # This bug is HP SR number 8606223364.
15514 if test "$cross_compiling" = yes; then
15515 # Depending upon the size, compute the lo and hi bounds.
15516 cat >conftest.$ac_ext <<_ACEOF
15517 #line $LINENO "configure"
15518 /* confdefs.h. */
15519 _ACEOF
15520 cat confdefs.h >>conftest.$ac_ext
15521 cat >>conftest.$ac_ext <<_ACEOF
15522 /* end confdefs.h. */
15523 $ac_includes_default
15524 int
15525 main ()
15526 {
15527 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15528 test_array [0] = 0
15529
15530 ;
15531 return 0;
15532 }
15533 _ACEOF
15534 rm -f conftest.$ac_objext
15535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15536 (eval $ac_compile) 2>&5
15537 ac_status=$?
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } &&
15540 { ac_try='test -s conftest.$ac_objext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15543 ac_status=$?
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15546 ac_lo=0 ac_mid=0
15547 while :; do
15548 cat >conftest.$ac_ext <<_ACEOF
15549 #line $LINENO "configure"
15550 /* confdefs.h. */
15551 _ACEOF
15552 cat confdefs.h >>conftest.$ac_ext
15553 cat >>conftest.$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15555 $ac_includes_default
15556 int
15557 main ()
15558 {
15559 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15560 test_array [0] = 0
15561
15562 ;
15563 return 0;
15564 }
15565 _ACEOF
15566 rm -f conftest.$ac_objext
15567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15568 (eval $ac_compile) 2>&5
15569 ac_status=$?
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } &&
15572 { ac_try='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 ac_hi=$ac_mid; break
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 ac_lo=`expr $ac_mid + 1`
15584 if test $ac_lo -le $ac_mid; then
15585 ac_lo= ac_hi=
15586 break
15587 fi
15588 ac_mid=`expr 2 '*' $ac_mid + 1`
15589 fi
15590 rm -f conftest.$ac_objext conftest.$ac_ext
15591 done
15592 else
15593 echo "$as_me: failed program was:" >&5
15594 sed 's/^/| /' conftest.$ac_ext >&5
15595
15596 cat >conftest.$ac_ext <<_ACEOF
15597 #line $LINENO "configure"
15598 /* confdefs.h. */
15599 _ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15603 $ac_includes_default
15604 int
15605 main ()
15606 {
15607 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15608 test_array [0] = 0
15609
15610 ;
15611 return 0;
15612 }
15613 _ACEOF
15614 rm -f conftest.$ac_objext
15615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15616 (eval $ac_compile) 2>&5
15617 ac_status=$?
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); } &&
15620 { ac_try='test -s conftest.$ac_objext'
15621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 (eval $ac_try) 2>&5
15623 ac_status=$?
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); }; }; then
15626 ac_hi=-1 ac_mid=-1
15627 while :; do
15628 cat >conftest.$ac_ext <<_ACEOF
15629 #line $LINENO "configure"
15630 /* confdefs.h. */
15631 _ACEOF
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15635 $ac_includes_default
15636 int
15637 main ()
15638 {
15639 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15640 test_array [0] = 0
15641
15642 ;
15643 return 0;
15644 }
15645 _ACEOF
15646 rm -f conftest.$ac_objext
15647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15648 (eval $ac_compile) 2>&5
15649 ac_status=$?
15650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651 (exit $ac_status); } &&
15652 { ac_try='test -s conftest.$ac_objext'
15653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15654 (eval $ac_try) 2>&5
15655 ac_status=$?
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); }; }; then
15658 ac_lo=$ac_mid; break
15659 else
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15662
15663 ac_hi=`expr '(' $ac_mid ')' - 1`
15664 if test $ac_mid -le $ac_hi; then
15665 ac_lo= ac_hi=
15666 break
15667 fi
15668 ac_mid=`expr 2 '*' $ac_mid`
15669 fi
15670 rm -f conftest.$ac_objext conftest.$ac_ext
15671 done
15672 else
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.$ac_ext >&5
15675
15676 ac_lo= ac_hi=
15677 fi
15678 rm -f conftest.$ac_objext conftest.$ac_ext
15679 fi
15680 rm -f conftest.$ac_objext conftest.$ac_ext
15681 # Binary search between lo and hi bounds.
15682 while test "x$ac_lo" != "x$ac_hi"; do
15683 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15684 cat >conftest.$ac_ext <<_ACEOF
15685 #line $LINENO "configure"
15686 /* confdefs.h. */
15687 _ACEOF
15688 cat confdefs.h >>conftest.$ac_ext
15689 cat >>conftest.$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 $ac_includes_default
15692 int
15693 main ()
15694 {
15695 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15696 test_array [0] = 0
15697
15698 ;
15699 return 0;
15700 }
15701 _ACEOF
15702 rm -f conftest.$ac_objext
15703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15704 (eval $ac_compile) 2>&5
15705 ac_status=$?
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try='test -s conftest.$ac_objext'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; }; then
15714 ac_hi=$ac_mid
15715 else
15716 echo "$as_me: failed program was:" >&5
15717 sed 's/^/| /' conftest.$ac_ext >&5
15718
15719 ac_lo=`expr '(' $ac_mid ')' + 1`
15720 fi
15721 rm -f conftest.$ac_objext conftest.$ac_ext
15722 done
15723 case $ac_lo in
15724 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15725 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15726 See \`config.log' for more details." >&5
15727 echo "$as_me: error: cannot compute sizeof (long long), 77
15728 See \`config.log' for more details." >&2;}
15729 { (exit 1); exit 1; }; } ;;
15730 esac
15731 else
15732 if test "$cross_compiling" = yes; then
15733 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15734 See \`config.log' for more details." >&5
15735 echo "$as_me: error: cannot run test program while cross compiling
15736 See \`config.log' for more details." >&2;}
15737 { (exit 1); exit 1; }; }
15738 else
15739 cat >conftest.$ac_ext <<_ACEOF
15740 #line $LINENO "configure"
15741 /* confdefs.h. */
15742 _ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 $ac_includes_default
15747 long longval () { return (long) (sizeof (long long)); }
15748 unsigned long ulongval () { return (long) (sizeof (long long)); }
15749 #include <stdio.h>
15750 #include <stdlib.h>
15751 int
15752 main ()
15753 {
15754
15755 FILE *f = fopen ("conftest.val", "w");
15756 if (! f)
15757 exit (1);
15758 if (((long) (sizeof (long long))) < 0)
15759 {
15760 long i = longval ();
15761 if (i != ((long) (sizeof (long long))))
15762 exit (1);
15763 fprintf (f, "%ld\n", i);
15764 }
15765 else
15766 {
15767 unsigned long i = ulongval ();
15768 if (i != ((long) (sizeof (long long))))
15769 exit (1);
15770 fprintf (f, "%lu\n", i);
15771 }
15772 exit (ferror (f) || fclose (f) != 0);
15773
15774 ;
15775 return 0;
15776 }
15777 _ACEOF
15778 rm -f conftest$ac_exeext
15779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15780 (eval $ac_link) 2>&5
15781 ac_status=$?
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15785 (eval $ac_try) 2>&5
15786 ac_status=$?
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15789 ac_cv_sizeof_long_long=`cat conftest.val`
15790 else
15791 echo "$as_me: program exited with status $ac_status" >&5
15792 echo "$as_me: failed program was:" >&5
15793 sed 's/^/| /' conftest.$ac_ext >&5
15794
15795 ( exit $ac_status )
15796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15797 See \`config.log' for more details." >&5
15798 echo "$as_me: error: cannot compute sizeof (long long), 77
15799 See \`config.log' for more details." >&2;}
15800 { (exit 1); exit 1; }; }
15801 fi
15802 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15803 fi
15804 fi
15805 rm -f conftest.val
15806 else
15807 ac_cv_sizeof_long_long=0
15808 fi
15809 fi
15810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15811 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15812 cat >>confdefs.h <<_ACEOF
15813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15814 _ACEOF
15815
15816
15817 ;;
15818 *-hp-hpux* )
15819 echo "$as_me:$LINENO: checking for long long" >&5
15820 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15821 if test "${ac_cv_type_long_long+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15823 else
15824 cat >conftest.$ac_ext <<_ACEOF
15825 #line $LINENO "configure"
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 int
15833 main ()
15834 {
15835 if ((long long *) 0)
15836 return 0;
15837 if (sizeof (long long))
15838 return 0;
15839 ;
15840 return 0;
15841 }
15842 _ACEOF
15843 rm -f conftest.$ac_objext
15844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15845 (eval $ac_compile) 2>&5
15846 ac_status=$?
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } &&
15849 { ac_try='test -s conftest.$ac_objext'
15850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15851 (eval $ac_try) 2>&5
15852 ac_status=$?
15853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15854 (exit $ac_status); }; }; then
15855 ac_cv_type_long_long=yes
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15859
15860 ac_cv_type_long_long=no
15861 fi
15862 rm -f conftest.$ac_objext conftest.$ac_ext
15863 fi
15864 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15865 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15866
15867 echo "$as_me:$LINENO: checking size of long long" >&5
15868 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15869 if test "${ac_cv_sizeof_long_long+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15871 else
15872 if test "$ac_cv_type_long_long" = yes; then
15873 # The cast to unsigned long works around a bug in the HP C Compiler
15874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15876 # This bug is HP SR number 8606223364.
15877 if test "$cross_compiling" = yes; then
15878 # Depending upon the size, compute the lo and hi bounds.
15879 cat >conftest.$ac_ext <<_ACEOF
15880 #line $LINENO "configure"
15881 /* confdefs.h. */
15882 _ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886 $ac_includes_default
15887 int
15888 main ()
15889 {
15890 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15891 test_array [0] = 0
15892
15893 ;
15894 return 0;
15895 }
15896 _ACEOF
15897 rm -f conftest.$ac_objext
15898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15899 (eval $ac_compile) 2>&5
15900 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } &&
15903 { ac_try='test -s conftest.$ac_objext'
15904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15905 (eval $ac_try) 2>&5
15906 ac_status=$?
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); }; }; then
15909 ac_lo=0 ac_mid=0
15910 while :; do
15911 cat >conftest.$ac_ext <<_ACEOF
15912 #line $LINENO "configure"
15913 /* confdefs.h. */
15914 _ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 $ac_includes_default
15919 int
15920 main ()
15921 {
15922 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15923 test_array [0] = 0
15924
15925 ;
15926 return 0;
15927 }
15928 _ACEOF
15929 rm -f conftest.$ac_objext
15930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15931 (eval $ac_compile) 2>&5
15932 ac_status=$?
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); } &&
15935 { ac_try='test -s conftest.$ac_objext'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15938 ac_status=$?
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; }; then
15941 ac_hi=$ac_mid; break
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15945
15946 ac_lo=`expr $ac_mid + 1`
15947 if test $ac_lo -le $ac_mid; then
15948 ac_lo= ac_hi=
15949 break
15950 fi
15951 ac_mid=`expr 2 '*' $ac_mid + 1`
15952 fi
15953 rm -f conftest.$ac_objext conftest.$ac_ext
15954 done
15955 else
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15958
15959 cat >conftest.$ac_ext <<_ACEOF
15960 #line $LINENO "configure"
15961 /* confdefs.h. */
15962 _ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15967 int
15968 main ()
15969 {
15970 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15971 test_array [0] = 0
15972
15973 ;
15974 return 0;
15975 }
15976 _ACEOF
15977 rm -f conftest.$ac_objext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15979 (eval $ac_compile) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } &&
15983 { ac_try='test -s conftest.$ac_objext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 ac_hi=-1 ac_mid=-1
15990 while :; do
15991 cat >conftest.$ac_ext <<_ACEOF
15992 #line $LINENO "configure"
15993 /* confdefs.h. */
15994 _ACEOF
15995 cat confdefs.h >>conftest.$ac_ext
15996 cat >>conftest.$ac_ext <<_ACEOF
15997 /* end confdefs.h. */
15998 $ac_includes_default
15999 int
16000 main ()
16001 {
16002 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16003 test_array [0] = 0
16004
16005 ;
16006 return 0;
16007 }
16008 _ACEOF
16009 rm -f conftest.$ac_objext
16010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16011 (eval $ac_compile) 2>&5
16012 ac_status=$?
16013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16014 (exit $ac_status); } &&
16015 { ac_try='test -s conftest.$ac_objext'
16016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16017 (eval $ac_try) 2>&5
16018 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); }; }; then
16021 ac_lo=$ac_mid; break
16022 else
16023 echo "$as_me: failed program was:" >&5
16024 sed 's/^/| /' conftest.$ac_ext >&5
16025
16026 ac_hi=`expr '(' $ac_mid ')' - 1`
16027 if test $ac_mid -le $ac_hi; then
16028 ac_lo= ac_hi=
16029 break
16030 fi
16031 ac_mid=`expr 2 '*' $ac_mid`
16032 fi
16033 rm -f conftest.$ac_objext conftest.$ac_ext
16034 done
16035 else
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16038
16039 ac_lo= ac_hi=
16040 fi
16041 rm -f conftest.$ac_objext conftest.$ac_ext
16042 fi
16043 rm -f conftest.$ac_objext conftest.$ac_ext
16044 # Binary search between lo and hi bounds.
16045 while test "x$ac_lo" != "x$ac_hi"; do
16046 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16047 cat >conftest.$ac_ext <<_ACEOF
16048 #line $LINENO "configure"
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 $ac_includes_default
16055 int
16056 main ()
16057 {
16058 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16059 test_array [0] = 0
16060
16061 ;
16062 return 0;
16063 }
16064 _ACEOF
16065 rm -f conftest.$ac_objext
16066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16067 (eval $ac_compile) 2>&5
16068 ac_status=$?
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try='test -s conftest.$ac_objext'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then
16077 ac_hi=$ac_mid
16078 else
16079 echo "$as_me: failed program was:" >&5
16080 sed 's/^/| /' conftest.$ac_ext >&5
16081
16082 ac_lo=`expr '(' $ac_mid ')' + 1`
16083 fi
16084 rm -f conftest.$ac_objext conftest.$ac_ext
16085 done
16086 case $ac_lo in
16087 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16088 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16089 See \`config.log' for more details." >&5
16090 echo "$as_me: error: cannot compute sizeof (long long), 77
16091 See \`config.log' for more details." >&2;}
16092 { (exit 1); exit 1; }; } ;;
16093 esac
16094 else
16095 if test "$cross_compiling" = yes; then
16096 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16097 See \`config.log' for more details." >&5
16098 echo "$as_me: error: cannot run test program while cross compiling
16099 See \`config.log' for more details." >&2;}
16100 { (exit 1); exit 1; }; }
16101 else
16102 cat >conftest.$ac_ext <<_ACEOF
16103 #line $LINENO "configure"
16104 /* confdefs.h. */
16105 _ACEOF
16106 cat confdefs.h >>conftest.$ac_ext
16107 cat >>conftest.$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 $ac_includes_default
16110 long longval () { return (long) (sizeof (long long)); }
16111 unsigned long ulongval () { return (long) (sizeof (long long)); }
16112 #include <stdio.h>
16113 #include <stdlib.h>
16114 int
16115 main ()
16116 {
16117
16118 FILE *f = fopen ("conftest.val", "w");
16119 if (! f)
16120 exit (1);
16121 if (((long) (sizeof (long long))) < 0)
16122 {
16123 long i = longval ();
16124 if (i != ((long) (sizeof (long long))))
16125 exit (1);
16126 fprintf (f, "%ld\n", i);
16127 }
16128 else
16129 {
16130 unsigned long i = ulongval ();
16131 if (i != ((long) (sizeof (long long))))
16132 exit (1);
16133 fprintf (f, "%lu\n", i);
16134 }
16135 exit (ferror (f) || fclose (f) != 0);
16136
16137 ;
16138 return 0;
16139 }
16140 _ACEOF
16141 rm -f conftest$ac_exeext
16142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16143 (eval $ac_link) 2>&5
16144 ac_status=$?
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148 (eval $ac_try) 2>&5
16149 ac_status=$?
16150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151 (exit $ac_status); }; }; then
16152 ac_cv_sizeof_long_long=`cat conftest.val`
16153 else
16154 echo "$as_me: program exited with status $ac_status" >&5
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16157
16158 ( exit $ac_status )
16159 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16160 See \`config.log' for more details." >&5
16161 echo "$as_me: error: cannot compute sizeof (long long), 77
16162 See \`config.log' for more details." >&2;}
16163 { (exit 1); exit 1; }; }
16164 fi
16165 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16166 fi
16167 fi
16168 rm -f conftest.val
16169 else
16170 ac_cv_sizeof_long_long=0
16171 fi
16172 fi
16173 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16174 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16175 cat >>confdefs.h <<_ACEOF
16176 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16177 _ACEOF
16178
16179
16180 if test "$ac_cv_sizeof_long_long" != "0"; then
16181 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16182 fi
16183 ;;
16184 * )
16185 echo "$as_me:$LINENO: checking for long long" >&5
16186 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16187 if test "${ac_cv_type_long_long+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 cat >conftest.$ac_ext <<_ACEOF
16191 #line $LINENO "configure"
16192 /* confdefs.h. */
16193 _ACEOF
16194 cat confdefs.h >>conftest.$ac_ext
16195 cat >>conftest.$ac_ext <<_ACEOF
16196 /* end confdefs.h. */
16197 $ac_includes_default
16198 int
16199 main ()
16200 {
16201 if ((long long *) 0)
16202 return 0;
16203 if (sizeof (long long))
16204 return 0;
16205 ;
16206 return 0;
16207 }
16208 _ACEOF
16209 rm -f conftest.$ac_objext
16210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16211 (eval $ac_compile) 2>&5
16212 ac_status=$?
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); } &&
16215 { ac_try='test -s conftest.$ac_objext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16218 ac_status=$?
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_cv_type_long_long=yes
16222 else
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.$ac_ext >&5
16225
16226 ac_cv_type_long_long=no
16227 fi
16228 rm -f conftest.$ac_objext conftest.$ac_ext
16229 fi
16230 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16231 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16232
16233 echo "$as_me:$LINENO: checking size of long long" >&5
16234 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16235 if test "${ac_cv_sizeof_long_long+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 else
16238 if test "$ac_cv_type_long_long" = yes; then
16239 # The cast to unsigned long works around a bug in the HP C Compiler
16240 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16241 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16242 # This bug is HP SR number 8606223364.
16243 if test "$cross_compiling" = yes; then
16244 # Depending upon the size, compute the lo and hi bounds.
16245 cat >conftest.$ac_ext <<_ACEOF
16246 #line $LINENO "configure"
16247 /* confdefs.h. */
16248 _ACEOF
16249 cat confdefs.h >>conftest.$ac_ext
16250 cat >>conftest.$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16252 $ac_includes_default
16253 int
16254 main ()
16255 {
16256 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16257 test_array [0] = 0
16258
16259 ;
16260 return 0;
16261 }
16262 _ACEOF
16263 rm -f conftest.$ac_objext
16264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16265 (eval $ac_compile) 2>&5
16266 ac_status=$?
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); } &&
16269 { ac_try='test -s conftest.$ac_objext'
16270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16271 (eval $ac_try) 2>&5
16272 ac_status=$?
16273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16274 (exit $ac_status); }; }; then
16275 ac_lo=0 ac_mid=0
16276 while :; do
16277 cat >conftest.$ac_ext <<_ACEOF
16278 #line $LINENO "configure"
16279 /* confdefs.h. */
16280 _ACEOF
16281 cat confdefs.h >>conftest.$ac_ext
16282 cat >>conftest.$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 $ac_includes_default
16285 int
16286 main ()
16287 {
16288 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16289 test_array [0] = 0
16290
16291 ;
16292 return 0;
16293 }
16294 _ACEOF
16295 rm -f conftest.$ac_objext
16296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16297 (eval $ac_compile) 2>&5
16298 ac_status=$?
16299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16300 (exit $ac_status); } &&
16301 { ac_try='test -s conftest.$ac_objext'
16302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16303 (eval $ac_try) 2>&5
16304 ac_status=$?
16305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16306 (exit $ac_status); }; }; then
16307 ac_hi=$ac_mid; break
16308 else
16309 echo "$as_me: failed program was:" >&5
16310 sed 's/^/| /' conftest.$ac_ext >&5
16311
16312 ac_lo=`expr $ac_mid + 1`
16313 if test $ac_lo -le $ac_mid; then
16314 ac_lo= ac_hi=
16315 break
16316 fi
16317 ac_mid=`expr 2 '*' $ac_mid + 1`
16318 fi
16319 rm -f conftest.$ac_objext conftest.$ac_ext
16320 done
16321 else
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.$ac_ext >&5
16324
16325 cat >conftest.$ac_ext <<_ACEOF
16326 #line $LINENO "configure"
16327 /* confdefs.h. */
16328 _ACEOF
16329 cat confdefs.h >>conftest.$ac_ext
16330 cat >>conftest.$ac_ext <<_ACEOF
16331 /* end confdefs.h. */
16332 $ac_includes_default
16333 int
16334 main ()
16335 {
16336 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16337 test_array [0] = 0
16338
16339 ;
16340 return 0;
16341 }
16342 _ACEOF
16343 rm -f conftest.$ac_objext
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345 (eval $ac_compile) 2>&5
16346 ac_status=$?
16347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348 (exit $ac_status); } &&
16349 { ac_try='test -s conftest.$ac_objext'
16350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16351 (eval $ac_try) 2>&5
16352 ac_status=$?
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); }; }; then
16355 ac_hi=-1 ac_mid=-1
16356 while :; do
16357 cat >conftest.$ac_ext <<_ACEOF
16358 #line $LINENO "configure"
16359 /* confdefs.h. */
16360 _ACEOF
16361 cat confdefs.h >>conftest.$ac_ext
16362 cat >>conftest.$ac_ext <<_ACEOF
16363 /* end confdefs.h. */
16364 $ac_includes_default
16365 int
16366 main ()
16367 {
16368 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16369 test_array [0] = 0
16370
16371 ;
16372 return 0;
16373 }
16374 _ACEOF
16375 rm -f conftest.$ac_objext
16376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16377 (eval $ac_compile) 2>&5
16378 ac_status=$?
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); } &&
16381 { ac_try='test -s conftest.$ac_objext'
16382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16383 (eval $ac_try) 2>&5
16384 ac_status=$?
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); }; }; then
16387 ac_lo=$ac_mid; break
16388 else
16389 echo "$as_me: failed program was:" >&5
16390 sed 's/^/| /' conftest.$ac_ext >&5
16391
16392 ac_hi=`expr '(' $ac_mid ')' - 1`
16393 if test $ac_mid -le $ac_hi; then
16394 ac_lo= ac_hi=
16395 break
16396 fi
16397 ac_mid=`expr 2 '*' $ac_mid`
16398 fi
16399 rm -f conftest.$ac_objext conftest.$ac_ext
16400 done
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16404
16405 ac_lo= ac_hi=
16406 fi
16407 rm -f conftest.$ac_objext conftest.$ac_ext
16408 fi
16409 rm -f conftest.$ac_objext conftest.$ac_ext
16410 # Binary search between lo and hi bounds.
16411 while test "x$ac_lo" != "x$ac_hi"; do
16412 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16413 cat >conftest.$ac_ext <<_ACEOF
16414 #line $LINENO "configure"
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 $ac_includes_default
16421 int
16422 main ()
16423 {
16424 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16425 test_array [0] = 0
16426
16427 ;
16428 return 0;
16429 }
16430 _ACEOF
16431 rm -f conftest.$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>&5
16434 ac_status=$?
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); } &&
16437 { ac_try='test -s conftest.$ac_objext'
16438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439 (eval $ac_try) 2>&5
16440 ac_status=$?
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); }; }; then
16443 ac_hi=$ac_mid
16444 else
16445 echo "$as_me: failed program was:" >&5
16446 sed 's/^/| /' conftest.$ac_ext >&5
16447
16448 ac_lo=`expr '(' $ac_mid ')' + 1`
16449 fi
16450 rm -f conftest.$ac_objext conftest.$ac_ext
16451 done
16452 case $ac_lo in
16453 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16455 See \`config.log' for more details." >&5
16456 echo "$as_me: error: cannot compute sizeof (long long), 77
16457 See \`config.log' for more details." >&2;}
16458 { (exit 1); exit 1; }; } ;;
16459 esac
16460 else
16461 if test "$cross_compiling" = yes; then
16462 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16463 See \`config.log' for more details." >&5
16464 echo "$as_me: error: cannot run test program while cross compiling
16465 See \`config.log' for more details." >&2;}
16466 { (exit 1); exit 1; }; }
16467 else
16468 cat >conftest.$ac_ext <<_ACEOF
16469 #line $LINENO "configure"
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 $ac_includes_default
16476 long longval () { return (long) (sizeof (long long)); }
16477 unsigned long ulongval () { return (long) (sizeof (long long)); }
16478 #include <stdio.h>
16479 #include <stdlib.h>
16480 int
16481 main ()
16482 {
16483
16484 FILE *f = fopen ("conftest.val", "w");
16485 if (! f)
16486 exit (1);
16487 if (((long) (sizeof (long long))) < 0)
16488 {
16489 long i = longval ();
16490 if (i != ((long) (sizeof (long long))))
16491 exit (1);
16492 fprintf (f, "%ld\n", i);
16493 }
16494 else
16495 {
16496 unsigned long i = ulongval ();
16497 if (i != ((long) (sizeof (long long))))
16498 exit (1);
16499 fprintf (f, "%lu\n", i);
16500 }
16501 exit (ferror (f) || fclose (f) != 0);
16502
16503 ;
16504 return 0;
16505 }
16506 _ACEOF
16507 rm -f conftest$ac_exeext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16509 (eval $ac_link) 2>&5
16510 ac_status=$?
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16514 (eval $ac_try) 2>&5
16515 ac_status=$?
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); }; }; then
16518 ac_cv_sizeof_long_long=`cat conftest.val`
16519 else
16520 echo "$as_me: program exited with status $ac_status" >&5
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.$ac_ext >&5
16523
16524 ( exit $ac_status )
16525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16526 See \`config.log' for more details." >&5
16527 echo "$as_me: error: cannot compute sizeof (long long), 77
16528 See \`config.log' for more details." >&2;}
16529 { (exit 1); exit 1; }; }
16530 fi
16531 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16532 fi
16533 fi
16534 rm -f conftest.val
16535 else
16536 ac_cv_sizeof_long_long=0
16537 fi
16538 fi
16539 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16541 cat >>confdefs.h <<_ACEOF
16542 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16543 _ACEOF
16544
16545
16546 esac
16547
16548 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16549 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16550 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16551 echo $ECHO_N "(cached) $ECHO_C" >&6
16552 else
16553
16554 if test "$cross_compiling" = yes; then
16555
16556 case "${host}" in
16557 *-pc-msdosdjgpp )
16558 wx_cv_sizeof_wchar_t=0
16559 ;;
16560 * )
16561 wx_cv_sizeof_wchar_t=4
16562 ;;
16563 esac
16564
16565
16566 else
16567 cat >conftest.$ac_ext <<_ACEOF
16568 #line $LINENO "configure"
16569 /* confdefs.h. */
16570 _ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574
16575 /* DJGPP only has fake wchar_t: */
16576 #ifdef __DJGPP__
16577 # error "fake wchar_t"
16578 #endif
16579 #ifdef HAVE_WCHAR_H
16580 # ifdef __CYGWIN__
16581 # include <stddef.h>
16582 # endif
16583 # include <wchar.h>
16584 #endif
16585 #ifdef HAVE_STDLIB_H
16586 # include <stdlib.h>
16587 #endif
16588 #include <stdio.h>
16589 int main()
16590 {
16591 FILE *f=fopen("conftestval", "w");
16592 if (!f) exit(1);
16593 fprintf(f, "%i", sizeof(wchar_t));
16594 exit(0);
16595 }
16596
16597 _ACEOF
16598 rm -f conftest$ac_exeext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16600 (eval $ac_link) 2>&5
16601 ac_status=$?
16602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16605 (eval $ac_try) 2>&5
16606 ac_status=$?
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); }; }; then
16609 wx_cv_sizeof_wchar_t=`cat conftestval`
16610 else
16611 echo "$as_me: program exited with status $ac_status" >&5
16612 echo "$as_me: failed program was:" >&5
16613 sed 's/^/| /' conftest.$ac_ext >&5
16614
16615 ( exit $ac_status )
16616 wx_cv_sizeof_wchar_t=0
16617 fi
16618 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16619 fi
16620
16621 fi
16622 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16623 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16624
16625 cat >>confdefs.h <<_ACEOF
16626 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16627 _ACEOF
16628
16629
16630 # Check whether --enable-largefile or --disable-largefile was given.
16631 if test "${enable_largefile+set}" = set; then
16632 enableval="$enable_largefile"
16633
16634 fi;
16635 if test "$enable_largefile" != no; then
16636 wx_largefile=no
16637
16638 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16639 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16640 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 else
16643
16644 cat >conftest.$ac_ext <<_ACEOF
16645 #line $LINENO "configure"
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 #define _FILE_OFFSET_BITS 64
16652 #include <sys/types.h>
16653 int
16654 main ()
16655 {
16656 typedef struct {
16657 unsigned int field: sizeof(off_t) == 8;
16658 } wxlf;
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 rm -f conftest.$ac_objext
16665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16666 (eval $ac_compile) 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } &&
16670 { ac_try='test -s conftest.$ac_objext'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16673 ac_status=$?
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; }; then
16676 ac_cv_sys_file_offset_bits=64
16677 else
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16680
16681 ac_cv_sys_file_offset_bits=no
16682 fi
16683 rm -f conftest.$ac_objext conftest.$ac_ext
16684
16685
16686 fi
16687 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16688 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16689
16690 if test "$ac_cv_sys_file_offset_bits" != no; then
16691 wx_largefile=yes
16692 cat >>confdefs.h <<_ACEOF
16693 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16694 _ACEOF
16695
16696 fi
16697
16698 if test "x$wx_largefile" != "xyes"; then
16699
16700 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16701 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16702 if test "${ac_cv_sys_large_files+set}" = set; then
16703 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 else
16705
16706 cat >conftest.$ac_ext <<_ACEOF
16707 #line $LINENO "configure"
16708 /* confdefs.h. */
16709 _ACEOF
16710 cat confdefs.h >>conftest.$ac_ext
16711 cat >>conftest.$ac_ext <<_ACEOF
16712 /* end confdefs.h. */
16713 #define _LARGE_FILES 1
16714 #include <sys/types.h>
16715 int
16716 main ()
16717 {
16718 typedef struct {
16719 unsigned int field: sizeof(off_t) == 8;
16720 } wxlf;
16721
16722 ;
16723 return 0;
16724 }
16725 _ACEOF
16726 rm -f conftest.$ac_objext
16727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16728 (eval $ac_compile) 2>&5
16729 ac_status=$?
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } &&
16732 { ac_try='test -s conftest.$ac_objext'
16733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16734 (eval $ac_try) 2>&5
16735 ac_status=$?
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); }; }; then
16738 ac_cv_sys_large_files=1
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16742
16743 ac_cv_sys_large_files=no
16744 fi
16745 rm -f conftest.$ac_objext conftest.$ac_ext
16746
16747
16748 fi
16749 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16750 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16751
16752 if test "$ac_cv_sys_large_files" != no; then
16753 wx_largefile=yes
16754 cat >>confdefs.h <<_ACEOF
16755 #define _LARGE_FILES $ac_cv_sys_large_files
16756 _ACEOF
16757
16758 fi
16759
16760 fi
16761
16762 echo "$as_me:$LINENO: checking if large file support is available" >&5
16763 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16764 if test "x$wx_largefile" = "xyes"; then
16765 cat >>confdefs.h <<\_ACEOF
16766 #define HAVE_LARGEFILE_SUPPORT 1
16767 _ACEOF
16768
16769 fi
16770 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16771 echo "${ECHO_T}$wx_largefile" >&6
16772 fi
16773
16774
16775 if test "x$wx_largefile" = "xyes"; then
16776 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16777 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16778 else
16779 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16780 fi
16781 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16782 fi
16783
16784 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16785 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16786 if test "${ac_cv_c_bigendian+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 else
16789 ac_cv_c_bigendian=unknown
16790 # See if sys/param.h defines the BYTE_ORDER macro.
16791 cat >conftest.$ac_ext <<_ACEOF
16792 #line $LINENO "configure"
16793 /* confdefs.h. */
16794 _ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 #include <sys/types.h>
16799 #include <sys/param.h>
16800 int
16801 main ()
16802 {
16803
16804 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16805 bogus endian macros
16806 #endif
16807 ;
16808 return 0;
16809 }
16810 _ACEOF
16811 rm -f conftest.$ac_objext
16812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16813 (eval $ac_compile) 2>&5
16814 ac_status=$?
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } &&
16817 { ac_try='test -s conftest.$ac_objext'
16818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16819 (eval $ac_try) 2>&5
16820 ac_status=$?
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); }; }; then
16823 # It does; now see whether it defined to BIG_ENDIAN or not.
16824 cat >conftest.$ac_ext <<_ACEOF
16825 #line $LINENO "configure"
16826 /* confdefs.h. */
16827 _ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h. */
16831 #include <sys/types.h>
16832 #include <sys/param.h>
16833 int
16834 main ()
16835 {
16836
16837 #if BYTE_ORDER != BIG_ENDIAN
16838 not big endian
16839 #endif
16840 ;
16841 return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16846 (eval $ac_compile) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); } &&
16850 { ac_try='test -s conftest.$ac_objext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16852 (eval $ac_try) 2>&5
16853 ac_status=$?
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; }; then
16856 ac_cv_c_bigendian=yes
16857 else
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.$ac_ext >&5
16860
16861 ac_cv_c_bigendian=no
16862 fi
16863 rm -f conftest.$ac_objext conftest.$ac_ext
16864 else
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16867
16868 fi
16869 rm -f conftest.$ac_objext conftest.$ac_ext
16870 if test $ac_cv_c_bigendian = unknown; then
16871 if test "$cross_compiling" = yes; then
16872 ac_cv_c_bigendian=unknown
16873 else
16874 cat >conftest.$ac_ext <<_ACEOF
16875 #line $LINENO "configure"
16876 /* confdefs.h. */
16877 _ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16881 main () {
16882 /* Are we little or big endian? From Harbison&Steele. */
16883 union
16884 {
16885 long l;
16886 char c[sizeof (long)];
16887 } u;
16888 u.l = 1;
16889 exit (u.c[sizeof (long) - 1] == 1);
16890 }
16891 _ACEOF
16892 rm -f conftest$ac_exeext
16893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16894 (eval $ac_link) 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_cv_c_bigendian=no
16904 else
16905 echo "$as_me: program exited with status $ac_status" >&5
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16908
16909 ( exit $ac_status )
16910 ac_cv_c_bigendian=yes
16911 fi
16912 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16913 fi
16914 fi
16915 fi
16916 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16917 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16918 if test $ac_cv_c_bigendian = unknown; then
16919 { 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
16920 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;}
16921 fi
16922 if test $ac_cv_c_bigendian = yes; then
16923 cat >>confdefs.h <<\_ACEOF
16924 #define WORDS_BIGENDIAN 1
16925 _ACEOF
16926
16927 fi
16928
16929
16930
16931 ac_ext=cc
16932 ac_cpp='$CXXCPP $CPPFLAGS'
16933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16936 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16937 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16938 if test -z "$CXXCPP"; then
16939 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 else
16942 # Double quotes because CXXCPP needs to be expanded
16943 for CXXCPP in "$CXX -E" "/lib/cpp"
16944 do
16945 ac_preproc_ok=false
16946 for ac_cxx_preproc_warn_flag in '' yes
16947 do
16948 # Use a header file that comes with gcc, so configuring glibc
16949 # with a fresh cross-compiler works.
16950 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16951 # <limits.h> exists even on freestanding compilers.
16952 # On the NeXT, cc -E runs the code through the compiler's parser,
16953 # not just through cpp. "Syntax error" is here to catch this case.
16954 cat >conftest.$ac_ext <<_ACEOF
16955 #line $LINENO "configure"
16956 /* confdefs.h. */
16957 _ACEOF
16958 cat confdefs.h >>conftest.$ac_ext
16959 cat >>conftest.$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16961 #ifdef __STDC__
16962 # include <limits.h>
16963 #else
16964 # include <assert.h>
16965 #endif
16966 Syntax error
16967 _ACEOF
16968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16970 ac_status=$?
16971 grep -v '^ *+' conftest.er1 >conftest.err
16972 rm -f conftest.er1
16973 cat conftest.err >&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } >/dev/null; then
16976 if test -s conftest.err; then
16977 ac_cpp_err=$ac_cxx_preproc_warn_flag
16978 else
16979 ac_cpp_err=
16980 fi
16981 else
16982 ac_cpp_err=yes
16983 fi
16984 if test -z "$ac_cpp_err"; then
16985 :
16986 else
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16989
16990 # Broken: fails on valid input.
16991 continue
16992 fi
16993 rm -f conftest.err conftest.$ac_ext
16994
16995 # OK, works on sane cases. Now check whether non-existent headers
16996 # can be detected and how.
16997 cat >conftest.$ac_ext <<_ACEOF
16998 #line $LINENO "configure"
16999 /* confdefs.h. */
17000 _ACEOF
17001 cat confdefs.h >>conftest.$ac_ext
17002 cat >>conftest.$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17004 #include <ac_nonexistent.h>
17005 _ACEOF
17006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17008 ac_status=$?
17009 grep -v '^ *+' conftest.er1 >conftest.err
17010 rm -f conftest.er1
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } >/dev/null; then
17014 if test -s conftest.err; then
17015 ac_cpp_err=$ac_cxx_preproc_warn_flag
17016 else
17017 ac_cpp_err=
17018 fi
17019 else
17020 ac_cpp_err=yes
17021 fi
17022 if test -z "$ac_cpp_err"; then
17023 # Broken: success on invalid input.
17024 continue
17025 else
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17028
17029 # Passes both tests.
17030 ac_preproc_ok=:
17031 break
17032 fi
17033 rm -f conftest.err conftest.$ac_ext
17034
17035 done
17036 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17037 rm -f conftest.err conftest.$ac_ext
17038 if $ac_preproc_ok; then
17039 break
17040 fi
17041
17042 done
17043 ac_cv_prog_CXXCPP=$CXXCPP
17044
17045 fi
17046 CXXCPP=$ac_cv_prog_CXXCPP
17047 else
17048 ac_cv_prog_CXXCPP=$CXXCPP
17049 fi
17050 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17051 echo "${ECHO_T}$CXXCPP" >&6
17052 ac_preproc_ok=false
17053 for ac_cxx_preproc_warn_flag in '' yes
17054 do
17055 # Use a header file that comes with gcc, so configuring glibc
17056 # with a fresh cross-compiler works.
17057 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17058 # <limits.h> exists even on freestanding compilers.
17059 # On the NeXT, cc -E runs the code through the compiler's parser,
17060 # not just through cpp. "Syntax error" is here to catch this case.
17061 cat >conftest.$ac_ext <<_ACEOF
17062 #line $LINENO "configure"
17063 /* confdefs.h. */
17064 _ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 #ifdef __STDC__
17069 # include <limits.h>
17070 #else
17071 # include <assert.h>
17072 #endif
17073 Syntax error
17074 _ACEOF
17075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17077 ac_status=$?
17078 grep -v '^ *+' conftest.er1 >conftest.err
17079 rm -f conftest.er1
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } >/dev/null; then
17083 if test -s conftest.err; then
17084 ac_cpp_err=$ac_cxx_preproc_warn_flag
17085 else
17086 ac_cpp_err=
17087 fi
17088 else
17089 ac_cpp_err=yes
17090 fi
17091 if test -z "$ac_cpp_err"; then
17092 :
17093 else
17094 echo "$as_me: failed program was:" >&5
17095 sed 's/^/| /' conftest.$ac_ext >&5
17096
17097 # Broken: fails on valid input.
17098 continue
17099 fi
17100 rm -f conftest.err conftest.$ac_ext
17101
17102 # OK, works on sane cases. Now check whether non-existent headers
17103 # can be detected and how.
17104 cat >conftest.$ac_ext <<_ACEOF
17105 #line $LINENO "configure"
17106 /* confdefs.h. */
17107 _ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17111 #include <ac_nonexistent.h>
17112 _ACEOF
17113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17115 ac_status=$?
17116 grep -v '^ *+' conftest.er1 >conftest.err
17117 rm -f conftest.er1
17118 cat conftest.err >&5
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17120 (exit $ac_status); } >/dev/null; then
17121 if test -s conftest.err; then
17122 ac_cpp_err=$ac_cxx_preproc_warn_flag
17123 else
17124 ac_cpp_err=
17125 fi
17126 else
17127 ac_cpp_err=yes
17128 fi
17129 if test -z "$ac_cpp_err"; then
17130 # Broken: success on invalid input.
17131 continue
17132 else
17133 echo "$as_me: failed program was:" >&5
17134 sed 's/^/| /' conftest.$ac_ext >&5
17135
17136 # Passes both tests.
17137 ac_preproc_ok=:
17138 break
17139 fi
17140 rm -f conftest.err conftest.$ac_ext
17141
17142 done
17143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17144 rm -f conftest.err conftest.$ac_ext
17145 if $ac_preproc_ok; then
17146 :
17147 else
17148 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17149 See \`config.log' for more details." >&5
17150 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17151 See \`config.log' for more details." >&2;}
17152 { (exit 1); exit 1; }; }
17153 fi
17154
17155 ac_ext=cc
17156 ac_cpp='$CXXCPP $CPPFLAGS'
17157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17160
17161
17162
17163 if test "$cross_compiling" = "yes"; then
17164 cat >>confdefs.h <<\_ACEOF
17165 #define wxUSE_IOSTREAMH 1
17166 _ACEOF
17167
17168 else
17169
17170
17171 ac_ext=cc
17172 ac_cpp='$CXXCPP $CPPFLAGS'
17173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17176
17177
17178
17179 for ac_header in iostream
17180 do
17181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17183 echo "$as_me:$LINENO: checking for $ac_header" >&5
17184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 fi
17188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17190 else
17191 # Is the header compilable?
17192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17194 cat >conftest.$ac_ext <<_ACEOF
17195 #line $LINENO "configure"
17196 /* confdefs.h. */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_includes_default
17202 #include <$ac_header>
17203 _ACEOF
17204 rm -f conftest.$ac_objext
17205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17206 (eval $ac_compile) 2>&5
17207 ac_status=$?
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } &&
17210 { ac_try='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_header_compiler=yes
17217 else
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.$ac_ext >&5
17220
17221 ac_header_compiler=no
17222 fi
17223 rm -f conftest.$ac_objext conftest.$ac_ext
17224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17225 echo "${ECHO_T}$ac_header_compiler" >&6
17226
17227 # Is the header present?
17228 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17230 cat >conftest.$ac_ext <<_ACEOF
17231 #line $LINENO "configure"
17232 /* confdefs.h. */
17233 _ACEOF
17234 cat confdefs.h >>conftest.$ac_ext
17235 cat >>conftest.$ac_ext <<_ACEOF
17236 /* end confdefs.h. */
17237 #include <$ac_header>
17238 _ACEOF
17239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17241 ac_status=$?
17242 grep -v '^ *+' conftest.er1 >conftest.err
17243 rm -f conftest.er1
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } >/dev/null; then
17247 if test -s conftest.err; then
17248 ac_cpp_err=$ac_cxx_preproc_warn_flag
17249 else
17250 ac_cpp_err=
17251 fi
17252 else
17253 ac_cpp_err=yes
17254 fi
17255 if test -z "$ac_cpp_err"; then
17256 ac_header_preproc=yes
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17260
17261 ac_header_preproc=no
17262 fi
17263 rm -f conftest.err conftest.$ac_ext
17264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17265 echo "${ECHO_T}$ac_header_preproc" >&6
17266
17267 # So? What about this header?
17268 case $ac_header_compiler:$ac_header_preproc in
17269 yes:no )
17270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17271 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17274 (
17275 cat <<\_ASBOX
17276 ## ------------------------------------ ##
17277 ## Report this to bug-autoconf@gnu.org. ##
17278 ## ------------------------------------ ##
17279 _ASBOX
17280 ) |
17281 sed "s/^/$as_me: WARNING: /" >&2
17282 ;;
17283 no:yes )
17284 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17285 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17286 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17287 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17290 (
17291 cat <<\_ASBOX
17292 ## ------------------------------------ ##
17293 ## Report this to bug-autoconf@gnu.org. ##
17294 ## ------------------------------------ ##
17295 _ASBOX
17296 ) |
17297 sed "s/^/$as_me: WARNING: /" >&2
17298 ;;
17299 esac
17300 echo "$as_me:$LINENO: checking for $ac_header" >&5
17301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17304 else
17305 eval "$as_ac_Header=$ac_header_preproc"
17306 fi
17307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17309
17310 fi
17311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17312 cat >>confdefs.h <<_ACEOF
17313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17314 _ACEOF
17315
17316 fi
17317
17318 done
17319
17320
17321 if test "$ac_cv_header_iostream" = "yes" ; then
17322 :
17323 else
17324 cat >>confdefs.h <<\_ACEOF
17325 #define wxUSE_IOSTREAMH 1
17326 _ACEOF
17327
17328 fi
17329
17330 ac_ext=c
17331 ac_cpp='$CPP $CPPFLAGS'
17332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17335
17336 fi
17337
17338
17339
17340 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17341 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17342 if test "${wx_cv_cpp_bool+set}" = set; then
17343 echo $ECHO_N "(cached) $ECHO_C" >&6
17344 else
17345
17346
17347
17348 ac_ext=cc
17349 ac_cpp='$CXXCPP $CPPFLAGS'
17350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17353
17354
17355 cat >conftest.$ac_ext <<_ACEOF
17356 #line $LINENO "configure"
17357 /* confdefs.h. */
17358 _ACEOF
17359 cat confdefs.h >>conftest.$ac_ext
17360 cat >>conftest.$ac_ext <<_ACEOF
17361 /* end confdefs.h. */
17362
17363
17364 int
17365 main ()
17366 {
17367
17368 bool b = true;
17369
17370 return 0;
17371
17372 ;
17373 return 0;
17374 }
17375 _ACEOF
17376 rm -f conftest.$ac_objext
17377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17378 (eval $ac_compile) 2>&5
17379 ac_status=$?
17380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17381 (exit $ac_status); } &&
17382 { ac_try='test -s conftest.$ac_objext'
17383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17384 (eval $ac_try) 2>&5
17385 ac_status=$?
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17387 (exit $ac_status); }; }; then
17388
17389 wx_cv_cpp_bool=yes
17390
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17394
17395
17396 wx_cv_cpp_bool=no
17397
17398
17399 fi
17400 rm -f conftest.$ac_objext conftest.$ac_ext
17401
17402 ac_ext=c
17403 ac_cpp='$CPP $CPPFLAGS'
17404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17407
17408
17409 fi
17410 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17411 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17412
17413 if test "$wx_cv_cpp_bool" = "yes"; then
17414 cat >>confdefs.h <<\_ACEOF
17415 #define HAVE_BOOL 1
17416 _ACEOF
17417
17418 fi
17419
17420
17421
17422 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17423 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17424 if test "${wx_cv_explicit+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 else
17427
17428
17429
17430 ac_ext=cc
17431 ac_cpp='$CXXCPP $CPPFLAGS'
17432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17435
17436
17437 cat >conftest.$ac_ext <<_ACEOF
17438 #line $LINENO "configure"
17439 /* confdefs.h. */
17440 _ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444
17445 class Foo { public: explicit Foo(int) {} };
17446
17447 int
17448 main ()
17449 {
17450
17451 return 0;
17452
17453 ;
17454 return 0;
17455 }
17456 _ACEOF
17457 rm -f conftest.$ac_objext
17458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17459 (eval $ac_compile) 2>&5
17460 ac_status=$?
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); } &&
17463 { ac_try='test -s conftest.$ac_objext'
17464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17465 (eval $ac_try) 2>&5
17466 ac_status=$?
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); }; }; then
17469
17470 cat >conftest.$ac_ext <<_ACEOF
17471 #line $LINENO "configure"
17472 /* confdefs.h. */
17473 _ACEOF
17474 cat confdefs.h >>conftest.$ac_ext
17475 cat >>conftest.$ac_ext <<_ACEOF
17476 /* end confdefs.h. */
17477
17478 class Foo { public: explicit Foo(int) {} };
17479 static void TakeFoo(const Foo& foo) { }
17480
17481 int
17482 main ()
17483 {
17484
17485 TakeFoo(17);
17486 return 0;
17487
17488 ;
17489 return 0;
17490 }
17491 _ACEOF
17492 rm -f conftest.$ac_objext
17493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17494 (eval $ac_compile) 2>&5
17495 ac_status=$?
17496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17497 (exit $ac_status); } &&
17498 { ac_try='test -s conftest.$ac_objext'
17499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17500 (eval $ac_try) 2>&5
17501 ac_status=$?
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); }; }; then
17504 wx_cv_explicit=no
17505 else
17506 echo "$as_me: failed program was:" >&5
17507 sed 's/^/| /' conftest.$ac_ext >&5
17508
17509 wx_cv_explicit=yes
17510
17511 fi
17512 rm -f conftest.$ac_objext conftest.$ac_ext
17513
17514 else
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 wx_cv_explicit=no
17519
17520 fi
17521 rm -f conftest.$ac_objext conftest.$ac_ext
17522
17523 ac_ext=c
17524 ac_cpp='$CPP $CPPFLAGS'
17525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17528
17529
17530 fi
17531 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17532 echo "${ECHO_T}$wx_cv_explicit" >&6
17533
17534 if test "$wx_cv_explicit" = "yes"; then
17535 cat >>confdefs.h <<\_ACEOF
17536 #define HAVE_EXPLICIT 1
17537 _ACEOF
17538
17539 fi
17540
17541
17542 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17543 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17544 if test "${ac_cv_cxx_const_cast+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 else
17547
17548
17549 ac_ext=cc
17550 ac_cpp='$CXXCPP $CPPFLAGS'
17551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17554
17555 cat >conftest.$ac_ext <<_ACEOF
17556 #line $LINENO "configure"
17557 /* confdefs.h. */
17558 _ACEOF
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562
17563 int
17564 main ()
17565 {
17566 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17567 ;
17568 return 0;
17569 }
17570 _ACEOF
17571 rm -f conftest.$ac_objext
17572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17573 (eval $ac_compile) 2>&5
17574 ac_status=$?
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try='test -s conftest.$ac_objext'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; }; then
17583 ac_cv_cxx_const_cast=yes
17584 else
17585 echo "$as_me: failed program was:" >&5
17586 sed 's/^/| /' conftest.$ac_ext >&5
17587
17588 ac_cv_cxx_const_cast=no
17589 fi
17590 rm -f conftest.$ac_objext conftest.$ac_ext
17591 ac_ext=c
17592 ac_cpp='$CPP $CPPFLAGS'
17593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17596
17597
17598 fi
17599 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17600 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17601 if test "$ac_cv_cxx_const_cast" = yes; then
17602
17603 cat >>confdefs.h <<\_ACEOF
17604 #define HAVE_CONST_CAST
17605 _ACEOF
17606
17607 fi
17608
17609
17610
17611 SEARCH_INCLUDE="\
17612 /usr/local/include \
17613 \
17614 /usr/Motif-1.2/include \
17615 /usr/Motif-2.1/include \
17616 \
17617 /usr/include/Motif1.2 \
17618 /opt/xpm/include/X11 \
17619 /opt/GBxpm/include/ \
17620 /opt/GBxpm/X11/include/ \
17621 \
17622 /usr/Motif1.2/include \
17623 /usr/dt/include \
17624 /usr/openwin/include \
17625 \
17626 /usr/include/Xm \
17627 \
17628 /usr/X11R6/include \
17629 /usr/X11R6.4/include \
17630 /usr/X11R5/include \
17631 /usr/X11R4/include \
17632 \
17633 /usr/include/X11R6 \
17634 /usr/include/X11R5 \
17635 /usr/include/X11R4 \
17636 \
17637 /usr/local/X11R6/include \
17638 /usr/local/X11R5/include \
17639 /usr/local/X11R4/include \
17640 \
17641 /usr/local/include/X11R6 \
17642 /usr/local/include/X11R5 \
17643 /usr/local/include/X11R4 \
17644 \
17645 /usr/X11/include \
17646 /usr/include/X11 \
17647 /usr/local/X11/include \
17648 /usr/local/include/X11 \
17649 \
17650 /usr/X386/include \
17651 /usr/x386/include \
17652 /usr/XFree86/include/X11 \
17653 \
17654 X:/XFree86/include \
17655 X:/XFree86/include/X11 \
17656 \
17657 /usr/include/gtk \
17658 /usr/local/include/gtk \
17659 /usr/include/glib \
17660 /usr/local/include/glib \
17661 \
17662 /usr/include/qt \
17663 /usr/local/include/qt \
17664 \
17665 /usr/include/windows \
17666 /usr/include/wine \
17667 /usr/local/include/wine \
17668 \
17669 /usr/unsupported/include \
17670 /usr/athena/include \
17671 /usr/local/x11r5/include \
17672 /usr/lpp/Xamples/include \
17673 \
17674 /usr/openwin/share/include"
17675
17676 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17677
17678
17679 cat >confcache <<\_ACEOF
17680 # This file is a shell script that caches the results of configure
17681 # tests run on this system so they can be shared between configure
17682 # scripts and configure runs, see configure's option --config-cache.
17683 # It is not useful on other systems. If it contains results you don't
17684 # want to keep, you may remove or edit it.
17685 #
17686 # config.status only pays attention to the cache file if you give it
17687 # the --recheck option to rerun configure.
17688 #
17689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17691 # following values.
17692
17693 _ACEOF
17694
17695 # The following way of writing the cache mishandles newlines in values,
17696 # but we know of no workaround that is simple, portable, and efficient.
17697 # So, don't put newlines in cache variables' values.
17698 # Ultrix sh set writes to stderr and can't be redirected directly,
17699 # and sets the high bit in the cache file unless we assign to the vars.
17700 {
17701 (set) 2>&1 |
17702 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17703 *ac_space=\ *)
17704 # `set' does not quote correctly, so add quotes (double-quote
17705 # substitution turns \\\\ into \\, and sed turns \\ into \).
17706 sed -n \
17707 "s/'/'\\\\''/g;
17708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17709 ;;
17710 *)
17711 # `set' quotes correctly as required by POSIX, so do not add quotes.
17712 sed -n \
17713 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17714 ;;
17715 esac;
17716 } |
17717 sed '
17718 t clear
17719 : clear
17720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17721 t end
17722 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17723 : end' >>confcache
17724 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17725 if test -w $cache_file; then
17726 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17727 cat confcache >$cache_file
17728 else
17729 echo "not updating unwritable cache $cache_file"
17730 fi
17731 fi
17732 rm -f confcache
17733
17734 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17735 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17736 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17737 if test "${wx_cv_lib_glibc21+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 else
17740
17741 cat >conftest.$ac_ext <<_ACEOF
17742 #line $LINENO "configure"
17743 /* confdefs.h. */
17744 _ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 #include <features.h>
17749 int
17750 main ()
17751 {
17752
17753 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17754 #error not glibc2.1
17755 #endif
17756
17757 ;
17758 return 0;
17759 }
17760 _ACEOF
17761 rm -f conftest.$ac_objext
17762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17763 (eval $ac_compile) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try='test -s conftest.$ac_objext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17770 ac_status=$?
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773
17774 wx_cv_lib_glibc21=yes
17775
17776 else
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.$ac_ext >&5
17779
17780
17781 wx_cv_lib_glibc21=no
17782
17783
17784 fi
17785 rm -f conftest.$ac_objext conftest.$ac_ext
17786
17787 fi
17788 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17789 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17790 if test "$wx_cv_lib_glibc21" = "yes"; then
17791 cat >>confdefs.h <<\_ACEOF
17792 #define wxHAVE_GLIBC2 1
17793 _ACEOF
17794
17795 fi
17796 fi
17797
17798 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17799 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17800 cat >>confdefs.h <<\_ACEOF
17801 #define _GNU_SOURCE 1
17802 _ACEOF
17803
17804 fi
17805 fi
17806
17807
17808
17809 REGEX_INCLUDE=
17810 if test "$wxUSE_REGEX" != "no"; then
17811 cat >>confdefs.h <<\_ACEOF
17812 #define wxUSE_REGEX 1
17813 _ACEOF
17814
17815
17816 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17817 if test "${ac_cv_header_regex_h+set}" = set; then
17818 echo "$as_me:$LINENO: checking for regex.h" >&5
17819 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17820 if test "${ac_cv_header_regex_h+set}" = set; then
17821 echo $ECHO_N "(cached) $ECHO_C" >&6
17822 fi
17823 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17824 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17825 else
17826 # Is the header compilable?
17827 echo "$as_me:$LINENO: checking regex.h usability" >&5
17828 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17829 cat >conftest.$ac_ext <<_ACEOF
17830 #line $LINENO "configure"
17831 /* confdefs.h. */
17832 _ACEOF
17833 cat confdefs.h >>conftest.$ac_ext
17834 cat >>conftest.$ac_ext <<_ACEOF
17835 /* end confdefs.h. */
17836 $ac_includes_default
17837 #include <regex.h>
17838 _ACEOF
17839 rm -f conftest.$ac_objext
17840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17841 (eval $ac_compile) 2>&5
17842 ac_status=$?
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try='test -s conftest.$ac_objext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 ac_header_compiler=yes
17852 else
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17855
17856 ac_header_compiler=no
17857 fi
17858 rm -f conftest.$ac_objext conftest.$ac_ext
17859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17860 echo "${ECHO_T}$ac_header_compiler" >&6
17861
17862 # Is the header present?
17863 echo "$as_me:$LINENO: checking regex.h presence" >&5
17864 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17865 cat >conftest.$ac_ext <<_ACEOF
17866 #line $LINENO "configure"
17867 /* confdefs.h. */
17868 _ACEOF
17869 cat confdefs.h >>conftest.$ac_ext
17870 cat >>conftest.$ac_ext <<_ACEOF
17871 /* end confdefs.h. */
17872 #include <regex.h>
17873 _ACEOF
17874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17876 ac_status=$?
17877 grep -v '^ *+' conftest.er1 >conftest.err
17878 rm -f conftest.er1
17879 cat conftest.err >&5
17880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17881 (exit $ac_status); } >/dev/null; then
17882 if test -s conftest.err; then
17883 ac_cpp_err=$ac_c_preproc_warn_flag
17884 else
17885 ac_cpp_err=
17886 fi
17887 else
17888 ac_cpp_err=yes
17889 fi
17890 if test -z "$ac_cpp_err"; then
17891 ac_header_preproc=yes
17892 else
17893 echo "$as_me: failed program was:" >&5
17894 sed 's/^/| /' conftest.$ac_ext >&5
17895
17896 ac_header_preproc=no
17897 fi
17898 rm -f conftest.err conftest.$ac_ext
17899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17900 echo "${ECHO_T}$ac_header_preproc" >&6
17901
17902 # So? What about this header?
17903 case $ac_header_compiler:$ac_header_preproc in
17904 yes:no )
17905 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17906 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17907 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17908 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17909 (
17910 cat <<\_ASBOX
17911 ## ------------------------------------ ##
17912 ## Report this to bug-autoconf@gnu.org. ##
17913 ## ------------------------------------ ##
17914 _ASBOX
17915 ) |
17916 sed "s/^/$as_me: WARNING: /" >&2
17917 ;;
17918 no:yes )
17919 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17920 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17921 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17922 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17923 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17924 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17925 (
17926 cat <<\_ASBOX
17927 ## ------------------------------------ ##
17928 ## Report this to bug-autoconf@gnu.org. ##
17929 ## ------------------------------------ ##
17930 _ASBOX
17931 ) |
17932 sed "s/^/$as_me: WARNING: /" >&2
17933 ;;
17934 esac
17935 echo "$as_me:$LINENO: checking for regex.h" >&5
17936 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17937 if test "${ac_cv_header_regex_h+set}" = set; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 else
17940 ac_cv_header_regex_h=$ac_header_preproc
17941 fi
17942 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17943 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17944
17945 fi
17946 if test $ac_cv_header_regex_h = yes; then
17947
17948 for ac_func in regcomp
17949 do
17950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17951 echo "$as_me:$LINENO: checking for $ac_func" >&5
17952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17953 if eval "test \"\${$as_ac_var+set}\" = set"; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 else
17956 cat >conftest.$ac_ext <<_ACEOF
17957 #line $LINENO "configure"
17958 /* confdefs.h. */
17959 _ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 /* System header to define __stub macros and hopefully few prototypes,
17964 which can conflict with char $ac_func (); below.
17965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17966 <limits.h> exists even on freestanding compilers. */
17967 #ifdef __STDC__
17968 # include <limits.h>
17969 #else
17970 # include <assert.h>
17971 #endif
17972 /* Override any gcc2 internal prototype to avoid an error. */
17973 #ifdef __cplusplus
17974 extern "C"
17975 {
17976 #endif
17977 /* We use char because int might match the return type of a gcc2
17978 builtin and then its argument prototype would still apply. */
17979 char $ac_func ();
17980 /* The GNU C library defines this for functions which it implements
17981 to always fail with ENOSYS. Some functions are actually named
17982 something starting with __ and the normal name is an alias. */
17983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17984 choke me
17985 #else
17986 char (*f) () = $ac_func;
17987 #endif
17988 #ifdef __cplusplus
17989 }
17990 #endif
17991
17992 int
17993 main ()
17994 {
17995 return f != $ac_func;
17996 ;
17997 return 0;
17998 }
17999 _ACEOF
18000 rm -f conftest.$ac_objext conftest$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002 (eval $ac_link) 2>&5
18003 ac_status=$?
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } &&
18006 { ac_try='test -s conftest$ac_exeext'
18007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008 (eval $ac_try) 2>&5
18009 ac_status=$?
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); }; }; then
18012 eval "$as_ac_var=yes"
18013 else
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18016
18017 eval "$as_ac_var=no"
18018 fi
18019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18020 fi
18021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18023 if test `eval echo '${'$as_ac_var'}'` = yes; then
18024 cat >>confdefs.h <<_ACEOF
18025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18026 _ACEOF
18027
18028 fi
18029 done
18030
18031 fi
18032
18033
18034
18035 if test "x$ac_cv_func_regcomp" != "xyes"; then
18036 if test "$wxUSE_REGEX" = "sys" ; then
18037 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18038 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18039 { (exit 1); exit 1; }; }
18040 else
18041 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18042 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18043 wxUSE_REGEX=builtin
18044 fi
18045 else
18046 wxUSE_REGEX=sys
18047 fi
18048 fi
18049
18050 if test "$wxUSE_REGEX" = "builtin" ; then
18051 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18052 fi
18053 fi
18054
18055
18056 ZLIB_INCLUDE=
18057 ZLIB_LINK=
18058 if test "$wxUSE_ZLIB" != "no" ; then
18059 cat >>confdefs.h <<\_ACEOF
18060 #define wxUSE_ZLIB 1
18061 _ACEOF
18062
18063
18064 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18065 if test "$USE_DARWIN" = 1; then
18066 system_zlib_h_ok="yes"
18067 else
18068 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18069 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18070 if test "${ac_cv_header_zlib_h+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073 if test "$cross_compiling" = yes; then
18074 unset ac_cv_header_zlib_h
18075
18076 else
18077 cat >conftest.$ac_ext <<_ACEOF
18078 #line $LINENO "configure"
18079 /* confdefs.h. */
18080 _ACEOF
18081 cat confdefs.h >>conftest.$ac_ext
18082 cat >>conftest.$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18084
18085 #include <zlib.h>
18086 #include <stdio.h>
18087
18088 int main()
18089 {
18090 FILE *f=fopen("conftestval", "w");
18091 if (!f) exit(1);
18092 fprintf(f, "%s",
18093 ZLIB_VERSION[0] == '1' &&
18094 (ZLIB_VERSION[2] > '1' ||
18095 (ZLIB_VERSION[2] == '1' &&
18096 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18097 exit(0);
18098 }
18099
18100 _ACEOF
18101 rm -f conftest$ac_exeext
18102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18103 (eval $ac_link) 2>&5
18104 ac_status=$?
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18108 (eval $ac_try) 2>&5
18109 ac_status=$?
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); }; }; then
18112 ac_cv_header_zlib_h=`cat conftestval`
18113 else
18114 echo "$as_me: program exited with status $ac_status" >&5
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18117
18118 ( exit $ac_status )
18119 ac_cv_header_zlib_h=no
18120 fi
18121 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18122 fi
18123
18124 fi
18125 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18126 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18127 if test "${ac_cv_header_zlib_h+set}" = set; then
18128 echo "$as_me:$LINENO: checking for zlib.h" >&5
18129 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18130 if test "${ac_cv_header_zlib_h+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18132 fi
18133 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18134 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18135 else
18136 # Is the header compilable?
18137 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18138 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18139 cat >conftest.$ac_ext <<_ACEOF
18140 #line $LINENO "configure"
18141 /* confdefs.h. */
18142 _ACEOF
18143 cat confdefs.h >>conftest.$ac_ext
18144 cat >>conftest.$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146 $ac_includes_default
18147 #include <zlib.h>
18148 _ACEOF
18149 rm -f conftest.$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>&5
18152 ac_status=$?
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } &&
18155 { ac_try='test -s conftest.$ac_objext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 ac_header_compiler=yes
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 ac_header_compiler=no
18167 fi
18168 rm -f conftest.$ac_objext conftest.$ac_ext
18169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18170 echo "${ECHO_T}$ac_header_compiler" >&6
18171
18172 # Is the header present?
18173 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18174 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18175 cat >conftest.$ac_ext <<_ACEOF
18176 #line $LINENO "configure"
18177 /* confdefs.h. */
18178 _ACEOF
18179 cat confdefs.h >>conftest.$ac_ext
18180 cat >>conftest.$ac_ext <<_ACEOF
18181 /* end confdefs.h. */
18182 #include <zlib.h>
18183 _ACEOF
18184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18185 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18186 ac_status=$?
18187 grep -v '^ *+' conftest.er1 >conftest.err
18188 rm -f conftest.er1
18189 cat conftest.err >&5
18190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18191 (exit $ac_status); } >/dev/null; then
18192 if test -s conftest.err; then
18193 ac_cpp_err=$ac_c_preproc_warn_flag
18194 else
18195 ac_cpp_err=
18196 fi
18197 else
18198 ac_cpp_err=yes
18199 fi
18200 if test -z "$ac_cpp_err"; then
18201 ac_header_preproc=yes
18202 else
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18205
18206 ac_header_preproc=no
18207 fi
18208 rm -f conftest.err conftest.$ac_ext
18209 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18210 echo "${ECHO_T}$ac_header_preproc" >&6
18211
18212 # So? What about this header?
18213 case $ac_header_compiler:$ac_header_preproc in
18214 yes:no )
18215 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18216 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18217 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18218 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18219 (
18220 cat <<\_ASBOX
18221 ## ------------------------------------ ##
18222 ## Report this to bug-autoconf@gnu.org. ##
18223 ## ------------------------------------ ##
18224 _ASBOX
18225 ) |
18226 sed "s/^/$as_me: WARNING: /" >&2
18227 ;;
18228 no:yes )
18229 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18230 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18231 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18232 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18233 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18234 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18235 (
18236 cat <<\_ASBOX
18237 ## ------------------------------------ ##
18238 ## Report this to bug-autoconf@gnu.org. ##
18239 ## ------------------------------------ ##
18240 _ASBOX
18241 ) |
18242 sed "s/^/$as_me: WARNING: /" >&2
18243 ;;
18244 esac
18245 echo "$as_me:$LINENO: checking for zlib.h" >&5
18246 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18247 if test "${ac_cv_header_zlib_h+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 else
18250 ac_cv_header_zlib_h=$ac_header_preproc
18251 fi
18252 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18253 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18254
18255 fi
18256
18257
18258
18259 system_zlib_h_ok=$ac_cv_header_zlib_h
18260 fi
18261
18262 if test "$system_zlib_h_ok" = "yes"; then
18263 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18264 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18265 if test "${ac_cv_lib_z_deflate+set}" = set; then
18266 echo $ECHO_N "(cached) $ECHO_C" >&6
18267 else
18268 ac_check_lib_save_LIBS=$LIBS
18269 LIBS="-lz $LIBS"
18270 cat >conftest.$ac_ext <<_ACEOF
18271 #line $LINENO "configure"
18272 /* confdefs.h. */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h. */
18277
18278 /* Override any gcc2 internal prototype to avoid an error. */
18279 #ifdef __cplusplus
18280 extern "C"
18281 #endif
18282 /* We use char because int might match the return type of a gcc2
18283 builtin and then its argument prototype would still apply. */
18284 char deflate ();
18285 int
18286 main ()
18287 {
18288 deflate ();
18289 ;
18290 return 0;
18291 }
18292 _ACEOF
18293 rm -f conftest.$ac_objext conftest$ac_exeext
18294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18295 (eval $ac_link) 2>&5
18296 ac_status=$?
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } &&
18299 { ac_try='test -s conftest$ac_exeext'
18300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18301 (eval $ac_try) 2>&5
18302 ac_status=$?
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); }; }; then
18305 ac_cv_lib_z_deflate=yes
18306 else
18307 echo "$as_me: failed program was:" >&5
18308 sed 's/^/| /' conftest.$ac_ext >&5
18309
18310 ac_cv_lib_z_deflate=no
18311 fi
18312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18313 LIBS=$ac_check_lib_save_LIBS
18314 fi
18315 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18316 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18317 if test $ac_cv_lib_z_deflate = yes; then
18318 ZLIB_LINK=" -lz"
18319 fi
18320
18321 fi
18322
18323 if test "x$ZLIB_LINK" = "x" ; then
18324 if test "$wxUSE_ZLIB" = "sys" ; then
18325 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18326 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18327 { (exit 1); exit 1; }; }
18328 else
18329 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18330 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18331 wxUSE_ZLIB=builtin
18332 fi
18333 else
18334 wxUSE_ZLIB=sys
18335 fi
18336 fi
18337
18338 if test "$wxUSE_ZLIB" = "builtin" ; then
18339 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18340 fi
18341 fi
18342
18343
18344 PNG_INCLUDE=
18345 PNG_LINK=
18346 if test "$wxUSE_LIBPNG" != "no" ; then
18347 cat >>confdefs.h <<\_ACEOF
18348 #define wxUSE_LIBPNG 1
18349 _ACEOF
18350
18351
18352 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18353 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18354 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18355 wxUSE_LIBPNG=sys
18356 fi
18357
18358 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18359 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18360 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18361 wxUSE_LIBPNG=builtin
18362 fi
18363
18364 if test "$wxUSE_MGL" != 1 ; then
18365 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18366 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18367 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18368 if test "${ac_cv_header_png_h+set}" = set; then
18369 echo $ECHO_N "(cached) $ECHO_C" >&6
18370 else
18371 if test "$cross_compiling" = yes; then
18372 unset ac_cv_header_png_h
18373
18374 else
18375 cat >conftest.$ac_ext <<_ACEOF
18376 #line $LINENO "configure"
18377 /* confdefs.h. */
18378 _ACEOF
18379 cat confdefs.h >>conftest.$ac_ext
18380 cat >>conftest.$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382
18383 #include <png.h>
18384 #include <stdio.h>
18385
18386 int main()
18387 {
18388 FILE *f=fopen("conftestval", "w");
18389 if (!f) exit(1);
18390 fprintf(f, "%s",
18391 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18392 exit(0);
18393 }
18394
18395 _ACEOF
18396 rm -f conftest$ac_exeext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18398 (eval $ac_link) 2>&5
18399 ac_status=$?
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18403 (eval $ac_try) 2>&5
18404 ac_status=$?
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); }; }; then
18407 ac_cv_header_png_h=`cat conftestval`
18408 else
18409 echo "$as_me: program exited with status $ac_status" >&5
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18412
18413 ( exit $ac_status )
18414 ac_cv_header_png_h=no
18415 fi
18416 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18417 fi
18418
18419 fi
18420 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18421 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18422 if test "${ac_cv_header_png_h+set}" = set; then
18423 echo "$as_me:$LINENO: checking for png.h" >&5
18424 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18425 if test "${ac_cv_header_png_h+set}" = set; then
18426 echo $ECHO_N "(cached) $ECHO_C" >&6
18427 fi
18428 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18429 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18430 else
18431 # Is the header compilable?
18432 echo "$as_me:$LINENO: checking png.h usability" >&5
18433 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18434 cat >conftest.$ac_ext <<_ACEOF
18435 #line $LINENO "configure"
18436 /* confdefs.h. */
18437 _ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 $ac_includes_default
18442 #include <png.h>
18443 _ACEOF
18444 rm -f conftest.$ac_objext
18445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18446 (eval $ac_compile) 2>&5
18447 ac_status=$?
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); } &&
18450 { ac_try='test -s conftest.$ac_objext'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18453 ac_status=$?
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; }; then
18456 ac_header_compiler=yes
18457 else
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18460
18461 ac_header_compiler=no
18462 fi
18463 rm -f conftest.$ac_objext conftest.$ac_ext
18464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18465 echo "${ECHO_T}$ac_header_compiler" >&6
18466
18467 # Is the header present?
18468 echo "$as_me:$LINENO: checking png.h presence" >&5
18469 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18470 cat >conftest.$ac_ext <<_ACEOF
18471 #line $LINENO "configure"
18472 /* confdefs.h. */
18473 _ACEOF
18474 cat confdefs.h >>conftest.$ac_ext
18475 cat >>conftest.$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18477 #include <png.h>
18478 _ACEOF
18479 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18480 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18481 ac_status=$?
18482 grep -v '^ *+' conftest.er1 >conftest.err
18483 rm -f conftest.er1
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } >/dev/null; then
18487 if test -s conftest.err; then
18488 ac_cpp_err=$ac_c_preproc_warn_flag
18489 else
18490 ac_cpp_err=
18491 fi
18492 else
18493 ac_cpp_err=yes
18494 fi
18495 if test -z "$ac_cpp_err"; then
18496 ac_header_preproc=yes
18497 else
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.$ac_ext >&5
18500
18501 ac_header_preproc=no
18502 fi
18503 rm -f conftest.err conftest.$ac_ext
18504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18505 echo "${ECHO_T}$ac_header_preproc" >&6
18506
18507 # So? What about this header?
18508 case $ac_header_compiler:$ac_header_preproc in
18509 yes:no )
18510 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18511 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18512 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18513 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18514 (
18515 cat <<\_ASBOX
18516 ## ------------------------------------ ##
18517 ## Report this to bug-autoconf@gnu.org. ##
18518 ## ------------------------------------ ##
18519 _ASBOX
18520 ) |
18521 sed "s/^/$as_me: WARNING: /" >&2
18522 ;;
18523 no:yes )
18524 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18525 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18526 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18527 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18528 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18529 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18530 (
18531 cat <<\_ASBOX
18532 ## ------------------------------------ ##
18533 ## Report this to bug-autoconf@gnu.org. ##
18534 ## ------------------------------------ ##
18535 _ASBOX
18536 ) |
18537 sed "s/^/$as_me: WARNING: /" >&2
18538 ;;
18539 esac
18540 echo "$as_me:$LINENO: checking for png.h" >&5
18541 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18542 if test "${ac_cv_header_png_h+set}" = set; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18544 else
18545 ac_cv_header_png_h=$ac_header_preproc
18546 fi
18547 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18548 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18549
18550 fi
18551
18552
18553
18554 if test "$ac_cv_header_png_h" = "yes"; then
18555 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18556 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18557 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18558 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 else
18560 ac_check_lib_save_LIBS=$LIBS
18561 LIBS="-lpng -lz -lm $LIBS"
18562 cat >conftest.$ac_ext <<_ACEOF
18563 #line $LINENO "configure"
18564 /* confdefs.h. */
18565 _ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569
18570 /* Override any gcc2 internal prototype to avoid an error. */
18571 #ifdef __cplusplus
18572 extern "C"
18573 #endif
18574 /* We use char because int might match the return type of a gcc2
18575 builtin and then its argument prototype would still apply. */
18576 char png_check_sig ();
18577 int
18578 main ()
18579 {
18580 png_check_sig ();
18581 ;
18582 return 0;
18583 }
18584 _ACEOF
18585 rm -f conftest.$ac_objext conftest$ac_exeext
18586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18587 (eval $ac_link) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try='test -s conftest$ac_exeext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 ac_cv_lib_png_png_check_sig=yes
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18601
18602 ac_cv_lib_png_png_check_sig=no
18603 fi
18604 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18605 LIBS=$ac_check_lib_save_LIBS
18606 fi
18607 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18608 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18609 if test $ac_cv_lib_png_png_check_sig = yes; then
18610 PNG_LINK=" -lpng"
18611 fi
18612
18613 fi
18614
18615 if test "x$PNG_LINK" = "x" ; then
18616 if test "$wxUSE_LIBPNG" = "sys" ; then
18617 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18618 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18619 { (exit 1); exit 1; }; }
18620 else
18621 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18622 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18623 wxUSE_LIBPNG=builtin
18624 fi
18625 else
18626 wxUSE_LIBPNG=sys
18627 fi
18628 fi
18629 fi
18630
18631 if test "$wxUSE_LIBPNG" = "builtin" ; then
18632 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18633 fi
18634
18635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18636 fi
18637
18638
18639 JPEG_INCLUDE=
18640 JPEG_LINK=
18641 if test "$wxUSE_LIBJPEG" != "no" ; then
18642 cat >>confdefs.h <<\_ACEOF
18643 #define wxUSE_LIBJPEG 1
18644 _ACEOF
18645
18646
18647 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18648 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18649 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18650 wxUSE_LIBJPEG=sys
18651 fi
18652
18653 if test "$wxUSE_MGL" != 1 ; then
18654 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18655 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18656 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18657 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18658 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 else
18660 cat >conftest.$ac_ext <<_ACEOF
18661 #line $LINENO "configure"
18662 /* confdefs.h. */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h. */
18667
18668 #undef HAVE_STDLIB_H
18669 #include <stdio.h>
18670 #include <jpeglib.h>
18671
18672 int
18673 main ()
18674 {
18675
18676
18677 ;
18678 return 0;
18679 }
18680 _ACEOF
18681 rm -f conftest.$ac_objext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18683 (eval $ac_compile) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } &&
18687 { ac_try='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18690 ac_status=$?
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_cv_header_jpeglib_h=yes
18694 else
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18697
18698 ac_cv_header_jpeglib_h=no
18699
18700 fi
18701 rm -f conftest.$ac_objext conftest.$ac_ext
18702
18703 fi
18704
18705 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18706 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18707
18708 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18709 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18710 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18711 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 ac_check_lib_save_LIBS=$LIBS
18715 LIBS="-ljpeg $LIBS"
18716 cat >conftest.$ac_ext <<_ACEOF
18717 #line $LINENO "configure"
18718 /* confdefs.h. */
18719 _ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723
18724 /* Override any gcc2 internal prototype to avoid an error. */
18725 #ifdef __cplusplus
18726 extern "C"
18727 #endif
18728 /* We use char because int might match the return type of a gcc2
18729 builtin and then its argument prototype would still apply. */
18730 char jpeg_read_header ();
18731 int
18732 main ()
18733 {
18734 jpeg_read_header ();
18735 ;
18736 return 0;
18737 }
18738 _ACEOF
18739 rm -f conftest.$ac_objext conftest$ac_exeext
18740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18741 (eval $ac_link) 2>&5
18742 ac_status=$?
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } &&
18745 { ac_try='test -s conftest$ac_exeext'
18746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18747 (eval $ac_try) 2>&5
18748 ac_status=$?
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); }; }; then
18751 ac_cv_lib_jpeg_jpeg_read_header=yes
18752 else
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.$ac_ext >&5
18755
18756 ac_cv_lib_jpeg_jpeg_read_header=no
18757 fi
18758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18759 LIBS=$ac_check_lib_save_LIBS
18760 fi
18761 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18762 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18763 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18764 JPEG_LINK=" -ljpeg"
18765 fi
18766
18767 fi
18768
18769 if test "x$JPEG_LINK" = "x" ; then
18770 if test "$wxUSE_LIBJPEG" = "sys" ; then
18771 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18772 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18773 { (exit 1); exit 1; }; }
18774 else
18775 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18776 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18777 wxUSE_LIBJPEG=builtin
18778 fi
18779 else
18780 wxUSE_LIBJPEG=sys
18781 fi
18782 fi
18783 fi
18784
18785 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18786 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18787 fi
18788 fi
18789
18790
18791 TIFF_INCLUDE=
18792 TIFF_LINK=
18793 TIFF_PREREQ_LINKS=-lm
18794 if test "$wxUSE_LIBTIFF" != "no" ; then
18795 cat >>confdefs.h <<\_ACEOF
18796 #define wxUSE_LIBTIFF 1
18797 _ACEOF
18798
18799
18800 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18801 if test "$wxUSE_LIBJPEG" = "sys"; then
18802 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18803 fi
18804 if test "$wxUSE_ZLIB" = "sys"; then
18805 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18806 fi
18807 if test "${ac_cv_header_tiffio_h+set}" = set; then
18808 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18809 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18810 if test "${ac_cv_header_tiffio_h+set}" = set; then
18811 echo $ECHO_N "(cached) $ECHO_C" >&6
18812 fi
18813 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18814 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18815 else
18816 # Is the header compilable?
18817 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18818 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18819 cat >conftest.$ac_ext <<_ACEOF
18820 #line $LINENO "configure"
18821 /* confdefs.h. */
18822 _ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 $ac_includes_default
18827 #include <tiffio.h>
18828 _ACEOF
18829 rm -f conftest.$ac_objext
18830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18831 (eval $ac_compile) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } &&
18835 { ac_try='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18838 ac_status=$?
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_header_compiler=yes
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 ac_header_compiler=no
18847 fi
18848 rm -f conftest.$ac_objext conftest.$ac_ext
18849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18850 echo "${ECHO_T}$ac_header_compiler" >&6
18851
18852 # Is the header present?
18853 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18854 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18855 cat >conftest.$ac_ext <<_ACEOF
18856 #line $LINENO "configure"
18857 /* confdefs.h. */
18858 _ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <tiffio.h>
18863 _ACEOF
18864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18866 ac_status=$?
18867 grep -v '^ *+' conftest.er1 >conftest.err
18868 rm -f conftest.er1
18869 cat conftest.err >&5
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); } >/dev/null; then
18872 if test -s conftest.err; then
18873 ac_cpp_err=$ac_c_preproc_warn_flag
18874 else
18875 ac_cpp_err=
18876 fi
18877 else
18878 ac_cpp_err=yes
18879 fi
18880 if test -z "$ac_cpp_err"; then
18881 ac_header_preproc=yes
18882 else
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18885
18886 ac_header_preproc=no
18887 fi
18888 rm -f conftest.err conftest.$ac_ext
18889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18890 echo "${ECHO_T}$ac_header_preproc" >&6
18891
18892 # So? What about this header?
18893 case $ac_header_compiler:$ac_header_preproc in
18894 yes:no )
18895 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18896 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18897 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18898 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18899 (
18900 cat <<\_ASBOX
18901 ## ------------------------------------ ##
18902 ## Report this to bug-autoconf@gnu.org. ##
18903 ## ------------------------------------ ##
18904 _ASBOX
18905 ) |
18906 sed "s/^/$as_me: WARNING: /" >&2
18907 ;;
18908 no:yes )
18909 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18910 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18911 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18912 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18913 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18914 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18915 (
18916 cat <<\_ASBOX
18917 ## ------------------------------------ ##
18918 ## Report this to bug-autoconf@gnu.org. ##
18919 ## ------------------------------------ ##
18920 _ASBOX
18921 ) |
18922 sed "s/^/$as_me: WARNING: /" >&2
18923 ;;
18924 esac
18925 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18926 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18927 if test "${ac_cv_header_tiffio_h+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 else
18930 ac_cv_header_tiffio_h=$ac_header_preproc
18931 fi
18932 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18933 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18934
18935 fi
18936 if test $ac_cv_header_tiffio_h = yes; then
18937 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18938 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18939 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18941 else
18942 ac_check_lib_save_LIBS=$LIBS
18943 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18944 cat >conftest.$ac_ext <<_ACEOF
18945 #line $LINENO "configure"
18946 /* confdefs.h. */
18947 _ACEOF
18948 cat confdefs.h >>conftest.$ac_ext
18949 cat >>conftest.$ac_ext <<_ACEOF
18950 /* end confdefs.h. */
18951
18952 /* Override any gcc2 internal prototype to avoid an error. */
18953 #ifdef __cplusplus
18954 extern "C"
18955 #endif
18956 /* We use char because int might match the return type of a gcc2
18957 builtin and then its argument prototype would still apply. */
18958 char TIFFError ();
18959 int
18960 main ()
18961 {
18962 TIFFError ();
18963 ;
18964 return 0;
18965 }
18966 _ACEOF
18967 rm -f conftest.$ac_objext conftest$ac_exeext
18968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18969 (eval $ac_link) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); } &&
18973 { ac_try='test -s conftest$ac_exeext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18976 ac_status=$?
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18979 ac_cv_lib_tiff_TIFFError=yes
18980 else
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 ac_cv_lib_tiff_TIFFError=no
18985 fi
18986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18987 LIBS=$ac_check_lib_save_LIBS
18988 fi
18989 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18990 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18991 if test $ac_cv_lib_tiff_TIFFError = yes; then
18992 TIFF_LINK=" -ltiff"
18993 fi
18994
18995
18996 fi
18997
18998
18999
19000 if test "x$TIFF_LINK" = "x" ; then
19001 if test "$wxUSE_LIBTIFF" = "sys" ; then
19002 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19003 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19004 { (exit 1); exit 1; }; }
19005 else
19006 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19007 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19008 wxUSE_LIBTIFF=builtin
19009 fi
19010 else
19011 wxUSE_LIBTIFF=sys
19012 fi
19013 fi
19014
19015 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19016 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19017 fi
19018 fi
19019
19020
19021 AFMINSTALL=
19022 WIN32INSTALL=
19023
19024 TOOLKIT=
19025 TOOLKIT_INCLUDE=
19026 WIDGET_SET=
19027
19028 if test "$USE_WIN32" = 1 ; then
19029
19030 for ac_header in w32api.h
19031 do
19032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19034 echo "$as_me:$LINENO: checking for $ac_header" >&5
19035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19038 fi
19039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19041 else
19042 # Is the header compilable?
19043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19045 cat >conftest.$ac_ext <<_ACEOF
19046 #line $LINENO "configure"
19047 /* confdefs.h. */
19048 _ACEOF
19049 cat confdefs.h >>conftest.$ac_ext
19050 cat >>conftest.$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19052 $ac_includes_default
19053 #include <$ac_header>
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19057 (eval $ac_compile) 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try='test -s conftest.$ac_objext'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19064 ac_status=$?
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; }; then
19067 ac_header_compiler=yes
19068 else
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19071
19072 ac_header_compiler=no
19073 fi
19074 rm -f conftest.$ac_objext conftest.$ac_ext
19075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19076 echo "${ECHO_T}$ac_header_compiler" >&6
19077
19078 # Is the header present?
19079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19081 cat >conftest.$ac_ext <<_ACEOF
19082 #line $LINENO "configure"
19083 /* confdefs.h. */
19084 _ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <$ac_header>
19089 _ACEOF
19090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19091 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19092 ac_status=$?
19093 grep -v '^ *+' conftest.er1 >conftest.err
19094 rm -f conftest.er1
19095 cat conftest.err >&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } >/dev/null; then
19098 if test -s conftest.err; then
19099 ac_cpp_err=$ac_c_preproc_warn_flag
19100 else
19101 ac_cpp_err=
19102 fi
19103 else
19104 ac_cpp_err=yes
19105 fi
19106 if test -z "$ac_cpp_err"; then
19107 ac_header_preproc=yes
19108 else
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.$ac_ext >&5
19111
19112 ac_header_preproc=no
19113 fi
19114 rm -f conftest.err conftest.$ac_ext
19115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19116 echo "${ECHO_T}$ac_header_preproc" >&6
19117
19118 # So? What about this header?
19119 case $ac_header_compiler:$ac_header_preproc in
19120 yes:no )
19121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19125 (
19126 cat <<\_ASBOX
19127 ## ------------------------------------ ##
19128 ## Report this to bug-autoconf@gnu.org. ##
19129 ## ------------------------------------ ##
19130 _ASBOX
19131 ) |
19132 sed "s/^/$as_me: WARNING: /" >&2
19133 ;;
19134 no:yes )
19135 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19136 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19137 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19138 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19141 (
19142 cat <<\_ASBOX
19143 ## ------------------------------------ ##
19144 ## Report this to bug-autoconf@gnu.org. ##
19145 ## ------------------------------------ ##
19146 _ASBOX
19147 ) |
19148 sed "s/^/$as_me: WARNING: /" >&2
19149 ;;
19150 esac
19151 echo "$as_me:$LINENO: checking for $ac_header" >&5
19152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19154 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 else
19156 eval "$as_ac_Header=$ac_header_preproc"
19157 fi
19158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19160
19161 fi
19162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19163 cat >>confdefs.h <<_ACEOF
19164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19165 _ACEOF
19166
19167 fi
19168
19169 done
19170
19171 if test "${ac_cv_header_windows_h+set}" = set; then
19172 echo "$as_me:$LINENO: checking for windows.h" >&5
19173 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19174 if test "${ac_cv_header_windows_h+set}" = set; then
19175 echo $ECHO_N "(cached) $ECHO_C" >&6
19176 fi
19177 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19178 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19179 else
19180 # Is the header compilable?
19181 echo "$as_me:$LINENO: checking windows.h usability" >&5
19182 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19183 cat >conftest.$ac_ext <<_ACEOF
19184 #line $LINENO "configure"
19185 /* confdefs.h. */
19186 _ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 $ac_includes_default
19191 #include <windows.h>
19192 _ACEOF
19193 rm -f conftest.$ac_objext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19195 (eval $ac_compile) 2>&5
19196 ac_status=$?
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -s conftest.$ac_objext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19202 ac_status=$?
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_header_compiler=yes
19206 else
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19209
19210 ac_header_compiler=no
19211 fi
19212 rm -f conftest.$ac_objext conftest.$ac_ext
19213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19214 echo "${ECHO_T}$ac_header_compiler" >&6
19215
19216 # Is the header present?
19217 echo "$as_me:$LINENO: checking windows.h presence" >&5
19218 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19219 cat >conftest.$ac_ext <<_ACEOF
19220 #line $LINENO "configure"
19221 /* confdefs.h. */
19222 _ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 #include <windows.h>
19227 _ACEOF
19228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } >/dev/null; then
19236 if test -s conftest.err; then
19237 ac_cpp_err=$ac_c_preproc_warn_flag
19238 else
19239 ac_cpp_err=
19240 fi
19241 else
19242 ac_cpp_err=yes
19243 fi
19244 if test -z "$ac_cpp_err"; then
19245 ac_header_preproc=yes
19246 else
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19249
19250 ac_header_preproc=no
19251 fi
19252 rm -f conftest.err conftest.$ac_ext
19253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19254 echo "${ECHO_T}$ac_header_preproc" >&6
19255
19256 # So? What about this header?
19257 case $ac_header_compiler:$ac_header_preproc in
19258 yes:no )
19259 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19260 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19261 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19262 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19263 (
19264 cat <<\_ASBOX
19265 ## ------------------------------------ ##
19266 ## Report this to bug-autoconf@gnu.org. ##
19267 ## ------------------------------------ ##
19268 _ASBOX
19269 ) |
19270 sed "s/^/$as_me: WARNING: /" >&2
19271 ;;
19272 no:yes )
19273 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19274 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19275 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19276 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19277 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19278 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19279 (
19280 cat <<\_ASBOX
19281 ## ------------------------------------ ##
19282 ## Report this to bug-autoconf@gnu.org. ##
19283 ## ------------------------------------ ##
19284 _ASBOX
19285 ) |
19286 sed "s/^/$as_me: WARNING: /" >&2
19287 ;;
19288 esac
19289 echo "$as_me:$LINENO: checking for windows.h" >&5
19290 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19291 if test "${ac_cv_header_windows_h+set}" = set; then
19292 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 else
19294 ac_cv_header_windows_h=$ac_header_preproc
19295 fi
19296 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19297 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19298
19299 fi
19300 if test $ac_cv_header_windows_h = yes; then
19301 :
19302 else
19303
19304 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19305 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19306 { (exit 1); exit 1; }; }
19307
19308 fi
19309
19310
19311
19312 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19313 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19314 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19315 echo $ECHO_N "(cached) $ECHO_C" >&6
19316 else
19317
19318 cat >conftest.$ac_ext <<_ACEOF
19319 #line $LINENO "configure"
19320 /* confdefs.h. */
19321 _ACEOF
19322 cat confdefs.h >>conftest.$ac_ext
19323 cat >>conftest.$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 #include <w32api.h>
19326 int
19327 main ()
19328 {
19329
19330 #define wxCHECK_W32API_VERSION( major, minor ) \
19331 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19332 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19333 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19334
19335 #if !wxCHECK_W32API_VERSION(1,1)
19336 #error You need w32api 1.1 or newer
19337 #endif
19338
19339 ;
19340 return 0;
19341 }
19342 _ACEOF
19343 rm -f conftest.$ac_objext
19344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19345 (eval $ac_compile) 2>&5
19346 ac_status=$?
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } &&
19349 { ac_try='test -s conftest.$ac_objext'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; }; then
19355
19356 wx_cv_w32api_win32_ie=yes
19357
19358 else
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19361
19362
19363 wx_cv_w32api_win32_ie=no
19364
19365 fi
19366 rm -f conftest.$ac_objext conftest.$ac_ext
19367
19368 fi
19369 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19370 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19371 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19372 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19373 fi
19374
19375 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19376
19377 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19378 LIBS="$LIBS -loleacc"
19379 fi
19380
19381 case "${host}" in
19382 *-*-cygwin* )
19383 LIBS="$LIBS -lkernel32 -luser32"
19384 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19385 esac
19386
19387 if test "$wxUSE_ODBC" = "sys" ; then
19388 wxUSE_ODBC = "yes"
19389 fi
19390 if test "$wxUSE_ODBC" = "yes" ; then
19391 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19392 cat >>confdefs.h <<\_ACEOF
19393 #define wxUSE_ODBC 1
19394 _ACEOF
19395
19396 fi
19397
19398 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19399 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19400
19401 WIN32INSTALL=win32install
19402 fi
19403
19404 if test "$USE_DARWIN" = 1; then
19405 if test "$wxUSE_PRECOMP" = "yes"; then
19406 CPPFLAGS="$CPPFLAGS -cpp-precomp"
19407 else
19408 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
19409 fi
19410 fi
19411
19412 if test "$wxUSE_GUI" = "yes"; then
19413 USE_GUI=1
19414
19415 GUI_TK_LIBRARY=
19416
19417 WXGTK12=
19418 WXGTK127=
19419 WXGTK20=
19420
19421 if test "$wxUSE_MSW" = 1 ; then
19422 TOOLKIT=MSW
19423 GUIDIST=MSW_DIST
19424 fi
19425
19426 if test "$wxUSE_GTK" = 1; then
19427 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19428 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19429
19430 gtk_version_cached=1
19431 if test "${wx_cv_lib_gtk+set}" = set; then
19432 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 else
19434
19435 gtk_version_cached=0
19436 echo "$as_me:$LINENO: result: " >&5
19437 echo "${ECHO_T}" >&6
19438
19439 GTK_MODULES=
19440 if test "$wxUSE_THREADS" = "yes"; then
19441 GTK_MODULES=gthread
19442 fi
19443
19444 wx_cv_lib_gtk=
19445 if test "x$wxUSE_GTK2" = "xyes"; then
19446 # Check whether --enable-gtktest or --disable-gtktest was given.
19447 if test "${enable_gtktest+set}" = set; then
19448 enableval="$enable_gtktest"
19449
19450 else
19451 enable_gtktest=yes
19452 fi;
19453
19454 pkg_config_args=gtk+-2.0
19455 for module in . $GTK_MODULES
19456 do
19457 case "$module" in
19458 gthread)
19459 pkg_config_args="$pkg_config_args gthread-2.0"
19460 ;;
19461 esac
19462 done
19463
19464 no_gtk=""
19465
19466 # Extract the first word of "pkg-config", so it can be a program name with args.
19467 set dummy pkg-config; ac_word=$2
19468 echo "$as_me:$LINENO: checking for $ac_word" >&5
19469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19470 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19471 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 else
19473 case $PKG_CONFIG in
19474 [\\/]* | ?:[\\/]*)
19475 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19476 ;;
19477 *)
19478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19479 for as_dir in $PATH
19480 do
19481 IFS=$as_save_IFS
19482 test -z "$as_dir" && as_dir=.
19483 for ac_exec_ext in '' $ac_executable_extensions; do
19484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19485 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19487 break 2
19488 fi
19489 done
19490 done
19491
19492 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19493 ;;
19494 esac
19495 fi
19496 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19497
19498 if test -n "$PKG_CONFIG"; then
19499 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19500 echo "${ECHO_T}$PKG_CONFIG" >&6
19501 else
19502 echo "$as_me:$LINENO: result: no" >&5
19503 echo "${ECHO_T}no" >&6
19504 fi
19505
19506
19507 if test x$PKG_CONFIG != xno ; then
19508 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19509 :
19510 else
19511 echo *** pkg-config too old; version 0.7 or better required.
19512 no_gtk=yes
19513 PKG_CONFIG=no
19514 fi
19515 else
19516 no_gtk=yes
19517 fi
19518
19519 min_gtk_version=2.0.0
19520 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19521 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19522
19523 if test x$PKG_CONFIG != xno ; then
19524 ## don't try to run the test against uninstalled libtool libs
19525 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19526 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19527 enable_gtktest=no
19528 fi
19529
19530 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19531 :
19532 else
19533 no_gtk=yes
19534 fi
19535 fi
19536
19537 if test x"$no_gtk" = x ; then
19538 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19539 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19540 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19542 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19544 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19546 if test "x$enable_gtktest" = "xyes" ; then
19547 ac_save_CFLAGS="$CFLAGS"
19548 ac_save_LIBS="$LIBS"
19549 CFLAGS="$CFLAGS $GTK_CFLAGS"
19550 LIBS="$GTK_LIBS $LIBS"
19551 rm -f conf.gtktest
19552 if test "$cross_compiling" = yes; then
19553 echo $ac_n "cross compiling; assumed OK... $ac_c"
19554 else
19555 cat >conftest.$ac_ext <<_ACEOF
19556 #line $LINENO "configure"
19557 /* confdefs.h. */
19558 _ACEOF
19559 cat confdefs.h >>conftest.$ac_ext
19560 cat >>conftest.$ac_ext <<_ACEOF
19561 /* end confdefs.h. */
19562
19563 #include <gtk/gtk.h>
19564 #include <stdio.h>
19565 #include <stdlib.h>
19566
19567 int
19568 main ()
19569 {
19570 int major, minor, micro;
19571 char *tmp_version;
19572
19573 system ("touch conf.gtktest");
19574
19575 /* HP/UX 9 (%@#!) writes to sscanf strings */
19576 tmp_version = g_strdup("$min_gtk_version");
19577 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19578 printf("%s, bad version string\n", "$min_gtk_version");
19579 exit(1);
19580 }
19581
19582 if ((gtk_major_version != $gtk_config_major_version) ||
19583 (gtk_minor_version != $gtk_config_minor_version) ||
19584 (gtk_micro_version != $gtk_config_micro_version))
19585 {
19586 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19587 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19588 gtk_major_version, gtk_minor_version, gtk_micro_version);
19589 printf ("*** was found! If pkg-config was correct, then it is best\n");
19590 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19591 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19592 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19593 printf("*** required on your system.\n");
19594 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19595 printf("*** to point to the correct configuration files\n");
19596 }
19597 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19598 (gtk_minor_version != GTK_MINOR_VERSION) ||
19599 (gtk_micro_version != GTK_MICRO_VERSION))
19600 {
19601 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19602 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19603 printf("*** library (version %d.%d.%d)\n",
19604 gtk_major_version, gtk_minor_version, gtk_micro_version);
19605 }
19606 else
19607 {
19608 if ((gtk_major_version > major) ||
19609 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19610 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19611 {
19612 return 0;
19613 }
19614 else
19615 {
19616 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19617 gtk_major_version, gtk_minor_version, gtk_micro_version);
19618 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19619 major, minor, micro);
19620 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19621 printf("***\n");
19622 printf("*** If you have already installed a sufficiently new version, this error\n");
19623 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19624 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19625 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19626 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19627 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19628 printf("*** so that the correct libraries are found at run-time))\n");
19629 }
19630 }
19631 return 1;
19632 }
19633
19634 _ACEOF
19635 rm -f conftest$ac_exeext
19636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19637 (eval $ac_link) 2>&5
19638 ac_status=$?
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19643 ac_status=$?
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; }; then
19646 :
19647 else
19648 echo "$as_me: program exited with status $ac_status" >&5
19649 echo "$as_me: failed program was:" >&5
19650 sed 's/^/| /' conftest.$ac_ext >&5
19651
19652 ( exit $ac_status )
19653 no_gtk=yes
19654 fi
19655 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19656 fi
19657 CFLAGS="$ac_save_CFLAGS"
19658 LIBS="$ac_save_LIBS"
19659 fi
19660 fi
19661 if test "x$no_gtk" = x ; then
19662 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19663 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19664 wx_cv_lib_gtk=2.0
19665 else
19666 echo "$as_me:$LINENO: result: no" >&5
19667 echo "${ECHO_T}no" >&6
19668 if test "$PKG_CONFIG" = "no" ; then
19669 echo "*** A new enough version of pkg-config was not found."
19670 echo "*** See http://pkgconfig.sourceforge.net"
19671 else
19672 if test -f conf.gtktest ; then
19673 :
19674 else
19675 echo "*** Could not run GTK+ test program, checking why..."
19676 ac_save_CFLAGS="$CFLAGS"
19677 ac_save_LIBS="$LIBS"
19678 CFLAGS="$CFLAGS $GTK_CFLAGS"
19679 LIBS="$LIBS $GTK_LIBS"
19680 cat >conftest.$ac_ext <<_ACEOF
19681 #line $LINENO "configure"
19682 /* confdefs.h. */
19683 _ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687
19688 #include <gtk/gtk.h>
19689 #include <stdio.h>
19690
19691 int
19692 main ()
19693 {
19694 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19695 ;
19696 return 0;
19697 }
19698 _ACEOF
19699 rm -f conftest.$ac_objext conftest$ac_exeext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19701 (eval $ac_link) 2>&5
19702 ac_status=$?
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } &&
19705 { ac_try='test -s conftest$ac_exeext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 echo "*** The test program compiled, but did not run. This usually means"
19712 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19713 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19714 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19715 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19716 echo "*** is required on your system"
19717 echo "***"
19718 echo "*** If you have an old version installed, it is best to remove it, although"
19719 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19720 else
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19723
19724 echo "*** The test program failed to compile or link. See the file config.log for the"
19725 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19726 fi
19727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19728 CFLAGS="$ac_save_CFLAGS"
19729 LIBS="$ac_save_LIBS"
19730 fi
19731 fi
19732 GTK_CFLAGS=""
19733 GTK_LIBS=""
19734 :
19735 fi
19736
19737
19738 rm -f conf.gtktest
19739
19740 else
19741
19742 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19743 if test "${with_gtk_prefix+set}" = set; then
19744 withval="$with_gtk_prefix"
19745 gtk_config_prefix="$withval"
19746 else
19747 gtk_config_prefix=""
19748 fi;
19749
19750 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19751 if test "${with_gtk_exec_prefix+set}" = set; then
19752 withval="$with_gtk_exec_prefix"
19753 gtk_config_exec_prefix="$withval"
19754 else
19755 gtk_config_exec_prefix=""
19756 fi;
19757 # Check whether --enable-gtktest or --disable-gtktest was given.
19758 if test "${enable_gtktest+set}" = set; then
19759 enableval="$enable_gtktest"
19760
19761 else
19762 enable_gtktest=yes
19763 fi;
19764
19765 for module in . $GTK_MODULES
19766 do
19767 case "$module" in
19768 gthread)
19769 gtk_config_args="$gtk_config_args gthread"
19770 ;;
19771 esac
19772 done
19773
19774 if test x$gtk_config_exec_prefix != x ; then
19775 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19776 if test x${GTK_CONFIG+set} != xset ; then
19777 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19778 fi
19779 fi
19780 if test x$gtk_config_prefix != x ; then
19781 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19782 if test x${GTK_CONFIG+set} != xset ; then
19783 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19784 fi
19785 fi
19786
19787 # Extract the first word of "gtk-config", so it can be a program name with args.
19788 set dummy gtk-config; ac_word=$2
19789 echo "$as_me:$LINENO: checking for $ac_word" >&5
19790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19791 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19793 else
19794 case $GTK_CONFIG in
19795 [\\/]* | ?:[\\/]*)
19796 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19797 ;;
19798 *)
19799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19800 for as_dir in $PATH
19801 do
19802 IFS=$as_save_IFS
19803 test -z "$as_dir" && as_dir=.
19804 for ac_exec_ext in '' $ac_executable_extensions; do
19805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19806 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19808 break 2
19809 fi
19810 done
19811 done
19812
19813 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19814 ;;
19815 esac
19816 fi
19817 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19818
19819 if test -n "$GTK_CONFIG"; then
19820 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19821 echo "${ECHO_T}$GTK_CONFIG" >&6
19822 else
19823 echo "$as_me:$LINENO: result: no" >&5
19824 echo "${ECHO_T}no" >&6
19825 fi
19826
19827 min_gtk_version=1.2.7
19828 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19829 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19830 no_gtk=""
19831 if test "$GTK_CONFIG" = "no" ; then
19832 no_gtk=yes
19833 else
19834 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19835 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19836 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19838 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19839 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19840 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19842 if test "x$enable_gtktest" = "xyes" ; then
19843 ac_save_CFLAGS="$CFLAGS"
19844 ac_save_LIBS="$LIBS"
19845 CFLAGS="$CFLAGS $GTK_CFLAGS"
19846 LIBS="$GTK_LIBS $LIBS"
19847 rm -f conf.gtktest
19848 if test "$cross_compiling" = yes; then
19849 echo $ac_n "cross compiling; assumed OK... $ac_c"
19850 else
19851 cat >conftest.$ac_ext <<_ACEOF
19852 #line $LINENO "configure"
19853 /* confdefs.h. */
19854 _ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858
19859 #include <gtk/gtk.h>
19860 #include <stdio.h>
19861 #include <stdlib.h>
19862
19863 int
19864 main ()
19865 {
19866 int major, minor, micro;
19867 char *tmp_version;
19868
19869 system ("touch conf.gtktest");
19870
19871 /* HP/UX 9 (%@#!) writes to sscanf strings */
19872 tmp_version = g_strdup("$min_gtk_version");
19873 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19874 printf("%s, bad version string\n", "$min_gtk_version");
19875 exit(1);
19876 }
19877
19878 if ((gtk_major_version != $gtk_config_major_version) ||
19879 (gtk_minor_version != $gtk_config_minor_version) ||
19880 (gtk_micro_version != $gtk_config_micro_version))
19881 {
19882 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19883 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19884 gtk_major_version, gtk_minor_version, gtk_micro_version);
19885 printf ("*** was found! If gtk-config was correct, then it is best\n");
19886 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19887 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19888 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19889 printf("*** required on your system.\n");
19890 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19891 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19892 printf("*** before re-running configure\n");
19893 }
19894 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19895 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19896 (gtk_minor_version != GTK_MINOR_VERSION) ||
19897 (gtk_micro_version != GTK_MICRO_VERSION))
19898 {
19899 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19900 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19901 printf("*** library (version %d.%d.%d)\n",
19902 gtk_major_version, gtk_minor_version, gtk_micro_version);
19903 }
19904 #endif /* defined (GTK_MAJOR_VERSION) ... */
19905 else
19906 {
19907 if ((gtk_major_version > major) ||
19908 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19909 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19910 {
19911 return 0;
19912 }
19913 else
19914 {
19915 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19916 gtk_major_version, gtk_minor_version, gtk_micro_version);
19917 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19918 major, minor, micro);
19919 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19920 printf("***\n");
19921 printf("*** If you have already installed a sufficiently new version, this error\n");
19922 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19923 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19924 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19925 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19926 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19927 printf("*** so that the correct libraries are found at run-time))\n");
19928 }
19929 }
19930 return 1;
19931 }
19932
19933 _ACEOF
19934 rm -f conftest$ac_exeext
19935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19936 (eval $ac_link) 2>&5
19937 ac_status=$?
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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 :
19946 else
19947 echo "$as_me: program exited with status $ac_status" >&5
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.$ac_ext >&5
19950
19951 ( exit $ac_status )
19952 no_gtk=yes
19953 fi
19954 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19955 fi
19956 CFLAGS="$ac_save_CFLAGS"
19957 LIBS="$ac_save_LIBS"
19958 fi
19959 fi
19960 if test "x$no_gtk" = x ; then
19961 echo "$as_me:$LINENO: result: yes" >&5
19962 echo "${ECHO_T}yes" >&6
19963 wx_cv_lib_gtk=1.2.7
19964 else
19965 echo "$as_me:$LINENO: result: no" >&5
19966 echo "${ECHO_T}no" >&6
19967 if test "$GTK_CONFIG" = "no" ; then
19968 echo "*** The gtk-config script installed by GTK could not be found"
19969 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19970 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19971 echo "*** full path to gtk-config."
19972 else
19973 if test -f conf.gtktest ; then
19974 :
19975 else
19976 echo "*** Could not run GTK test program, checking why..."
19977 CFLAGS="$CFLAGS $GTK_CFLAGS"
19978 LIBS="$LIBS $GTK_LIBS"
19979 cat >conftest.$ac_ext <<_ACEOF
19980 #line $LINENO "configure"
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986
19987 #include <gtk/gtk.h>
19988 #include <stdio.h>
19989
19990 int
19991 main ()
19992 {
19993 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19994 ;
19995 return 0;
19996 }
19997 _ACEOF
19998 rm -f conftest.$ac_objext conftest$ac_exeext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20000 (eval $ac_link) 2>&5
20001 ac_status=$?
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try='test -s conftest$ac_exeext'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20007 ac_status=$?
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; }; then
20010 echo "*** The test program compiled, but did not run. This usually means"
20011 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20012 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20013 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20014 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20015 echo "*** is required on your system"
20016 echo "***"
20017 echo "*** If you have an old version installed, it is best to remove it, although"
20018 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20019 echo "***"
20020 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20021 echo "*** came with the system with the command"
20022 echo "***"
20023 echo "*** rpm --erase --nodeps gtk gtk-devel"
20024 else
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.$ac_ext >&5
20027
20028 echo "*** The test program failed to compile or link. See the file config.log for the"
20029 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20030 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20031 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20032 fi
20033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20034 CFLAGS="$ac_save_CFLAGS"
20035 LIBS="$ac_save_LIBS"
20036 fi
20037 fi
20038 GTK_CFLAGS=""
20039 GTK_LIBS=""
20040 :
20041 fi
20042
20043
20044 rm -f conf.gtktest
20045
20046
20047 if test -z "$wx_cv_lib_gtk"; then
20048
20049 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20050 if test "${with_gtk_prefix+set}" = set; then
20051 withval="$with_gtk_prefix"
20052 gtk_config_prefix="$withval"
20053 else
20054 gtk_config_prefix=""
20055 fi;
20056
20057 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20058 if test "${with_gtk_exec_prefix+set}" = set; then
20059 withval="$with_gtk_exec_prefix"
20060 gtk_config_exec_prefix="$withval"
20061 else
20062 gtk_config_exec_prefix=""
20063 fi;
20064 # Check whether --enable-gtktest or --disable-gtktest was given.
20065 if test "${enable_gtktest+set}" = set; then
20066 enableval="$enable_gtktest"
20067
20068 else
20069 enable_gtktest=yes
20070 fi;
20071
20072 for module in . $GTK_MODULES
20073 do
20074 case "$module" in
20075 gthread)
20076 gtk_config_args="$gtk_config_args gthread"
20077 ;;
20078 esac
20079 done
20080
20081 if test x$gtk_config_exec_prefix != x ; then
20082 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20083 if test x${GTK_CONFIG+set} != xset ; then
20084 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20085 fi
20086 fi
20087 if test x$gtk_config_prefix != x ; then
20088 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20089 if test x${GTK_CONFIG+set} != xset ; then
20090 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20091 fi
20092 fi
20093
20094 # Extract the first word of "gtk-config", so it can be a program name with args.
20095 set dummy gtk-config; ac_word=$2
20096 echo "$as_me:$LINENO: checking for $ac_word" >&5
20097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20098 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20099 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 else
20101 case $GTK_CONFIG in
20102 [\\/]* | ?:[\\/]*)
20103 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20104 ;;
20105 *)
20106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20107 for as_dir in $PATH
20108 do
20109 IFS=$as_save_IFS
20110 test -z "$as_dir" && as_dir=.
20111 for ac_exec_ext in '' $ac_executable_extensions; do
20112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20113 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20115 break 2
20116 fi
20117 done
20118 done
20119
20120 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20121 ;;
20122 esac
20123 fi
20124 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20125
20126 if test -n "$GTK_CONFIG"; then
20127 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20128 echo "${ECHO_T}$GTK_CONFIG" >&6
20129 else
20130 echo "$as_me:$LINENO: result: no" >&5
20131 echo "${ECHO_T}no" >&6
20132 fi
20133
20134 min_gtk_version=1.2.3
20135 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20136 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20137 no_gtk=""
20138 if test "$GTK_CONFIG" = "no" ; then
20139 no_gtk=yes
20140 else
20141 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20142 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20143 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20144 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20145 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20146 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20147 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20148 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20149 if test "x$enable_gtktest" = "xyes" ; then
20150 ac_save_CFLAGS="$CFLAGS"
20151 ac_save_LIBS="$LIBS"
20152 CFLAGS="$CFLAGS $GTK_CFLAGS"
20153 LIBS="$GTK_LIBS $LIBS"
20154 rm -f conf.gtktest
20155 if test "$cross_compiling" = yes; then
20156 echo $ac_n "cross compiling; assumed OK... $ac_c"
20157 else
20158 cat >conftest.$ac_ext <<_ACEOF
20159 #line $LINENO "configure"
20160 /* confdefs.h. */
20161 _ACEOF
20162 cat confdefs.h >>conftest.$ac_ext
20163 cat >>conftest.$ac_ext <<_ACEOF
20164 /* end confdefs.h. */
20165
20166 #include <gtk/gtk.h>
20167 #include <stdio.h>
20168 #include <stdlib.h>
20169
20170 int
20171 main ()
20172 {
20173 int major, minor, micro;
20174 char *tmp_version;
20175
20176 system ("touch conf.gtktest");
20177
20178 /* HP/UX 9 (%@#!) writes to sscanf strings */
20179 tmp_version = g_strdup("$min_gtk_version");
20180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20181 printf("%s, bad version string\n", "$min_gtk_version");
20182 exit(1);
20183 }
20184
20185 if ((gtk_major_version != $gtk_config_major_version) ||
20186 (gtk_minor_version != $gtk_config_minor_version) ||
20187 (gtk_micro_version != $gtk_config_micro_version))
20188 {
20189 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20190 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20191 gtk_major_version, gtk_minor_version, gtk_micro_version);
20192 printf ("*** was found! If gtk-config was correct, then it is best\n");
20193 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20194 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20195 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20196 printf("*** required on your system.\n");
20197 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20198 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20199 printf("*** before re-running configure\n");
20200 }
20201 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20202 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20203 (gtk_minor_version != GTK_MINOR_VERSION) ||
20204 (gtk_micro_version != GTK_MICRO_VERSION))
20205 {
20206 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20207 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20208 printf("*** library (version %d.%d.%d)\n",
20209 gtk_major_version, gtk_minor_version, gtk_micro_version);
20210 }
20211 #endif /* defined (GTK_MAJOR_VERSION) ... */
20212 else
20213 {
20214 if ((gtk_major_version > major) ||
20215 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20216 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20217 {
20218 return 0;
20219 }
20220 else
20221 {
20222 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20223 gtk_major_version, gtk_minor_version, gtk_micro_version);
20224 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20225 major, minor, micro);
20226 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20227 printf("***\n");
20228 printf("*** If you have already installed a sufficiently new version, this error\n");
20229 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20230 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20231 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20232 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20233 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20234 printf("*** so that the correct libraries are found at run-time))\n");
20235 }
20236 }
20237 return 1;
20238 }
20239
20240 _ACEOF
20241 rm -f conftest$ac_exeext
20242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20243 (eval $ac_link) 2>&5
20244 ac_status=$?
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20249 ac_status=$?
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; }; then
20252 :
20253 else
20254 echo "$as_me: program exited with status $ac_status" >&5
20255 echo "$as_me: failed program was:" >&5
20256 sed 's/^/| /' conftest.$ac_ext >&5
20257
20258 ( exit $ac_status )
20259 no_gtk=yes
20260 fi
20261 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20262 fi
20263 CFLAGS="$ac_save_CFLAGS"
20264 LIBS="$ac_save_LIBS"
20265 fi
20266 fi
20267 if test "x$no_gtk" = x ; then
20268 echo "$as_me:$LINENO: result: yes" >&5
20269 echo "${ECHO_T}yes" >&6
20270 wx_cv_lib_gtk=1.2.3
20271 else
20272 echo "$as_me:$LINENO: result: no" >&5
20273 echo "${ECHO_T}no" >&6
20274 if test "$GTK_CONFIG" = "no" ; then
20275 echo "*** The gtk-config script installed by GTK could not be found"
20276 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20277 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20278 echo "*** full path to gtk-config."
20279 else
20280 if test -f conf.gtktest ; then
20281 :
20282 else
20283 echo "*** Could not run GTK test program, checking why..."
20284 CFLAGS="$CFLAGS $GTK_CFLAGS"
20285 LIBS="$LIBS $GTK_LIBS"
20286 cat >conftest.$ac_ext <<_ACEOF
20287 #line $LINENO "configure"
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293
20294 #include <gtk/gtk.h>
20295 #include <stdio.h>
20296
20297 int
20298 main ()
20299 {
20300 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20301 ;
20302 return 0;
20303 }
20304 _ACEOF
20305 rm -f conftest.$ac_objext conftest$ac_exeext
20306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20307 (eval $ac_link) 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); } &&
20311 { ac_try='test -s conftest$ac_exeext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20314 ac_status=$?
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 echo "*** The test program compiled, but did not run. This usually means"
20318 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20319 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20320 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20321 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20322 echo "*** is required on your system"
20323 echo "***"
20324 echo "*** If you have an old version installed, it is best to remove it, although"
20325 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20326 echo "***"
20327 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20328 echo "*** came with the system with the command"
20329 echo "***"
20330 echo "*** rpm --erase --nodeps gtk gtk-devel"
20331 else
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20334
20335 echo "*** The test program failed to compile or link. See the file config.log for the"
20336 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20337 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20338 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20339 fi
20340 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20341 CFLAGS="$ac_save_CFLAGS"
20342 LIBS="$ac_save_LIBS"
20343 fi
20344 fi
20345 GTK_CFLAGS=""
20346 GTK_LIBS=""
20347 :
20348 fi
20349
20350
20351 rm -f conf.gtktest
20352
20353 fi
20354 fi
20355
20356 if test -z "$wx_cv_lib_gtk"; then
20357 wx_cv_lib_gtk=none
20358 else
20359 wx_cv_cflags_gtk=$GTK_CFLAGS
20360 wx_cv_libs_gtk=$GTK_LIBS
20361 fi
20362
20363
20364 fi
20365
20366
20367 if test "$gtk_version_cached" = 1; then
20368 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20369 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20370 fi
20371
20372 case "$wx_cv_lib_gtk" in
20373 2.0) WXGTK20=1
20374 TOOLKIT_VERSION=2
20375 ;;
20376 1.2.7) WXGTK127=1
20377 WXGTK12=1
20378 ;;
20379 1.2.3) WXGTK12=1
20380 ;;
20381 *) { { echo "$as_me:$LINENO: error:
20382 Please check that gtk-config is in path, the directory
20383 where GTK+ libraries are installed (returned by
20384 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20385 equivalent variable and GTK+ is version 1.2.3 or above.
20386 " >&5
20387 echo "$as_me: error:
20388 Please check that gtk-config is in path, the directory
20389 where GTK+ libraries are installed (returned by
20390 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20391 equivalent variable and GTK+ is version 1.2.3 or above.
20392 " >&2;}
20393 { (exit 1); exit 1; }; }
20394 ;;
20395 esac
20396
20397 if test "$WXGTK20" = 1; then
20398 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20399
20400 succeeded=no
20401
20402 if test -z "$PKG_CONFIG"; then
20403 # Extract the first word of "pkg-config", so it can be a program name with args.
20404 set dummy pkg-config; ac_word=$2
20405 echo "$as_me:$LINENO: checking for $ac_word" >&5
20406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20407 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20408 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 else
20410 case $PKG_CONFIG in
20411 [\\/]* | ?:[\\/]*)
20412 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20413 ;;
20414 *)
20415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20416 for as_dir in $PATH
20417 do
20418 IFS=$as_save_IFS
20419 test -z "$as_dir" && as_dir=.
20420 for ac_exec_ext in '' $ac_executable_extensions; do
20421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20422 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20424 break 2
20425 fi
20426 done
20427 done
20428
20429 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20430 ;;
20431 esac
20432 fi
20433 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20434
20435 if test -n "$PKG_CONFIG"; then
20436 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20437 echo "${ECHO_T}$PKG_CONFIG" >&6
20438 else
20439 echo "$as_me:$LINENO: result: no" >&5
20440 echo "${ECHO_T}no" >&6
20441 fi
20442
20443 fi
20444
20445 if test "$PKG_CONFIG" = "no" ; then
20446 echo "*** The pkg-config script could not be found. Make sure it is"
20447 echo "*** in your path, or set the PKG_CONFIG environment variable"
20448 echo "*** to the full path to pkg-config."
20449 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20450 else
20451 PKG_CONFIG_MIN_VERSION=0.9.0
20452 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20453 echo "$as_me:$LINENO: checking for pangoft2" >&5
20454 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20455
20456 if $PKG_CONFIG --exists "pangoft2" ; then
20457 echo "$as_me:$LINENO: result: yes" >&5
20458 echo "${ECHO_T}yes" >&6
20459 succeeded=yes
20460
20461 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20462 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20463 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20464 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20465 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20466
20467 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20468 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20469 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20470 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20471 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20472 else
20473 PANGOFT2_CFLAGS=""
20474 PANGOFT2_LIBS=""
20475 ## If we have a custom action on failure, don't print errors, but
20476 ## do set a variable so people can do so.
20477 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20478
20479 fi
20480
20481
20482
20483 else
20484 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20485 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20486 fi
20487 fi
20488
20489 if test $succeeded = yes; then
20490
20491 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20492 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20493
20494 else
20495
20496 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20497 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20498 wxUSE_PRINTING_ARCHITECTURE="no"
20499
20500
20501 fi
20502
20503 fi
20504 else
20505 if test "$wxUSE_UNICODE" = "yes"; then
20506 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20507 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20508 wxUSE_UNICODE=no
20509 fi
20510 fi
20511
20512 if test "$USE_DARWIN" != 1; then
20513
20514 for ac_func in poll
20515 do
20516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20517 echo "$as_me:$LINENO: checking for $ac_func" >&5
20518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20519 if eval "test \"\${$as_ac_var+set}\" = set"; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 else
20522 cat >conftest.$ac_ext <<_ACEOF
20523 #line $LINENO "configure"
20524 /* confdefs.h. */
20525 _ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 /* System header to define __stub macros and hopefully few prototypes,
20530 which can conflict with char $ac_func (); below.
20531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20532 <limits.h> exists even on freestanding compilers. */
20533 #ifdef __STDC__
20534 # include <limits.h>
20535 #else
20536 # include <assert.h>
20537 #endif
20538 /* Override any gcc2 internal prototype to avoid an error. */
20539 #ifdef __cplusplus
20540 extern "C"
20541 {
20542 #endif
20543 /* We use char because int might match the return type of a gcc2
20544 builtin and then its argument prototype would still apply. */
20545 char $ac_func ();
20546 /* The GNU C library defines this for functions which it implements
20547 to always fail with ENOSYS. Some functions are actually named
20548 something starting with __ and the normal name is an alias. */
20549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20550 choke me
20551 #else
20552 char (*f) () = $ac_func;
20553 #endif
20554 #ifdef __cplusplus
20555 }
20556 #endif
20557
20558 int
20559 main ()
20560 {
20561 return f != $ac_func;
20562 ;
20563 return 0;
20564 }
20565 _ACEOF
20566 rm -f conftest.$ac_objext conftest$ac_exeext
20567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20568 (eval $ac_link) 2>&5
20569 ac_status=$?
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } &&
20572 { ac_try='test -s conftest$ac_exeext'
20573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20574 (eval $ac_try) 2>&5
20575 ac_status=$?
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); }; }; then
20578 eval "$as_ac_var=yes"
20579 else
20580 echo "$as_me: failed program was:" >&5
20581 sed 's/^/| /' conftest.$ac_ext >&5
20582
20583 eval "$as_ac_var=no"
20584 fi
20585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20586 fi
20587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20589 if test `eval echo '${'$as_ac_var'}'` = yes; then
20590 cat >>confdefs.h <<_ACEOF
20591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20592 _ACEOF
20593
20594 fi
20595 done
20596
20597 fi
20598
20599 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20600 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20601
20602 AFMINSTALL=afminstall
20603 TOOLKIT=GTK
20604 GUIDIST=GTK_DIST
20605
20606 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20607 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20608 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20609 echo $ECHO_N "(cached) $ECHO_C" >&6
20610 else
20611 ac_check_lib_save_LIBS=$LIBS
20612 LIBS="-lgdk $LIBS"
20613 cat >conftest.$ac_ext <<_ACEOF
20614 #line $LINENO "configure"
20615 /* confdefs.h. */
20616 _ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620
20621 /* Override any gcc2 internal prototype to avoid an error. */
20622 #ifdef __cplusplus
20623 extern "C"
20624 #endif
20625 /* We use char because int might match the return type of a gcc2
20626 builtin and then its argument prototype would still apply. */
20627 char gdk_im_open ();
20628 int
20629 main ()
20630 {
20631 gdk_im_open ();
20632 ;
20633 return 0;
20634 }
20635 _ACEOF
20636 rm -f conftest.$ac_objext conftest$ac_exeext
20637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20638 (eval $ac_link) 2>&5
20639 ac_status=$?
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } &&
20642 { ac_try='test -s conftest$ac_exeext'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20645 ac_status=$?
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; }; then
20648 ac_cv_lib_gdk_gdk_im_open=yes
20649 else
20650 echo "$as_me: failed program was:" >&5
20651 sed 's/^/| /' conftest.$ac_ext >&5
20652
20653 ac_cv_lib_gdk_gdk_im_open=no
20654 fi
20655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20656 LIBS=$ac_check_lib_save_LIBS
20657 fi
20658 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20659 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20660 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20661 cat >>confdefs.h <<\_ACEOF
20662 #define HAVE_XIM 1
20663 _ACEOF
20664
20665 fi
20666
20667 fi
20668
20669 if test "$wxUSE_MGL" = 1; then
20670 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20671 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20672 if test "x$MGL_ROOT" = x ; then
20673 echo "$as_me:$LINENO: result: not found" >&5
20674 echo "${ECHO_T}not found" >&6
20675 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20676 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20677 { (exit 1); exit 1; }; }
20678 else
20679 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20680 echo "${ECHO_T}$MGL_ROOT" >&6
20681 fi
20682
20683 echo "$as_me:$LINENO: checking for libmgl location" >&5
20684 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20685 case "${host}" in
20686 *-*-linux* )
20687 if test "x$wxUSE_SHARED" = xyes ; then
20688 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20689 else
20690 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20691 fi
20692 ;;
20693 *-pc-msdosdjgpp )
20694 mgl_os_candidates="dos32/dj2"
20695 ;;
20696 *)
20697 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20698 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20699 { (exit 1); exit 1; }; }
20700 esac
20701
20702 mgl_lib_type=""
20703 mgl_os=""
20704
20705 for mgl_os_i in $mgl_os_candidates ; do
20706 if test "x$mgl_os" = x ; then
20707 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20708 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20709 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20710 mgl_lib_type=debug
20711 mgl_os=$mgl_os_i
20712 fi
20713 fi
20714 if test "x$mgl_lib_type" = x ; then
20715 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20716 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20717 mgl_lib_type=release
20718 mgl_os=$mgl_os_i
20719 fi
20720 fi
20721 fi
20722 done
20723
20724 if test "x$mgl_os" = x ; then
20725 echo "$as_me:$LINENO: result: not found" >&5
20726 echo "${ECHO_T}not found" >&6
20727 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20728 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20729 { (exit 1); exit 1; }; }
20730 fi
20731 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20732 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20733
20734 wxUSE_UNIVERSAL="yes"
20735
20736 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20737 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20738
20739 AFMINSTALL=afminstall
20740 TOOLKIT=MGL
20741 GUIDIST=MGL_DIST
20742 fi
20743
20744 if test "$wxUSE_MICROWIN" = 1; then
20745 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20746 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20747 if test "x$MICROWINDOWS" = x ; then
20748 echo "$as_me:$LINENO: result: not found" >&5
20749 echo "${ECHO_T}not found" >&6
20750 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20751 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20752 { (exit 1); exit 1; }; }
20753 else
20754 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20755 echo "${ECHO_T}$MICROWINDOWS" >&6
20756 fi
20757
20758 if test -f $MICROWINDOWS/lib/libmwin.a; then
20759 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20760 echo "${ECHO_T}MicroWindows' libraries found." >&6
20761 else
20762 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20763 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20764 { (exit 1); exit 1; }; }
20765 fi
20766
20767 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20768 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20769
20770 wxUSE_UNIVERSAL="yes"
20771
20772 AFMINSTALL=afminstall
20773 TOOLKIT=MICROWIN
20774 GUIDIST=MICROWIN_DIST
20775
20776 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20777 fi
20778
20779 if test "$wxUSE_X11" = 1; then
20780 echo "$as_me:$LINENO: checking for X" >&5
20781 echo $ECHO_N "checking for X... $ECHO_C" >&6
20782
20783
20784 # Check whether --with-x or --without-x was given.
20785 if test "${with_x+set}" = set; then
20786 withval="$with_x"
20787
20788 fi;
20789 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20790 if test "x$with_x" = xno; then
20791 # The user explicitly disabled X.
20792 have_x=disabled
20793 else
20794 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20795 # Both variables are already set.
20796 have_x=yes
20797 else
20798 if test "${ac_cv_have_x+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 else
20801 # One or both of the vars are not set, and there is no cached value.
20802 ac_x_includes=no ac_x_libraries=no
20803 rm -fr conftest.dir
20804 if mkdir conftest.dir; then
20805 cd conftest.dir
20806 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20807 cat >Imakefile <<'_ACEOF'
20808 acfindx:
20809 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20810 _ACEOF
20811 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20813 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20814 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20815 for ac_extension in a so sl; do
20816 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20817 test -f $ac_im_libdir/libX11.$ac_extension; then
20818 ac_im_usrlibdir=$ac_im_libdir; break
20819 fi
20820 done
20821 # Screen out bogus values from the imake configuration. They are
20822 # bogus both because they are the default anyway, and because
20823 # using them would break gcc on systems where it needs fixed includes.
20824 case $ac_im_incroot in
20825 /usr/include) ;;
20826 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20827 esac
20828 case $ac_im_usrlibdir in
20829 /usr/lib | /lib) ;;
20830 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20831 esac
20832 fi
20833 cd ..
20834 rm -fr conftest.dir
20835 fi
20836
20837 # Standard set of common directories for X headers.
20838 # Check X11 before X11Rn because it is often a symlink to the current release.
20839 ac_x_header_dirs='
20840 /usr/X11/include
20841 /usr/X11R6/include
20842 /usr/X11R5/include
20843 /usr/X11R4/include
20844
20845 /usr/include/X11
20846 /usr/include/X11R6
20847 /usr/include/X11R5
20848 /usr/include/X11R4
20849
20850 /usr/local/X11/include
20851 /usr/local/X11R6/include
20852 /usr/local/X11R5/include
20853 /usr/local/X11R4/include
20854
20855 /usr/local/include/X11
20856 /usr/local/include/X11R6
20857 /usr/local/include/X11R5
20858 /usr/local/include/X11R4
20859
20860 /usr/X386/include
20861 /usr/x386/include
20862 /usr/XFree86/include/X11
20863
20864 /usr/include
20865 /usr/local/include
20866 /usr/unsupported/include
20867 /usr/athena/include
20868 /usr/local/x11r5/include
20869 /usr/lpp/Xamples/include
20870
20871 /usr/openwin/include
20872 /usr/openwin/share/include'
20873
20874 if test "$ac_x_includes" = no; then
20875 # Guess where to find include files, by looking for Intrinsic.h.
20876 # First, try using that file with no special directory specified.
20877 cat >conftest.$ac_ext <<_ACEOF
20878 #line $LINENO "configure"
20879 /* confdefs.h. */
20880 _ACEOF
20881 cat confdefs.h >>conftest.$ac_ext
20882 cat >>conftest.$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20884 #include <X11/Intrinsic.h>
20885 _ACEOF
20886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20888 ac_status=$?
20889 grep -v '^ *+' conftest.er1 >conftest.err
20890 rm -f conftest.er1
20891 cat conftest.err >&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } >/dev/null; then
20894 if test -s conftest.err; then
20895 ac_cpp_err=$ac_c_preproc_warn_flag
20896 else
20897 ac_cpp_err=
20898 fi
20899 else
20900 ac_cpp_err=yes
20901 fi
20902 if test -z "$ac_cpp_err"; then
20903 # We can compile using X headers with no special include directory.
20904 ac_x_includes=
20905 else
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.$ac_ext >&5
20908
20909 for ac_dir in $ac_x_header_dirs; do
20910 if test -r "$ac_dir/X11/Intrinsic.h"; then
20911 ac_x_includes=$ac_dir
20912 break
20913 fi
20914 done
20915 fi
20916 rm -f conftest.err conftest.$ac_ext
20917 fi # $ac_x_includes = no
20918
20919 if test "$ac_x_libraries" = no; then
20920 # Check for the libraries.
20921 # See if we find them without any special options.
20922 # Don't add to $LIBS permanently.
20923 ac_save_LIBS=$LIBS
20924 LIBS="-lXt $LIBS"
20925 cat >conftest.$ac_ext <<_ACEOF
20926 #line $LINENO "configure"
20927 /* confdefs.h. */
20928 _ACEOF
20929 cat confdefs.h >>conftest.$ac_ext
20930 cat >>conftest.$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932 #include <X11/Intrinsic.h>
20933 int
20934 main ()
20935 {
20936 XtMalloc (0)
20937 ;
20938 return 0;
20939 }
20940 _ACEOF
20941 rm -f conftest.$ac_objext conftest$ac_exeext
20942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20943 (eval $ac_link) 2>&5
20944 ac_status=$?
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } &&
20947 { ac_try='test -s conftest$ac_exeext'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20950 ac_status=$?
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; }; then
20953 LIBS=$ac_save_LIBS
20954 # We can link X programs with no special library path.
20955 ac_x_libraries=
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 LIBS=$ac_save_LIBS
20961 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20962 do
20963 # Don't even attempt the hair of trying to link an X program!
20964 for ac_extension in a so sl; do
20965 if test -r $ac_dir/libXt.$ac_extension; then
20966 ac_x_libraries=$ac_dir
20967 break 2
20968 fi
20969 done
20970 done
20971 fi
20972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20973 fi # $ac_x_libraries = no
20974
20975 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20976 # Didn't find X anywhere. Cache the known absence of X.
20977 ac_cv_have_x="have_x=no"
20978 else
20979 # Record where we found X for the cache.
20980 ac_cv_have_x="have_x=yes \
20981 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20982 fi
20983 fi
20984
20985 fi
20986 eval "$ac_cv_have_x"
20987 fi # $with_x != no
20988
20989 if test "$have_x" != yes; then
20990 echo "$as_me:$LINENO: result: $have_x" >&5
20991 echo "${ECHO_T}$have_x" >&6
20992 no_x=yes
20993 else
20994 # If each of the values was on the command line, it overrides each guess.
20995 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20996 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20997 # Update the cache value to reflect the command line values.
20998 ac_cv_have_x="have_x=yes \
20999 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21000 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21001 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21002 fi
21003
21004 if test "$no_x" = yes; then
21005 # Not all programs may use this symbol, but it does not hurt to define it.
21006
21007 cat >>confdefs.h <<\_ACEOF
21008 #define X_DISPLAY_MISSING 1
21009 _ACEOF
21010
21011 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21012 else
21013 if test -n "$x_includes"; then
21014 X_CFLAGS="$X_CFLAGS -I$x_includes"
21015 fi
21016
21017 # It would also be nice to do this for all -L options, not just this one.
21018 if test -n "$x_libraries"; then
21019 X_LIBS="$X_LIBS -L$x_libraries"
21020 # For Solaris; some versions of Sun CC require a space after -R and
21021 # others require no space. Words are not sufficient . . . .
21022 case `(uname -sr) 2>/dev/null` in
21023 "SunOS 5"*)
21024 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21025 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21026 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21027 cat >conftest.$ac_ext <<_ACEOF
21028 #line $LINENO "configure"
21029 /* confdefs.h. */
21030 _ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034
21035 int
21036 main ()
21037 {
21038
21039 ;
21040 return 0;
21041 }
21042 _ACEOF
21043 rm -f conftest.$ac_objext conftest$ac_exeext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21045 (eval $ac_link) 2>&5
21046 ac_status=$?
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try='test -s conftest$ac_exeext'
21050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21051 (eval $ac_try) 2>&5
21052 ac_status=$?
21053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21054 (exit $ac_status); }; }; then
21055 ac_R_nospace=yes
21056 else
21057 echo "$as_me: failed program was:" >&5
21058 sed 's/^/| /' conftest.$ac_ext >&5
21059
21060 ac_R_nospace=no
21061 fi
21062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21063 if test $ac_R_nospace = yes; then
21064 echo "$as_me:$LINENO: result: no" >&5
21065 echo "${ECHO_T}no" >&6
21066 X_LIBS="$X_LIBS -R$x_libraries"
21067 else
21068 LIBS="$ac_xsave_LIBS -R $x_libraries"
21069 cat >conftest.$ac_ext <<_ACEOF
21070 #line $LINENO "configure"
21071 /* confdefs.h. */
21072 _ACEOF
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076
21077 int
21078 main ()
21079 {
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext conftest$ac_exeext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21087 (eval $ac_link) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try='test -s conftest$ac_exeext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21097 ac_R_space=yes
21098 else
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21101
21102 ac_R_space=no
21103 fi
21104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21105 if test $ac_R_space = yes; then
21106 echo "$as_me:$LINENO: result: yes" >&5
21107 echo "${ECHO_T}yes" >&6
21108 X_LIBS="$X_LIBS -R $x_libraries"
21109 else
21110 echo "$as_me:$LINENO: result: neither works" >&5
21111 echo "${ECHO_T}neither works" >&6
21112 fi
21113 fi
21114 LIBS=$ac_xsave_LIBS
21115 esac
21116 fi
21117
21118 # Check for system-dependent libraries X programs must link with.
21119 # Do this before checking for the system-independent R6 libraries
21120 # (-lICE), since we may need -lsocket or whatever for X linking.
21121
21122 if test "$ISC" = yes; then
21123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21124 else
21125 # Martyn Johnson says this is needed for Ultrix, if the X
21126 # libraries were built with DECnet support. And Karl Berry says
21127 # the Alpha needs dnet_stub (dnet does not exist).
21128 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21129 cat >conftest.$ac_ext <<_ACEOF
21130 #line $LINENO "configure"
21131 /* confdefs.h. */
21132 _ACEOF
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136
21137 /* Override any gcc2 internal prototype to avoid an error. */
21138 #ifdef __cplusplus
21139 extern "C"
21140 #endif
21141 /* We use char because int might match the return type of a gcc2
21142 builtin and then its argument prototype would still apply. */
21143 char XOpenDisplay ();
21144 int
21145 main ()
21146 {
21147 XOpenDisplay ();
21148 ;
21149 return 0;
21150 }
21151 _ACEOF
21152 rm -f conftest.$ac_objext conftest$ac_exeext
21153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21154 (eval $ac_link) 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try='test -s conftest$ac_exeext'
21159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 (eval $ac_try) 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 :
21165 else
21166 echo "$as_me: failed program was:" >&5
21167 sed 's/^/| /' conftest.$ac_ext >&5
21168
21169 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21170 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21171 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21172 echo $ECHO_N "(cached) $ECHO_C" >&6
21173 else
21174 ac_check_lib_save_LIBS=$LIBS
21175 LIBS="-ldnet $LIBS"
21176 cat >conftest.$ac_ext <<_ACEOF
21177 #line $LINENO "configure"
21178 /* confdefs.h. */
21179 _ACEOF
21180 cat confdefs.h >>conftest.$ac_ext
21181 cat >>conftest.$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183
21184 /* Override any gcc2 internal prototype to avoid an error. */
21185 #ifdef __cplusplus
21186 extern "C"
21187 #endif
21188 /* We use char because int might match the return type of a gcc2
21189 builtin and then its argument prototype would still apply. */
21190 char dnet_ntoa ();
21191 int
21192 main ()
21193 {
21194 dnet_ntoa ();
21195 ;
21196 return 0;
21197 }
21198 _ACEOF
21199 rm -f conftest.$ac_objext conftest$ac_exeext
21200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21201 (eval $ac_link) 2>&5
21202 ac_status=$?
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try='test -s conftest$ac_exeext'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; }; then
21211 ac_cv_lib_dnet_dnet_ntoa=yes
21212 else
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21215
21216 ac_cv_lib_dnet_dnet_ntoa=no
21217 fi
21218 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21219 LIBS=$ac_check_lib_save_LIBS
21220 fi
21221 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21222 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21223 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21224 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21225 fi
21226
21227 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21228 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21229 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21230 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21231 echo $ECHO_N "(cached) $ECHO_C" >&6
21232 else
21233 ac_check_lib_save_LIBS=$LIBS
21234 LIBS="-ldnet_stub $LIBS"
21235 cat >conftest.$ac_ext <<_ACEOF
21236 #line $LINENO "configure"
21237 /* confdefs.h. */
21238 _ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242
21243 /* Override any gcc2 internal prototype to avoid an error. */
21244 #ifdef __cplusplus
21245 extern "C"
21246 #endif
21247 /* We use char because int might match the return type of a gcc2
21248 builtin and then its argument prototype would still apply. */
21249 char dnet_ntoa ();
21250 int
21251 main ()
21252 {
21253 dnet_ntoa ();
21254 ;
21255 return 0;
21256 }
21257 _ACEOF
21258 rm -f conftest.$ac_objext conftest$ac_exeext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21260 (eval $ac_link) 2>&5
21261 ac_status=$?
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); } &&
21264 { ac_try='test -s conftest$ac_exeext'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21267 ac_status=$?
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; }; then
21270 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21271 else
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.$ac_ext >&5
21274
21275 ac_cv_lib_dnet_stub_dnet_ntoa=no
21276 fi
21277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21278 LIBS=$ac_check_lib_save_LIBS
21279 fi
21280 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21281 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21282 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21283 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21284 fi
21285
21286 fi
21287 fi
21288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21289 LIBS="$ac_xsave_LIBS"
21290
21291 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21292 # to get the SysV transport functions.
21293 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21294 # needs -lnsl.
21295 # The nsl library prevents programs from opening the X display
21296 # on Irix 5.2, according to T.E. Dickey.
21297 # The functions gethostbyname, getservbyname, and inet_addr are
21298 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21299 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21300 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21301 if test "${ac_cv_func_gethostbyname+set}" = set; then
21302 echo $ECHO_N "(cached) $ECHO_C" >&6
21303 else
21304 cat >conftest.$ac_ext <<_ACEOF
21305 #line $LINENO "configure"
21306 /* confdefs.h. */
21307 _ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 /* System header to define __stub macros and hopefully few prototypes,
21312 which can conflict with char gethostbyname (); below.
21313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21314 <limits.h> exists even on freestanding compilers. */
21315 #ifdef __STDC__
21316 # include <limits.h>
21317 #else
21318 # include <assert.h>
21319 #endif
21320 /* Override any gcc2 internal prototype to avoid an error. */
21321 #ifdef __cplusplus
21322 extern "C"
21323 {
21324 #endif
21325 /* We use char because int might match the return type of a gcc2
21326 builtin and then its argument prototype would still apply. */
21327 char gethostbyname ();
21328 /* The GNU C library defines this for functions which it implements
21329 to always fail with ENOSYS. Some functions are actually named
21330 something starting with __ and the normal name is an alias. */
21331 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21332 choke me
21333 #else
21334 char (*f) () = gethostbyname;
21335 #endif
21336 #ifdef __cplusplus
21337 }
21338 #endif
21339
21340 int
21341 main ()
21342 {
21343 return f != gethostbyname;
21344 ;
21345 return 0;
21346 }
21347 _ACEOF
21348 rm -f conftest.$ac_objext conftest$ac_exeext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21350 (eval $ac_link) 2>&5
21351 ac_status=$?
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } &&
21354 { ac_try='test -s conftest$ac_exeext'
21355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21356 (eval $ac_try) 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; }; then
21360 ac_cv_func_gethostbyname=yes
21361 else
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.$ac_ext >&5
21364
21365 ac_cv_func_gethostbyname=no
21366 fi
21367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21368 fi
21369 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21370 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21371
21372 if test $ac_cv_func_gethostbyname = no; then
21373 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21374 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21375 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21376 echo $ECHO_N "(cached) $ECHO_C" >&6
21377 else
21378 ac_check_lib_save_LIBS=$LIBS
21379 LIBS="-lnsl $LIBS"
21380 cat >conftest.$ac_ext <<_ACEOF
21381 #line $LINENO "configure"
21382 /* confdefs.h. */
21383 _ACEOF
21384 cat confdefs.h >>conftest.$ac_ext
21385 cat >>conftest.$ac_ext <<_ACEOF
21386 /* end confdefs.h. */
21387
21388 /* Override any gcc2 internal prototype to avoid an error. */
21389 #ifdef __cplusplus
21390 extern "C"
21391 #endif
21392 /* We use char because int might match the return type of a gcc2
21393 builtin and then its argument prototype would still apply. */
21394 char gethostbyname ();
21395 int
21396 main ()
21397 {
21398 gethostbyname ();
21399 ;
21400 return 0;
21401 }
21402 _ACEOF
21403 rm -f conftest.$ac_objext conftest$ac_exeext
21404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21405 (eval $ac_link) 2>&5
21406 ac_status=$?
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try='test -s conftest$ac_exeext'
21410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21411 (eval $ac_try) 2>&5
21412 ac_status=$?
21413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21414 (exit $ac_status); }; }; then
21415 ac_cv_lib_nsl_gethostbyname=yes
21416 else
21417 echo "$as_me: failed program was:" >&5
21418 sed 's/^/| /' conftest.$ac_ext >&5
21419
21420 ac_cv_lib_nsl_gethostbyname=no
21421 fi
21422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21423 LIBS=$ac_check_lib_save_LIBS
21424 fi
21425 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21426 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21427 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21428 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21429 fi
21430
21431 if test $ac_cv_lib_nsl_gethostbyname = no; then
21432 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21433 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21434 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21435 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 else
21437 ac_check_lib_save_LIBS=$LIBS
21438 LIBS="-lbsd $LIBS"
21439 cat >conftest.$ac_ext <<_ACEOF
21440 #line $LINENO "configure"
21441 /* confdefs.h. */
21442 _ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446
21447 /* Override any gcc2 internal prototype to avoid an error. */
21448 #ifdef __cplusplus
21449 extern "C"
21450 #endif
21451 /* We use char because int might match the return type of a gcc2
21452 builtin and then its argument prototype would still apply. */
21453 char gethostbyname ();
21454 int
21455 main ()
21456 {
21457 gethostbyname ();
21458 ;
21459 return 0;
21460 }
21461 _ACEOF
21462 rm -f conftest.$ac_objext conftest$ac_exeext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21464 (eval $ac_link) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); } &&
21468 { ac_try='test -s conftest$ac_exeext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_cv_lib_bsd_gethostbyname=yes
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 ac_cv_lib_bsd_gethostbyname=no
21480 fi
21481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21482 LIBS=$ac_check_lib_save_LIBS
21483 fi
21484 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21485 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21486 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21487 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21488 fi
21489
21490 fi
21491 fi
21492
21493 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21494 # socket/setsockopt and other routines are undefined under SCO ODT
21495 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21496 # on later versions), says Simon Leinen: it contains gethostby*
21497 # variants that don't use the name server (or something). -lsocket
21498 # must be given before -lnsl if both are needed. We assume that
21499 # if connect needs -lnsl, so does gethostbyname.
21500 echo "$as_me:$LINENO: checking for connect" >&5
21501 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21502 if test "${ac_cv_func_connect+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 cat >conftest.$ac_ext <<_ACEOF
21506 #line $LINENO "configure"
21507 /* confdefs.h. */
21508 _ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 /* System header to define __stub macros and hopefully few prototypes,
21513 which can conflict with char connect (); below.
21514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21515 <limits.h> exists even on freestanding compilers. */
21516 #ifdef __STDC__
21517 # include <limits.h>
21518 #else
21519 # include <assert.h>
21520 #endif
21521 /* Override any gcc2 internal prototype to avoid an error. */
21522 #ifdef __cplusplus
21523 extern "C"
21524 {
21525 #endif
21526 /* We use char because int might match the return type of a gcc2
21527 builtin and then its argument prototype would still apply. */
21528 char connect ();
21529 /* The GNU C library defines this for functions which it implements
21530 to always fail with ENOSYS. Some functions are actually named
21531 something starting with __ and the normal name is an alias. */
21532 #if defined (__stub_connect) || defined (__stub___connect)
21533 choke me
21534 #else
21535 char (*f) () = connect;
21536 #endif
21537 #ifdef __cplusplus
21538 }
21539 #endif
21540
21541 int
21542 main ()
21543 {
21544 return f != connect;
21545 ;
21546 return 0;
21547 }
21548 _ACEOF
21549 rm -f conftest.$ac_objext conftest$ac_exeext
21550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21551 (eval $ac_link) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } &&
21555 { ac_try='test -s conftest$ac_exeext'
21556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21557 (eval $ac_try) 2>&5
21558 ac_status=$?
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); }; }; then
21561 ac_cv_func_connect=yes
21562 else
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21565
21566 ac_cv_func_connect=no
21567 fi
21568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21569 fi
21570 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21571 echo "${ECHO_T}$ac_cv_func_connect" >&6
21572
21573 if test $ac_cv_func_connect = no; then
21574 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21575 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21576 if test "${ac_cv_lib_socket_connect+set}" = set; then
21577 echo $ECHO_N "(cached) $ECHO_C" >&6
21578 else
21579 ac_check_lib_save_LIBS=$LIBS
21580 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21581 cat >conftest.$ac_ext <<_ACEOF
21582 #line $LINENO "configure"
21583 /* confdefs.h. */
21584 _ACEOF
21585 cat confdefs.h >>conftest.$ac_ext
21586 cat >>conftest.$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21588
21589 /* Override any gcc2 internal prototype to avoid an error. */
21590 #ifdef __cplusplus
21591 extern "C"
21592 #endif
21593 /* We use char because int might match the return type of a gcc2
21594 builtin and then its argument prototype would still apply. */
21595 char connect ();
21596 int
21597 main ()
21598 {
21599 connect ();
21600 ;
21601 return 0;
21602 }
21603 _ACEOF
21604 rm -f conftest.$ac_objext conftest$ac_exeext
21605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21606 (eval $ac_link) 2>&5
21607 ac_status=$?
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); } &&
21610 { ac_try='test -s conftest$ac_exeext'
21611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21612 (eval $ac_try) 2>&5
21613 ac_status=$?
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); }; }; then
21616 ac_cv_lib_socket_connect=yes
21617 else
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.$ac_ext >&5
21620
21621 ac_cv_lib_socket_connect=no
21622 fi
21623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21624 LIBS=$ac_check_lib_save_LIBS
21625 fi
21626 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21627 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21628 if test $ac_cv_lib_socket_connect = yes; then
21629 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21630 fi
21631
21632 fi
21633
21634 # Guillermo Gomez says -lposix is necessary on A/UX.
21635 echo "$as_me:$LINENO: checking for remove" >&5
21636 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21637 if test "${ac_cv_func_remove+set}" = set; then
21638 echo $ECHO_N "(cached) $ECHO_C" >&6
21639 else
21640 cat >conftest.$ac_ext <<_ACEOF
21641 #line $LINENO "configure"
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 /* System header to define __stub macros and hopefully few prototypes,
21648 which can conflict with char remove (); below.
21649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21650 <limits.h> exists even on freestanding compilers. */
21651 #ifdef __STDC__
21652 # include <limits.h>
21653 #else
21654 # include <assert.h>
21655 #endif
21656 /* Override any gcc2 internal prototype to avoid an error. */
21657 #ifdef __cplusplus
21658 extern "C"
21659 {
21660 #endif
21661 /* We use char because int might match the return type of a gcc2
21662 builtin and then its argument prototype would still apply. */
21663 char remove ();
21664 /* The GNU C library defines this for functions which it implements
21665 to always fail with ENOSYS. Some functions are actually named
21666 something starting with __ and the normal name is an alias. */
21667 #if defined (__stub_remove) || defined (__stub___remove)
21668 choke me
21669 #else
21670 char (*f) () = remove;
21671 #endif
21672 #ifdef __cplusplus
21673 }
21674 #endif
21675
21676 int
21677 main ()
21678 {
21679 return f != remove;
21680 ;
21681 return 0;
21682 }
21683 _ACEOF
21684 rm -f conftest.$ac_objext conftest$ac_exeext
21685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21686 (eval $ac_link) 2>&5
21687 ac_status=$?
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } &&
21690 { ac_try='test -s conftest$ac_exeext'
21691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21692 (eval $ac_try) 2>&5
21693 ac_status=$?
21694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21695 (exit $ac_status); }; }; then
21696 ac_cv_func_remove=yes
21697 else
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.$ac_ext >&5
21700
21701 ac_cv_func_remove=no
21702 fi
21703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21704 fi
21705 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21706 echo "${ECHO_T}$ac_cv_func_remove" >&6
21707
21708 if test $ac_cv_func_remove = no; then
21709 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21710 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21711 if test "${ac_cv_lib_posix_remove+set}" = set; then
21712 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 else
21714 ac_check_lib_save_LIBS=$LIBS
21715 LIBS="-lposix $LIBS"
21716 cat >conftest.$ac_ext <<_ACEOF
21717 #line $LINENO "configure"
21718 /* confdefs.h. */
21719 _ACEOF
21720 cat confdefs.h >>conftest.$ac_ext
21721 cat >>conftest.$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723
21724 /* Override any gcc2 internal prototype to avoid an error. */
21725 #ifdef __cplusplus
21726 extern "C"
21727 #endif
21728 /* We use char because int might match the return type of a gcc2
21729 builtin and then its argument prototype would still apply. */
21730 char remove ();
21731 int
21732 main ()
21733 {
21734 remove ();
21735 ;
21736 return 0;
21737 }
21738 _ACEOF
21739 rm -f conftest.$ac_objext conftest$ac_exeext
21740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21741 (eval $ac_link) 2>&5
21742 ac_status=$?
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try='test -s conftest$ac_exeext'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21748 ac_status=$?
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; }; then
21751 ac_cv_lib_posix_remove=yes
21752 else
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.$ac_ext >&5
21755
21756 ac_cv_lib_posix_remove=no
21757 fi
21758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21759 LIBS=$ac_check_lib_save_LIBS
21760 fi
21761 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21762 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21763 if test $ac_cv_lib_posix_remove = yes; then
21764 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21765 fi
21766
21767 fi
21768
21769 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21770 echo "$as_me:$LINENO: checking for shmat" >&5
21771 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21772 if test "${ac_cv_func_shmat+set}" = set; then
21773 echo $ECHO_N "(cached) $ECHO_C" >&6
21774 else
21775 cat >conftest.$ac_ext <<_ACEOF
21776 #line $LINENO "configure"
21777 /* confdefs.h. */
21778 _ACEOF
21779 cat confdefs.h >>conftest.$ac_ext
21780 cat >>conftest.$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21782 /* System header to define __stub macros and hopefully few prototypes,
21783 which can conflict with char shmat (); below.
21784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21785 <limits.h> exists even on freestanding compilers. */
21786 #ifdef __STDC__
21787 # include <limits.h>
21788 #else
21789 # include <assert.h>
21790 #endif
21791 /* Override any gcc2 internal prototype to avoid an error. */
21792 #ifdef __cplusplus
21793 extern "C"
21794 {
21795 #endif
21796 /* We use char because int might match the return type of a gcc2
21797 builtin and then its argument prototype would still apply. */
21798 char shmat ();
21799 /* The GNU C library defines this for functions which it implements
21800 to always fail with ENOSYS. Some functions are actually named
21801 something starting with __ and the normal name is an alias. */
21802 #if defined (__stub_shmat) || defined (__stub___shmat)
21803 choke me
21804 #else
21805 char (*f) () = shmat;
21806 #endif
21807 #ifdef __cplusplus
21808 }
21809 #endif
21810
21811 int
21812 main ()
21813 {
21814 return f != shmat;
21815 ;
21816 return 0;
21817 }
21818 _ACEOF
21819 rm -f conftest.$ac_objext conftest$ac_exeext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21821 (eval $ac_link) 2>&5
21822 ac_status=$?
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try='test -s conftest$ac_exeext'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21828 ac_status=$?
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; }; then
21831 ac_cv_func_shmat=yes
21832 else
21833 echo "$as_me: failed program was:" >&5
21834 sed 's/^/| /' conftest.$ac_ext >&5
21835
21836 ac_cv_func_shmat=no
21837 fi
21838 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21839 fi
21840 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21841 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21842
21843 if test $ac_cv_func_shmat = no; then
21844 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21845 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21846 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21848 else
21849 ac_check_lib_save_LIBS=$LIBS
21850 LIBS="-lipc $LIBS"
21851 cat >conftest.$ac_ext <<_ACEOF
21852 #line $LINENO "configure"
21853 /* confdefs.h. */
21854 _ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858
21859 /* Override any gcc2 internal prototype to avoid an error. */
21860 #ifdef __cplusplus
21861 extern "C"
21862 #endif
21863 /* We use char because int might match the return type of a gcc2
21864 builtin and then its argument prototype would still apply. */
21865 char shmat ();
21866 int
21867 main ()
21868 {
21869 shmat ();
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext conftest$ac_exeext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21876 (eval $ac_link) 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try='test -s conftest$ac_exeext'
21881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21882 (eval $ac_try) 2>&5
21883 ac_status=$?
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); }; }; then
21886 ac_cv_lib_ipc_shmat=yes
21887 else
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.$ac_ext >&5
21890
21891 ac_cv_lib_ipc_shmat=no
21892 fi
21893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21894 LIBS=$ac_check_lib_save_LIBS
21895 fi
21896 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21897 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21898 if test $ac_cv_lib_ipc_shmat = yes; then
21899 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21900 fi
21901
21902 fi
21903 fi
21904
21905 # Check for libraries that X11R6 Xt/Xaw programs need.
21906 ac_save_LDFLAGS=$LDFLAGS
21907 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21908 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21909 # check for ICE first), but we must link in the order -lSM -lICE or
21910 # we get undefined symbols. So assume we have SM if we have ICE.
21911 # These have to be linked with before -lX11, unlike the other
21912 # libraries we check for below, so use a different variable.
21913 # John Interrante, Karl Berry
21914 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21915 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21916 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21917 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 else
21919 ac_check_lib_save_LIBS=$LIBS
21920 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21921 cat >conftest.$ac_ext <<_ACEOF
21922 #line $LINENO "configure"
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928
21929 /* Override any gcc2 internal prototype to avoid an error. */
21930 #ifdef __cplusplus
21931 extern "C"
21932 #endif
21933 /* We use char because int might match the return type of a gcc2
21934 builtin and then its argument prototype would still apply. */
21935 char IceConnectionNumber ();
21936 int
21937 main ()
21938 {
21939 IceConnectionNumber ();
21940 ;
21941 return 0;
21942 }
21943 _ACEOF
21944 rm -f conftest.$ac_objext conftest$ac_exeext
21945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21946 (eval $ac_link) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } &&
21950 { ac_try='test -s conftest$ac_exeext'
21951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21952 (eval $ac_try) 2>&5
21953 ac_status=$?
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); }; }; then
21956 ac_cv_lib_ICE_IceConnectionNumber=yes
21957 else
21958 echo "$as_me: failed program was:" >&5
21959 sed 's/^/| /' conftest.$ac_ext >&5
21960
21961 ac_cv_lib_ICE_IceConnectionNumber=no
21962 fi
21963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21964 LIBS=$ac_check_lib_save_LIBS
21965 fi
21966 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21967 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21968 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21969 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21970 fi
21971
21972 LDFLAGS=$ac_save_LDFLAGS
21973
21974 fi
21975
21976
21977 if test "$no_x" = "yes"; then
21978 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21979 echo "$as_me: error: X11 not found" >&2;}
21980 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
21981 fi
21982
21983 GUI_TK_LIBRARY="$X_LIBS"
21984 TOOLKIT_INCLUDE="$X_CFLAGS"
21985 AFMINSTALL=afminstall
21986 COMPILED_X_PROGRAM=0
21987
21988 if test "$wxUSE_NANOX" = "yes"; then
21989 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21990 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21991 if test "x$MICROWIN" = x ; then
21992 echo "$as_me:$LINENO: result: not found" >&5
21993 echo "${ECHO_T}not found" >&6
21994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21995 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21996 { (exit 1); exit 1; }; }
21997 else
21998 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21999 echo "${ECHO_T}$MICROWIN" >&6
22000 cat >>confdefs.h <<\_ACEOF
22001 #define wxUSE_NANOX 1
22002 _ACEOF
22003
22004 fi
22005 fi
22006
22007 xpm_link=
22008 echo "$as_me:$LINENO: checking for Xpm library" >&5
22009 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22010
22011 ac_find_libraries=
22012 for ac_dir in $SEARCH_LIB /usr/lib;
22013 do
22014 for ac_extension in a so sl dylib; do
22015 if test -f "$ac_dir/libXpm.$ac_extension"; then
22016 ac_find_libraries=$ac_dir
22017 break 2
22018 fi
22019 done
22020 done
22021
22022 if test "$ac_find_libraries" != "" ; then
22023
22024 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22025 result=$?
22026 if test $result = 0; then
22027 ac_path_to_link=""
22028 else
22029 ac_path_to_link=" -L$ac_find_libraries"
22030 fi
22031
22032 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22033 xpm_link=" -lXpm"
22034 cat >>confdefs.h <<\_ACEOF
22035 #define wxHAVE_LIB_XPM 1
22036 _ACEOF
22037
22038 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22039 echo "${ECHO_T}found at $ac_find_libraries" >&6
22040 else
22041 cat >conftest.$ac_ext <<_ACEOF
22042 #line $LINENO "configure"
22043 /* confdefs.h. */
22044 _ACEOF
22045 cat confdefs.h >>conftest.$ac_ext
22046 cat >>conftest.$ac_ext <<_ACEOF
22047 /* end confdefs.h. */
22048
22049 #include <X11/xpm.h>
22050
22051 int
22052 main ()
22053 {
22054
22055 int version;
22056 version = XpmLibraryVersion();
22057
22058 ;
22059 return 0;
22060 }
22061 _ACEOF
22062 rm -f conftest.$ac_objext
22063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22064 (eval $ac_compile) 2>&5
22065 ac_status=$?
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try='test -s conftest.$ac_objext'
22069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22070 (eval $ac_try) 2>&5
22071 ac_status=$?
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; }; then
22074
22075 xpm_link=" -lXpm"
22076 cat >>confdefs.h <<\_ACEOF
22077 #define wxHAVE_LIB_XPM 1
22078 _ACEOF
22079
22080 echo "$as_me:$LINENO: result: found in default search path" >&5
22081 echo "${ECHO_T}found in default search path" >&6
22082 COMPILED_X_PROGRAM=0
22083
22084 else
22085 echo "$as_me: failed program was:" >&5
22086 sed 's/^/| /' conftest.$ac_ext >&5
22087
22088
22089 echo "$as_me:$LINENO: result: no" >&5
22090 echo "${ECHO_T}no" >&6
22091 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22092 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22093
22094
22095 fi
22096 rm -f conftest.$ac_objext conftest.$ac_ext
22097 fi
22098
22099 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22100 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22101 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22102 echo $ECHO_N "(cached) $ECHO_C" >&6
22103 else
22104 ac_check_lib_save_LIBS=$LIBS
22105 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22106 cat >conftest.$ac_ext <<_ACEOF
22107 #line $LINENO "configure"
22108 /* confdefs.h. */
22109 _ACEOF
22110 cat confdefs.h >>conftest.$ac_ext
22111 cat >>conftest.$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22113
22114 /* Override any gcc2 internal prototype to avoid an error. */
22115 #ifdef __cplusplus
22116 extern "C"
22117 #endif
22118 /* We use char because int might match the return type of a gcc2
22119 builtin and then its argument prototype would still apply. */
22120 char XShapeQueryExtension ();
22121 int
22122 main ()
22123 {
22124 XShapeQueryExtension ();
22125 ;
22126 return 0;
22127 }
22128 _ACEOF
22129 rm -f conftest.$ac_objext conftest$ac_exeext
22130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22131 (eval $ac_link) 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } &&
22135 { ac_try='test -s conftest$ac_exeext'
22136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22137 (eval $ac_try) 2>&5
22138 ac_status=$?
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; }; then
22141 ac_cv_lib_Xext_XShapeQueryExtension=yes
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22145
22146 ac_cv_lib_Xext_XShapeQueryExtension=no
22147 fi
22148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22149 LIBS=$ac_check_lib_save_LIBS
22150 fi
22151 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22152 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22153 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22154
22155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22156 wxHAVE_XEXT_LIB=1
22157
22158 fi
22159
22160
22161 if test "$wxUSE_UNICODE" = "yes"; then
22162
22163 succeeded=no
22164
22165 if test -z "$PKG_CONFIG"; then
22166 # Extract the first word of "pkg-config", so it can be a program name with args.
22167 set dummy pkg-config; ac_word=$2
22168 echo "$as_me:$LINENO: checking for $ac_word" >&5
22169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22170 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22171 echo $ECHO_N "(cached) $ECHO_C" >&6
22172 else
22173 case $PKG_CONFIG in
22174 [\\/]* | ?:[\\/]*)
22175 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22176 ;;
22177 *)
22178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22179 for as_dir in $PATH
22180 do
22181 IFS=$as_save_IFS
22182 test -z "$as_dir" && as_dir=.
22183 for ac_exec_ext in '' $ac_executable_extensions; do
22184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22185 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22187 break 2
22188 fi
22189 done
22190 done
22191
22192 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22193 ;;
22194 esac
22195 fi
22196 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22197
22198 if test -n "$PKG_CONFIG"; then
22199 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22200 echo "${ECHO_T}$PKG_CONFIG" >&6
22201 else
22202 echo "$as_me:$LINENO: result: no" >&5
22203 echo "${ECHO_T}no" >&6
22204 fi
22205
22206 fi
22207
22208 if test "$PKG_CONFIG" = "no" ; then
22209 echo "*** The pkg-config script could not be found. Make sure it is"
22210 echo "*** in your path, or set the PKG_CONFIG environment variable"
22211 echo "*** to the full path to pkg-config."
22212 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22213 else
22214 PKG_CONFIG_MIN_VERSION=0.9.0
22215 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22216 echo "$as_me:$LINENO: checking for pangox" >&5
22217 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22218
22219 if $PKG_CONFIG --exists "pangox" ; then
22220 echo "$as_me:$LINENO: result: yes" >&5
22221 echo "${ECHO_T}yes" >&6
22222 succeeded=yes
22223
22224 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22225 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22226 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22227 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22228 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22229
22230 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22231 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22232 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22233 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22234 echo "${ECHO_T}$PANGOX_LIBS" >&6
22235 else
22236 PANGOX_CFLAGS=""
22237 PANGOX_LIBS=""
22238 ## If we have a custom action on failure, don't print errors, but
22239 ## do set a variable so people can do so.
22240 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22241
22242 fi
22243
22244
22245
22246 else
22247 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22248 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22249 fi
22250 fi
22251
22252 if test $succeeded = yes; then
22253
22254 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22255 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22256
22257 else
22258
22259 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22260 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22261 { (exit 1); exit 1; }; }
22262
22263
22264 fi
22265
22266
22267 succeeded=no
22268
22269 if test -z "$PKG_CONFIG"; then
22270 # Extract the first word of "pkg-config", so it can be a program name with args.
22271 set dummy pkg-config; ac_word=$2
22272 echo "$as_me:$LINENO: checking for $ac_word" >&5
22273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 else
22277 case $PKG_CONFIG in
22278 [\\/]* | ?:[\\/]*)
22279 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22280 ;;
22281 *)
22282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22283 for as_dir in $PATH
22284 do
22285 IFS=$as_save_IFS
22286 test -z "$as_dir" && as_dir=.
22287 for ac_exec_ext in '' $ac_executable_extensions; do
22288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22289 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22291 break 2
22292 fi
22293 done
22294 done
22295
22296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22297 ;;
22298 esac
22299 fi
22300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22301
22302 if test -n "$PKG_CONFIG"; then
22303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22304 echo "${ECHO_T}$PKG_CONFIG" >&6
22305 else
22306 echo "$as_me:$LINENO: result: no" >&5
22307 echo "${ECHO_T}no" >&6
22308 fi
22309
22310 fi
22311
22312 if test "$PKG_CONFIG" = "no" ; then
22313 echo "*** The pkg-config script could not be found. Make sure it is"
22314 echo "*** in your path, or set the PKG_CONFIG environment variable"
22315 echo "*** to the full path to pkg-config."
22316 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22317 else
22318 PKG_CONFIG_MIN_VERSION=0.9.0
22319 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22320 echo "$as_me:$LINENO: checking for pangoft2" >&5
22321 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22322
22323 if $PKG_CONFIG --exists "pangoft2" ; then
22324 echo "$as_me:$LINENO: result: yes" >&5
22325 echo "${ECHO_T}yes" >&6
22326 succeeded=yes
22327
22328 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22329 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22330 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22331 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22332 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22333
22334 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22335 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22336 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22337 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22338 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22339 else
22340 PANGOFT2_CFLAGS=""
22341 PANGOFT2_LIBS=""
22342 ## If we have a custom action on failure, don't print errors, but
22343 ## do set a variable so people can do so.
22344 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22345
22346 fi
22347
22348
22349
22350 else
22351 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22352 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22353 fi
22354 fi
22355
22356 if test $succeeded = yes; then
22357
22358 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22359 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22360
22361 else
22362
22363 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22364 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22365 wxUSE_PRINTING_ARCHITECTURE="no"
22366
22367
22368 fi
22369
22370
22371 succeeded=no
22372
22373 if test -z "$PKG_CONFIG"; then
22374 # Extract the first word of "pkg-config", so it can be a program name with args.
22375 set dummy pkg-config; ac_word=$2
22376 echo "$as_me:$LINENO: checking for $ac_word" >&5
22377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22378 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22379 echo $ECHO_N "(cached) $ECHO_C" >&6
22380 else
22381 case $PKG_CONFIG in
22382 [\\/]* | ?:[\\/]*)
22383 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22384 ;;
22385 *)
22386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22387 for as_dir in $PATH
22388 do
22389 IFS=$as_save_IFS
22390 test -z "$as_dir" && as_dir=.
22391 for ac_exec_ext in '' $ac_executable_extensions; do
22392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22393 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22395 break 2
22396 fi
22397 done
22398 done
22399
22400 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22401 ;;
22402 esac
22403 fi
22404 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22405
22406 if test -n "$PKG_CONFIG"; then
22407 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22408 echo "${ECHO_T}$PKG_CONFIG" >&6
22409 else
22410 echo "$as_me:$LINENO: result: no" >&5
22411 echo "${ECHO_T}no" >&6
22412 fi
22413
22414 fi
22415
22416 if test "$PKG_CONFIG" = "no" ; then
22417 echo "*** The pkg-config script could not be found. Make sure it is"
22418 echo "*** in your path, or set the PKG_CONFIG environment variable"
22419 echo "*** to the full path to pkg-config."
22420 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22421 else
22422 PKG_CONFIG_MIN_VERSION=0.9.0
22423 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22424 echo "$as_me:$LINENO: checking for pangoxft" >&5
22425 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22426
22427 if $PKG_CONFIG --exists "pangoxft" ; then
22428 echo "$as_me:$LINENO: result: yes" >&5
22429 echo "${ECHO_T}yes" >&6
22430 succeeded=yes
22431
22432 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22433 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22434 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22435 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22436 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22437
22438 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22439 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22440 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22441 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22442 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22443 else
22444 PANGOXFT_CFLAGS=""
22445 PANGOXFT_LIBS=""
22446 ## If we have a custom action on failure, don't print errors, but
22447 ## do set a variable so people can do so.
22448 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22449
22450 fi
22451
22452
22453
22454 else
22455 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22456 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22457 fi
22458 fi
22459
22460 if test $succeeded = yes; then
22461
22462 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22463 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22464
22465 else
22466
22467 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22468 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22469
22470
22471 fi
22472
22473 fi
22474
22475 wxUSE_UNIVERSAL="yes"
22476
22477 if test "$wxUSE_NANOX" = "yes"; then
22478 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22479 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"
22480 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22481 else
22482 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22483 fi
22484
22485 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22486 TOOLKIT=X11
22487 GUIDIST=X11_DIST
22488 fi
22489
22490 if test "$wxUSE_MOTIF" = 1; then
22491 if test "$no_x" = yes; then
22492 # Not all programs may use this symbol, but it does not hurt to define it.
22493
22494 cat >>confdefs.h <<\_ACEOF
22495 #define X_DISPLAY_MISSING 1
22496 _ACEOF
22497
22498 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22499 else
22500 if test -n "$x_includes"; then
22501 X_CFLAGS="$X_CFLAGS -I$x_includes"
22502 fi
22503
22504 # It would also be nice to do this for all -L options, not just this one.
22505 if test -n "$x_libraries"; then
22506 X_LIBS="$X_LIBS -L$x_libraries"
22507 # For Solaris; some versions of Sun CC require a space after -R and
22508 # others require no space. Words are not sufficient . . . .
22509 case `(uname -sr) 2>/dev/null` in
22510 "SunOS 5"*)
22511 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22512 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22513 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22514 cat >conftest.$ac_ext <<_ACEOF
22515 #line $LINENO "configure"
22516 /* confdefs.h. */
22517 _ACEOF
22518 cat confdefs.h >>conftest.$ac_ext
22519 cat >>conftest.$ac_ext <<_ACEOF
22520 /* end confdefs.h. */
22521
22522 int
22523 main ()
22524 {
22525
22526 ;
22527 return 0;
22528 }
22529 _ACEOF
22530 rm -f conftest.$ac_objext conftest$ac_exeext
22531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22532 (eval $ac_link) 2>&5
22533 ac_status=$?
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } &&
22536 { ac_try='test -s conftest$ac_exeext'
22537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22538 (eval $ac_try) 2>&5
22539 ac_status=$?
22540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22541 (exit $ac_status); }; }; then
22542 ac_R_nospace=yes
22543 else
22544 echo "$as_me: failed program was:" >&5
22545 sed 's/^/| /' conftest.$ac_ext >&5
22546
22547 ac_R_nospace=no
22548 fi
22549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22550 if test $ac_R_nospace = yes; then
22551 echo "$as_me:$LINENO: result: no" >&5
22552 echo "${ECHO_T}no" >&6
22553 X_LIBS="$X_LIBS -R$x_libraries"
22554 else
22555 LIBS="$ac_xsave_LIBS -R $x_libraries"
22556 cat >conftest.$ac_ext <<_ACEOF
22557 #line $LINENO "configure"
22558 /* confdefs.h. */
22559 _ACEOF
22560 cat confdefs.h >>conftest.$ac_ext
22561 cat >>conftest.$ac_ext <<_ACEOF
22562 /* end confdefs.h. */
22563
22564 int
22565 main ()
22566 {
22567
22568 ;
22569 return 0;
22570 }
22571 _ACEOF
22572 rm -f conftest.$ac_objext conftest$ac_exeext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22574 (eval $ac_link) 2>&5
22575 ac_status=$?
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } &&
22578 { ac_try='test -s conftest$ac_exeext'
22579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22580 (eval $ac_try) 2>&5
22581 ac_status=$?
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); }; }; then
22584 ac_R_space=yes
22585 else
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22588
22589 ac_R_space=no
22590 fi
22591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22592 if test $ac_R_space = yes; then
22593 echo "$as_me:$LINENO: result: yes" >&5
22594 echo "${ECHO_T}yes" >&6
22595 X_LIBS="$X_LIBS -R $x_libraries"
22596 else
22597 echo "$as_me:$LINENO: result: neither works" >&5
22598 echo "${ECHO_T}neither works" >&6
22599 fi
22600 fi
22601 LIBS=$ac_xsave_LIBS
22602 esac
22603 fi
22604
22605 # Check for system-dependent libraries X programs must link with.
22606 # Do this before checking for the system-independent R6 libraries
22607 # (-lICE), since we may need -lsocket or whatever for X linking.
22608
22609 if test "$ISC" = yes; then
22610 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22611 else
22612 # Martyn Johnson says this is needed for Ultrix, if the X
22613 # libraries were built with DECnet support. And Karl Berry says
22614 # the Alpha needs dnet_stub (dnet does not exist).
22615 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22616 cat >conftest.$ac_ext <<_ACEOF
22617 #line $LINENO "configure"
22618 /* confdefs.h. */
22619 _ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623
22624 /* Override any gcc2 internal prototype to avoid an error. */
22625 #ifdef __cplusplus
22626 extern "C"
22627 #endif
22628 /* We use char because int might match the return type of a gcc2
22629 builtin and then its argument prototype would still apply. */
22630 char XOpenDisplay ();
22631 int
22632 main ()
22633 {
22634 XOpenDisplay ();
22635 ;
22636 return 0;
22637 }
22638 _ACEOF
22639 rm -f conftest.$ac_objext conftest$ac_exeext
22640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22641 (eval $ac_link) 2>&5
22642 ac_status=$?
22643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644 (exit $ac_status); } &&
22645 { ac_try='test -s conftest$ac_exeext'
22646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22647 (eval $ac_try) 2>&5
22648 ac_status=$?
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; }; then
22651 :
22652 else
22653 echo "$as_me: failed program was:" >&5
22654 sed 's/^/| /' conftest.$ac_ext >&5
22655
22656 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22657 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22658 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22659 echo $ECHO_N "(cached) $ECHO_C" >&6
22660 else
22661 ac_check_lib_save_LIBS=$LIBS
22662 LIBS="-ldnet $LIBS"
22663 cat >conftest.$ac_ext <<_ACEOF
22664 #line $LINENO "configure"
22665 /* confdefs.h. */
22666 _ACEOF
22667 cat confdefs.h >>conftest.$ac_ext
22668 cat >>conftest.$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670
22671 /* Override any gcc2 internal prototype to avoid an error. */
22672 #ifdef __cplusplus
22673 extern "C"
22674 #endif
22675 /* We use char because int might match the return type of a gcc2
22676 builtin and then its argument prototype would still apply. */
22677 char dnet_ntoa ();
22678 int
22679 main ()
22680 {
22681 dnet_ntoa ();
22682 ;
22683 return 0;
22684 }
22685 _ACEOF
22686 rm -f conftest.$ac_objext conftest$ac_exeext
22687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22688 (eval $ac_link) 2>&5
22689 ac_status=$?
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); } &&
22692 { ac_try='test -s conftest$ac_exeext'
22693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694 (eval $ac_try) 2>&5
22695 ac_status=$?
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; }; then
22698 ac_cv_lib_dnet_dnet_ntoa=yes
22699 else
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22702
22703 ac_cv_lib_dnet_dnet_ntoa=no
22704 fi
22705 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22706 LIBS=$ac_check_lib_save_LIBS
22707 fi
22708 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22709 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22710 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22711 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22712 fi
22713
22714 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22715 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22716 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22717 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22718 echo $ECHO_N "(cached) $ECHO_C" >&6
22719 else
22720 ac_check_lib_save_LIBS=$LIBS
22721 LIBS="-ldnet_stub $LIBS"
22722 cat >conftest.$ac_ext <<_ACEOF
22723 #line $LINENO "configure"
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729
22730 /* Override any gcc2 internal prototype to avoid an error. */
22731 #ifdef __cplusplus
22732 extern "C"
22733 #endif
22734 /* We use char because int might match the return type of a gcc2
22735 builtin and then its argument prototype would still apply. */
22736 char dnet_ntoa ();
22737 int
22738 main ()
22739 {
22740 dnet_ntoa ();
22741 ;
22742 return 0;
22743 }
22744 _ACEOF
22745 rm -f conftest.$ac_objext conftest$ac_exeext
22746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22747 (eval $ac_link) 2>&5
22748 ac_status=$?
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try='test -s conftest$ac_exeext'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; }; then
22757 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22758 else
22759 echo "$as_me: failed program was:" >&5
22760 sed 's/^/| /' conftest.$ac_ext >&5
22761
22762 ac_cv_lib_dnet_stub_dnet_ntoa=no
22763 fi
22764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22765 LIBS=$ac_check_lib_save_LIBS
22766 fi
22767 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22768 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22769 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22770 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22771 fi
22772
22773 fi
22774 fi
22775 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22776 LIBS="$ac_xsave_LIBS"
22777
22778 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22779 # to get the SysV transport functions.
22780 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22781 # needs -lnsl.
22782 # The nsl library prevents programs from opening the X display
22783 # on Irix 5.2, according to T.E. Dickey.
22784 # The functions gethostbyname, getservbyname, and inet_addr are
22785 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22786 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22787 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22788 if test "${ac_cv_func_gethostbyname+set}" = set; then
22789 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 else
22791 cat >conftest.$ac_ext <<_ACEOF
22792 #line $LINENO "configure"
22793 /* confdefs.h. */
22794 _ACEOF
22795 cat confdefs.h >>conftest.$ac_ext
22796 cat >>conftest.$ac_ext <<_ACEOF
22797 /* end confdefs.h. */
22798 /* System header to define __stub macros and hopefully few prototypes,
22799 which can conflict with char gethostbyname (); below.
22800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22801 <limits.h> exists even on freestanding compilers. */
22802 #ifdef __STDC__
22803 # include <limits.h>
22804 #else
22805 # include <assert.h>
22806 #endif
22807 /* Override any gcc2 internal prototype to avoid an error. */
22808 #ifdef __cplusplus
22809 extern "C"
22810 {
22811 #endif
22812 /* We use char because int might match the return type of a gcc2
22813 builtin and then its argument prototype would still apply. */
22814 char gethostbyname ();
22815 /* The GNU C library defines this for functions which it implements
22816 to always fail with ENOSYS. Some functions are actually named
22817 something starting with __ and the normal name is an alias. */
22818 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22819 choke me
22820 #else
22821 char (*f) () = gethostbyname;
22822 #endif
22823 #ifdef __cplusplus
22824 }
22825 #endif
22826
22827 int
22828 main ()
22829 {
22830 return f != gethostbyname;
22831 ;
22832 return 0;
22833 }
22834 _ACEOF
22835 rm -f conftest.$ac_objext conftest$ac_exeext
22836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22837 (eval $ac_link) 2>&5
22838 ac_status=$?
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); } &&
22841 { ac_try='test -s conftest$ac_exeext'
22842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22843 (eval $ac_try) 2>&5
22844 ac_status=$?
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); }; }; then
22847 ac_cv_func_gethostbyname=yes
22848 else
22849 echo "$as_me: failed program was:" >&5
22850 sed 's/^/| /' conftest.$ac_ext >&5
22851
22852 ac_cv_func_gethostbyname=no
22853 fi
22854 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22855 fi
22856 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22857 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22858
22859 if test $ac_cv_func_gethostbyname = no; then
22860 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22861 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22862 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22863 echo $ECHO_N "(cached) $ECHO_C" >&6
22864 else
22865 ac_check_lib_save_LIBS=$LIBS
22866 LIBS="-lnsl $LIBS"
22867 cat >conftest.$ac_ext <<_ACEOF
22868 #line $LINENO "configure"
22869 /* confdefs.h. */
22870 _ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22874
22875 /* Override any gcc2 internal prototype to avoid an error. */
22876 #ifdef __cplusplus
22877 extern "C"
22878 #endif
22879 /* We use char because int might match the return type of a gcc2
22880 builtin and then its argument prototype would still apply. */
22881 char gethostbyname ();
22882 int
22883 main ()
22884 {
22885 gethostbyname ();
22886 ;
22887 return 0;
22888 }
22889 _ACEOF
22890 rm -f conftest.$ac_objext conftest$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892 (eval $ac_link) 2>&5
22893 ac_status=$?
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } &&
22896 { ac_try='test -s conftest$ac_exeext'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22899 ac_status=$?
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; }; then
22902 ac_cv_lib_nsl_gethostbyname=yes
22903 else
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.$ac_ext >&5
22906
22907 ac_cv_lib_nsl_gethostbyname=no
22908 fi
22909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22910 LIBS=$ac_check_lib_save_LIBS
22911 fi
22912 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22913 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22914 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22915 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22916 fi
22917
22918 if test $ac_cv_lib_nsl_gethostbyname = no; then
22919 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22920 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22921 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22922 echo $ECHO_N "(cached) $ECHO_C" >&6
22923 else
22924 ac_check_lib_save_LIBS=$LIBS
22925 LIBS="-lbsd $LIBS"
22926 cat >conftest.$ac_ext <<_ACEOF
22927 #line $LINENO "configure"
22928 /* confdefs.h. */
22929 _ACEOF
22930 cat confdefs.h >>conftest.$ac_ext
22931 cat >>conftest.$ac_ext <<_ACEOF
22932 /* end confdefs.h. */
22933
22934 /* Override any gcc2 internal prototype to avoid an error. */
22935 #ifdef __cplusplus
22936 extern "C"
22937 #endif
22938 /* We use char because int might match the return type of a gcc2
22939 builtin and then its argument prototype would still apply. */
22940 char gethostbyname ();
22941 int
22942 main ()
22943 {
22944 gethostbyname ();
22945 ;
22946 return 0;
22947 }
22948 _ACEOF
22949 rm -f conftest.$ac_objext conftest$ac_exeext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22951 (eval $ac_link) 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } &&
22955 { ac_try='test -s conftest$ac_exeext'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22958 ac_status=$?
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_lib_bsd_gethostbyname=yes
22962 else
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ac_cv_lib_bsd_gethostbyname=no
22967 fi
22968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22969 LIBS=$ac_check_lib_save_LIBS
22970 fi
22971 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22972 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22973 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22974 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22975 fi
22976
22977 fi
22978 fi
22979
22980 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22981 # socket/setsockopt and other routines are undefined under SCO ODT
22982 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22983 # on later versions), says Simon Leinen: it contains gethostby*
22984 # variants that don't use the name server (or something). -lsocket
22985 # must be given before -lnsl if both are needed. We assume that
22986 # if connect needs -lnsl, so does gethostbyname.
22987 echo "$as_me:$LINENO: checking for connect" >&5
22988 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22989 if test "${ac_cv_func_connect+set}" = set; then
22990 echo $ECHO_N "(cached) $ECHO_C" >&6
22991 else
22992 cat >conftest.$ac_ext <<_ACEOF
22993 #line $LINENO "configure"
22994 /* confdefs.h. */
22995 _ACEOF
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
22999 /* System header to define __stub macros and hopefully few prototypes,
23000 which can conflict with char connect (); below.
23001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23002 <limits.h> exists even on freestanding compilers. */
23003 #ifdef __STDC__
23004 # include <limits.h>
23005 #else
23006 # include <assert.h>
23007 #endif
23008 /* Override any gcc2 internal prototype to avoid an error. */
23009 #ifdef __cplusplus
23010 extern "C"
23011 {
23012 #endif
23013 /* We use char because int might match the return type of a gcc2
23014 builtin and then its argument prototype would still apply. */
23015 char connect ();
23016 /* The GNU C library defines this for functions which it implements
23017 to always fail with ENOSYS. Some functions are actually named
23018 something starting with __ and the normal name is an alias. */
23019 #if defined (__stub_connect) || defined (__stub___connect)
23020 choke me
23021 #else
23022 char (*f) () = connect;
23023 #endif
23024 #ifdef __cplusplus
23025 }
23026 #endif
23027
23028 int
23029 main ()
23030 {
23031 return f != connect;
23032 ;
23033 return 0;
23034 }
23035 _ACEOF
23036 rm -f conftest.$ac_objext conftest$ac_exeext
23037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23038 (eval $ac_link) 2>&5
23039 ac_status=$?
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } &&
23042 { ac_try='test -s conftest$ac_exeext'
23043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23044 (eval $ac_try) 2>&5
23045 ac_status=$?
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); }; }; then
23048 ac_cv_func_connect=yes
23049 else
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.$ac_ext >&5
23052
23053 ac_cv_func_connect=no
23054 fi
23055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23056 fi
23057 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23058 echo "${ECHO_T}$ac_cv_func_connect" >&6
23059
23060 if test $ac_cv_func_connect = no; then
23061 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23062 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23063 if test "${ac_cv_lib_socket_connect+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 else
23066 ac_check_lib_save_LIBS=$LIBS
23067 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23068 cat >conftest.$ac_ext <<_ACEOF
23069 #line $LINENO "configure"
23070 /* confdefs.h. */
23071 _ACEOF
23072 cat confdefs.h >>conftest.$ac_ext
23073 cat >>conftest.$ac_ext <<_ACEOF
23074 /* end confdefs.h. */
23075
23076 /* Override any gcc2 internal prototype to avoid an error. */
23077 #ifdef __cplusplus
23078 extern "C"
23079 #endif
23080 /* We use char because int might match the return type of a gcc2
23081 builtin and then its argument prototype would still apply. */
23082 char connect ();
23083 int
23084 main ()
23085 {
23086 connect ();
23087 ;
23088 return 0;
23089 }
23090 _ACEOF
23091 rm -f conftest.$ac_objext conftest$ac_exeext
23092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23093 (eval $ac_link) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } &&
23097 { ac_try='test -s conftest$ac_exeext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23100 ac_status=$?
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 ac_cv_lib_socket_connect=yes
23104 else
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.$ac_ext >&5
23107
23108 ac_cv_lib_socket_connect=no
23109 fi
23110 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23111 LIBS=$ac_check_lib_save_LIBS
23112 fi
23113 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23114 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23115 if test $ac_cv_lib_socket_connect = yes; then
23116 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23117 fi
23118
23119 fi
23120
23121 # Guillermo Gomez says -lposix is necessary on A/UX.
23122 echo "$as_me:$LINENO: checking for remove" >&5
23123 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23124 if test "${ac_cv_func_remove+set}" = set; then
23125 echo $ECHO_N "(cached) $ECHO_C" >&6
23126 else
23127 cat >conftest.$ac_ext <<_ACEOF
23128 #line $LINENO "configure"
23129 /* confdefs.h. */
23130 _ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h. */
23134 /* System header to define __stub macros and hopefully few prototypes,
23135 which can conflict with char remove (); below.
23136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23137 <limits.h> exists even on freestanding compilers. */
23138 #ifdef __STDC__
23139 # include <limits.h>
23140 #else
23141 # include <assert.h>
23142 #endif
23143 /* Override any gcc2 internal prototype to avoid an error. */
23144 #ifdef __cplusplus
23145 extern "C"
23146 {
23147 #endif
23148 /* We use char because int might match the return type of a gcc2
23149 builtin and then its argument prototype would still apply. */
23150 char remove ();
23151 /* The GNU C library defines this for functions which it implements
23152 to always fail with ENOSYS. Some functions are actually named
23153 something starting with __ and the normal name is an alias. */
23154 #if defined (__stub_remove) || defined (__stub___remove)
23155 choke me
23156 #else
23157 char (*f) () = remove;
23158 #endif
23159 #ifdef __cplusplus
23160 }
23161 #endif
23162
23163 int
23164 main ()
23165 {
23166 return f != remove;
23167 ;
23168 return 0;
23169 }
23170 _ACEOF
23171 rm -f conftest.$ac_objext conftest$ac_exeext
23172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23173 (eval $ac_link) 2>&5
23174 ac_status=$?
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); } &&
23177 { ac_try='test -s conftest$ac_exeext'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23180 ac_status=$?
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; }; then
23183 ac_cv_func_remove=yes
23184 else
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23187
23188 ac_cv_func_remove=no
23189 fi
23190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23191 fi
23192 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23193 echo "${ECHO_T}$ac_cv_func_remove" >&6
23194
23195 if test $ac_cv_func_remove = no; then
23196 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23197 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23198 if test "${ac_cv_lib_posix_remove+set}" = set; then
23199 echo $ECHO_N "(cached) $ECHO_C" >&6
23200 else
23201 ac_check_lib_save_LIBS=$LIBS
23202 LIBS="-lposix $LIBS"
23203 cat >conftest.$ac_ext <<_ACEOF
23204 #line $LINENO "configure"
23205 /* confdefs.h. */
23206 _ACEOF
23207 cat confdefs.h >>conftest.$ac_ext
23208 cat >>conftest.$ac_ext <<_ACEOF
23209 /* end confdefs.h. */
23210
23211 /* Override any gcc2 internal prototype to avoid an error. */
23212 #ifdef __cplusplus
23213 extern "C"
23214 #endif
23215 /* We use char because int might match the return type of a gcc2
23216 builtin and then its argument prototype would still apply. */
23217 char remove ();
23218 int
23219 main ()
23220 {
23221 remove ();
23222 ;
23223 return 0;
23224 }
23225 _ACEOF
23226 rm -f conftest.$ac_objext conftest$ac_exeext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23228 (eval $ac_link) 2>&5
23229 ac_status=$?
23230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23231 (exit $ac_status); } &&
23232 { ac_try='test -s conftest$ac_exeext'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; }; then
23238 ac_cv_lib_posix_remove=yes
23239 else
23240 echo "$as_me: failed program was:" >&5
23241 sed 's/^/| /' conftest.$ac_ext >&5
23242
23243 ac_cv_lib_posix_remove=no
23244 fi
23245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23246 LIBS=$ac_check_lib_save_LIBS
23247 fi
23248 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23249 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23250 if test $ac_cv_lib_posix_remove = yes; then
23251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23252 fi
23253
23254 fi
23255
23256 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23257 echo "$as_me:$LINENO: checking for shmat" >&5
23258 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23259 if test "${ac_cv_func_shmat+set}" = set; then
23260 echo $ECHO_N "(cached) $ECHO_C" >&6
23261 else
23262 cat >conftest.$ac_ext <<_ACEOF
23263 #line $LINENO "configure"
23264 /* confdefs.h. */
23265 _ACEOF
23266 cat confdefs.h >>conftest.$ac_ext
23267 cat >>conftest.$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23269 /* System header to define __stub macros and hopefully few prototypes,
23270 which can conflict with char shmat (); below.
23271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23272 <limits.h> exists even on freestanding compilers. */
23273 #ifdef __STDC__
23274 # include <limits.h>
23275 #else
23276 # include <assert.h>
23277 #endif
23278 /* Override any gcc2 internal prototype to avoid an error. */
23279 #ifdef __cplusplus
23280 extern "C"
23281 {
23282 #endif
23283 /* We use char because int might match the return type of a gcc2
23284 builtin and then its argument prototype would still apply. */
23285 char shmat ();
23286 /* The GNU C library defines this for functions which it implements
23287 to always fail with ENOSYS. Some functions are actually named
23288 something starting with __ and the normal name is an alias. */
23289 #if defined (__stub_shmat) || defined (__stub___shmat)
23290 choke me
23291 #else
23292 char (*f) () = shmat;
23293 #endif
23294 #ifdef __cplusplus
23295 }
23296 #endif
23297
23298 int
23299 main ()
23300 {
23301 return f != shmat;
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 rm -f conftest.$ac_objext conftest$ac_exeext
23307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23308 (eval $ac_link) 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); } &&
23312 { ac_try='test -s conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23315 ac_status=$?
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_func_shmat=yes
23319 else
23320 echo "$as_me: failed program was:" >&5
23321 sed 's/^/| /' conftest.$ac_ext >&5
23322
23323 ac_cv_func_shmat=no
23324 fi
23325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23326 fi
23327 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23328 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23329
23330 if test $ac_cv_func_shmat = no; then
23331 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23332 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23333 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23334 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 else
23336 ac_check_lib_save_LIBS=$LIBS
23337 LIBS="-lipc $LIBS"
23338 cat >conftest.$ac_ext <<_ACEOF
23339 #line $LINENO "configure"
23340 /* confdefs.h. */
23341 _ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345
23346 /* Override any gcc2 internal prototype to avoid an error. */
23347 #ifdef __cplusplus
23348 extern "C"
23349 #endif
23350 /* We use char because int might match the return type of a gcc2
23351 builtin and then its argument prototype would still apply. */
23352 char shmat ();
23353 int
23354 main ()
23355 {
23356 shmat ();
23357 ;
23358 return 0;
23359 }
23360 _ACEOF
23361 rm -f conftest.$ac_objext conftest$ac_exeext
23362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23363 (eval $ac_link) 2>&5
23364 ac_status=$?
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } &&
23367 { ac_try='test -s conftest$ac_exeext'
23368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23369 (eval $ac_try) 2>&5
23370 ac_status=$?
23371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372 (exit $ac_status); }; }; then
23373 ac_cv_lib_ipc_shmat=yes
23374 else
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23377
23378 ac_cv_lib_ipc_shmat=no
23379 fi
23380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23381 LIBS=$ac_check_lib_save_LIBS
23382 fi
23383 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23384 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23385 if test $ac_cv_lib_ipc_shmat = yes; then
23386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23387 fi
23388
23389 fi
23390 fi
23391
23392 # Check for libraries that X11R6 Xt/Xaw programs need.
23393 ac_save_LDFLAGS=$LDFLAGS
23394 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23395 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23396 # check for ICE first), but we must link in the order -lSM -lICE or
23397 # we get undefined symbols. So assume we have SM if we have ICE.
23398 # These have to be linked with before -lX11, unlike the other
23399 # libraries we check for below, so use a different variable.
23400 # John Interrante, Karl Berry
23401 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23402 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23403 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23404 echo $ECHO_N "(cached) $ECHO_C" >&6
23405 else
23406 ac_check_lib_save_LIBS=$LIBS
23407 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23408 cat >conftest.$ac_ext <<_ACEOF
23409 #line $LINENO "configure"
23410 /* confdefs.h. */
23411 _ACEOF
23412 cat confdefs.h >>conftest.$ac_ext
23413 cat >>conftest.$ac_ext <<_ACEOF
23414 /* end confdefs.h. */
23415
23416 /* Override any gcc2 internal prototype to avoid an error. */
23417 #ifdef __cplusplus
23418 extern "C"
23419 #endif
23420 /* We use char because int might match the return type of a gcc2
23421 builtin and then its argument prototype would still apply. */
23422 char IceConnectionNumber ();
23423 int
23424 main ()
23425 {
23426 IceConnectionNumber ();
23427 ;
23428 return 0;
23429 }
23430 _ACEOF
23431 rm -f conftest.$ac_objext conftest$ac_exeext
23432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23433 (eval $ac_link) 2>&5
23434 ac_status=$?
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); } &&
23437 { ac_try='test -s conftest$ac_exeext'
23438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 (eval $ac_try) 2>&5
23440 ac_status=$?
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; }; then
23443 ac_cv_lib_ICE_IceConnectionNumber=yes
23444 else
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.$ac_ext >&5
23447
23448 ac_cv_lib_ICE_IceConnectionNumber=no
23449 fi
23450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23451 LIBS=$ac_check_lib_save_LIBS
23452 fi
23453 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23454 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23455 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23456 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23457 fi
23458
23459 LDFLAGS=$ac_save_LDFLAGS
23460
23461 fi
23462
23463
23464 if test "$no_x" = "yes"; then
23465 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23466 echo "$as_me: error: X11 not found" >&2;}
23467 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23468 fi
23469
23470 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23471 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23472 AFMINSTALL=afminstall
23473 COMPILED_X_PROGRAM=0
23474
23475 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23476 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23477
23478 ac_find_includes=
23479 for ac_dir in $SEARCH_INCLUDE /usr/include;
23480 do
23481 if test -f "$ac_dir/Xm/Xm.h"; then
23482 ac_find_includes=$ac_dir
23483 break
23484 fi
23485 done
23486
23487 if test "$ac_find_includes" != "" ; then
23488 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23489 echo "${ECHO_T}found in $ac_find_includes" >&6
23490
23491 if test "x$ac_find_includes" = "x/usr/include"; then
23492 ac_path_to_include=""
23493 else
23494 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23495 result=$?
23496 if test $result = 0; then
23497 ac_path_to_include=""
23498 else
23499 ac_path_to_include=" -I$ac_find_includes"
23500 fi
23501 fi
23502
23503 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23504 else
23505 cat >conftest.$ac_ext <<_ACEOF
23506 #line $LINENO "configure"
23507 /* confdefs.h. */
23508 _ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23512
23513 #include <Xm/Xm.h>
23514
23515 int
23516 main ()
23517 {
23518
23519 int version;
23520 version = xmUseVersion;
23521
23522 ;
23523 return 0;
23524 }
23525 _ACEOF
23526 rm -f conftest.$ac_objext
23527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23528 (eval $ac_compile) 2>&5
23529 ac_status=$?
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } &&
23532 { ac_try='test -s conftest.$ac_objext'
23533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534 (eval $ac_try) 2>&5
23535 ac_status=$?
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); }; }; then
23538
23539 echo "$as_me:$LINENO: result: found in default search path" >&5
23540 echo "${ECHO_T}found in default search path" >&6
23541 COMPILED_X_PROGRAM=1
23542
23543 else
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.$ac_ext >&5
23546
23547
23548 echo "$as_me:$LINENO: result: no" >&5
23549 echo "${ECHO_T}no" >&6
23550 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23551 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23552 { (exit 1); exit 1; }; }
23553
23554
23555 fi
23556 rm -f conftest.$ac_objext conftest.$ac_ext
23557 fi
23558
23559 if test "$COMPILED_X_PROGRAM" = 0; then
23560 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23561 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23562
23563 ac_find_libraries=
23564 for ac_dir in $SEARCH_LIB /usr/lib;
23565 do
23566 for ac_extension in a so sl dylib; do
23567 if test -f "$ac_dir/libXm.$ac_extension"; then
23568 ac_find_libraries=$ac_dir
23569 break 2
23570 fi
23571 done
23572 done
23573
23574 if test "$ac_find_libraries" != "" ; then
23575 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23576 echo "${ECHO_T}found at $ac_find_libraries" >&6
23577
23578
23579 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23580 result=$?
23581 if test $result = 0; then
23582 ac_path_to_link=""
23583 else
23584 ac_path_to_link=" -L$ac_find_libraries"
23585 fi
23586
23587 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23588 else
23589 save_CFLAGS=$CFLAGS
23590 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23591
23592 cat >conftest.$ac_ext <<_ACEOF
23593 #line $LINENO "configure"
23594 /* confdefs.h. */
23595 _ACEOF
23596 cat confdefs.h >>conftest.$ac_ext
23597 cat >>conftest.$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23599
23600 #include <Xm/Xm.h>
23601
23602 int
23603 main ()
23604 {
23605
23606 int version;
23607 version = xmUseVersion;
23608
23609 ;
23610 return 0;
23611 }
23612 _ACEOF
23613 rm -f conftest.$ac_objext
23614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23615 (eval $ac_compile) 2>&5
23616 ac_status=$?
23617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23618 (exit $ac_status); } &&
23619 { ac_try='test -s conftest.$ac_objext'
23620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23621 (eval $ac_try) 2>&5
23622 ac_status=$?
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); }; }; then
23625
23626 echo "$as_me:$LINENO: result: found in default search path" >&5
23627 echo "${ECHO_T}found in default search path" >&6
23628 COMPILED_X_PROGRAM=1
23629
23630 else
23631 echo "$as_me: failed program was:" >&5
23632 sed 's/^/| /' conftest.$ac_ext >&5
23633
23634
23635 echo "$as_me:$LINENO: result: no" >&5
23636 echo "${ECHO_T}no" >&6
23637 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23638 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23639 { (exit 1); exit 1; }; }
23640
23641
23642 fi
23643 rm -f conftest.$ac_objext conftest.$ac_ext
23644
23645 CFLAGS=$save_CFLAGS
23646 fi
23647 fi
23648
23649 xpm_link=
23650 echo "$as_me:$LINENO: checking for Xpm library" >&5
23651 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23652
23653 ac_find_libraries=
23654 for ac_dir in $SEARCH_LIB /usr/lib;
23655 do
23656 for ac_extension in a so sl dylib; do
23657 if test -f "$ac_dir/libXpm.$ac_extension"; then
23658 ac_find_libraries=$ac_dir
23659 break 2
23660 fi
23661 done
23662 done
23663
23664 if test "$ac_find_libraries" != "" ; then
23665
23666 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23667 result=$?
23668 if test $result = 0; then
23669 ac_path_to_link=""
23670 else
23671 ac_path_to_link=" -L$ac_find_libraries"
23672 fi
23673
23674 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23675
23676 xpm_link=" -lXpm"
23677 cat >>confdefs.h <<\_ACEOF
23678 #define wxHAVE_LIB_XPM 1
23679 _ACEOF
23680
23681 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23682 echo "${ECHO_T}found at $ac_find_libraries" >&6
23683 else
23684 save_CFLAGS=$CFLAGS
23685 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23686
23687 cat >conftest.$ac_ext <<_ACEOF
23688 #line $LINENO "configure"
23689 /* confdefs.h. */
23690 _ACEOF
23691 cat confdefs.h >>conftest.$ac_ext
23692 cat >>conftest.$ac_ext <<_ACEOF
23693 /* end confdefs.h. */
23694
23695 #include <X11/xpm.h>
23696
23697 int
23698 main ()
23699 {
23700
23701 int version;
23702 version = XpmLibraryVersion();
23703
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 rm -f conftest.$ac_objext
23709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23710 (eval $ac_compile) 2>&5
23711 ac_status=$?
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); } &&
23714 { ac_try='test -s conftest.$ac_objext'
23715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23716 (eval $ac_try) 2>&5
23717 ac_status=$?
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); }; }; then
23720
23721 xpm_link=" -lXpm"
23722 cat >>confdefs.h <<\_ACEOF
23723 #define wxHAVE_LIB_XPM 1
23724 _ACEOF
23725
23726 echo "$as_me:$LINENO: result: found in default search path" >&5
23727 echo "${ECHO_T}found in default search path" >&6
23728 COMPILED_X_PROGRAM=0
23729
23730 else
23731 echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.$ac_ext >&5
23733
23734
23735 echo "$as_me:$LINENO: result: no" >&5
23736 echo "${ECHO_T}no" >&6
23737 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23738 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23739
23740
23741 fi
23742 rm -f conftest.$ac_objext conftest.$ac_ext
23743
23744 CFLAGS=$save_CFLAGS
23745 fi
23746
23747 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23748 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23749 libp_link=""
23750 libsm_ice_link=""
23751 libs_found=0
23752 for libp in "" " -lXp"; do
23753 if test "$libs_found" = "0"; then
23754 for libsm_ice in " -lSM -lICE"; do
23755 if test "$libs_found" = "0"; then
23756 save_LIBS="$LIBS"
23757 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23758 save_CFLAGS=$CFLAGS
23759 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23760
23761 cat >conftest.$ac_ext <<_ACEOF
23762 #line $LINENO "configure"
23763 /* confdefs.h. */
23764 _ACEOF
23765 cat confdefs.h >>conftest.$ac_ext
23766 cat >>conftest.$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23768
23769 #include <Xm/Xm.h>
23770 #include <Xm/List.h>
23771
23772 int
23773 main ()
23774 {
23775
23776 XmString string = NULL;
23777 Widget w = NULL;
23778 int position = 0;
23779 XmListAddItem(w, string, position);
23780
23781 ;
23782 return 0;
23783 }
23784 _ACEOF
23785 rm -f conftest.$ac_objext conftest$ac_exeext
23786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23787 (eval $ac_link) 2>&5
23788 ac_status=$?
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); } &&
23791 { ac_try='test -s conftest$ac_exeext'
23792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23793 (eval $ac_try) 2>&5
23794 ac_status=$?
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); }; }; then
23797
23798 libp_link="$libp"
23799 libsm_ice_link="$libsm_ice"
23800 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23801 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23802 libs_found=1
23803
23804 else
23805 echo "$as_me: failed program was:" >&5
23806 sed 's/^/| /' conftest.$ac_ext >&5
23807
23808
23809
23810 fi
23811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23812
23813 LIBS="$save_LIBS"
23814 CFLAGS=$save_CFLAGS
23815 fi
23816 done
23817 fi
23818 done
23819
23820 if test "$libs_found" = "0"; then
23821 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23822 echo "${ECHO_T}can't find the right libraries" >&6
23823 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23824 echo "$as_me: error: can't link a simple motif program" >&2;}
23825 { (exit 1); exit 1; }; }
23826 fi
23827
23828 save_CFLAGS=$CFLAGS
23829 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23830 echo "$as_me:$LINENO: checking for Motif 2" >&5
23831 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23832 cat >conftest.$ac_ext <<_ACEOF
23833 #line $LINENO "configure"
23834 /* confdefs.h. */
23835 _ACEOF
23836 cat confdefs.h >>conftest.$ac_ext
23837 cat >>conftest.$ac_ext <<_ACEOF
23838 /* end confdefs.h. */
23839
23840 #include <Xm/Xm.h>
23841
23842 int
23843 main ()
23844 {
23845
23846 #if XmVersion < 2000
23847 #error "Not Motif 2"
23848 #endif
23849
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23856 (eval $ac_compile) 2>&5
23857 ac_status=$?
23858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23859 (exit $ac_status); } &&
23860 { ac_try='test -s conftest.$ac_objext'
23861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23862 (eval $ac_try) 2>&5
23863 ac_status=$?
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); }; }; then
23866
23867 cat >>confdefs.h <<\_ACEOF
23868 #define __WXMOTIF20__ 1
23869 _ACEOF
23870
23871 echo "$as_me:$LINENO: result: found" >&5
23872 echo "${ECHO_T}found" >&6
23873
23874 else
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.$ac_ext >&5
23877
23878
23879 cat >>confdefs.h <<\_ACEOF
23880 #define __WXMOTIF20__ 0
23881 _ACEOF
23882
23883 echo "$as_me:$LINENO: result: not found" >&5
23884 echo "${ECHO_T}not found" >&6
23885
23886 fi
23887 rm -f conftest.$ac_objext conftest.$ac_ext
23888 CFLAGS=$save_CFLAGS
23889
23890 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23891 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23892 TOOLKIT=MOTIF
23893 GUIDIST=MOTIF_DIST
23894 wxHAVE_XEXT_LIB=1
23895 fi
23896
23897 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23898 test "$wxHAVE_XEXT_LIB" = 1; then
23899 save_CFLAGS="$CFLAGS"
23900 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23901
23902 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23903 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23904 cat >conftest.$ac_ext <<_ACEOF
23905 #line $LINENO "configure"
23906 /* confdefs.h. */
23907 _ACEOF
23908 cat confdefs.h >>conftest.$ac_ext
23909 cat >>conftest.$ac_ext <<_ACEOF
23910 /* end confdefs.h. */
23911
23912 #include <X11/Xlib.h>
23913 #include <X11/extensions/shape.h>
23914
23915 int
23916 main ()
23917 {
23918
23919 int dummy1, dummy2;
23920 XShapeQueryExtension((Display*)NULL,
23921 (int*)NULL, (int*)NULL);
23922
23923 ;
23924 return 0;
23925 }
23926 _ACEOF
23927 rm -f conftest.$ac_objext
23928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23929 (eval $ac_compile) 2>&5
23930 ac_status=$?
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } &&
23933 { ac_try='test -s conftest.$ac_objext'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23936 ac_status=$?
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; }; then
23939
23940 cat >>confdefs.h <<\_ACEOF
23941 #define HAVE_XSHAPE 1
23942 _ACEOF
23943
23944 echo "$as_me:$LINENO: result: found" >&5
23945 echo "${ECHO_T}found" >&6
23946
23947 else
23948 echo "$as_me: failed program was:" >&5
23949 sed 's/^/| /' conftest.$ac_ext >&5
23950
23951
23952 echo "$as_me:$LINENO: result: not found" >&5
23953 echo "${ECHO_T}not found" >&6
23954
23955 fi
23956 rm -f conftest.$ac_objext conftest.$ac_ext
23957 CFLAGS="$save_CFLAGS"
23958 fi
23959
23960 if test "$wxUSE_MAC" = 1; then
23961 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23962
23963 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23964 TOOLKIT=MAC
23965 GUIDIST=MACX_DIST
23966 fi
23967
23968 if test "$wxUSE_COCOA" = 1; then
23969 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
23970 TOOLKIT=COCOA
23971 GUIDIST=COCOA_DIST
23972 fi
23973
23974 if test "$wxUSE_PM" = 1; then
23975 TOOLKIT=PM
23976 GUIDIST=GTK_DIST
23977 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23978 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23979 wxUSE_THREADS="no"
23980 fi
23981
23982 if test "$TOOLKIT" = "PM" ; then
23983 TOOLKIT_DIR="os2"
23984 else
23985 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23986 fi
23987
23988 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23989
23990 if test "$wxUSE_UNIVERSAL" = "yes"; then
23991 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23992
23993 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23994 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23995
23996 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23997 if test "$wxUSE_X11" = 1; then
23998 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23999 else
24000 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24001 fi
24002 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24003 WIDGET_SET=univ
24004 else
24005 ALL_OBJECTS="\$(GUIOBJS)"
24006 ALL_SOURCES="\$(ALL_SOURCES)"
24007 ALL_HEADERS="\$(ALL_HEADERS)"
24008 fi
24009
24010 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24011
24012 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24013 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24014 fi
24015
24016 if test "$wxUSE_HTML" = "yes"; then
24017 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24018 fi
24019
24020 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24021 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24022 fi
24023 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24024 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24025 fi
24026 if test "$wxUSE_LIBPNG" = "builtin" ; then
24027 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24028 fi
24029
24030 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24031 DISTDIR="wx\$(TOOLKIT)"
24032 else
24033 USE_GUI=0
24034
24035 TOOLKIT_DIR="base"
24036
24037 if test "$USE_WIN32" = 1 ; then
24038 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24039 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24040
24041 TOOLKIT="MSW"
24042 else
24043 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24044 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24045 fi
24046
24047 ALL_SOURCES="\$(ALL_SOURCES)"
24048 ALL_HEADERS="\$(ALL_HEADERS)"
24049
24050 PORT_FILES="\${top_srcdir}/src/files.lst"
24051
24052 GUIDIST="BASE_DIST"
24053 DISTDIR="wxBase"
24054 fi
24055
24056
24057
24058
24059 IODBC_C_SRC=""
24060
24061
24062 if test "$TOOLKIT" != "MSW" ; then
24063
24064 if test "$wxUSE_ODBC" != "no" ; then
24065 cat >>confdefs.h <<\_ACEOF
24066 #define wxUSE_ODBC 1
24067 _ACEOF
24068
24069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24070
24071 WXODBCFLAG="-D_IODBC_"
24072
24073
24074 if test "$wxUSE_ODBC" = "sys" ; then
24075
24076 if test "${ac_cv_header_sql_h+set}" = set; then
24077 echo "$as_me:$LINENO: checking for sql.h" >&5
24078 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24079 if test "${ac_cv_header_sql_h+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 fi
24082 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24083 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24084 else
24085 # Is the header compilable?
24086 echo "$as_me:$LINENO: checking sql.h usability" >&5
24087 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24088 cat >conftest.$ac_ext <<_ACEOF
24089 #line $LINENO "configure"
24090 /* confdefs.h. */
24091 _ACEOF
24092 cat confdefs.h >>conftest.$ac_ext
24093 cat >>conftest.$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24095 $ac_includes_default
24096 #include <sql.h>
24097 _ACEOF
24098 rm -f conftest.$ac_objext
24099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24100 (eval $ac_compile) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); } &&
24104 { ac_try='test -s conftest.$ac_objext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110 ac_header_compiler=yes
24111 else
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.$ac_ext >&5
24114
24115 ac_header_compiler=no
24116 fi
24117 rm -f conftest.$ac_objext conftest.$ac_ext
24118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24119 echo "${ECHO_T}$ac_header_compiler" >&6
24120
24121 # Is the header present?
24122 echo "$as_me:$LINENO: checking sql.h presence" >&5
24123 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24124 cat >conftest.$ac_ext <<_ACEOF
24125 #line $LINENO "configure"
24126 /* confdefs.h. */
24127 _ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24131 #include <sql.h>
24132 _ACEOF
24133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24134 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24135 ac_status=$?
24136 grep -v '^ *+' conftest.er1 >conftest.err
24137 rm -f conftest.er1
24138 cat conftest.err >&5
24139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24140 (exit $ac_status); } >/dev/null; then
24141 if test -s conftest.err; then
24142 ac_cpp_err=$ac_c_preproc_warn_flag
24143 else
24144 ac_cpp_err=
24145 fi
24146 else
24147 ac_cpp_err=yes
24148 fi
24149 if test -z "$ac_cpp_err"; then
24150 ac_header_preproc=yes
24151 else
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24154
24155 ac_header_preproc=no
24156 fi
24157 rm -f conftest.err conftest.$ac_ext
24158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24159 echo "${ECHO_T}$ac_header_preproc" >&6
24160
24161 # So? What about this header?
24162 case $ac_header_compiler:$ac_header_preproc in
24163 yes:no )
24164 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24165 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24166 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24167 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24168 (
24169 cat <<\_ASBOX
24170 ## ------------------------------------ ##
24171 ## Report this to bug-autoconf@gnu.org. ##
24172 ## ------------------------------------ ##
24173 _ASBOX
24174 ) |
24175 sed "s/^/$as_me: WARNING: /" >&2
24176 ;;
24177 no:yes )
24178 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24179 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24180 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24181 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24182 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24183 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24184 (
24185 cat <<\_ASBOX
24186 ## ------------------------------------ ##
24187 ## Report this to bug-autoconf@gnu.org. ##
24188 ## ------------------------------------ ##
24189 _ASBOX
24190 ) |
24191 sed "s/^/$as_me: WARNING: /" >&2
24192 ;;
24193 esac
24194 echo "$as_me:$LINENO: checking for sql.h" >&5
24195 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24196 if test "${ac_cv_header_sql_h+set}" = set; then
24197 echo $ECHO_N "(cached) $ECHO_C" >&6
24198 else
24199 ac_cv_header_sql_h=$ac_header_preproc
24200 fi
24201 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24202 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24203
24204 fi
24205
24206
24207 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24208 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24209 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24210 echo $ECHO_N "(cached) $ECHO_C" >&6
24211 else
24212 ac_func_search_save_LIBS=$LIBS
24213 ac_cv_search_SQLAllocEnv=no
24214 cat >conftest.$ac_ext <<_ACEOF
24215 #line $LINENO "configure"
24216 /* confdefs.h. */
24217 _ACEOF
24218 cat confdefs.h >>conftest.$ac_ext
24219 cat >>conftest.$ac_ext <<_ACEOF
24220 /* end confdefs.h. */
24221
24222 /* Override any gcc2 internal prototype to avoid an error. */
24223 #ifdef __cplusplus
24224 extern "C"
24225 #endif
24226 /* We use char because int might match the return type of a gcc2
24227 builtin and then its argument prototype would still apply. */
24228 char SQLAllocEnv ();
24229 int
24230 main ()
24231 {
24232 SQLAllocEnv ();
24233 ;
24234 return 0;
24235 }
24236 _ACEOF
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24239 (eval $ac_link) 2>&5
24240 ac_status=$?
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); } &&
24243 { ac_try='test -s conftest$ac_exeext'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24246 ac_status=$?
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24249 ac_cv_search_SQLAllocEnv="none required"
24250 else
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.$ac_ext >&5
24253
24254 fi
24255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24256 if test "$ac_cv_search_SQLAllocEnv" = no; then
24257 for ac_lib in iodbc unixodbc odbc ; do
24258 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24259 cat >conftest.$ac_ext <<_ACEOF
24260 #line $LINENO "configure"
24261 /* confdefs.h. */
24262 _ACEOF
24263 cat confdefs.h >>conftest.$ac_ext
24264 cat >>conftest.$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24266
24267 /* Override any gcc2 internal prototype to avoid an error. */
24268 #ifdef __cplusplus
24269 extern "C"
24270 #endif
24271 /* We use char because int might match the return type of a gcc2
24272 builtin and then its argument prototype would still apply. */
24273 char SQLAllocEnv ();
24274 int
24275 main ()
24276 {
24277 SQLAllocEnv ();
24278 ;
24279 return 0;
24280 }
24281 _ACEOF
24282 rm -f conftest.$ac_objext conftest$ac_exeext
24283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24284 (eval $ac_link) 2>&5
24285 ac_status=$?
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); } &&
24288 { ac_try='test -s conftest$ac_exeext'
24289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290 (eval $ac_try) 2>&5
24291 ac_status=$?
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); }; }; then
24294 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24295 break
24296 else
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24299
24300 fi
24301 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24302 done
24303 fi
24304 LIBS=$ac_func_search_save_LIBS
24305 fi
24306 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24307 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24308 if test "$ac_cv_search_SQLAllocEnv" != no; then
24309 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24310
24311 else
24312
24313 wxUSE_ODBC=builtin;
24314 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24315 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24316
24317 fi
24318
24319 fi
24320 if test "$wxUSE_ODBC" != "sys" ; then
24321 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24322 fi
24323
24324 fi
24325
24326 fi
24327
24328 if test "$wxUSE_REGEX" = "builtin" ; then
24329 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24330 fi
24331 if test "$wxUSE_ZLIB" = "builtin" ; then
24332 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24333 fi
24334
24335
24336 if test "$wxUSE_OPENGL" = "yes"; then
24337 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24338 OPENGL_LIBS="-framework OpenGL -framework AGL"
24339 elif test "$wxUSE_MSW" = 1; then
24340 OPENGL_LIBS="-lopengl32 -lglu32"
24341 else
24342
24343
24344 ac_find_includes=
24345 for ac_dir in $SEARCH_INCLUDE /usr/include;
24346 do
24347 if test -f "$ac_dir/GL/gl.h"; then
24348 ac_find_includes=$ac_dir
24349 break
24350 fi
24351 done
24352
24353 if test "$ac_find_includes" != "" ; then
24354 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24355 echo "${ECHO_T}found in $ac_find_includes" >&6
24356 set -x
24357
24358 if test "x$ac_find_includes" = "x/usr/include"; then
24359 ac_path_to_include=""
24360 else
24361 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24362 result=$?
24363 if test $result = 0; then
24364 ac_path_to_include=""
24365 else
24366 ac_path_to_include=" -I$ac_find_includes"
24367 fi
24368 fi
24369
24370 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24371 set +x
24372 fi
24373
24374 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24375 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24376 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24377 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24378 echo $ECHO_N "(cached) $ECHO_C" >&6
24379 fi
24380 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24381 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24382 else
24383 # Is the header compilable?
24384 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24385 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24386 cat >conftest.$ac_ext <<_ACEOF
24387 #line $LINENO "configure"
24388 /* confdefs.h. */
24389 _ACEOF
24390 cat confdefs.h >>conftest.$ac_ext
24391 cat >>conftest.$ac_ext <<_ACEOF
24392 /* end confdefs.h. */
24393 $ac_includes_default
24394 #include <GL/gl.h>
24395 _ACEOF
24396 rm -f conftest.$ac_objext
24397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24398 (eval $ac_compile) 2>&5
24399 ac_status=$?
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); } &&
24402 { ac_try='test -s conftest.$ac_objext'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24405 ac_status=$?
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; }; then
24408 ac_header_compiler=yes
24409 else
24410 echo "$as_me: failed program was:" >&5
24411 sed 's/^/| /' conftest.$ac_ext >&5
24412
24413 ac_header_compiler=no
24414 fi
24415 rm -f conftest.$ac_objext conftest.$ac_ext
24416 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24417 echo "${ECHO_T}$ac_header_compiler" >&6
24418
24419 # Is the header present?
24420 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24421 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24422 cat >conftest.$ac_ext <<_ACEOF
24423 #line $LINENO "configure"
24424 /* confdefs.h. */
24425 _ACEOF
24426 cat confdefs.h >>conftest.$ac_ext
24427 cat >>conftest.$ac_ext <<_ACEOF
24428 /* end confdefs.h. */
24429 #include <GL/gl.h>
24430 _ACEOF
24431 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24432 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24433 ac_status=$?
24434 grep -v '^ *+' conftest.er1 >conftest.err
24435 rm -f conftest.er1
24436 cat conftest.err >&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } >/dev/null; then
24439 if test -s conftest.err; then
24440 ac_cpp_err=$ac_c_preproc_warn_flag
24441 else
24442 ac_cpp_err=
24443 fi
24444 else
24445 ac_cpp_err=yes
24446 fi
24447 if test -z "$ac_cpp_err"; then
24448 ac_header_preproc=yes
24449 else
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 ac_header_preproc=no
24454 fi
24455 rm -f conftest.err conftest.$ac_ext
24456 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24457 echo "${ECHO_T}$ac_header_preproc" >&6
24458
24459 # So? What about this header?
24460 case $ac_header_compiler:$ac_header_preproc in
24461 yes:no )
24462 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24463 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24464 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24465 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24466 (
24467 cat <<\_ASBOX
24468 ## ------------------------------------ ##
24469 ## Report this to bug-autoconf@gnu.org. ##
24470 ## ------------------------------------ ##
24471 _ASBOX
24472 ) |
24473 sed "s/^/$as_me: WARNING: /" >&2
24474 ;;
24475 no:yes )
24476 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24477 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24478 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24479 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24480 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24481 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24482 (
24483 cat <<\_ASBOX
24484 ## ------------------------------------ ##
24485 ## Report this to bug-autoconf@gnu.org. ##
24486 ## ------------------------------------ ##
24487 _ASBOX
24488 ) |
24489 sed "s/^/$as_me: WARNING: /" >&2
24490 ;;
24491 esac
24492 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24493 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24494 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24495 echo $ECHO_N "(cached) $ECHO_C" >&6
24496 else
24497 ac_cv_header_GL_gl_h=$ac_header_preproc
24498 fi
24499 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24500 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24501
24502 fi
24503 if test $ac_cv_header_GL_gl_h = yes; then
24504
24505 found_gl=0
24506
24507 echo "$as_me:$LINENO: checking for -lGL" >&5
24508 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24509
24510 ac_find_libraries=
24511 for ac_dir in $SEARCH_LIB /usr/lib;
24512 do
24513 for ac_extension in a so sl dylib; do
24514 if test -f "$ac_dir/libGL.$ac_extension"; then
24515 ac_find_libraries=$ac_dir
24516 break 2
24517 fi
24518 done
24519 done
24520
24521 if test "$ac_find_libraries" != "" ; then
24522
24523 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24524 result=$?
24525 if test $result = 0; then
24526 ac_path_to_link=""
24527 else
24528 ac_path_to_link=" -L$ac_find_libraries"
24529 fi
24530
24531 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24532 LDFLAGS_GL="$ac_path_to_link"
24533 fi
24534
24535
24536 ac_find_libraries=
24537 for ac_dir in $SEARCH_LIB /usr/lib;
24538 do
24539 for ac_extension in a so sl dylib; do
24540 if test -f "$ac_dir/libGLU.$ac_extension"; then
24541 ac_find_libraries=$ac_dir
24542 break 2
24543 fi
24544 done
24545 done
24546
24547 if test "$ac_find_libraries" != "" ; then
24548
24549 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24550 result=$?
24551 if test $result = 0; then
24552 ac_path_to_link=""
24553 else
24554 ac_path_to_link=" -L$ac_find_libraries"
24555 fi
24556
24557 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24558 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24559 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24560 fi
24561
24562 found_gl=1
24563 OPENGL_LIBS="-lGL -lGLU"
24564 echo "$as_me:$LINENO: result: yes" >&5
24565 echo "${ECHO_T}yes" >&6
24566 fi
24567 fi
24568
24569 if "$found_gl" != 1; then
24570 echo "$as_me:$LINENO: result: no" >&5
24571 echo "${ECHO_T}no" >&6
24572 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24573 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24574
24575 ac_find_libraries=
24576 for ac_dir in $SEARCH_LIB /usr/lib;
24577 do
24578 for ac_extension in a so sl dylib; do
24579 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24580 ac_find_libraries=$ac_dir
24581 break 2
24582 fi
24583 done
24584 done
24585
24586 if test "$ac_find_libraries" != "" ; then
24587
24588 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24589 result=$?
24590 if test $result = 0; then
24591 ac_path_to_link=""
24592 else
24593 ac_path_to_link=" -L$ac_find_libraries"
24594 fi
24595
24596 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24597 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24598 echo "$as_me:$LINENO: result: yes" >&5
24599 echo "${ECHO_T}yes" >&6
24600 else
24601 echo "$as_me:$LINENO: result: no" >&5
24602 echo "${ECHO_T}no" >&6
24603 fi
24604 fi
24605
24606 fi
24607
24608
24609
24610 if test "x$OPENGL_LIBS" = "x"; then
24611 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24612 echo "$as_me: error: OpenGL libraries not available" >&2;}
24613 { (exit 1); exit 1; }; }
24614 fi
24615 fi
24616
24617 if test "$wxUSE_OPENGL" = "yes"; then
24618 cat >>confdefs.h <<\_ACEOF
24619 #define wxUSE_OPENGL 1
24620 _ACEOF
24621
24622 cat >>confdefs.h <<\_ACEOF
24623 #define wxUSE_GLCANVAS 1
24624 _ACEOF
24625
24626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24627 fi
24628 fi
24629
24630 if test -z "$TOOLKIT_VPATH" ; then
24631 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24632 fi
24633
24634 if test -n "$TOOLKIT" ; then
24635 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24636 fi
24637
24638 UNICODE=0
24639 lib_unicode_suffix=
24640 if test "$wxUSE_UNICODE" = "yes"; then
24641 lib_unicode_suffix=u
24642 UNICODE=1
24643 fi
24644
24645 lib_debug_suffix=
24646 BUILD=release
24647 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24648 lib_debug_suffix=d
24649 BUILD=debug
24650 fi
24651
24652 WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24653
24654 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24655 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24656
24657 if test "$cross_compiling" = "yes"; then
24658 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24659 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24660 fi
24661
24662 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24663 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24664 WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24665
24666 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24667 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24668
24669 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24670 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24671 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24672 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24673
24674 case "${host}" in
24675 *-*-cygwin* | *-*-mingw32* )
24676
24677
24678
24679 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24680 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24681 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24682 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24683 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24684 else
24685 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24686 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24687 fi
24688 ;;
24689
24690 *-*-darwin* )
24691
24692 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24693 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24694
24695 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24696 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24697 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24698 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24699
24700 if test "$wxUSE_MAC" = 1; then
24701 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24702 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24703 fi
24704 ;;
24705 esac
24706
24707 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24708 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24709
24710 WXCONFIG_LIBS="-l${WX_LIBRARY}"
24711 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24712
24713 if test "$wxUSE_OPENGL" = "yes"; then
24714 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24715 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24716 fi
24717
24718
24719
24720 if test "$wxUSE_SHARED" = "yes"; then
24721 case "${host}" in
24722 *-pc-os2_emx | *-pc-os2-emx | \
24723 *-pc-msdosdjgpp )
24724 wxUSE_SHARED=no
24725 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24726 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24727 ;;
24728 esac
24729 fi
24730
24731 SHARED=0
24732 if test "$wxUSE_SHARED" = "yes"; then
24733 SHARED=1
24734
24735
24736 found_versioning=no
24737
24738
24739 if test $found_versioning = no ; then
24740 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24741 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24742 if test "${wx_cv_version_script+set}" = set; then
24743 echo $ECHO_N "(cached) $ECHO_C" >&6
24744 else
24745
24746 echo "VER_1 { *; };" >conftest.sym
24747 echo "int main() { return 0; }" >conftest.cpp
24748
24749 if { ac_try='
24750 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24751 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24753 (eval $ac_try) 2>&5
24754 ac_status=$?
24755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756 (exit $ac_status); }; } ; then
24757 if test -s conftest.stderr ; then
24758 wx_cv_version_script=no
24759 else
24760 wx_cv_version_script=yes
24761 fi
24762 else
24763 wx_cv_version_script=no
24764 fi
24765 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24766
24767 fi
24768 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24769 echo "${ECHO_T}$wx_cv_version_script" >&6
24770 if test $wx_cv_version_script = yes ; then
24771 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24772 fi
24773 fi
24774
24775
24776 case "${host}" in
24777 *-*-linux* | *-*-gnu* )
24778 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24779 ;;
24780
24781 *-*-solaris2* )
24782 if test "$GCC" = yes ; then
24783 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24784
24785 saveLdflags="$LDFLAGS"
24786 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24787 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24788 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24789 cat >conftest.$ac_ext <<_ACEOF
24790 #line $LINENO "configure"
24791 /* confdefs.h. */
24792 _ACEOF
24793 cat confdefs.h >>conftest.$ac_ext
24794 cat >>conftest.$ac_ext <<_ACEOF
24795 /* end confdefs.h. */
24796
24797 int
24798 main ()
24799 {
24800
24801 ;
24802 return 0;
24803 }
24804 _ACEOF
24805 rm -f conftest.$ac_objext conftest$ac_exeext
24806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24807 (eval $ac_link) 2>&5
24808 ac_status=$?
24809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24810 (exit $ac_status); } &&
24811 { ac_try='test -s conftest$ac_exeext'
24812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24813 (eval $ac_try) 2>&5
24814 ac_status=$?
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); }; }; then
24817
24818 echo "$as_me:$LINENO: result: yes" >&5
24819 echo "${ECHO_T}yes" >&6
24820 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24821
24822 else
24823 echo "$as_me: failed program was:" >&5
24824 sed 's/^/| /' conftest.$ac_ext >&5
24825
24826
24827 echo "$as_me:$LINENO: result: no" >&5
24828 echo "${ECHO_T}no" >&6
24829 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24830 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24831 LDFLAGS="$saveLdflags -Wl,-R,/"
24832 cat >conftest.$ac_ext <<_ACEOF
24833 #line $LINENO "configure"
24834 /* confdefs.h. */
24835 _ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839
24840 int
24841 main ()
24842 {
24843
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext conftest$ac_exeext
24849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24850 (eval $ac_link) 2>&5
24851 ac_status=$?
24852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); } &&
24854 { ac_try='test -s conftest$ac_exeext'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24857 ac_status=$?
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; }; then
24860
24861 echo "$as_me:$LINENO: result: yes" >&5
24862 echo "${ECHO_T}yes" >&6
24863 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24864 else
24865 echo "$as_me: failed program was:" >&5
24866 sed 's/^/| /' conftest.$ac_ext >&5
24867
24868
24869 echo "$as_me:$LINENO: result: no" >&5
24870 echo "${ECHO_T}no" >&6
24871
24872 fi
24873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24874
24875 fi
24876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24877 LDFLAGS="$saveLdflags"
24878 else
24879 SHARED_LD="${CXX} -G -o"
24880 PIC_FLAG="-KPIC"
24881 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24882 fi
24883 ;;
24884
24885 *-*-cygwin* | *-*-mingw32* )
24886 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24887 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24888
24889 if test "$wxUSE_OPENGL" = "yes"; then
24890 LIBS="${LIBS} ${OPENGL_LIBS}"
24891 fi
24892 ;;
24893 esac
24894
24895 if test "x$WX_TARGET_LIBRARY" = "x"; then
24896 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
24897 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
24898 fi
24899
24900 WX_TARGET_LIBRARY_TYPE="so"
24901 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
24902 fi
24903
24904 if test "$wxUSE_SHARED" = "no"; then
24905
24906 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
24907 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24908 fi
24909
24910 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
24911 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24912 fi
24913
24914 if test "$wxUSE_OPENGL" = "yes"; then
24915 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
24916 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
24917 else
24918 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
24919 fi
24920
24921 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
24922 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
24923
24924 WX_TARGET_LIBRARY_TYPE="a"
24925 INSTALL_LIBRARY='$(INSTALL_DATA)'
24926
24927 STATIC_FLAG="yes"
24928 else
24929 STATIC_FLAG="no"
24930 fi
24931
24932 MACRESCOMP="@#"
24933 MACSETFILE="@#"
24934 MACRESWXCONFIG="#"
24935 if test "$wxUSE_MAC" = 1; then
24936 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
24937 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
24938 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
24939 # Extract the first word of "Rez", so it can be a program name with args.
24940 set dummy Rez; ac_word=$2
24941 echo "$as_me:$LINENO: checking for $ac_word" >&5
24942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24943 if test "${ac_cv_prog_RESCOMP+set}" = set; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24945 else
24946 if test -n "$RESCOMP"; then
24947 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
24948 else
24949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24950 for as_dir in $PATH
24951 do
24952 IFS=$as_save_IFS
24953 test -z "$as_dir" && as_dir=.
24954 for ac_exec_ext in '' $ac_executable_extensions; do
24955 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24956 ac_cv_prog_RESCOMP="Rez"
24957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24958 break 2
24959 fi
24960 done
24961 done
24962
24963 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
24964 fi
24965 fi
24966 RESCOMP=$ac_cv_prog_RESCOMP
24967 if test -n "$RESCOMP"; then
24968 echo "$as_me:$LINENO: result: $RESCOMP" >&5
24969 echo "${ECHO_T}$RESCOMP" >&6
24970 else
24971 echo "$as_me:$LINENO: result: no" >&5
24972 echo "${ECHO_T}no" >&6
24973 fi
24974
24975 # Extract the first word of "DeRez", so it can be a program name with args.
24976 set dummy DeRez; ac_word=$2
24977 echo "$as_me:$LINENO: checking for $ac_word" >&5
24978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24979 if test "${ac_cv_prog_DEREZ+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24981 else
24982 if test -n "$DEREZ"; then
24983 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
24984 else
24985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24986 for as_dir in $PATH
24987 do
24988 IFS=$as_save_IFS
24989 test -z "$as_dir" && as_dir=.
24990 for ac_exec_ext in '' $ac_executable_extensions; do
24991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24992 ac_cv_prog_DEREZ="DeRez"
24993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24994 break 2
24995 fi
24996 done
24997 done
24998
24999 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25000 fi
25001 fi
25002 DEREZ=$ac_cv_prog_DEREZ
25003 if test -n "$DEREZ"; then
25004 echo "$as_me:$LINENO: result: $DEREZ" >&5
25005 echo "${ECHO_T}$DEREZ" >&6
25006 else
25007 echo "$as_me:$LINENO: result: no" >&5
25008 echo "${ECHO_T}no" >&6
25009 fi
25010
25011 # Extract the first word of "SetFile", so it can be a program name with args.
25012 set dummy SetFile; ac_word=$2
25013 echo "$as_me:$LINENO: checking for $ac_word" >&5
25014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25015 if test "${ac_cv_prog_SETFILE+set}" = set; then
25016 echo $ECHO_N "(cached) $ECHO_C" >&6
25017 else
25018 if test -n "$SETFILE"; then
25019 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25020 else
25021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25022 for as_dir in $PATH
25023 do
25024 IFS=$as_save_IFS
25025 test -z "$as_dir" && as_dir=.
25026 for ac_exec_ext in '' $ac_executable_extensions; do
25027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25028 ac_cv_prog_SETFILE="SetFile"
25029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25030 break 2
25031 fi
25032 done
25033 done
25034
25035 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25036 fi
25037 fi
25038 SETFILE=$ac_cv_prog_SETFILE
25039 if test -n "$SETFILE"; then
25040 echo "$as_me:$LINENO: result: $SETFILE" >&5
25041 echo "${ECHO_T}$SETFILE" >&6
25042 else
25043 echo "$as_me:$LINENO: result: no" >&5
25044 echo "${ECHO_T}no" >&6
25045 fi
25046
25047 MACOSX_BUNDLE="bundle"
25048 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25049 MACSETFILE="\$(SETFILE)"
25050 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25051 elif test "$wxUSE_COCOA" = 1; then
25052 # Extract the first word of "Rez", so it can be a program name with args.
25053 set dummy Rez; ac_word=$2
25054 echo "$as_me:$LINENO: checking for $ac_word" >&5
25055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25056 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25057 echo $ECHO_N "(cached) $ECHO_C" >&6
25058 else
25059 if test -n "$RESCOMP"; then
25060 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25061 else
25062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25063 for as_dir in $PATH
25064 do
25065 IFS=$as_save_IFS
25066 test -z "$as_dir" && as_dir=.
25067 for ac_exec_ext in '' $ac_executable_extensions; do
25068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25069 ac_cv_prog_RESCOMP="Rez"
25070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25071 break 2
25072 fi
25073 done
25074 done
25075
25076 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25077 fi
25078 fi
25079 RESCOMP=$ac_cv_prog_RESCOMP
25080 if test -n "$RESCOMP"; then
25081 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25082 echo "${ECHO_T}$RESCOMP" >&6
25083 else
25084 echo "$as_me:$LINENO: result: no" >&5
25085 echo "${ECHO_T}no" >&6
25086 fi
25087
25088 # Extract the first word of "DeRez", so it can be a program name with args.
25089 set dummy DeRez; ac_word=$2
25090 echo "$as_me:$LINENO: checking for $ac_word" >&5
25091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25092 if test "${ac_cv_prog_DEREZ+set}" = set; then
25093 echo $ECHO_N "(cached) $ECHO_C" >&6
25094 else
25095 if test -n "$DEREZ"; then
25096 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25097 else
25098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25099 for as_dir in $PATH
25100 do
25101 IFS=$as_save_IFS
25102 test -z "$as_dir" && as_dir=.
25103 for ac_exec_ext in '' $ac_executable_extensions; do
25104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25105 ac_cv_prog_DEREZ="DeRez"
25106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25107 break 2
25108 fi
25109 done
25110 done
25111
25112 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25113 fi
25114 fi
25115 DEREZ=$ac_cv_prog_DEREZ
25116 if test -n "$DEREZ"; then
25117 echo "$as_me:$LINENO: result: $DEREZ" >&5
25118 echo "${ECHO_T}$DEREZ" >&6
25119 else
25120 echo "$as_me:$LINENO: result: no" >&5
25121 echo "${ECHO_T}no" >&6
25122 fi
25123
25124 # Extract the first word of "SetFile", so it can be a program name with args.
25125 set dummy SetFile; ac_word=$2
25126 echo "$as_me:$LINENO: checking for $ac_word" >&5
25127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25128 if test "${ac_cv_prog_SETFILE+set}" = set; then
25129 echo $ECHO_N "(cached) $ECHO_C" >&6
25130 else
25131 if test -n "$SETFILE"; then
25132 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25133 else
25134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25135 for as_dir in $PATH
25136 do
25137 IFS=$as_save_IFS
25138 test -z "$as_dir" && as_dir=.
25139 for ac_exec_ext in '' $ac_executable_extensions; do
25140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25141 ac_cv_prog_SETFILE="SetFile"
25142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25143 break 2
25144 fi
25145 done
25146 done
25147
25148 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25149 fi
25150 fi
25151 SETFILE=$ac_cv_prog_SETFILE
25152 if test -n "$SETFILE"; then
25153 echo "$as_me:$LINENO: result: $SETFILE" >&5
25154 echo "${ECHO_T}$SETFILE" >&6
25155 else
25156 echo "$as_me:$LINENO: result: no" >&5
25157 echo "${ECHO_T}no" >&6
25158 fi
25159
25160 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25161 MACSETFILE="\$(SETFILE)"
25162 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25163 else
25164 if test "$wxUSE_PM" = 1; then
25165 MACRESCOMP="emxbind -ep"
25166 fi
25167 fi
25168
25169
25170 echo "$as_me:$LINENO: checking for mode_t" >&5
25171 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25172 if test "${ac_cv_type_mode_t+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25174 else
25175 cat >conftest.$ac_ext <<_ACEOF
25176 #line $LINENO "configure"
25177 /* confdefs.h. */
25178 _ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25182 $ac_includes_default
25183 int
25184 main ()
25185 {
25186 if ((mode_t *) 0)
25187 return 0;
25188 if (sizeof (mode_t))
25189 return 0;
25190 ;
25191 return 0;
25192 }
25193 _ACEOF
25194 rm -f conftest.$ac_objext
25195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25196 (eval $ac_compile) 2>&5
25197 ac_status=$?
25198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25199 (exit $ac_status); } &&
25200 { ac_try='test -s conftest.$ac_objext'
25201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25202 (eval $ac_try) 2>&5
25203 ac_status=$?
25204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25205 (exit $ac_status); }; }; then
25206 ac_cv_type_mode_t=yes
25207 else
25208 echo "$as_me: failed program was:" >&5
25209 sed 's/^/| /' conftest.$ac_ext >&5
25210
25211 ac_cv_type_mode_t=no
25212 fi
25213 rm -f conftest.$ac_objext conftest.$ac_ext
25214 fi
25215 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25216 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25217 if test $ac_cv_type_mode_t = yes; then
25218 :
25219 else
25220
25221 cat >>confdefs.h <<_ACEOF
25222 #define mode_t int
25223 _ACEOF
25224
25225 fi
25226
25227 echo "$as_me:$LINENO: checking for off_t" >&5
25228 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25229 if test "${ac_cv_type_off_t+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 else
25232 cat >conftest.$ac_ext <<_ACEOF
25233 #line $LINENO "configure"
25234 /* confdefs.h. */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 $ac_includes_default
25240 int
25241 main ()
25242 {
25243 if ((off_t *) 0)
25244 return 0;
25245 if (sizeof (off_t))
25246 return 0;
25247 ;
25248 return 0;
25249 }
25250 _ACEOF
25251 rm -f conftest.$ac_objext
25252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25253 (eval $ac_compile) 2>&5
25254 ac_status=$?
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); } &&
25257 { ac_try='test -s conftest.$ac_objext'
25258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25259 (eval $ac_try) 2>&5
25260 ac_status=$?
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); }; }; then
25263 ac_cv_type_off_t=yes
25264 else
25265 echo "$as_me: failed program was:" >&5
25266 sed 's/^/| /' conftest.$ac_ext >&5
25267
25268 ac_cv_type_off_t=no
25269 fi
25270 rm -f conftest.$ac_objext conftest.$ac_ext
25271 fi
25272 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25273 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25274 if test $ac_cv_type_off_t = yes; then
25275 :
25276 else
25277
25278 cat >>confdefs.h <<_ACEOF
25279 #define off_t long
25280 _ACEOF
25281
25282 fi
25283
25284 echo "$as_me:$LINENO: checking for pid_t" >&5
25285 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25286 if test "${ac_cv_type_pid_t+set}" = set; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25288 else
25289 cat >conftest.$ac_ext <<_ACEOF
25290 #line $LINENO "configure"
25291 /* confdefs.h. */
25292 _ACEOF
25293 cat confdefs.h >>conftest.$ac_ext
25294 cat >>conftest.$ac_ext <<_ACEOF
25295 /* end confdefs.h. */
25296 $ac_includes_default
25297 int
25298 main ()
25299 {
25300 if ((pid_t *) 0)
25301 return 0;
25302 if (sizeof (pid_t))
25303 return 0;
25304 ;
25305 return 0;
25306 }
25307 _ACEOF
25308 rm -f conftest.$ac_objext
25309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25310 (eval $ac_compile) 2>&5
25311 ac_status=$?
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } &&
25314 { ac_try='test -s conftest.$ac_objext'
25315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25316 (eval $ac_try) 2>&5
25317 ac_status=$?
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); }; }; then
25320 ac_cv_type_pid_t=yes
25321 else
25322 echo "$as_me: failed program was:" >&5
25323 sed 's/^/| /' conftest.$ac_ext >&5
25324
25325 ac_cv_type_pid_t=no
25326 fi
25327 rm -f conftest.$ac_objext conftest.$ac_ext
25328 fi
25329 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25330 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25331 if test $ac_cv_type_pid_t = yes; then
25332 :
25333 else
25334
25335 cat >>confdefs.h <<_ACEOF
25336 #define pid_t int
25337 _ACEOF
25338
25339 fi
25340
25341 echo "$as_me:$LINENO: checking for size_t" >&5
25342 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25343 if test "${ac_cv_type_size_t+set}" = set; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25345 else
25346 cat >conftest.$ac_ext <<_ACEOF
25347 #line $LINENO "configure"
25348 /* confdefs.h. */
25349 _ACEOF
25350 cat confdefs.h >>conftest.$ac_ext
25351 cat >>conftest.$ac_ext <<_ACEOF
25352 /* end confdefs.h. */
25353 $ac_includes_default
25354 int
25355 main ()
25356 {
25357 if ((size_t *) 0)
25358 return 0;
25359 if (sizeof (size_t))
25360 return 0;
25361 ;
25362 return 0;
25363 }
25364 _ACEOF
25365 rm -f conftest.$ac_objext
25366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25367 (eval $ac_compile) 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); } &&
25371 { ac_try='test -s conftest.$ac_objext'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25374 ac_status=$?
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; }; then
25377 ac_cv_type_size_t=yes
25378 else
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25381
25382 ac_cv_type_size_t=no
25383 fi
25384 rm -f conftest.$ac_objext conftest.$ac_ext
25385 fi
25386 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25387 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25388 if test $ac_cv_type_size_t = yes; then
25389 :
25390 else
25391
25392 cat >>confdefs.h <<_ACEOF
25393 #define size_t unsigned
25394 _ACEOF
25395
25396 fi
25397
25398 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25399 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25400 if test "${ac_cv_type_uid_t+set}" = set; then
25401 echo $ECHO_N "(cached) $ECHO_C" >&6
25402 else
25403 cat >conftest.$ac_ext <<_ACEOF
25404 #line $LINENO "configure"
25405 /* confdefs.h. */
25406 _ACEOF
25407 cat confdefs.h >>conftest.$ac_ext
25408 cat >>conftest.$ac_ext <<_ACEOF
25409 /* end confdefs.h. */
25410 #include <sys/types.h>
25411
25412 _ACEOF
25413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25414 $EGREP "uid_t" >/dev/null 2>&1; then
25415 ac_cv_type_uid_t=yes
25416 else
25417 ac_cv_type_uid_t=no
25418 fi
25419 rm -f conftest*
25420
25421 fi
25422 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25423 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25424 if test $ac_cv_type_uid_t = no; then
25425
25426 cat >>confdefs.h <<\_ACEOF
25427 #define uid_t int
25428 _ACEOF
25429
25430
25431 cat >>confdefs.h <<\_ACEOF
25432 #define gid_t int
25433 _ACEOF
25434
25435 fi
25436
25437
25438
25439
25440 ac_ext=cc
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25445
25446 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25447 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25448 if test "${wx_cv_size_t_is_uint+set}" = set; then
25449 echo $ECHO_N "(cached) $ECHO_C" >&6
25450 else
25451
25452 cat >conftest.$ac_ext <<_ACEOF
25453 #line $LINENO "configure"
25454 /* confdefs.h. */
25455 _ACEOF
25456 cat confdefs.h >>conftest.$ac_ext
25457 cat >>conftest.$ac_ext <<_ACEOF
25458 /* end confdefs.h. */
25459 #include <stddef.h>
25460 int
25461 main ()
25462 {
25463
25464 return 0; }
25465
25466 struct Foo { void foo(size_t); void foo(unsigned int); };
25467
25468 int bar() {
25469
25470 ;
25471 return 0;
25472 }
25473 _ACEOF
25474 rm -f conftest.$ac_objext
25475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25476 (eval $ac_compile) 2>&5
25477 ac_status=$?
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -s conftest.$ac_objext'
25481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25482 (eval $ac_try) 2>&5
25483 ac_status=$?
25484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25485 (exit $ac_status); }; }; then
25486 wx_cv_size_t_is_uint=no
25487 else
25488 echo "$as_me: failed program was:" >&5
25489 sed 's/^/| /' conftest.$ac_ext >&5
25490
25491 wx_cv_size_t_is_uint=yes
25492
25493 fi
25494 rm -f conftest.$ac_objext conftest.$ac_ext
25495
25496
25497 fi
25498 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25499 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25500
25501 if test "$wx_cv_size_t_is_uint" = "yes"; then
25502 cat >>confdefs.h <<\_ACEOF
25503 #define wxSIZE_T_IS_UINT 1
25504 _ACEOF
25505
25506 else
25507 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25508 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25509 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 else
25512 cat >conftest.$ac_ext <<_ACEOF
25513 #line $LINENO "configure"
25514 /* confdefs.h. */
25515 _ACEOF
25516 cat confdefs.h >>conftest.$ac_ext
25517 cat >>conftest.$ac_ext <<_ACEOF
25518 /* end confdefs.h. */
25519 #include <stddef.h>
25520 int
25521 main ()
25522 {
25523
25524 return 0; }
25525
25526 struct Foo { void foo(size_t); void foo(unsigned long); };
25527
25528 int bar() {
25529
25530 ;
25531 return 0;
25532 }
25533 _ACEOF
25534 rm -f conftest.$ac_objext
25535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25536 (eval $ac_compile) 2>&5
25537 ac_status=$?
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); } &&
25540 { ac_try='test -s conftest.$ac_objext'
25541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25542 (eval $ac_try) 2>&5
25543 ac_status=$?
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); }; }; then
25546 wx_cv_size_t_is_ulong=no
25547 else
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.$ac_ext >&5
25550
25551 wx_cv_size_t_is_ulong=yes
25552
25553 fi
25554 rm -f conftest.$ac_objext conftest.$ac_ext
25555
25556 fi
25557 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25558 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25559
25560 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25561 cat >>confdefs.h <<\_ACEOF
25562 #define wxSIZE_T_IS_ULONG 1
25563 _ACEOF
25564
25565 fi
25566 fi
25567
25568 ac_ext=c
25569 ac_cpp='$CPP $CPPFLAGS'
25570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25573
25574
25575
25576 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25577 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25578 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 else
25581
25582 cat >conftest.$ac_ext <<_ACEOF
25583 #line $LINENO "configure"
25584 /* confdefs.h. */
25585 _ACEOF
25586 cat confdefs.h >>conftest.$ac_ext
25587 cat >>conftest.$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589 #include <pwd.h>
25590 int
25591 main ()
25592 {
25593
25594 char *p;
25595 struct passwd *pw;
25596 p = pw->pw_gecos;
25597
25598 ;
25599 return 0;
25600 }
25601 _ACEOF
25602 rm -f conftest.$ac_objext
25603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25604 (eval $ac_compile) 2>&5
25605 ac_status=$?
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); } &&
25608 { ac_try='test -s conftest.$ac_objext'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25611 ac_status=$?
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; }; then
25614
25615 wx_cv_struct_pw_gecos=yes
25616
25617 else
25618 echo "$as_me: failed program was:" >&5
25619 sed 's/^/| /' conftest.$ac_ext >&5
25620
25621
25622 wx_cv_struct_pw_gecos=no
25623
25624
25625 fi
25626 rm -f conftest.$ac_objext conftest.$ac_ext
25627
25628
25629 fi
25630 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25631 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25632
25633 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25634 cat >>confdefs.h <<\_ACEOF
25635 #define HAVE_PW_GECOS 1
25636 _ACEOF
25637
25638 fi
25639
25640
25641 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25642 cat >>confdefs.h <<\_ACEOF
25643 #define wxUSE_WCHAR_T 1
25644 _ACEOF
25645
25646
25647 WCSLEN_FOUND=0
25648 WCHAR_LINK=
25649
25650 for ac_func in wcslen
25651 do
25652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25653 echo "$as_me:$LINENO: checking for $ac_func" >&5
25654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25655 if eval "test \"\${$as_ac_var+set}\" = set"; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 else
25658 cat >conftest.$ac_ext <<_ACEOF
25659 #line $LINENO "configure"
25660 /* confdefs.h. */
25661 _ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665 /* System header to define __stub macros and hopefully few prototypes,
25666 which can conflict with char $ac_func (); below.
25667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25668 <limits.h> exists even on freestanding compilers. */
25669 #ifdef __STDC__
25670 # include <limits.h>
25671 #else
25672 # include <assert.h>
25673 #endif
25674 /* Override any gcc2 internal prototype to avoid an error. */
25675 #ifdef __cplusplus
25676 extern "C"
25677 {
25678 #endif
25679 /* We use char because int might match the return type of a gcc2
25680 builtin and then its argument prototype would still apply. */
25681 char $ac_func ();
25682 /* The GNU C library defines this for functions which it implements
25683 to always fail with ENOSYS. Some functions are actually named
25684 something starting with __ and the normal name is an alias. */
25685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25686 choke me
25687 #else
25688 char (*f) () = $ac_func;
25689 #endif
25690 #ifdef __cplusplus
25691 }
25692 #endif
25693
25694 int
25695 main ()
25696 {
25697 return f != $ac_func;
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 rm -f conftest.$ac_objext conftest$ac_exeext
25703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25704 (eval $ac_link) 2>&5
25705 ac_status=$?
25706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25707 (exit $ac_status); } &&
25708 { ac_try='test -s conftest$ac_exeext'
25709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25710 (eval $ac_try) 2>&5
25711 ac_status=$?
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); }; }; then
25714 eval "$as_ac_var=yes"
25715 else
25716 echo "$as_me: failed program was:" >&5
25717 sed 's/^/| /' conftest.$ac_ext >&5
25718
25719 eval "$as_ac_var=no"
25720 fi
25721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25722 fi
25723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25725 if test `eval echo '${'$as_ac_var'}'` = yes; then
25726 cat >>confdefs.h <<_ACEOF
25727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25728 _ACEOF
25729 WCSLEN_FOUND=1
25730 fi
25731 done
25732
25733
25734 if test "$WCSLEN_FOUND" = 0; then
25735 if test "$TOOLKIT" = "MSW"; then
25736 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25737 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25738 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25739 echo $ECHO_N "(cached) $ECHO_C" >&6
25740 else
25741 ac_check_lib_save_LIBS=$LIBS
25742 LIBS="-lmsvcrt $LIBS"
25743 cat >conftest.$ac_ext <<_ACEOF
25744 #line $LINENO "configure"
25745 /* confdefs.h. */
25746 _ACEOF
25747 cat confdefs.h >>conftest.$ac_ext
25748 cat >>conftest.$ac_ext <<_ACEOF
25749 /* end confdefs.h. */
25750
25751 /* Override any gcc2 internal prototype to avoid an error. */
25752 #ifdef __cplusplus
25753 extern "C"
25754 #endif
25755 /* We use char because int might match the return type of a gcc2
25756 builtin and then its argument prototype would still apply. */
25757 char wcslen ();
25758 int
25759 main ()
25760 {
25761 wcslen ();
25762 ;
25763 return 0;
25764 }
25765 _ACEOF
25766 rm -f conftest.$ac_objext conftest$ac_exeext
25767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25768 (eval $ac_link) 2>&5
25769 ac_status=$?
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try='test -s conftest$ac_exeext'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25775 ac_status=$?
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; }; then
25778 ac_cv_lib_msvcrt_wcslen=yes
25779 else
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25782
25783 ac_cv_lib_msvcrt_wcslen=no
25784 fi
25785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25786 LIBS=$ac_check_lib_save_LIBS
25787 fi
25788 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25789 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25790 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25791 WCHAR_OK=1
25792 fi
25793
25794 else
25795 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25796 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25797 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 else
25800 ac_check_lib_save_LIBS=$LIBS
25801 LIBS="-lw $LIBS"
25802 cat >conftest.$ac_ext <<_ACEOF
25803 #line $LINENO "configure"
25804 /* confdefs.h. */
25805 _ACEOF
25806 cat confdefs.h >>conftest.$ac_ext
25807 cat >>conftest.$ac_ext <<_ACEOF
25808 /* end confdefs.h. */
25809
25810 /* Override any gcc2 internal prototype to avoid an error. */
25811 #ifdef __cplusplus
25812 extern "C"
25813 #endif
25814 /* We use char because int might match the return type of a gcc2
25815 builtin and then its argument prototype would still apply. */
25816 char wcslen ();
25817 int
25818 main ()
25819 {
25820 wcslen ();
25821 ;
25822 return 0;
25823 }
25824 _ACEOF
25825 rm -f conftest.$ac_objext conftest$ac_exeext
25826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25827 (eval $ac_link) 2>&5
25828 ac_status=$?
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); } &&
25831 { ac_try='test -s conftest$ac_exeext'
25832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833 (eval $ac_try) 2>&5
25834 ac_status=$?
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; }; then
25837 ac_cv_lib_w_wcslen=yes
25838 else
25839 echo "$as_me: failed program was:" >&5
25840 sed 's/^/| /' conftest.$ac_ext >&5
25841
25842 ac_cv_lib_w_wcslen=no
25843 fi
25844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25845 LIBS=$ac_check_lib_save_LIBS
25846 fi
25847 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25848 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25849 if test $ac_cv_lib_w_wcslen = yes; then
25850
25851 WCHAR_LINK=" -lw"
25852 WCSLEN_FOUND=1
25853
25854 fi
25855
25856 fi
25857 fi
25858
25859 if test "$WCSLEN_FOUND" = 1; then
25860 cat >>confdefs.h <<\_ACEOF
25861 #define HAVE_WCSLEN 1
25862 _ACEOF
25863
25864 fi
25865
25866
25867 for ac_func in wcsrtombs
25868 do
25869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25870 echo "$as_me:$LINENO: checking for $ac_func" >&5
25871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25872 if eval "test \"\${$as_ac_var+set}\" = set"; then
25873 echo $ECHO_N "(cached) $ECHO_C" >&6
25874 else
25875 cat >conftest.$ac_ext <<_ACEOF
25876 #line $LINENO "configure"
25877 /* confdefs.h. */
25878 _ACEOF
25879 cat confdefs.h >>conftest.$ac_ext
25880 cat >>conftest.$ac_ext <<_ACEOF
25881 /* end confdefs.h. */
25882 /* System header to define __stub macros and hopefully few prototypes,
25883 which can conflict with char $ac_func (); below.
25884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25885 <limits.h> exists even on freestanding compilers. */
25886 #ifdef __STDC__
25887 # include <limits.h>
25888 #else
25889 # include <assert.h>
25890 #endif
25891 /* Override any gcc2 internal prototype to avoid an error. */
25892 #ifdef __cplusplus
25893 extern "C"
25894 {
25895 #endif
25896 /* We use char because int might match the return type of a gcc2
25897 builtin and then its argument prototype would still apply. */
25898 char $ac_func ();
25899 /* The GNU C library defines this for functions which it implements
25900 to always fail with ENOSYS. Some functions are actually named
25901 something starting with __ and the normal name is an alias. */
25902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25903 choke me
25904 #else
25905 char (*f) () = $ac_func;
25906 #endif
25907 #ifdef __cplusplus
25908 }
25909 #endif
25910
25911 int
25912 main ()
25913 {
25914 return f != $ac_func;
25915 ;
25916 return 0;
25917 }
25918 _ACEOF
25919 rm -f conftest.$ac_objext conftest$ac_exeext
25920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25921 (eval $ac_link) 2>&5
25922 ac_status=$?
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } &&
25925 { ac_try='test -s conftest$ac_exeext'
25926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25927 (eval $ac_try) 2>&5
25928 ac_status=$?
25929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25930 (exit $ac_status); }; }; then
25931 eval "$as_ac_var=yes"
25932 else
25933 echo "$as_me: failed program was:" >&5
25934 sed 's/^/| /' conftest.$ac_ext >&5
25935
25936 eval "$as_ac_var=no"
25937 fi
25938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25939 fi
25940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25942 if test `eval echo '${'$as_ac_var'}'` = yes; then
25943 cat >>confdefs.h <<_ACEOF
25944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25945 _ACEOF
25946
25947 fi
25948 done
25949
25950 else
25951 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
25952 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
25953 fi
25954
25955
25956
25957 ac_ext=cc
25958 ac_cpp='$CXXCPP $CPPFLAGS'
25959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25962
25963
25964
25965 for ac_func in vsnprintf
25966 do
25967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25968 echo "$as_me:$LINENO: checking for $ac_func" >&5
25969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25970 if eval "test \"\${$as_ac_var+set}\" = set"; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 else
25973 cat >conftest.$ac_ext <<_ACEOF
25974 #line $LINENO "configure"
25975 /* confdefs.h. */
25976 _ACEOF
25977 cat confdefs.h >>conftest.$ac_ext
25978 cat >>conftest.$ac_ext <<_ACEOF
25979 /* end confdefs.h. */
25980 /* System header to define __stub macros and hopefully few prototypes,
25981 which can conflict with char $ac_func (); below.
25982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25983 <limits.h> exists even on freestanding compilers. */
25984 #ifdef __STDC__
25985 # include <limits.h>
25986 #else
25987 # include <assert.h>
25988 #endif
25989 /* Override any gcc2 internal prototype to avoid an error. */
25990 #ifdef __cplusplus
25991 extern "C"
25992 {
25993 #endif
25994 /* We use char because int might match the return type of a gcc2
25995 builtin and then its argument prototype would still apply. */
25996 char $ac_func ();
25997 /* The GNU C library defines this for functions which it implements
25998 to always fail with ENOSYS. Some functions are actually named
25999 something starting with __ and the normal name is an alias. */
26000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26001 choke me
26002 #else
26003 char (*f) () = $ac_func;
26004 #endif
26005 #ifdef __cplusplus
26006 }
26007 #endif
26008
26009 int
26010 main ()
26011 {
26012 return f != $ac_func;
26013 ;
26014 return 0;
26015 }
26016 _ACEOF
26017 rm -f conftest.$ac_objext conftest$ac_exeext
26018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26019 (eval $ac_link) 2>&5
26020 ac_status=$?
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } &&
26023 { ac_try='test -s conftest$ac_exeext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26026 ac_status=$?
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 eval "$as_ac_var=yes"
26030 else
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26033
26034 eval "$as_ac_var=no"
26035 fi
26036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26037 fi
26038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26040 if test `eval echo '${'$as_ac_var'}'` = yes; then
26041 cat >>confdefs.h <<_ACEOF
26042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26043 _ACEOF
26044
26045 fi
26046 done
26047
26048
26049 if test "$ac_cv_func_vsnprintf" = "yes"; then
26050 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26051 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26052 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26053 echo $ECHO_N "(cached) $ECHO_C" >&6
26054 else
26055
26056 cat >conftest.$ac_ext <<_ACEOF
26057 #line $LINENO "configure"
26058 /* confdefs.h. */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26063
26064 #include <stdio.h>
26065 #include <stdarg.h>
26066
26067 int
26068 main ()
26069 {
26070
26071 char *buf;
26072 va_list ap;
26073 vsnprintf(buf, 10u, "%s", ap);
26074
26075 ;
26076 return 0;
26077 }
26078 _ACEOF
26079 rm -f conftest.$ac_objext
26080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26081 (eval $ac_compile) 2>&5
26082 ac_status=$?
26083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26084 (exit $ac_status); } &&
26085 { ac_try='test -s conftest.$ac_objext'
26086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26087 (eval $ac_try) 2>&5
26088 ac_status=$?
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); }; }; then
26091 wx_cv_func_vsnprintf_decl=yes
26092 else
26093 echo "$as_me: failed program was:" >&5
26094 sed 's/^/| /' conftest.$ac_ext >&5
26095
26096 wx_cv_func_vsnprintf_decl=no
26097
26098 fi
26099 rm -f conftest.$ac_objext conftest.$ac_ext
26100
26101
26102 fi
26103 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26104 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26105
26106 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26107 cat >>confdefs.h <<\_ACEOF
26108 #define HAVE_VSNPRINTF_DECL 1
26109 _ACEOF
26110
26111 fi
26112 fi
26113
26114 if test "$wxUSE_UNICODE" = yes; then
26115
26116
26117
26118 for ac_func in fputwc wprintf vswprintf
26119 do
26120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26121 echo "$as_me:$LINENO: checking for $ac_func" >&5
26122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26123 if eval "test \"\${$as_ac_var+set}\" = set"; then
26124 echo $ECHO_N "(cached) $ECHO_C" >&6
26125 else
26126 cat >conftest.$ac_ext <<_ACEOF
26127 #line $LINENO "configure"
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 /* System header to define __stub macros and hopefully few prototypes,
26134 which can conflict with char $ac_func (); below.
26135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26136 <limits.h> exists even on freestanding compilers. */
26137 #ifdef __STDC__
26138 # include <limits.h>
26139 #else
26140 # include <assert.h>
26141 #endif
26142 /* Override any gcc2 internal prototype to avoid an error. */
26143 #ifdef __cplusplus
26144 extern "C"
26145 {
26146 #endif
26147 /* We use char because int might match the return type of a gcc2
26148 builtin and then its argument prototype would still apply. */
26149 char $ac_func ();
26150 /* The GNU C library defines this for functions which it implements
26151 to always fail with ENOSYS. Some functions are actually named
26152 something starting with __ and the normal name is an alias. */
26153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26154 choke me
26155 #else
26156 char (*f) () = $ac_func;
26157 #endif
26158 #ifdef __cplusplus
26159 }
26160 #endif
26161
26162 int
26163 main ()
26164 {
26165 return f != $ac_func;
26166 ;
26167 return 0;
26168 }
26169 _ACEOF
26170 rm -f conftest.$ac_objext conftest$ac_exeext
26171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26172 (eval $ac_link) 2>&5
26173 ac_status=$?
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } &&
26176 { ac_try='test -s conftest$ac_exeext'
26177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26178 (eval $ac_try) 2>&5
26179 ac_status=$?
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); }; }; then
26182 eval "$as_ac_var=yes"
26183 else
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26186
26187 eval "$as_ac_var=no"
26188 fi
26189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26190 fi
26191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26193 if test `eval echo '${'$as_ac_var'}'` = yes; then
26194 cat >>confdefs.h <<_ACEOF
26195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26196 _ACEOF
26197
26198 fi
26199 done
26200
26201
26202 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26203 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26204 cat >conftest.$ac_ext <<_ACEOF
26205 #line $LINENO "configure"
26206 /* confdefs.h. */
26207 _ACEOF
26208 cat confdefs.h >>conftest.$ac_ext
26209 cat >>conftest.$ac_ext <<_ACEOF
26210 /* end confdefs.h. */
26211 #include <wchar.h>
26212 int
26213 main ()
26214 {
26215 &_vsnwprintf;
26216 ;
26217 return 0;
26218 }
26219 _ACEOF
26220 rm -f conftest.$ac_objext
26221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26222 (eval $ac_compile) 2>&5
26223 ac_status=$?
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); } &&
26226 { ac_try='test -s conftest.$ac_objext'
26227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 (eval $ac_try) 2>&5
26229 ac_status=$?
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); }; }; then
26232 echo "$as_me:$LINENO: result: yes" >&5
26233 echo "${ECHO_T}yes" >&6
26234 cat >>confdefs.h <<\_ACEOF
26235 #define HAVE__VSNWPRINTF 1
26236 _ACEOF
26237
26238 else
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26241
26242 echo "$as_me:$LINENO: result: no" >&5
26243 echo "${ECHO_T}no" >&6
26244 fi
26245 rm -f conftest.$ac_objext conftest.$ac_ext;
26246 fi
26247
26248 ac_ext=c
26249 ac_cpp='$CPP $CPPFLAGS'
26250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26253
26254
26255
26256
26257 if test "$TOOLKIT" != "MSW"; then
26258
26259
26260
26261
26262 ac_ext=cc
26263 ac_cpp='$CXXCPP $CPPFLAGS'
26264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26267
26268
26269
26270
26271 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26272 if test "${with_libiconv_prefix+set}" = set; then
26273 withval="$with_libiconv_prefix"
26274
26275 for dir in `echo "$withval" | tr : ' '`; do
26276 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26277 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26278 done
26279
26280 fi;
26281
26282 echo "$as_me:$LINENO: checking for iconv" >&5
26283 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26284 if test "${am_cv_func_iconv+set}" = set; then
26285 echo $ECHO_N "(cached) $ECHO_C" >&6
26286 else
26287
26288 am_cv_func_iconv="no, consider installing GNU libiconv"
26289 am_cv_lib_iconv=no
26290 cat >conftest.$ac_ext <<_ACEOF
26291 #line $LINENO "configure"
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297 #include <stdlib.h>
26298 #include <iconv.h>
26299 int
26300 main ()
26301 {
26302 iconv_t cd = iconv_open("","");
26303 iconv(cd,NULL,NULL,NULL,NULL);
26304 iconv_close(cd);
26305 ;
26306 return 0;
26307 }
26308 _ACEOF
26309 rm -f conftest.$ac_objext conftest$ac_exeext
26310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26311 (eval $ac_link) 2>&5
26312 ac_status=$?
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } &&
26315 { ac_try='test -s conftest$ac_exeext'
26316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26317 (eval $ac_try) 2>&5
26318 ac_status=$?
26319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320 (exit $ac_status); }; }; then
26321 am_cv_func_iconv=yes
26322 else
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26325
26326 fi
26327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26328 if test "$am_cv_func_iconv" != yes; then
26329 am_save_LIBS="$LIBS"
26330 LIBS="$LIBS -liconv"
26331 cat >conftest.$ac_ext <<_ACEOF
26332 #line $LINENO "configure"
26333 /* confdefs.h. */
26334 _ACEOF
26335 cat confdefs.h >>conftest.$ac_ext
26336 cat >>conftest.$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26338 #include <stdlib.h>
26339 #include <iconv.h>
26340 int
26341 main ()
26342 {
26343 iconv_t cd = iconv_open("","");
26344 iconv(cd,NULL,NULL,NULL,NULL);
26345 iconv_close(cd);
26346 ;
26347 return 0;
26348 }
26349 _ACEOF
26350 rm -f conftest.$ac_objext conftest$ac_exeext
26351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26352 (eval $ac_link) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } &&
26356 { ac_try='test -s conftest$ac_exeext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 am_cv_lib_iconv=yes
26363 am_cv_func_iconv=yes
26364 else
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.$ac_ext >&5
26367
26368 fi
26369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26370 LIBS="$am_save_LIBS"
26371 fi
26372
26373 fi
26374 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26375 echo "${ECHO_T}$am_cv_func_iconv" >&6
26376 if test "$am_cv_func_iconv" = yes; then
26377
26378 cat >>confdefs.h <<\_ACEOF
26379 #define HAVE_ICONV 1
26380 _ACEOF
26381
26382 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26383 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26384 if test "${wx_cv_func_iconv_const+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 else
26387 cat >conftest.$ac_ext <<_ACEOF
26388 #line $LINENO "configure"
26389 /* confdefs.h. */
26390 _ACEOF
26391 cat confdefs.h >>conftest.$ac_ext
26392 cat >>conftest.$ac_ext <<_ACEOF
26393 /* end confdefs.h. */
26394
26395 #include <stdlib.h>
26396 #include <iconv.h>
26397 extern
26398 #ifdef __cplusplus
26399 "C"
26400 #endif
26401 #if defined(__STDC__) || defined(__cplusplus)
26402 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26403 #else
26404 size_t iconv();
26405 #endif
26406
26407 int
26408 main ()
26409 {
26410
26411 ;
26412 return 0;
26413 }
26414 _ACEOF
26415 rm -f conftest.$ac_objext
26416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26417 (eval $ac_compile) 2>&5
26418 ac_status=$?
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } &&
26421 { ac_try='test -s conftest.$ac_objext'
26422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26423 (eval $ac_try) 2>&5
26424 ac_status=$?
26425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26426 (exit $ac_status); }; }; then
26427 wx_cv_func_iconv_const="no"
26428 else
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26431
26432 wx_cv_func_iconv_const="yes"
26433
26434 fi
26435 rm -f conftest.$ac_objext conftest.$ac_ext
26436
26437 fi
26438 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26439 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26440
26441 iconv_const=
26442 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26443 iconv_const="const"
26444 fi
26445
26446
26447 cat >>confdefs.h <<_ACEOF
26448 #define ICONV_CONST $iconv_const
26449 _ACEOF
26450
26451 fi
26452 LIBICONV=
26453 if test "$am_cv_lib_iconv" = yes; then
26454 LIBICONV="-liconv"
26455 fi
26456
26457
26458 LIBS="$LIBICONV $LIBS"
26459 ac_ext=c
26460 ac_cpp='$CPP $CPPFLAGS'
26461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26464
26465
26466 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26467
26468 for ac_func in sigaction
26469 do
26470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26471 echo "$as_me:$LINENO: checking for $ac_func" >&5
26472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26473 if eval "test \"\${$as_ac_var+set}\" = set"; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 else
26476 cat >conftest.$ac_ext <<_ACEOF
26477 #line $LINENO "configure"
26478 /* confdefs.h. */
26479 _ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 /* System header to define __stub macros and hopefully few prototypes,
26484 which can conflict with char $ac_func (); below.
26485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26486 <limits.h> exists even on freestanding compilers. */
26487 #ifdef __STDC__
26488 # include <limits.h>
26489 #else
26490 # include <assert.h>
26491 #endif
26492 /* Override any gcc2 internal prototype to avoid an error. */
26493 #ifdef __cplusplus
26494 extern "C"
26495 {
26496 #endif
26497 /* We use char because int might match the return type of a gcc2
26498 builtin and then its argument prototype would still apply. */
26499 char $ac_func ();
26500 /* The GNU C library defines this for functions which it implements
26501 to always fail with ENOSYS. Some functions are actually named
26502 something starting with __ and the normal name is an alias. */
26503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26504 choke me
26505 #else
26506 char (*f) () = $ac_func;
26507 #endif
26508 #ifdef __cplusplus
26509 }
26510 #endif
26511
26512 int
26513 main ()
26514 {
26515 return f != $ac_func;
26516 ;
26517 return 0;
26518 }
26519 _ACEOF
26520 rm -f conftest.$ac_objext conftest$ac_exeext
26521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26529 ac_status=$?
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 eval "$as_ac_var=yes"
26533 else
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.$ac_ext >&5
26536
26537 eval "$as_ac_var=no"
26538 fi
26539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26540 fi
26541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26543 if test `eval echo '${'$as_ac_var'}'` = yes; then
26544 cat >>confdefs.h <<_ACEOF
26545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26546 _ACEOF
26547
26548 fi
26549 done
26550
26551
26552 if test "$ac_cv_func_sigaction" = "no"; then
26553 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26554 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26555 wxUSE_ON_FATAL_EXCEPTION=no
26556 fi
26557
26558 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26559
26560
26561 ac_ext=cc
26562 ac_cpp='$CXXCPP $CPPFLAGS'
26563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26566
26567
26568 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26569 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26570 if test "${wx_cv_type_sa_handler+set}" = set; then
26571 echo $ECHO_N "(cached) $ECHO_C" >&6
26572 else
26573
26574 cat >conftest.$ac_ext <<_ACEOF
26575 #line $LINENO "configure"
26576 /* confdefs.h. */
26577 _ACEOF
26578 cat confdefs.h >>conftest.$ac_ext
26579 cat >>conftest.$ac_ext <<_ACEOF
26580 /* end confdefs.h. */
26581 #include <signal.h>
26582 int
26583 main ()
26584 {
26585
26586 extern void testSigHandler(int);
26587
26588 struct sigaction sa;
26589 sa.sa_handler = testSigHandler;
26590
26591 ;
26592 return 0;
26593 }
26594 _ACEOF
26595 rm -f conftest.$ac_objext
26596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26597 (eval $ac_compile) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); } &&
26601 { ac_try='test -s conftest.$ac_objext'
26602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26603 (eval $ac_try) 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); }; }; then
26607
26608 wx_cv_type_sa_handler=int
26609
26610 else
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.$ac_ext >&5
26613
26614
26615 wx_cv_type_sa_handler=void
26616
26617 fi
26618 rm -f conftest.$ac_objext conftest.$ac_ext
26619
26620 fi
26621 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26622 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26623
26624 ac_ext=c
26625 ac_cpp='$CPP $CPPFLAGS'
26626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26629
26630
26631 cat >>confdefs.h <<_ACEOF
26632 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26633 _ACEOF
26634
26635 fi
26636 fi
26637
26638
26639
26640 for ac_func in mkstemp mktemp
26641 do
26642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26643 echo "$as_me:$LINENO: checking for $ac_func" >&5
26644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26645 if eval "test \"\${$as_ac_var+set}\" = set"; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26647 else
26648 cat >conftest.$ac_ext <<_ACEOF
26649 #line $LINENO "configure"
26650 /* confdefs.h. */
26651 _ACEOF
26652 cat confdefs.h >>conftest.$ac_ext
26653 cat >>conftest.$ac_ext <<_ACEOF
26654 /* end confdefs.h. */
26655 /* System header to define __stub macros and hopefully few prototypes,
26656 which can conflict with char $ac_func (); below.
26657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26658 <limits.h> exists even on freestanding compilers. */
26659 #ifdef __STDC__
26660 # include <limits.h>
26661 #else
26662 # include <assert.h>
26663 #endif
26664 /* Override any gcc2 internal prototype to avoid an error. */
26665 #ifdef __cplusplus
26666 extern "C"
26667 {
26668 #endif
26669 /* We use char because int might match the return type of a gcc2
26670 builtin and then its argument prototype would still apply. */
26671 char $ac_func ();
26672 /* The GNU C library defines this for functions which it implements
26673 to always fail with ENOSYS. Some functions are actually named
26674 something starting with __ and the normal name is an alias. */
26675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26676 choke me
26677 #else
26678 char (*f) () = $ac_func;
26679 #endif
26680 #ifdef __cplusplus
26681 }
26682 #endif
26683
26684 int
26685 main ()
26686 {
26687 return f != $ac_func;
26688 ;
26689 return 0;
26690 }
26691 _ACEOF
26692 rm -f conftest.$ac_objext conftest$ac_exeext
26693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26694 (eval $ac_link) 2>&5
26695 ac_status=$?
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); } &&
26698 { ac_try='test -s conftest$ac_exeext'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26701 ac_status=$?
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; }; then
26704 eval "$as_ac_var=yes"
26705 else
26706 echo "$as_me: failed program was:" >&5
26707 sed 's/^/| /' conftest.$ac_ext >&5
26708
26709 eval "$as_ac_var=no"
26710 fi
26711 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26712 fi
26713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26715 if test `eval echo '${'$as_ac_var'}'` = yes; then
26716 cat >>confdefs.h <<_ACEOF
26717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26718 _ACEOF
26719 break
26720 fi
26721 done
26722
26723
26724 echo "$as_me:$LINENO: checking for statfs" >&5
26725 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26726 if test "${wx_cv_func_statfs+set}" = set; then
26727 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 else
26729 cat >conftest.$ac_ext <<_ACEOF
26730 #line $LINENO "configure"
26731 /* confdefs.h. */
26732 _ACEOF
26733 cat confdefs.h >>conftest.$ac_ext
26734 cat >>conftest.$ac_ext <<_ACEOF
26735 /* end confdefs.h. */
26736
26737 #if defined(__BSD__)
26738 #include <sys/param.h>
26739 #include <sys/mount.h>
26740 #else
26741 #include <sys/vfs.h>
26742 #endif
26743
26744 int
26745 main ()
26746 {
26747
26748 long l;
26749 struct statfs fs;
26750 statfs("/", &fs);
26751 l = fs.f_bsize;
26752 l += fs.f_blocks;
26753 l += fs.f_bavail;
26754
26755 ;
26756 return 0;
26757 }
26758 _ACEOF
26759 rm -f conftest.$ac_objext
26760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26761 (eval $ac_compile) 2>&5
26762 ac_status=$?
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } &&
26765 { ac_try='test -s conftest.$ac_objext'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26768 ac_status=$?
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; }; then
26771
26772 wx_cv_func_statfs=yes
26773
26774 else
26775 echo "$as_me: failed program was:" >&5
26776 sed 's/^/| /' conftest.$ac_ext >&5
26777
26778
26779 wx_cv_func_statfs=no
26780
26781
26782 fi
26783 rm -f conftest.$ac_objext conftest.$ac_ext
26784
26785 fi
26786 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26787 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26788
26789 if test "$wx_cv_func_statfs" = "yes"; then
26790 wx_cv_type_statvfs_t="struct statfs"
26791 cat >>confdefs.h <<\_ACEOF
26792 #define HAVE_STATFS 1
26793 _ACEOF
26794
26795 else
26796 echo "$as_me:$LINENO: checking for statvfs" >&5
26797 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26798 if test "${wx_cv_func_statvfs+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 cat >conftest.$ac_ext <<_ACEOF
26802 #line $LINENO "configure"
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808
26809 #include <stddef.h>
26810 #include <sys/statvfs.h>
26811
26812 int
26813 main ()
26814 {
26815
26816 statvfs("/", NULL);
26817
26818 ;
26819 return 0;
26820 }
26821 _ACEOF
26822 rm -f conftest.$ac_objext
26823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26824 (eval $ac_compile) 2>&5
26825 ac_status=$?
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); } &&
26828 { ac_try='test -s conftest.$ac_objext'
26829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26830 (eval $ac_try) 2>&5
26831 ac_status=$?
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); }; }; then
26834 wx_cv_func_statvfs=yes
26835 else
26836 echo "$as_me: failed program was:" >&5
26837 sed 's/^/| /' conftest.$ac_ext >&5
26838
26839 wx_cv_func_statvfs=no
26840
26841 fi
26842 rm -f conftest.$ac_objext conftest.$ac_ext
26843
26844 fi
26845 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26846 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26847
26848 if test "$wx_cv_func_statvfs" = "yes"; then
26849
26850
26851 ac_ext=cc
26852 ac_cpp='$CXXCPP $CPPFLAGS'
26853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26856
26857
26858 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26859 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26860 if test "${wx_cv_type_statvfs_t+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863 cat >conftest.$ac_ext <<_ACEOF
26864 #line $LINENO "configure"
26865 /* confdefs.h. */
26866 _ACEOF
26867 cat confdefs.h >>conftest.$ac_ext
26868 cat >>conftest.$ac_ext <<_ACEOF
26869 /* end confdefs.h. */
26870
26871 #include <sys/statvfs.h>
26872
26873 int
26874 main ()
26875 {
26876
26877 long l;
26878 statvfs_t fs;
26879 statvfs("/", &fs);
26880 l = fs.f_bsize;
26881 l += fs.f_blocks;
26882 l += fs.f_bavail;
26883
26884 ;
26885 return 0;
26886 }
26887 _ACEOF
26888 rm -f conftest.$ac_objext
26889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26890 (eval $ac_compile) 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); } &&
26894 { ac_try='test -s conftest.$ac_objext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 wx_cv_type_statvfs_t=statvfs_t
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905
26906 cat >conftest.$ac_ext <<_ACEOF
26907 #line $LINENO "configure"
26908 /* confdefs.h. */
26909 _ACEOF
26910 cat confdefs.h >>conftest.$ac_ext
26911 cat >>conftest.$ac_ext <<_ACEOF
26912 /* end confdefs.h. */
26913
26914 #include <sys/statvfs.h>
26915
26916 int
26917 main ()
26918 {
26919
26920 long l;
26921 struct statvfs fs;
26922 statvfs("/", &fs);
26923 l = fs.f_bsize;
26924 l += fs.f_blocks;
26925 l += fs.f_bavail;
26926
26927 ;
26928 return 0;
26929 }
26930 _ACEOF
26931 rm -f conftest.$ac_objext
26932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26933 (eval $ac_compile) 2>&5
26934 ac_status=$?
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); } &&
26937 { ac_try='test -s conftest.$ac_objext'
26938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26939 (eval $ac_try) 2>&5
26940 ac_status=$?
26941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26942 (exit $ac_status); }; }; then
26943 wx_cv_type_statvfs_t="struct statvfs"
26944 else
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.$ac_ext >&5
26947
26948 wx_cv_type_statvfs_t="unknown"
26949
26950 fi
26951 rm -f conftest.$ac_objext conftest.$ac_ext
26952
26953
26954 fi
26955 rm -f conftest.$ac_objext conftest.$ac_ext
26956
26957 fi
26958 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
26959 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
26960
26961 ac_ext=c
26962 ac_cpp='$CPP $CPPFLAGS'
26963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26966
26967
26968 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26969 cat >>confdefs.h <<\_ACEOF
26970 #define HAVE_STATVFS 1
26971 _ACEOF
26972
26973 fi
26974 else
26975 wx_cv_type_statvfs_t="unknown"
26976 fi
26977 fi
26978
26979 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26980 cat >>confdefs.h <<_ACEOF
26981 #define WX_STATFS_T $wx_cv_type_statvfs_t
26982 _ACEOF
26983
26984 else
26985 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
26986 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
26987 fi
26988
26989 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
26990
26991
26992 for ac_func in fcntl flock
26993 do
26994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26995 echo "$as_me:$LINENO: checking for $ac_func" >&5
26996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26997 if eval "test \"\${$as_ac_var+set}\" = set"; then
26998 echo $ECHO_N "(cached) $ECHO_C" >&6
26999 else
27000 cat >conftest.$ac_ext <<_ACEOF
27001 #line $LINENO "configure"
27002 /* confdefs.h. */
27003 _ACEOF
27004 cat confdefs.h >>conftest.$ac_ext
27005 cat >>conftest.$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27007 /* System header to define __stub macros and hopefully few prototypes,
27008 which can conflict with char $ac_func (); below.
27009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27010 <limits.h> exists even on freestanding compilers. */
27011 #ifdef __STDC__
27012 # include <limits.h>
27013 #else
27014 # include <assert.h>
27015 #endif
27016 /* Override any gcc2 internal prototype to avoid an error. */
27017 #ifdef __cplusplus
27018 extern "C"
27019 {
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 $ac_func ();
27024 /* The GNU C library defines this for functions which it implements
27025 to always fail with ENOSYS. Some functions are actually named
27026 something starting with __ and the normal name is an alias. */
27027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27028 choke me
27029 #else
27030 char (*f) () = $ac_func;
27031 #endif
27032 #ifdef __cplusplus
27033 }
27034 #endif
27035
27036 int
27037 main ()
27038 {
27039 return f != $ac_func;
27040 ;
27041 return 0;
27042 }
27043 _ACEOF
27044 rm -f conftest.$ac_objext conftest$ac_exeext
27045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27046 (eval $ac_link) 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); } &&
27050 { ac_try='test -s conftest$ac_exeext'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27053 ac_status=$?
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; }; then
27056 eval "$as_ac_var=yes"
27057 else
27058 echo "$as_me: failed program was:" >&5
27059 sed 's/^/| /' conftest.$ac_ext >&5
27060
27061 eval "$as_ac_var=no"
27062 fi
27063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27064 fi
27065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27067 if test `eval echo '${'$as_ac_var'}'` = yes; then
27068 cat >>confdefs.h <<_ACEOF
27069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27070 _ACEOF
27071 break
27072 fi
27073 done
27074
27075
27076 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27077 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27078 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27079 wxUSE_SNGLINST_CHECKER=no
27080 fi
27081 fi
27082
27083
27084 for ac_func in timegm
27085 do
27086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27087 echo "$as_me:$LINENO: checking for $ac_func" >&5
27088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27089 if eval "test \"\${$as_ac_var+set}\" = set"; then
27090 echo $ECHO_N "(cached) $ECHO_C" >&6
27091 else
27092 cat >conftest.$ac_ext <<_ACEOF
27093 #line $LINENO "configure"
27094 /* confdefs.h. */
27095 _ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099 /* System header to define __stub macros and hopefully few prototypes,
27100 which can conflict with char $ac_func (); below.
27101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27102 <limits.h> exists even on freestanding compilers. */
27103 #ifdef __STDC__
27104 # include <limits.h>
27105 #else
27106 # include <assert.h>
27107 #endif
27108 /* Override any gcc2 internal prototype to avoid an error. */
27109 #ifdef __cplusplus
27110 extern "C"
27111 {
27112 #endif
27113 /* We use char because int might match the return type of a gcc2
27114 builtin and then its argument prototype would still apply. */
27115 char $ac_func ();
27116 /* The GNU C library defines this for functions which it implements
27117 to always fail with ENOSYS. Some functions are actually named
27118 something starting with __ and the normal name is an alias. */
27119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27120 choke me
27121 #else
27122 char (*f) () = $ac_func;
27123 #endif
27124 #ifdef __cplusplus
27125 }
27126 #endif
27127
27128 int
27129 main ()
27130 {
27131 return f != $ac_func;
27132 ;
27133 return 0;
27134 }
27135 _ACEOF
27136 rm -f conftest.$ac_objext conftest$ac_exeext
27137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27138 (eval $ac_link) 2>&5
27139 ac_status=$?
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } &&
27142 { ac_try='test -s conftest$ac_exeext'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27145 ac_status=$?
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; }; then
27148 eval "$as_ac_var=yes"
27149 else
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27152
27153 eval "$as_ac_var=no"
27154 fi
27155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27156 fi
27157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27159 if test `eval echo '${'$as_ac_var'}'` = yes; then
27160 cat >>confdefs.h <<_ACEOF
27161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27162 _ACEOF
27163
27164 fi
27165 done
27166
27167
27168
27169
27170 for ac_func in putenv setenv
27171 do
27172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27173 echo "$as_me:$LINENO: checking for $ac_func" >&5
27174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27175 if eval "test \"\${$as_ac_var+set}\" = set"; then
27176 echo $ECHO_N "(cached) $ECHO_C" >&6
27177 else
27178 cat >conftest.$ac_ext <<_ACEOF
27179 #line $LINENO "configure"
27180 /* confdefs.h. */
27181 _ACEOF
27182 cat confdefs.h >>conftest.$ac_ext
27183 cat >>conftest.$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27185 /* System header to define __stub macros and hopefully few prototypes,
27186 which can conflict with char $ac_func (); below.
27187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27188 <limits.h> exists even on freestanding compilers. */
27189 #ifdef __STDC__
27190 # include <limits.h>
27191 #else
27192 # include <assert.h>
27193 #endif
27194 /* Override any gcc2 internal prototype to avoid an error. */
27195 #ifdef __cplusplus
27196 extern "C"
27197 {
27198 #endif
27199 /* We use char because int might match the return type of a gcc2
27200 builtin and then its argument prototype would still apply. */
27201 char $ac_func ();
27202 /* The GNU C library defines this for functions which it implements
27203 to always fail with ENOSYS. Some functions are actually named
27204 something starting with __ and the normal name is an alias. */
27205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27206 choke me
27207 #else
27208 char (*f) () = $ac_func;
27209 #endif
27210 #ifdef __cplusplus
27211 }
27212 #endif
27213
27214 int
27215 main ()
27216 {
27217 return f != $ac_func;
27218 ;
27219 return 0;
27220 }
27221 _ACEOF
27222 rm -f conftest.$ac_objext conftest$ac_exeext
27223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27224 (eval $ac_link) 2>&5
27225 ac_status=$?
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try='test -s conftest$ac_exeext'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27231 ac_status=$?
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; }; then
27234 eval "$as_ac_var=yes"
27235 else
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27238
27239 eval "$as_ac_var=no"
27240 fi
27241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27242 fi
27243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27245 if test `eval echo '${'$as_ac_var'}'` = yes; then
27246 cat >>confdefs.h <<_ACEOF
27247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27248 _ACEOF
27249 break
27250 fi
27251 done
27252
27253
27254 HAVE_SOME_SLEEP_FUNC=0
27255 if test "$USE_BEOS" = 1; then
27256 cat >>confdefs.h <<\_ACEOF
27257 #define HAVE_SLEEP 1
27258 _ACEOF
27259
27260 HAVE_SOME_SLEEP_FUNC=1
27261 fi
27262
27263 if test "$USE_DARWIN" = 1; then
27264 cat >>confdefs.h <<\_ACEOF
27265 #define HAVE_USLEEP 1
27266 _ACEOF
27267
27268 HAVE_SOME_SLEEP_FUNC=1
27269 fi
27270
27271 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27272 POSIX4_LINK=
27273
27274 for ac_func in nanosleep
27275 do
27276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27277 echo "$as_me:$LINENO: checking for $ac_func" >&5
27278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27279 if eval "test \"\${$as_ac_var+set}\" = set"; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27281 else
27282 cat >conftest.$ac_ext <<_ACEOF
27283 #line $LINENO "configure"
27284 /* confdefs.h. */
27285 _ACEOF
27286 cat confdefs.h >>conftest.$ac_ext
27287 cat >>conftest.$ac_ext <<_ACEOF
27288 /* end confdefs.h. */
27289 /* System header to define __stub macros and hopefully few prototypes,
27290 which can conflict with char $ac_func (); below.
27291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27292 <limits.h> exists even on freestanding compilers. */
27293 #ifdef __STDC__
27294 # include <limits.h>
27295 #else
27296 # include <assert.h>
27297 #endif
27298 /* Override any gcc2 internal prototype to avoid an error. */
27299 #ifdef __cplusplus
27300 extern "C"
27301 {
27302 #endif
27303 /* We use char because int might match the return type of a gcc2
27304 builtin and then its argument prototype would still apply. */
27305 char $ac_func ();
27306 /* The GNU C library defines this for functions which it implements
27307 to always fail with ENOSYS. Some functions are actually named
27308 something starting with __ and the normal name is an alias. */
27309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27310 choke me
27311 #else
27312 char (*f) () = $ac_func;
27313 #endif
27314 #ifdef __cplusplus
27315 }
27316 #endif
27317
27318 int
27319 main ()
27320 {
27321 return f != $ac_func;
27322 ;
27323 return 0;
27324 }
27325 _ACEOF
27326 rm -f conftest.$ac_objext conftest$ac_exeext
27327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27328 (eval $ac_link) 2>&5
27329 ac_status=$?
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); } &&
27332 { ac_try='test -s conftest$ac_exeext'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27335 ac_status=$?
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; }; then
27338 eval "$as_ac_var=yes"
27339 else
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27342
27343 eval "$as_ac_var=no"
27344 fi
27345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27346 fi
27347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27349 if test `eval echo '${'$as_ac_var'}'` = yes; then
27350 cat >>confdefs.h <<_ACEOF
27351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27352 _ACEOF
27353 cat >>confdefs.h <<\_ACEOF
27354 #define HAVE_NANOSLEEP 1
27355 _ACEOF
27356
27357 else
27358
27359 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27360 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27361 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27362 echo $ECHO_N "(cached) $ECHO_C" >&6
27363 else
27364 ac_check_lib_save_LIBS=$LIBS
27365 LIBS="-lposix4 $LIBS"
27366 cat >conftest.$ac_ext <<_ACEOF
27367 #line $LINENO "configure"
27368 /* confdefs.h. */
27369 _ACEOF
27370 cat confdefs.h >>conftest.$ac_ext
27371 cat >>conftest.$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27373
27374 /* Override any gcc2 internal prototype to avoid an error. */
27375 #ifdef __cplusplus
27376 extern "C"
27377 #endif
27378 /* We use char because int might match the return type of a gcc2
27379 builtin and then its argument prototype would still apply. */
27380 char nanosleep ();
27381 int
27382 main ()
27383 {
27384 nanosleep ();
27385 ;
27386 return 0;
27387 }
27388 _ACEOF
27389 rm -f conftest.$ac_objext conftest$ac_exeext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27391 (eval $ac_link) 2>&5
27392 ac_status=$?
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); } &&
27395 { ac_try='test -s conftest$ac_exeext'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; }; then
27401 ac_cv_lib_posix4_nanosleep=yes
27402 else
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.$ac_ext >&5
27405
27406 ac_cv_lib_posix4_nanosleep=no
27407 fi
27408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27409 LIBS=$ac_check_lib_save_LIBS
27410 fi
27411 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27412 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27413 if test $ac_cv_lib_posix4_nanosleep = yes; then
27414
27415 cat >>confdefs.h <<\_ACEOF
27416 #define HAVE_NANOSLEEP 1
27417 _ACEOF
27418
27419 POSIX4_LINK=" -lposix4"
27420
27421 else
27422
27423
27424 for ac_func in usleep
27425 do
27426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27427 echo "$as_me:$LINENO: checking for $ac_func" >&5
27428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27429 if eval "test \"\${$as_ac_var+set}\" = set"; then
27430 echo $ECHO_N "(cached) $ECHO_C" >&6
27431 else
27432 cat >conftest.$ac_ext <<_ACEOF
27433 #line $LINENO "configure"
27434 /* confdefs.h. */
27435 _ACEOF
27436 cat confdefs.h >>conftest.$ac_ext
27437 cat >>conftest.$ac_ext <<_ACEOF
27438 /* end confdefs.h. */
27439 /* System header to define __stub macros and hopefully few prototypes,
27440 which can conflict with char $ac_func (); below.
27441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27442 <limits.h> exists even on freestanding compilers. */
27443 #ifdef __STDC__
27444 # include <limits.h>
27445 #else
27446 # include <assert.h>
27447 #endif
27448 /* Override any gcc2 internal prototype to avoid an error. */
27449 #ifdef __cplusplus
27450 extern "C"
27451 {
27452 #endif
27453 /* We use char because int might match the return type of a gcc2
27454 builtin and then its argument prototype would still apply. */
27455 char $ac_func ();
27456 /* The GNU C library defines this for functions which it implements
27457 to always fail with ENOSYS. Some functions are actually named
27458 something starting with __ and the normal name is an alias. */
27459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27460 choke me
27461 #else
27462 char (*f) () = $ac_func;
27463 #endif
27464 #ifdef __cplusplus
27465 }
27466 #endif
27467
27468 int
27469 main ()
27470 {
27471 return f != $ac_func;
27472 ;
27473 return 0;
27474 }
27475 _ACEOF
27476 rm -f conftest.$ac_objext conftest$ac_exeext
27477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27478 (eval $ac_link) 2>&5
27479 ac_status=$?
27480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27481 (exit $ac_status); } &&
27482 { ac_try='test -s conftest$ac_exeext'
27483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27484 (eval $ac_try) 2>&5
27485 ac_status=$?
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); }; }; then
27488 eval "$as_ac_var=yes"
27489 else
27490 echo "$as_me: failed program was:" >&5
27491 sed 's/^/| /' conftest.$ac_ext >&5
27492
27493 eval "$as_ac_var=no"
27494 fi
27495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27496 fi
27497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27499 if test `eval echo '${'$as_ac_var'}'` = yes; then
27500 cat >>confdefs.h <<_ACEOF
27501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27502 _ACEOF
27503 cat >>confdefs.h <<\_ACEOF
27504 #define HAVE_USLEEP 1
27505 _ACEOF
27506
27507 else
27508 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27509 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27510
27511 fi
27512 done
27513
27514
27515
27516 fi
27517
27518
27519
27520 fi
27521 done
27522
27523 fi
27524
27525
27526
27527 for ac_func in uname gethostname
27528 do
27529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27530 echo "$as_me:$LINENO: checking for $ac_func" >&5
27531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27532 if eval "test \"\${$as_ac_var+set}\" = set"; then
27533 echo $ECHO_N "(cached) $ECHO_C" >&6
27534 else
27535 cat >conftest.$ac_ext <<_ACEOF
27536 #line $LINENO "configure"
27537 /* confdefs.h. */
27538 _ACEOF
27539 cat confdefs.h >>conftest.$ac_ext
27540 cat >>conftest.$ac_ext <<_ACEOF
27541 /* end confdefs.h. */
27542 /* System header to define __stub macros and hopefully few prototypes,
27543 which can conflict with char $ac_func (); below.
27544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27545 <limits.h> exists even on freestanding compilers. */
27546 #ifdef __STDC__
27547 # include <limits.h>
27548 #else
27549 # include <assert.h>
27550 #endif
27551 /* Override any gcc2 internal prototype to avoid an error. */
27552 #ifdef __cplusplus
27553 extern "C"
27554 {
27555 #endif
27556 /* We use char because int might match the return type of a gcc2
27557 builtin and then its argument prototype would still apply. */
27558 char $ac_func ();
27559 /* The GNU C library defines this for functions which it implements
27560 to always fail with ENOSYS. Some functions are actually named
27561 something starting with __ and the normal name is an alias. */
27562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27563 choke me
27564 #else
27565 char (*f) () = $ac_func;
27566 #endif
27567 #ifdef __cplusplus
27568 }
27569 #endif
27570
27571 int
27572 main ()
27573 {
27574 return f != $ac_func;
27575 ;
27576 return 0;
27577 }
27578 _ACEOF
27579 rm -f conftest.$ac_objext conftest$ac_exeext
27580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27581 (eval $ac_link) 2>&5
27582 ac_status=$?
27583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27584 (exit $ac_status); } &&
27585 { ac_try='test -s conftest$ac_exeext'
27586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 (eval $ac_try) 2>&5
27588 ac_status=$?
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); }; }; then
27591 eval "$as_ac_var=yes"
27592 else
27593 echo "$as_me: failed program was:" >&5
27594 sed 's/^/| /' conftest.$ac_ext >&5
27595
27596 eval "$as_ac_var=no"
27597 fi
27598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27599 fi
27600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27602 if test `eval echo '${'$as_ac_var'}'` = yes; then
27603 cat >>confdefs.h <<_ACEOF
27604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27605 _ACEOF
27606 break
27607 fi
27608 done
27609
27610
27611
27612
27613 ac_ext=cc
27614 ac_cpp='$CXXCPP $CPPFLAGS'
27615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27618
27619
27620
27621 for ac_func in strtok_r
27622 do
27623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27624 echo "$as_me:$LINENO: checking for $ac_func" >&5
27625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27626 if eval "test \"\${$as_ac_var+set}\" = set"; then
27627 echo $ECHO_N "(cached) $ECHO_C" >&6
27628 else
27629 cat >conftest.$ac_ext <<_ACEOF
27630 #line $LINENO "configure"
27631 /* confdefs.h. */
27632 _ACEOF
27633 cat confdefs.h >>conftest.$ac_ext
27634 cat >>conftest.$ac_ext <<_ACEOF
27635 /* end confdefs.h. */
27636 /* System header to define __stub macros and hopefully few prototypes,
27637 which can conflict with char $ac_func (); below.
27638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27639 <limits.h> exists even on freestanding compilers. */
27640 #ifdef __STDC__
27641 # include <limits.h>
27642 #else
27643 # include <assert.h>
27644 #endif
27645 /* Override any gcc2 internal prototype to avoid an error. */
27646 #ifdef __cplusplus
27647 extern "C"
27648 {
27649 #endif
27650 /* We use char because int might match the return type of a gcc2
27651 builtin and then its argument prototype would still apply. */
27652 char $ac_func ();
27653 /* The GNU C library defines this for functions which it implements
27654 to always fail with ENOSYS. Some functions are actually named
27655 something starting with __ and the normal name is an alias. */
27656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27657 choke me
27658 #else
27659 char (*f) () = $ac_func;
27660 #endif
27661 #ifdef __cplusplus
27662 }
27663 #endif
27664
27665 int
27666 main ()
27667 {
27668 return f != $ac_func;
27669 ;
27670 return 0;
27671 }
27672 _ACEOF
27673 rm -f conftest.$ac_objext conftest$ac_exeext
27674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27675 (eval $ac_link) 2>&5
27676 ac_status=$?
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); } &&
27679 { ac_try='test -s conftest$ac_exeext'
27680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27681 (eval $ac_try) 2>&5
27682 ac_status=$?
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); }; }; then
27685 eval "$as_ac_var=yes"
27686 else
27687 echo "$as_me: failed program was:" >&5
27688 sed 's/^/| /' conftest.$ac_ext >&5
27689
27690 eval "$as_ac_var=no"
27691 fi
27692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27693 fi
27694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27696 if test `eval echo '${'$as_ac_var'}'` = yes; then
27697 cat >>confdefs.h <<_ACEOF
27698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27699 _ACEOF
27700
27701 fi
27702 done
27703
27704
27705 ac_ext=c
27706 ac_cpp='$CPP $CPPFLAGS'
27707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27710
27711
27712 INET_LINK=
27713
27714 for ac_func in inet_addr
27715 do
27716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27717 echo "$as_me:$LINENO: checking for $ac_func" >&5
27718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27719 if eval "test \"\${$as_ac_var+set}\" = set"; then
27720 echo $ECHO_N "(cached) $ECHO_C" >&6
27721 else
27722 cat >conftest.$ac_ext <<_ACEOF
27723 #line $LINENO "configure"
27724 /* confdefs.h. */
27725 _ACEOF
27726 cat confdefs.h >>conftest.$ac_ext
27727 cat >>conftest.$ac_ext <<_ACEOF
27728 /* end confdefs.h. */
27729 /* System header to define __stub macros and hopefully few prototypes,
27730 which can conflict with char $ac_func (); below.
27731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27732 <limits.h> exists even on freestanding compilers. */
27733 #ifdef __STDC__
27734 # include <limits.h>
27735 #else
27736 # include <assert.h>
27737 #endif
27738 /* Override any gcc2 internal prototype to avoid an error. */
27739 #ifdef __cplusplus
27740 extern "C"
27741 {
27742 #endif
27743 /* We use char because int might match the return type of a gcc2
27744 builtin and then its argument prototype would still apply. */
27745 char $ac_func ();
27746 /* The GNU C library defines this for functions which it implements
27747 to always fail with ENOSYS. Some functions are actually named
27748 something starting with __ and the normal name is an alias. */
27749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27750 choke me
27751 #else
27752 char (*f) () = $ac_func;
27753 #endif
27754 #ifdef __cplusplus
27755 }
27756 #endif
27757
27758 int
27759 main ()
27760 {
27761 return f != $ac_func;
27762 ;
27763 return 0;
27764 }
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768 (eval $ac_link) 2>&5
27769 ac_status=$?
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } &&
27772 { ac_try='test -s conftest$ac_exeext'
27773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774 (eval $ac_try) 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); }; }; then
27778 eval "$as_ac_var=yes"
27779 else
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27782
27783 eval "$as_ac_var=no"
27784 fi
27785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27786 fi
27787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27789 if test `eval echo '${'$as_ac_var'}'` = yes; then
27790 cat >>confdefs.h <<_ACEOF
27791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27792 _ACEOF
27793 cat >>confdefs.h <<\_ACEOF
27794 #define HAVE_INET_ADDR 1
27795 _ACEOF
27796
27797 else
27798
27799 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27800 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27801 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27802 echo $ECHO_N "(cached) $ECHO_C" >&6
27803 else
27804 ac_check_lib_save_LIBS=$LIBS
27805 LIBS="-lnsl $LIBS"
27806 cat >conftest.$ac_ext <<_ACEOF
27807 #line $LINENO "configure"
27808 /* confdefs.h. */
27809 _ACEOF
27810 cat confdefs.h >>conftest.$ac_ext
27811 cat >>conftest.$ac_ext <<_ACEOF
27812 /* end confdefs.h. */
27813
27814 /* Override any gcc2 internal prototype to avoid an error. */
27815 #ifdef __cplusplus
27816 extern "C"
27817 #endif
27818 /* We use char because int might match the return type of a gcc2
27819 builtin and then its argument prototype would still apply. */
27820 char inet_addr ();
27821 int
27822 main ()
27823 {
27824 inet_addr ();
27825 ;
27826 return 0;
27827 }
27828 _ACEOF
27829 rm -f conftest.$ac_objext conftest$ac_exeext
27830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27831 (eval $ac_link) 2>&5
27832 ac_status=$?
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try='test -s conftest$ac_exeext'
27836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27837 (eval $ac_try) 2>&5
27838 ac_status=$?
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); }; }; then
27841 ac_cv_lib_nsl_inet_addr=yes
27842 else
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27845
27846 ac_cv_lib_nsl_inet_addr=no
27847 fi
27848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27849 LIBS=$ac_check_lib_save_LIBS
27850 fi
27851 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27852 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27853 if test $ac_cv_lib_nsl_inet_addr = yes; then
27854 INET_LINK="nsl"
27855 else
27856 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27857 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27858 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27859 echo $ECHO_N "(cached) $ECHO_C" >&6
27860 else
27861 ac_check_lib_save_LIBS=$LIBS
27862 LIBS="-lresolv $LIBS"
27863 cat >conftest.$ac_ext <<_ACEOF
27864 #line $LINENO "configure"
27865 /* confdefs.h. */
27866 _ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27870
27871 /* Override any gcc2 internal prototype to avoid an error. */
27872 #ifdef __cplusplus
27873 extern "C"
27874 #endif
27875 /* We use char because int might match the return type of a gcc2
27876 builtin and then its argument prototype would still apply. */
27877 char inet_addr ();
27878 int
27879 main ()
27880 {
27881 inet_addr ();
27882 ;
27883 return 0;
27884 }
27885 _ACEOF
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27888 (eval $ac_link) 2>&5
27889 ac_status=$?
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); } &&
27892 { ac_try='test -s conftest$ac_exeext'
27893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27894 (eval $ac_try) 2>&5
27895 ac_status=$?
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); }; }; then
27898 ac_cv_lib_resolv_inet_addr=yes
27899 else
27900 echo "$as_me: failed program was:" >&5
27901 sed 's/^/| /' conftest.$ac_ext >&5
27902
27903 ac_cv_lib_resolv_inet_addr=no
27904 fi
27905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27906 LIBS=$ac_check_lib_save_LIBS
27907 fi
27908 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
27909 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
27910 if test $ac_cv_lib_resolv_inet_addr = yes; then
27911 INET_LINK="resolv"
27912 else
27913 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
27914 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
27915 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27917 else
27918 ac_check_lib_save_LIBS=$LIBS
27919 LIBS="-lsocket $LIBS"
27920 cat >conftest.$ac_ext <<_ACEOF
27921 #line $LINENO "configure"
27922 /* confdefs.h. */
27923 _ACEOF
27924 cat confdefs.h >>conftest.$ac_ext
27925 cat >>conftest.$ac_ext <<_ACEOF
27926 /* end confdefs.h. */
27927
27928 /* Override any gcc2 internal prototype to avoid an error. */
27929 #ifdef __cplusplus
27930 extern "C"
27931 #endif
27932 /* We use char because int might match the return type of a gcc2
27933 builtin and then its argument prototype would still apply. */
27934 char inet_addr ();
27935 int
27936 main ()
27937 {
27938 inet_addr ();
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>&5
27946 ac_status=$?
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try='test -s conftest$ac_exeext'
27950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27951 (eval $ac_try) 2>&5
27952 ac_status=$?
27953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27954 (exit $ac_status); }; }; then
27955 ac_cv_lib_socket_inet_addr=yes
27956 else
27957 echo "$as_me: failed program was:" >&5
27958 sed 's/^/| /' conftest.$ac_ext >&5
27959
27960 ac_cv_lib_socket_inet_addr=no
27961 fi
27962 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27963 LIBS=$ac_check_lib_save_LIBS
27964 fi
27965 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
27966 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
27967 if test $ac_cv_lib_socket_inet_addr = yes; then
27968 INET_LINK="socket"
27969
27970 fi
27971
27972
27973 fi
27974
27975
27976 fi
27977
27978
27979
27980 fi
27981 done
27982
27983
27984
27985 for ac_func in inet_aton
27986 do
27987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27988 echo "$as_me:$LINENO: checking for $ac_func" >&5
27989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27990 if eval "test \"\${$as_ac_var+set}\" = set"; then
27991 echo $ECHO_N "(cached) $ECHO_C" >&6
27992 else
27993 cat >conftest.$ac_ext <<_ACEOF
27994 #line $LINENO "configure"
27995 /* confdefs.h. */
27996 _ACEOF
27997 cat confdefs.h >>conftest.$ac_ext
27998 cat >>conftest.$ac_ext <<_ACEOF
27999 /* end confdefs.h. */
28000 /* System header to define __stub macros and hopefully few prototypes,
28001 which can conflict with char $ac_func (); below.
28002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28003 <limits.h> exists even on freestanding compilers. */
28004 #ifdef __STDC__
28005 # include <limits.h>
28006 #else
28007 # include <assert.h>
28008 #endif
28009 /* Override any gcc2 internal prototype to avoid an error. */
28010 #ifdef __cplusplus
28011 extern "C"
28012 {
28013 #endif
28014 /* We use char because int might match the return type of a gcc2
28015 builtin and then its argument prototype would still apply. */
28016 char $ac_func ();
28017 /* The GNU C library defines this for functions which it implements
28018 to always fail with ENOSYS. Some functions are actually named
28019 something starting with __ and the normal name is an alias. */
28020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28021 choke me
28022 #else
28023 char (*f) () = $ac_func;
28024 #endif
28025 #ifdef __cplusplus
28026 }
28027 #endif
28028
28029 int
28030 main ()
28031 {
28032 return f != $ac_func;
28033 ;
28034 return 0;
28035 }
28036 _ACEOF
28037 rm -f conftest.$ac_objext conftest$ac_exeext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28039 (eval $ac_link) 2>&5
28040 ac_status=$?
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } &&
28043 { ac_try='test -s conftest$ac_exeext'
28044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28045 (eval $ac_try) 2>&5
28046 ac_status=$?
28047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28048 (exit $ac_status); }; }; then
28049 eval "$as_ac_var=yes"
28050 else
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28053
28054 eval "$as_ac_var=no"
28055 fi
28056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28057 fi
28058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28060 if test `eval echo '${'$as_ac_var'}'` = yes; then
28061 cat >>confdefs.h <<_ACEOF
28062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28063 _ACEOF
28064 cat >>confdefs.h <<\_ACEOF
28065 #define HAVE_INET_ATON 1
28066 _ACEOF
28067
28068 else
28069
28070 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28071 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28072 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28073 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28074 echo $ECHO_N "(cached) $ECHO_C" >&6
28075 else
28076 ac_check_lib_save_LIBS=$LIBS
28077 LIBS="-l$INET_LINK $LIBS"
28078 cat >conftest.$ac_ext <<_ACEOF
28079 #line $LINENO "configure"
28080 /* confdefs.h. */
28081 _ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28085
28086 /* Override any gcc2 internal prototype to avoid an error. */
28087 #ifdef __cplusplus
28088 extern "C"
28089 #endif
28090 /* We use char because int might match the return type of a gcc2
28091 builtin and then its argument prototype would still apply. */
28092 char inet_aton ();
28093 int
28094 main ()
28095 {
28096 inet_aton ();
28097 ;
28098 return 0;
28099 }
28100 _ACEOF
28101 rm -f conftest.$ac_objext conftest$ac_exeext
28102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28103 (eval $ac_link) 2>&5
28104 ac_status=$?
28105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28106 (exit $ac_status); } &&
28107 { ac_try='test -s conftest$ac_exeext'
28108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28109 (eval $ac_try) 2>&5
28110 ac_status=$?
28111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28112 (exit $ac_status); }; }; then
28113 eval "$as_ac_Lib=yes"
28114 else
28115 echo "$as_me: failed program was:" >&5
28116 sed 's/^/| /' conftest.$ac_ext >&5
28117
28118 eval "$as_ac_Lib=no"
28119 fi
28120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28121 LIBS=$ac_check_lib_save_LIBS
28122 fi
28123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28124 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28125 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28126 cat >>confdefs.h <<\_ACEOF
28127 #define HAVE_INET_ATON 1
28128 _ACEOF
28129
28130 fi
28131
28132
28133 fi
28134 done
28135
28136
28137 if test "x$INET_LINK" != "x"; then
28138 cat >>confdefs.h <<\_ACEOF
28139 #define HAVE_INET_ADDR 1
28140 _ACEOF
28141
28142 INET_LINK=" -l$INET_LINK"
28143 fi
28144
28145 fi
28146
28147
28148
28149 ESD_LINK=
28150 if test "${ac_cv_header_esd_h+set}" = set; then
28151 echo "$as_me:$LINENO: checking for esd.h" >&5
28152 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28153 if test "${ac_cv_header_esd_h+set}" = set; then
28154 echo $ECHO_N "(cached) $ECHO_C" >&6
28155 fi
28156 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28157 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28158 else
28159 # Is the header compilable?
28160 echo "$as_me:$LINENO: checking esd.h usability" >&5
28161 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28162 cat >conftest.$ac_ext <<_ACEOF
28163 #line $LINENO "configure"
28164 /* confdefs.h. */
28165 _ACEOF
28166 cat confdefs.h >>conftest.$ac_ext
28167 cat >>conftest.$ac_ext <<_ACEOF
28168 /* end confdefs.h. */
28169 $ac_includes_default
28170 #include <esd.h>
28171 _ACEOF
28172 rm -f conftest.$ac_objext
28173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28174 (eval $ac_compile) 2>&5
28175 ac_status=$?
28176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28177 (exit $ac_status); } &&
28178 { ac_try='test -s conftest.$ac_objext'
28179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28180 (eval $ac_try) 2>&5
28181 ac_status=$?
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); }; }; then
28184 ac_header_compiler=yes
28185 else
28186 echo "$as_me: failed program was:" >&5
28187 sed 's/^/| /' conftest.$ac_ext >&5
28188
28189 ac_header_compiler=no
28190 fi
28191 rm -f conftest.$ac_objext conftest.$ac_ext
28192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28193 echo "${ECHO_T}$ac_header_compiler" >&6
28194
28195 # Is the header present?
28196 echo "$as_me:$LINENO: checking esd.h presence" >&5
28197 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28198 cat >conftest.$ac_ext <<_ACEOF
28199 #line $LINENO "configure"
28200 /* confdefs.h. */
28201 _ACEOF
28202 cat confdefs.h >>conftest.$ac_ext
28203 cat >>conftest.$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28205 #include <esd.h>
28206 _ACEOF
28207 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28208 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28209 ac_status=$?
28210 grep -v '^ *+' conftest.er1 >conftest.err
28211 rm -f conftest.er1
28212 cat conftest.err >&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); } >/dev/null; then
28215 if test -s conftest.err; then
28216 ac_cpp_err=$ac_c_preproc_warn_flag
28217 else
28218 ac_cpp_err=
28219 fi
28220 else
28221 ac_cpp_err=yes
28222 fi
28223 if test -z "$ac_cpp_err"; then
28224 ac_header_preproc=yes
28225 else
28226 echo "$as_me: failed program was:" >&5
28227 sed 's/^/| /' conftest.$ac_ext >&5
28228
28229 ac_header_preproc=no
28230 fi
28231 rm -f conftest.err conftest.$ac_ext
28232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28233 echo "${ECHO_T}$ac_header_preproc" >&6
28234
28235 # So? What about this header?
28236 case $ac_header_compiler:$ac_header_preproc in
28237 yes:no )
28238 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28239 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28240 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28241 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28242 (
28243 cat <<\_ASBOX
28244 ## ------------------------------------ ##
28245 ## Report this to bug-autoconf@gnu.org. ##
28246 ## ------------------------------------ ##
28247 _ASBOX
28248 ) |
28249 sed "s/^/$as_me: WARNING: /" >&2
28250 ;;
28251 no:yes )
28252 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28253 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28254 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28255 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28256 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28257 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28258 (
28259 cat <<\_ASBOX
28260 ## ------------------------------------ ##
28261 ## Report this to bug-autoconf@gnu.org. ##
28262 ## ------------------------------------ ##
28263 _ASBOX
28264 ) |
28265 sed "s/^/$as_me: WARNING: /" >&2
28266 ;;
28267 esac
28268 echo "$as_me:$LINENO: checking for esd.h" >&5
28269 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28270 if test "${ac_cv_header_esd_h+set}" = set; then
28271 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 else
28273 ac_cv_header_esd_h=$ac_header_preproc
28274 fi
28275 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28276 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28277
28278 fi
28279 if test $ac_cv_header_esd_h = yes; then
28280
28281 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28282 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28283 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28285 else
28286 ac_check_lib_save_LIBS=$LIBS
28287 LIBS="-lesd $LIBS"
28288 cat >conftest.$ac_ext <<_ACEOF
28289 #line $LINENO "configure"
28290 /* confdefs.h. */
28291 _ACEOF
28292 cat confdefs.h >>conftest.$ac_ext
28293 cat >>conftest.$ac_ext <<_ACEOF
28294 /* end confdefs.h. */
28295
28296 /* Override any gcc2 internal prototype to avoid an error. */
28297 #ifdef __cplusplus
28298 extern "C"
28299 #endif
28300 /* We use char because int might match the return type of a gcc2
28301 builtin and then its argument prototype would still apply. */
28302 char esd_close ();
28303 int
28304 main ()
28305 {
28306 esd_close ();
28307 ;
28308 return 0;
28309 }
28310 _ACEOF
28311 rm -f conftest.$ac_objext conftest$ac_exeext
28312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28313 (eval $ac_link) 2>&5
28314 ac_status=$?
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); } &&
28317 { ac_try='test -s conftest$ac_exeext'
28318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28319 (eval $ac_try) 2>&5
28320 ac_status=$?
28321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28322 (exit $ac_status); }; }; then
28323 ac_cv_lib_esd_esd_close=yes
28324 else
28325 echo "$as_me: failed program was:" >&5
28326 sed 's/^/| /' conftest.$ac_ext >&5
28327
28328 ac_cv_lib_esd_esd_close=no
28329 fi
28330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28331 LIBS=$ac_check_lib_save_LIBS
28332 fi
28333 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28334 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28335 if test $ac_cv_lib_esd_esd_close = yes; then
28336
28337 ESD_LINK="-lesd"
28338
28339 fi
28340
28341
28342 fi
28343
28344
28345
28346
28347
28348 cat >confcache <<\_ACEOF
28349 # This file is a shell script that caches the results of configure
28350 # tests run on this system so they can be shared between configure
28351 # scripts and configure runs, see configure's option --config-cache.
28352 # It is not useful on other systems. If it contains results you don't
28353 # want to keep, you may remove or edit it.
28354 #
28355 # config.status only pays attention to the cache file if you give it
28356 # the --recheck option to rerun configure.
28357 #
28358 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28359 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28360 # following values.
28361
28362 _ACEOF
28363
28364 # The following way of writing the cache mishandles newlines in values,
28365 # but we know of no workaround that is simple, portable, and efficient.
28366 # So, don't put newlines in cache variables' values.
28367 # Ultrix sh set writes to stderr and can't be redirected directly,
28368 # and sets the high bit in the cache file unless we assign to the vars.
28369 {
28370 (set) 2>&1 |
28371 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28372 *ac_space=\ *)
28373 # `set' does not quote correctly, so add quotes (double-quote
28374 # substitution turns \\\\ into \\, and sed turns \\ into \).
28375 sed -n \
28376 "s/'/'\\\\''/g;
28377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28378 ;;
28379 *)
28380 # `set' quotes correctly as required by POSIX, so do not add quotes.
28381 sed -n \
28382 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28383 ;;
28384 esac;
28385 } |
28386 sed '
28387 t clear
28388 : clear
28389 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28390 t end
28391 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28392 : end' >>confcache
28393 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28394 if test -w $cache_file; then
28395 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28396 cat confcache >$cache_file
28397 else
28398 echo "not updating unwritable cache $cache_file"
28399 fi
28400 fi
28401 rm -f confcache
28402
28403
28404 CPP_MT_FLAG=
28405 if test "$TOOLKIT" != "MSW"; then
28406
28407
28408 THREADS_LINK=
28409 THREADS_CFLAGS=
28410
28411 if test "$wxUSE_THREADS" = "yes" ; then
28412 if test "$USE_BEOS" = 1; then
28413 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28414 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28415 wxUSE_THREADS="no"
28416 fi
28417 fi
28418
28419 if test "$wxUSE_THREADS" = "yes" ; then
28420
28421
28422 THREAD_OPTS="-pthread"
28423 case "${host}" in
28424 *-*-solaris2* | *-*-sunos4* )
28425 if test "x$GCC" = "xyes"; then
28426 THREAD_OPTS="-pthreads $THREAD_OPTS"
28427 else
28428 THREAD_OPTS="-mt $THREAD_OPTS"
28429 fi
28430 ;;
28431 *-*-freebsd*)
28432 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28433 ;;
28434 *-*-darwin* | *-*-cygwin* )
28435 THREAD_OPTS=""
28436 ;;
28437 *-*-aix*)
28438 THREAD_OPTS="pthreads"
28439 ;;
28440 *-hp-hpux* )
28441 if test "x$GCC" != "xyes"; then
28442 THREAD_OPTS=""
28443 fi
28444 ;;
28445
28446 *-*-irix* )
28447 if test "x$GCC" = "xyes"; then
28448 THREAD_OPTS=""
28449 fi
28450 ;;
28451
28452 *-*-*UnixWare*)
28453 if test "x$GCC" != "xyes"; then
28454 THREAD_OPTS="-Ethread"
28455 fi
28456 ;;
28457 esac
28458
28459 THREAD_OPTS="$THREAD_OPTS pthread none"
28460
28461 THREADS_OK=no
28462 for flag in $THREAD_OPTS; do
28463 case $flag in
28464 none)
28465 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28466 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28467 ;;
28468
28469 -*)
28470 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28471 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28472 THREADS_CFLAGS="$flag"
28473 ;;
28474
28475 *)
28476 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28477 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28478 THREADS_LINK="-l$flag"
28479 ;;
28480 esac
28481
28482 save_LIBS="$LIBS"
28483 save_CFLAGS="$CFLAGS"
28484 LIBS="$THREADS_LINK $LIBS"
28485 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28486
28487 cat >conftest.$ac_ext <<_ACEOF
28488 #line $LINENO "configure"
28489 /* confdefs.h. */
28490 _ACEOF
28491 cat confdefs.h >>conftest.$ac_ext
28492 cat >>conftest.$ac_ext <<_ACEOF
28493 /* end confdefs.h. */
28494 #include <pthread.h>
28495 int
28496 main ()
28497 {
28498 pthread_create(0,0,0,0);
28499 ;
28500 return 0;
28501 }
28502 _ACEOF
28503 rm -f conftest.$ac_objext conftest$ac_exeext
28504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28505 (eval $ac_link) 2>&5
28506 ac_status=$?
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } &&
28509 { ac_try='test -s conftest$ac_exeext'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; }; then
28515 THREADS_OK=yes
28516 else
28517 echo "$as_me: failed program was:" >&5
28518 sed 's/^/| /' conftest.$ac_ext >&5
28519
28520 fi
28521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28522
28523 LIBS="$save_LIBS"
28524 CFLAGS="$save_CFLAGS"
28525
28526 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28527 echo "${ECHO_T}$THREADS_OK" >&6
28528 if test "x$THREADS_OK" = "xyes"; then
28529 break;
28530 fi
28531
28532 THREADS_LINK=""
28533 THREADS_CFLAGS=""
28534 done
28535
28536 if test "x$THREADS_OK" != "xyes"; then
28537 wxUSE_THREADS=no
28538 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28539 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28540 else
28541 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28542 LIBS="$THREADS_LINK $LIBS"
28543
28544 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28545 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28546 flag=no
28547 case "${host}" in
28548 *-aix*)
28549 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28550 flag="-D_THREAD_SAFE"
28551 ;;
28552 *-freebsd*)
28553 flag="-D_THREAD_SAFE"
28554 ;;
28555 *-hp-hpux* )
28556 flag="-D_REENTRANT"
28557 if test "x$GCC" != "xyes"; then
28558 flag="$flag -D_RWSTD_MULTI_THREAD"
28559 fi
28560 ;;
28561 *solaris* | alpha*-osf*)
28562 flag="-D_REENTRANT"
28563 ;;
28564 esac
28565 echo "$as_me:$LINENO: result: ${flag}" >&5
28566 echo "${ECHO_T}${flag}" >&6
28567 if test "x$flag" != xno; then
28568 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28569 fi
28570
28571 if test "x$THREADS_CFLAGS" != "x"; then
28572 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28573 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28574 fi
28575 fi
28576 fi
28577
28578 if test "$wxUSE_THREADS" = "yes" ; then
28579
28580 for ac_func in thr_setconcurrency
28581 do
28582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28583 echo "$as_me:$LINENO: checking for $ac_func" >&5
28584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28585 if eval "test \"\${$as_ac_var+set}\" = set"; then
28586 echo $ECHO_N "(cached) $ECHO_C" >&6
28587 else
28588 cat >conftest.$ac_ext <<_ACEOF
28589 #line $LINENO "configure"
28590 /* confdefs.h. */
28591 _ACEOF
28592 cat confdefs.h >>conftest.$ac_ext
28593 cat >>conftest.$ac_ext <<_ACEOF
28594 /* end confdefs.h. */
28595 /* System header to define __stub macros and hopefully few prototypes,
28596 which can conflict with char $ac_func (); below.
28597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28598 <limits.h> exists even on freestanding compilers. */
28599 #ifdef __STDC__
28600 # include <limits.h>
28601 #else
28602 # include <assert.h>
28603 #endif
28604 /* Override any gcc2 internal prototype to avoid an error. */
28605 #ifdef __cplusplus
28606 extern "C"
28607 {
28608 #endif
28609 /* We use char because int might match the return type of a gcc2
28610 builtin and then its argument prototype would still apply. */
28611 char $ac_func ();
28612 /* The GNU C library defines this for functions which it implements
28613 to always fail with ENOSYS. Some functions are actually named
28614 something starting with __ and the normal name is an alias. */
28615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28616 choke me
28617 #else
28618 char (*f) () = $ac_func;
28619 #endif
28620 #ifdef __cplusplus
28621 }
28622 #endif
28623
28624 int
28625 main ()
28626 {
28627 return f != $ac_func;
28628 ;
28629 return 0;
28630 }
28631 _ACEOF
28632 rm -f conftest.$ac_objext conftest$ac_exeext
28633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28634 (eval $ac_link) 2>&5
28635 ac_status=$?
28636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28637 (exit $ac_status); } &&
28638 { ac_try='test -s conftest$ac_exeext'
28639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28640 (eval $ac_try) 2>&5
28641 ac_status=$?
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); }; }; then
28644 eval "$as_ac_var=yes"
28645 else
28646 echo "$as_me: failed program was:" >&5
28647 sed 's/^/| /' conftest.$ac_ext >&5
28648
28649 eval "$as_ac_var=no"
28650 fi
28651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28652 fi
28653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28655 if test `eval echo '${'$as_ac_var'}'` = yes; then
28656 cat >>confdefs.h <<_ACEOF
28657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28658 _ACEOF
28659
28660 fi
28661 done
28662
28663
28664
28665 for ac_header in sched.h
28666 do
28667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28669 echo "$as_me:$LINENO: checking for $ac_header" >&5
28670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 fi
28674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28676 else
28677 # Is the header compilable?
28678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28680 cat >conftest.$ac_ext <<_ACEOF
28681 #line $LINENO "configure"
28682 /* confdefs.h. */
28683 _ACEOF
28684 cat confdefs.h >>conftest.$ac_ext
28685 cat >>conftest.$ac_ext <<_ACEOF
28686 /* end confdefs.h. */
28687 $ac_includes_default
28688 #include <$ac_header>
28689 _ACEOF
28690 rm -f conftest.$ac_objext
28691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28692 (eval $ac_compile) 2>&5
28693 ac_status=$?
28694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28695 (exit $ac_status); } &&
28696 { ac_try='test -s conftest.$ac_objext'
28697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28698 (eval $ac_try) 2>&5
28699 ac_status=$?
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); }; }; then
28702 ac_header_compiler=yes
28703 else
28704 echo "$as_me: failed program was:" >&5
28705 sed 's/^/| /' conftest.$ac_ext >&5
28706
28707 ac_header_compiler=no
28708 fi
28709 rm -f conftest.$ac_objext conftest.$ac_ext
28710 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28711 echo "${ECHO_T}$ac_header_compiler" >&6
28712
28713 # Is the header present?
28714 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28715 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28716 cat >conftest.$ac_ext <<_ACEOF
28717 #line $LINENO "configure"
28718 /* confdefs.h. */
28719 _ACEOF
28720 cat confdefs.h >>conftest.$ac_ext
28721 cat >>conftest.$ac_ext <<_ACEOF
28722 /* end confdefs.h. */
28723 #include <$ac_header>
28724 _ACEOF
28725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28727 ac_status=$?
28728 grep -v '^ *+' conftest.er1 >conftest.err
28729 rm -f conftest.er1
28730 cat conftest.err >&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); } >/dev/null; then
28733 if test -s conftest.err; then
28734 ac_cpp_err=$ac_c_preproc_warn_flag
28735 else
28736 ac_cpp_err=
28737 fi
28738 else
28739 ac_cpp_err=yes
28740 fi
28741 if test -z "$ac_cpp_err"; then
28742 ac_header_preproc=yes
28743 else
28744 echo "$as_me: failed program was:" >&5
28745 sed 's/^/| /' conftest.$ac_ext >&5
28746
28747 ac_header_preproc=no
28748 fi
28749 rm -f conftest.err conftest.$ac_ext
28750 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28751 echo "${ECHO_T}$ac_header_preproc" >&6
28752
28753 # So? What about this header?
28754 case $ac_header_compiler:$ac_header_preproc in
28755 yes:no )
28756 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28757 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28760 (
28761 cat <<\_ASBOX
28762 ## ------------------------------------ ##
28763 ## Report this to bug-autoconf@gnu.org. ##
28764 ## ------------------------------------ ##
28765 _ASBOX
28766 ) |
28767 sed "s/^/$as_me: WARNING: /" >&2
28768 ;;
28769 no:yes )
28770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28776 (
28777 cat <<\_ASBOX
28778 ## ------------------------------------ ##
28779 ## Report this to bug-autoconf@gnu.org. ##
28780 ## ------------------------------------ ##
28781 _ASBOX
28782 ) |
28783 sed "s/^/$as_me: WARNING: /" >&2
28784 ;;
28785 esac
28786 echo "$as_me:$LINENO: checking for $ac_header" >&5
28787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28789 echo $ECHO_N "(cached) $ECHO_C" >&6
28790 else
28791 eval "$as_ac_Header=$ac_header_preproc"
28792 fi
28793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28795
28796 fi
28797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28798 cat >>confdefs.h <<_ACEOF
28799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28800 _ACEOF
28801
28802 fi
28803
28804 done
28805
28806 if test "$ac_cv_header_sched_h" = "yes"; then
28807 echo "$as_me:$LINENO: checking for sched_yield" >&5
28808 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28809 if test "${ac_cv_func_sched_yield+set}" = set; then
28810 echo $ECHO_N "(cached) $ECHO_C" >&6
28811 else
28812 cat >conftest.$ac_ext <<_ACEOF
28813 #line $LINENO "configure"
28814 /* confdefs.h. */
28815 _ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819 /* System header to define __stub macros and hopefully few prototypes,
28820 which can conflict with char sched_yield (); below.
28821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28822 <limits.h> exists even on freestanding compilers. */
28823 #ifdef __STDC__
28824 # include <limits.h>
28825 #else
28826 # include <assert.h>
28827 #endif
28828 /* Override any gcc2 internal prototype to avoid an error. */
28829 #ifdef __cplusplus
28830 extern "C"
28831 {
28832 #endif
28833 /* We use char because int might match the return type of a gcc2
28834 builtin and then its argument prototype would still apply. */
28835 char sched_yield ();
28836 /* The GNU C library defines this for functions which it implements
28837 to always fail with ENOSYS. Some functions are actually named
28838 something starting with __ and the normal name is an alias. */
28839 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28840 choke me
28841 #else
28842 char (*f) () = sched_yield;
28843 #endif
28844 #ifdef __cplusplus
28845 }
28846 #endif
28847
28848 int
28849 main ()
28850 {
28851 return f != sched_yield;
28852 ;
28853 return 0;
28854 }
28855 _ACEOF
28856 rm -f conftest.$ac_objext conftest$ac_exeext
28857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28858 (eval $ac_link) 2>&5
28859 ac_status=$?
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); } &&
28862 { ac_try='test -s conftest$ac_exeext'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 ac_cv_func_sched_yield=yes
28869 else
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.$ac_ext >&5
28872
28873 ac_cv_func_sched_yield=no
28874 fi
28875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28876 fi
28877 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
28878 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
28879 if test $ac_cv_func_sched_yield = yes; then
28880 cat >>confdefs.h <<\_ACEOF
28881 #define HAVE_SCHED_YIELD 1
28882 _ACEOF
28883
28884 else
28885
28886 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
28887 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
28888 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891 ac_check_lib_save_LIBS=$LIBS
28892 LIBS="-lposix4 $LIBS"
28893 cat >conftest.$ac_ext <<_ACEOF
28894 #line $LINENO "configure"
28895 /* confdefs.h. */
28896 _ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900
28901 /* Override any gcc2 internal prototype to avoid an error. */
28902 #ifdef __cplusplus
28903 extern "C"
28904 #endif
28905 /* We use char because int might match the return type of a gcc2
28906 builtin and then its argument prototype would still apply. */
28907 char sched_yield ();
28908 int
28909 main ()
28910 {
28911 sched_yield ();
28912 ;
28913 return 0;
28914 }
28915 _ACEOF
28916 rm -f conftest.$ac_objext conftest$ac_exeext
28917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28918 (eval $ac_link) 2>&5
28919 ac_status=$?
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try='test -s conftest$ac_exeext'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28925 ac_status=$?
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; }; then
28928 ac_cv_lib_posix4_sched_yield=yes
28929 else
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28932
28933 ac_cv_lib_posix4_sched_yield=no
28934 fi
28935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28936 LIBS=$ac_check_lib_save_LIBS
28937 fi
28938 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
28939 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
28940 if test $ac_cv_lib_posix4_sched_yield = yes; then
28941 cat >>confdefs.h <<\_ACEOF
28942 #define HAVE_SCHED_YIELD 1
28943 _ACEOF
28944 POSIX4_LINK=" -lposix4"
28945 else
28946 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
28947 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
28948
28949 fi
28950
28951
28952
28953 fi
28954
28955 fi
28956
28957 HAVE_PRIOR_FUNCS=0
28958 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
28959 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
28960 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
28961 echo $ECHO_N "(cached) $ECHO_C" >&6
28962 else
28963 cat >conftest.$ac_ext <<_ACEOF
28964 #line $LINENO "configure"
28965 /* confdefs.h. */
28966 _ACEOF
28967 cat confdefs.h >>conftest.$ac_ext
28968 cat >>conftest.$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 /* System header to define __stub macros and hopefully few prototypes,
28971 which can conflict with char pthread_attr_getschedpolicy (); below.
28972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28973 <limits.h> exists even on freestanding compilers. */
28974 #ifdef __STDC__
28975 # include <limits.h>
28976 #else
28977 # include <assert.h>
28978 #endif
28979 /* Override any gcc2 internal prototype to avoid an error. */
28980 #ifdef __cplusplus
28981 extern "C"
28982 {
28983 #endif
28984 /* We use char because int might match the return type of a gcc2
28985 builtin and then its argument prototype would still apply. */
28986 char pthread_attr_getschedpolicy ();
28987 /* The GNU C library defines this for functions which it implements
28988 to always fail with ENOSYS. Some functions are actually named
28989 something starting with __ and the normal name is an alias. */
28990 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
28991 choke me
28992 #else
28993 char (*f) () = pthread_attr_getschedpolicy;
28994 #endif
28995 #ifdef __cplusplus
28996 }
28997 #endif
28998
28999 int
29000 main ()
29001 {
29002 return f != pthread_attr_getschedpolicy;
29003 ;
29004 return 0;
29005 }
29006 _ACEOF
29007 rm -f conftest.$ac_objext conftest$ac_exeext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29009 (eval $ac_link) 2>&5
29010 ac_status=$?
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } &&
29013 { ac_try='test -s conftest$ac_exeext'
29014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29015 (eval $ac_try) 2>&5
29016 ac_status=$?
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); }; }; then
29019 ac_cv_func_pthread_attr_getschedpolicy=yes
29020 else
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.$ac_ext >&5
29023
29024 ac_cv_func_pthread_attr_getschedpolicy=no
29025 fi
29026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29027 fi
29028 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29029 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29030 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29031 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29032 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29033 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 else
29036 cat >conftest.$ac_ext <<_ACEOF
29037 #line $LINENO "configure"
29038 /* confdefs.h. */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043 /* System header to define __stub macros and hopefully few prototypes,
29044 which can conflict with char pthread_attr_setschedparam (); below.
29045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29046 <limits.h> exists even on freestanding compilers. */
29047 #ifdef __STDC__
29048 # include <limits.h>
29049 #else
29050 # include <assert.h>
29051 #endif
29052 /* Override any gcc2 internal prototype to avoid an error. */
29053 #ifdef __cplusplus
29054 extern "C"
29055 {
29056 #endif
29057 /* We use char because int might match the return type of a gcc2
29058 builtin and then its argument prototype would still apply. */
29059 char pthread_attr_setschedparam ();
29060 /* The GNU C library defines this for functions which it implements
29061 to always fail with ENOSYS. Some functions are actually named
29062 something starting with __ and the normal name is an alias. */
29063 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29064 choke me
29065 #else
29066 char (*f) () = pthread_attr_setschedparam;
29067 #endif
29068 #ifdef __cplusplus
29069 }
29070 #endif
29071
29072 int
29073 main ()
29074 {
29075 return f != pthread_attr_setschedparam;
29076 ;
29077 return 0;
29078 }
29079 _ACEOF
29080 rm -f conftest.$ac_objext conftest$ac_exeext
29081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29082 (eval $ac_link) 2>&5
29083 ac_status=$?
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } &&
29086 { ac_try='test -s conftest$ac_exeext'
29087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29088 (eval $ac_try) 2>&5
29089 ac_status=$?
29090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29091 (exit $ac_status); }; }; then
29092 ac_cv_func_pthread_attr_setschedparam=yes
29093 else
29094 echo "$as_me: failed program was:" >&5
29095 sed 's/^/| /' conftest.$ac_ext >&5
29096
29097 ac_cv_func_pthread_attr_setschedparam=no
29098 fi
29099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29100 fi
29101 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29102 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29103 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29104 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29105 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29106 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29107 echo $ECHO_N "(cached) $ECHO_C" >&6
29108 else
29109 cat >conftest.$ac_ext <<_ACEOF
29110 #line $LINENO "configure"
29111 /* confdefs.h. */
29112 _ACEOF
29113 cat confdefs.h >>conftest.$ac_ext
29114 cat >>conftest.$ac_ext <<_ACEOF
29115 /* end confdefs.h. */
29116 /* System header to define __stub macros and hopefully few prototypes,
29117 which can conflict with char sched_get_priority_max (); below.
29118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29119 <limits.h> exists even on freestanding compilers. */
29120 #ifdef __STDC__
29121 # include <limits.h>
29122 #else
29123 # include <assert.h>
29124 #endif
29125 /* Override any gcc2 internal prototype to avoid an error. */
29126 #ifdef __cplusplus
29127 extern "C"
29128 {
29129 #endif
29130 /* We use char because int might match the return type of a gcc2
29131 builtin and then its argument prototype would still apply. */
29132 char sched_get_priority_max ();
29133 /* The GNU C library defines this for functions which it implements
29134 to always fail with ENOSYS. Some functions are actually named
29135 something starting with __ and the normal name is an alias. */
29136 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29137 choke me
29138 #else
29139 char (*f) () = sched_get_priority_max;
29140 #endif
29141 #ifdef __cplusplus
29142 }
29143 #endif
29144
29145 int
29146 main ()
29147 {
29148 return f != sched_get_priority_max;
29149 ;
29150 return 0;
29151 }
29152 _ACEOF
29153 rm -f conftest.$ac_objext conftest$ac_exeext
29154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29155 (eval $ac_link) 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); } &&
29159 { ac_try='test -s conftest$ac_exeext'
29160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29161 (eval $ac_try) 2>&5
29162 ac_status=$?
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); }; }; then
29165 ac_cv_func_sched_get_priority_max=yes
29166 else
29167 echo "$as_me: failed program was:" >&5
29168 sed 's/^/| /' conftest.$ac_ext >&5
29169
29170 ac_cv_func_sched_get_priority_max=no
29171 fi
29172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29173 fi
29174 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29175 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29176 if test $ac_cv_func_sched_get_priority_max = yes; then
29177 HAVE_PRIOR_FUNCS=1
29178 else
29179 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29180 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29181 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29182 echo $ECHO_N "(cached) $ECHO_C" >&6
29183 else
29184 ac_check_lib_save_LIBS=$LIBS
29185 LIBS="-lposix4 $LIBS"
29186 cat >conftest.$ac_ext <<_ACEOF
29187 #line $LINENO "configure"
29188 /* confdefs.h. */
29189 _ACEOF
29190 cat confdefs.h >>conftest.$ac_ext
29191 cat >>conftest.$ac_ext <<_ACEOF
29192 /* end confdefs.h. */
29193
29194 /* Override any gcc2 internal prototype to avoid an error. */
29195 #ifdef __cplusplus
29196 extern "C"
29197 #endif
29198 /* We use char because int might match the return type of a gcc2
29199 builtin and then its argument prototype would still apply. */
29200 char sched_get_priority_max ();
29201 int
29202 main ()
29203 {
29204 sched_get_priority_max ();
29205 ;
29206 return 0;
29207 }
29208 _ACEOF
29209 rm -f conftest.$ac_objext conftest$ac_exeext
29210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29211 (eval $ac_link) 2>&5
29212 ac_status=$?
29213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29214 (exit $ac_status); } &&
29215 { ac_try='test -s conftest$ac_exeext'
29216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29217 (eval $ac_try) 2>&5
29218 ac_status=$?
29219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29220 (exit $ac_status); }; }; then
29221 ac_cv_lib_posix4_sched_get_priority_max=yes
29222 else
29223 echo "$as_me: failed program was:" >&5
29224 sed 's/^/| /' conftest.$ac_ext >&5
29225
29226 ac_cv_lib_posix4_sched_get_priority_max=no
29227 fi
29228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29229 LIBS=$ac_check_lib_save_LIBS
29230 fi
29231 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29232 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29233 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29234
29235 HAVE_PRIOR_FUNCS=1
29236 POSIX4_LINK=" -lposix4"
29237
29238 fi
29239
29240
29241 fi
29242
29243
29244 fi
29245
29246
29247 fi
29248
29249
29250 if test "$HAVE_PRIOR_FUNCS" = 1; then
29251 cat >>confdefs.h <<\_ACEOF
29252 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29253 _ACEOF
29254
29255 else
29256 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29257 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29258 fi
29259
29260 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29261 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29262 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29263 echo $ECHO_N "(cached) $ECHO_C" >&6
29264 else
29265 cat >conftest.$ac_ext <<_ACEOF
29266 #line $LINENO "configure"
29267 /* confdefs.h. */
29268 _ACEOF
29269 cat confdefs.h >>conftest.$ac_ext
29270 cat >>conftest.$ac_ext <<_ACEOF
29271 /* end confdefs.h. */
29272 /* System header to define __stub macros and hopefully few prototypes,
29273 which can conflict with char pthread_cancel (); below.
29274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29275 <limits.h> exists even on freestanding compilers. */
29276 #ifdef __STDC__
29277 # include <limits.h>
29278 #else
29279 # include <assert.h>
29280 #endif
29281 /* Override any gcc2 internal prototype to avoid an error. */
29282 #ifdef __cplusplus
29283 extern "C"
29284 {
29285 #endif
29286 /* We use char because int might match the return type of a gcc2
29287 builtin and then its argument prototype would still apply. */
29288 char pthread_cancel ();
29289 /* The GNU C library defines this for functions which it implements
29290 to always fail with ENOSYS. Some functions are actually named
29291 something starting with __ and the normal name is an alias. */
29292 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29293 choke me
29294 #else
29295 char (*f) () = pthread_cancel;
29296 #endif
29297 #ifdef __cplusplus
29298 }
29299 #endif
29300
29301 int
29302 main ()
29303 {
29304 return f != pthread_cancel;
29305 ;
29306 return 0;
29307 }
29308 _ACEOF
29309 rm -f conftest.$ac_objext conftest$ac_exeext
29310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29311 (eval $ac_link) 2>&5
29312 ac_status=$?
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } &&
29315 { ac_try='test -s conftest$ac_exeext'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29318 ac_status=$?
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; }; then
29321 ac_cv_func_pthread_cancel=yes
29322 else
29323 echo "$as_me: failed program was:" >&5
29324 sed 's/^/| /' conftest.$ac_ext >&5
29325
29326 ac_cv_func_pthread_cancel=no
29327 fi
29328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29329 fi
29330 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29331 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29332 if test $ac_cv_func_pthread_cancel = yes; then
29333 cat >>confdefs.h <<\_ACEOF
29334 #define HAVE_PTHREAD_CANCEL 1
29335 _ACEOF
29336
29337 else
29338 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29339 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29340 fi
29341
29342
29343 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29344 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29345 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29346 echo $ECHO_N "(cached) $ECHO_C" >&6
29347 else
29348
29349 cat >conftest.$ac_ext <<_ACEOF
29350 #line $LINENO "configure"
29351 /* confdefs.h. */
29352 _ACEOF
29353 cat confdefs.h >>conftest.$ac_ext
29354 cat >>conftest.$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29356 #include <pthread.h>
29357 int
29358 main ()
29359 {
29360
29361 pthread_cleanup_push(NULL, NULL);
29362 pthread_cleanup_pop(0);
29363
29364 ;
29365 return 0;
29366 }
29367 _ACEOF
29368 rm -f conftest.$ac_objext
29369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29370 (eval $ac_compile) 2>&5
29371 ac_status=$?
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); } &&
29374 { ac_try='test -s conftest.$ac_objext'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; }; then
29380
29381 wx_cv_func_pthread_cleanup_push=yes
29382
29383 else
29384 echo "$as_me: failed program was:" >&5
29385 sed 's/^/| /' conftest.$ac_ext >&5
29386
29387
29388 wx_cv_func_pthread_cleanup_push=no
29389
29390 fi
29391 rm -f conftest.$ac_objext conftest.$ac_ext
29392
29393 fi
29394 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29395 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29396
29397 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29398 cat >>confdefs.h <<\_ACEOF
29399 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29400 _ACEOF
29401
29402 fi
29403
29404
29405 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29406 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29407 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29408 echo $ECHO_N "(cached) $ECHO_C" >&6
29409 else
29410
29411 cat >conftest.$ac_ext <<_ACEOF
29412 #line $LINENO "configure"
29413 /* confdefs.h. */
29414 _ACEOF
29415 cat confdefs.h >>conftest.$ac_ext
29416 cat >>conftest.$ac_ext <<_ACEOF
29417 /* end confdefs.h. */
29418 #include <pthread.h>
29419 int
29420 main ()
29421 {
29422
29423 pthread_mutexattr_t attr;
29424 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29425
29426 ;
29427 return 0;
29428 }
29429 _ACEOF
29430 rm -f conftest.$ac_objext
29431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29432 (eval $ac_compile) 2>&5
29433 ac_status=$?
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try='test -s conftest.$ac_objext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442
29443 wx_cv_type_pthread_mutexattr_t=yes
29444
29445 else
29446 echo "$as_me: failed program was:" >&5
29447 sed 's/^/| /' conftest.$ac_ext >&5
29448
29449
29450 wx_cv_type_pthread_mutexattr_t=no
29451
29452
29453 fi
29454 rm -f conftest.$ac_objext conftest.$ac_ext
29455
29456 fi
29457 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29458 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29459
29460 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29461 cat >>confdefs.h <<\_ACEOF
29462 #define HAVE_PTHREAD_MUTEXATTR_T 1
29463 _ACEOF
29464
29465 else
29466 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29467 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29468 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29469 echo $ECHO_N "(cached) $ECHO_C" >&6
29470 else
29471
29472 cat >conftest.$ac_ext <<_ACEOF
29473 #line $LINENO "configure"
29474 /* confdefs.h. */
29475 _ACEOF
29476 cat confdefs.h >>conftest.$ac_ext
29477 cat >>conftest.$ac_ext <<_ACEOF
29478 /* end confdefs.h. */
29479 #include <pthread.h>
29480 int
29481 main ()
29482 {
29483
29484 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29485
29486 ;
29487 return 0;
29488 }
29489 _ACEOF
29490 rm -f conftest.$ac_objext
29491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29492 (eval $ac_compile) 2>&5
29493 ac_status=$?
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); } &&
29496 { ac_try='test -s conftest.$ac_objext'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29499 ac_status=$?
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; }; then
29502
29503 wx_cv_type_pthread_rec_mutex_init=yes
29504
29505 else
29506 echo "$as_me: failed program was:" >&5
29507 sed 's/^/| /' conftest.$ac_ext >&5
29508
29509
29510 wx_cv_type_pthread_rec_mutex_init=no
29511
29512
29513 fi
29514 rm -f conftest.$ac_objext conftest.$ac_ext
29515
29516 fi
29517 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29518 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29519 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29520 cat >>confdefs.h <<\_ACEOF
29521 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29522 _ACEOF
29523
29524 else
29525 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29526 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29527 fi
29528 fi
29529 fi
29530
29531 else
29532 if test "$wxUSE_THREADS" = "yes" ; then
29533 case "${host}" in
29534 *-*-mingw32* )
29535 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29536 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29537 if test "${wx_cv_cflags_mthread+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 else
29540
29541 CFLAGS_OLD="$CFLAGS"
29542 CFLAGS="$CFLAGS -mthreads"
29543 cat >conftest.$ac_ext <<_ACEOF
29544 #line $LINENO "configure"
29545 /* confdefs.h. */
29546 _ACEOF
29547 cat confdefs.h >>conftest.$ac_ext
29548 cat >>conftest.$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29550
29551 int
29552 main ()
29553 {
29554
29555 ;
29556 return 0;
29557 }
29558 _ACEOF
29559 rm -f conftest.$ac_objext
29560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29561 (eval $ac_compile) 2>&5
29562 ac_status=$?
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); } &&
29565 { ac_try='test -s conftest.$ac_objext'
29566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29567 (eval $ac_try) 2>&5
29568 ac_status=$?
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; }; then
29571 wx_cv_cflags_mthread=yes
29572 else
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29575
29576 wx_cv_cflags_mthread=no
29577
29578 fi
29579 rm -f conftest.$ac_objext conftest.$ac_ext
29580
29581
29582 fi
29583 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29584 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29585
29586 if test "$wx_cv_cflags_mthread" = "yes"; then
29587 CXXFLAGS="$CXXFLAGS -mthreads"
29588 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29589 LDFLAGS="$LDFLAGS -mthreads"
29590 else
29591 CFLAGS="$CFLAGS_OLD"
29592 fi
29593 ;;
29594 esac
29595 fi
29596 fi
29597
29598 if test "$wxUSE_THREADS" = "yes"; then
29599 cat >>confdefs.h <<\_ACEOF
29600 #define wxUSE_THREADS 1
29601 _ACEOF
29602
29603
29604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29605 else
29606 if test "$ac_cv_func_strtok_r" = "yes"; then
29607 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29608 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29609 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29610 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29611 echo "$as_me:$LINENO: result: yes" >&5
29612 echo "${ECHO_T}yes" >&6
29613 else
29614 echo "$as_me:$LINENO: result: no" >&5
29615 echo "${ECHO_T}no" >&6
29616 fi
29617 fi
29618 fi
29619
29620 if test "$WXGTK20" = 1 ; then
29621 cat >>confdefs.h <<_ACEOF
29622 #define __WXGTK20__ $WXGTK20
29623 _ACEOF
29624
29625 WXGTK12=1
29626 fi
29627
29628 if test "$WXGTK12" = 1 ; then
29629 cat >>confdefs.h <<_ACEOF
29630 #define __WXGTK12__ $WXGTK12
29631 _ACEOF
29632
29633 fi
29634
29635 if test "$WXGTK127" = 1 ; then
29636 cat >>confdefs.h <<_ACEOF
29637 #define __WXGTK127__ $WXGTK127
29638 _ACEOF
29639
29640 fi
29641
29642 WXDEBUG=
29643
29644 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29645 WXDEBUG="-g"
29646 wxUSE_OPTIMISE=no
29647 fi
29648
29649 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29650 wxUSE_DEBUG_INFO=yes
29651 WXDEBUG="-ggdb"
29652 fi
29653
29654 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29655 cat >>confdefs.h <<\_ACEOF
29656 #define WXDEBUG 1
29657 _ACEOF
29658
29659 WXDEBUG_DEFINE="-D__WXDEBUG__"
29660 else
29661 if test "$wxUSE_GTK" = 1 ; then
29662 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29663 fi
29664 fi
29665
29666 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29667 cat >>confdefs.h <<\_ACEOF
29668 #define wxUSE_MEMORY_TRACING 1
29669 _ACEOF
29670
29671 cat >>confdefs.h <<\_ACEOF
29672 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29673 _ACEOF
29674
29675 cat >>confdefs.h <<\_ACEOF
29676 #define wxUSE_DEBUG_NEW_ALWAYS 1
29677 _ACEOF
29678
29679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29680 fi
29681
29682 if test "$wxUSE_DMALLOC" = "yes" ; then
29683 DMALLOC_LIBS="-ldmalloc"
29684 fi
29685
29686 PROFILE=
29687 if test "$wxUSE_PROFILE" = "yes" ; then
29688 PROFILE=" -pg"
29689 fi
29690
29691 CODE_GEN_FLAGS=
29692 CODE_GEN_FLAGS_CXX=
29693 if test "$GCC" = "yes" ; then
29694 if test "$wxUSE_NO_RTTI" = "yes" ; then
29695 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29696 fi
29697 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29698 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29699 fi
29700 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29701 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29702 fi
29703 if test "$USE_WIN32" = 1 ; then
29704 # I'm not even really sure what this was ever added to solve,
29705 # but someone added it for mingw native builds, so I guess
29706 # they had a reason, right??
29707 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29708 fi
29709
29710 case "${host}" in
29711 powerpc*-*-aix* )
29712 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29713 ;;
29714 *-hppa* )
29715 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29716 ;;
29717 esac
29718 fi
29719
29720 OPTIMISE=
29721 if test "$wxUSE_OPTIMISE" = "no" ; then
29722 if test "$GCC" = yes ; then
29723 OPTIMISE="-O0"
29724 fi
29725 else
29726 if test "$GCC" = yes ; then
29727 OPTIMISE="-O2"
29728
29729 case "${host}" in
29730 i586-*-*|i686-*-* )
29731 OPTIMISE="${OPTIMISE} "
29732 ;;
29733 esac
29734 else
29735 OPTIMISE="-O"
29736 fi
29737 fi
29738
29739
29740 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29741 cat >>confdefs.h <<\_ACEOF
29742 #define WXWIN_COMPATIBILITY_2 1
29743 _ACEOF
29744
29745
29746 WXWIN_COMPATIBILITY_2_2="yes"
29747 fi
29748
29749 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29750 cat >>confdefs.h <<\_ACEOF
29751 #define WXWIN_COMPATIBILITY_2_2 1
29752 _ACEOF
29753
29754
29755 WXWIN_COMPATIBILITY_2_4="yes"
29756 fi
29757
29758 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29759 cat >>confdefs.h <<\_ACEOF
29760 #define WXWIN_COMPATIBILITY_2_4 1
29761 _ACEOF
29762
29763 fi
29764
29765
29766 if test "$wxUSE_GUI" = "yes"; then
29767 cat >>confdefs.h <<\_ACEOF
29768 #define wxUSE_GUI 1
29769 _ACEOF
29770
29771
29772 else
29773 cat >>confdefs.h <<\_ACEOF
29774 #define wxUSE_NOGUI 1
29775 _ACEOF
29776
29777 fi
29778
29779
29780 if test "$wxUSE_UNIX" = "yes"; then
29781 cat >>confdefs.h <<\_ACEOF
29782 #define wxUSE_UNIX 1
29783 _ACEOF
29784
29785 fi
29786
29787
29788 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29789 cat >>confdefs.h <<\_ACEOF
29790 #define wxUSE_APPLE_IEEE 1
29791 _ACEOF
29792
29793 fi
29794
29795 if test "$wxUSE_TIMER" = "yes"; then
29796 cat >>confdefs.h <<\_ACEOF
29797 #define wxUSE_TIMER 1
29798 _ACEOF
29799
29800 fi
29801
29802 if test "$wxUSE_WAVE" = "yes"; then
29803 cat >>confdefs.h <<\_ACEOF
29804 #define wxUSE_WAVE 1
29805 _ACEOF
29806
29807 fi
29808
29809 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29810 cat >>confdefs.h <<\_ACEOF
29811 #define wxUSE_CMDLINE_PARSER 1
29812 _ACEOF
29813
29814 fi
29815
29816 if test "$wxUSE_STOPWATCH" = "yes"; then
29817 cat >>confdefs.h <<\_ACEOF
29818 #define wxUSE_STOPWATCH 1
29819 _ACEOF
29820
29821 fi
29822
29823 if test "$wxUSE_DATETIME" = "yes"; then
29824 cat >>confdefs.h <<\_ACEOF
29825 #define wxUSE_DATETIME 1
29826 _ACEOF
29827
29828 fi
29829
29830 if test "$wxUSE_FILE" = "yes"; then
29831 cat >>confdefs.h <<\_ACEOF
29832 #define wxUSE_FILE 1
29833 _ACEOF
29834
29835 fi
29836
29837 if test "$wxUSE_FFILE" = "yes"; then
29838 cat >>confdefs.h <<\_ACEOF
29839 #define wxUSE_FFILE 1
29840 _ACEOF
29841
29842 fi
29843
29844 if test "$wxUSE_FILESYSTEM" = "yes"; then
29845 cat >>confdefs.h <<\_ACEOF
29846 #define wxUSE_FILESYSTEM 1
29847 _ACEOF
29848
29849 fi
29850
29851 if test "$wxUSE_FS_INET" = "yes"; then
29852 cat >>confdefs.h <<\_ACEOF
29853 #define wxUSE_FS_INET 1
29854 _ACEOF
29855
29856 fi
29857
29858 if test "$wxUSE_FS_ZIP" = "yes"; then
29859 cat >>confdefs.h <<\_ACEOF
29860 #define wxUSE_FS_ZIP 1
29861 _ACEOF
29862
29863 fi
29864
29865 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29866 cat >>confdefs.h <<\_ACEOF
29867 #define wxUSE_ZIPSTREAM 1
29868 _ACEOF
29869
29870 fi
29871
29872 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29873 cat >>confdefs.h <<\_ACEOF
29874 #define wxUSE_ON_FATAL_EXCEPTION 1
29875 _ACEOF
29876
29877 fi
29878
29879 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29880 cat >>confdefs.h <<\_ACEOF
29881 #define wxUSE_SNGLINST_CHECKER 1
29882 _ACEOF
29883
29884 fi
29885
29886 if test "$wxUSE_BUSYINFO" = "yes"; then
29887 cat >>confdefs.h <<\_ACEOF
29888 #define wxUSE_BUSYINFO 1
29889 _ACEOF
29890
29891 fi
29892
29893 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
29894 cat >>confdefs.h <<\_ACEOF
29895 #define wxUSE_STD_IOSTREAM 1
29896 _ACEOF
29897
29898 fi
29899
29900 if test "$wxUSE_TEXTBUFFER" = "yes"; then
29901 cat >>confdefs.h <<\_ACEOF
29902 #define wxUSE_TEXTBUFFER 1
29903 _ACEOF
29904
29905 fi
29906
29907 if test "$wxUSE_TEXTFILE" = "yes"; then
29908 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
29909 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
29910 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
29911 else
29912 cat >>confdefs.h <<\_ACEOF
29913 #define wxUSE_TEXTFILE 1
29914 _ACEOF
29915
29916 fi
29917 fi
29918
29919 if test "$wxUSE_CONFIG" = "yes" ; then
29920 if test "$wxUSE_TEXTFILE" != "yes"; then
29921 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
29922 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
29923 else
29924 cat >>confdefs.h <<\_ACEOF
29925 #define wxUSE_CONFIG 1
29926 _ACEOF
29927
29928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
29929 fi
29930 fi
29931
29932 if test "$wxUSE_INTL" = "yes" ; then
29933 if test "$wxUSE_FILE" != "yes"; then
29934 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
29935 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
29936 else
29937 cat >>confdefs.h <<\_ACEOF
29938 #define wxUSE_INTL 1
29939 _ACEOF
29940
29941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
29942 GUIDIST="$GUIDIST INTL_DIST"
29943 fi
29944 fi
29945
29946 if test "$wxUSE_LOG" = "yes"; then
29947 cat >>confdefs.h <<\_ACEOF
29948 #define wxUSE_LOG 1
29949 _ACEOF
29950
29951
29952 if test "$wxUSE_LOGGUI" = "yes"; then
29953 cat >>confdefs.h <<\_ACEOF
29954 #define wxUSE_LOGGUI 1
29955 _ACEOF
29956
29957 fi
29958
29959 if test "$wxUSE_LOGWINDOW" = "yes"; then
29960 cat >>confdefs.h <<\_ACEOF
29961 #define wxUSE_LOGWINDOW 1
29962 _ACEOF
29963
29964 fi
29965
29966 if test "$wxUSE_LOGDIALOG" = "yes"; then
29967 cat >>confdefs.h <<\_ACEOF
29968 #define wxUSE_LOG_DIALOG 1
29969 _ACEOF
29970
29971 fi
29972 fi
29973
29974 if test "$wxUSE_LONGLONG" = "yes"; then
29975 cat >>confdefs.h <<\_ACEOF
29976 #define wxUSE_LONGLONG 1
29977 _ACEOF
29978
29979 fi
29980
29981 if test "$wxUSE_GEOMETRY" = "yes"; then
29982 cat >>confdefs.h <<\_ACEOF
29983 #define wxUSE_GEOMETRY 1
29984 _ACEOF
29985
29986 fi
29987
29988 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
29989 cat >>confdefs.h <<\_ACEOF
29990 #define wxUSE_DIALUP_MANAGER 1
29991 _ACEOF
29992
29993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
29994 fi
29995
29996 if test "$wxUSE_STREAMS" = "yes" ; then
29997 cat >>confdefs.h <<\_ACEOF
29998 #define wxUSE_STREAMS 1
29999 _ACEOF
30000
30001 fi
30002
30003
30004 if test "$wxUSE_DATETIME" = "yes"; then
30005
30006 for ac_func in strptime
30007 do
30008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30009 echo "$as_me:$LINENO: checking for $ac_func" >&5
30010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30011 if eval "test \"\${$as_ac_var+set}\" = set"; then
30012 echo $ECHO_N "(cached) $ECHO_C" >&6
30013 else
30014 cat >conftest.$ac_ext <<_ACEOF
30015 #line $LINENO "configure"
30016 /* confdefs.h. */
30017 _ACEOF
30018 cat confdefs.h >>conftest.$ac_ext
30019 cat >>conftest.$ac_ext <<_ACEOF
30020 /* end confdefs.h. */
30021 /* System header to define __stub macros and hopefully few prototypes,
30022 which can conflict with char $ac_func (); below.
30023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30024 <limits.h> exists even on freestanding compilers. */
30025 #ifdef __STDC__
30026 # include <limits.h>
30027 #else
30028 # include <assert.h>
30029 #endif
30030 /* Override any gcc2 internal prototype to avoid an error. */
30031 #ifdef __cplusplus
30032 extern "C"
30033 {
30034 #endif
30035 /* We use char because int might match the return type of a gcc2
30036 builtin and then its argument prototype would still apply. */
30037 char $ac_func ();
30038 /* The GNU C library defines this for functions which it implements
30039 to always fail with ENOSYS. Some functions are actually named
30040 something starting with __ and the normal name is an alias. */
30041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30042 choke me
30043 #else
30044 char (*f) () = $ac_func;
30045 #endif
30046 #ifdef __cplusplus
30047 }
30048 #endif
30049
30050 int
30051 main ()
30052 {
30053 return f != $ac_func;
30054 ;
30055 return 0;
30056 }
30057 _ACEOF
30058 rm -f conftest.$ac_objext conftest$ac_exeext
30059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30060 (eval $ac_link) 2>&5
30061 ac_status=$?
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); } &&
30064 { ac_try='test -s conftest$ac_exeext'
30065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30066 (eval $ac_try) 2>&5
30067 ac_status=$?
30068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30069 (exit $ac_status); }; }; then
30070 eval "$as_ac_var=yes"
30071 else
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.$ac_ext >&5
30074
30075 eval "$as_ac_var=no"
30076 fi
30077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30078 fi
30079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30081 if test `eval echo '${'$as_ac_var'}'` = yes; then
30082 cat >>confdefs.h <<_ACEOF
30083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30084 _ACEOF
30085
30086 fi
30087 done
30088
30089
30090 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30091 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30092 if test "${wx_cv_var_timezone+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095
30096 cat >conftest.$ac_ext <<_ACEOF
30097 #line $LINENO "configure"
30098 /* confdefs.h. */
30099 _ACEOF
30100 cat confdefs.h >>conftest.$ac_ext
30101 cat >>conftest.$ac_ext <<_ACEOF
30102 /* end confdefs.h. */
30103
30104 #include <time.h>
30105
30106 int
30107 main ()
30108 {
30109
30110 int tz;
30111 tz = timezone;
30112
30113 ;
30114 return 0;
30115 }
30116 _ACEOF
30117 rm -f conftest.$ac_objext
30118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30119 (eval $ac_compile) 2>&5
30120 ac_status=$?
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } &&
30123 { ac_try='test -s conftest.$ac_objext'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30126 ac_status=$?
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; }; then
30129
30130 wx_cv_var_timezone=timezone
30131
30132 else
30133 echo "$as_me: failed program was:" >&5
30134 sed 's/^/| /' conftest.$ac_ext >&5
30135
30136
30137 cat >conftest.$ac_ext <<_ACEOF
30138 #line $LINENO "configure"
30139 /* confdefs.h. */
30140 _ACEOF
30141 cat confdefs.h >>conftest.$ac_ext
30142 cat >>conftest.$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30144
30145 #include <time.h>
30146
30147 int
30148 main ()
30149 {
30150
30151 int tz;
30152 tz = _timezone;
30153
30154 ;
30155 return 0;
30156 }
30157 _ACEOF
30158 rm -f conftest.$ac_objext
30159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30160 (eval $ac_compile) 2>&5
30161 ac_status=$?
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); } &&
30164 { ac_try='test -s conftest.$ac_objext'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30167 ac_status=$?
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; }; then
30170
30171 wx_cv_var_timezone=_timezone
30172
30173 else
30174 echo "$as_me: failed program was:" >&5
30175 sed 's/^/| /' conftest.$ac_ext >&5
30176
30177
30178 cat >conftest.$ac_ext <<_ACEOF
30179 #line $LINENO "configure"
30180 /* confdefs.h. */
30181 _ACEOF
30182 cat confdefs.h >>conftest.$ac_ext
30183 cat >>conftest.$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30185
30186 #include <time.h>
30187
30188 int
30189 main ()
30190 {
30191
30192 int tz;
30193 tz = __timezone;
30194
30195 ;
30196 return 0;
30197 }
30198 _ACEOF
30199 rm -f conftest.$ac_objext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30201 (eval $ac_compile) 2>&5
30202 ac_status=$?
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try='test -s conftest.$ac_objext'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; }; then
30211
30212 wx_cv_var_timezone=__timezone
30213
30214 else
30215 echo "$as_me: failed program was:" >&5
30216 sed 's/^/| /' conftest.$ac_ext >&5
30217
30218
30219 if test "$USE_DOS" = 0 ; then
30220 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30221 echo "$as_me: WARNING: no timezone variable" >&2;}
30222 fi
30223
30224
30225 fi
30226 rm -f conftest.$ac_objext conftest.$ac_ext
30227
30228
30229 fi
30230 rm -f conftest.$ac_objext conftest.$ac_ext
30231
30232
30233 fi
30234 rm -f conftest.$ac_objext conftest.$ac_ext
30235
30236
30237 fi
30238 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30239 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30240
30241 if test "x$wx_cv_var_timezone" != x ; then
30242 cat >>confdefs.h <<_ACEOF
30243 #define WX_TIMEZONE $wx_cv_var_timezone
30244 _ACEOF
30245
30246 fi
30247
30248
30249 for ac_func in localtime
30250 do
30251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30252 echo "$as_me:$LINENO: checking for $ac_func" >&5
30253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30254 if eval "test \"\${$as_ac_var+set}\" = set"; then
30255 echo $ECHO_N "(cached) $ECHO_C" >&6
30256 else
30257 cat >conftest.$ac_ext <<_ACEOF
30258 #line $LINENO "configure"
30259 /* confdefs.h. */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 /* System header to define __stub macros and hopefully few prototypes,
30265 which can conflict with char $ac_func (); below.
30266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30267 <limits.h> exists even on freestanding compilers. */
30268 #ifdef __STDC__
30269 # include <limits.h>
30270 #else
30271 # include <assert.h>
30272 #endif
30273 /* Override any gcc2 internal prototype to avoid an error. */
30274 #ifdef __cplusplus
30275 extern "C"
30276 {
30277 #endif
30278 /* We use char because int might match the return type of a gcc2
30279 builtin and then its argument prototype would still apply. */
30280 char $ac_func ();
30281 /* The GNU C library defines this for functions which it implements
30282 to always fail with ENOSYS. Some functions are actually named
30283 something starting with __ and the normal name is an alias. */
30284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30285 choke me
30286 #else
30287 char (*f) () = $ac_func;
30288 #endif
30289 #ifdef __cplusplus
30290 }
30291 #endif
30292
30293 int
30294 main ()
30295 {
30296 return f != $ac_func;
30297 ;
30298 return 0;
30299 }
30300 _ACEOF
30301 rm -f conftest.$ac_objext conftest$ac_exeext
30302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30303 (eval $ac_link) 2>&5
30304 ac_status=$?
30305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306 (exit $ac_status); } &&
30307 { ac_try='test -s conftest$ac_exeext'
30308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30309 (eval $ac_try) 2>&5
30310 ac_status=$?
30311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); }; }; then
30313 eval "$as_ac_var=yes"
30314 else
30315 echo "$as_me: failed program was:" >&5
30316 sed 's/^/| /' conftest.$ac_ext >&5
30317
30318 eval "$as_ac_var=no"
30319 fi
30320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30321 fi
30322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30324 if test `eval echo '${'$as_ac_var'}'` = yes; then
30325 cat >>confdefs.h <<_ACEOF
30326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30327 _ACEOF
30328
30329 fi
30330 done
30331
30332
30333 if test "$ac_cv_func_localtime" = "yes"; then
30334 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30335 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30336 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30337 echo $ECHO_N "(cached) $ECHO_C" >&6
30338 else
30339
30340 cat >conftest.$ac_ext <<_ACEOF
30341 #line $LINENO "configure"
30342 /* confdefs.h. */
30343 _ACEOF
30344 cat confdefs.h >>conftest.$ac_ext
30345 cat >>conftest.$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30347
30348 #include <time.h>
30349
30350 int
30351 main ()
30352 {
30353
30354 struct tm tm;
30355 tm.tm_gmtoff++;
30356
30357 ;
30358 return 0;
30359 }
30360 _ACEOF
30361 rm -f conftest.$ac_objext
30362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30363 (eval $ac_compile) 2>&5
30364 ac_status=$?
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); } &&
30367 { ac_try='test -s conftest.$ac_objext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30373
30374 wx_cv_struct_tm_has_gmtoff=yes
30375
30376 else
30377 echo "$as_me: failed program was:" >&5
30378 sed 's/^/| /' conftest.$ac_ext >&5
30379
30380 wx_cv_struct_tm_has_gmtoff=no
30381
30382 fi
30383 rm -f conftest.$ac_objext conftest.$ac_ext
30384
30385 fi
30386 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30387 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30388 fi
30389
30390 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30391 cat >>confdefs.h <<\_ACEOF
30392 #define WX_GMTOFF_IN_TM 1
30393 _ACEOF
30394
30395 fi
30396
30397
30398
30399 for ac_func in gettimeofday ftime
30400 do
30401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30402 echo "$as_me:$LINENO: checking for $ac_func" >&5
30403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30404 if eval "test \"\${$as_ac_var+set}\" = set"; then
30405 echo $ECHO_N "(cached) $ECHO_C" >&6
30406 else
30407 cat >conftest.$ac_ext <<_ACEOF
30408 #line $LINENO "configure"
30409 /* confdefs.h. */
30410 _ACEOF
30411 cat confdefs.h >>conftest.$ac_ext
30412 cat >>conftest.$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30414 /* System header to define __stub macros and hopefully few prototypes,
30415 which can conflict with char $ac_func (); below.
30416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30417 <limits.h> exists even on freestanding compilers. */
30418 #ifdef __STDC__
30419 # include <limits.h>
30420 #else
30421 # include <assert.h>
30422 #endif
30423 /* Override any gcc2 internal prototype to avoid an error. */
30424 #ifdef __cplusplus
30425 extern "C"
30426 {
30427 #endif
30428 /* We use char because int might match the return type of a gcc2
30429 builtin and then its argument prototype would still apply. */
30430 char $ac_func ();
30431 /* The GNU C library defines this for functions which it implements
30432 to always fail with ENOSYS. Some functions are actually named
30433 something starting with __ and the normal name is an alias. */
30434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30435 choke me
30436 #else
30437 char (*f) () = $ac_func;
30438 #endif
30439 #ifdef __cplusplus
30440 }
30441 #endif
30442
30443 int
30444 main ()
30445 {
30446 return f != $ac_func;
30447 ;
30448 return 0;
30449 }
30450 _ACEOF
30451 rm -f conftest.$ac_objext conftest$ac_exeext
30452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30453 (eval $ac_link) 2>&5
30454 ac_status=$?
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } &&
30457 { ac_try='test -s conftest$ac_exeext'
30458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30459 (eval $ac_try) 2>&5
30460 ac_status=$?
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; }; then
30463 eval "$as_ac_var=yes"
30464 else
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.$ac_ext >&5
30467
30468 eval "$as_ac_var=no"
30469 fi
30470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30471 fi
30472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30474 if test `eval echo '${'$as_ac_var'}'` = yes; then
30475 cat >>confdefs.h <<_ACEOF
30476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30477 _ACEOF
30478 break
30479 fi
30480 done
30481
30482
30483 if test "$ac_cv_func_gettimeofday" = "yes"; then
30484 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30485 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30486 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30487 echo $ECHO_N "(cached) $ECHO_C" >&6
30488 else
30489
30490
30491
30492 ac_ext=cc
30493 ac_cpp='$CXXCPP $CPPFLAGS'
30494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30497
30498
30499 cat >conftest.$ac_ext <<_ACEOF
30500 #line $LINENO "configure"
30501 /* confdefs.h. */
30502 _ACEOF
30503 cat confdefs.h >>conftest.$ac_ext
30504 cat >>conftest.$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30506
30507 #include <sys/time.h>
30508 #include <unistd.h>
30509
30510 int
30511 main ()
30512 {
30513
30514 struct timeval tv;
30515 gettimeofday(&tv, NULL);
30516
30517 ;
30518 return 0;
30519 }
30520 _ACEOF
30521 rm -f conftest.$ac_objext
30522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30523 (eval $ac_compile) 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); } &&
30527 { ac_try='test -s conftest.$ac_objext'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30530 ac_status=$?
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; }; then
30533 wx_cv_func_gettimeofday_has_2_args=yes
30534 else
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30537
30538 cat >conftest.$ac_ext <<_ACEOF
30539 #line $LINENO "configure"
30540 /* confdefs.h. */
30541 _ACEOF
30542 cat confdefs.h >>conftest.$ac_ext
30543 cat >>conftest.$ac_ext <<_ACEOF
30544 /* end confdefs.h. */
30545
30546 #include <sys/time.h>
30547 #include <unistd.h>
30548
30549 int
30550 main ()
30551 {
30552
30553 struct timeval tv;
30554 gettimeofday(&tv);
30555
30556 ;
30557 return 0;
30558 }
30559 _ACEOF
30560 rm -f conftest.$ac_objext
30561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30562 (eval $ac_compile) 2>&5
30563 ac_status=$?
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } &&
30566 { ac_try='test -s conftest.$ac_objext'
30567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30568 (eval $ac_try) 2>&5
30569 ac_status=$?
30570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30571 (exit $ac_status); }; }; then
30572 wx_cv_func_gettimeofday_has_2_args=no
30573 else
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30576
30577
30578 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30579 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30580 wx_cv_func_gettimeofday_has_2_args=unknown
30581
30582
30583 fi
30584 rm -f conftest.$ac_objext conftest.$ac_ext
30585
30586 fi
30587 rm -f conftest.$ac_objext conftest.$ac_ext
30588 ac_ext=c
30589 ac_cpp='$CPP $CPPFLAGS'
30590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30593
30594
30595 fi
30596 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30597 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30598
30599 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30600 cat >>confdefs.h <<\_ACEOF
30601 #define WX_GETTIMEOFDAY_NO_TZ 1
30602 _ACEOF
30603
30604 fi
30605 fi
30606
30607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30608 fi
30609
30610
30611 if test "$wxUSE_SOCKETS" = "yes"; then
30612 if test "$wxUSE_MGL" = "1"; then
30613 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30614 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30615 wxUSE_SOCKETS="no"
30616 fi
30617 fi
30618
30619 if test "$wxUSE_SOCKETS" = "yes"; then
30620 if test "$TOOLKIT" != "MSW"; then
30621 echo "$as_me:$LINENO: checking for socket" >&5
30622 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30623 if test "${ac_cv_func_socket+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 else
30626 cat >conftest.$ac_ext <<_ACEOF
30627 #line $LINENO "configure"
30628 /* confdefs.h. */
30629 _ACEOF
30630 cat confdefs.h >>conftest.$ac_ext
30631 cat >>conftest.$ac_ext <<_ACEOF
30632 /* end confdefs.h. */
30633 /* System header to define __stub macros and hopefully few prototypes,
30634 which can conflict with char socket (); below.
30635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30636 <limits.h> exists even on freestanding compilers. */
30637 #ifdef __STDC__
30638 # include <limits.h>
30639 #else
30640 # include <assert.h>
30641 #endif
30642 /* Override any gcc2 internal prototype to avoid an error. */
30643 #ifdef __cplusplus
30644 extern "C"
30645 {
30646 #endif
30647 /* We use char because int might match the return type of a gcc2
30648 builtin and then its argument prototype would still apply. */
30649 char socket ();
30650 /* The GNU C library defines this for functions which it implements
30651 to always fail with ENOSYS. Some functions are actually named
30652 something starting with __ and the normal name is an alias. */
30653 #if defined (__stub_socket) || defined (__stub___socket)
30654 choke me
30655 #else
30656 char (*f) () = socket;
30657 #endif
30658 #ifdef __cplusplus
30659 }
30660 #endif
30661
30662 int
30663 main ()
30664 {
30665 return f != socket;
30666 ;
30667 return 0;
30668 }
30669 _ACEOF
30670 rm -f conftest.$ac_objext conftest$ac_exeext
30671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30672 (eval $ac_link) 2>&5
30673 ac_status=$?
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } &&
30676 { ac_try='test -s conftest$ac_exeext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30679 ac_status=$?
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 ac_cv_func_socket=yes
30683 else
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30686
30687 ac_cv_func_socket=no
30688 fi
30689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30690 fi
30691 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30692 echo "${ECHO_T}$ac_cv_func_socket" >&6
30693 if test $ac_cv_func_socket = yes; then
30694 :
30695 else
30696 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30697 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30698 if test "${ac_cv_lib_socket_socket+set}" = set; then
30699 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30701 ac_check_lib_save_LIBS=$LIBS
30702 LIBS="-lsocket $LIBS"
30703 cat >conftest.$ac_ext <<_ACEOF
30704 #line $LINENO "configure"
30705 /* confdefs.h. */
30706 _ACEOF
30707 cat confdefs.h >>conftest.$ac_ext
30708 cat >>conftest.$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30710
30711 /* Override any gcc2 internal prototype to avoid an error. */
30712 #ifdef __cplusplus
30713 extern "C"
30714 #endif
30715 /* We use char because int might match the return type of a gcc2
30716 builtin and then its argument prototype would still apply. */
30717 char socket ();
30718 int
30719 main ()
30720 {
30721 socket ();
30722 ;
30723 return 0;
30724 }
30725 _ACEOF
30726 rm -f conftest.$ac_objext conftest$ac_exeext
30727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30728 (eval $ac_link) 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); } &&
30732 { ac_try='test -s conftest$ac_exeext'
30733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30734 (eval $ac_try) 2>&5
30735 ac_status=$?
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); }; }; then
30738 ac_cv_lib_socket_socket=yes
30739 else
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30742
30743 ac_cv_lib_socket_socket=no
30744 fi
30745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30746 LIBS=$ac_check_lib_save_LIBS
30747 fi
30748 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30749 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30750 if test $ac_cv_lib_socket_socket = yes; then
30751 if test "$INET_LINK" != " -lsocket"; then
30752 INET_LINK="$INET_LINK -lsocket"
30753 fi
30754 else
30755
30756 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30757 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30758 wxUSE_SOCKETS=no
30759
30760
30761 fi
30762
30763
30764 fi
30765
30766 fi
30767 fi
30768
30769 if test "$wxUSE_SOCKETS" = "yes" ; then
30770 if test "$TOOLKIT" != "MSW"; then
30771 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30772 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30773 if test "${wx_cv_type_getsockname3+set}" = set; then
30774 echo $ECHO_N "(cached) $ECHO_C" >&6
30775 else
30776
30777 cat >conftest.$ac_ext <<_ACEOF
30778 #line $LINENO "configure"
30779 /* confdefs.h. */
30780 _ACEOF
30781 cat confdefs.h >>conftest.$ac_ext
30782 cat >>conftest.$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30784
30785 #include <sys/types.h>
30786 #include <sys/socket.h>
30787
30788 int
30789 main ()
30790 {
30791
30792 socklen_t len;
30793 getsockname(0, 0, &len);
30794
30795 ;
30796 return 0;
30797 }
30798 _ACEOF
30799 rm -f conftest.$ac_objext
30800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30801 (eval $ac_compile) 2>&5
30802 ac_status=$?
30803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 (exit $ac_status); } &&
30805 { ac_try='test -s conftest.$ac_objext'
30806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30807 (eval $ac_try) 2>&5
30808 ac_status=$?
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); }; }; then
30811 wx_cv_type_getsockname3=socklen_t
30812 else
30813 echo "$as_me: failed program was:" >&5
30814 sed 's/^/| /' conftest.$ac_ext >&5
30815
30816
30817 CFLAGS_OLD="$CFLAGS"
30818 if test "$GCC" = yes ; then
30819 CFLAGS="$CFLAGS -Werror"
30820 fi
30821
30822 cat >conftest.$ac_ext <<_ACEOF
30823 #line $LINENO "configure"
30824 /* confdefs.h. */
30825 _ACEOF
30826 cat confdefs.h >>conftest.$ac_ext
30827 cat >>conftest.$ac_ext <<_ACEOF
30828 /* end confdefs.h. */
30829
30830 #include <sys/types.h>
30831 #include <sys/socket.h>
30832
30833 int
30834 main ()
30835 {
30836
30837 size_t len;
30838 getsockname(0, 0, &len);
30839
30840 ;
30841 return 0;
30842 }
30843 _ACEOF
30844 rm -f conftest.$ac_objext
30845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30846 (eval $ac_compile) 2>&5
30847 ac_status=$?
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); } &&
30850 { ac_try='test -s conftest.$ac_objext'
30851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30852 (eval $ac_try) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); }; }; then
30856 wx_cv_type_getsockname3=size_t
30857 else
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.$ac_ext >&5
30860
30861 cat >conftest.$ac_ext <<_ACEOF
30862 #line $LINENO "configure"
30863 /* confdefs.h. */
30864 _ACEOF
30865 cat confdefs.h >>conftest.$ac_ext
30866 cat >>conftest.$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30868
30869 #include <sys/types.h>
30870 #include <sys/socket.h>
30871
30872 int
30873 main ()
30874 {
30875
30876 int len;
30877 getsockname(0, 0, &len);
30878
30879 ;
30880 return 0;
30881 }
30882 _ACEOF
30883 rm -f conftest.$ac_objext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30885 (eval $ac_compile) 2>&5
30886 ac_status=$?
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); } &&
30889 { ac_try='test -s conftest.$ac_objext'
30890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30891 (eval $ac_try) 2>&5
30892 ac_status=$?
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); }; }; then
30895 wx_cv_type_getsockname3=int
30896 else
30897 echo "$as_me: failed program was:" >&5
30898 sed 's/^/| /' conftest.$ac_ext >&5
30899
30900 wx_cv_type_getsockname3=unknown
30901
30902 fi
30903 rm -f conftest.$ac_objext conftest.$ac_ext
30904
30905 fi
30906 rm -f conftest.$ac_objext conftest.$ac_ext
30907
30908 CFLAGS="$CFLAGS_OLD"
30909
30910
30911 fi
30912 rm -f conftest.$ac_objext conftest.$ac_ext
30913
30914 fi
30915 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
30916 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
30917
30918 if test "$wx_cv_type_getsockname3" = "unknown"; then
30919 wxUSE_SOCKETS=no
30920 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
30921 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
30922 else
30923 cat >>confdefs.h <<_ACEOF
30924 #define SOCKLEN_T $wx_cv_type_getsockname3
30925 _ACEOF
30926
30927 fi
30928 fi
30929 fi
30930
30931 if test "$wxUSE_SOCKETS" = "yes" ; then
30932 cat >>confdefs.h <<\_ACEOF
30933 #define wxUSE_SOCKETS 1
30934 _ACEOF
30935
30936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
30937 fi
30938
30939
30940 if test "$wxUSE_GUI" = "yes"; then
30941
30942 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
30943 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
30944 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
30945 wxUSE_JOYSTICK=no
30946 fi
30947 if test "$TOOLKIT" = "MOTIF"; then
30948 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
30949 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
30950 wxUSE_JOYSTICK=no
30951 fi
30952 if test "$TOOLKIT" = "X11"; then
30953 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
30954 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
30955 wxUSE_JOYSTICK=no
30956 fi
30957
30958 if test "$TOOLKIT" != "MSW"; then
30959 if test "$wxUSE_JOYSTICK" = "yes"; then
30960
30961 for ac_header in linux/joystick.h
30962 do
30963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30965 echo "$as_me:$LINENO: checking for $ac_header" >&5
30966 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30967 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30968 echo $ECHO_N "(cached) $ECHO_C" >&6
30969 fi
30970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30972 else
30973 # Is the header compilable?
30974 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30975 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30976 cat >conftest.$ac_ext <<_ACEOF
30977 #line $LINENO "configure"
30978 /* confdefs.h. */
30979 _ACEOF
30980 cat confdefs.h >>conftest.$ac_ext
30981 cat >>conftest.$ac_ext <<_ACEOF
30982 /* end confdefs.h. */
30983 $ac_includes_default
30984 #include <$ac_header>
30985 _ACEOF
30986 rm -f conftest.$ac_objext
30987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30988 (eval $ac_compile) 2>&5
30989 ac_status=$?
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); } &&
30992 { ac_try='test -s conftest.$ac_objext'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30995 ac_status=$?
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; }; then
30998 ac_header_compiler=yes
30999 else
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31002
31003 ac_header_compiler=no
31004 fi
31005 rm -f conftest.$ac_objext conftest.$ac_ext
31006 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31007 echo "${ECHO_T}$ac_header_compiler" >&6
31008
31009 # Is the header present?
31010 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31011 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31012 cat >conftest.$ac_ext <<_ACEOF
31013 #line $LINENO "configure"
31014 /* confdefs.h. */
31015 _ACEOF
31016 cat confdefs.h >>conftest.$ac_ext
31017 cat >>conftest.$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019 #include <$ac_header>
31020 _ACEOF
31021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31023 ac_status=$?
31024 grep -v '^ *+' conftest.er1 >conftest.err
31025 rm -f conftest.er1
31026 cat conftest.err >&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); } >/dev/null; then
31029 if test -s conftest.err; then
31030 ac_cpp_err=$ac_c_preproc_warn_flag
31031 else
31032 ac_cpp_err=
31033 fi
31034 else
31035 ac_cpp_err=yes
31036 fi
31037 if test -z "$ac_cpp_err"; then
31038 ac_header_preproc=yes
31039 else
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31042
31043 ac_header_preproc=no
31044 fi
31045 rm -f conftest.err conftest.$ac_ext
31046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31047 echo "${ECHO_T}$ac_header_preproc" >&6
31048
31049 # So? What about this header?
31050 case $ac_header_compiler:$ac_header_preproc in
31051 yes:no )
31052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31056 (
31057 cat <<\_ASBOX
31058 ## ------------------------------------ ##
31059 ## Report this to bug-autoconf@gnu.org. ##
31060 ## ------------------------------------ ##
31061 _ASBOX
31062 ) |
31063 sed "s/^/$as_me: WARNING: /" >&2
31064 ;;
31065 no:yes )
31066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31067 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31069 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31072 (
31073 cat <<\_ASBOX
31074 ## ------------------------------------ ##
31075 ## Report this to bug-autoconf@gnu.org. ##
31076 ## ------------------------------------ ##
31077 _ASBOX
31078 ) |
31079 sed "s/^/$as_me: WARNING: /" >&2
31080 ;;
31081 esac
31082 echo "$as_me:$LINENO: checking for $ac_header" >&5
31083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31086 else
31087 eval "$as_ac_Header=$ac_header_preproc"
31088 fi
31089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31091
31092 fi
31093 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31094 cat >>confdefs.h <<_ACEOF
31095 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31096 _ACEOF
31097
31098 fi
31099
31100 done
31101
31102 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31103 wxUSE_JOYSTICK=no
31104 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31105 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31106 fi
31107 fi
31108 fi
31109
31110 if test "$wxUSE_JOYSTICK" = "yes"; then
31111 cat >>confdefs.h <<\_ACEOF
31112 #define wxUSE_JOYSTICK 1
31113 _ACEOF
31114
31115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31116 fi
31117 fi
31118
31119
31120 if test "$TOOLKIT" != "MSW"; then
31121
31122 HAVE_DL_FUNCS=0
31123 HAVE_SHL_FUNCS=0
31124 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31125 if test "$USE_DARWIN" = 1; then
31126 HAVE_DL_FUNCS=1
31127 else
31128
31129 for ac_func in dlopen
31130 do
31131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31132 echo "$as_me:$LINENO: checking for $ac_func" >&5
31133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31134 if eval "test \"\${$as_ac_var+set}\" = set"; then
31135 echo $ECHO_N "(cached) $ECHO_C" >&6
31136 else
31137 cat >conftest.$ac_ext <<_ACEOF
31138 #line $LINENO "configure"
31139 /* confdefs.h. */
31140 _ACEOF
31141 cat confdefs.h >>conftest.$ac_ext
31142 cat >>conftest.$ac_ext <<_ACEOF
31143 /* end confdefs.h. */
31144 /* System header to define __stub macros and hopefully few prototypes,
31145 which can conflict with char $ac_func (); below.
31146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31147 <limits.h> exists even on freestanding compilers. */
31148 #ifdef __STDC__
31149 # include <limits.h>
31150 #else
31151 # include <assert.h>
31152 #endif
31153 /* Override any gcc2 internal prototype to avoid an error. */
31154 #ifdef __cplusplus
31155 extern "C"
31156 {
31157 #endif
31158 /* We use char because int might match the return type of a gcc2
31159 builtin and then its argument prototype would still apply. */
31160 char $ac_func ();
31161 /* The GNU C library defines this for functions which it implements
31162 to always fail with ENOSYS. Some functions are actually named
31163 something starting with __ and the normal name is an alias. */
31164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31165 choke me
31166 #else
31167 char (*f) () = $ac_func;
31168 #endif
31169 #ifdef __cplusplus
31170 }
31171 #endif
31172
31173 int
31174 main ()
31175 {
31176 return f != $ac_func;
31177 ;
31178 return 0;
31179 }
31180 _ACEOF
31181 rm -f conftest.$ac_objext conftest$ac_exeext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31183 (eval $ac_link) 2>&5
31184 ac_status=$?
31185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31186 (exit $ac_status); } &&
31187 { ac_try='test -s conftest$ac_exeext'
31188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31189 (eval $ac_try) 2>&5
31190 ac_status=$?
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); }; }; then
31193 eval "$as_ac_var=yes"
31194 else
31195 echo "$as_me: failed program was:" >&5
31196 sed 's/^/| /' conftest.$ac_ext >&5
31197
31198 eval "$as_ac_var=no"
31199 fi
31200 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31201 fi
31202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31204 if test `eval echo '${'$as_ac_var'}'` = yes; then
31205 cat >>confdefs.h <<_ACEOF
31206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31207 _ACEOF
31208
31209 cat >>confdefs.h <<\_ACEOF
31210 #define HAVE_DLOPEN 1
31211 _ACEOF
31212
31213 HAVE_DL_FUNCS=1
31214
31215 else
31216
31217 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31218 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31219 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31220 echo $ECHO_N "(cached) $ECHO_C" >&6
31221 else
31222 ac_check_lib_save_LIBS=$LIBS
31223 LIBS="-ldl $LIBS"
31224 cat >conftest.$ac_ext <<_ACEOF
31225 #line $LINENO "configure"
31226 /* confdefs.h. */
31227 _ACEOF
31228 cat confdefs.h >>conftest.$ac_ext
31229 cat >>conftest.$ac_ext <<_ACEOF
31230 /* end confdefs.h. */
31231
31232 /* Override any gcc2 internal prototype to avoid an error. */
31233 #ifdef __cplusplus
31234 extern "C"
31235 #endif
31236 /* We use char because int might match the return type of a gcc2
31237 builtin and then its argument prototype would still apply. */
31238 char dlopen ();
31239 int
31240 main ()
31241 {
31242 dlopen ();
31243 ;
31244 return 0;
31245 }
31246 _ACEOF
31247 rm -f conftest.$ac_objext conftest$ac_exeext
31248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31249 (eval $ac_link) 2>&5
31250 ac_status=$?
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } &&
31253 { ac_try='test -s conftest$ac_exeext'
31254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255 (eval $ac_try) 2>&5
31256 ac_status=$?
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); }; }; then
31259 ac_cv_lib_dl_dlopen=yes
31260 else
31261 echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.$ac_ext >&5
31263
31264 ac_cv_lib_dl_dlopen=no
31265 fi
31266 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31267 LIBS=$ac_check_lib_save_LIBS
31268 fi
31269 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31270 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31271 if test $ac_cv_lib_dl_dlopen = yes; then
31272
31273 cat >>confdefs.h <<\_ACEOF
31274 #define HAVE_DLOPEN 1
31275 _ACEOF
31276
31277 HAVE_DL_FUNCS=1
31278 DL_LINK=" -ldl$DL_LINK"
31279
31280 else
31281
31282
31283 for ac_func in shl_load
31284 do
31285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31286 echo "$as_me:$LINENO: checking for $ac_func" >&5
31287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31288 if eval "test \"\${$as_ac_var+set}\" = set"; then
31289 echo $ECHO_N "(cached) $ECHO_C" >&6
31290 else
31291 cat >conftest.$ac_ext <<_ACEOF
31292 #line $LINENO "configure"
31293 /* confdefs.h. */
31294 _ACEOF
31295 cat confdefs.h >>conftest.$ac_ext
31296 cat >>conftest.$ac_ext <<_ACEOF
31297 /* end confdefs.h. */
31298 /* System header to define __stub macros and hopefully few prototypes,
31299 which can conflict with char $ac_func (); below.
31300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31301 <limits.h> exists even on freestanding compilers. */
31302 #ifdef __STDC__
31303 # include <limits.h>
31304 #else
31305 # include <assert.h>
31306 #endif
31307 /* Override any gcc2 internal prototype to avoid an error. */
31308 #ifdef __cplusplus
31309 extern "C"
31310 {
31311 #endif
31312 /* We use char because int might match the return type of a gcc2
31313 builtin and then its argument prototype would still apply. */
31314 char $ac_func ();
31315 /* The GNU C library defines this for functions which it implements
31316 to always fail with ENOSYS. Some functions are actually named
31317 something starting with __ and the normal name is an alias. */
31318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31319 choke me
31320 #else
31321 char (*f) () = $ac_func;
31322 #endif
31323 #ifdef __cplusplus
31324 }
31325 #endif
31326
31327 int
31328 main ()
31329 {
31330 return f != $ac_func;
31331 ;
31332 return 0;
31333 }
31334 _ACEOF
31335 rm -f conftest.$ac_objext conftest$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337 (eval $ac_link) 2>&5
31338 ac_status=$?
31339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31340 (exit $ac_status); } &&
31341 { ac_try='test -s conftest$ac_exeext'
31342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31343 (eval $ac_try) 2>&5
31344 ac_status=$?
31345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31346 (exit $ac_status); }; }; then
31347 eval "$as_ac_var=yes"
31348 else
31349 echo "$as_me: failed program was:" >&5
31350 sed 's/^/| /' conftest.$ac_ext >&5
31351
31352 eval "$as_ac_var=no"
31353 fi
31354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31355 fi
31356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31358 if test `eval echo '${'$as_ac_var'}'` = yes; then
31359 cat >>confdefs.h <<_ACEOF
31360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31361 _ACEOF
31362
31363 cat >>confdefs.h <<\_ACEOF
31364 #define HAVE_SHL_LOAD 1
31365 _ACEOF
31366
31367 HAVE_SHL_FUNCS=1
31368
31369 else
31370
31371 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31372 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31373 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31374 echo $ECHO_N "(cached) $ECHO_C" >&6
31375 else
31376 ac_check_lib_save_LIBS=$LIBS
31377 LIBS="-lshl_load $LIBS"
31378 cat >conftest.$ac_ext <<_ACEOF
31379 #line $LINENO "configure"
31380 /* confdefs.h. */
31381 _ACEOF
31382 cat confdefs.h >>conftest.$ac_ext
31383 cat >>conftest.$ac_ext <<_ACEOF
31384 /* end confdefs.h. */
31385
31386 /* Override any gcc2 internal prototype to avoid an error. */
31387 #ifdef __cplusplus
31388 extern "C"
31389 #endif
31390 /* We use char because int might match the return type of a gcc2
31391 builtin and then its argument prototype would still apply. */
31392 char dld ();
31393 int
31394 main ()
31395 {
31396 dld ();
31397 ;
31398 return 0;
31399 }
31400 _ACEOF
31401 rm -f conftest.$ac_objext conftest$ac_exeext
31402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31403 (eval $ac_link) 2>&5
31404 ac_status=$?
31405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31406 (exit $ac_status); } &&
31407 { ac_try='test -s conftest$ac_exeext'
31408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31409 (eval $ac_try) 2>&5
31410 ac_status=$?
31411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31412 (exit $ac_status); }; }; then
31413 ac_cv_lib_shl_load_dld=yes
31414 else
31415 echo "$as_me: failed program was:" >&5
31416 sed 's/^/| /' conftest.$ac_ext >&5
31417
31418 ac_cv_lib_shl_load_dld=no
31419 fi
31420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31421 LIBS=$ac_check_lib_save_LIBS
31422 fi
31423 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31424 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31425 if test $ac_cv_lib_shl_load_dld = yes; then
31426
31427 HAVE_SHL_FUNCS=1
31428 DL_LINK=" -ldld$DL_LINK"
31429
31430 fi
31431
31432
31433 fi
31434 done
31435
31436
31437 fi
31438
31439
31440 fi
31441 done
31442
31443
31444 if test "$HAVE_DL_FUNCS" = 1; then
31445
31446 for ac_func in dlerror
31447 do
31448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31449 echo "$as_me:$LINENO: checking for $ac_func" >&5
31450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31451 if eval "test \"\${$as_ac_var+set}\" = set"; then
31452 echo $ECHO_N "(cached) $ECHO_C" >&6
31453 else
31454 cat >conftest.$ac_ext <<_ACEOF
31455 #line $LINENO "configure"
31456 /* confdefs.h. */
31457 _ACEOF
31458 cat confdefs.h >>conftest.$ac_ext
31459 cat >>conftest.$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31461 /* System header to define __stub macros and hopefully few prototypes,
31462 which can conflict with char $ac_func (); below.
31463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31464 <limits.h> exists even on freestanding compilers. */
31465 #ifdef __STDC__
31466 # include <limits.h>
31467 #else
31468 # include <assert.h>
31469 #endif
31470 /* Override any gcc2 internal prototype to avoid an error. */
31471 #ifdef __cplusplus
31472 extern "C"
31473 {
31474 #endif
31475 /* We use char because int might match the return type of a gcc2
31476 builtin and then its argument prototype would still apply. */
31477 char $ac_func ();
31478 /* The GNU C library defines this for functions which it implements
31479 to always fail with ENOSYS. Some functions are actually named
31480 something starting with __ and the normal name is an alias. */
31481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31482 choke me
31483 #else
31484 char (*f) () = $ac_func;
31485 #endif
31486 #ifdef __cplusplus
31487 }
31488 #endif
31489
31490 int
31491 main ()
31492 {
31493 return f != $ac_func;
31494 ;
31495 return 0;
31496 }
31497 _ACEOF
31498 rm -f conftest.$ac_objext conftest$ac_exeext
31499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31500 (eval $ac_link) 2>&5
31501 ac_status=$?
31502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31503 (exit $ac_status); } &&
31504 { ac_try='test -s conftest$ac_exeext'
31505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31506 (eval $ac_try) 2>&5
31507 ac_status=$?
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; }; then
31510 eval "$as_ac_var=yes"
31511 else
31512 echo "$as_me: failed program was:" >&5
31513 sed 's/^/| /' conftest.$ac_ext >&5
31514
31515 eval "$as_ac_var=no"
31516 fi
31517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31518 fi
31519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31521 if test `eval echo '${'$as_ac_var'}'` = yes; then
31522 cat >>confdefs.h <<_ACEOF
31523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31524 _ACEOF
31525 cat >>confdefs.h <<\_ACEOF
31526 #define HAVE_DLERROR 1
31527 _ACEOF
31528
31529 else
31530 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31531 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31532 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31533 echo $ECHO_N "(cached) $ECHO_C" >&6
31534 else
31535 ac_check_lib_save_LIBS=$LIBS
31536 LIBS="-ldl $LIBS"
31537 cat >conftest.$ac_ext <<_ACEOF
31538 #line $LINENO "configure"
31539 /* confdefs.h. */
31540 _ACEOF
31541 cat confdefs.h >>conftest.$ac_ext
31542 cat >>conftest.$ac_ext <<_ACEOF
31543 /* end confdefs.h. */
31544
31545 /* Override any gcc2 internal prototype to avoid an error. */
31546 #ifdef __cplusplus
31547 extern "C"
31548 #endif
31549 /* We use char because int might match the return type of a gcc2
31550 builtin and then its argument prototype would still apply. */
31551 char dlerror ();
31552 int
31553 main ()
31554 {
31555 dlerror ();
31556 ;
31557 return 0;
31558 }
31559 _ACEOF
31560 rm -f conftest.$ac_objext conftest$ac_exeext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31562 (eval $ac_link) 2>&5
31563 ac_status=$?
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try='test -s conftest$ac_exeext'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31569 ac_status=$?
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 ac_cv_lib_dl_dlerror=yes
31573 else
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.$ac_ext >&5
31576
31577 ac_cv_lib_dl_dlerror=no
31578 fi
31579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31580 LIBS=$ac_check_lib_save_LIBS
31581 fi
31582 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31583 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31584 if test $ac_cv_lib_dl_dlerror = yes; then
31585 cat >>confdefs.h <<\_ACEOF
31586 #define HAVE_DLERROR 1
31587 _ACEOF
31588
31589 fi
31590
31591 fi
31592 done
31593
31594 fi
31595 fi
31596
31597 if test "$HAVE_DL_FUNCS" = 0; then
31598 if test "$HAVE_SHL_FUNCS" = 0; then
31599 if test "$USE_UNIX" = 1; then
31600 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31601 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31602 wxUSE_DYNAMIC_LOADER=no
31603 wxUSE_DYNLIB_CLASS=no
31604 else
31605 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31606 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31607 fi
31608 fi
31609 fi
31610 fi
31611 fi
31612
31613 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31614 cat >>confdefs.h <<\_ACEOF
31615 #define wxUSE_DYNAMIC_LOADER 1
31616 _ACEOF
31617
31618 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31619 cat >>confdefs.h <<\_ACEOF
31620 #define wxUSE_DYNLIB_CLASS 1
31621 _ACEOF
31622
31623 fi
31624
31625
31626 if test "$wxUSE_FONTMAP" = "yes" ; then
31627 cat >>confdefs.h <<\_ACEOF
31628 #define wxUSE_FONTMAP 1
31629 _ACEOF
31630
31631 fi
31632
31633 if test "$wxUSE_UNICODE" = "yes" ; then
31634 cat >>confdefs.h <<\_ACEOF
31635 #define wxUSE_UNICODE 1
31636 _ACEOF
31637
31638
31639 if test "$wxUSE_MSW" != 1; then
31640 wxUSE_UNICODE_MSLU=no
31641 fi
31642
31643 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31644 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31645 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31646 if test "${ac_cv_lib_unicows_main+set}" = set; then
31647 echo $ECHO_N "(cached) $ECHO_C" >&6
31648 else
31649 ac_check_lib_save_LIBS=$LIBS
31650 LIBS="-lunicows $LIBS"
31651 cat >conftest.$ac_ext <<_ACEOF
31652 #line $LINENO "configure"
31653 /* confdefs.h. */
31654 _ACEOF
31655 cat confdefs.h >>conftest.$ac_ext
31656 cat >>conftest.$ac_ext <<_ACEOF
31657 /* end confdefs.h. */
31658
31659
31660 int
31661 main ()
31662 {
31663 main ();
31664 ;
31665 return 0;
31666 }
31667 _ACEOF
31668 rm -f conftest.$ac_objext conftest$ac_exeext
31669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31670 (eval $ac_link) 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } &&
31674 { ac_try='test -s conftest$ac_exeext'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31677 ac_status=$?
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; }; then
31680 ac_cv_lib_unicows_main=yes
31681 else
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.$ac_ext >&5
31684
31685 ac_cv_lib_unicows_main=no
31686 fi
31687 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31688 LIBS=$ac_check_lib_save_LIBS
31689 fi
31690 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31691 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31692 if test $ac_cv_lib_unicows_main = yes; then
31693
31694 cat >>confdefs.h <<\_ACEOF
31695 #define wxUSE_UNICODE_MSLU 1
31696 _ACEOF
31697
31698
31699 else
31700
31701 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31702 Applications will only run on Windows NT/2000/XP!" >&5
31703 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31704 Applications will only run on Windows NT/2000/XP!" >&2;}
31705 wxUSE_UNICODE_MSLU=no
31706
31707 fi
31708
31709 fi
31710 fi
31711
31712 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31713 cat >>confdefs.h <<\_ACEOF
31714 #define wxUSE_EXPERIMENTAL_PRINTF 1
31715 _ACEOF
31716
31717 fi
31718
31719
31720 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31721 cat >>confdefs.h <<\_ACEOF
31722 #define wxUSE_POSTSCRIPT 1
31723 _ACEOF
31724
31725 fi
31726
31727 cat >>confdefs.h <<\_ACEOF
31728 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31729 _ACEOF
31730
31731
31732 cat >>confdefs.h <<\_ACEOF
31733 #define wxUSE_NORMALIZED_PS_FONTS 1
31734 _ACEOF
31735
31736
31737
31738 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31739 cat >>confdefs.h <<\_ACEOF
31740 #define wxUSE_CONSTRAINTS 1
31741 _ACEOF
31742
31743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31744 fi
31745
31746 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31747
31748
31749 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31750 cat >>confdefs.h <<\_ACEOF
31751 #define wxUSE_MDI_ARCHITECTURE 1
31752 _ACEOF
31753
31754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31755 fi
31756 fi
31757
31758 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31759 cat >>confdefs.h <<\_ACEOF
31760 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31761 _ACEOF
31762
31763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31764 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31766 fi
31767 fi
31768
31769 if test "$wxUSE_HELP" = "yes"; then
31770 cat >>confdefs.h <<\_ACEOF
31771 #define wxUSE_HELP 1
31772 _ACEOF
31773
31774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31775
31776 if test "$wxUSE_MSW" = 1; then
31777 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31778 cat >>confdefs.h <<\_ACEOF
31779 #define wxUSE_MS_HTML_HELP 1
31780 _ACEOF
31781
31782 fi
31783 fi
31784
31785 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31786 if test "$wxUSE_HTML" = "yes"; then
31787 cat >>confdefs.h <<\_ACEOF
31788 #define wxUSE_WXHTML_HELP 1
31789 _ACEOF
31790
31791 else
31792 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31793 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31794 wxUSE_WXHTML_HELP=no
31795 fi
31796 fi
31797 fi
31798
31799 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31800 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31801 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31802 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31803 else
31804 cat >>confdefs.h <<\_ACEOF
31805 #define wxUSE_PRINTING_ARCHITECTURE 1
31806 _ACEOF
31807
31808 fi
31809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31810 fi
31811
31812 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31813 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31814 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31815 { (exit 1); exit 1; }; }
31816 fi
31817
31818
31819 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31820 -o "$wxUSE_CLIPBOARD" = "yes" \
31821 -o "$wxUSE_OLE" = "yes" \
31822 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31823
31824 for ac_header in ole2.h
31825 do
31826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31828 echo "$as_me:$LINENO: checking for $ac_header" >&5
31829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31831 echo $ECHO_N "(cached) $ECHO_C" >&6
31832 fi
31833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31835 else
31836 # Is the header compilable?
31837 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31838 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31839 cat >conftest.$ac_ext <<_ACEOF
31840 #line $LINENO "configure"
31841 /* confdefs.h. */
31842 _ACEOF
31843 cat confdefs.h >>conftest.$ac_ext
31844 cat >>conftest.$ac_ext <<_ACEOF
31845 /* end confdefs.h. */
31846 $ac_includes_default
31847 #include <$ac_header>
31848 _ACEOF
31849 rm -f conftest.$ac_objext
31850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31851 (eval $ac_compile) 2>&5
31852 ac_status=$?
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } &&
31855 { ac_try='test -s conftest.$ac_objext'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31858 ac_status=$?
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; }; then
31861 ac_header_compiler=yes
31862 else
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.$ac_ext >&5
31865
31866 ac_header_compiler=no
31867 fi
31868 rm -f conftest.$ac_objext conftest.$ac_ext
31869 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31870 echo "${ECHO_T}$ac_header_compiler" >&6
31871
31872 # Is the header present?
31873 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31874 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31875 cat >conftest.$ac_ext <<_ACEOF
31876 #line $LINENO "configure"
31877 /* confdefs.h. */
31878 _ACEOF
31879 cat confdefs.h >>conftest.$ac_ext
31880 cat >>conftest.$ac_ext <<_ACEOF
31881 /* end confdefs.h. */
31882 #include <$ac_header>
31883 _ACEOF
31884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31886 ac_status=$?
31887 grep -v '^ *+' conftest.er1 >conftest.err
31888 rm -f conftest.er1
31889 cat conftest.err >&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } >/dev/null; then
31892 if test -s conftest.err; then
31893 ac_cpp_err=$ac_c_preproc_warn_flag
31894 else
31895 ac_cpp_err=
31896 fi
31897 else
31898 ac_cpp_err=yes
31899 fi
31900 if test -z "$ac_cpp_err"; then
31901 ac_header_preproc=yes
31902 else
31903 echo "$as_me: failed program was:" >&5
31904 sed 's/^/| /' conftest.$ac_ext >&5
31905
31906 ac_header_preproc=no
31907 fi
31908 rm -f conftest.err conftest.$ac_ext
31909 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31910 echo "${ECHO_T}$ac_header_preproc" >&6
31911
31912 # So? What about this header?
31913 case $ac_header_compiler:$ac_header_preproc in
31914 yes:no )
31915 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31916 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31917 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31919 (
31920 cat <<\_ASBOX
31921 ## ------------------------------------ ##
31922 ## Report this to bug-autoconf@gnu.org. ##
31923 ## ------------------------------------ ##
31924 _ASBOX
31925 ) |
31926 sed "s/^/$as_me: WARNING: /" >&2
31927 ;;
31928 no:yes )
31929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31935 (
31936 cat <<\_ASBOX
31937 ## ------------------------------------ ##
31938 ## Report this to bug-autoconf@gnu.org. ##
31939 ## ------------------------------------ ##
31940 _ASBOX
31941 ) |
31942 sed "s/^/$as_me: WARNING: /" >&2
31943 ;;
31944 esac
31945 echo "$as_me:$LINENO: checking for $ac_header" >&5
31946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31948 echo $ECHO_N "(cached) $ECHO_C" >&6
31949 else
31950 eval "$as_ac_Header=$ac_header_preproc"
31951 fi
31952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31954
31955 fi
31956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31957 cat >>confdefs.h <<_ACEOF
31958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31959 _ACEOF
31960
31961 fi
31962
31963 done
31964
31965
31966 if test "$ac_cv_header_ole2_h" = "yes" ; then
31967 if test "$GCC" = yes ; then
31968
31969
31970 ac_ext=cc
31971 ac_cpp='$CXXCPP $CPPFLAGS'
31972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31975
31976
31977 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
31978 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
31979 cat >conftest.$ac_ext <<_ACEOF
31980 #line $LINENO "configure"
31981 /* confdefs.h. */
31982 _ACEOF
31983 cat confdefs.h >>conftest.$ac_ext
31984 cat >>conftest.$ac_ext <<_ACEOF
31985 /* end confdefs.h. */
31986 #include <windows.h>
31987 #include <ole2.h>
31988 int
31989 main ()
31990 {
31991
31992 ;
31993 return 0;
31994 }
31995 _ACEOF
31996 rm -f conftest.$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 (eval $ac_compile) 2>&5
31999 ac_status=$?
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); } &&
32002 { ac_try='test -s conftest.$ac_objext'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32005 ac_status=$?
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; }; then
32008 echo "$as_me:$LINENO: result: no" >&5
32009 echo "${ECHO_T}no" >&6
32010 else
32011 echo "$as_me: failed program was:" >&5
32012 sed 's/^/| /' conftest.$ac_ext >&5
32013
32014 echo "$as_me:$LINENO: result: yes" >&5
32015 echo "${ECHO_T}yes" >&6
32016 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32017 fi
32018 rm -f conftest.$ac_objext conftest.$ac_ext
32019 ac_ext=c
32020 ac_cpp='$CPP $CPPFLAGS'
32021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32024
32025 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32026 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32027 cat >>confdefs.h <<\_ACEOF
32028 #define wxUSE_OLE 1
32029 _ACEOF
32030
32031
32032 fi
32033
32034 cat >>confdefs.h <<\_ACEOF
32035 #define wxUSE_DATAOBJ 1
32036 _ACEOF
32037
32038 else
32039 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32040 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32041
32042 wxUSE_CLIPBOARD=no
32043 wxUSE_DRAG_AND_DROP=no
32044 wxUSE_DATAOBJ=no
32045 wxUSE_OLE=no
32046 fi
32047
32048 if test "$wxUSE_METAFILE" = "yes"; then
32049 cat >>confdefs.h <<\_ACEOF
32050 #define wxUSE_METAFILE 1
32051 _ACEOF
32052
32053
32054 cat >>confdefs.h <<\_ACEOF
32055 #define wxUSE_ENH_METAFILE 1
32056 _ACEOF
32057
32058 fi
32059 fi
32060
32061 if test "$wxUSE_IPC" = "yes"; then
32062 if test "$wxUSE_SOCKETS" != "yes"; then
32063 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32064 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32065 fi
32066
32067 cat >>confdefs.h <<\_ACEOF
32068 #define wxUSE_IPC 1
32069 _ACEOF
32070
32071 fi
32072
32073 if test "$wxUSE_CLIPBOARD" = "yes"; then
32074 if test "$wxUSE_MGL" = 1; then
32075 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32076 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32077 wxUSE_CLIPBOARD=no
32078 fi
32079
32080 if test "$wxUSE_CLIPBOARD" = "yes"; then
32081 cat >>confdefs.h <<\_ACEOF
32082 #define wxUSE_CLIPBOARD 1
32083 _ACEOF
32084
32085
32086 cat >>confdefs.h <<\_ACEOF
32087 #define wxUSE_DATAOBJ 1
32088 _ACEOF
32089
32090 fi
32091 fi
32092
32093 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32094 if test "$wxUSE_GTK" = 1; then
32095 if test "$WXGTK12" != 1; then
32096 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32097 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32098 wxUSE_DRAG_AND_DROP=no
32099 fi
32100 fi
32101
32102 if test "$wxUSE_MOTIF" = 1; then
32103 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32104 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32105 wxUSE_DRAG_AND_DROP=no
32106 fi
32107
32108 if test "$wxUSE_X11" = 1; then
32109 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32110 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32111 wxUSE_DRAG_AND_DROP=no
32112 fi
32113
32114 if test "$wxUSE_MGL" = 1; then
32115 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32116 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32117 wxUSE_DRAG_AND_DROP=no
32118 fi
32119
32120 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32121 cat >>confdefs.h <<\_ACEOF
32122 #define wxUSE_DRAG_AND_DROP 1
32123 _ACEOF
32124
32125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32126 fi
32127
32128 fi
32129
32130 if test "$wxUSE_SPLINES" = "yes" ; then
32131 cat >>confdefs.h <<\_ACEOF
32132 #define wxUSE_SPLINES 1
32133 _ACEOF
32134
32135 fi
32136
32137
32138 USES_CONTROLS=0
32139 if test "$wxUSE_CONTROLS" = "yes"; then
32140 USES_CONTROLS=1
32141 fi
32142
32143 if test "$wxUSE_ACCEL" = "yes"; then
32144 cat >>confdefs.h <<\_ACEOF
32145 #define wxUSE_ACCEL 1
32146 _ACEOF
32147
32148 USES_CONTROLS=1
32149 fi
32150
32151 if test "$wxUSE_BUTTON" = "yes"; then
32152 cat >>confdefs.h <<\_ACEOF
32153 #define wxUSE_BUTTON 1
32154 _ACEOF
32155
32156 USES_CONTROLS=1
32157 fi
32158
32159 if test "$wxUSE_BMPBUTTON" = "yes"; then
32160 cat >>confdefs.h <<\_ACEOF
32161 #define wxUSE_BMPBUTTON 1
32162 _ACEOF
32163
32164 USES_CONTROLS=1
32165 fi
32166
32167 if test "$wxUSE_CALCTRL" = "yes"; then
32168 cat >>confdefs.h <<\_ACEOF
32169 #define wxUSE_CALENDARCTRL 1
32170 _ACEOF
32171
32172 USES_CONTROLS=1
32173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32174 fi
32175
32176 if test "$wxUSE_CARET" = "yes"; then
32177 cat >>confdefs.h <<\_ACEOF
32178 #define wxUSE_CARET 1
32179 _ACEOF
32180
32181 USES_CONTROLS=1
32182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32183 fi
32184
32185 if test "$wxUSE_COMBOBOX" = "yes"; then
32186 cat >>confdefs.h <<\_ACEOF
32187 #define wxUSE_COMBOBOX 1
32188 _ACEOF
32189
32190 USES_CONTROLS=1
32191 fi
32192
32193 if test "$wxUSE_CHOICE" = "yes"; then
32194 cat >>confdefs.h <<\_ACEOF
32195 #define wxUSE_CHOICE 1
32196 _ACEOF
32197
32198 USES_CONTROLS=1
32199 fi
32200
32201 if test "$wxUSE_CHECKBOX" = "yes"; then
32202 cat >>confdefs.h <<\_ACEOF
32203 #define wxUSE_CHECKBOX 1
32204 _ACEOF
32205
32206 USES_CONTROLS=1
32207 fi
32208
32209 if test "$wxUSE_CHECKLST" = "yes"; then
32210 cat >>confdefs.h <<\_ACEOF
32211 #define wxUSE_CHECKLISTBOX 1
32212 _ACEOF
32213
32214 USES_CONTROLS=1
32215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32216 fi
32217
32218 if test "$wxUSE_DISPLAY" = "yes"; then
32219 cat >>confdefs.h <<\_ACEOF
32220 #define wxUSE_DISPLAY 1
32221 _ACEOF
32222
32223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32224 fi
32225
32226 if test "$wxUSE_GAUGE" = "yes"; then
32227 cat >>confdefs.h <<\_ACEOF
32228 #define wxUSE_GAUGE 1
32229 _ACEOF
32230
32231 USES_CONTROLS=1
32232 fi
32233
32234 if test "$wxUSE_GRID" = "yes"; then
32235 cat >>confdefs.h <<\_ACEOF
32236 #define wxUSE_GRID 1
32237 _ACEOF
32238
32239 USES_CONTROLS=1
32240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32241 fi
32242
32243 if test "$wxUSE_IMAGLIST" = "yes"; then
32244 cat >>confdefs.h <<\_ACEOF
32245 #define wxUSE_IMAGLIST 1
32246 _ACEOF
32247
32248 fi
32249
32250 if test "$wxUSE_LISTBOX" = "yes"; then
32251 cat >>confdefs.h <<\_ACEOF
32252 #define wxUSE_LISTBOX 1
32253 _ACEOF
32254
32255 USES_CONTROLS=1
32256 fi
32257
32258 if test "$wxUSE_LISTCTRL" = "yes"; then
32259 if test "$wxUSE_IMAGLIST" = "yes"; then
32260 cat >>confdefs.h <<\_ACEOF
32261 #define wxUSE_LISTCTRL 1
32262 _ACEOF
32263
32264 USES_CONTROLS=1
32265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32266 else
32267 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32268 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32269 fi
32270 fi
32271
32272 if test "$wxUSE_NOTEBOOK" = "yes"; then
32273 cat >>confdefs.h <<\_ACEOF
32274 #define wxUSE_NOTEBOOK 1
32275 _ACEOF
32276
32277 USES_CONTROLS=1
32278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32279 fi
32280
32281
32282 if test "$wxUSE_RADIOBOX" = "yes"; then
32283 cat >>confdefs.h <<\_ACEOF
32284 #define wxUSE_RADIOBOX 1
32285 _ACEOF
32286
32287 USES_CONTROLS=1
32288 fi
32289
32290 if test "$wxUSE_RADIOBTN" = "yes"; then
32291 cat >>confdefs.h <<\_ACEOF
32292 #define wxUSE_RADIOBTN 1
32293 _ACEOF
32294
32295 USES_CONTROLS=1
32296 fi
32297
32298 if test "$wxUSE_SASH" = "yes"; then
32299 cat >>confdefs.h <<\_ACEOF
32300 #define wxUSE_SASH 1
32301 _ACEOF
32302
32303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32304 fi
32305
32306 if test "$wxUSE_SCROLLBAR" = "yes"; then
32307 cat >>confdefs.h <<\_ACEOF
32308 #define wxUSE_SCROLLBAR 1
32309 _ACEOF
32310
32311 USES_CONTROLS=1
32312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32313 fi
32314
32315 if test "$wxUSE_SLIDER" = "yes"; then
32316 cat >>confdefs.h <<\_ACEOF
32317 #define wxUSE_SLIDER 1
32318 _ACEOF
32319
32320 USES_CONTROLS=1
32321 fi
32322
32323 if test "$wxUSE_SPINBTN" = "yes"; then
32324 cat >>confdefs.h <<\_ACEOF
32325 #define wxUSE_SPINBTN 1
32326 _ACEOF
32327
32328 USES_CONTROLS=1
32329 fi
32330
32331 if test "$wxUSE_SPINCTRL" = "yes"; then
32332 cat >>confdefs.h <<\_ACEOF
32333 #define wxUSE_SPINCTRL 1
32334 _ACEOF
32335
32336 USES_CONTROLS=1
32337 fi
32338
32339 if test "$wxUSE_SPLITTER" = "yes"; then
32340 cat >>confdefs.h <<\_ACEOF
32341 #define wxUSE_SPLITTER 1
32342 _ACEOF
32343
32344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32345 fi
32346
32347 if test "$wxUSE_STATBMP" = "yes"; then
32348 cat >>confdefs.h <<\_ACEOF
32349 #define wxUSE_STATBMP 1
32350 _ACEOF
32351
32352 USES_CONTROLS=1
32353 fi
32354
32355 if test "$wxUSE_STATBOX" = "yes"; then
32356 cat >>confdefs.h <<\_ACEOF
32357 #define wxUSE_STATBOX 1
32358 _ACEOF
32359
32360 USES_CONTROLS=1
32361 fi
32362
32363 if test "$wxUSE_STATTEXT" = "yes"; then
32364 cat >>confdefs.h <<\_ACEOF
32365 #define wxUSE_STATTEXT 1
32366 _ACEOF
32367
32368 USES_CONTROLS=1
32369 fi
32370
32371 if test "$wxUSE_STATLINE" = "yes"; then
32372 cat >>confdefs.h <<\_ACEOF
32373 #define wxUSE_STATLINE 1
32374 _ACEOF
32375
32376 USES_CONTROLS=1
32377 fi
32378
32379 if test "$wxUSE_STATUSBAR" = "yes"; then
32380 cat >>confdefs.h <<\_ACEOF
32381 #define wxUSE_STATUSBAR 1
32382 _ACEOF
32383
32384 USES_CONTROLS=1
32385
32386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32387 fi
32388
32389 if test "$wxUSE_TABDIALOG" = "yes"; then
32390 cat >>confdefs.h <<\_ACEOF
32391 #define wxUSE_TAB_DIALOG 1
32392 _ACEOF
32393
32394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32395 fi
32396
32397 if test "$wxUSE_TEXTCTRL" = "yes"; then
32398 cat >>confdefs.h <<\_ACEOF
32399 #define wxUSE_TEXTCTRL 1
32400 _ACEOF
32401
32402 USES_CONTROLS=1
32403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32404 fi
32405
32406 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32407 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32408 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32409 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32410 wxUSE_TOGGLEBTN=no
32411 fi
32412 if test "$wxUSE_UNIVERSAL" = "yes"; then
32413 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32414 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32415 wxUSE_TOGGLEBTN=no
32416 fi
32417
32418 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32419 cat >>confdefs.h <<\_ACEOF
32420 #define wxUSE_TOGGLEBTN 1
32421 _ACEOF
32422
32423 USES_CONTROLS=1
32424 fi
32425 fi
32426
32427 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32428 cat >>confdefs.h <<\_ACEOF
32429 #define wxUSE_TOOLBAR_SIMPLE 1
32430 _ACEOF
32431
32432 wxUSE_TOOLBAR="yes"
32433 USES_CONTROLS=1
32434 fi
32435
32436 if test "$wxUSE_TOOLBAR" = "yes"; then
32437 cat >>confdefs.h <<\_ACEOF
32438 #define wxUSE_TOOLBAR 1
32439 _ACEOF
32440
32441 USES_CONTROLS=1
32442
32443 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32444 wxUSE_TOOLBAR_NATIVE="yes"
32445 fi
32446
32447 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32448 cat >>confdefs.h <<\_ACEOF
32449 #define wxUSE_TOOLBAR_NATIVE 1
32450 _ACEOF
32451
32452 USES_CONTROLS=1
32453 fi
32454
32455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32456 fi
32457
32458 if test "$wxUSE_TOOLTIPS" = "yes"; then
32459 if test "$wxUSE_MOTIF" = 1; then
32460 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32461 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32462 else
32463 if test "$wxUSE_UNIVERSAL" = "yes"; then
32464 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32465 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32466 else
32467 cat >>confdefs.h <<\_ACEOF
32468 #define wxUSE_TOOLTIPS 1
32469 _ACEOF
32470
32471 fi
32472 fi
32473 fi
32474
32475 if test "$wxUSE_TREECTRL" = "yes"; then
32476 if test "$wxUSE_IMAGLIST" = "yes"; then
32477 cat >>confdefs.h <<\_ACEOF
32478 #define wxUSE_TREECTRL 1
32479 _ACEOF
32480
32481 USES_CONTROLS=1
32482 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32483 else
32484 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32485 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32486 fi
32487 fi
32488
32489 if test "$wxUSE_POPUPWIN" = "yes"; then
32490 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32491 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32492 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32493 else
32494 if test "$wxUSE_MOTIF" = 1; then
32495 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32496 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32497 else
32498 if test "$wxUSE_PM" = 1; then
32499 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32500 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32501 else
32502 cat >>confdefs.h <<\_ACEOF
32503 #define wxUSE_POPUPWIN 1
32504 _ACEOF
32505
32506
32507 USES_CONTROLS=1
32508 fi
32509 fi
32510 fi
32511 fi
32512
32513 if test "$wxUSE_TIPWINDOW" = "yes"; then
32514 if test "$wxUSE_PM" = 1; then
32515 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32516 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32517 else
32518 cat >>confdefs.h <<\_ACEOF
32519 #define wxUSE_TIPWINDOW 1
32520 _ACEOF
32521
32522 fi
32523 fi
32524
32525 if test "$USES_CONTROLS" = 1; then
32526 cat >>confdefs.h <<\_ACEOF
32527 #define wxUSE_CONTROLS 1
32528 _ACEOF
32529
32530 fi
32531
32532
32533
32534 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32535 cat >>confdefs.h <<\_ACEOF
32536 #define wxUSE_DRAGIMAGE 1
32537 _ACEOF
32538
32539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32540 fi
32541
32542 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32543 cat >>confdefs.h <<\_ACEOF
32544 #define wxUSE_ACCESSIBILITY 1
32545 _ACEOF
32546
32547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32548 fi
32549
32550 if test "$wxUSE_MENUS" = "yes"; then
32551 cat >>confdefs.h <<\_ACEOF
32552 #define wxUSE_MENUS 1
32553 _ACEOF
32554
32555 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32556 fi
32557
32558 if test "$wxUSE_METAFILE" = "yes"; then
32559 cat >>confdefs.h <<\_ACEOF
32560 #define wxUSE_METAFILE 1
32561 _ACEOF
32562
32563 fi
32564
32565 if test "$wxUSE_MIMETYPE" = "yes"; then
32566 cat >>confdefs.h <<\_ACEOF
32567 #define wxUSE_MIMETYPE 1
32568 _ACEOF
32569
32570 fi
32571
32572 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32573 cat >>confdefs.h <<\_ACEOF
32574 #define wxUSE_SYSTEM_OPTIONS 1
32575 _ACEOF
32576
32577 if test "$TOOLKIT" = "MSW"; then
32578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32579 fi
32580
32581 fi
32582
32583 if test "$wxUSE_PROTOCOL" = "yes"; then
32584 if test "$wxUSE_SOCKETS" != "yes"; then
32585 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32586 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32587 wxUSE_PROTOCOL=no
32588 fi
32589
32590 if test "$wxUSE_PROTOCOL" = "yes"; then
32591 cat >>confdefs.h <<\_ACEOF
32592 #define wxUSE_PROTOCOL 1
32593 _ACEOF
32594
32595
32596 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32597 cat >>confdefs.h <<\_ACEOF
32598 #define wxUSE_PROTOCOL_HTTP 1
32599 _ACEOF
32600
32601 fi
32602 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32603 cat >>confdefs.h <<\_ACEOF
32604 #define wxUSE_PROTOCOL_FTP 1
32605 _ACEOF
32606
32607 fi
32608 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32609 cat >>confdefs.h <<\_ACEOF
32610 #define wxUSE_PROTOCOL_FILE 1
32611 _ACEOF
32612
32613 fi
32614 fi
32615 fi
32616
32617 if test "$wxUSE_URL" = "yes"; then
32618 if test "$wxUSE_PROTOCOL" != "yes"; then
32619 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32620 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32621 wxUSE_URL=no
32622 fi
32623 if test "$wxUSE_URL" = "yes"; then
32624 cat >>confdefs.h <<\_ACEOF
32625 #define wxUSE_URL 1
32626 _ACEOF
32627
32628 fi
32629 fi
32630
32631 if test "$wxUSE_MINIFRAME" = "yes"; then
32632 cat >>confdefs.h <<\_ACEOF
32633 #define wxUSE_MINIFRAME 1
32634 _ACEOF
32635
32636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32637 fi
32638
32639 if test "$wxUSE_HTML" = "yes"; then
32640 cat >>confdefs.h <<\_ACEOF
32641 #define wxUSE_HTML 1
32642 _ACEOF
32643
32644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32645 fi
32646
32647 if test "$wxUSE_VALIDATORS" = "yes"; then
32648 cat >>confdefs.h <<\_ACEOF
32649 #define wxUSE_VALIDATORS 1
32650 _ACEOF
32651
32652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32653 fi
32654
32655 if test "$wxUSE_PALETTE" = "yes" ; then
32656 cat >>confdefs.h <<\_ACEOF
32657 #define wxUSE_PALETTE 1
32658 _ACEOF
32659
32660 fi
32661
32662 if test "$wxUSE_IMAGE" = "yes" ; then
32663 cat >>confdefs.h <<\_ACEOF
32664 #define wxUSE_IMAGE 1
32665 _ACEOF
32666
32667 fi
32668
32669 if test "$wxUSE_GIF" = "yes" ; then
32670 cat >>confdefs.h <<\_ACEOF
32671 #define wxUSE_GIF 1
32672 _ACEOF
32673
32674 fi
32675
32676 if test "$wxUSE_PCX" = "yes" ; then
32677 cat >>confdefs.h <<\_ACEOF
32678 #define wxUSE_PCX 1
32679 _ACEOF
32680
32681 fi
32682
32683 if test "$wxUSE_IFF" = "yes" ; then
32684 cat >>confdefs.h <<\_ACEOF
32685 #define wxUSE_IFF 1
32686 _ACEOF
32687
32688 fi
32689
32690 if test "$wxUSE_PNM" = "yes" ; then
32691 cat >>confdefs.h <<\_ACEOF
32692 #define wxUSE_PNM 1
32693 _ACEOF
32694
32695 fi
32696
32697 if test "$wxUSE_XPM" = "yes" ; then
32698 cat >>confdefs.h <<\_ACEOF
32699 #define wxUSE_XPM 1
32700 _ACEOF
32701
32702 fi
32703
32704 if test "$wxUSE_ICO_CUR" = "yes" ; then
32705 cat >>confdefs.h <<\_ACEOF
32706 #define wxUSE_ICO_CUR 1
32707 _ACEOF
32708
32709 fi
32710
32711 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32712 LIBS=" -lunicows $LIBS"
32713 fi
32714
32715
32716 if test "$wxUSE_CHOICEDLG" = "yes"; then
32717 cat >>confdefs.h <<\_ACEOF
32718 #define wxUSE_CHOICEDLG 1
32719 _ACEOF
32720
32721 fi
32722
32723 if test "$wxUSE_COLOURDLG" = "yes"; then
32724 cat >>confdefs.h <<\_ACEOF
32725 #define wxUSE_COLOURDLG 1
32726 _ACEOF
32727
32728 fi
32729
32730 if test "$wxUSE_FILEDLG" = "yes"; then
32731 cat >>confdefs.h <<\_ACEOF
32732 #define wxUSE_FILEDLG 1
32733 _ACEOF
32734
32735 fi
32736
32737 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32738 cat >>confdefs.h <<\_ACEOF
32739 #define wxUSE_FINDREPLDLG 1
32740 _ACEOF
32741
32742 fi
32743
32744 if test "$wxUSE_FONTDLG" = "yes"; then
32745 cat >>confdefs.h <<\_ACEOF
32746 #define wxUSE_FONTDLG 1
32747 _ACEOF
32748
32749 fi
32750
32751 if test "$wxUSE_DIRDLG" = "yes"; then
32752 if test "$wxUSE_TREECTRL" != "yes"; then
32753 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32754 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32755 else
32756 cat >>confdefs.h <<\_ACEOF
32757 #define wxUSE_DIRDLG 1
32758 _ACEOF
32759
32760 fi
32761 fi
32762
32763 if test "$wxUSE_MSGDLG" = "yes"; then
32764 cat >>confdefs.h <<\_ACEOF
32765 #define wxUSE_MSGDLG 1
32766 _ACEOF
32767
32768 fi
32769
32770 if test "$wxUSE_NUMBERDLG" = "yes"; then
32771 cat >>confdefs.h <<\_ACEOF
32772 #define wxUSE_NUMBERDLG 1
32773 _ACEOF
32774
32775 fi
32776
32777 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32778 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32779 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32780 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32781 else
32782 cat >>confdefs.h <<\_ACEOF
32783 #define wxUSE_PROGRESSDLG 1
32784 _ACEOF
32785
32786 fi
32787 fi
32788
32789 if test "$wxUSE_SPLASH" = "yes"; then
32790 cat >>confdefs.h <<\_ACEOF
32791 #define wxUSE_SPLASH 1
32792 _ACEOF
32793
32794 fi
32795
32796 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32797 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32798 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32799 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32800 else
32801 cat >>confdefs.h <<\_ACEOF
32802 #define wxUSE_STARTUP_TIPS 1
32803 _ACEOF
32804
32805 fi
32806 fi
32807
32808 if test "$wxUSE_TEXTDLG" = "yes"; then
32809 cat >>confdefs.h <<\_ACEOF
32810 #define wxUSE_TEXTDLG 1
32811 _ACEOF
32812
32813 fi
32814
32815 if test "$wxUSE_WIZARDDLG" = "yes"; then
32816 cat >>confdefs.h <<\_ACEOF
32817 #define wxUSE_WIZARDDLG 1
32818 _ACEOF
32819
32820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32821 fi
32822
32823
32824 if test "$cross_compiling" = "yes"; then
32825 OSINFO="\"$host\""
32826 else
32827 OSINFO=`uname -s -r -m`
32828 OSINFO="\"$OSINFO\""
32829 fi
32830
32831 cat >>confdefs.h <<_ACEOF
32832 #define WXWIN_OS_DESCRIPTION $OSINFO
32833 _ACEOF
32834
32835
32836
32837 if test "x$prefix" != "xNONE"; then
32838 wxPREFIX=$prefix
32839 else
32840 wxPREFIX=$ac_default_prefix
32841 fi
32842
32843 cat >>confdefs.h <<_ACEOF
32844 #define wxINSTALL_PREFIX "$wxPREFIX"
32845 _ACEOF
32846
32847
32848 top_builddir_wxconfig=`pwd`
32849
32850
32851
32852
32853 if test "$wxUSE_MAC" = 1 ; then
32854 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
32855 fi
32856 if test "$wxUSE_COCOA" = 1 ; then
32857 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
32858 fi
32859
32860
32861 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32862
32863 have_cos=0
32864 have_floor=0
32865
32866 for ac_func in cos
32867 do
32868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32869 echo "$as_me:$LINENO: checking for $ac_func" >&5
32870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32871 if eval "test \"\${$as_ac_var+set}\" = set"; then
32872 echo $ECHO_N "(cached) $ECHO_C" >&6
32873 else
32874 cat >conftest.$ac_ext <<_ACEOF
32875 #line $LINENO "configure"
32876 /* confdefs.h. */
32877 _ACEOF
32878 cat confdefs.h >>conftest.$ac_ext
32879 cat >>conftest.$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32881 /* System header to define __stub macros and hopefully few prototypes,
32882 which can conflict with char $ac_func (); below.
32883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32884 <limits.h> exists even on freestanding compilers. */
32885 #ifdef __STDC__
32886 # include <limits.h>
32887 #else
32888 # include <assert.h>
32889 #endif
32890 /* Override any gcc2 internal prototype to avoid an error. */
32891 #ifdef __cplusplus
32892 extern "C"
32893 {
32894 #endif
32895 /* We use char because int might match the return type of a gcc2
32896 builtin and then its argument prototype would still apply. */
32897 char $ac_func ();
32898 /* The GNU C library defines this for functions which it implements
32899 to always fail with ENOSYS. Some functions are actually named
32900 something starting with __ and the normal name is an alias. */
32901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32902 choke me
32903 #else
32904 char (*f) () = $ac_func;
32905 #endif
32906 #ifdef __cplusplus
32907 }
32908 #endif
32909
32910 int
32911 main ()
32912 {
32913 return f != $ac_func;
32914 ;
32915 return 0;
32916 }
32917 _ACEOF
32918 rm -f conftest.$ac_objext conftest$ac_exeext
32919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32920 (eval $ac_link) 2>&5
32921 ac_status=$?
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); } &&
32924 { ac_try='test -s conftest$ac_exeext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 eval "$as_ac_var=yes"
32931 else
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.$ac_ext >&5
32934
32935 eval "$as_ac_var=no"
32936 fi
32937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32938 fi
32939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32941 if test `eval echo '${'$as_ac_var'}'` = yes; then
32942 cat >>confdefs.h <<_ACEOF
32943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32944 _ACEOF
32945 have_cos=1
32946 fi
32947 done
32948
32949
32950 for ac_func in floor
32951 do
32952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32953 echo "$as_me:$LINENO: checking for $ac_func" >&5
32954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32955 if eval "test \"\${$as_ac_var+set}\" = set"; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 else
32958 cat >conftest.$ac_ext <<_ACEOF
32959 #line $LINENO "configure"
32960 /* confdefs.h. */
32961 _ACEOF
32962 cat confdefs.h >>conftest.$ac_ext
32963 cat >>conftest.$ac_ext <<_ACEOF
32964 /* end confdefs.h. */
32965 /* System header to define __stub macros and hopefully few prototypes,
32966 which can conflict with char $ac_func (); below.
32967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32968 <limits.h> exists even on freestanding compilers. */
32969 #ifdef __STDC__
32970 # include <limits.h>
32971 #else
32972 # include <assert.h>
32973 #endif
32974 /* Override any gcc2 internal prototype to avoid an error. */
32975 #ifdef __cplusplus
32976 extern "C"
32977 {
32978 #endif
32979 /* We use char because int might match the return type of a gcc2
32980 builtin and then its argument prototype would still apply. */
32981 char $ac_func ();
32982 /* The GNU C library defines this for functions which it implements
32983 to always fail with ENOSYS. Some functions are actually named
32984 something starting with __ and the normal name is an alias. */
32985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32986 choke me
32987 #else
32988 char (*f) () = $ac_func;
32989 #endif
32990 #ifdef __cplusplus
32991 }
32992 #endif
32993
32994 int
32995 main ()
32996 {
32997 return f != $ac_func;
32998 ;
32999 return 0;
33000 }
33001 _ACEOF
33002 rm -f conftest.$ac_objext conftest$ac_exeext
33003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33004 (eval $ac_link) 2>&5
33005 ac_status=$?
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } &&
33008 { ac_try='test -s conftest$ac_exeext'
33009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33010 (eval $ac_try) 2>&5
33011 ac_status=$?
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); }; }; then
33014 eval "$as_ac_var=yes"
33015 else
33016 echo "$as_me: failed program was:" >&5
33017 sed 's/^/| /' conftest.$ac_ext >&5
33018
33019 eval "$as_ac_var=no"
33020 fi
33021 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33022 fi
33023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33025 if test `eval echo '${'$as_ac_var'}'` = yes; then
33026 cat >>confdefs.h <<_ACEOF
33027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33028 _ACEOF
33029 have_floor=1
33030 fi
33031 done
33032
33033 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33034 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33035 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33036 echo "$as_me:$LINENO: result: yes" >&5
33037 echo "${ECHO_T}yes" >&6
33038 else
33039 echo "$as_me:$LINENO: result: no" >&5
33040 echo "${ECHO_T}no" >&6
33041 LIBS="$LIBS -lm"
33042 # use different functions to avoid configure caching
33043 have_sin=0
33044 have_ceil=0
33045
33046 for ac_func in sin
33047 do
33048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33049 echo "$as_me:$LINENO: checking for $ac_func" >&5
33050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33051 if eval "test \"\${$as_ac_var+set}\" = set"; then
33052 echo $ECHO_N "(cached) $ECHO_C" >&6
33053 else
33054 cat >conftest.$ac_ext <<_ACEOF
33055 #line $LINENO "configure"
33056 /* confdefs.h. */
33057 _ACEOF
33058 cat confdefs.h >>conftest.$ac_ext
33059 cat >>conftest.$ac_ext <<_ACEOF
33060 /* end confdefs.h. */
33061 /* System header to define __stub macros and hopefully few prototypes,
33062 which can conflict with char $ac_func (); below.
33063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33064 <limits.h> exists even on freestanding compilers. */
33065 #ifdef __STDC__
33066 # include <limits.h>
33067 #else
33068 # include <assert.h>
33069 #endif
33070 /* Override any gcc2 internal prototype to avoid an error. */
33071 #ifdef __cplusplus
33072 extern "C"
33073 {
33074 #endif
33075 /* We use char because int might match the return type of a gcc2
33076 builtin and then its argument prototype would still apply. */
33077 char $ac_func ();
33078 /* The GNU C library defines this for functions which it implements
33079 to always fail with ENOSYS. Some functions are actually named
33080 something starting with __ and the normal name is an alias. */
33081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33082 choke me
33083 #else
33084 char (*f) () = $ac_func;
33085 #endif
33086 #ifdef __cplusplus
33087 }
33088 #endif
33089
33090 int
33091 main ()
33092 {
33093 return f != $ac_func;
33094 ;
33095 return 0;
33096 }
33097 _ACEOF
33098 rm -f conftest.$ac_objext conftest$ac_exeext
33099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33100 (eval $ac_link) 2>&5
33101 ac_status=$?
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); } &&
33104 { ac_try='test -s conftest$ac_exeext'
33105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33106 (eval $ac_try) 2>&5
33107 ac_status=$?
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); }; }; then
33110 eval "$as_ac_var=yes"
33111 else
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115 eval "$as_ac_var=no"
33116 fi
33117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33118 fi
33119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33121 if test `eval echo '${'$as_ac_var'}'` = yes; then
33122 cat >>confdefs.h <<_ACEOF
33123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33124 _ACEOF
33125 have_sin=1
33126 fi
33127 done
33128
33129
33130 for ac_func in ceil
33131 do
33132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33133 echo "$as_me:$LINENO: checking for $ac_func" >&5
33134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33135 if eval "test \"\${$as_ac_var+set}\" = set"; then
33136 echo $ECHO_N "(cached) $ECHO_C" >&6
33137 else
33138 cat >conftest.$ac_ext <<_ACEOF
33139 #line $LINENO "configure"
33140 /* confdefs.h. */
33141 _ACEOF
33142 cat confdefs.h >>conftest.$ac_ext
33143 cat >>conftest.$ac_ext <<_ACEOF
33144 /* end confdefs.h. */
33145 /* System header to define __stub macros and hopefully few prototypes,
33146 which can conflict with char $ac_func (); below.
33147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33148 <limits.h> exists even on freestanding compilers. */
33149 #ifdef __STDC__
33150 # include <limits.h>
33151 #else
33152 # include <assert.h>
33153 #endif
33154 /* Override any gcc2 internal prototype to avoid an error. */
33155 #ifdef __cplusplus
33156 extern "C"
33157 {
33158 #endif
33159 /* We use char because int might match the return type of a gcc2
33160 builtin and then its argument prototype would still apply. */
33161 char $ac_func ();
33162 /* The GNU C library defines this for functions which it implements
33163 to always fail with ENOSYS. Some functions are actually named
33164 something starting with __ and the normal name is an alias. */
33165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33166 choke me
33167 #else
33168 char (*f) () = $ac_func;
33169 #endif
33170 #ifdef __cplusplus
33171 }
33172 #endif
33173
33174 int
33175 main ()
33176 {
33177 return f != $ac_func;
33178 ;
33179 return 0;
33180 }
33181 _ACEOF
33182 rm -f conftest.$ac_objext conftest$ac_exeext
33183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33184 (eval $ac_link) 2>&5
33185 ac_status=$?
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } &&
33188 { ac_try='test -s conftest$ac_exeext'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33191 ac_status=$?
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; }; then
33194 eval "$as_ac_var=yes"
33195 else
33196 echo "$as_me: failed program was:" >&5
33197 sed 's/^/| /' conftest.$ac_ext >&5
33198
33199 eval "$as_ac_var=no"
33200 fi
33201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33202 fi
33203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33205 if test `eval echo '${'$as_ac_var'}'` = yes; then
33206 cat >>confdefs.h <<_ACEOF
33207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33208 _ACEOF
33209 have_ceil=1
33210 fi
33211 done
33212
33213 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33214 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33215 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33216 echo "$as_me:$LINENO: result: yes" >&5
33217 echo "${ECHO_T}yes" >&6
33218 else
33219 echo "$as_me:$LINENO: result: no" >&5
33220 echo "${ECHO_T}no" >&6
33221 # not sure we should warn the user, crash, etc.
33222 fi
33223 fi
33224
33225 if test "$wxUSE_GUI" = "yes"; then
33226
33227
33228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33229 drawing dynamic erase event exec font image \
33230 minimal propsize rotate shaped widgets"
33231
33232 if test "$wxUSE_MONOLITHIC" != "yes"; then
33233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33234 fi
33235 else
33236 SAMPLES_SUBDIRS="console"
33237 fi
33238
33239
33240 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33241 -I\${top_srcdir}/include \
33242 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33243 $TOOLKIT_INCLUDE"
33244
33245 if test "$GXX" = yes ; then
33246 CXXWARNINGS="-Wall"
33247 fi
33248
33249 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33250
33251 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33252 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33253 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33254
33255
33256 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33257 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33258 if test "$wxUSE_GUI" = "yes"; then
33259 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33260 fi
33261
33262 LDFLAGS="$LDFLAGS $PROFILE"
33263
33264 if test "$wxUSE_GTK" = 1; then
33265 WXCONFIG_INCLUDE=
33266 else
33267 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33268 fi
33269
33270 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33271 WXUNIV=1
33272 else
33273 WXUNIV=0
33274 fi
33275
33276
33277
33278
33279
33280
33281
33282
33283 if test $wxUSE_MONOLITHIC = "yes" ; then
33284 MONOLITHIC=1
33285 else
33286 MONOLITHIC=0
33287 fi
33288
33289 VENDOR="custom"
33290 OFFICIAL_BUILD=0
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33302
33303
33304
33305
33306
33307 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33308
33309 if test -n "$ac_tool_prefix"; then
33310 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33311 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33312 echo "$as_me:$LINENO: checking for $ac_word" >&5
33313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33314 if test "${ac_cv_prog_RANLIB+set}" = set; then
33315 echo $ECHO_N "(cached) $ECHO_C" >&6
33316 else
33317 if test -n "$RANLIB"; then
33318 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33319 else
33320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33321 for as_dir in $PATH
33322 do
33323 IFS=$as_save_IFS
33324 test -z "$as_dir" && as_dir=.
33325 for ac_exec_ext in '' $ac_executable_extensions; do
33326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33327 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33329 break 2
33330 fi
33331 done
33332 done
33333
33334 fi
33335 fi
33336 RANLIB=$ac_cv_prog_RANLIB
33337 if test -n "$RANLIB"; then
33338 echo "$as_me:$LINENO: result: $RANLIB" >&5
33339 echo "${ECHO_T}$RANLIB" >&6
33340 else
33341 echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6
33343 fi
33344
33345 fi
33346 if test -z "$ac_cv_prog_RANLIB"; then
33347 ac_ct_RANLIB=$RANLIB
33348 # Extract the first word of "ranlib", so it can be a program name with args.
33349 set dummy ranlib; ac_word=$2
33350 echo "$as_me:$LINENO: checking for $ac_word" >&5
33351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33352 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 else
33355 if test -n "$ac_ct_RANLIB"; then
33356 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33357 else
33358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33359 for as_dir in $PATH
33360 do
33361 IFS=$as_save_IFS
33362 test -z "$as_dir" && as_dir=.
33363 for ac_exec_ext in '' $ac_executable_extensions; do
33364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33365 ac_cv_prog_ac_ct_RANLIB="ranlib"
33366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33367 break 2
33368 fi
33369 done
33370 done
33371
33372 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33373 fi
33374 fi
33375 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33376 if test -n "$ac_ct_RANLIB"; then
33377 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33378 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33379 else
33380 echo "$as_me:$LINENO: result: no" >&5
33381 echo "${ECHO_T}no" >&6
33382 fi
33383
33384 RANLIB=$ac_ct_RANLIB
33385 else
33386 RANLIB="$ac_cv_prog_RANLIB"
33387 fi
33388
33389 # Find a good install program. We prefer a C program (faster),
33390 # so one script is as good as another. But avoid the broken or
33391 # incompatible versions:
33392 # SysV /etc/install, /usr/sbin/install
33393 # SunOS /usr/etc/install
33394 # IRIX /sbin/install
33395 # AIX /bin/install
33396 # AmigaOS /C/install, which installs bootblocks on floppy discs
33397 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33398 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33399 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33400 # ./install, which can be erroneously created by make from ./install.sh.
33401 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33403 if test -z "$INSTALL"; then
33404 if test "${ac_cv_path_install+set}" = set; then
33405 echo $ECHO_N "(cached) $ECHO_C" >&6
33406 else
33407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33408 for as_dir in $PATH
33409 do
33410 IFS=$as_save_IFS
33411 test -z "$as_dir" && as_dir=.
33412 # Account for people who put trailing slashes in PATH elements.
33413 case $as_dir/ in
33414 ./ | .// | /cC/* | \
33415 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33416 /usr/ucb/* ) ;;
33417 *)
33418 # OSF1 and SCO ODT 3.0 have their own names for install.
33419 # Don't use installbsd from OSF since it installs stuff as root
33420 # by default.
33421 for ac_prog in ginstall scoinst install; do
33422 for ac_exec_ext in '' $ac_executable_extensions; do
33423 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33424 if test $ac_prog = install &&
33425 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33426 # AIX install. It has an incompatible calling convention.
33427 :
33428 elif test $ac_prog = install &&
33429 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33430 # program-specific install script used by HP pwplus--don't use.
33431 :
33432 else
33433 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33434 break 3
33435 fi
33436 fi
33437 done
33438 done
33439 ;;
33440 esac
33441 done
33442
33443
33444 fi
33445 if test "${ac_cv_path_install+set}" = set; then
33446 INSTALL=$ac_cv_path_install
33447 else
33448 # As a last resort, use the slow shell script. We don't cache a
33449 # path for INSTALL within a source directory, because that will
33450 # break other packages using the cache if that directory is
33451 # removed, or if the path is relative.
33452 INSTALL=$ac_install_sh
33453 fi
33454 fi
33455 echo "$as_me:$LINENO: result: $INSTALL" >&5
33456 echo "${ECHO_T}$INSTALL" >&6
33457
33458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33459 # It thinks the first close brace ends the variable substitution.
33460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33461
33462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33463
33464 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33465
33466 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33467 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33468 LN_S=$as_ln_s
33469 if test "$LN_S" = "ln -s"; then
33470 echo "$as_me:$LINENO: result: yes" >&5
33471 echo "${ECHO_T}yes" >&6
33472 else
33473 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33474 echo "${ECHO_T}no, using $LN_S" >&6
33475 fi
33476
33477
33478 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33479 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33480 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33481 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33482 echo $ECHO_N "(cached) $ECHO_C" >&6
33483 else
33484 cat >conftest.make <<\_ACEOF
33485 all:
33486 @echo 'ac_maketemp="$(MAKE)"'
33487 _ACEOF
33488 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33489 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33490 if test -n "$ac_maketemp"; then
33491 eval ac_cv_prog_make_${ac_make}_set=yes
33492 else
33493 eval ac_cv_prog_make_${ac_make}_set=no
33494 fi
33495 rm -f conftest.make
33496 fi
33497 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33498 echo "$as_me:$LINENO: result: yes" >&5
33499 echo "${ECHO_T}yes" >&6
33500 SET_MAKE=
33501 else
33502 echo "$as_me:$LINENO: result: no" >&5
33503 echo "${ECHO_T}no" >&6
33504 SET_MAKE="MAKE=${MAKE-make}"
33505 fi
33506
33507
33508
33509 if test "$build" != "$host" ; then
33510 AR=$host_alias-ar
33511 STRIP=$host_alias-strip
33512 else
33513 # Extract the first word of "ar", so it can be a program name with args.
33514 set dummy ar; ac_word=$2
33515 echo "$as_me:$LINENO: checking for $ac_word" >&5
33516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33517 if test "${ac_cv_prog_AR+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 else
33520 if test -n "$AR"; then
33521 ac_cv_prog_AR="$AR" # Let the user override the test.
33522 else
33523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33524 for as_dir in $PATH
33525 do
33526 IFS=$as_save_IFS
33527 test -z "$as_dir" && as_dir=.
33528 for ac_exec_ext in '' $ac_executable_extensions; do
33529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33530 ac_cv_prog_AR="ar"
33531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33532 break 2
33533 fi
33534 done
33535 done
33536
33537 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33538 fi
33539 fi
33540 AR=$ac_cv_prog_AR
33541 if test -n "$AR"; then
33542 echo "$as_me:$LINENO: result: $AR" >&5
33543 echo "${ECHO_T}$AR" >&6
33544 else
33545 echo "$as_me:$LINENO: result: no" >&5
33546 echo "${ECHO_T}no" >&6
33547 fi
33548
33549 # Extract the first word of "strip", so it can be a program name with args.
33550 set dummy strip; ac_word=$2
33551 echo "$as_me:$LINENO: checking for $ac_word" >&5
33552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33553 if test "${ac_cv_prog_STRIP+set}" = set; then
33554 echo $ECHO_N "(cached) $ECHO_C" >&6
33555 else
33556 if test -n "$STRIP"; then
33557 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33558 else
33559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33560 for as_dir in $PATH
33561 do
33562 IFS=$as_save_IFS
33563 test -z "$as_dir" && as_dir=.
33564 for ac_exec_ext in '' $ac_executable_extensions; do
33565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33566 ac_cv_prog_STRIP="strip"
33567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33568 break 2
33569 fi
33570 done
33571 done
33572
33573 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33574 fi
33575 fi
33576 STRIP=$ac_cv_prog_STRIP
33577 if test -n "$STRIP"; then
33578 echo "$as_me:$LINENO: result: $STRIP" >&5
33579 echo "${ECHO_T}$STRIP" >&6
33580 else
33581 echo "$as_me:$LINENO: result: no" >&5
33582 echo "${ECHO_T}no" >&6
33583 fi
33584
33585 fi
33586
33587 case ${host} in
33588 *-hp-hpux* )
33589 INSTALL_DIR="mkdir"
33590 ;;
33591 *) INSTALL_DIR="$INSTALL -d"
33592 ;;
33593 esac
33594
33595
33596 LDFLAGS_GUI=
33597 case ${host} in
33598 *-*-cygwin* | *-*-mingw32* )
33599 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
33600 esac
33601
33602
33603 fi
33604
33605 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33606 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33607 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 else
33610
33611 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33612 egrep -s GNU > /dev/null); then
33613 bakefile_cv_prog_makeisgnu="yes"
33614 else
33615 bakefile_cv_prog_makeisgnu="no"
33616 fi
33617
33618 fi
33619 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33620 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33621
33622 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33623 IF_GNU_MAKE=""
33624 else
33625 IF_GNU_MAKE="#"
33626 fi
33627
33628
33629
33630 PLATFORM_UNIX=0
33631 PLATFORM_WIN32=0
33632 PLATFORM_MSDOS=0
33633 PLATFORM_MAC=0
33634 PLATFORM_MACOSX=0
33635
33636 case "${host}" in
33637 *-*-cygwin* | *-*-mingw32* )
33638 PLATFORM_WIN32=1
33639 ;;
33640 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33641 PLATFORM_MSDOS=1
33642 ;;
33643 powerpc-*-darwin* )
33644 PLATFORM_MAC=1
33645 PLATFORM_MACOSX=1
33646 ;;
33647 * )
33648 PLATFORM_UNIX=1
33649 ;;
33650 esac
33651
33652
33653
33654
33655
33656
33657
33658
33659 SO_SUFFIX="so"
33660 EXEEXT=""
33661 DLLPREFIX=lib
33662
33663 case "${host}" in
33664 *-hp-hpux* )
33665 SO_SUFFIX="sl"
33666 ;;
33667 *-*-aix* )
33668 SO_SUFFIX="a"
33669 ;;
33670 *-*-cygwin* | *-*-mingw32* )
33671 SO_SUFFIX="dll"
33672 EXEEXT=".exe"
33673 DLLPREFIX=""
33674 ;;
33675 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33676 EXEEXT=".exe"
33677 DLLPREFIX=""
33678 ;;
33679 powerpc-*-darwin* )
33680 SO_SUFFIX="dylib"
33681 ;;
33682 esac
33683
33684
33685
33686
33687
33688
33689 SHARED_LD_CC="\$(CC) -shared -o"
33690 SHARED_LD_CXX="\$(CXX) -shared -o"
33691
33692 if test "x$GCC" = "xyes"; then
33693 PIC_FLAG="-fPIC"
33694 fi
33695
33696 case "${host}" in
33697 *-hp-hpux* )
33698 if test "x$GCC" = "xyes"; then
33699 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33700 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33701 else
33702 LDFLAGS="$LDFLAGS -L/usr/lib"
33703
33704 SHARED_LD_CC="${CC} -b -o"
33705 SHARED_LD_CXX="${CXX} -b -o"
33706 PIC_FLAG="+Z"
33707 fi
33708 ;;
33709
33710 *-*-linux* )
33711 if test "x$GCC" != "xyes"; then
33712 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33713 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33714 if test "${bakefile_cv_prog_icc+set}" = set; then
33715 echo $ECHO_N "(cached) $ECHO_C" >&6
33716 else
33717
33718 cat >conftest.$ac_ext <<_ACEOF
33719 #line $LINENO "configure"
33720 /* confdefs.h. */
33721 _ACEOF
33722 cat confdefs.h >>conftest.$ac_ext
33723 cat >>conftest.$ac_ext <<_ACEOF
33724 /* end confdefs.h. */
33725
33726 int
33727 main ()
33728 {
33729
33730 #ifndef __INTEL_COMPILER
33731 #error Not icc
33732 #endif
33733
33734 ;
33735 return 0;
33736 }
33737 _ACEOF
33738 rm -f conftest.$ac_objext
33739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33740 (eval $ac_compile) 2>&5
33741 ac_status=$?
33742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33743 (exit $ac_status); } &&
33744 { ac_try='test -s conftest.$ac_objext'
33745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33746 (eval $ac_try) 2>&5
33747 ac_status=$?
33748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33749 (exit $ac_status); }; }; then
33750 bakefile_cv_prog_icc=yes
33751 else
33752 echo "$as_me: failed program was:" >&5
33753 sed 's/^/| /' conftest.$ac_ext >&5
33754
33755 bakefile_cv_prog_icc=no
33756
33757 fi
33758 rm -f conftest.$ac_objext conftest.$ac_ext
33759
33760 fi
33761 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33762 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33763 if test "$bakefile_cv_prog_icc" = "yes"; then
33764 PIC_FLAG="-KPIC"
33765 fi
33766 fi
33767 ;;
33768
33769 *-*-solaris2* )
33770 if test "x$GCC" != xyes ; then
33771 SHARED_LD_CC="${CC} -G -o"
33772 SHARED_LD_CXX="${CXX} -G -o"
33773 PIC_FLAG="-KPIC"
33774 fi
33775 ;;
33776
33777 *-*-darwin* )
33778 CFLAGS="$CFLAGS -fno-common"
33779 CXXFLAGS="$CXXFLAGS -fno-common"
33780
33781
33782 cat <<EOF >shared-ld-sh
33783 #!/bin/sh
33784 #-----------------------------------------------------------------------------
33785 #-- Name: distrib/mac/shared-ld-sh
33786 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33787 #-- Author: Gilles Depeyrot
33788 #-- Copyright: (c) 2002 Gilles Depeyrot
33789 #-- Licence: any use permitted
33790 #-----------------------------------------------------------------------------
33791
33792 verbose=0
33793 args=""
33794 objects=""
33795
33796 while test \${#} -gt 0; do
33797 case \${1} in
33798
33799 -v)
33800 verbose=1
33801 ;;
33802
33803 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33804 # collect these options and values
33805 args="\${args} \${1} \${2}"
33806 shift
33807 ;;
33808
33809 -l*|-L*|-flat_namespace)
33810 # collect these options
33811 args="\${args} \${1}"
33812 ;;
33813
33814 -dynamiclib)
33815 # skip these options
33816 ;;
33817
33818 -*)
33819 echo "shared-ld: unhandled option '\${1}'"
33820 exit 1
33821 ;;
33822
33823 *.o | *.a)
33824 # collect object files
33825 objects="\${objects} \${1}"
33826 ;;
33827
33828 *)
33829 echo "shared-ld: unhandled argument '\${1}'"
33830 exit 1
33831 ;;
33832
33833 esac
33834 shift
33835 done
33836
33837 #
33838 # Link one module containing all the others
33839 #
33840 if test \${verbose} = 1; then
33841 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33842 fi
33843 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33844 status=\$?
33845 if test \${status} != 0; then
33846 exit \${status}
33847 fi
33848
33849 #
33850 # Link the shared library from the single module created
33851 #
33852 if test \${verbose} = 1; then
33853 echo "cc -dynamiclib master.\$\$.o \${args}"
33854 fi
33855 c++ -dynamiclib master.\$\$.o \${args}
33856 status=\$?
33857 if test \${status} != 0; then
33858 exit \${status}
33859 fi
33860
33861 #
33862 # Remove intermediate module
33863 #
33864 rm -f master.\$\$.o
33865
33866 exit 0
33867 EOF
33868 chmod +x shared-ld-sh
33869
33870 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33871 SHARED_LD_CXX="$SHARED_LD_CC"
33872 PIC_FLAG="-dynamic -fPIC"
33873 ;;
33874
33875 *-*-aix* )
33876 if test "x$GCC" != "xyes"; then
33877 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33878 set dummy makeC++SharedLib; ac_word=$2
33879 echo "$as_me:$LINENO: checking for $ac_word" >&5
33880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33881 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33883 else
33884 if test -n "$AIX_CXX_LD"; then
33885 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
33886 else
33887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33888 for as_dir in $PATH
33889 do
33890 IFS=$as_save_IFS
33891 test -z "$as_dir" && as_dir=.
33892 for ac_exec_ext in '' $ac_executable_extensions; do
33893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33894 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
33895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33896 break 2
33897 fi
33898 done
33899 done
33900
33901 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
33902 fi
33903 fi
33904 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
33905 if test -n "$AIX_CXX_LD"; then
33906 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33907 echo "${ECHO_T}$AIX_CXX_LD" >&6
33908 else
33909 echo "$as_me:$LINENO: result: no" >&5
33910 echo "${ECHO_T}no" >&6
33911 fi
33912
33913 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
33914 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
33915 fi
33916 ;;
33917
33918 *-*-beos* )
33919 SHARED_LD_CC="${LD} -shared -o"
33920 SHARED_LD_CXX="${LD} -shared -o"
33921 ;;
33922
33923 *-*-irix* )
33924 if test "x$GCC" != "xyes"; then
33925 PIC_FLAG="-KPIC"
33926 fi
33927 ;;
33928
33929 *-*-cygwin* | *-*-mingw32* )
33930 PIC_FLAG=""
33931 ;;
33932
33933 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
33934 *-*-sunos4* | \
33935 *-*-osf* | \
33936 *-*-dgux5* | \
33937 *-*-sysv5* )
33938 ;;
33939
33940 *)
33941 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
33942 echo "$as_me: error: unknown system type $host." >&2;}
33943 { (exit 1); exit 1; }; }
33944 esac
33945
33946
33947
33948
33949
33950
33951 USE_SOVERSION=0
33952 USE_SOVERLINUX=0
33953 USE_SOVERSOLARIS=0
33954 USE_SOSYMLINKS=0
33955 USE_MACVERSION=0
33956 SONAME_FLAG=
33957
33958 case "${host}" in
33959 *-*-linux* )
33960 SONAME_FLAG="-Wl,-soname,"
33961 USE_SOVERSION=1
33962 USE_SOVERLINUX=1
33963 USE_SOSYMLINKS=1
33964 ;;
33965
33966 *-*-solaris2* )
33967 SONAME_FLAG="-h "
33968 USE_SOVERSION=1
33969 USE_SOVERSOLARIS=1
33970 USE_SOSYMLINKS=1
33971 ;;
33972
33973 *-*-darwin* )
33974 USE_MACVERSION=1
33975 USE_SOVERSION=1
33976 USE_SOSYMLINKS=1
33977 ;;
33978 esac
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
33989 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
33990 DEPS_TRACKING=0
33991
33992 if test "x$GCC" = "xyes"; then
33993 DEPSMODE=gcc
33994 DEPS_TRACKING=1
33995 echo "$as_me:$LINENO: result: gcc" >&5
33996 echo "${ECHO_T}gcc" >&6
33997 else
33998 echo "$as_me:$LINENO: result: none" >&5
33999 echo "${ECHO_T}none" >&6
34000 fi
34001
34002 if test $DEPS_TRACKING = 1 ; then
34003 cat <<EOF >bk-deps
34004 #!/bin/sh
34005
34006 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34007 # It is used to track C/C++ files dependencies in portable way.
34008 #
34009 # Permission is given to use this file in any way.
34010
34011 DEPSMODE=$DEPSMODE
34012 DEPSDIR=.deps
34013
34014 mkdir -p \$DEPSDIR
34015
34016 if test \$DEPSMODE = gcc ; then
34017 \${*} -MMD
34018 status=\${?}
34019 if test \${status} != 0 ; then
34020 exit \${status}
34021 fi
34022 # move created file to the location we want it in:
34023 while test \${#} -gt 0; do
34024 case "\${1}" in
34025 -o )
34026 shift
34027 objfile=\${1}
34028 ;;
34029 -* )
34030 ;;
34031 * )
34032 srcfile=\${1}
34033 ;;
34034 esac
34035 shift
34036 done
34037 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34038 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34039 if test -f \$depfile ; then
34040 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34041 rm -f \$depfile
34042 else
34043 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34044 if test -f \$depfile ; then
34045 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34046 rm -f \$depfile
34047 fi
34048 fi
34049 exit 0
34050 else
34051 \${*}
34052 exit \${?}
34053 fi
34054 EOF
34055 chmod +x bk-deps
34056 fi
34057
34058
34059
34060
34061 RESCOMP=
34062 SETFILE=
34063
34064 case ${host} in
34065 *-*-cygwin* | *-*-mingw32* )
34066 if test "$build" != "$host" ; then
34067 RESCOMP=$host_alias-windres
34068 else
34069 # Extract the first word of "windres", so it can be a program name with args.
34070 set dummy windres; ac_word=$2
34071 echo "$as_me:$LINENO: checking for $ac_word" >&5
34072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34073 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34074 echo $ECHO_N "(cached) $ECHO_C" >&6
34075 else
34076 if test -n "$RESCOMP"; then
34077 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34078 else
34079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34080 for as_dir in $PATH
34081 do
34082 IFS=$as_save_IFS
34083 test -z "$as_dir" && as_dir=.
34084 for ac_exec_ext in '' $ac_executable_extensions; do
34085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34086 ac_cv_prog_RESCOMP="windres"
34087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34088 break 2
34089 fi
34090 done
34091 done
34092
34093 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34094 fi
34095 fi
34096 RESCOMP=$ac_cv_prog_RESCOMP
34097 if test -n "$RESCOMP"; then
34098 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34099 echo "${ECHO_T}$RESCOMP" >&6
34100 else
34101 echo "$as_me:$LINENO: result: no" >&5
34102 echo "${ECHO_T}no" >&6
34103 fi
34104
34105 fi
34106 ;;
34107
34108 *-*-darwin* )
34109 # Extract the first word of "Rez", so it can be a program name with args.
34110 set dummy Rez; ac_word=$2
34111 echo "$as_me:$LINENO: checking for $ac_word" >&5
34112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34113 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34114 echo $ECHO_N "(cached) $ECHO_C" >&6
34115 else
34116 if test -n "$RESCOMP"; then
34117 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34118 else
34119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34120 for as_dir in $PATH
34121 do
34122 IFS=$as_save_IFS
34123 test -z "$as_dir" && as_dir=.
34124 for ac_exec_ext in '' $ac_executable_extensions; do
34125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34126 ac_cv_prog_RESCOMP="Rez"
34127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34128 break 2
34129 fi
34130 done
34131 done
34132
34133 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34134 fi
34135 fi
34136 RESCOMP=$ac_cv_prog_RESCOMP
34137 if test -n "$RESCOMP"; then
34138 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34139 echo "${ECHO_T}$RESCOMP" >&6
34140 else
34141 echo "$as_me:$LINENO: result: no" >&5
34142 echo "${ECHO_T}no" >&6
34143 fi
34144
34145 # Extract the first word of "SetFile", so it can be a program name with args.
34146 set dummy SetFile; ac_word=$2
34147 echo "$as_me:$LINENO: checking for $ac_word" >&5
34148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34149 if test "${ac_cv_prog_SETFILE+set}" = set; then
34150 echo $ECHO_N "(cached) $ECHO_C" >&6
34151 else
34152 if test -n "$SETFILE"; then
34153 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34154 else
34155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34156 for as_dir in $PATH
34157 do
34158 IFS=$as_save_IFS
34159 test -z "$as_dir" && as_dir=.
34160 for ac_exec_ext in '' $ac_executable_extensions; do
34161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34162 ac_cv_prog_SETFILE="SetFile"
34163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34164 break 2
34165 fi
34166 done
34167 done
34168
34169 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34170 fi
34171 fi
34172 SETFILE=$ac_cv_prog_SETFILE
34173 if test -n "$SETFILE"; then
34174 echo "$as_me:$LINENO: result: $SETFILE" >&5
34175 echo "${ECHO_T}$SETFILE" >&6
34176 else
34177 echo "$as_me:$LINENO: result: no" >&5
34178 echo "${ECHO_T}no" >&6
34179 fi
34180
34181 ;;
34182 esac
34183
34184
34185
34186
34187
34188
34189
34190 COND_BUILD_DEBUG="#"
34191 if test "x$BUILD" = "xdebug" ; then
34192 COND_BUILD_DEBUG=""
34193 fi
34194
34195 COND_BUILD_RELEASE="#"
34196 if test "x$BUILD" = "xrelease" ; then
34197 COND_BUILD_RELEASE=""
34198 fi
34199
34200 COND_DEPS_TRACKING_0="#"
34201 if test "x$DEPS_TRACKING" = "x0" ; then
34202 COND_DEPS_TRACKING_0=""
34203 fi
34204
34205 COND_DEPS_TRACKING_1="#"
34206 if test "x$DEPS_TRACKING" = "x1" ; then
34207 COND_DEPS_TRACKING_1=""
34208 fi
34209
34210 COND_MONOLITHIC_0="#"
34211 if test "x$MONOLITHIC" = "x0" ; then
34212 COND_MONOLITHIC_0=""
34213 fi
34214
34215 COND_MONOLITHIC_0_SHARED_0="#"
34216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34217 COND_MONOLITHIC_0_SHARED_0=""
34218 fi
34219
34220 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34222 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34223 fi
34224
34225 COND_MONOLITHIC_0_SHARED_1="#"
34226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34227 COND_MONOLITHIC_0_SHARED_1=""
34228 fi
34229
34230 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34232 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34233 fi
34234
34235 COND_MONOLITHIC_1="#"
34236 if test "x$MONOLITHIC" = "x1" ; then
34237 COND_MONOLITHIC_1=""
34238 fi
34239
34240 COND_MONOLITHIC_1_SHARED_0="#"
34241 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34242 COND_MONOLITHIC_1_SHARED_0=""
34243 fi
34244
34245 COND_MONOLITHIC_1_SHARED_1="#"
34246 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34247 COND_MONOLITHIC_1_SHARED_1=""
34248 fi
34249
34250 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34251 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34252 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34253 fi
34254
34255 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34256 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34257 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34258 fi
34259
34260 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34261 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34262 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34263 fi
34264
34265 COND_PLATFORM_MACOSX_1="#"
34266 if test "x$PLATFORM_MACOSX" = "x1" ; then
34267 COND_PLATFORM_MACOSX_1=""
34268 fi
34269
34270 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34271 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34272 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34273 fi
34274
34275 COND_PLATFORM_UNIX_1="#"
34276 if test "x$PLATFORM_UNIX" = "x1" ; then
34277 COND_PLATFORM_UNIX_1=""
34278 fi
34279
34280 COND_PLATFORM_WIN32_0="#"
34281 if test "x$PLATFORM_WIN32" = "x0" ; then
34282 COND_PLATFORM_WIN32_0=""
34283 fi
34284
34285 COND_PLATFORM_WIN32_1="#"
34286 if test "x$PLATFORM_WIN32" = "x1" ; then
34287 COND_PLATFORM_WIN32_1=""
34288 fi
34289
34290 COND_TOOLKIT_COCOA="#"
34291 if test "x$TOOLKIT" = "xCOCOA" ; then
34292 COND_TOOLKIT_COCOA=""
34293 fi
34294
34295 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34296 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34297 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34298 fi
34299
34300 COND_TOOLKIT_GTK="#"
34301 if test "x$TOOLKIT" = "xGTK" ; then
34302 COND_TOOLKIT_GTK=""
34303 fi
34304
34305 COND_TOOLKIT_GTK_USE_GUI_1="#"
34306 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34307 COND_TOOLKIT_GTK_USE_GUI_1=""
34308 fi
34309
34310 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34311 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34312 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34313 fi
34314
34315 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34316 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34317 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34318 fi
34319
34320 COND_TOOLKIT_MAC="#"
34321 if test "x$TOOLKIT" = "xMAC" ; then
34322 COND_TOOLKIT_MAC=""
34323 fi
34324
34325 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34326 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34327 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34328 fi
34329
34330 COND_TOOLKIT_MGL="#"
34331 if test "x$TOOLKIT" = "xMGL" ; then
34332 COND_TOOLKIT_MGL=""
34333 fi
34334
34335 COND_TOOLKIT_MGL_USE_GUI_1="#"
34336 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34337 COND_TOOLKIT_MGL_USE_GUI_1=""
34338 fi
34339
34340 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34341 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34342 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34343 fi
34344
34345 COND_TOOLKIT_MOTIF="#"
34346 if test "x$TOOLKIT" = "xMOTIF" ; then
34347 COND_TOOLKIT_MOTIF=""
34348 fi
34349
34350 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34351 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34352 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34353 fi
34354
34355 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34356 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34357 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34358 fi
34359
34360 COND_TOOLKIT_MSW="#"
34361 if test "x$TOOLKIT" = "xMSW" ; then
34362 COND_TOOLKIT_MSW=""
34363 fi
34364
34365 COND_TOOLKIT_MSW_USE_GUI_1="#"
34366 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34367 COND_TOOLKIT_MSW_USE_GUI_1=""
34368 fi
34369
34370 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34371 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34372 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34373 fi
34374
34375 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34376 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34377 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34378 fi
34379
34380 COND_TOOLKIT_OS2="#"
34381 if test "x$TOOLKIT" = "xOS2" ; then
34382 COND_TOOLKIT_OS2=""
34383 fi
34384
34385 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34386 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34387 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34388 fi
34389
34390 COND_TOOLKIT_X11="#"
34391 if test "x$TOOLKIT" = "xX11" ; then
34392 COND_TOOLKIT_X11=""
34393 fi
34394
34395 COND_TOOLKIT_X11_USE_GUI_1="#"
34396 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34397 COND_TOOLKIT_X11_USE_GUI_1=""
34398 fi
34399
34400 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34401 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34402 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34403 fi
34404
34405 COND_UNICODE_1="#"
34406 if test "x$UNICODE" = "x1" ; then
34407 COND_UNICODE_1=""
34408 fi
34409
34410 COND_USE_GUI_0="#"
34411 if test "x$USE_GUI" = "x0" ; then
34412 COND_USE_GUI_0=""
34413 fi
34414
34415 COND_USE_GUI_1="#"
34416 if test "x$USE_GUI" = "x1" ; then
34417 COND_USE_GUI_1=""
34418 fi
34419
34420 COND_USE_GUI_1_WXUNIV_0="#"
34421 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34422 COND_USE_GUI_1_WXUNIV_0=""
34423 fi
34424
34425 COND_USE_GUI_1_WXUNIV_1="#"
34426 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34427 COND_USE_GUI_1_WXUNIV_1=""
34428 fi
34429
34430 COND_USE_SOSYMLINKS_1="#"
34431 if test "x$USE_SOSYMLINKS" = "x1" ; then
34432 COND_USE_SOSYMLINKS_1=""
34433 fi
34434
34435 COND_USE_SOVERLINUX_1="#"
34436 if test "x$USE_SOVERLINUX" = "x1" ; then
34437 COND_USE_SOVERLINUX_1=""
34438 fi
34439
34440 COND_USE_SOVERSION_0="#"
34441 if test "x$USE_SOVERSION" = "x0" ; then
34442 COND_USE_SOVERSION_0=""
34443 fi
34444
34445 COND_USE_SOVERSOLARIS_1="#"
34446 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34447 COND_USE_SOVERSOLARIS_1=""
34448 fi
34449
34450 COND_WXUNIV_1="#"
34451 if test "x$WXUNIV" = "x1" ; then
34452 COND_WXUNIV_1=""
34453 fi
34454
34455 COND_WXUSE_LIBJPEG_BUILTIN="#"
34456 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34457 COND_WXUSE_LIBJPEG_BUILTIN=""
34458 fi
34459
34460 COND_WXUSE_LIBPNG_BUILTIN="#"
34461 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34462 COND_WXUSE_LIBPNG_BUILTIN=""
34463 fi
34464
34465 COND_WXUSE_LIBTIFF_BUILTIN="#"
34466 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34467 COND_WXUSE_LIBTIFF_BUILTIN=""
34468 fi
34469
34470 COND_WXUSE_ODBC_BUILTIN="#"
34471 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34472 COND_WXUSE_ODBC_BUILTIN=""
34473 fi
34474
34475 COND_WXUSE_REGEX_BUILTIN="#"
34476 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34477 COND_WXUSE_REGEX_BUILTIN=""
34478 fi
34479
34480 COND_WXUSE_ZLIB_BUILTIN="#"
34481 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34482 COND_WXUSE_ZLIB_BUILTIN=""
34483 fi
34484
34485 COND_PLATFORM_MAC_1="#"
34486 if test "x$PLATFORM_MAC" = "x1" ; then
34487 COND_PLATFORM_MAC_1=""
34488 fi
34489
34490 COND_SHARED_1="#"
34491 if test "x$SHARED" = "x1" ; then
34492 COND_SHARED_1=""
34493 fi
34494
34495 COND_SHARED_0="#"
34496 if test "x$SHARED" = "x0" ; then
34497 COND_SHARED_0=""
34498 fi
34499
34500
34501
34502
34503
34504
34505 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34607 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34608 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34609 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34610 echo $ECHO_N "(cached) $ECHO_C" >&6
34611 else
34612 cat >conftest.make <<\_ACEOF
34613 all:
34614 @echo 'ac_maketemp="$(MAKE)"'
34615 _ACEOF
34616 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34617 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34618 if test -n "$ac_maketemp"; then
34619 eval ac_cv_prog_make_${ac_make}_set=yes
34620 else
34621 eval ac_cv_prog_make_${ac_make}_set=no
34622 fi
34623 rm -f conftest.make
34624 fi
34625 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34626 echo "$as_me:$LINENO: result: yes" >&5
34627 echo "${ECHO_T}yes" >&6
34628 SET_MAKE=
34629 else
34630 echo "$as_me:$LINENO: result: no" >&5
34631 echo "${ECHO_T}no" >&6
34632 SET_MAKE="MAKE=${MAKE-make}"
34633 fi
34634
34635
34636 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34637 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34638 fi
34639
34640 ac_config_headers="$ac_config_headers setup.h"
34641
34642
34643 ac_config_files="$ac_config_files wx-config version-script Makefile"
34644
34645
34646 ac_config_commands="$ac_config_commands default"
34647
34648
34649
34650 if test "$wxUSE_GUI" = "yes"; then
34651 SUBDIRS="samples demos utils contrib"
34652 else SUBDIRS="samples utils"
34653 fi
34654
34655 for subdir in `echo $SUBDIRS`; do
34656 if test -d ${srcdir}/${subdir} ; then
34657 if test "$wxUSE_GUI" = "yes"; then
34658 if test ${subdir} = "samples"; then
34659 for sample in `echo $SAMPLES_SUBDIRS`; do
34660 if test -d $srcdir/samples/$sample; then
34661 makefiles="samples/$sample/Makefile.in $makefiles"
34662 fi
34663 done
34664 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34665 fi
34666 else if test ${subdir} = "samples"; then
34667 makefiles="samples/console/Makefile.in"
34668 else makefiles="utils/HelpGen/Makefile.in \
34669 utils/HelpGen/src/Makefile.in \
34670 utils/makegen/Makefile.in"
34671 fi
34672 fi
34673
34674 for mkin in $makefiles ; do
34675 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34676 ac_config_files="$ac_config_files $mk"
34677
34678 done
34679 fi
34680 done
34681
34682
34683 cat >confcache <<\_ACEOF
34684 # This file is a shell script that caches the results of configure
34685 # tests run on this system so they can be shared between configure
34686 # scripts and configure runs, see configure's option --config-cache.
34687 # It is not useful on other systems. If it contains results you don't
34688 # want to keep, you may remove or edit it.
34689 #
34690 # config.status only pays attention to the cache file if you give it
34691 # the --recheck option to rerun configure.
34692 #
34693 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34694 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34695 # following values.
34696
34697 _ACEOF
34698
34699 # The following way of writing the cache mishandles newlines in values,
34700 # but we know of no workaround that is simple, portable, and efficient.
34701 # So, don't put newlines in cache variables' values.
34702 # Ultrix sh set writes to stderr and can't be redirected directly,
34703 # and sets the high bit in the cache file unless we assign to the vars.
34704 {
34705 (set) 2>&1 |
34706 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34707 *ac_space=\ *)
34708 # `set' does not quote correctly, so add quotes (double-quote
34709 # substitution turns \\\\ into \\, and sed turns \\ into \).
34710 sed -n \
34711 "s/'/'\\\\''/g;
34712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34713 ;;
34714 *)
34715 # `set' quotes correctly as required by POSIX, so do not add quotes.
34716 sed -n \
34717 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34718 ;;
34719 esac;
34720 } |
34721 sed '
34722 t clear
34723 : clear
34724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34725 t end
34726 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34727 : end' >>confcache
34728 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34729 if test -w $cache_file; then
34730 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34731 cat confcache >$cache_file
34732 else
34733 echo "not updating unwritable cache $cache_file"
34734 fi
34735 fi
34736 rm -f confcache
34737
34738 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34739 # Let make expand exec_prefix.
34740 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34741
34742 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34743 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34744 # trailing colons and then remove the whole line if VPATH becomes empty
34745 # (actually we leave an empty line to preserve line numbers).
34746 if test "x$srcdir" = x.; then
34747 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34748 s/:*\$(srcdir):*/:/;
34749 s/:*\${srcdir}:*/:/;
34750 s/:*@srcdir@:*/:/;
34751 s/^\([^=]*=[ ]*\):*/\1/;
34752 s/:*$//;
34753 s/^[^=]*=[ ]*$//;
34754 }'
34755 fi
34756
34757 DEFS=-DHAVE_CONFIG_H
34758
34759 ac_libobjs=
34760 ac_ltlibobjs=
34761 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34762 # 1. Remove the extension, and $U if already installed.
34763 ac_i=`echo "$ac_i" |
34764 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34765 # 2. Add them.
34766 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34767 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34768 done
34769 LIBOBJS=$ac_libobjs
34770
34771 LTLIBOBJS=$ac_ltlibobjs
34772
34773
34774
34775 : ${CONFIG_STATUS=./config.status}
34776 ac_clean_files_save=$ac_clean_files
34777 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34778 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34779 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34780 cat >$CONFIG_STATUS <<_ACEOF
34781 #! $SHELL
34782 # Generated by $as_me.
34783 # Run this file to recreate the current configuration.
34784 # Compiler output produced by configure, useful for debugging
34785 # configure, is in config.log if it exists.
34786
34787 debug=false
34788 ac_cs_recheck=false
34789 ac_cs_silent=false
34790 SHELL=\${CONFIG_SHELL-$SHELL}
34791 _ACEOF
34792
34793 cat >>$CONFIG_STATUS <<\_ACEOF
34794 ## --------------------- ##
34795 ## M4sh Initialization. ##
34796 ## --------------------- ##
34797
34798 # Be Bourne compatible
34799 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34800 emulate sh
34801 NULLCMD=:
34802 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34803 # is contrary to our usage. Disable this feature.
34804 alias -g '${1+"$@"}'='"$@"'
34805 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34806 set -o posix
34807 fi
34808
34809 # Support unset when possible.
34810 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34811 as_unset=unset
34812 else
34813 as_unset=false
34814 fi
34815
34816
34817 # Work around bugs in pre-3.0 UWIN ksh.
34818 $as_unset ENV MAIL MAILPATH
34819 PS1='$ '
34820 PS2='> '
34821 PS4='+ '
34822
34823 # NLS nuisances.
34824 for as_var in \
34825 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34826 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34827 LC_TELEPHONE LC_TIME
34828 do
34829 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34830 eval $as_var=C; export $as_var
34831 else
34832 $as_unset $as_var
34833 fi
34834 done
34835
34836 # Required to use basename.
34837 if expr a : '\(a\)' >/dev/null 2>&1; then
34838 as_expr=expr
34839 else
34840 as_expr=false
34841 fi
34842
34843 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34844 as_basename=basename
34845 else
34846 as_basename=false
34847 fi
34848
34849
34850 # Name of the executable.
34851 as_me=`$as_basename "$0" ||
34852 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34853 X"$0" : 'X\(//\)$' \| \
34854 X"$0" : 'X\(/\)$' \| \
34855 . : '\(.\)' 2>/dev/null ||
34856 echo X/"$0" |
34857 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34858 /^X\/\(\/\/\)$/{ s//\1/; q; }
34859 /^X\/\(\/\).*/{ s//\1/; q; }
34860 s/.*/./; q'`
34861
34862
34863 # PATH needs CR, and LINENO needs CR and PATH.
34864 # Avoid depending upon Character Ranges.
34865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34868 as_cr_digits='0123456789'
34869 as_cr_alnum=$as_cr_Letters$as_cr_digits
34870
34871 # The user is always right.
34872 if test "${PATH_SEPARATOR+set}" != set; then
34873 echo "#! /bin/sh" >conf$$.sh
34874 echo "exit 0" >>conf$$.sh
34875 chmod +x conf$$.sh
34876 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34877 PATH_SEPARATOR=';'
34878 else
34879 PATH_SEPARATOR=:
34880 fi
34881 rm -f conf$$.sh
34882 fi
34883
34884
34885 as_lineno_1=$LINENO
34886 as_lineno_2=$LINENO
34887 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34888 test "x$as_lineno_1" != "x$as_lineno_2" &&
34889 test "x$as_lineno_3" = "x$as_lineno_2" || {
34890 # Find who we are. Look in the path if we contain no path at all
34891 # relative or not.
34892 case $0 in
34893 *[\\/]* ) as_myself=$0 ;;
34894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34895 for as_dir in $PATH
34896 do
34897 IFS=$as_save_IFS
34898 test -z "$as_dir" && as_dir=.
34899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34900 done
34901
34902 ;;
34903 esac
34904 # We did not find ourselves, most probably we were run as `sh COMMAND'
34905 # in which case we are not to be found in the path.
34906 if test "x$as_myself" = x; then
34907 as_myself=$0
34908 fi
34909 if test ! -f "$as_myself"; then
34910 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34911 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34912 { (exit 1); exit 1; }; }
34913 fi
34914 case $CONFIG_SHELL in
34915 '')
34916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34917 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34918 do
34919 IFS=$as_save_IFS
34920 test -z "$as_dir" && as_dir=.
34921 for as_base in sh bash ksh sh5; do
34922 case $as_dir in
34923 /*)
34924 if ("$as_dir/$as_base" -c '
34925 as_lineno_1=$LINENO
34926 as_lineno_2=$LINENO
34927 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34928 test "x$as_lineno_1" != "x$as_lineno_2" &&
34929 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34930 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34931 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34932 CONFIG_SHELL=$as_dir/$as_base
34933 export CONFIG_SHELL
34934 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34935 fi;;
34936 esac
34937 done
34938 done
34939 ;;
34940 esac
34941
34942 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34943 # uniformly replaced by the line number. The first 'sed' inserts a
34944 # line-number line before each line; the second 'sed' does the real
34945 # work. The second script uses 'N' to pair each line-number line
34946 # with the numbered line, and appends trailing '-' during
34947 # substitution so that $LINENO is not a special case at line end.
34948 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34949 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34950 sed '=' <$as_myself |
34951 sed '
34952 N
34953 s,$,-,
34954 : loop
34955 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34956 t loop
34957 s,-$,,
34958 s,^['$as_cr_digits']*\n,,
34959 ' >$as_me.lineno &&
34960 chmod +x $as_me.lineno ||
34961 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34962 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34963 { (exit 1); exit 1; }; }
34964
34965 # Don't try to exec as it changes $[0], causing all sort of problems
34966 # (the dirname of $[0] is not the place where we might find the
34967 # original and so on. Autoconf is especially sensible to this).
34968 . ./$as_me.lineno
34969 # Exit status is that of the last command.
34970 exit
34971 }
34972
34973
34974 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34975 *c*,-n*) ECHO_N= ECHO_C='
34976 ' ECHO_T=' ' ;;
34977 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34978 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34979 esac
34980
34981 if expr a : '\(a\)' >/dev/null 2>&1; then
34982 as_expr=expr
34983 else
34984 as_expr=false
34985 fi
34986
34987 rm -f conf$$ conf$$.exe conf$$.file
34988 echo >conf$$.file
34989 if ln -s conf$$.file conf$$ 2>/dev/null; then
34990 # We could just check for DJGPP; but this test a) works b) is more generic
34991 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34992 if test -f conf$$.exe; then
34993 # Don't use ln at all; we don't have any links
34994 as_ln_s='cp -p'
34995 else
34996 as_ln_s='ln -s'
34997 fi
34998 elif ln conf$$.file conf$$ 2>/dev/null; then
34999 as_ln_s=ln
35000 else
35001 as_ln_s='cp -p'
35002 fi
35003 rm -f conf$$ conf$$.exe conf$$.file
35004
35005 if mkdir -p . 2>/dev/null; then
35006 as_mkdir_p=:
35007 else
35008 as_mkdir_p=false
35009 fi
35010
35011 as_executable_p="test -f"
35012
35013 # Sed expression to map a string onto a valid CPP name.
35014 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35015
35016 # Sed expression to map a string onto a valid variable name.
35017 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35018
35019
35020 # IFS
35021 # We need space, tab and new line, in precisely that order.
35022 as_nl='
35023 '
35024 IFS=" $as_nl"
35025
35026 # CDPATH.
35027 $as_unset CDPATH
35028
35029 exec 6>&1
35030
35031 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35032 # report actual input values of CONFIG_FILES etc. instead of their
35033 # values after options handling. Logging --version etc. is OK.
35034 exec 5>>config.log
35035 {
35036 echo
35037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35038 ## Running $as_me. ##
35039 _ASBOX
35040 } >&5
35041 cat >&5 <<_CSEOF
35042
35043 This file was extended by wxWindows $as_me 2.5.0, which was
35044 generated by GNU Autoconf 2.57. Invocation command line was
35045
35046 CONFIG_FILES = $CONFIG_FILES
35047 CONFIG_HEADERS = $CONFIG_HEADERS
35048 CONFIG_LINKS = $CONFIG_LINKS
35049 CONFIG_COMMANDS = $CONFIG_COMMANDS
35050 $ $0 $@
35051
35052 _CSEOF
35053 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35054 echo >&5
35055 _ACEOF
35056
35057 # Files that config.status was made for.
35058 if test -n "$ac_config_files"; then
35059 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35060 fi
35061
35062 if test -n "$ac_config_headers"; then
35063 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35064 fi
35065
35066 if test -n "$ac_config_links"; then
35067 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35068 fi
35069
35070 if test -n "$ac_config_commands"; then
35071 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35072 fi
35073
35074 cat >>$CONFIG_STATUS <<\_ACEOF
35075
35076 ac_cs_usage="\
35077 \`$as_me' instantiates files from templates according to the
35078 current configuration.
35079
35080 Usage: $0 [OPTIONS] [FILE]...
35081
35082 -h, --help print this help, then exit
35083 -V, --version print version number, then exit
35084 -q, --quiet do not print progress messages
35085 -d, --debug don't remove temporary files
35086 --recheck update $as_me by reconfiguring in the same conditions
35087 --file=FILE[:TEMPLATE]
35088 instantiate the configuration file FILE
35089 --header=FILE[:TEMPLATE]
35090 instantiate the configuration header FILE
35091
35092 Configuration files:
35093 $config_files
35094
35095 Configuration headers:
35096 $config_headers
35097
35098 Configuration commands:
35099 $config_commands
35100
35101 Report bugs to <bug-autoconf@gnu.org>."
35102 _ACEOF
35103
35104 cat >>$CONFIG_STATUS <<_ACEOF
35105 ac_cs_version="\\
35106 wxWindows config.status 2.5.0
35107 configured by $0, generated by GNU Autoconf 2.57,
35108 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35109
35110 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35111 Free Software Foundation, Inc.
35112 This config.status script is free software; the Free Software Foundation
35113 gives unlimited permission to copy, distribute and modify it."
35114 srcdir=$srcdir
35115 INSTALL="$INSTALL"
35116 _ACEOF
35117
35118 cat >>$CONFIG_STATUS <<\_ACEOF
35119 # If no file are specified by the user, then we need to provide default
35120 # value. By we need to know if files were specified by the user.
35121 ac_need_defaults=:
35122 while test $# != 0
35123 do
35124 case $1 in
35125 --*=*)
35126 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35127 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35128 ac_shift=:
35129 ;;
35130 -*)
35131 ac_option=$1
35132 ac_optarg=$2
35133 ac_shift=shift
35134 ;;
35135 *) # This is not an option, so the user has probably given explicit
35136 # arguments.
35137 ac_option=$1
35138 ac_need_defaults=false;;
35139 esac
35140
35141 case $ac_option in
35142 # Handling of the options.
35143 _ACEOF
35144 cat >>$CONFIG_STATUS <<\_ACEOF
35145 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35146 ac_cs_recheck=: ;;
35147 --version | --vers* | -V )
35148 echo "$ac_cs_version"; exit 0 ;;
35149 --he | --h)
35150 # Conflict between --help and --header
35151 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35152 Try \`$0 --help' for more information." >&5
35153 echo "$as_me: error: ambiguous option: $1
35154 Try \`$0 --help' for more information." >&2;}
35155 { (exit 1); exit 1; }; };;
35156 --help | --hel | -h )
35157 echo "$ac_cs_usage"; exit 0 ;;
35158 --debug | --d* | -d )
35159 debug=: ;;
35160 --file | --fil | --fi | --f )
35161 $ac_shift
35162 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35163 ac_need_defaults=false;;
35164 --header | --heade | --head | --hea )
35165 $ac_shift
35166 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35167 ac_need_defaults=false;;
35168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35169 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35170 ac_cs_silent=: ;;
35171
35172 # This is an error.
35173 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35174 Try \`$0 --help' for more information." >&5
35175 echo "$as_me: error: unrecognized option: $1
35176 Try \`$0 --help' for more information." >&2;}
35177 { (exit 1); exit 1; }; } ;;
35178
35179 *) ac_config_targets="$ac_config_targets $1" ;;
35180
35181 esac
35182 shift
35183 done
35184
35185 ac_configure_extra_args=
35186
35187 if $ac_cs_silent; then
35188 exec 6>/dev/null
35189 ac_configure_extra_args="$ac_configure_extra_args --silent"
35190 fi
35191
35192 _ACEOF
35193 cat >>$CONFIG_STATUS <<_ACEOF
35194 if \$ac_cs_recheck; then
35195 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35196 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35197 fi
35198
35199 _ACEOF
35200
35201 cat >>$CONFIG_STATUS <<_ACEOF
35202 #
35203 # INIT-COMMANDS section.
35204 #
35205
35206
35207 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35208 LN_S="${LN_S}"
35209
35210
35211
35212 _ACEOF
35213
35214
35215
35216 cat >>$CONFIG_STATUS <<\_ACEOF
35217 for ac_config_target in $ac_config_targets
35218 do
35219 case "$ac_config_target" in
35220 # Handling of arguments.
35221 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35222 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35223 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35224 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35225 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35226 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35227 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35228 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35229 { (exit 1); exit 1; }; };;
35230 esac
35231 done
35232
35233 # If the user did not use the arguments to specify the items to instantiate,
35234 # then the envvar interface is used. Set only those that are not.
35235 # We use the long form for the default assignment because of an extremely
35236 # bizarre bug on SunOS 4.1.3.
35237 if $ac_need_defaults; then
35238 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35239 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35240 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35241 fi
35242
35243 # Have a temporary directory for convenience. Make it in the build tree
35244 # simply because there is no reason to put it here, and in addition,
35245 # creating and moving files from /tmp can sometimes cause problems.
35246 # Create a temporary directory, and hook for its removal unless debugging.
35247 $debug ||
35248 {
35249 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35250 trap '{ (exit 1); exit 1; }' 1 2 13 15
35251 }
35252
35253 # Create a (secure) tmp directory for tmp files.
35254
35255 {
35256 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35257 test -n "$tmp" && test -d "$tmp"
35258 } ||
35259 {
35260 tmp=./confstat$$-$RANDOM
35261 (umask 077 && mkdir $tmp)
35262 } ||
35263 {
35264 echo "$me: cannot create a temporary directory in ." >&2
35265 { (exit 1); exit 1; }
35266 }
35267
35268 _ACEOF
35269
35270 cat >>$CONFIG_STATUS <<_ACEOF
35271
35272 #
35273 # CONFIG_FILES section.
35274 #
35275
35276 # No need to generate the scripts if there are no CONFIG_FILES.
35277 # This happens for instance when ./config.status config.h
35278 if test -n "\$CONFIG_FILES"; then
35279 # Protect against being on the right side of a sed subst in config.status.
35280 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35281 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35282 s,@SHELL@,$SHELL,;t t
35283 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35284 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35285 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35286 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35287 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35288 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35289 s,@exec_prefix@,$exec_prefix,;t t
35290 s,@prefix@,$prefix,;t t
35291 s,@program_transform_name@,$program_transform_name,;t t
35292 s,@bindir@,$bindir,;t t
35293 s,@sbindir@,$sbindir,;t t
35294 s,@libexecdir@,$libexecdir,;t t
35295 s,@datadir@,$datadir,;t t
35296 s,@sysconfdir@,$sysconfdir,;t t
35297 s,@sharedstatedir@,$sharedstatedir,;t t
35298 s,@localstatedir@,$localstatedir,;t t
35299 s,@libdir@,$libdir,;t t
35300 s,@includedir@,$includedir,;t t
35301 s,@oldincludedir@,$oldincludedir,;t t
35302 s,@infodir@,$infodir,;t t
35303 s,@mandir@,$mandir,;t t
35304 s,@build_alias@,$build_alias,;t t
35305 s,@host_alias@,$host_alias,;t t
35306 s,@target_alias@,$target_alias,;t t
35307 s,@DEFS@,$DEFS,;t t
35308 s,@ECHO_C@,$ECHO_C,;t t
35309 s,@ECHO_N@,$ECHO_N,;t t
35310 s,@ECHO_T@,$ECHO_T,;t t
35311 s,@LIBS@,$LIBS,;t t
35312 s,@build@,$build,;t t
35313 s,@build_cpu@,$build_cpu,;t t
35314 s,@build_vendor@,$build_vendor,;t t
35315 s,@build_os@,$build_os,;t t
35316 s,@host@,$host,;t t
35317 s,@host_cpu@,$host_cpu,;t t
35318 s,@host_vendor@,$host_vendor,;t t
35319 s,@host_os@,$host_os,;t t
35320 s,@target@,$target,;t t
35321 s,@target_cpu@,$target_cpu,;t t
35322 s,@target_vendor@,$target_vendor,;t t
35323 s,@target_os@,$target_os,;t t
35324 s,@CC@,$CC,;t t
35325 s,@CFLAGS@,$CFLAGS,;t t
35326 s,@LDFLAGS@,$LDFLAGS,;t t
35327 s,@CPPFLAGS@,$CPPFLAGS,;t t
35328 s,@ac_ct_CC@,$ac_ct_CC,;t t
35329 s,@EXEEXT@,$EXEEXT,;t t
35330 s,@OBJEXT@,$OBJEXT,;t t
35331 s,@CPP@,$CPP,;t t
35332 s,@EGREP@,$EGREP,;t t
35333 s,@CXX@,$CXX,;t t
35334 s,@CXXFLAGS@,$CXXFLAGS,;t t
35335 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35336 s,@RANLIB@,$RANLIB,;t t
35337 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35338 s,@AR@,$AR,;t t
35339 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35340 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35341 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35342 s,@STRIP@,$STRIP,;t t
35343 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35344 s,@YACC@,$YACC,;t t
35345 s,@LEX@,$LEX,;t t
35346 s,@LEXLIB@,$LEXLIB,;t t
35347 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35348 s,@LN_S@,$LN_S,;t t
35349 s,@CXXCPP@,$CXXCPP,;t t
35350 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35351 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35352 s,@GTK_LIBS@,$GTK_LIBS,;t t
35353 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35354 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35355 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35356 s,@X_CFLAGS@,$X_CFLAGS,;t t
35357 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35358 s,@X_LIBS@,$X_LIBS,;t t
35359 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35360 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35361 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35362 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35363 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35364 s,@RESCOMP@,$RESCOMP,;t t
35365 s,@DEREZ@,$DEREZ,;t t
35366 s,@SETFILE@,$SETFILE,;t t
35367 s,@LIBICONV@,$LIBICONV,;t t
35368 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35369 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35370 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35371 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35372 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35373 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35374 s,@VENDOR@,$VENDOR,;t t
35375 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35376 s,@WXUNIV@,$WXUNIV,;t t
35377 s,@MONOLITHIC@,$MONOLITHIC,;t t
35378 s,@EXTRALIBS@,$EXTRALIBS,;t t
35379 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35380 s,@UNICODE@,$UNICODE,;t t
35381 s,@BUILD@,$BUILD,;t t
35382 s,@SHARED@,$SHARED,;t t
35383 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35384 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35385 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35386 s,@SET_MAKE@,$SET_MAKE,;t t
35387 s,@MAKE_SET@,$MAKE_SET,;t t
35388 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35389 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35390 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35391 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35392 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35393 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35394 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35395 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35396 s,@DLLPREFIX@,$DLLPREFIX,;t t
35397 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35398 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35399 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35400 s,@PIC_FLAG@,$PIC_FLAG,;t t
35401 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35402 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35403 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35404 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35405 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35406 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35407 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35408 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35409 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35410 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35411 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35412 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35413 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35414 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35415 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35416 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35417 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35418 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35419 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35420 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35421 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35422 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35423 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35424 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35425 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35426 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35427 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35428 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35429 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35430 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35431 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35432 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35433 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35434 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35435 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35436 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35437 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35438 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35439 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35440 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35441 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35442 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35443 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35444 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35445 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35446 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35447 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35448 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35449 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35450 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35451 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35452 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35453 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35454 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35455 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35456 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35457 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35458 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35459 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35460 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35461 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35462 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35463 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35464 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35465 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35466 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35467 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35468 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35469 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35470 s,@LEX_STEM@,$LEX_STEM,;t t
35471 s,@PATH_IFS@,$PATH_IFS,;t t
35472 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35473 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35474 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35475 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35476 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35477 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35478 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35479 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35480 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35481 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35482 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35483 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35484 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35485 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35486 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35487 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35488 s,@WX_ALL@,$WX_ALL,;t t
35489 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35490 s,@SHARED_LD@,$SHARED_LD,;t t
35491 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35492 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35493 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35494 s,@USE_GUI@,$USE_GUI,;t t
35495 s,@AFMINSTALL@,$AFMINSTALL,;t t
35496 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35497 s,@TOOLKIT@,$TOOLKIT,;t t
35498 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35499 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35500 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35501 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35502 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35503 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35504 s,@cross_compiling@,$cross_compiling,;t t
35505 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35506 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35507 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35508 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35509 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35510 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35511 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35512 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35513 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35514 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35515 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35516 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35517 s,@GUIDIST@,$GUIDIST,;t t
35518 s,@PORT_FILES@,$PORT_FILES,;t t
35519 s,@DISTDIR@,$DISTDIR,;t t
35520 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35521 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35522 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35523 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35524 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35525 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35526 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35527 s,@RESFLAGS@,$RESFLAGS,;t t
35528 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35529 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35530 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35531 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35532 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35533 s,@MACRESCOMP@,$MACRESCOMP,;t t
35534 s,@MACSETFILE@,$MACSETFILE,;t t
35535 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35536 s,@GCC@,$GCC,;t t
35537 s,@DLLTOOL@,$DLLTOOL,;t t
35538 s,@AS@,$AS,;t t
35539 s,@NM@,$NM,;t t
35540 s,@LD@,$LD,;t t
35541 s,@MAKEINFO@,$MAKEINFO,;t t
35542 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35543 s,@ESD_LINK@,$ESD_LINK,;t t
35544 s,@LIBOBJS@,$LIBOBJS,;t t
35545 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35546 CEOF
35547
35548 _ACEOF
35549
35550 cat >>$CONFIG_STATUS <<\_ACEOF
35551 # Split the substitutions into bite-sized pieces for seds with
35552 # small command number limits, like on Digital OSF/1 and HP-UX.
35553 ac_max_sed_lines=48
35554 ac_sed_frag=1 # Number of current file.
35555 ac_beg=1 # First line for current file.
35556 ac_end=$ac_max_sed_lines # Line after last line for current file.
35557 ac_more_lines=:
35558 ac_sed_cmds=
35559 while $ac_more_lines; do
35560 if test $ac_beg -gt 1; then
35561 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35562 else
35563 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35564 fi
35565 if test ! -s $tmp/subs.frag; then
35566 ac_more_lines=false
35567 else
35568 # The purpose of the label and of the branching condition is to
35569 # speed up the sed processing (if there are no `@' at all, there
35570 # is no need to browse any of the substitutions).
35571 # These are the two extra sed commands mentioned above.
35572 (echo ':t
35573 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35574 if test -z "$ac_sed_cmds"; then
35575 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35576 else
35577 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35578 fi
35579 ac_sed_frag=`expr $ac_sed_frag + 1`
35580 ac_beg=$ac_end
35581 ac_end=`expr $ac_end + $ac_max_sed_lines`
35582 fi
35583 done
35584 if test -z "$ac_sed_cmds"; then
35585 ac_sed_cmds=cat
35586 fi
35587 fi # test -n "$CONFIG_FILES"
35588
35589 _ACEOF
35590 cat >>$CONFIG_STATUS <<\_ACEOF
35591 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35592 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35593 case $ac_file in
35594 - | *:- | *:-:* ) # input from stdin
35595 cat >$tmp/stdin
35596 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35597 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35598 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35599 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35600 * ) ac_file_in=$ac_file.in ;;
35601 esac
35602
35603 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35604 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35605 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35606 X"$ac_file" : 'X\(//\)[^/]' \| \
35607 X"$ac_file" : 'X\(//\)$' \| \
35608 X"$ac_file" : 'X\(/\)' \| \
35609 . : '\(.\)' 2>/dev/null ||
35610 echo X"$ac_file" |
35611 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35612 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35613 /^X\(\/\/\)$/{ s//\1/; q; }
35614 /^X\(\/\).*/{ s//\1/; q; }
35615 s/.*/./; q'`
35616 { if $as_mkdir_p; then
35617 mkdir -p "$ac_dir"
35618 else
35619 as_dir="$ac_dir"
35620 as_dirs=
35621 while test ! -d "$as_dir"; do
35622 as_dirs="$as_dir $as_dirs"
35623 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35625 X"$as_dir" : 'X\(//\)[^/]' \| \
35626 X"$as_dir" : 'X\(//\)$' \| \
35627 X"$as_dir" : 'X\(/\)' \| \
35628 . : '\(.\)' 2>/dev/null ||
35629 echo X"$as_dir" |
35630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35632 /^X\(\/\/\)$/{ s//\1/; q; }
35633 /^X\(\/\).*/{ s//\1/; q; }
35634 s/.*/./; q'`
35635 done
35636 test ! -n "$as_dirs" || mkdir $as_dirs
35637 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35638 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35639 { (exit 1); exit 1; }; }; }
35640
35641 ac_builddir=.
35642
35643 if test "$ac_dir" != .; then
35644 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35645 # A "../" for each directory in $ac_dir_suffix.
35646 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35647 else
35648 ac_dir_suffix= ac_top_builddir=
35649 fi
35650
35651 case $srcdir in
35652 .) # No --srcdir option. We are building in place.
35653 ac_srcdir=.
35654 if test -z "$ac_top_builddir"; then
35655 ac_top_srcdir=.
35656 else
35657 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35658 fi ;;
35659 [\\/]* | ?:[\\/]* ) # Absolute path.
35660 ac_srcdir=$srcdir$ac_dir_suffix;
35661 ac_top_srcdir=$srcdir ;;
35662 *) # Relative path.
35663 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35664 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35665 esac
35666 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35667 # absolute.
35668 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35669 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35670 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35671 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35672
35673
35674 case $INSTALL in
35675 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35676 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35677 esac
35678
35679 if test x"$ac_file" != x-; then
35680 { echo "$as_me:$LINENO: creating $ac_file" >&5
35681 echo "$as_me: creating $ac_file" >&6;}
35682 rm -f "$ac_file"
35683 fi
35684 # Let's still pretend it is `configure' which instantiates (i.e., don't
35685 # use $as_me), people would be surprised to read:
35686 # /* config.h. Generated by config.status. */
35687 if test x"$ac_file" = x-; then
35688 configure_input=
35689 else
35690 configure_input="$ac_file. "
35691 fi
35692 configure_input=$configure_input"Generated from `echo $ac_file_in |
35693 sed 's,.*/,,'` by configure."
35694
35695 # First look for the input files in the build tree, otherwise in the
35696 # src tree.
35697 ac_file_inputs=`IFS=:
35698 for f in $ac_file_in; do
35699 case $f in
35700 -) echo $tmp/stdin ;;
35701 [\\/$]*)
35702 # Absolute (can't be DOS-style, as IFS=:)
35703 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35704 echo "$as_me: error: cannot find input file: $f" >&2;}
35705 { (exit 1); exit 1; }; }
35706 echo $f;;
35707 *) # Relative
35708 if test -f "$f"; then
35709 # Build tree
35710 echo $f
35711 elif test -f "$srcdir/$f"; then
35712 # Source tree
35713 echo $srcdir/$f
35714 else
35715 # /dev/null tree
35716 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35717 echo "$as_me: error: cannot find input file: $f" >&2;}
35718 { (exit 1); exit 1; }; }
35719 fi;;
35720 esac
35721 done` || { (exit 1); exit 1; }
35722 _ACEOF
35723 cat >>$CONFIG_STATUS <<_ACEOF
35724 sed "$ac_vpsub
35725 $extrasub
35726 _ACEOF
35727 cat >>$CONFIG_STATUS <<\_ACEOF
35728 :t
35729 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35730 s,@configure_input@,$configure_input,;t t
35731 s,@srcdir@,$ac_srcdir,;t t
35732 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35733 s,@top_srcdir@,$ac_top_srcdir,;t t
35734 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35735 s,@builddir@,$ac_builddir,;t t
35736 s,@abs_builddir@,$ac_abs_builddir,;t t
35737 s,@top_builddir@,$ac_top_builddir,;t t
35738 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35739 s,@INSTALL@,$ac_INSTALL,;t t
35740 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35741 rm -f $tmp/stdin
35742 if test x"$ac_file" != x-; then
35743 mv $tmp/out $ac_file
35744 else
35745 cat $tmp/out
35746 rm -f $tmp/out
35747 fi
35748
35749 done
35750 _ACEOF
35751 cat >>$CONFIG_STATUS <<\_ACEOF
35752
35753 #
35754 # CONFIG_HEADER section.
35755 #
35756
35757 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35758 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35759 #
35760 # ac_d sets the value in "#define NAME VALUE" lines.
35761 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35762 ac_dB='[ ].*$,\1#\2'
35763 ac_dC=' '
35764 ac_dD=',;t'
35765 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35766 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35767 ac_uB='$,\1#\2define\3'
35768 ac_uC=' '
35769 ac_uD=',;t'
35770
35771 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35772 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35773 case $ac_file in
35774 - | *:- | *:-:* ) # input from stdin
35775 cat >$tmp/stdin
35776 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35777 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35778 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35779 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35780 * ) ac_file_in=$ac_file.in ;;
35781 esac
35782
35783 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35784 echo "$as_me: creating $ac_file" >&6;}
35785
35786 # First look for the input files in the build tree, otherwise in the
35787 # src tree.
35788 ac_file_inputs=`IFS=:
35789 for f in $ac_file_in; do
35790 case $f in
35791 -) echo $tmp/stdin ;;
35792 [\\/$]*)
35793 # Absolute (can't be DOS-style, as IFS=:)
35794 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35795 echo "$as_me: error: cannot find input file: $f" >&2;}
35796 { (exit 1); exit 1; }; }
35797 echo $f;;
35798 *) # Relative
35799 if test -f "$f"; then
35800 # Build tree
35801 echo $f
35802 elif test -f "$srcdir/$f"; then
35803 # Source tree
35804 echo $srcdir/$f
35805 else
35806 # /dev/null tree
35807 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35808 echo "$as_me: error: cannot find input file: $f" >&2;}
35809 { (exit 1); exit 1; }; }
35810 fi;;
35811 esac
35812 done` || { (exit 1); exit 1; }
35813 # Remove the trailing spaces.
35814 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35815
35816 _ACEOF
35817
35818 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35819 # `conftest.undefs', that substitutes the proper values into
35820 # config.h.in to produce config.h. The first handles `#define'
35821 # templates, and the second `#undef' templates.
35822 # And first: Protect against being on the right side of a sed subst in
35823 # config.status. Protect against being in an unquoted here document
35824 # in config.status.
35825 rm -f conftest.defines conftest.undefs
35826 # Using a here document instead of a string reduces the quoting nightmare.
35827 # Putting comments in sed scripts is not portable.
35828 #
35829 # `end' is used to avoid that the second main sed command (meant for
35830 # 0-ary CPP macros) applies to n-ary macro definitions.
35831 # See the Autoconf documentation for `clear'.
35832 cat >confdef2sed.sed <<\_ACEOF
35833 s/[\\&,]/\\&/g
35834 s,[\\$`],\\&,g
35835 t clear
35836 : clear
35837 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35838 t end
35839 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35840 : end
35841 _ACEOF
35842 # If some macros were called several times there might be several times
35843 # the same #defines, which is useless. Nevertheless, we may not want to
35844 # sort them, since we want the *last* AC-DEFINE to be honored.
35845 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35846 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35847 rm -f confdef2sed.sed
35848
35849 # This sed command replaces #undef with comments. This is necessary, for
35850 # example, in the case of _POSIX_SOURCE, which is predefined and required
35851 # on some systems where configure will not decide to define it.
35852 cat >>conftest.undefs <<\_ACEOF
35853 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35854 _ACEOF
35855
35856 # Break up conftest.defines because some shells have a limit on the size
35857 # of here documents, and old seds have small limits too (100 cmds).
35858 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35859 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35860 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35861 echo ' :' >>$CONFIG_STATUS
35862 rm -f conftest.tail
35863 while grep . conftest.defines >/dev/null
35864 do
35865 # Write a limited-size here document to $tmp/defines.sed.
35866 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35867 # Speed up: don't consider the non `#define' lines.
35868 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35869 # Work around the forget-to-reset-the-flag bug.
35870 echo 't clr' >>$CONFIG_STATUS
35871 echo ': clr' >>$CONFIG_STATUS
35872 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35873 echo 'CEOF
35874 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35875 rm -f $tmp/in
35876 mv $tmp/out $tmp/in
35877 ' >>$CONFIG_STATUS
35878 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35879 rm -f conftest.defines
35880 mv conftest.tail conftest.defines
35881 done
35882 rm -f conftest.defines
35883 echo ' fi # grep' >>$CONFIG_STATUS
35884 echo >>$CONFIG_STATUS
35885
35886 # Break up conftest.undefs because some shells have a limit on the size
35887 # of here documents, and old seds have small limits too (100 cmds).
35888 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35889 rm -f conftest.tail
35890 while grep . conftest.undefs >/dev/null
35891 do
35892 # Write a limited-size here document to $tmp/undefs.sed.
35893 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35894 # Speed up: don't consider the non `#undef'
35895 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35896 # Work around the forget-to-reset-the-flag bug.
35897 echo 't clr' >>$CONFIG_STATUS
35898 echo ': clr' >>$CONFIG_STATUS
35899 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35900 echo 'CEOF
35901 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35902 rm -f $tmp/in
35903 mv $tmp/out $tmp/in
35904 ' >>$CONFIG_STATUS
35905 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35906 rm -f conftest.undefs
35907 mv conftest.tail conftest.undefs
35908 done
35909 rm -f conftest.undefs
35910
35911 cat >>$CONFIG_STATUS <<\_ACEOF
35912 # Let's still pretend it is `configure' which instantiates (i.e., don't
35913 # use $as_me), people would be surprised to read:
35914 # /* config.h. Generated by config.status. */
35915 if test x"$ac_file" = x-; then
35916 echo "/* Generated by configure. */" >$tmp/config.h
35917 else
35918 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35919 fi
35920 cat $tmp/in >>$tmp/config.h
35921 rm -f $tmp/in
35922 if test x"$ac_file" != x-; then
35923 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35924 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35925 echo "$as_me: $ac_file is unchanged" >&6;}
35926 else
35927 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35928 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35929 X"$ac_file" : 'X\(//\)[^/]' \| \
35930 X"$ac_file" : 'X\(//\)$' \| \
35931 X"$ac_file" : 'X\(/\)' \| \
35932 . : '\(.\)' 2>/dev/null ||
35933 echo X"$ac_file" |
35934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35935 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35936 /^X\(\/\/\)$/{ s//\1/; q; }
35937 /^X\(\/\).*/{ s//\1/; q; }
35938 s/.*/./; q'`
35939 { if $as_mkdir_p; then
35940 mkdir -p "$ac_dir"
35941 else
35942 as_dir="$ac_dir"
35943 as_dirs=
35944 while test ! -d "$as_dir"; do
35945 as_dirs="$as_dir $as_dirs"
35946 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35948 X"$as_dir" : 'X\(//\)[^/]' \| \
35949 X"$as_dir" : 'X\(//\)$' \| \
35950 X"$as_dir" : 'X\(/\)' \| \
35951 . : '\(.\)' 2>/dev/null ||
35952 echo X"$as_dir" |
35953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35955 /^X\(\/\/\)$/{ s//\1/; q; }
35956 /^X\(\/\).*/{ s//\1/; q; }
35957 s/.*/./; q'`
35958 done
35959 test ! -n "$as_dirs" || mkdir $as_dirs
35960 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35961 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35962 { (exit 1); exit 1; }; }; }
35963
35964 rm -f $ac_file
35965 mv $tmp/config.h $ac_file
35966 fi
35967 else
35968 cat $tmp/config.h
35969 rm -f $tmp/config.h
35970 fi
35971 done
35972 _ACEOF
35973 cat >>$CONFIG_STATUS <<\_ACEOF
35974
35975 #
35976 # CONFIG_COMMANDS section.
35977 #
35978 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35979 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35980 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35981 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35982 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35983 X"$ac_dest" : 'X\(//\)[^/]' \| \
35984 X"$ac_dest" : 'X\(//\)$' \| \
35985 X"$ac_dest" : 'X\(/\)' \| \
35986 . : '\(.\)' 2>/dev/null ||
35987 echo X"$ac_dest" |
35988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35990 /^X\(\/\/\)$/{ s//\1/; q; }
35991 /^X\(\/\).*/{ s//\1/; q; }
35992 s/.*/./; q'`
35993 ac_builddir=.
35994
35995 if test "$ac_dir" != .; then
35996 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35997 # A "../" for each directory in $ac_dir_suffix.
35998 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35999 else
36000 ac_dir_suffix= ac_top_builddir=
36001 fi
36002
36003 case $srcdir in
36004 .) # No --srcdir option. We are building in place.
36005 ac_srcdir=.
36006 if test -z "$ac_top_builddir"; then
36007 ac_top_srcdir=.
36008 else
36009 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36010 fi ;;
36011 [\\/]* | ?:[\\/]* ) # Absolute path.
36012 ac_srcdir=$srcdir$ac_dir_suffix;
36013 ac_top_srcdir=$srcdir ;;
36014 *) # Relative path.
36015 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36016 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36017 esac
36018 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36019 # absolute.
36020 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36021 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36022 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36023 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36024
36025
36026 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36027 echo "$as_me: executing $ac_dest commands" >&6;}
36028 case $ac_dest in
36029 default )
36030 if test ! -h wx-config; then
36031 chmod +x wx-config
36032 mv wx-config wx${TOOLCHAIN_NAME}-config
36033 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36034 fi
36035
36036 if test ! -d lib; then
36037 mkdir lib
36038 fi
36039 if test ! -d lib/wx; then
36040 mkdir lib/wx
36041 fi
36042 if test ! -d lib/wx/include; then
36043 mkdir lib/wx/include
36044 fi
36045 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36046 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36047 fi
36048 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36049 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36050 fi
36051 if test -f setup.h; then
36052 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36053 fi
36054 ;;
36055 esac
36056 done
36057 _ACEOF
36058
36059 cat >>$CONFIG_STATUS <<\_ACEOF
36060
36061 { (exit 0); exit 0; }
36062 _ACEOF
36063 chmod +x $CONFIG_STATUS
36064 ac_clean_files=$ac_clean_files_save
36065
36066
36067 # configure is writing to config.log, and then calls config.status.
36068 # config.status does its own redirection, appending to config.log.
36069 # Unfortunately, on DOS this fails, as config.log is still kept open
36070 # by configure, so config.status won't be able to write to it; its
36071 # output is simply discarded. So we exec the FD to /dev/null,
36072 # effectively closing config.log, so it can be properly (re)opened and
36073 # appended to by config.status. When coming back to configure, we
36074 # need to make the FD available again.
36075 if test "$no_create" != yes; then
36076 ac_cs_success=:
36077 ac_config_status_args=
36078 test "$silent" = yes &&
36079 ac_config_status_args="$ac_config_status_args --quiet"
36080 exec 5>/dev/null
36081 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36082 exec 5>>config.log
36083 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36084 # would make configure fail if this is the last instruction.
36085 $ac_cs_success || { (exit 1); exit 1; }
36086 fi
36087
36088
36089 echo
36090 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36091 echo ""
36092 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36093 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36094
36095 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36096 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36097 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36098
36099 echo " What level of wxWindows compatibility should be enabled?"
36100 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36101 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36102 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36103
36104 echo " Which libraries should wxWindows use?"
36105 echo " jpeg ${wxUSE_LIBJPEG-none}"
36106 echo " png ${wxUSE_LIBPNG-none}"
36107 echo " regex ${wxUSE_REGEX}"
36108 echo " tiff ${wxUSE_LIBTIFF-none}"
36109 echo " zlib ${wxUSE_ZLIB}"
36110 echo " odbc ${wxUSE_ODBC}"
36111
36112 echo ""
36113