]> git.saurik.com Git - wxWidgets.git/blob - configure
applied an extended version of patch 685795: clean up view [de]activation
[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-stl use STL for containers
877 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat20 enable wxWindows 2.0 compatibility
889 --enable-compat22 enable wxWindows 2.2 compatibility
890 --disable-compat24 disable wxWindows 2.4 compatibility
891 --enable-rpath=DIR output the rpath flag from wx-config
892 --enable-intl use internationalization system
893 --enable-config use wxConfig (and derived) classes
894 --enable-protocols use wxProtocol and derived classes
895 --enable-ftp use wxFTP (requires wxProtocol
896 --enable-http use wxHTTP (requires wxProtocol
897 --enable-fileproto use wxFileProto class (requires wxProtocol
898 --enable-sockets use socket/network classes
899 --enable-ole use OLE classes
900 --enable-dataobj use data object classes
901 --enable-ipc use interprocess communication (wxSocket etc.)
902 --enable-cmdline use wxCmdLineParser class
903 --enable-datetime use wxDateTime class
904 --enable-stopwatch use wxStopWatch class
905 --enable-dialupman use dialup network classes
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-timer use wxTimer class
908 --enable-wave use wxWave class
909 --enable-fraction use wxFraction class
910 --enable-dynlib use wxLibrary class for DLL loading
911 --enable-dynamicloader use (new) wxDynamicLibrary class
912 --enable-longlong use wxLongLong class
913 --enable-geometry use geometry class
914 --enable-log use logging system
915 --enable-streams use wxStream etc classes
916 --enable-file use wxFile classes
917 --enable-ffile use wxFFile classes
918 --enable-textbuf use wxTextBuffer class
919 --enable-textfile use wxTextFile class
920 --enable-fontmap use font encodings conversion classes
921 --enable-unicode compile wxString with Unicode support
922 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
923 --enable-wxprintfv use wxWindows implementation of vprintf()
924 --enable-std_iostreams use standard C++ stream classes
925 --enable-filesystem use virtual file systems classes
926 --enable-fs_inet use virtual HTTP/FTP filesystems
927 --enable-fs_zip use virtual ZIP filesystems
928 --enable-zipstream use wxZipInputStream
929 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
930 --enable-snglinst use wxSingleInstanceChecker class
931 --enable-mimetype use wxMimeTypesManager
932 --enable-sysoptions use wxSystemOptions
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --disable-largefile omit support for large files
1028 --disable-gtktest do not try to compile and run a test GTK+ program
1029 --disable-gtktest Do not try to compile and run a test GTK program
1030
1031 Optional Packages:
1032 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1033 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1034 --with-gtk use GTK+
1035 --with-motif use Motif/Lesstif
1036 --with-mac use Mac OS X
1037 --with-cocoa use Cocoa
1038 --with-wine use Wine
1039 --with-msw use MS-Windows
1040 --with-pm use OS/2 Presentation Manager
1041 --with-mgl use SciTech MGL
1042 --with-microwin use MicroWindows
1043 --with-x11 use X11
1044 --with-libpng use libpng (PNG image format)
1045 --with-libjpeg use libjpeg (JPEG file format)
1046 --with-libtiff use libtiff (TIFF file format)
1047 --with-opengl use OpenGL (or Mesa)
1048 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1049 --with-regex enable support for wxRegEx class
1050 --with-zlib use zlib for LZW compression
1051 --with-odbc use the IODBC and wxODBC classes
1052 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1053 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1054 --with-x use the X Window System
1055 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1056
1057 Some influential environment variables:
1058 CC C compiler command
1059 CFLAGS C compiler flags
1060 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1061 nonstandard directory <lib dir>
1062 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1063 headers in a nonstandard directory <include dir>
1064 CPP C preprocessor
1065 CXX C++ compiler command
1066 CXXFLAGS C++ compiler flags
1067 CXXCPP C++ preprocessor
1068
1069 Use these variables to override the choices made by `configure' or to help
1070 it to find libraries and programs with nonstandard names/locations.
1071
1072 Report bugs to <wx-dev@lists.wxwindows.org>.
1073 _ACEOF
1074 fi
1075
1076 if test "$ac_init_help" = "recursive"; then
1077 # If there are subdirs, report their specific --help.
1078 ac_popdir=`pwd`
1079 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1080 test -d $ac_dir || continue
1081 ac_builddir=.
1082
1083 if test "$ac_dir" != .; then
1084 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085 # A "../" for each directory in $ac_dir_suffix.
1086 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 else
1088 ac_dir_suffix= ac_top_builddir=
1089 fi
1090
1091 case $srcdir in
1092 .) # No --srcdir option. We are building in place.
1093 ac_srcdir=.
1094 if test -z "$ac_top_builddir"; then
1095 ac_top_srcdir=.
1096 else
1097 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 fi ;;
1099 [\\/]* | ?:[\\/]* ) # Absolute path.
1100 ac_srcdir=$srcdir$ac_dir_suffix;
1101 ac_top_srcdir=$srcdir ;;
1102 *) # Relative path.
1103 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1104 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 esac
1106 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 # absolute.
1108 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1109 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1110 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1111 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1112
1113 cd $ac_dir
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1116 echo
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1119 echo
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1123 echo
1124 $ac_configure --help
1125 else
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1127 fi
1128 cd $ac_popdir
1129 done
1130 fi
1131
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1134 cat <<\_ACEOF
1135 wxWindows configure 2.5.0
1136 generated by GNU Autoconf 2.57
1137
1138 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1139 Free Software Foundation, Inc.
1140 This configure script is free software; the Free Software Foundation
1141 gives unlimited permission to copy, distribute and modify it.
1142 _ACEOF
1143 exit 0
1144 fi
1145 exec 5>config.log
1146 cat >&5 <<_ACEOF
1147 This file contains any messages produced by compilers while
1148 running configure, to aid debugging if configure makes a mistake.
1149
1150 It was created by wxWindows $as_me 2.5.0, which was
1151 generated by GNU Autoconf 2.57. Invocation command line was
1152
1153 $ $0 $@
1154
1155 _ACEOF
1156 {
1157 cat <<_ASUNAME
1158 ## --------- ##
1159 ## Platform. ##
1160 ## --------- ##
1161
1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167
1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1169 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170
1171 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1172 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1174 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1175 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1176 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1177 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1178
1179 _ASUNAME
1180
1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182 for as_dir in $PATH
1183 do
1184 IFS=$as_save_IFS
1185 test -z "$as_dir" && as_dir=.
1186 echo "PATH: $as_dir"
1187 done
1188
1189 } >&5
1190
1191 cat >&5 <<_ACEOF
1192
1193
1194 ## ----------- ##
1195 ## Core tests. ##
1196 ## ----------- ##
1197
1198 _ACEOF
1199
1200
1201 # Keep a trace of the command line.
1202 # Strip out --no-create and --no-recursion so they do not pile up.
1203 # Strip out --silent because we don't want to record it for future runs.
1204 # Also quote any args containing shell meta-characters.
1205 # Make two passes to allow for proper duplicate-argument suppression.
1206 ac_configure_args=
1207 ac_configure_args0=
1208 ac_configure_args1=
1209 ac_sep=
1210 ac_must_keep_next=false
1211 for ac_pass in 1 2
1212 do
1213 for ac_arg
1214 do
1215 case $ac_arg in
1216 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1218 | -silent | --silent | --silen | --sile | --sil)
1219 continue ;;
1220 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1221 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1222 esac
1223 case $ac_pass in
1224 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 2)
1226 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1227 if test $ac_must_keep_next = true; then
1228 ac_must_keep_next=false # Got value, back to normal.
1229 else
1230 case $ac_arg in
1231 *=* | --config-cache | -C | -disable-* | --disable-* \
1232 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1233 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1234 | -with-* | --with-* | -without-* | --without-* | --x)
1235 case "$ac_configure_args0 " in
1236 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1237 esac
1238 ;;
1239 -* ) ac_must_keep_next=true ;;
1240 esac
1241 fi
1242 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1243 # Get rid of the leading space.
1244 ac_sep=" "
1245 ;;
1246 esac
1247 done
1248 done
1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251
1252 # When interrupted or exit'd, cleanup temporary files, and complete
1253 # config.log. We remove comments because anyway the quotes in there
1254 # would cause problems or look ugly.
1255 # WARNING: Be sure not to use single quotes in there, as some shells,
1256 # such as our DU 5.0 friend, will then `close' the trap.
1257 trap 'exit_status=$?
1258 # Save into config.log some information that might help in debugging.
1259 {
1260 echo
1261
1262 cat <<\_ASBOX
1263 ## ---------------- ##
1264 ## Cache variables. ##
1265 ## ---------------- ##
1266 _ASBOX
1267 echo
1268 # The following way of writing the cache mishandles newlines in values,
1269 {
1270 (set) 2>&1 |
1271 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1272 *ac_space=\ *)
1273 sed -n \
1274 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1275 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1276 ;;
1277 *)
1278 sed -n \
1279 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1280 ;;
1281 esac;
1282 }
1283 echo
1284
1285 cat <<\_ASBOX
1286 ## ----------------- ##
1287 ## Output variables. ##
1288 ## ----------------- ##
1289 _ASBOX
1290 echo
1291 for ac_var in $ac_subst_vars
1292 do
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1295 done | sort
1296 echo
1297
1298 if test -n "$ac_subst_files"; then
1299 cat <<\_ASBOX
1300 ## ------------- ##
1301 ## Output files. ##
1302 ## ------------- ##
1303 _ASBOX
1304 echo
1305 for ac_var in $ac_subst_files
1306 do
1307 eval ac_val=$`echo $ac_var`
1308 echo "$ac_var='"'"'$ac_val'"'"'"
1309 done | sort
1310 echo
1311 fi
1312
1313 if test -s confdefs.h; then
1314 cat <<\_ASBOX
1315 ## ----------- ##
1316 ## confdefs.h. ##
1317 ## ----------- ##
1318 _ASBOX
1319 echo
1320 sed "/^$/d" confdefs.h | sort
1321 echo
1322 fi
1323 test "$ac_signal" != 0 &&
1324 echo "$as_me: caught signal $ac_signal"
1325 echo "$as_me: exit $exit_status"
1326 } >&5
1327 rm -f core core.* *.core &&
1328 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1329 exit $exit_status
1330 ' 0
1331 for ac_signal in 1 2 13 15; do
1332 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1333 done
1334 ac_signal=0
1335
1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1337 rm -rf conftest* confdefs.h
1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1339 echo >confdefs.h
1340
1341 # Predefined preprocessor variables.
1342
1343 cat >>confdefs.h <<_ACEOF
1344 #define PACKAGE_NAME "$PACKAGE_NAME"
1345 _ACEOF
1346
1347
1348 cat >>confdefs.h <<_ACEOF
1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1350 _ACEOF
1351
1352
1353 cat >>confdefs.h <<_ACEOF
1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1355 _ACEOF
1356
1357
1358 cat >>confdefs.h <<_ACEOF
1359 #define PACKAGE_STRING "$PACKAGE_STRING"
1360 _ACEOF
1361
1362
1363 cat >>confdefs.h <<_ACEOF
1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1365 _ACEOF
1366
1367
1368 # Let the site file select an alternate cache file if it wants to.
1369 # Prefer explicitly selected file to automatically selected ones.
1370 if test -z "$CONFIG_SITE"; then
1371 if test "x$prefix" != xNONE; then
1372 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 else
1374 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1375 fi
1376 fi
1377 for ac_site_file in $CONFIG_SITE; do
1378 if test -r "$ac_site_file"; then
1379 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1380 echo "$as_me: loading site script $ac_site_file" >&6;}
1381 sed 's/^/| /' "$ac_site_file" >&5
1382 . "$ac_site_file"
1383 fi
1384 done
1385
1386 if test -r "$cache_file"; then
1387 # Some versions of bash will fail to source /dev/null (special
1388 # files actually), so we avoid doing that.
1389 if test -f "$cache_file"; then
1390 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1391 echo "$as_me: loading cache $cache_file" >&6;}
1392 case $cache_file in
1393 [\\/]* | ?:[\\/]* ) . $cache_file;;
1394 *) . ./$cache_file;;
1395 esac
1396 fi
1397 else
1398 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1399 echo "$as_me: creating cache $cache_file" >&6;}
1400 >$cache_file
1401 fi
1402
1403 # Check that the precious variables saved in the cache have kept the same
1404 # value.
1405 ac_cache_corrupted=false
1406 for ac_var in `(set) 2>&1 |
1407 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1408 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1409 eval ac_new_set=\$ac_env_${ac_var}_set
1410 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1411 eval ac_new_val="\$ac_env_${ac_var}_value"
1412 case $ac_old_set,$ac_new_set in
1413 set,)
1414 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1416 ac_cache_corrupted=: ;;
1417 ,set)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,);;
1422 *)
1423 if test "x$ac_old_val" != "x$ac_new_val"; then
1424 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1425 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1426 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1427 echo "$as_me: former value: $ac_old_val" >&2;}
1428 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1429 echo "$as_me: current value: $ac_new_val" >&2;}
1430 ac_cache_corrupted=:
1431 fi;;
1432 esac
1433 # Pass precious variables to config.status.
1434 if test "$ac_new_set" = set; then
1435 case $ac_new_val in
1436 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1437 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1438 *) ac_arg=$ac_var=$ac_new_val ;;
1439 esac
1440 case " $ac_configure_args " in
1441 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1442 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1443 esac
1444 fi
1445 done
1446 if $ac_cache_corrupted; then
1447 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1448 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1449 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1450 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1451 { (exit 1); exit 1; }; }
1452 fi
1453
1454 ac_ext=c
1455 ac_cpp='$CPP $CPPFLAGS'
1456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1489 ac_aux_dir=
1490 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1491 if test -f $ac_dir/install-sh; then
1492 ac_aux_dir=$ac_dir
1493 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 break
1495 elif test -f $ac_dir/install.sh; then
1496 ac_aux_dir=$ac_dir
1497 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 break
1499 elif test -f $ac_dir/shtool; then
1500 ac_aux_dir=$ac_dir
1501 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 break
1503 fi
1504 done
1505 if test -z "$ac_aux_dir"; then
1506 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1507 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1508 { (exit 1); exit 1; }; }
1509 fi
1510 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1511 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1512 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1513
1514 # Make sure we can run config.sub.
1515 $ac_config_sub sun4 >/dev/null 2>&1 ||
1516 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1517 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1518 { (exit 1); exit 1; }; }
1519
1520 echo "$as_me:$LINENO: checking build system type" >&5
1521 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1522 if test "${ac_cv_build+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1524 else
1525 ac_cv_build_alias=$build_alias
1526 test -z "$ac_cv_build_alias" &&
1527 ac_cv_build_alias=`$ac_config_guess`
1528 test -z "$ac_cv_build_alias" &&
1529 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1530 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1531 { (exit 1); exit 1; }; }
1532 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1533 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1534 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1535 { (exit 1); exit 1; }; }
1536
1537 fi
1538 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1539 echo "${ECHO_T}$ac_cv_build" >&6
1540 build=$ac_cv_build
1541 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1542 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1543 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1544
1545
1546 echo "$as_me:$LINENO: checking host system type" >&5
1547 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1548 if test "${ac_cv_host+set}" = set; then
1549 echo $ECHO_N "(cached) $ECHO_C" >&6
1550 else
1551 ac_cv_host_alias=$host_alias
1552 test -z "$ac_cv_host_alias" &&
1553 ac_cv_host_alias=$ac_cv_build_alias
1554 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1555 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1556 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1557 { (exit 1); exit 1; }; }
1558
1559 fi
1560 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1561 echo "${ECHO_T}$ac_cv_host" >&6
1562 host=$ac_cv_host
1563 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1564 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1565 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1566
1567
1568 echo "$as_me:$LINENO: checking target system type" >&5
1569 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1570 if test "${ac_cv_target+set}" = set; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 else
1573 ac_cv_target_alias=$target_alias
1574 test "x$ac_cv_target_alias" = "x" &&
1575 ac_cv_target_alias=$ac_cv_host_alias
1576 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1577 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1578 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1579 { (exit 1); exit 1; }; }
1580
1581 fi
1582 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1583 echo "${ECHO_T}$ac_cv_target" >&6
1584 target=$ac_cv_target
1585 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1586 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1587 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1588
1589
1590 # The aliases save the names the user supplied, while $host etc.
1591 # will get canonicalized.
1592 test -n "$target_alias" &&
1593 test "$program_prefix$program_suffix$program_transform_name" = \
1594 NONENONEs,x,x, &&
1595 program_prefix=${target_alias}-
1596
1597
1598
1599 WX_MAJOR_VERSION_NUMBER=2
1600 WX_MINOR_VERSION_NUMBER=5
1601 WX_RELEASE_NUMBER=0
1602
1603 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1604 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1605
1606 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1607
1608 WX_CURRENT=0
1609 WX_REVISION=0
1610 WX_AGE=0
1611
1612
1613
1614 USE_UNIX=1
1615 USE_WIN32=0
1616 USE_DOS=0
1617 USE_BEOS=0
1618 USE_MAC=0
1619
1620 USE_AIX=
1621 USE_BSD= USE_DARWIN= USE_FREEBSD=
1622 USE_GNU= USE_HPUX=
1623 USE_LINUX=
1624 USE_NETBSD=
1625 USE_OPENBSD=
1626 USE_OSF= USE_SGI=
1627 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1628 USE_ULTRIX=
1629 USE_UNIXWARE=
1630
1631 USE_ALPHA=
1632
1633 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1634
1635 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1636
1637 DEFAULT_wxUSE_COCOA=0
1638 DEFAULT_wxUSE_GTK=0
1639 DEFAULT_wxUSE_MAC=0
1640 DEFAULT_wxUSE_MGL=0
1641 DEFAULT_wxUSE_MICROWIN=0
1642 DEFAULT_wxUSE_MOTIF=0
1643 DEFAULT_wxUSE_MSW=0
1644 DEFAULT_wxUSE_PM=0
1645 DEFAULT_wxUSE_X11=0
1646
1647 DEFAULT_DEFAULT_wxUSE_COCOA=0
1648 DEFAULT_DEFAULT_wxUSE_GTK=0
1649 DEFAULT_DEFAULT_wxUSE_MAC=0
1650 DEFAULT_DEFAULT_wxUSE_MGL=0
1651 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1652 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1653 DEFAULT_DEFAULT_wxUSE_MSW=0
1654 DEFAULT_DEFAULT_wxUSE_PM=0
1655 DEFAULT_DEFAULT_wxUSE_X11=0
1656
1657 PROGRAM_EXT=
1658 SO_SUFFIX=so
1659 SAMPLES_RPATH_FLAG=
1660
1661 case "${host}" in
1662 *-hp-hpux* )
1663 USE_HPUX=1
1664 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1665 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1666 SO_SUFFIX=sl
1667 cat >>confdefs.h <<\_ACEOF
1668 #define __HPUX__ 1
1669 _ACEOF
1670
1671 ;;
1672 *-*-linux* )
1673 USE_LINUX=1
1674 cat >>confdefs.h <<\_ACEOF
1675 #define __LINUX__ 1
1676 _ACEOF
1677
1678 TMP=`uname -m`
1679 if test "x$TMP" = "xalpha"; then
1680 USE_ALPHA=1
1681 cat >>confdefs.h <<\_ACEOF
1682 #define __ALPHA__ 1
1683 _ACEOF
1684
1685 fi
1686 DEFAULT_DEFAULT_wxUSE_GTK=1
1687 ;;
1688 *-*-gnu* )
1689 USE_GNU=1
1690 cat >>confdefs.h <<\_ACEOF
1691 #define __GNU__ 1
1692 _ACEOF
1693
1694 TMP=`uname -m`
1695 if test "x$TMP" = "xalpha"; then
1696 USE_ALPHA=1
1697 cat >>confdefs.h <<\_ACEOF
1698 #define __ALPHA__ 1
1699 _ACEOF
1700
1701 fi
1702 DEFAULT_DEFAULT_wxUSE_GTK=1
1703 ;;
1704 *-*-irix5* | *-*-irix6* )
1705 USE_SGI=1
1706 USE_SVR4=1
1707 cat >>confdefs.h <<\_ACEOF
1708 #define __SGI__ 1
1709 _ACEOF
1710
1711 cat >>confdefs.h <<\_ACEOF
1712 #define __SVR4__ 1
1713 _ACEOF
1714
1715 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1716 ;;
1717 *-*-solaris2* )
1718 USE_SUN=1
1719 USE_SOLARIS=1
1720 USE_SVR4=1
1721 cat >>confdefs.h <<\_ACEOF
1722 #define __SUN__ 1
1723 _ACEOF
1724
1725 cat >>confdefs.h <<\_ACEOF
1726 #define __SOLARIS__ 1
1727 _ACEOF
1728
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __SVR4__ 1
1731 _ACEOF
1732
1733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1735 ;;
1736 *-*-sunos4* )
1737 USE_SUN=1
1738 USE_SUNOS=1
1739 USE_BSD=1
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __SUN__ 1
1742 _ACEOF
1743
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __SUNOS__ 1
1746 _ACEOF
1747
1748 cat >>confdefs.h <<\_ACEOF
1749 #define __BSD__ 1
1750 _ACEOF
1751
1752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1753 ;;
1754 *-*-freebsd*)
1755 USE_BSD=1
1756 USE_FREEBSD=1
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __FREEBSD__ 1
1759 _ACEOF
1760
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __BSD__ 1
1763 _ACEOF
1764
1765 DEFAULT_DEFAULT_wxUSE_GTK=1
1766 ;;
1767 *-*-openbsd*)
1768 USE_BSD=1
1769 USE_OPENBSD=1
1770 cat >>confdefs.h <<\_ACEOF
1771 #define __OPENBSD__ 1
1772 _ACEOF
1773
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __BSD__ 1
1776 _ACEOF
1777
1778 DEFAULT_DEFAULT_wxUSE_GTK=1
1779 ;;
1780 *-*-netbsd*)
1781 USE_BSD=1
1782 USE_NETBSD=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __NETBSD__ 1
1785 _ACEOF
1786
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __BSD__ 1
1789 _ACEOF
1790
1791 DEFAULT_DEFAULT_wxUSE_GTK=1
1792 ;;
1793 *-*-osf* )
1794 USE_ALPHA=1
1795 USE_OSF=1
1796 cat >>confdefs.h <<\_ACEOF
1797 #define __ALPHA__ 1
1798 _ACEOF
1799
1800 cat >>confdefs.h <<\_ACEOF
1801 #define __OSF__ 1
1802 _ACEOF
1803
1804 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1805 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1806 ;;
1807 *-*-dgux5* )
1808 USE_ALPHA=1
1809 USE_SVR4=1
1810 cat >>confdefs.h <<\_ACEOF
1811 #define __ALPHA__ 1
1812 _ACEOF
1813
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __SVR4__ 1
1816 _ACEOF
1817
1818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1819 ;;
1820 *-*-sysv5* )
1821 USE_SYSV=1
1822 USE_SVR4=1
1823 cat >>confdefs.h <<\_ACEOF
1824 #define __SYSV__ 1
1825 _ACEOF
1826
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __SVR4__ 1
1829 _ACEOF
1830
1831 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1832 ;;
1833 *-*-aix* )
1834 USE_AIX=1
1835 USE_SYSV=1
1836 USE_SVR4=1
1837 SO_SUFFIX=a
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __AIX__ 1
1840 _ACEOF
1841
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __SYSV__ 1
1844 _ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __SVR4__ 1
1848 _ACEOF
1849
1850 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1851 ;;
1852
1853 *-*-*UnixWare*)
1854 USE_SYSV=1
1855 USE_SVR4=1
1856 USE_UNIXWARE=1
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __UNIXWARE__ 1
1859 _ACEOF
1860
1861 ;;
1862
1863 *-*-cygwin* | *-*-mingw32* )
1864 SO_SUFFIX=dll
1865 PROGRAM_EXT=".exe"
1866 RESCOMP=windres
1867 DEFAULT_DEFAULT_wxUSE_MSW=1
1868 ;;
1869
1870 *-pc-msdosdjgpp )
1871 USE_UNIX=0
1872 USE_DOS=1
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __DOS__ 1
1875 _ACEOF
1876
1877 PROGRAM_EXT=".exe"
1878 DEFAULT_DEFAULT_wxUSE_MGL=1
1879 LIBS="$LIBS -lstdc++"
1880 ;;
1881
1882 *-pc-os2_emx | *-pc-os2-emx )
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __EMX__ 1
1885 _ACEOF
1886
1887 PROGRAM_EXT=".exe"
1888 DEFAULT_DEFAULT_wxUSE_PM=1
1889 ;;
1890
1891 powerpc-*-darwin* )
1892 USE_BSD=1
1893 USE_DARWIN=1
1894 SO_SUFFIX=dylib
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __BSD__ 1
1897 _ACEOF
1898
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __DARWIN__ 1
1901 _ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __POWERPC__ 1
1905 _ACEOF
1906
1907 cat >>confdefs.h <<\_ACEOF
1908 #define TARGET_CARBON 1
1909 _ACEOF
1910
1911 DEFAULT_DEFAULT_wxUSE_MAC=1
1912 ;;
1913
1914 *-*-beos* )
1915 USE_BEOS=1
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __BEOS__ 1
1918 _ACEOF
1919
1920 ;;
1921
1922 *)
1923 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1924 echo "$as_me: error: unknown system type ${host}." >&2;}
1925 { (exit 1); exit 1; }; }
1926 esac
1927
1928
1929
1930
1931 wx_arg_cache_file="configarg.cache"
1932 echo "loading argument cache $wx_arg_cache_file"
1933 rm -f ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}.tmp
1935 touch ${wx_arg_cache_file}
1936
1937
1938 DEBUG_CONFIGURE=0
1939 if test $DEBUG_CONFIGURE = 1; then
1940 DEFAULT_wxUSE_UNIVERSAL=no
1941 DEFAULT_wxUSE_STL=no
1942
1943 DEFAULT_wxUSE_NANOX=no
1944
1945 DEFAULT_wxUSE_THREADS=yes
1946
1947 DEFAULT_wxUSE_SHARED=yes
1948 DEFAULT_wxUSE_OPTIMISE=no
1949 DEFAULT_wxUSE_PROFILE=no
1950 DEFAULT_wxUSE_NO_DEPS=no
1951 DEFAULT_wxUSE_NO_RTTI=no
1952 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1953 DEFAULT_wxUSE_PERMISSIVE=no
1954 DEFAULT_wxUSE_DEBUG_FLAG=yes
1955 DEFAULT_wxUSE_DEBUG_INFO=yes
1956 DEFAULT_wxUSE_DEBUG_GDB=yes
1957 DEFAULT_wxUSE_MEM_TRACING=no
1958 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1959 DEFAULT_wxUSE_DMALLOC=no
1960 DEFAULT_wxUSE_PRECOMP=no
1961 DEFAULT_wxUSE_APPLE_IEEE=no
1962
1963 DEFAULT_wxUSE_LOG=yes
1964 DEFAULT_wxUSE_LOGWINDOW=no
1965 DEFAULT_wxUSE_LOGGUI=no
1966 DEFAULT_wxUSE_LOGDIALOG=no
1967
1968 DEFAULT_wxUSE_GUI=yes
1969 DEFAULT_wxUSE_CONTROLS=no
1970
1971 DEFAULT_wxUSE_REGEX=no
1972 DEFAULT_wxUSE_ZLIB=no
1973 DEFAULT_wxUSE_LIBPNG=no
1974 DEFAULT_wxUSE_LIBJPEG=no
1975 DEFAULT_wxUSE_LIBTIFF=no
1976 DEFAULT_wxUSE_ODBC=no
1977 DEFAULT_wxUSE_OPENGL=no
1978
1979 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1980 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1981 DEFAULT_wxUSE_STD_IOSTREAM=no
1982 DEFAULT_wxUSE_CMDLINE_PARSER=no
1983 DEFAULT_wxUSE_DATETIME=no
1984 DEFAULT_wxUSE_TIMER=no
1985 DEFAULT_wxUSE_STOPWATCH=no
1986 DEFAULT_wxUSE_FILE=no
1987 DEFAULT_wxUSE_FFILE=no
1988 DEFAULT_wxUSE_TEXTBUFFER=no
1989 DEFAULT_wxUSE_TEXTFILE=no
1990 DEFAULT_wxUSE_WAVE=no
1991 DEFAULT_wxUSE_INTL=no
1992 DEFAULT_wxUSE_CONFIG=no
1993 DEFAULT_wxUSE_FONTMAP=no
1994 DEFAULT_wxUSE_STREAMS=no
1995 DEFAULT_wxUSE_SOCKETS=no
1996 DEFAULT_wxUSE_OLE=no
1997 DEFAULT_wxUSE_DATAOBJ=no
1998 DEFAULT_wxUSE_DIALUP_MANAGER=no
1999 DEFAULT_wxUSE_JOYSTICK=no
2000 DEFAULT_wxUSE_DYNLIB_CLASS=no
2001 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2002 DEFAULT_wxUSE_LONGLONG=no
2003 DEFAULT_wxUSE_GEOMETRY=no
2004
2005 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2006 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2007 DEFAULT_wxUSE_POSTSCRIPT=no
2008
2009 DEFAULT_wxUSE_CLIPBOARD=no
2010 DEFAULT_wxUSE_TOOLTIPS=no
2011 DEFAULT_wxUSE_DRAG_AND_DROP=no
2012 DEFAULT_wxUSE_DRAGIMAGE=no
2013 DEFAULT_wxUSE_SPLINES=no
2014
2015 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2016 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2017 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2018
2019 DEFAULT_wxUSE_RESOURCES=no
2020 DEFAULT_wxUSE_CONSTRAINTS=no
2021 DEFAULT_wxUSE_IPC=no
2022 DEFAULT_wxUSE_HELP=no
2023 DEFAULT_wxUSE_MS_HTML_HELP=no
2024 DEFAULT_wxUSE_WXHTML_HELP=no
2025 DEFAULT_wxUSE_TREELAYOUT=no
2026 DEFAULT_wxUSE_METAFILE=no
2027 DEFAULT_wxUSE_MIMETYPE=no
2028 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2029 DEFAULT_wxUSE_PROTOCOL=no
2030 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2031 DEFAULT_wxUSE_PROTOCOL_FTP=no
2032 DEFAULT_wxUSE_PROTOCOL_FILE=no
2033 DEFAULT_wxUSE_URL=no
2034
2035 DEFAULT_wxUSE_COMMONDLGS=no
2036 DEFAULT_wxUSE_CHOICEDLG=no
2037 DEFAULT_wxUSE_COLOURDLG=no
2038 DEFAULT_wxUSE_DIRDLG=no
2039 DEFAULT_wxUSE_FILEDLG=no
2040 DEFAULT_wxUSE_FINDREPLDLG=no
2041 DEFAULT_wxUSE_FONTDLG=no
2042 DEFAULT_wxUSE_MSGDLG=no
2043 DEFAULT_wxUSE_NUMBERDLG=no
2044 DEFAULT_wxUSE_TEXTDLG=no
2045 DEFAULT_wxUSE_SPLASH=no
2046 DEFAULT_wxUSE_STARTUP_TIPS=no
2047 DEFAULT_wxUSE_PROGRESSDLG=no
2048 DEFAULT_wxUSE_WIZARDDLG=no
2049
2050 DEFAULT_wxUSE_MENUS=no
2051 DEFAULT_wxUSE_MINIFRAME=no
2052 DEFAULT_wxUSE_HTML=no
2053 DEFAULT_wxUSE_FILESYSTEM=no
2054 DEFAULT_wxUSE_FS_INET=no
2055 DEFAULT_wxUSE_FS_ZIP=no
2056 DEFAULT_wxUSE_BUSYINFO=no
2057 DEFAULT_wxUSE_ZIPSTREAM=no
2058 DEFAULT_wxUSE_VALIDATORS=no
2059
2060 DEFAULT_wxUSE_ACCEL=no
2061 DEFAULT_wxUSE_BUTTON=no
2062 DEFAULT_wxUSE_BMPBUTTON=no
2063 DEFAULT_wxUSE_CALCTRL=no
2064 DEFAULT_wxUSE_CARET=no
2065 DEFAULT_wxUSE_CHECKBOX=no
2066 DEFAULT_wxUSE_CHECKLST=no
2067 DEFAULT_wxUSE_CHOICE=no
2068 DEFAULT_wxUSE_COMBOBOX=no
2069 DEFAULT_wxUSE_DISPLAY=no
2070 DEFAULT_wxUSE_GAUGE=no
2071 DEFAULT_wxUSE_GRID=no
2072 DEFAULT_wxUSE_IMAGLIST=no
2073 DEFAULT_wxUSE_LISTBOX=no
2074 DEFAULT_wxUSE_LISTCTRL=no
2075 DEFAULT_wxUSE_NOTEBOOK=no
2076 DEFAULT_wxUSE_RADIOBOX=no
2077 DEFAULT_wxUSE_RADIOBTN=no
2078 DEFAULT_wxUSE_SASH=no
2079 DEFAULT_wxUSE_SCROLLBAR=no
2080 DEFAULT_wxUSE_SLIDER=no
2081 DEFAULT_wxUSE_SPINBTN=no
2082 DEFAULT_wxUSE_SPINCTRL=no
2083 DEFAULT_wxUSE_SPLITTER=no
2084 DEFAULT_wxUSE_STATBMP=no
2085 DEFAULT_wxUSE_STATBOX=no
2086 DEFAULT_wxUSE_STATLINE=no
2087 DEFAULT_wxUSE_STATTEXT=no
2088 DEFAULT_wxUSE_STATUSBAR=yes
2089 DEFAULT_wxUSE_TABDIALOG=no
2090 DEFAULT_wxUSE_TEXTCTRL=no
2091 DEFAULT_wxUSE_TOGGLEBTN=no
2092 DEFAULT_wxUSE_TOOLBAR=no
2093 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2094 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2095 DEFAULT_wxUSE_TREECTRL=no
2096 DEFAULT_wxUSE_POPUPWIN=no
2097 DEFAULT_wxUSE_TIPWINDOW=no
2098
2099 DEFAULT_wxUSE_UNICODE=no
2100 DEFAULT_wxUSE_UNICODE_MSLU=no
2101 DEFAULT_wxUSE_WCSRTOMBS=no
2102
2103 DEFAULT_wxUSE_PALETTE=no
2104 DEFAULT_wxUSE_IMAGE=no
2105 DEFAULT_wxUSE_GIF=no
2106 DEFAULT_wxUSE_PCX=no
2107 DEFAULT_wxUSE_PNM=no
2108 DEFAULT_wxUSE_IFF=no
2109 DEFAULT_wxUSE_XPM=no
2110 DEFAULT_wxUSE_ICO_CUR=no
2111 DEFAULT_wxUSE_ACCESSIBILITY=no
2112
2113 DEFAULT_wxUSE_MONOLITHIC=yes
2114 else
2115 DEFAULT_wxUSE_UNIVERSAL=no
2116 DEFAULT_wxUSE_STL=no
2117
2118 DEFAULT_wxUSE_NANOX=no
2119
2120 DEFAULT_wxUSE_THREADS=yes
2121
2122 DEFAULT_wxUSE_SHARED=yes
2123 DEFAULT_wxUSE_OPTIMISE=yes
2124 DEFAULT_wxUSE_PROFILE=no
2125 DEFAULT_wxUSE_NO_DEPS=no
2126 DEFAULT_wxUSE_NO_RTTI=no
2127 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2128 DEFAULT_wxUSE_PERMISSIVE=no
2129 DEFAULT_wxUSE_DEBUG_FLAG=no
2130 DEFAULT_wxUSE_DEBUG_INFO=no
2131 DEFAULT_wxUSE_DEBUG_GDB=no
2132 DEFAULT_wxUSE_MEM_TRACING=no
2133 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2134 DEFAULT_wxUSE_DMALLOC=no
2135 DEFAULT_wxUSE_PRECOMP=no
2136 DEFAULT_wxUSE_APPLE_IEEE=yes
2137
2138 DEFAULT_wxUSE_LOG=yes
2139 DEFAULT_wxUSE_LOGWINDOW=yes
2140 DEFAULT_wxUSE_LOGGUI=yes
2141 DEFAULT_wxUSE_LOGDIALOG=yes
2142
2143 DEFAULT_wxUSE_GUI=yes
2144
2145 DEFAULT_wxUSE_REGEX=yes
2146 DEFAULT_wxUSE_ZLIB=yes
2147 DEFAULT_wxUSE_LIBPNG=yes
2148 DEFAULT_wxUSE_LIBJPEG=yes
2149 DEFAULT_wxUSE_LIBTIFF=yes
2150 DEFAULT_wxUSE_ODBC=no
2151 DEFAULT_wxUSE_OPENGL=no
2152
2153 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2154 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2155 DEFAULT_wxUSE_STD_IOSTREAM=no
2156 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2157 DEFAULT_wxUSE_DATETIME=yes
2158 DEFAULT_wxUSE_TIMER=yes
2159 DEFAULT_wxUSE_STOPWATCH=yes
2160 DEFAULT_wxUSE_FILE=yes
2161 DEFAULT_wxUSE_FFILE=yes
2162 DEFAULT_wxUSE_TEXTBUFFER=yes
2163 DEFAULT_wxUSE_TEXTFILE=yes
2164 DEFAULT_wxUSE_WAVE=no
2165 DEFAULT_wxUSE_INTL=yes
2166 DEFAULT_wxUSE_CONFIG=yes
2167 DEFAULT_wxUSE_FONTMAP=yes
2168 DEFAULT_wxUSE_STREAMS=yes
2169 DEFAULT_wxUSE_SOCKETS=yes
2170 DEFAULT_wxUSE_OLE=yes
2171 DEFAULT_wxUSE_DATAOBJ=yes
2172 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2173 DEFAULT_wxUSE_JOYSTICK=yes
2174 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2175 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2176 DEFAULT_wxUSE_LONGLONG=yes
2177 DEFAULT_wxUSE_GEOMETRY=yes
2178
2179 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2180 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2181 DEFAULT_wxUSE_POSTSCRIPT=yes
2182
2183 DEFAULT_wxUSE_CLIPBOARD=yes
2184 DEFAULT_wxUSE_TOOLTIPS=yes
2185 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2186 DEFAULT_wxUSE_DRAGIMAGE=yes
2187 DEFAULT_wxUSE_SPLINES=yes
2188
2189 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2190 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2191 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2192
2193 DEFAULT_wxUSE_RESOURCES=no
2194 DEFAULT_wxUSE_CONSTRAINTS=yes
2195 DEFAULT_wxUSE_IPC=yes
2196 DEFAULT_wxUSE_HELP=yes
2197 DEFAULT_wxUSE_MS_HTML_HELP=yes
2198 DEFAULT_wxUSE_WXHTML_HELP=yes
2199 DEFAULT_wxUSE_TREELAYOUT=yes
2200 DEFAULT_wxUSE_METAFILE=yes
2201 DEFAULT_wxUSE_MIMETYPE=yes
2202 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2203 DEFAULT_wxUSE_PROTOCOL=yes
2204 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2205 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2206 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2207 DEFAULT_wxUSE_URL=yes
2208
2209 DEFAULT_wxUSE_COMMONDLGS=yes
2210 DEFAULT_wxUSE_CHOICEDLG=yes
2211 DEFAULT_wxUSE_COLOURDLG=yes
2212 DEFAULT_wxUSE_DIRDLG=yes
2213 DEFAULT_wxUSE_FILEDLG=yes
2214 DEFAULT_wxUSE_FINDREPLDLG=yes
2215 DEFAULT_wxUSE_FONTDLG=yes
2216 DEFAULT_wxUSE_MSGDLG=yes
2217 DEFAULT_wxUSE_NUMBERDLG=yes
2218 DEFAULT_wxUSE_TEXTDLG=yes
2219 DEFAULT_wxUSE_SPLASH=yes
2220 DEFAULT_wxUSE_STARTUP_TIPS=yes
2221 DEFAULT_wxUSE_PROGRESSDLG=yes
2222 DEFAULT_wxUSE_WIZARDDLG=yes
2223
2224 DEFAULT_wxUSE_MENUS=yes
2225 DEFAULT_wxUSE_MINIFRAME=yes
2226 DEFAULT_wxUSE_HTML=yes
2227 DEFAULT_wxUSE_FILESYSTEM=yes
2228 DEFAULT_wxUSE_FS_INET=yes
2229 DEFAULT_wxUSE_FS_ZIP=yes
2230 DEFAULT_wxUSE_BUSYINFO=yes
2231 DEFAULT_wxUSE_ZIPSTREAM=yes
2232 DEFAULT_wxUSE_VALIDATORS=yes
2233
2234 DEFAULT_wxUSE_ACCEL=yes
2235 DEFAULT_wxUSE_BUTTON=yes
2236 DEFAULT_wxUSE_BMPBUTTON=yes
2237 DEFAULT_wxUSE_CALCTRL=yes
2238 DEFAULT_wxUSE_CARET=yes
2239 DEFAULT_wxUSE_CHECKBOX=yes
2240 DEFAULT_wxUSE_CHECKLST=yes
2241 DEFAULT_wxUSE_CHOICE=yes
2242 DEFAULT_wxUSE_COMBOBOX=yes
2243 DEFAULT_wxUSE_DISPLAY=no
2244 DEFAULT_wxUSE_GAUGE=yes
2245 DEFAULT_wxUSE_GRID=yes
2246 DEFAULT_wxUSE_IMAGLIST=yes
2247 DEFAULT_wxUSE_LISTBOX=yes
2248 DEFAULT_wxUSE_LISTCTRL=yes
2249 DEFAULT_wxUSE_NOTEBOOK=yes
2250 DEFAULT_wxUSE_RADIOBOX=yes
2251 DEFAULT_wxUSE_RADIOBTN=yes
2252 DEFAULT_wxUSE_SASH=yes
2253 DEFAULT_wxUSE_SCROLLBAR=yes
2254 DEFAULT_wxUSE_SLIDER=yes
2255 DEFAULT_wxUSE_SPINBTN=yes
2256 DEFAULT_wxUSE_SPINCTRL=yes
2257 DEFAULT_wxUSE_SPLITTER=yes
2258 DEFAULT_wxUSE_STATBMP=yes
2259 DEFAULT_wxUSE_STATBOX=yes
2260 DEFAULT_wxUSE_STATLINE=yes
2261 DEFAULT_wxUSE_STATTEXT=yes
2262 DEFAULT_wxUSE_STATUSBAR=yes
2263 DEFAULT_wxUSE_TABDIALOG=no
2264 DEFAULT_wxUSE_TEXTCTRL=yes
2265 DEFAULT_wxUSE_TOGGLEBTN=yes
2266 DEFAULT_wxUSE_TOOLBAR=yes
2267 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2268 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2269 DEFAULT_wxUSE_TREECTRL=yes
2270 DEFAULT_wxUSE_POPUPWIN=yes
2271 DEFAULT_wxUSE_TIPWINDOW=yes
2272
2273 DEFAULT_wxUSE_UNICODE=no
2274 DEFAULT_wxUSE_UNICODE_MSLU=yes
2275 DEFAULT_wxUSE_WCSRTOMBS=no
2276
2277 DEFAULT_wxUSE_PALETTE=yes
2278 DEFAULT_wxUSE_IMAGE=yes
2279 DEFAULT_wxUSE_GIF=yes
2280 DEFAULT_wxUSE_PCX=yes
2281 DEFAULT_wxUSE_IFF=no
2282 DEFAULT_wxUSE_PNM=yes
2283 DEFAULT_wxUSE_XPM=yes
2284 DEFAULT_wxUSE_ICO_CUR=yes
2285 DEFAULT_wxUSE_ACCESSIBILITY=no
2286
2287 DEFAULT_wxUSE_MONOLITHIC=yes
2288 fi
2289
2290
2291
2292 for toolkit in `echo $ALL_TOOLKITS`; do
2293 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2294 if test "x$LINE" != "x" ; then
2295 has_toolkit_in_cache=1
2296 eval "DEFAULT_$LINE"
2297 eval "CACHE_$toolkit=1"
2298 fi
2299 done
2300
2301
2302
2303 enablestring=
2304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2305 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2306 no_cache=0
2307 # Check whether --enable-gui or --disable-gui was given.
2308 if test "${enable_gui+set}" = set; then
2309 enableval="$enable_gui"
2310
2311 if test "$enableval" = yes; then
2312 ac_cv_use_gui='wxUSE_GUI=yes'
2313 else
2314 ac_cv_use_gui='wxUSE_GUI=no'
2315 fi
2316
2317 else
2318
2319 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2320 if test "x$LINE" != x ; then
2321 eval "DEFAULT_$LINE"
2322 else
2323 no_cache=1
2324 fi
2325
2326 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2327
2328 fi;
2329
2330 eval "$ac_cv_use_gui"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2333 fi
2334
2335 if test "$wxUSE_GUI" = yes; then
2336 echo "$as_me:$LINENO: result: yes" >&5
2337 echo "${ECHO_T}yes" >&6
2338 else
2339 echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6
2341 fi
2342
2343
2344 enablestring=
2345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2346 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2347 no_cache=0
2348 # Check whether --enable-monolithic or --disable-monolithic was given.
2349 if test "${enable_monolithic+set}" = set; then
2350 enableval="$enable_monolithic"
2351
2352 if test "$enableval" = yes; then
2353 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2354 else
2355 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2356 fi
2357
2358 else
2359
2360 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2363 else
2364 no_cache=1
2365 fi
2366
2367 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2368
2369 fi;
2370
2371 eval "$ac_cv_use_monolithic"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2374 fi
2375
2376 if test "$wxUSE_MONOLITHIC" = yes; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378 echo "${ECHO_T}yes" >&6
2379 else
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2382 fi
2383
2384
2385 if test "$wxUSE_GUI" = "yes"; then
2386
2387
2388 enablestring=
2389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2390 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2391 no_cache=0
2392 # Check whether --enable-universal or --disable-universal was given.
2393 if test "${enable_universal+set}" = set; then
2394 enableval="$enable_universal"
2395
2396 if test "$enableval" = yes; then
2397 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2398 else
2399 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2400 fi
2401
2402 else
2403
2404 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2405 if test "x$LINE" != x ; then
2406 eval "DEFAULT_$LINE"
2407 else
2408 no_cache=1
2409 fi
2410
2411 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2412
2413 fi;
2414
2415 eval "$ac_cv_use_universal"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2418 fi
2419
2420 if test "$wxUSE_UNIVERSAL" = yes; then
2421 echo "$as_me:$LINENO: result: yes" >&5
2422 echo "${ECHO_T}yes" >&6
2423 else
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2426 fi
2427
2428
2429 # Check whether --with-gtk or --without-gtk was given.
2430 if test "${with_gtk+set}" = set; then
2431 withval="$with_gtk"
2432 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2433 fi;
2434
2435 # Check whether --with-motif or --without-motif was given.
2436 if test "${with_motif+set}" = set; then
2437 withval="$with_motif"
2438 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2439 fi;
2440
2441 # Check whether --with-mac or --without-mac was given.
2442 if test "${with_mac+set}" = set; then
2443 withval="$with_mac"
2444 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2445 fi;
2446
2447 # Check whether --with-cocoa or --without-cocoa was given.
2448 if test "${with_cocoa+set}" = set; then
2449 withval="$with_cocoa"
2450 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2451 fi;
2452
2453 # Check whether --with-wine or --without-wine was given.
2454 if test "${with_wine+set}" = set; then
2455 withval="$with_wine"
2456 wxUSE_WINE="$withval" CACHE_WINE=1
2457 fi;
2458
2459 # Check whether --with-msw or --without-msw was given.
2460 if test "${with_msw+set}" = set; then
2461 withval="$with_msw"
2462 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2463 fi;
2464
2465 # Check whether --with-pm or --without-pm was given.
2466 if test "${with_pm+set}" = set; then
2467 withval="$with_pm"
2468 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2469 fi;
2470
2471 # Check whether --with-mgl or --without-mgl was given.
2472 if test "${with_mgl+set}" = set; then
2473 withval="$with_mgl"
2474 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2475 fi;
2476
2477 # Check whether --with-microwin or --without-microwin was given.
2478 if test "${with_microwin+set}" = set; then
2479 withval="$with_microwin"
2480 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2481 fi;
2482
2483 # Check whether --with-x11 or --without-x11 was given.
2484 if test "${with_x11+set}" = set; then
2485 withval="$with_x11"
2486 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2487 fi;
2488
2489 enablestring=
2490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2491 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2492 no_cache=0
2493 # Check whether --enable-nanox or --disable-nanox was given.
2494 if test "${enable_nanox+set}" = set; then
2495 enableval="$enable_nanox"
2496
2497 if test "$enableval" = yes; then
2498 ac_cv_use_nanox='wxUSE_NANOX=yes'
2499 else
2500 ac_cv_use_nanox='wxUSE_NANOX=no'
2501 fi
2502
2503 else
2504
2505 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x ; then
2507 eval "DEFAULT_$LINE"
2508 else
2509 no_cache=1
2510 fi
2511
2512 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2513
2514 fi;
2515
2516 eval "$ac_cv_use_nanox"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2519 fi
2520
2521 if test "$wxUSE_NANOX" = yes; then
2522 echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6
2524 else
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2527 fi
2528
2529
2530
2531 enablestring=
2532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2533 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2534 no_cache=0
2535 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2536 if test "${enable_gtk2+set}" = set; then
2537 enableval="$enable_gtk2"
2538
2539 if test "$enableval" = yes; then
2540 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2541 else
2542 ac_cv_use_gtk2='wxUSE_GTK2=no'
2543 fi
2544
2545 else
2546
2547 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x ; then
2549 eval "DEFAULT_$LINE"
2550 else
2551 no_cache=1
2552 fi
2553
2554 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2555
2556 fi;
2557
2558 eval "$ac_cv_use_gtk2"
2559 if test "$no_cache" != 1; then
2560 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2561 fi
2562
2563 if test "$wxUSE_GTK2" = yes; then
2564 echo "$as_me:$LINENO: result: yes" >&5
2565 echo "${ECHO_T}yes" >&6
2566 else
2567 echo "$as_me:$LINENO: result: no" >&5
2568 echo "${ECHO_T}no" >&6
2569 fi
2570
2571
2572
2573 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2574 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2575 no_cache=0
2576
2577 # Check whether --with-libpng or --without-libpng was given.
2578 if test "${with_libpng+set}" = set; then
2579 withval="$with_libpng"
2580
2581 if test "$withval" = yes; then
2582 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2583 elif test "$withval" = no; then
2584 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2585 elif test "$withval" = sys; then
2586 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2587 elif test "$withval" = builtin; then
2588 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2589 else
2590 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2591 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2592 { (exit 1); exit 1; }; }
2593 fi
2594
2595 else
2596
2597 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2598 if test "x$LINE" != x ; then
2599 eval "DEFAULT_$LINE"
2600 else
2601 no_cache=1
2602 fi
2603
2604 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2605
2606 fi;
2607
2608 eval "$ac_cv_use_libpng"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2611 fi
2612
2613 if test "$wxUSE_LIBPNG" = yes; then
2614 echo "$as_me:$LINENO: result: yes" >&5
2615 echo "${ECHO_T}yes" >&6
2616 elif test "$wxUSE_LIBPNG" = no; then
2617 echo "$as_me:$LINENO: result: no" >&5
2618 echo "${ECHO_T}no" >&6
2619 elif test "$wxUSE_LIBPNG" = sys; then
2620 echo "$as_me:$LINENO: result: system version" >&5
2621 echo "${ECHO_T}system version" >&6
2622 elif test "$wxUSE_LIBPNG" = builtin; then
2623 echo "$as_me:$LINENO: result: builtin version" >&5
2624 echo "${ECHO_T}builtin version" >&6
2625 else
2626 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2627 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2628 { (exit 1); exit 1; }; }
2629 fi
2630
2631
2632 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2633 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2634 no_cache=0
2635
2636 # Check whether --with-libjpeg or --without-libjpeg was given.
2637 if test "${with_libjpeg+set}" = set; then
2638 withval="$with_libjpeg"
2639
2640 if test "$withval" = yes; then
2641 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2642 elif test "$withval" = no; then
2643 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2644 elif test "$withval" = sys; then
2645 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2646 elif test "$withval" = builtin; then
2647 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2648 else
2649 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2650 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2651 { (exit 1); exit 1; }; }
2652 fi
2653
2654 else
2655
2656 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x ; then
2658 eval "DEFAULT_$LINE"
2659 else
2660 no_cache=1
2661 fi
2662
2663 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2664
2665 fi;
2666
2667 eval "$ac_cv_use_libjpeg"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2670 fi
2671
2672 if test "$wxUSE_LIBJPEG" = yes; then
2673 echo "$as_me:$LINENO: result: yes" >&5
2674 echo "${ECHO_T}yes" >&6
2675 elif test "$wxUSE_LIBJPEG" = no; then
2676 echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6
2678 elif test "$wxUSE_LIBJPEG" = sys; then
2679 echo "$as_me:$LINENO: result: system version" >&5
2680 echo "${ECHO_T}system version" >&6
2681 elif test "$wxUSE_LIBJPEG" = builtin; then
2682 echo "$as_me:$LINENO: result: builtin version" >&5
2683 echo "${ECHO_T}builtin version" >&6
2684 else
2685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2686 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2687 { (exit 1); exit 1; }; }
2688 fi
2689
2690
2691 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2692 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2693 no_cache=0
2694
2695 # Check whether --with-libtiff or --without-libtiff was given.
2696 if test "${with_libtiff+set}" = set; then
2697 withval="$with_libtiff"
2698
2699 if test "$withval" = yes; then
2700 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2701 elif test "$withval" = no; then
2702 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2703 elif test "$withval" = sys; then
2704 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2705 elif test "$withval" = builtin; then
2706 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2707 else
2708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2709 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2710 { (exit 1); exit 1; }; }
2711 fi
2712
2713 else
2714
2715 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x ; then
2717 eval "DEFAULT_$LINE"
2718 else
2719 no_cache=1
2720 fi
2721
2722 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2723
2724 fi;
2725
2726 eval "$ac_cv_use_libtiff"
2727 if test "$no_cache" != 1; then
2728 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2729 fi
2730
2731 if test "$wxUSE_LIBTIFF" = yes; then
2732 echo "$as_me:$LINENO: result: yes" >&5
2733 echo "${ECHO_T}yes" >&6
2734 elif test "$wxUSE_LIBTIFF" = no; then
2735 echo "$as_me:$LINENO: result: no" >&5
2736 echo "${ECHO_T}no" >&6
2737 elif test "$wxUSE_LIBTIFF" = sys; then
2738 echo "$as_me:$LINENO: result: system version" >&5
2739 echo "${ECHO_T}system version" >&6
2740 elif test "$wxUSE_LIBTIFF" = builtin; then
2741 echo "$as_me:$LINENO: result: builtin version" >&5
2742 echo "${ECHO_T}builtin version" >&6
2743 else
2744 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2745 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2746 { (exit 1); exit 1; }; }
2747 fi
2748
2749
2750 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2751 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2752 no_cache=0
2753
2754 # Check whether --with-opengl or --without-opengl was given.
2755 if test "${with_opengl+set}" = set; then
2756 withval="$with_opengl"
2757
2758 if test "$withval" = yes; then
2759 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2760 else
2761 ac_cv_use_opengl='wxUSE_OPENGL=no'
2762 fi
2763
2764 else
2765
2766 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x ; then
2768 eval "DEFAULT_$LINE"
2769 else
2770 no_cache=1
2771 fi
2772
2773 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2774
2775 fi;
2776
2777 eval "$ac_cv_use_opengl"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2780 fi
2781
2782 if test "$wxUSE_OPENGL" = yes; then
2783 echo "$as_me:$LINENO: result: yes" >&5
2784 echo "${ECHO_T}yes" >&6
2785 else
2786 echo "$as_me:$LINENO: result: no" >&5
2787 echo "${ECHO_T}no" >&6
2788 fi
2789
2790
2791 fi
2792
2793
2794 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2795 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2796 no_cache=0
2797
2798 # Check whether --with-dmalloc or --without-dmalloc was given.
2799 if test "${with_dmalloc+set}" = set; then
2800 withval="$with_dmalloc"
2801
2802 if test "$withval" = yes; then
2803 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2804 else
2805 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2806 fi
2807
2808 else
2809
2810 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x ; then
2812 eval "DEFAULT_$LINE"
2813 else
2814 no_cache=1
2815 fi
2816
2817 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2818
2819 fi;
2820
2821 eval "$ac_cv_use_dmalloc"
2822 if test "$no_cache" != 1; then
2823 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2824 fi
2825
2826 if test "$wxUSE_DMALLOC" = yes; then
2827 echo "$as_me:$LINENO: result: yes" >&5
2828 echo "${ECHO_T}yes" >&6
2829 else
2830 echo "$as_me:$LINENO: result: no" >&5
2831 echo "${ECHO_T}no" >&6
2832 fi
2833
2834
2835 echo "$as_me:$LINENO: checking for --with-regex" >&5
2836 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2837 no_cache=0
2838
2839 # Check whether --with-regex or --without-regex was given.
2840 if test "${with_regex+set}" = set; then
2841 withval="$with_regex"
2842
2843 if test "$withval" = yes; then
2844 ac_cv_use_regex='wxUSE_REGEX=yes'
2845 elif test "$withval" = no; then
2846 ac_cv_use_regex='wxUSE_REGEX=no'
2847 elif test "$withval" = sys; then
2848 ac_cv_use_regex='wxUSE_REGEX=sys'
2849 elif test "$withval" = builtin; then
2850 ac_cv_use_regex='wxUSE_REGEX=builtin'
2851 else
2852 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2853 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2854 { (exit 1); exit 1; }; }
2855 fi
2856
2857 else
2858
2859 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2860 if test "x$LINE" != x ; then
2861 eval "DEFAULT_$LINE"
2862 else
2863 no_cache=1
2864 fi
2865
2866 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2867
2868 fi;
2869
2870 eval "$ac_cv_use_regex"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2873 fi
2874
2875 if test "$wxUSE_REGEX" = yes; then
2876 echo "$as_me:$LINENO: result: yes" >&5
2877 echo "${ECHO_T}yes" >&6
2878 elif test "$wxUSE_REGEX" = no; then
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2881 elif test "$wxUSE_REGEX" = sys; then
2882 echo "$as_me:$LINENO: result: system version" >&5
2883 echo "${ECHO_T}system version" >&6
2884 elif test "$wxUSE_REGEX" = builtin; then
2885 echo "$as_me:$LINENO: result: builtin version" >&5
2886 echo "${ECHO_T}builtin version" >&6
2887 else
2888 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2889 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2890 { (exit 1); exit 1; }; }
2891 fi
2892
2893
2894 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2895 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2896 no_cache=0
2897
2898 # Check whether --with-zlib or --without-zlib was given.
2899 if test "${with_zlib+set}" = set; then
2900 withval="$with_zlib"
2901
2902 if test "$withval" = yes; then
2903 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2904 elif test "$withval" = no; then
2905 ac_cv_use_zlib='wxUSE_ZLIB=no'
2906 elif test "$withval" = sys; then
2907 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2908 elif test "$withval" = builtin; then
2909 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2910 else
2911 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2912 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2913 { (exit 1); exit 1; }; }
2914 fi
2915
2916 else
2917
2918 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x ; then
2920 eval "DEFAULT_$LINE"
2921 else
2922 no_cache=1
2923 fi
2924
2925 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2926
2927 fi;
2928
2929 eval "$ac_cv_use_zlib"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2932 fi
2933
2934 if test "$wxUSE_ZLIB" = yes; then
2935 echo "$as_me:$LINENO: result: yes" >&5
2936 echo "${ECHO_T}yes" >&6
2937 elif test "$wxUSE_ZLIB" = no; then
2938 echo "$as_me:$LINENO: result: no" >&5
2939 echo "${ECHO_T}no" >&6
2940 elif test "$wxUSE_ZLIB" = sys; then
2941 echo "$as_me:$LINENO: result: system version" >&5
2942 echo "${ECHO_T}system version" >&6
2943 elif test "$wxUSE_ZLIB" = builtin; then
2944 echo "$as_me:$LINENO: result: builtin version" >&5
2945 echo "${ECHO_T}builtin version" >&6
2946 else
2947 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2948 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2949 { (exit 1); exit 1; }; }
2950 fi
2951
2952
2953 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2954 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2955 no_cache=0
2956
2957 # Check whether --with-odbc or --without-odbc was given.
2958 if test "${with_odbc+set}" = set; then
2959 withval="$with_odbc"
2960
2961 if test "$withval" = yes; then
2962 ac_cv_use_odbc='wxUSE_ODBC=yes'
2963 elif test "$withval" = no; then
2964 ac_cv_use_odbc='wxUSE_ODBC=no'
2965 elif test "$withval" = sys; then
2966 ac_cv_use_odbc='wxUSE_ODBC=sys'
2967 elif test "$withval" = builtin; then
2968 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2969 else
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2971 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2973 fi
2974
2975 else
2976
2977 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x ; then
2979 eval "DEFAULT_$LINE"
2980 else
2981 no_cache=1
2982 fi
2983
2984 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2985
2986 fi;
2987
2988 eval "$ac_cv_use_odbc"
2989 if test "$no_cache" != 1; then
2990 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2991 fi
2992
2993 if test "$wxUSE_ODBC" = yes; then
2994 echo "$as_me:$LINENO: result: yes" >&5
2995 echo "${ECHO_T}yes" >&6
2996 elif test "$wxUSE_ODBC" = no; then
2997 echo "$as_me:$LINENO: result: no" >&5
2998 echo "${ECHO_T}no" >&6
2999 elif test "$wxUSE_ODBC" = sys; then
3000 echo "$as_me:$LINENO: result: system version" >&5
3001 echo "${ECHO_T}system version" >&6
3002 elif test "$wxUSE_ODBC" = builtin; then
3003 echo "$as_me:$LINENO: result: builtin version" >&5
3004 echo "${ECHO_T}builtin version" >&6
3005 else
3006 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3007 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3008 { (exit 1); exit 1; }; }
3009 fi
3010
3011
3012
3013
3014 enablestring=
3015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3016 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3017 no_cache=0
3018 # Check whether --enable-shared or --disable-shared was given.
3019 if test "${enable_shared+set}" = set; then
3020 enableval="$enable_shared"
3021
3022 if test "$enableval" = yes; then
3023 ac_cv_use_shared='wxUSE_SHARED=yes'
3024 else
3025 ac_cv_use_shared='wxUSE_SHARED=no'
3026 fi
3027
3028 else
3029
3030 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3031 if test "x$LINE" != x ; then
3032 eval "DEFAULT_$LINE"
3033 else
3034 no_cache=1
3035 fi
3036
3037 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3038
3039 fi;
3040
3041 eval "$ac_cv_use_shared"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3044 fi
3045
3046 if test "$wxUSE_SHARED" = yes; then
3047 echo "$as_me:$LINENO: result: yes" >&5
3048 echo "${ECHO_T}yes" >&6
3049 else
3050 echo "$as_me:$LINENO: result: no" >&5
3051 echo "${ECHO_T}no" >&6
3052 fi
3053
3054
3055 enablestring=
3056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3057 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3058 no_cache=0
3059 # Check whether --enable-optimise or --disable-optimise was given.
3060 if test "${enable_optimise+set}" = set; then
3061 enableval="$enable_optimise"
3062
3063 if test "$enableval" = yes; then
3064 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3065 else
3066 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3067 fi
3068
3069 else
3070
3071 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x ; then
3073 eval "DEFAULT_$LINE"
3074 else
3075 no_cache=1
3076 fi
3077
3078 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3079
3080 fi;
3081
3082 eval "$ac_cv_use_optimise"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3085 fi
3086
3087 if test "$wxUSE_OPTIMISE" = yes; then
3088 echo "$as_me:$LINENO: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3090 else
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3093 fi
3094
3095
3096 enablestring=
3097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3098 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3099 no_cache=0
3100 # Check whether --enable-debug or --disable-debug was given.
3101 if test "${enable_debug+set}" = set; then
3102 enableval="$enable_debug"
3103
3104 if test "$enableval" = yes; then
3105 ac_cv_use_debug='wxUSE_DEBUG=yes'
3106 else
3107 ac_cv_use_debug='wxUSE_DEBUG=no'
3108 fi
3109
3110 else
3111
3112 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3113 if test "x$LINE" != x ; then
3114 eval "DEFAULT_$LINE"
3115 else
3116 no_cache=1
3117 fi
3118
3119 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3120
3121 fi;
3122
3123 eval "$ac_cv_use_debug"
3124 if test "$no_cache" != 1; then
3125 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3126 fi
3127
3128 if test "$wxUSE_DEBUG" = yes; then
3129 echo "$as_me:$LINENO: result: yes" >&5
3130 echo "${ECHO_T}yes" >&6
3131 else
3132 echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3134 fi
3135
3136
3137 enablestring=
3138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3139 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3140 no_cache=0
3141 # Check whether --enable-stl or --disable-stl was given.
3142 if test "${enable_stl+set}" = set; then
3143 enableval="$enable_stl"
3144
3145 if test "$enableval" = yes; then
3146 ac_cv_use_stl='wxUSE_STL=yes'
3147 else
3148 ac_cv_use_stl='wxUSE_STL=no'
3149 fi
3150
3151 else
3152
3153 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3154 if test "x$LINE" != x ; then
3155 eval "DEFAULT_$LINE"
3156 else
3157 no_cache=1
3158 fi
3159
3160 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3161
3162 fi;
3163
3164 eval "$ac_cv_use_stl"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3167 fi
3168
3169 if test "$wxUSE_STL" = yes; then
3170 echo "$as_me:$LINENO: result: yes" >&5
3171 echo "${ECHO_T}yes" >&6
3172 else
3173 echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3175 fi
3176
3177
3178
3179 enablestring=
3180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3181 echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3182 no_cache=0
3183 # Check whether --enable-precomp or --disable-precomp was given.
3184 if test "${enable_precomp+set}" = set; then
3185 enableval="$enable_precomp"
3186
3187 if test "$enableval" = yes; then
3188 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
3189 else
3190 ac_cv_use_precomp='wxUSE_PRECOMP=no'
3191 fi
3192
3193 else
3194
3195 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x ; then
3197 eval "DEFAULT_$LINE"
3198 else
3199 no_cache=1
3200 fi
3201
3202 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3203
3204 fi;
3205
3206 eval "$ac_cv_use_precomp"
3207 if test "$no_cache" != 1; then
3208 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3209 fi
3210
3211 if test "$wxUSE_PRECOMP" = yes; then
3212 echo "$as_me:$LINENO: result: yes" >&5
3213 echo "${ECHO_T}yes" >&6
3214 else
3215 echo "$as_me:$LINENO: result: no" >&5
3216 echo "${ECHO_T}no" >&6
3217 fi
3218
3219
3220 if test "$wxUSE_DEBUG" = "yes"; then
3221 DEFAULT_wxUSE_DEBUG_FLAG=yes
3222 DEFAULT_wxUSE_DEBUG_INFO=yes
3223 elif test "$wxUSE_DEBUG" = "no"; then
3224 DEFAULT_wxUSE_DEBUG_FLAG=no
3225 DEFAULT_wxUSE_DEBUG_INFO=no
3226 fi
3227
3228
3229 enablestring=
3230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3231 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3232 no_cache=0
3233 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3234 if test "${enable_debug_flag+set}" = set; then
3235 enableval="$enable_debug_flag"
3236
3237 if test "$enableval" = yes; then
3238 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3239 else
3240 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3241 fi
3242
3243 else
3244
3245 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3248 else
3249 no_cache=1
3250 fi
3251
3252 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3253
3254 fi;
3255
3256 eval "$ac_cv_use_debug_flag"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3259 fi
3260
3261 if test "$wxUSE_DEBUG_FLAG" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 else
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267 fi
3268
3269
3270 enablestring=
3271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3272 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3273 no_cache=0
3274 # Check whether --enable-debug_info or --disable-debug_info was given.
3275 if test "${enable_debug_info+set}" = set; then
3276 enableval="$enable_debug_info"
3277
3278 if test "$enableval" = yes; then
3279 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3280 else
3281 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3282 fi
3283
3284 else
3285
3286 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x ; then
3288 eval "DEFAULT_$LINE"
3289 else
3290 no_cache=1
3291 fi
3292
3293 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3294
3295 fi;
3296
3297 eval "$ac_cv_use_debug_info"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3300 fi
3301
3302 if test "$wxUSE_DEBUG_INFO" = yes; then
3303 echo "$as_me:$LINENO: result: yes" >&5
3304 echo "${ECHO_T}yes" >&6
3305 else
3306 echo "$as_me:$LINENO: result: no" >&5
3307 echo "${ECHO_T}no" >&6
3308 fi
3309
3310
3311 enablestring=
3312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3313 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3314 no_cache=0
3315 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3316 if test "${enable_debug_gdb+set}" = set; then
3317 enableval="$enable_debug_gdb"
3318
3319 if test "$enableval" = yes; then
3320 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3321 else
3322 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3323 fi
3324
3325 else
3326
3327 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x ; then
3329 eval "DEFAULT_$LINE"
3330 else
3331 no_cache=1
3332 fi
3333
3334 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3335
3336 fi;
3337
3338 eval "$ac_cv_use_debug_gdb"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3341 fi
3342
3343 if test "$wxUSE_DEBUG_GDB" = yes; then
3344 echo "$as_me:$LINENO: result: yes" >&5
3345 echo "${ECHO_T}yes" >&6
3346 else
3347 echo "$as_me:$LINENO: result: no" >&5
3348 echo "${ECHO_T}no" >&6
3349 fi
3350
3351
3352 enablestring=
3353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3354 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3355 no_cache=0
3356 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3357 if test "${enable_debug_cntxt+set}" = set; then
3358 enableval="$enable_debug_cntxt"
3359
3360 if test "$enableval" = yes; then
3361 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3362 else
3363 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3364 fi
3365
3366 else
3367
3368 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x ; then
3370 eval "DEFAULT_$LINE"
3371 else
3372 no_cache=1
3373 fi
3374
3375 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3376
3377 fi;
3378
3379 eval "$ac_cv_use_debug_cntxt"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3382 fi
3383
3384 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 else
3388 echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6
3390 fi
3391
3392
3393 enablestring=
3394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3395 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3396 no_cache=0
3397 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3398 if test "${enable_mem_tracing+set}" = set; then
3399 enableval="$enable_mem_tracing"
3400
3401 if test "$enableval" = yes; then
3402 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3403 else
3404 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3405 fi
3406
3407 else
3408
3409 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3410 if test "x$LINE" != x ; then
3411 eval "DEFAULT_$LINE"
3412 else
3413 no_cache=1
3414 fi
3415
3416 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3417
3418 fi;
3419
3420 eval "$ac_cv_use_mem_tracing"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3423 fi
3424
3425 if test "$wxUSE_MEM_TRACING" = yes; then
3426 echo "$as_me:$LINENO: result: yes" >&5
3427 echo "${ECHO_T}yes" >&6
3428 else
3429 echo "$as_me:$LINENO: result: no" >&5
3430 echo "${ECHO_T}no" >&6
3431 fi
3432
3433
3434 enablestring=
3435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3436 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3437 no_cache=0
3438 # Check whether --enable-profile or --disable-profile was given.
3439 if test "${enable_profile+set}" = set; then
3440 enableval="$enable_profile"
3441
3442 if test "$enableval" = yes; then
3443 ac_cv_use_profile='wxUSE_PROFILE=yes'
3444 else
3445 ac_cv_use_profile='wxUSE_PROFILE=no'
3446 fi
3447
3448 else
3449
3450 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3451 if test "x$LINE" != x ; then
3452 eval "DEFAULT_$LINE"
3453 else
3454 no_cache=1
3455 fi
3456
3457 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3458
3459 fi;
3460
3461 eval "$ac_cv_use_profile"
3462 if test "$no_cache" != 1; then
3463 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3464 fi
3465
3466 if test "$wxUSE_PROFILE" = yes; then
3467 echo "$as_me:$LINENO: result: yes" >&5
3468 echo "${ECHO_T}yes" >&6
3469 else
3470 echo "$as_me:$LINENO: result: no" >&5
3471 echo "${ECHO_T}no" >&6
3472 fi
3473
3474
3475 enablestring=
3476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3477 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3478 no_cache=0
3479 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3480 if test "${enable_no_rtti+set}" = set; then
3481 enableval="$enable_no_rtti"
3482
3483 if test "$enableval" = yes; then
3484 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3485 else
3486 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3487 fi
3488
3489 else
3490
3491 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3492 if test "x$LINE" != x ; then
3493 eval "DEFAULT_$LINE"
3494 else
3495 no_cache=1
3496 fi
3497
3498 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3499
3500 fi;
3501
3502 eval "$ac_cv_use_no_rtti"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3505 fi
3506
3507 if test "$wxUSE_NO_RTTI" = yes; then
3508 echo "$as_me:$LINENO: result: yes" >&5
3509 echo "${ECHO_T}yes" >&6
3510 else
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3513 fi
3514
3515
3516 enablestring=
3517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3519 no_cache=0
3520 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3521 if test "${enable_no_exceptions+set}" = set; then
3522 enableval="$enable_no_exceptions"
3523
3524 if test "$enableval" = yes; then
3525 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3526 else
3527 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3528 fi
3529
3530 else
3531
3532 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3535 else
3536 no_cache=1
3537 fi
3538
3539 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3540
3541 fi;
3542
3543 eval "$ac_cv_use_no_exceptions"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3546 fi
3547
3548 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3551 else
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3554 fi
3555
3556
3557 enablestring=
3558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3559 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3560 no_cache=0
3561 # Check whether --enable-permissive or --disable-permissive was given.
3562 if test "${enable_permissive+set}" = set; then
3563 enableval="$enable_permissive"
3564
3565 if test "$enableval" = yes; then
3566 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3567 else
3568 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3569 fi
3570
3571 else
3572
3573 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x ; then
3575 eval "DEFAULT_$LINE"
3576 else
3577 no_cache=1
3578 fi
3579
3580 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3581
3582 fi;
3583
3584 eval "$ac_cv_use_permissive"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_PERMISSIVE" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3592 else
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3595 fi
3596
3597
3598 enablestring=
3599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3600 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3601 no_cache=0
3602 # Check whether --enable-no_deps or --disable-no_deps was given.
3603 if test "${enable_no_deps+set}" = set; then
3604 enableval="$enable_no_deps"
3605
3606 if test "$enableval" = yes; then
3607 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3608 else
3609 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3610 fi
3611
3612 else
3613
3614 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x ; then
3616 eval "DEFAULT_$LINE"
3617 else
3618 no_cache=1
3619 fi
3620
3621 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3622
3623 fi;
3624
3625 eval "$ac_cv_use_no_deps"
3626 if test "$no_cache" != 1; then
3627 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3628 fi
3629
3630 if test "$wxUSE_NO_DEPS" = yes; then
3631 echo "$as_me:$LINENO: result: yes" >&5
3632 echo "${ECHO_T}yes" >&6
3633 else
3634 echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6
3636 fi
3637
3638
3639
3640 enablestring=
3641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3642 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3643 no_cache=0
3644 # Check whether --enable-compat20 or --disable-compat20 was given.
3645 if test "${enable_compat20+set}" = set; then
3646 enableval="$enable_compat20"
3647
3648 if test "$enableval" = yes; then
3649 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3650 else
3651 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3652 fi
3653
3654 else
3655
3656 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x ; then
3658 eval "DEFAULT_$LINE"
3659 else
3660 no_cache=1
3661 fi
3662
3663 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3664
3665 fi;
3666
3667 eval "$ac_cv_use_compat20"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3670 fi
3671
3672 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3673 echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6
3675 else
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3678 fi
3679
3680
3681 enablestring=
3682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3684 no_cache=0
3685 # Check whether --enable-compat22 or --disable-compat22 was given.
3686 if test "${enable_compat22+set}" = set; then
3687 enableval="$enable_compat22"
3688
3689 if test "$enableval" = yes; then
3690 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3691 else
3692 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3693 fi
3694
3695 else
3696
3697 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x ; then
3699 eval "DEFAULT_$LINE"
3700 else
3701 no_cache=1
3702 fi
3703
3704 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3705
3706 fi;
3707
3708 eval "$ac_cv_use_compat22"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3714 echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6
3716 else
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3719 fi
3720
3721
3722 enablestring=disable
3723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3724 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3725 no_cache=0
3726 # Check whether --enable-compat24 or --disable-compat24 was given.
3727 if test "${enable_compat24+set}" = set; then
3728 enableval="$enable_compat24"
3729
3730 if test "$enableval" = yes; then
3731 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3732 else
3733 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3734 fi
3735
3736 else
3737
3738 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x ; then
3740 eval "DEFAULT_$LINE"
3741 else
3742 no_cache=1
3743 fi
3744
3745 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3746
3747 fi;
3748
3749 eval "$ac_cv_use_compat24"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3752 fi
3753
3754 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3757 else
3758 echo "$as_me:$LINENO: result: no" >&5
3759 echo "${ECHO_T}no" >&6
3760 fi
3761
3762
3763 # Check whether --enable-rpath or --disable-rpath was given.
3764 if test "${enable_rpath+set}" = set; then
3765 enableval="$enable_rpath"
3766 wxRPATH_DIR="$enableval"
3767 fi;
3768
3769 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3770 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3771 fi
3772
3773
3774
3775
3776 enablestring=
3777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3778 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3779 no_cache=0
3780 # Check whether --enable-intl or --disable-intl was given.
3781 if test "${enable_intl+set}" = set; then
3782 enableval="$enable_intl"
3783
3784 if test "$enableval" = yes; then
3785 ac_cv_use_intl='wxUSE_INTL=yes'
3786 else
3787 ac_cv_use_intl='wxUSE_INTL=no'
3788 fi
3789
3790 else
3791
3792 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x ; then
3794 eval "DEFAULT_$LINE"
3795 else
3796 no_cache=1
3797 fi
3798
3799 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3800
3801 fi;
3802
3803 eval "$ac_cv_use_intl"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3806 fi
3807
3808 if test "$wxUSE_INTL" = yes; then
3809 echo "$as_me:$LINENO: result: yes" >&5
3810 echo "${ECHO_T}yes" >&6
3811 else
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3814 fi
3815
3816
3817 enablestring=
3818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3819 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3820 no_cache=0
3821 # Check whether --enable-config or --disable-config was given.
3822 if test "${enable_config+set}" = set; then
3823 enableval="$enable_config"
3824
3825 if test "$enableval" = yes; then
3826 ac_cv_use_config='wxUSE_CONFIG=yes'
3827 else
3828 ac_cv_use_config='wxUSE_CONFIG=no'
3829 fi
3830
3831 else
3832
3833 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x ; then
3835 eval "DEFAULT_$LINE"
3836 else
3837 no_cache=1
3838 fi
3839
3840 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3841
3842 fi;
3843
3844 eval "$ac_cv_use_config"
3845 if test "$no_cache" != 1; then
3846 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3847 fi
3848
3849 if test "$wxUSE_CONFIG" = yes; then
3850 echo "$as_me:$LINENO: result: yes" >&5
3851 echo "${ECHO_T}yes" >&6
3852 else
3853 echo "$as_me:$LINENO: result: no" >&5
3854 echo "${ECHO_T}no" >&6
3855 fi
3856
3857
3858
3859 enablestring=
3860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3861 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3862 no_cache=0
3863 # Check whether --enable-protocols or --disable-protocols was given.
3864 if test "${enable_protocols+set}" = set; then
3865 enableval="$enable_protocols"
3866
3867 if test "$enableval" = yes; then
3868 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3869 else
3870 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3871 fi
3872
3873 else
3874
3875 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x ; then
3877 eval "DEFAULT_$LINE"
3878 else
3879 no_cache=1
3880 fi
3881
3882 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3883
3884 fi;
3885
3886 eval "$ac_cv_use_protocols"
3887 if test "$no_cache" != 1; then
3888 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3889 fi
3890
3891 if test "$wxUSE_PROTOCOL" = yes; then
3892 echo "$as_me:$LINENO: result: yes" >&5
3893 echo "${ECHO_T}yes" >&6
3894 else
3895 echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6
3897 fi
3898
3899
3900 enablestring=
3901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3902 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3903 no_cache=0
3904 # Check whether --enable-ftp or --disable-ftp was given.
3905 if test "${enable_ftp+set}" = set; then
3906 enableval="$enable_ftp"
3907
3908 if test "$enableval" = yes; then
3909 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3910 else
3911 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3912 fi
3913
3914 else
3915
3916 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3917 if test "x$LINE" != x ; then
3918 eval "DEFAULT_$LINE"
3919 else
3920 no_cache=1
3921 fi
3922
3923 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3924
3925 fi;
3926
3927 eval "$ac_cv_use_ftp"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3930 fi
3931
3932 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3933 echo "$as_me:$LINENO: result: yes" >&5
3934 echo "${ECHO_T}yes" >&6
3935 else
3936 echo "$as_me:$LINENO: result: no" >&5
3937 echo "${ECHO_T}no" >&6
3938 fi
3939
3940
3941 enablestring=
3942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3943 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3944 no_cache=0
3945 # Check whether --enable-http or --disable-http was given.
3946 if test "${enable_http+set}" = set; then
3947 enableval="$enable_http"
3948
3949 if test "$enableval" = yes; then
3950 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3951 else
3952 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3953 fi
3954
3955 else
3956
3957 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x ; then
3959 eval "DEFAULT_$LINE"
3960 else
3961 no_cache=1
3962 fi
3963
3964 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3965
3966 fi;
3967
3968 eval "$ac_cv_use_http"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3971 fi
3972
3973 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3974 echo "$as_me:$LINENO: result: yes" >&5
3975 echo "${ECHO_T}yes" >&6
3976 else
3977 echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6
3979 fi
3980
3981
3982 enablestring=
3983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3984 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3985 no_cache=0
3986 # Check whether --enable-fileproto or --disable-fileproto was given.
3987 if test "${enable_fileproto+set}" = set; then
3988 enableval="$enable_fileproto"
3989
3990 if test "$enableval" = yes; then
3991 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3992 else
3993 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3994 fi
3995
3996 else
3997
3998 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x ; then
4000 eval "DEFAULT_$LINE"
4001 else
4002 no_cache=1
4003 fi
4004
4005 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4006
4007 fi;
4008
4009 eval "$ac_cv_use_fileproto"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4012 fi
4013
4014 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4015 echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6
4017 else
4018 echo "$as_me:$LINENO: result: no" >&5
4019 echo "${ECHO_T}no" >&6
4020 fi
4021
4022
4023 enablestring=
4024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4025 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4026 no_cache=0
4027 # Check whether --enable-sockets or --disable-sockets was given.
4028 if test "${enable_sockets+set}" = set; then
4029 enableval="$enable_sockets"
4030
4031 if test "$enableval" = yes; then
4032 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4033 else
4034 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4035 fi
4036
4037 else
4038
4039 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x ; then
4041 eval "DEFAULT_$LINE"
4042 else
4043 no_cache=1
4044 fi
4045
4046 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4047
4048 fi;
4049
4050 eval "$ac_cv_use_sockets"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4053 fi
4054
4055 if test "$wxUSE_SOCKETS" = yes; then
4056 echo "$as_me:$LINENO: result: yes" >&5
4057 echo "${ECHO_T}yes" >&6
4058 else
4059 echo "$as_me:$LINENO: result: no" >&5
4060 echo "${ECHO_T}no" >&6
4061 fi
4062
4063
4064 enablestring=
4065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4066 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4067 no_cache=0
4068 # Check whether --enable-ole or --disable-ole was given.
4069 if test "${enable_ole+set}" = set; then
4070 enableval="$enable_ole"
4071
4072 if test "$enableval" = yes; then
4073 ac_cv_use_ole='wxUSE_OLE=yes'
4074 else
4075 ac_cv_use_ole='wxUSE_OLE=no'
4076 fi
4077
4078 else
4079
4080 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x ; then
4082 eval "DEFAULT_$LINE"
4083 else
4084 no_cache=1
4085 fi
4086
4087 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4088
4089 fi;
4090
4091 eval "$ac_cv_use_ole"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4094 fi
4095
4096 if test "$wxUSE_OLE" = yes; then
4097 echo "$as_me:$LINENO: result: yes" >&5
4098 echo "${ECHO_T}yes" >&6
4099 else
4100 echo "$as_me:$LINENO: result: no" >&5
4101 echo "${ECHO_T}no" >&6
4102 fi
4103
4104
4105 enablestring=
4106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4107 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4108 no_cache=0
4109 # Check whether --enable-dataobj or --disable-dataobj was given.
4110 if test "${enable_dataobj+set}" = set; then
4111 enableval="$enable_dataobj"
4112
4113 if test "$enableval" = yes; then
4114 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4115 else
4116 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4117 fi
4118
4119 else
4120
4121 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x ; then
4123 eval "DEFAULT_$LINE"
4124 else
4125 no_cache=1
4126 fi
4127
4128 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4129
4130 fi;
4131
4132 eval "$ac_cv_use_dataobj"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4135 fi
4136
4137 if test "$wxUSE_DATAOBJ" = yes; then
4138 echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6
4140 else
4141 echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6
4143 fi
4144
4145
4146
4147 enablestring=
4148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4149 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4150 no_cache=0
4151 # Check whether --enable-ipc or --disable-ipc was given.
4152 if test "${enable_ipc+set}" = set; then
4153 enableval="$enable_ipc"
4154
4155 if test "$enableval" = yes; then
4156 ac_cv_use_ipc='wxUSE_IPC=yes'
4157 else
4158 ac_cv_use_ipc='wxUSE_IPC=no'
4159 fi
4160
4161 else
4162
4163 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x ; then
4165 eval "DEFAULT_$LINE"
4166 else
4167 no_cache=1
4168 fi
4169
4170 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4171
4172 fi;
4173
4174 eval "$ac_cv_use_ipc"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4177 fi
4178
4179 if test "$wxUSE_IPC" = yes; then
4180 echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6
4182 else
4183 echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6
4185 fi
4186
4187
4188
4189 enablestring=
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4192 no_cache=0
4193 # Check whether --enable-cmdline or --disable-cmdline was given.
4194 if test "${enable_cmdline+set}" = set; then
4195 enableval="$enable_cmdline"
4196
4197 if test "$enableval" = yes; then
4198 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4199 else
4200 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4201 fi
4202
4203 else
4204
4205 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x ; then
4207 eval "DEFAULT_$LINE"
4208 else
4209 no_cache=1
4210 fi
4211
4212 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4213
4214 fi;
4215
4216 eval "$ac_cv_use_cmdline"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4219 fi
4220
4221 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4224 else
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4227 fi
4228
4229
4230 enablestring=
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4233 no_cache=0
4234 # Check whether --enable-datetime or --disable-datetime was given.
4235 if test "${enable_datetime+set}" = set; then
4236 enableval="$enable_datetime"
4237
4238 if test "$enableval" = yes; then
4239 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4240 else
4241 ac_cv_use_datetime='wxUSE_DATETIME=no'
4242 fi
4243
4244 else
4245
4246 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x ; then
4248 eval "DEFAULT_$LINE"
4249 else
4250 no_cache=1
4251 fi
4252
4253 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4254
4255 fi;
4256
4257 eval "$ac_cv_use_datetime"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4260 fi
4261
4262 if test "$wxUSE_DATETIME" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4265 else
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4268 fi
4269
4270
4271 enablestring=
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4274 no_cache=0
4275 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4276 if test "${enable_stopwatch+set}" = set; then
4277 enableval="$enable_stopwatch"
4278
4279 if test "$enableval" = yes; then
4280 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4281 else
4282 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4283 fi
4284
4285 else
4286
4287 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x ; then
4289 eval "DEFAULT_$LINE"
4290 else
4291 no_cache=1
4292 fi
4293
4294 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4295
4296 fi;
4297
4298 eval "$ac_cv_use_stopwatch"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4301 fi
4302
4303 if test "$wxUSE_STOPWATCH" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4306 else
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4309 fi
4310
4311
4312 enablestring=
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4315 no_cache=0
4316 # Check whether --enable-dialupman or --disable-dialupman was given.
4317 if test "${enable_dialupman+set}" = set; then
4318 enableval="$enable_dialupman"
4319
4320 if test "$enableval" = yes; then
4321 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4322 else
4323 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4324 fi
4325
4326 else
4327
4328 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x ; then
4330 eval "DEFAULT_$LINE"
4331 else
4332 no_cache=1
4333 fi
4334
4335 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4336
4337 fi;
4338
4339 eval "$ac_cv_use_dialupman"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4342 fi
4343
4344 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4347 else
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4350 fi
4351
4352
4353 enablestring=
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4356 no_cache=0
4357 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4358 if test "${enable_apple_ieee+set}" = set; then
4359 enableval="$enable_apple_ieee"
4360
4361 if test "$enableval" = yes; then
4362 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4363 else
4364 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4365 fi
4366
4367 else
4368
4369 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x ; then
4371 eval "DEFAULT_$LINE"
4372 else
4373 no_cache=1
4374 fi
4375
4376 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4377
4378 fi;
4379
4380 eval "$ac_cv_use_apple_ieee"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4383 fi
4384
4385 if test "$wxUSE_APPLE_IEEE" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4388 else
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4391 fi
4392
4393
4394 enablestring=
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4397 no_cache=0
4398 # Check whether --enable-timer or --disable-timer was given.
4399 if test "${enable_timer+set}" = set; then
4400 enableval="$enable_timer"
4401
4402 if test "$enableval" = yes; then
4403 ac_cv_use_timer='wxUSE_TIMER=yes'
4404 else
4405 ac_cv_use_timer='wxUSE_TIMER=no'
4406 fi
4407
4408 else
4409
4410 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x ; then
4412 eval "DEFAULT_$LINE"
4413 else
4414 no_cache=1
4415 fi
4416
4417 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4418
4419 fi;
4420
4421 eval "$ac_cv_use_timer"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4424 fi
4425
4426 if test "$wxUSE_TIMER" = yes; then
4427 echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6
4429 else
4430 echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6
4432 fi
4433
4434
4435 enablestring=
4436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4437 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4438 no_cache=0
4439 # Check whether --enable-wave or --disable-wave was given.
4440 if test "${enable_wave+set}" = set; then
4441 enableval="$enable_wave"
4442
4443 if test "$enableval" = yes; then
4444 ac_cv_use_wave='wxUSE_WAVE=yes'
4445 else
4446 ac_cv_use_wave='wxUSE_WAVE=no'
4447 fi
4448
4449 else
4450
4451 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x ; then
4453 eval "DEFAULT_$LINE"
4454 else
4455 no_cache=1
4456 fi
4457
4458 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4459
4460 fi;
4461
4462 eval "$ac_cv_use_wave"
4463 if test "$no_cache" != 1; then
4464 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4465 fi
4466
4467 if test "$wxUSE_WAVE" = yes; then
4468 echo "$as_me:$LINENO: result: yes" >&5
4469 echo "${ECHO_T}yes" >&6
4470 else
4471 echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6
4473 fi
4474
4475
4476 enablestring=
4477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4478 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4479 no_cache=0
4480 # Check whether --enable-fraction or --disable-fraction was given.
4481 if test "${enable_fraction+set}" = set; then
4482 enableval="$enable_fraction"
4483
4484 if test "$enableval" = yes; then
4485 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4486 else
4487 ac_cv_use_fraction='wxUSE_FRACTION=no'
4488 fi
4489
4490 else
4491
4492 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x ; then
4494 eval "DEFAULT_$LINE"
4495 else
4496 no_cache=1
4497 fi
4498
4499 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4500
4501 fi;
4502
4503 eval "$ac_cv_use_fraction"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4506 fi
4507
4508 if test "$wxUSE_FRACTION" = yes; then
4509 echo "$as_me:$LINENO: result: yes" >&5
4510 echo "${ECHO_T}yes" >&6
4511 else
4512 echo "$as_me:$LINENO: result: no" >&5
4513 echo "${ECHO_T}no" >&6
4514 fi
4515
4516
4517 enablestring=
4518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4519 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4520 no_cache=0
4521 # Check whether --enable-dynlib or --disable-dynlib was given.
4522 if test "${enable_dynlib+set}" = set; then
4523 enableval="$enable_dynlib"
4524
4525 if test "$enableval" = yes; then
4526 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4527 else
4528 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4529 fi
4530
4531 else
4532
4533 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4534 if test "x$LINE" != x ; then
4535 eval "DEFAULT_$LINE"
4536 else
4537 no_cache=1
4538 fi
4539
4540 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4541
4542 fi;
4543
4544 eval "$ac_cv_use_dynlib"
4545 if test "$no_cache" != 1; then
4546 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4547 fi
4548
4549 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4550 echo "$as_me:$LINENO: result: yes" >&5
4551 echo "${ECHO_T}yes" >&6
4552 else
4553 echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6
4555 fi
4556
4557
4558 enablestring=
4559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4561 no_cache=0
4562 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4563 if test "${enable_dynamicloader+set}" = set; then
4564 enableval="$enable_dynamicloader"
4565
4566 if test "$enableval" = yes; then
4567 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4568 else
4569 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4570 fi
4571
4572 else
4573
4574 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x ; then
4576 eval "DEFAULT_$LINE"
4577 else
4578 no_cache=1
4579 fi
4580
4581 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4582
4583 fi;
4584
4585 eval "$ac_cv_use_dynamicloader"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4588 fi
4589
4590 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4591 echo "$as_me:$LINENO: result: yes" >&5
4592 echo "${ECHO_T}yes" >&6
4593 else
4594 echo "$as_me:$LINENO: result: no" >&5
4595 echo "${ECHO_T}no" >&6
4596 fi
4597
4598
4599 enablestring=
4600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4601 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4602 no_cache=0
4603 # Check whether --enable-longlong or --disable-longlong was given.
4604 if test "${enable_longlong+set}" = set; then
4605 enableval="$enable_longlong"
4606
4607 if test "$enableval" = yes; then
4608 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4609 else
4610 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4611 fi
4612
4613 else
4614
4615 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4616 if test "x$LINE" != x ; then
4617 eval "DEFAULT_$LINE"
4618 else
4619 no_cache=1
4620 fi
4621
4622 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4623
4624 fi;
4625
4626 eval "$ac_cv_use_longlong"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4629 fi
4630
4631 if test "$wxUSE_LONGLONG" = yes; then
4632 echo "$as_me:$LINENO: result: yes" >&5
4633 echo "${ECHO_T}yes" >&6
4634 else
4635 echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6
4637 fi
4638
4639
4640 enablestring=
4641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4642 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4643 no_cache=0
4644 # Check whether --enable-geometry or --disable-geometry was given.
4645 if test "${enable_geometry+set}" = set; then
4646 enableval="$enable_geometry"
4647
4648 if test "$enableval" = yes; then
4649 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4650 else
4651 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4652 fi
4653
4654 else
4655
4656 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x ; then
4658 eval "DEFAULT_$LINE"
4659 else
4660 no_cache=1
4661 fi
4662
4663 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4664
4665 fi;
4666
4667 eval "$ac_cv_use_geometry"
4668 if test "$no_cache" != 1; then
4669 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4670 fi
4671
4672 if test "$wxUSE_GEOMETRY" = yes; then
4673 echo "$as_me:$LINENO: result: yes" >&5
4674 echo "${ECHO_T}yes" >&6
4675 else
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4678 fi
4679
4680
4681 enablestring=
4682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4684 no_cache=0
4685 # Check whether --enable-log or --disable-log was given.
4686 if test "${enable_log+set}" = set; then
4687 enableval="$enable_log"
4688
4689 if test "$enableval" = yes; then
4690 ac_cv_use_log='wxUSE_LOG=yes'
4691 else
4692 ac_cv_use_log='wxUSE_LOG=no'
4693 fi
4694
4695 else
4696
4697 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x ; then
4699 eval "DEFAULT_$LINE"
4700 else
4701 no_cache=1
4702 fi
4703
4704 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4705
4706 fi;
4707
4708 eval "$ac_cv_use_log"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4711 fi
4712
4713 if test "$wxUSE_LOG" = yes; then
4714 echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6
4716 else
4717 echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6
4719 fi
4720
4721
4722 enablestring=
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4725 no_cache=0
4726 # Check whether --enable-streams or --disable-streams was given.
4727 if test "${enable_streams+set}" = set; then
4728 enableval="$enable_streams"
4729
4730 if test "$enableval" = yes; then
4731 ac_cv_use_streams='wxUSE_STREAMS=yes'
4732 else
4733 ac_cv_use_streams='wxUSE_STREAMS=no'
4734 fi
4735
4736 else
4737
4738 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4741 else
4742 no_cache=1
4743 fi
4744
4745 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4746
4747 fi;
4748
4749 eval "$ac_cv_use_streams"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4752 fi
4753
4754 if test "$wxUSE_STREAMS" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4757 else
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4760 fi
4761
4762
4763 enablestring=
4764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4766 no_cache=0
4767 # Check whether --enable-file or --disable-file was given.
4768 if test "${enable_file+set}" = set; then
4769 enableval="$enable_file"
4770
4771 if test "$enableval" = yes; then
4772 ac_cv_use_file='wxUSE_FILE=yes'
4773 else
4774 ac_cv_use_file='wxUSE_FILE=no'
4775 fi
4776
4777 else
4778
4779 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x ; then
4781 eval "DEFAULT_$LINE"
4782 else
4783 no_cache=1
4784 fi
4785
4786 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4787
4788 fi;
4789
4790 eval "$ac_cv_use_file"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4793 fi
4794
4795 if test "$wxUSE_FILE" = yes; then
4796 echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6
4798 else
4799 echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6
4801 fi
4802
4803
4804 enablestring=
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4807 no_cache=0
4808 # Check whether --enable-ffile or --disable-ffile was given.
4809 if test "${enable_ffile+set}" = set; then
4810 enableval="$enable_ffile"
4811
4812 if test "$enableval" = yes; then
4813 ac_cv_use_ffile='wxUSE_FFILE=yes'
4814 else
4815 ac_cv_use_ffile='wxUSE_FFILE=no'
4816 fi
4817
4818 else
4819
4820 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x ; then
4822 eval "DEFAULT_$LINE"
4823 else
4824 no_cache=1
4825 fi
4826
4827 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4828
4829 fi;
4830
4831 eval "$ac_cv_use_ffile"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4834 fi
4835
4836 if test "$wxUSE_FFILE" = yes; then
4837 echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6
4839 else
4840 echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6
4842 fi
4843
4844
4845 enablestring=
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4848 no_cache=0
4849 # Check whether --enable-textbuf or --disable-textbuf was given.
4850 if test "${enable_textbuf+set}" = set; then
4851 enableval="$enable_textbuf"
4852
4853 if test "$enableval" = yes; then
4854 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4855 else
4856 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4857 fi
4858
4859 else
4860
4861 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x ; then
4863 eval "DEFAULT_$LINE"
4864 else
4865 no_cache=1
4866 fi
4867
4868 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4869
4870 fi;
4871
4872 eval "$ac_cv_use_textbuf"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4875 fi
4876
4877 if test "$wxUSE_TEXTBUFFER" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4880 else
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4883 fi
4884
4885
4886 enablestring=
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4889 no_cache=0
4890 # Check whether --enable-textfile or --disable-textfile was given.
4891 if test "${enable_textfile+set}" = set; then
4892 enableval="$enable_textfile"
4893
4894 if test "$enableval" = yes; then
4895 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4896 else
4897 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4898 fi
4899
4900 else
4901
4902 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x ; then
4904 eval "DEFAULT_$LINE"
4905 else
4906 no_cache=1
4907 fi
4908
4909 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4910
4911 fi;
4912
4913 eval "$ac_cv_use_textfile"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4916 fi
4917
4918 if test "$wxUSE_TEXTFILE" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4921 else
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4924 fi
4925
4926
4927 enablestring=
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4930 no_cache=0
4931 # Check whether --enable-fontmap or --disable-fontmap was given.
4932 if test "${enable_fontmap+set}" = set; then
4933 enableval="$enable_fontmap"
4934
4935 if test "$enableval" = yes; then
4936 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4937 else
4938 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4939 fi
4940
4941 else
4942
4943 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x ; then
4945 eval "DEFAULT_$LINE"
4946 else
4947 no_cache=1
4948 fi
4949
4950 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4951
4952 fi;
4953
4954 eval "$ac_cv_use_fontmap"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4957 fi
4958
4959 if test "$wxUSE_FONTMAP" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4962 else
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4965 fi
4966
4967
4968 enablestring=
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4971 no_cache=0
4972 # Check whether --enable-unicode or --disable-unicode was given.
4973 if test "${enable_unicode+set}" = set; then
4974 enableval="$enable_unicode"
4975
4976 if test "$enableval" = yes; then
4977 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4978 else
4979 ac_cv_use_unicode='wxUSE_UNICODE=no'
4980 fi
4981
4982 else
4983
4984 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x ; then
4986 eval "DEFAULT_$LINE"
4987 else
4988 no_cache=1
4989 fi
4990
4991 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4992
4993 fi;
4994
4995 eval "$ac_cv_use_unicode"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4998 fi
4999
5000 if test "$wxUSE_UNICODE" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5003 else
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5006 fi
5007
5008
5009 enablestring=
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5012 no_cache=0
5013 # Check whether --enable-mslu or --disable-mslu was given.
5014 if test "${enable_mslu+set}" = set; then
5015 enableval="$enable_mslu"
5016
5017 if test "$enableval" = yes; then
5018 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5019 else
5020 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5021 fi
5022
5023 else
5024
5025 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x ; then
5027 eval "DEFAULT_$LINE"
5028 else
5029 no_cache=1
5030 fi
5031
5032 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5033
5034 fi;
5035
5036 eval "$ac_cv_use_mslu"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5039 fi
5040
5041 if test "$wxUSE_UNICODE_MSLU" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5044 else
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5047 fi
5048
5049
5050 enablestring=
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5053 no_cache=0
5054 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5055 if test "${enable_wxprintfv+set}" = set; then
5056 enableval="$enable_wxprintfv"
5057
5058 if test "$enableval" = yes; then
5059 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5060 else
5061 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5062 fi
5063
5064 else
5065
5066 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x ; then
5068 eval "DEFAULT_$LINE"
5069 else
5070 no_cache=1
5071 fi
5072
5073 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5074
5075 fi;
5076
5077 eval "$ac_cv_use_wxprintfv"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5080 fi
5081
5082 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5085 else
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5088 fi
5089
5090
5091 enablestring=
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5094 no_cache=0
5095 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5096 if test "${enable_std_iostreams+set}" = set; then
5097 enableval="$enable_std_iostreams"
5098
5099 if test "$enableval" = yes; then
5100 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5101 else
5102 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5103 fi
5104
5105 else
5106
5107 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x ; then
5109 eval "DEFAULT_$LINE"
5110 else
5111 no_cache=1
5112 fi
5113
5114 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5115
5116 fi;
5117
5118 eval "$ac_cv_use_std_iostreams"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5121 fi
5122
5123 if test "$wxUSE_STD_IOSTREAM" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5129 fi
5130
5131
5132 enablestring=
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5135 no_cache=0
5136 # Check whether --enable-filesystem or --disable-filesystem was given.
5137 if test "${enable_filesystem+set}" = set; then
5138 enableval="$enable_filesystem"
5139
5140 if test "$enableval" = yes; then
5141 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5142 else
5143 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5144 fi
5145
5146 else
5147
5148 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x ; then
5150 eval "DEFAULT_$LINE"
5151 else
5152 no_cache=1
5153 fi
5154
5155 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5156
5157 fi;
5158
5159 eval "$ac_cv_use_filesystem"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5162 fi
5163
5164 if test "$wxUSE_FILESYSTEM" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5167 else
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5170 fi
5171
5172
5173 enablestring=
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5176 no_cache=0
5177 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5178 if test "${enable_fs_inet+set}" = set; then
5179 enableval="$enable_fs_inet"
5180
5181 if test "$enableval" = yes; then
5182 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5183 else
5184 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5185 fi
5186
5187 else
5188
5189 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5192 else
5193 no_cache=1
5194 fi
5195
5196 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5197
5198 fi;
5199
5200 eval "$ac_cv_use_fs_inet"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5203 fi
5204
5205 if test "$wxUSE_FS_INET" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5208 else
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5211 fi
5212
5213
5214 enablestring=
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5217 no_cache=0
5218 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5219 if test "${enable_fs_zip+set}" = set; then
5220 enableval="$enable_fs_zip"
5221
5222 if test "$enableval" = yes; then
5223 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5224 else
5225 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5226 fi
5227
5228 else
5229
5230 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5233 else
5234 no_cache=1
5235 fi
5236
5237 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5238
5239 fi;
5240
5241 eval "$ac_cv_use_fs_zip"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5244 fi
5245
5246 if test "$wxUSE_FS_ZIP" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5249 else
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5252 fi
5253
5254
5255 enablestring=
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5258 no_cache=0
5259 # Check whether --enable-zipstream or --disable-zipstream was given.
5260 if test "${enable_zipstream+set}" = set; then
5261 enableval="$enable_zipstream"
5262
5263 if test "$enableval" = yes; then
5264 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5265 else
5266 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5267 fi
5268
5269 else
5270
5271 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5274 else
5275 no_cache=1
5276 fi
5277
5278 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5279
5280 fi;
5281
5282 eval "$ac_cv_use_zipstream"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5285 fi
5286
5287 if test "$wxUSE_ZIPSTREAM" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5290 else
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5293 fi
5294
5295
5296
5297 enablestring=
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5300 no_cache=0
5301 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5302 if test "${enable_catch_segvs+set}" = set; then
5303 enableval="$enable_catch_segvs"
5304
5305 if test "$enableval" = yes; then
5306 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5307 else
5308 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5309 fi
5310
5311 else
5312
5313 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 else
5317 no_cache=1
5318 fi
5319
5320 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5321
5322 fi;
5323
5324 eval "$ac_cv_use_catch_segvs"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5327 fi
5328
5329 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5332 else
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5335 fi
5336
5337
5338 enablestring=
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5341 no_cache=0
5342 # Check whether --enable-snglinst or --disable-snglinst was given.
5343 if test "${enable_snglinst+set}" = set; then
5344 enableval="$enable_snglinst"
5345
5346 if test "$enableval" = yes; then
5347 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5348 else
5349 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5350 fi
5351
5352 else
5353
5354 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5357 else
5358 no_cache=1
5359 fi
5360
5361 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5362
5363 fi;
5364
5365 eval "$ac_cv_use_snglinst"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5368 fi
5369
5370 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5373 else
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5376 fi
5377
5378
5379
5380 enablestring=
5381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5382 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5383 no_cache=0
5384 # Check whether --enable-mimetype or --disable-mimetype was given.
5385 if test "${enable_mimetype+set}" = set; then
5386 enableval="$enable_mimetype"
5387
5388 if test "$enableval" = yes; then
5389 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5390 else
5391 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5392 fi
5393
5394 else
5395
5396 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x ; then
5398 eval "DEFAULT_$LINE"
5399 else
5400 no_cache=1
5401 fi
5402
5403 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5404
5405 fi;
5406
5407 eval "$ac_cv_use_mimetype"
5408 if test "$no_cache" != 1; then
5409 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5410 fi
5411
5412 if test "$wxUSE_MIMETYPE" = yes; then
5413 echo "$as_me:$LINENO: result: yes" >&5
5414 echo "${ECHO_T}yes" >&6
5415 else
5416 echo "$as_me:$LINENO: result: no" >&5
5417 echo "${ECHO_T}no" >&6
5418 fi
5419
5420
5421 enablestring=
5422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5423 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5424 no_cache=0
5425 # Check whether --enable-system_options or --disable-system_options was given.
5426 if test "${enable_system_options+set}" = set; then
5427 enableval="$enable_system_options"
5428
5429 if test "$enableval" = yes; then
5430 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5431 else
5432 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5433 fi
5434
5435 else
5436
5437 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x ; then
5439 eval "DEFAULT_$LINE"
5440 else
5441 no_cache=1
5442 fi
5443
5444 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5445
5446 fi;
5447
5448 eval "$ac_cv_use_system_options"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5451 fi
5452
5453 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5454 echo "$as_me:$LINENO: result: yes" >&5
5455 echo "${ECHO_T}yes" >&6
5456 else
5457 echo "$as_me:$LINENO: result: no" >&5
5458 echo "${ECHO_T}no" >&6
5459 fi
5460
5461
5462
5463 enablestring=
5464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5466 no_cache=0
5467 # Check whether --enable-url or --disable-url was given.
5468 if test "${enable_url+set}" = set; then
5469 enableval="$enable_url"
5470
5471 if test "$enableval" = yes; then
5472 ac_cv_use_url='wxUSE_URL=yes'
5473 else
5474 ac_cv_use_url='wxUSE_URL=no'
5475 fi
5476
5477 else
5478
5479 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5480 if test "x$LINE" != x ; then
5481 eval "DEFAULT_$LINE"
5482 else
5483 no_cache=1
5484 fi
5485
5486 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5487
5488 fi;
5489
5490 eval "$ac_cv_use_url"
5491 if test "$no_cache" != 1; then
5492 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5493 fi
5494
5495 if test "$wxUSE_URL" = yes; then
5496 echo "$as_me:$LINENO: result: yes" >&5
5497 echo "${ECHO_T}yes" >&6
5498 else
5499 echo "$as_me:$LINENO: result: no" >&5
5500 echo "${ECHO_T}no" >&6
5501 fi
5502
5503
5504 enablestring=
5505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5506 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5507 no_cache=0
5508 # Check whether --enable-protocol or --disable-protocol was given.
5509 if test "${enable_protocol+set}" = set; then
5510 enableval="$enable_protocol"
5511
5512 if test "$enableval" = yes; then
5513 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5514 else
5515 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5516 fi
5517
5518 else
5519
5520 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x ; then
5522 eval "DEFAULT_$LINE"
5523 else
5524 no_cache=1
5525 fi
5526
5527 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5528
5529 fi;
5530
5531 eval "$ac_cv_use_protocol"
5532 if test "$no_cache" != 1; then
5533 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5534 fi
5535
5536 if test "$wxUSE_PROTOCOL" = yes; then
5537 echo "$as_me:$LINENO: result: yes" >&5
5538 echo "${ECHO_T}yes" >&6
5539 else
5540 echo "$as_me:$LINENO: result: no" >&5
5541 echo "${ECHO_T}no" >&6
5542 fi
5543
5544
5545 enablestring=
5546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5547 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5548 no_cache=0
5549 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5550 if test "${enable_protocol_http+set}" = set; then
5551 enableval="$enable_protocol_http"
5552
5553 if test "$enableval" = yes; then
5554 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5555 else
5556 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5557 fi
5558
5559 else
5560
5561 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5562 if test "x$LINE" != x ; then
5563 eval "DEFAULT_$LINE"
5564 else
5565 no_cache=1
5566 fi
5567
5568 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5569
5570 fi;
5571
5572 eval "$ac_cv_use_protocol_http"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5575 fi
5576
5577 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5580 else
5581 echo "$as_me:$LINENO: result: no" >&5
5582 echo "${ECHO_T}no" >&6
5583 fi
5584
5585
5586 enablestring=
5587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5589 no_cache=0
5590 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5591 if test "${enable_protocol_ftp+set}" = set; then
5592 enableval="$enable_protocol_ftp"
5593
5594 if test "$enableval" = yes; then
5595 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5596 else
5597 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5598 fi
5599
5600 else
5601
5602 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x ; then
5604 eval "DEFAULT_$LINE"
5605 else
5606 no_cache=1
5607 fi
5608
5609 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5610
5611 fi;
5612
5613 eval "$ac_cv_use_protocol_ftp"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5616 fi
5617
5618 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5619 echo "$as_me:$LINENO: result: yes" >&5
5620 echo "${ECHO_T}yes" >&6
5621 else
5622 echo "$as_me:$LINENO: result: no" >&5
5623 echo "${ECHO_T}no" >&6
5624 fi
5625
5626
5627 enablestring=
5628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5629 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5630 no_cache=0
5631 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5632 if test "${enable_protocol_file+set}" = set; then
5633 enableval="$enable_protocol_file"
5634
5635 if test "$enableval" = yes; then
5636 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5637 else
5638 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5639 fi
5640
5641 else
5642
5643 LINE=`grep "wxUSE_PROTOCOL_FILE" ${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_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5651
5652 fi;
5653
5654 eval "$ac_cv_use_protocol_file"
5655 if test "$no_cache" != 1; then
5656 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5657 fi
5658
5659 if test "$wxUSE_PROTOCOL_FILE" = 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
5669
5670
5671 enablestring=
5672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5674 no_cache=0
5675 # Check whether --enable-threads or --disable-threads was given.
5676 if test "${enable_threads+set}" = set; then
5677 enableval="$enable_threads"
5678
5679 if test "$enableval" = yes; then
5680 ac_cv_use_threads='wxUSE_THREADS=yes'
5681 else
5682 ac_cv_use_threads='wxUSE_THREADS=no'
5683 fi
5684
5685 else
5686
5687 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x ; then
5689 eval "DEFAULT_$LINE"
5690 else
5691 no_cache=1
5692 fi
5693
5694 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5695
5696 fi;
5697
5698 eval "$ac_cv_use_threads"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5701 fi
5702
5703 if test "$wxUSE_THREADS" = yes; then
5704 echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6
5706 else
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5709 fi
5710
5711
5712 if test "$wxUSE_GUI" = "yes"; then
5713
5714
5715
5716 enablestring=
5717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5719 no_cache=0
5720 # Check whether --enable-docview or --disable-docview was given.
5721 if test "${enable_docview+set}" = set; then
5722 enableval="$enable_docview"
5723
5724 if test "$enableval" = yes; then
5725 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5726 else
5727 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5728 fi
5729
5730 else
5731
5732 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5733 if test "x$LINE" != x ; then
5734 eval "DEFAULT_$LINE"
5735 else
5736 no_cache=1
5737 fi
5738
5739 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5740
5741 fi;
5742
5743 eval "$ac_cv_use_docview"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5749 echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6
5751 else
5752 echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6
5754 fi
5755
5756
5757 enablestring=
5758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5760 no_cache=0
5761 # Check whether --enable-help or --disable-help was given.
5762 if test "${enable_help+set}" = set; then
5763 enableval="$enable_help"
5764
5765 if test "$enableval" = yes; then
5766 ac_cv_use_help='wxUSE_HELP=yes'
5767 else
5768 ac_cv_use_help='wxUSE_HELP=no'
5769 fi
5770
5771 else
5772
5773 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5781
5782 fi;
5783
5784 eval "$ac_cv_use_help"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5787 fi
5788
5789 if test "$wxUSE_HELP" = yes; then
5790 echo "$as_me:$LINENO: result: yes" >&5
5791 echo "${ECHO_T}yes" >&6
5792 else
5793 echo "$as_me:$LINENO: result: no" >&5
5794 echo "${ECHO_T}no" >&6
5795 fi
5796
5797
5798 enablestring=
5799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5801 no_cache=0
5802 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5803 if test "${enable_mshtmlhelp+set}" = set; then
5804 enableval="$enable_mshtmlhelp"
5805
5806 if test "$enableval" = yes; then
5807 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5808 else
5809 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5810 fi
5811
5812 else
5813
5814 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5822
5823 fi;
5824
5825 eval "$ac_cv_use_mshtmlhelp"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5828 fi
5829
5830 if test "$wxUSE_MS_HTML_HELP" = yes; then
5831 echo "$as_me:$LINENO: result: yes" >&5
5832 echo "${ECHO_T}yes" >&6
5833 else
5834 echo "$as_me:$LINENO: result: no" >&5
5835 echo "${ECHO_T}no" >&6
5836 fi
5837
5838
5839 enablestring=
5840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5841 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5842 no_cache=0
5843 # Check whether --enable-html or --disable-html was given.
5844 if test "${enable_html+set}" = set; then
5845 enableval="$enable_html"
5846
5847 if test "$enableval" = yes; then
5848 ac_cv_use_html='wxUSE_HTML=yes'
5849 else
5850 ac_cv_use_html='wxUSE_HTML=no'
5851 fi
5852
5853 else
5854
5855 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5863
5864 fi;
5865
5866 eval "$ac_cv_use_html"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5869 fi
5870
5871 if test "$wxUSE_HTML" = yes; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5874 else
5875 echo "$as_me:$LINENO: result: no" >&5
5876 echo "${ECHO_T}no" >&6
5877 fi
5878
5879
5880 enablestring=
5881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5883 no_cache=0
5884 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5885 if test "${enable_htmlhelp+set}" = set; then
5886 enableval="$enable_htmlhelp"
5887
5888 if test "$enableval" = yes; then
5889 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5890 else
5891 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5892 fi
5893
5894 else
5895
5896 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5904
5905 fi;
5906
5907 eval "$ac_cv_use_htmlhelp"
5908 if test "$no_cache" != 1; then
5909 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5910 fi
5911
5912 if test "$wxUSE_WXHTML_HELP" = yes; then
5913 echo "$as_me:$LINENO: result: yes" >&5
5914 echo "${ECHO_T}yes" >&6
5915 else
5916 echo "$as_me:$LINENO: result: no" >&5
5917 echo "${ECHO_T}no" >&6
5918 fi
5919
5920
5921 enablestring=
5922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5923 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5924 no_cache=0
5925 # Check whether --enable-constraints or --disable-constraints was given.
5926 if test "${enable_constraints+set}" = set; then
5927 enableval="$enable_constraints"
5928
5929 if test "$enableval" = yes; then
5930 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5931 else
5932 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5933 fi
5934
5935 else
5936
5937 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5940 else
5941 no_cache=1
5942 fi
5943
5944 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5945
5946 fi;
5947
5948 eval "$ac_cv_use_constraints"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5951 fi
5952
5953 if test "$wxUSE_CONSTRAINTS" = yes; then
5954 echo "$as_me:$LINENO: result: yes" >&5
5955 echo "${ECHO_T}yes" >&6
5956 else
5957 echo "$as_me:$LINENO: result: no" >&5
5958 echo "${ECHO_T}no" >&6
5959 fi
5960
5961
5962 enablestring=
5963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5964 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5965 no_cache=0
5966 # Check whether --enable-printarch or --disable-printarch was given.
5967 if test "${enable_printarch+set}" = set; then
5968 enableval="$enable_printarch"
5969
5970 if test "$enableval" = yes; then
5971 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5972 else
5973 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5974 fi
5975
5976 else
5977
5978 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5981 else
5982 no_cache=1
5983 fi
5984
5985 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5986
5987 fi;
5988
5989 eval "$ac_cv_use_printarch"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5992 fi
5993
5994 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5995 echo "$as_me:$LINENO: result: yes" >&5
5996 echo "${ECHO_T}yes" >&6
5997 else
5998 echo "$as_me:$LINENO: result: no" >&5
5999 echo "${ECHO_T}no" >&6
6000 fi
6001
6002
6003 enablestring=
6004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6005 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6006 no_cache=0
6007 # Check whether --enable-mdi or --disable-mdi was given.
6008 if test "${enable_mdi+set}" = set; then
6009 enableval="$enable_mdi"
6010
6011 if test "$enableval" = yes; then
6012 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6013 else
6014 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6015 fi
6016
6017 else
6018
6019 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6022 else
6023 no_cache=1
6024 fi
6025
6026 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6027
6028 fi;
6029
6030 eval "$ac_cv_use_mdi"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6033 fi
6034
6035 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6036 echo "$as_me:$LINENO: result: yes" >&5
6037 echo "${ECHO_T}yes" >&6
6038 else
6039 echo "$as_me:$LINENO: result: no" >&5
6040 echo "${ECHO_T}no" >&6
6041 fi
6042
6043
6044 enablestring=
6045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6046 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6047 no_cache=0
6048 # Check whether --enable-loggui or --disable-loggui was given.
6049 if test "${enable_loggui+set}" = set; then
6050 enableval="$enable_loggui"
6051
6052 if test "$enableval" = yes; then
6053 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6054 else
6055 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6056 fi
6057
6058 else
6059
6060 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6063 else
6064 no_cache=1
6065 fi
6066
6067 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6068
6069 fi;
6070
6071 eval "$ac_cv_use_loggui"
6072 if test "$no_cache" != 1; then
6073 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6074 fi
6075
6076 if test "$wxUSE_LOGGUI" = yes; then
6077 echo "$as_me:$LINENO: result: yes" >&5
6078 echo "${ECHO_T}yes" >&6
6079 else
6080 echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6
6082 fi
6083
6084
6085 enablestring=
6086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6087 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6088 no_cache=0
6089 # Check whether --enable-logwin or --disable-logwin was given.
6090 if test "${enable_logwin+set}" = set; then
6091 enableval="$enable_logwin"
6092
6093 if test "$enableval" = yes; then
6094 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6095 else
6096 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6097 fi
6098
6099 else
6100
6101 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6104 else
6105 no_cache=1
6106 fi
6107
6108 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6109
6110 fi;
6111
6112 eval "$ac_cv_use_logwin"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6115 fi
6116
6117 if test "$wxUSE_LOGWINDOW" = yes; then
6118 echo "$as_me:$LINENO: result: yes" >&5
6119 echo "${ECHO_T}yes" >&6
6120 else
6121 echo "$as_me:$LINENO: result: no" >&5
6122 echo "${ECHO_T}no" >&6
6123 fi
6124
6125
6126 enablestring=
6127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6128 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6129 no_cache=0
6130 # Check whether --enable-logdialog or --disable-logdialog was given.
6131 if test "${enable_logdialog+set}" = set; then
6132 enableval="$enable_logdialog"
6133
6134 if test "$enableval" = yes; then
6135 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6136 else
6137 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6138 fi
6139
6140 else
6141
6142 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 else
6146 no_cache=1
6147 fi
6148
6149 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6150
6151 fi;
6152
6153 eval "$ac_cv_use_logdialog"
6154 if test "$no_cache" != 1; then
6155 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6156 fi
6157
6158 if test "$wxUSE_LOGDIALOG" = yes; then
6159 echo "$as_me:$LINENO: result: yes" >&5
6160 echo "${ECHO_T}yes" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6164 fi
6165
6166
6167
6168 enablestring=
6169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6171 no_cache=0
6172 # Check whether --enable-postscript or --disable-postscript was given.
6173 if test "${enable_postscript+set}" = set; then
6174 enableval="$enable_postscript"
6175
6176 if test "$enableval" = yes; then
6177 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6178 else
6179 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6180 fi
6181
6182 else
6183
6184 LINE=`grep "wxUSE_POSTSCRIPT" ${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_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6192
6193 fi;
6194
6195 eval "$ac_cv_use_postscript"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_POSTSCRIPT" = 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
6210
6211
6212 enablestring=
6213 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6214 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6215 no_cache=0
6216 # Check whether --enable-prologio or --disable-prologio was given.
6217 if test "${enable_prologio+set}" = set; then
6218 enableval="$enable_prologio"
6219
6220 if test "$enableval" = yes; then
6221 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6222 else
6223 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6224 fi
6225
6226 else
6227
6228 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x ; then
6230 eval "DEFAULT_$LINE"
6231 else
6232 no_cache=1
6233 fi
6234
6235 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6236
6237 fi;
6238
6239 eval "$ac_cv_use_prologio"
6240 if test "$no_cache" != 1; then
6241 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6242 fi
6243
6244 if test "$wxUSE_PROLOGIO" = yes; then
6245 echo "$as_me:$LINENO: result: yes" >&5
6246 echo "${ECHO_T}yes" >&6
6247 else
6248 echo "$as_me:$LINENO: result: no" >&5
6249 echo "${ECHO_T}no" >&6
6250 fi
6251
6252
6253 enablestring=
6254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6256 no_cache=0
6257 # Check whether --enable-resources or --disable-resources was given.
6258 if test "${enable_resources+set}" = set; then
6259 enableval="$enable_resources"
6260
6261 if test "$enableval" = yes; then
6262 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6263 else
6264 ac_cv_use_resources='wxUSE_RESOURCES=no'
6265 fi
6266
6267 else
6268
6269 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x ; then
6271 eval "DEFAULT_$LINE"
6272 else
6273 no_cache=1
6274 fi
6275
6276 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6277
6278 fi;
6279
6280 eval "$ac_cv_use_resources"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6283 fi
6284
6285 if test "$wxUSE_RESOURCES" = yes; then
6286 echo "$as_me:$LINENO: result: yes" >&5
6287 echo "${ECHO_T}yes" >&6
6288 else
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6291 fi
6292
6293
6294
6295
6296 enablestring=
6297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6298 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6299 no_cache=0
6300 # Check whether --enable-clipboard or --disable-clipboard was given.
6301 if test "${enable_clipboard+set}" = set; then
6302 enableval="$enable_clipboard"
6303
6304 if test "$enableval" = yes; then
6305 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6306 else
6307 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6308 fi
6309
6310 else
6311
6312 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6313 if test "x$LINE" != x ; then
6314 eval "DEFAULT_$LINE"
6315 else
6316 no_cache=1
6317 fi
6318
6319 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6320
6321 fi;
6322
6323 eval "$ac_cv_use_clipboard"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6326 fi
6327
6328 if test "$wxUSE_CLIPBOARD" = yes; then
6329 echo "$as_me:$LINENO: result: yes" >&5
6330 echo "${ECHO_T}yes" >&6
6331 else
6332 echo "$as_me:$LINENO: result: no" >&5
6333 echo "${ECHO_T}no" >&6
6334 fi
6335
6336
6337 enablestring=
6338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6340 no_cache=0
6341 # Check whether --enable-dnd or --disable-dnd was given.
6342 if test "${enable_dnd+set}" = set; then
6343 enableval="$enable_dnd"
6344
6345 if test "$enableval" = yes; then
6346 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6347 else
6348 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6349 fi
6350
6351 else
6352
6353 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x ; then
6355 eval "DEFAULT_$LINE"
6356 else
6357 no_cache=1
6358 fi
6359
6360 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6361
6362 fi;
6363
6364 eval "$ac_cv_use_dnd"
6365 if test "$no_cache" != 1; then
6366 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6367 fi
6368
6369 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6370 echo "$as_me:$LINENO: result: yes" >&5
6371 echo "${ECHO_T}yes" >&6
6372 else
6373 echo "$as_me:$LINENO: result: no" >&5
6374 echo "${ECHO_T}no" >&6
6375 fi
6376
6377
6378 enablestring=
6379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6381 no_cache=0
6382 # Check whether --enable-metafile or --disable-metafile was given.
6383 if test "${enable_metafile+set}" = set; then
6384 enableval="$enable_metafile"
6385
6386 if test "$enableval" = yes; then
6387 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6388 else
6389 ac_cv_use_metafile='wxUSE_METAFILE=no'
6390 fi
6391
6392 else
6393
6394 LINE=`grep "wxUSE_METAFILE" ${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_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6402
6403 fi;
6404
6405 eval "$ac_cv_use_metafile"
6406 if test "$no_cache" != 1; then
6407 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6408 fi
6409
6410 if test "$wxUSE_METAFILE" = 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
6420
6421
6422 enablestring=
6423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6424 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6425 no_cache=0
6426 # Check whether --enable-controls or --disable-controls was given.
6427 if test "${enable_controls+set}" = set; then
6428 enableval="$enable_controls"
6429
6430 if test "$enableval" = yes; then
6431 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6432 else
6433 ac_cv_use_controls='wxUSE_CONTROLS=no'
6434 fi
6435
6436 else
6437
6438 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6439 if test "x$LINE" != x ; then
6440 eval "DEFAULT_$LINE"
6441 else
6442 no_cache=1
6443 fi
6444
6445 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6446
6447 fi;
6448
6449 eval "$ac_cv_use_controls"
6450 if test "$no_cache" != 1; then
6451 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6452 fi
6453
6454 if test "$wxUSE_CONTROLS" = yes; then
6455 echo "$as_me:$LINENO: result: yes" >&5
6456 echo "${ECHO_T}yes" >&6
6457 else
6458 echo "$as_me:$LINENO: result: no" >&5
6459 echo "${ECHO_T}no" >&6
6460 fi
6461
6462
6463 if test "$wxUSE_CONTROLS" = "yes"; then
6464 DEFAULT_wxUSE_ACCEL=yes
6465 DEFAULT_wxUSE_BMPBUTTON=yes
6466 DEFAULT_wxUSE_BUTTON=yes
6467 DEFAULT_wxUSE_CALCTRL=no
6468 DEFAULT_wxUSE_CARET=yes
6469 DEFAULT_wxUSE_COMBOBOX=yes
6470 DEFAULT_wxUSE_CHECKBOX=yes
6471 DEFAULT_wxUSE_CHECKLISTBOX=yes
6472 DEFAULT_wxUSE_CHOICE=yes
6473 DEFAULT_wxUSE_GAUGE=yes
6474 DEFAULT_wxUSE_GRID=yes
6475 DEFAULT_wxUSE_IMAGLIST=yes
6476 DEFAULT_wxUSE_LISTBOX=yes
6477 DEFAULT_wxUSE_LISTCTRL=yes
6478 DEFAULT_wxUSE_NOTEBOOK=yes
6479 DEFAULT_wxUSE_RADIOBOX=yes
6480 DEFAULT_wxUSE_RADIOBTN=yes
6481 DEFAULT_wxUSE_SASH=yes
6482 DEFAULT_wxUSE_SCROLLBAR=yes
6483 DEFAULT_wxUSE_SLIDER=yes
6484 DEFAULT_wxUSE_SPINBTN=yes
6485 DEFAULT_wxUSE_SPINCTRL=yes
6486 DEFAULT_wxUSE_SPLITTER=yes
6487 DEFAULT_wxUSE_STATBMP=yes
6488 DEFAULT_wxUSE_STATBOX=yes
6489 DEFAULT_wxUSE_STATLINE=yes
6490 DEFAULT_wxUSE_STATUSBAR=yes
6491 DEFAULT_wxUSE_TAB_DIALOG=yes
6492 DEFAULT_wxUSE_TOGGLEBTN=yes
6493 DEFAULT_wxUSE_TOOLBAR=yes
6494 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6495 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6496 DEFAULT_wxUSE_TOOLTIPS=yes
6497 DEFAULT_wxUSE_TREECTRL=yes
6498 DEFAULT_wxUSE_POPUPWIN=yes
6499 DEFAULT_wxUSE_TIPWINDOW=yes
6500 elif test "$wxUSE_CONTROLS" = "no"; then
6501 DEFAULT_wxUSE_ACCEL=no
6502 DEFAULT_wxUSE_BMPBUTTON=no
6503 DEFAULT_wxUSE_BUTTON=no
6504 DEFAULT_wxUSE_CALCTRL=no
6505 DEFAULT_wxUSE_CARET=no
6506 DEFAULT_wxUSE_COMBOBOX=no
6507 DEFAULT_wxUSE_CHECKBOX=no
6508 DEFAULT_wxUSE_CHECKLISTBOX=no
6509 DEFAULT_wxUSE_CHOICE=no
6510 DEFAULT_wxUSE_GAUGE=no
6511 DEFAULT_wxUSE_GRID=no
6512 DEFAULT_wxUSE_IMAGLIST=no
6513 DEFAULT_wxUSE_LISTBOX=no
6514 DEFAULT_wxUSE_LISTCTRL=no
6515 DEFAULT_wxUSE_NOTEBOOK=no
6516 DEFAULT_wxUSE_RADIOBOX=no
6517 DEFAULT_wxUSE_RADIOBTN=no
6518 DEFAULT_wxUSE_SASH=no
6519 DEFAULT_wxUSE_SCROLLBAR=no
6520 DEFAULT_wxUSE_SLIDER=no
6521 DEFAULT_wxUSE_SPINBTN=no
6522 DEFAULT_wxUSE_SPINCTRL=no
6523 DEFAULT_wxUSE_SPLITTER=no
6524 DEFAULT_wxUSE_STATBMP=no
6525 DEFAULT_wxUSE_STATBOX=no
6526 DEFAULT_wxUSE_STATLINE=no
6527 DEFAULT_wxUSE_STATUSBAR=no
6528 DEFAULT_wxUSE_TAB_DIALOG=no
6529 DEFAULT_wxUSE_TOGGLEBTN=no
6530 DEFAULT_wxUSE_TOOLBAR=no
6531 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6532 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6533 DEFAULT_wxUSE_TOOLTIPS=no
6534 DEFAULT_wxUSE_TREECTRL=no
6535 DEFAULT_wxUSE_POPUPWIN=no
6536 DEFAULT_wxUSE_TIPWINDOW=no
6537 fi
6538
6539 ## FIXME: This is a blatant hack
6540 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6541 wxUSE_PRINTING_ARCHITECTURE=no
6542 wxUSE_HELP=no
6543 wxUSE_CLIPBOARD=no
6544 wxUSE_DRAG_AND_DROP=no
6545 wxUSE_DATAOBJ=no
6546 # Generic notebook requires tab dialog
6547 DEFAULT_wxUSE_TABDIALOG=yes
6548 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6549 DEFAULT_wxUSE_GAUGE=no
6550 DEFAULT_wxUSE_SCROLLBAR=no
6551 DEFAULT_wxUSE_COMBOBOX=no
6552 DEFAULT_wxUSE_CALCTRL=no
6553 DEFAULT_wxUSE_SPINBTN=no
6554 DEFAULT_wxUSE_SPINCTRL=no
6555 DEFAULT_wxUSE_TOOLTIPS=no
6556 DEFAULT_wxUSE_DRAGIMAGE=no
6557 DEFAULT_wxUSE_FINDREPLDLG=no
6558 DEFAULT_wxUSE_FONTDLG=no
6559 DEFAULT_wxUSE_GRID=no
6560 DEFAULT_wxUSE_PROGRESSDLG=no
6561 DEFAULT_wxUSE_SASH=no
6562 DEFAULT_wxUSE_SPLITTER=no
6563 DEFAULT_wxUSE_WIZARDDLG=no
6564 DEFAULT_wxUSE_SPLITTER=no
6565 DEFAULT_wxUSE_STARTUP_TIPS=no
6566 fi
6567
6568
6569 enablestring=
6570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6572 no_cache=0
6573 # Check whether --enable-accel or --disable-accel was given.
6574 if test "${enable_accel+set}" = set; then
6575 enableval="$enable_accel"
6576
6577 if test "$enableval" = yes; then
6578 ac_cv_use_accel='wxUSE_ACCEL=yes'
6579 else
6580 ac_cv_use_accel='wxUSE_ACCEL=no'
6581 fi
6582
6583 else
6584
6585 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x ; then
6587 eval "DEFAULT_$LINE"
6588 else
6589 no_cache=1
6590 fi
6591
6592 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6593
6594 fi;
6595
6596 eval "$ac_cv_use_accel"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6599 fi
6600
6601 if test "$wxUSE_ACCEL" = yes; then
6602 echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6
6604 else
6605 echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6
6607 fi
6608
6609
6610 enablestring=
6611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6613 no_cache=0
6614 # Check whether --enable-button or --disable-button was given.
6615 if test "${enable_button+set}" = set; then
6616 enableval="$enable_button"
6617
6618 if test "$enableval" = yes; then
6619 ac_cv_use_button='wxUSE_BUTTON=yes'
6620 else
6621 ac_cv_use_button='wxUSE_BUTTON=no'
6622 fi
6623
6624 else
6625
6626 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x ; then
6628 eval "DEFAULT_$LINE"
6629 else
6630 no_cache=1
6631 fi
6632
6633 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6634
6635 fi;
6636
6637 eval "$ac_cv_use_button"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test "$wxUSE_BUTTON" = yes; then
6643 echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6
6645 else
6646 echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6
6648 fi
6649
6650
6651 enablestring=
6652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6654 no_cache=0
6655 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6656 if test "${enable_bmpbutton+set}" = set; then
6657 enableval="$enable_bmpbutton"
6658
6659 if test "$enableval" = yes; then
6660 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6661 else
6662 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6663 fi
6664
6665 else
6666
6667 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6668 if test "x$LINE" != x ; then
6669 eval "DEFAULT_$LINE"
6670 else
6671 no_cache=1
6672 fi
6673
6674 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6675
6676 fi;
6677
6678 eval "$ac_cv_use_bmpbutton"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_BMPBUTTON" = yes; then
6684 echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6
6686 else
6687 echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6
6689 fi
6690
6691
6692 enablestring=
6693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6695 no_cache=0
6696 # Check whether --enable-calendar or --disable-calendar was given.
6697 if test "${enable_calendar+set}" = set; then
6698 enableval="$enable_calendar"
6699
6700 if test "$enableval" = yes; then
6701 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6702 else
6703 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6704 fi
6705
6706 else
6707
6708 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x ; then
6710 eval "DEFAULT_$LINE"
6711 else
6712 no_cache=1
6713 fi
6714
6715 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6716
6717 fi;
6718
6719 eval "$ac_cv_use_calendar"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_CALCTRL" = yes; then
6725 echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6
6727 else
6728 echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6
6730 fi
6731
6732
6733 enablestring=
6734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6736 no_cache=0
6737 # Check whether --enable-caret or --disable-caret was given.
6738 if test "${enable_caret+set}" = set; then
6739 enableval="$enable_caret"
6740
6741 if test "$enableval" = yes; then
6742 ac_cv_use_caret='wxUSE_CARET=yes'
6743 else
6744 ac_cv_use_caret='wxUSE_CARET=no'
6745 fi
6746
6747 else
6748
6749 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x ; then
6751 eval "DEFAULT_$LINE"
6752 else
6753 no_cache=1
6754 fi
6755
6756 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6757
6758 fi;
6759
6760 eval "$ac_cv_use_caret"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_CARET" = yes; then
6766 echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6
6768 else
6769 echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6
6771 fi
6772
6773
6774 enablestring=
6775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6777 no_cache=0
6778 # Check whether --enable-checkbox or --disable-checkbox was given.
6779 if test "${enable_checkbox+set}" = set; then
6780 enableval="$enable_checkbox"
6781
6782 if test "$enableval" = yes; then
6783 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6784 else
6785 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6786 fi
6787
6788 else
6789
6790 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x ; then
6792 eval "DEFAULT_$LINE"
6793 else
6794 no_cache=1
6795 fi
6796
6797 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6798
6799 fi;
6800
6801 eval "$ac_cv_use_checkbox"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_CHECKBOX" = yes; then
6807 echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6
6809 else
6810 echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6
6812 fi
6813
6814
6815 enablestring=
6816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6818 no_cache=0
6819 # Check whether --enable-checklst or --disable-checklst was given.
6820 if test "${enable_checklst+set}" = set; then
6821 enableval="$enable_checklst"
6822
6823 if test "$enableval" = yes; then
6824 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6825 else
6826 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6827 fi
6828
6829 else
6830
6831 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x ; then
6833 eval "DEFAULT_$LINE"
6834 else
6835 no_cache=1
6836 fi
6837
6838 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6839
6840 fi;
6841
6842 eval "$ac_cv_use_checklst"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_CHECKLST" = yes; then
6848 echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6
6850 else
6851 echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6
6853 fi
6854
6855
6856 enablestring=
6857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6859 no_cache=0
6860 # Check whether --enable-choice or --disable-choice was given.
6861 if test "${enable_choice+set}" = set; then
6862 enableval="$enable_choice"
6863
6864 if test "$enableval" = yes; then
6865 ac_cv_use_choice='wxUSE_CHOICE=yes'
6866 else
6867 ac_cv_use_choice='wxUSE_CHOICE=no'
6868 fi
6869
6870 else
6871
6872 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x ; then
6874 eval "DEFAULT_$LINE"
6875 else
6876 no_cache=1
6877 fi
6878
6879 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6880
6881 fi;
6882
6883 eval "$ac_cv_use_choice"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test "$wxUSE_CHOICE" = yes; then
6889 echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6
6891 else
6892 echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6
6894 fi
6895
6896
6897 enablestring=
6898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6900 no_cache=0
6901 # Check whether --enable-combobox or --disable-combobox was given.
6902 if test "${enable_combobox+set}" = set; then
6903 enableval="$enable_combobox"
6904
6905 if test "$enableval" = yes; then
6906 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6907 else
6908 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6909 fi
6910
6911 else
6912
6913 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x ; then
6915 eval "DEFAULT_$LINE"
6916 else
6917 no_cache=1
6918 fi
6919
6920 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6921
6922 fi;
6923
6924 eval "$ac_cv_use_combobox"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_COMBOBOX" = yes; then
6930 echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6
6932 else
6933 echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6
6935 fi
6936
6937
6938 enablestring=
6939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6941 no_cache=0
6942 # Check whether --enable-display or --disable-display was given.
6943 if test "${enable_display+set}" = set; then
6944 enableval="$enable_display"
6945
6946 if test "$enableval" = yes; then
6947 ac_cv_use_display='wxUSE_DISPLAY=yes'
6948 else
6949 ac_cv_use_display='wxUSE_DISPLAY=no'
6950 fi
6951
6952 else
6953
6954 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6955 if test "x$LINE" != x ; then
6956 eval "DEFAULT_$LINE"
6957 else
6958 no_cache=1
6959 fi
6960
6961 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6962
6963 fi;
6964
6965 eval "$ac_cv_use_display"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_DISPLAY" = yes; then
6971 echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6
6973 else
6974 echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6
6976 fi
6977
6978
6979 enablestring=
6980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6982 no_cache=0
6983 # Check whether --enable-gauge or --disable-gauge was given.
6984 if test "${enable_gauge+set}" = set; then
6985 enableval="$enable_gauge"
6986
6987 if test "$enableval" = yes; then
6988 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6989 else
6990 ac_cv_use_gauge='wxUSE_GAUGE=no'
6991 fi
6992
6993 else
6994
6995 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x ; then
6997 eval "DEFAULT_$LINE"
6998 else
6999 no_cache=1
7000 fi
7001
7002 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7003
7004 fi;
7005
7006 eval "$ac_cv_use_gauge"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_GAUGE" = yes; then
7012 echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6
7014 else
7015 echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6
7017 fi
7018
7019
7020 enablestring=
7021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7023 no_cache=0
7024 # Check whether --enable-grid or --disable-grid was given.
7025 if test "${enable_grid+set}" = set; then
7026 enableval="$enable_grid"
7027
7028 if test "$enableval" = yes; then
7029 ac_cv_use_grid='wxUSE_GRID=yes'
7030 else
7031 ac_cv_use_grid='wxUSE_GRID=no'
7032 fi
7033
7034 else
7035
7036 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7037 if test "x$LINE" != x ; then
7038 eval "DEFAULT_$LINE"
7039 else
7040 no_cache=1
7041 fi
7042
7043 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7044
7045 fi;
7046
7047 eval "$ac_cv_use_grid"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_GRID" = yes; then
7053 echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6
7055 else
7056 echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6
7058 fi
7059
7060
7061 enablestring=
7062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7064 no_cache=0
7065 # Check whether --enable-imaglist or --disable-imaglist was given.
7066 if test "${enable_imaglist+set}" = set; then
7067 enableval="$enable_imaglist"
7068
7069 if test "$enableval" = yes; then
7070 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7071 else
7072 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7073 fi
7074
7075 else
7076
7077 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x ; then
7079 eval "DEFAULT_$LINE"
7080 else
7081 no_cache=1
7082 fi
7083
7084 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7085
7086 fi;
7087
7088 eval "$ac_cv_use_imaglist"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_IMAGLIST" = yes; then
7094 echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6
7096 else
7097 echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6
7099 fi
7100
7101
7102 enablestring=
7103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7105 no_cache=0
7106 # Check whether --enable-listbox or --disable-listbox was given.
7107 if test "${enable_listbox+set}" = set; then
7108 enableval="$enable_listbox"
7109
7110 if test "$enableval" = yes; then
7111 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7112 else
7113 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7114 fi
7115
7116 else
7117
7118 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7119 if test "x$LINE" != x ; then
7120 eval "DEFAULT_$LINE"
7121 else
7122 no_cache=1
7123 fi
7124
7125 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7126
7127 fi;
7128
7129 eval "$ac_cv_use_listbox"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_LISTBOX" = yes; then
7135 echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6
7137 else
7138 echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6
7140 fi
7141
7142
7143 enablestring=
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7146 no_cache=0
7147 # Check whether --enable-listctrl or --disable-listctrl was given.
7148 if test "${enable_listctrl+set}" = set; then
7149 enableval="$enable_listctrl"
7150
7151 if test "$enableval" = yes; then
7152 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7153 else
7154 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7155 fi
7156
7157 else
7158
7159 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 else
7163 no_cache=1
7164 fi
7165
7166 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7167
7168 fi;
7169
7170 eval "$ac_cv_use_listctrl"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_LISTCTRL" = yes; then
7176 echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6
7178 else
7179 echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6
7181 fi
7182
7183
7184 enablestring=
7185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7187 no_cache=0
7188 # Check whether --enable-notebook or --disable-notebook was given.
7189 if test "${enable_notebook+set}" = set; then
7190 enableval="$enable_notebook"
7191
7192 if test "$enableval" = yes; then
7193 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7194 else
7195 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7196 fi
7197
7198 else
7199
7200 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x ; then
7202 eval "DEFAULT_$LINE"
7203 else
7204 no_cache=1
7205 fi
7206
7207 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7208
7209 fi;
7210
7211 eval "$ac_cv_use_notebook"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_NOTEBOOK" = yes; then
7217 echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6
7219 else
7220 echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6
7222 fi
7223
7224
7225 enablestring=
7226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7228 no_cache=0
7229 # Check whether --enable-radiobox or --disable-radiobox was given.
7230 if test "${enable_radiobox+set}" = set; then
7231 enableval="$enable_radiobox"
7232
7233 if test "$enableval" = yes; then
7234 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7235 else
7236 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7237 fi
7238
7239 else
7240
7241 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x ; then
7243 eval "DEFAULT_$LINE"
7244 else
7245 no_cache=1
7246 fi
7247
7248 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7249
7250 fi;
7251
7252 eval "$ac_cv_use_radiobox"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_RADIOBOX" = yes; then
7258 echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6
7260 else
7261 echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6
7263 fi
7264
7265
7266 enablestring=
7267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7269 no_cache=0
7270 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7271 if test "${enable_radiobtn+set}" = set; then
7272 enableval="$enable_radiobtn"
7273
7274 if test "$enableval" = yes; then
7275 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7276 else
7277 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7278 fi
7279
7280 else
7281
7282 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7283 if test "x$LINE" != x ; then
7284 eval "DEFAULT_$LINE"
7285 else
7286 no_cache=1
7287 fi
7288
7289 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7290
7291 fi;
7292
7293 eval "$ac_cv_use_radiobtn"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_RADIOBTN" = yes; then
7299 echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6
7301 else
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7304 fi
7305
7306
7307 enablestring=
7308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7310 no_cache=0
7311 # Check whether --enable-sash or --disable-sash was given.
7312 if test "${enable_sash+set}" = set; then
7313 enableval="$enable_sash"
7314
7315 if test "$enableval" = yes; then
7316 ac_cv_use_sash='wxUSE_SASH=yes'
7317 else
7318 ac_cv_use_sash='wxUSE_SASH=no'
7319 fi
7320
7321 else
7322
7323 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7324 if test "x$LINE" != x ; then
7325 eval "DEFAULT_$LINE"
7326 else
7327 no_cache=1
7328 fi
7329
7330 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7331
7332 fi;
7333
7334 eval "$ac_cv_use_sash"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_SASH" = yes; then
7340 echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6
7342 else
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7345 fi
7346
7347
7348 enablestring=
7349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7351 no_cache=0
7352 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7353 if test "${enable_scrollbar+set}" = set; then
7354 enableval="$enable_scrollbar"
7355
7356 if test "$enableval" = yes; then
7357 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7358 else
7359 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7360 fi
7361
7362 else
7363
7364 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7365 if test "x$LINE" != x ; then
7366 eval "DEFAULT_$LINE"
7367 else
7368 no_cache=1
7369 fi
7370
7371 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7372
7373 fi;
7374
7375 eval "$ac_cv_use_scrollbar"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_SCROLLBAR" = yes; then
7381 echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6
7383 else
7384 echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6
7386 fi
7387
7388
7389 enablestring=
7390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7391 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7392 no_cache=0
7393 # Check whether --enable-slider or --disable-slider was given.
7394 if test "${enable_slider+set}" = set; then
7395 enableval="$enable_slider"
7396
7397 if test "$enableval" = yes; then
7398 ac_cv_use_slider='wxUSE_SLIDER=yes'
7399 else
7400 ac_cv_use_slider='wxUSE_SLIDER=no'
7401 fi
7402
7403 else
7404
7405 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7413
7414 fi;
7415
7416 eval "$ac_cv_use_slider"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7419 fi
7420
7421 if test "$wxUSE_SLIDER" = yes; then
7422 echo "$as_me:$LINENO: result: yes" >&5
7423 echo "${ECHO_T}yes" >&6
7424 else
7425 echo "$as_me:$LINENO: result: no" >&5
7426 echo "${ECHO_T}no" >&6
7427 fi
7428
7429
7430 enablestring=
7431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7432 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7433 no_cache=0
7434 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7435 if test "${enable_spinbtn+set}" = set; then
7436 enableval="$enable_spinbtn"
7437
7438 if test "$enableval" = yes; then
7439 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7440 else
7441 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7442 fi
7443
7444 else
7445
7446 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7454
7455 fi;
7456
7457 eval "$ac_cv_use_spinbtn"
7458 if test "$no_cache" != 1; then
7459 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7460 fi
7461
7462 if test "$wxUSE_SPINBTN" = yes; then
7463 echo "$as_me:$LINENO: result: yes" >&5
7464 echo "${ECHO_T}yes" >&6
7465 else
7466 echo "$as_me:$LINENO: result: no" >&5
7467 echo "${ECHO_T}no" >&6
7468 fi
7469
7470
7471 enablestring=
7472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7474 no_cache=0
7475 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7476 if test "${enable_spinctrl+set}" = set; then
7477 enableval="$enable_spinctrl"
7478
7479 if test "$enableval" = yes; then
7480 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7481 else
7482 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7483 fi
7484
7485 else
7486
7487 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7495
7496 fi;
7497
7498 eval "$ac_cv_use_spinctrl"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7501 fi
7502
7503 if test "$wxUSE_SPINCTRL" = yes; then
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7506 else
7507 echo "$as_me:$LINENO: result: no" >&5
7508 echo "${ECHO_T}no" >&6
7509 fi
7510
7511
7512 enablestring=
7513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7515 no_cache=0
7516 # Check whether --enable-splitter or --disable-splitter was given.
7517 if test "${enable_splitter+set}" = set; then
7518 enableval="$enable_splitter"
7519
7520 if test "$enableval" = yes; then
7521 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7522 else
7523 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7536
7537 fi;
7538
7539 eval "$ac_cv_use_splitter"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7542 fi
7543
7544 if test "$wxUSE_SPLITTER" = yes; then
7545 echo "$as_me:$LINENO: result: yes" >&5
7546 echo "${ECHO_T}yes" >&6
7547 else
7548 echo "$as_me:$LINENO: result: no" >&5
7549 echo "${ECHO_T}no" >&6
7550 fi
7551
7552
7553 enablestring=
7554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7555 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7556 no_cache=0
7557 # Check whether --enable-statbmp or --disable-statbmp was given.
7558 if test "${enable_statbmp+set}" = set; then
7559 enableval="$enable_statbmp"
7560
7561 if test "$enableval" = yes; then
7562 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7563 else
7564 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7577
7578 fi;
7579
7580 eval "$ac_cv_use_statbmp"
7581 if test "$no_cache" != 1; then
7582 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7583 fi
7584
7585 if test "$wxUSE_STATBMP" = yes; then
7586 echo "$as_me:$LINENO: result: yes" >&5
7587 echo "${ECHO_T}yes" >&6
7588 else
7589 echo "$as_me:$LINENO: result: no" >&5
7590 echo "${ECHO_T}no" >&6
7591 fi
7592
7593
7594 enablestring=
7595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7596 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7597 no_cache=0
7598 # Check whether --enable-statbox or --disable-statbox was given.
7599 if test "${enable_statbox+set}" = set; then
7600 enableval="$enable_statbox"
7601
7602 if test "$enableval" = yes; then
7603 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7604 else
7605 ac_cv_use_statbox='wxUSE_STATBOX=no'
7606 fi
7607
7608 else
7609
7610 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7618
7619 fi;
7620
7621 eval "$ac_cv_use_statbox"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7624 fi
7625
7626 if test "$wxUSE_STATBOX" = yes; then
7627 echo "$as_me:$LINENO: result: yes" >&5
7628 echo "${ECHO_T}yes" >&6
7629 else
7630 echo "$as_me:$LINENO: result: no" >&5
7631 echo "${ECHO_T}no" >&6
7632 fi
7633
7634
7635 enablestring=
7636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7637 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7638 no_cache=0
7639 # Check whether --enable-statline or --disable-statline was given.
7640 if test "${enable_statline+set}" = set; then
7641 enableval="$enable_statline"
7642
7643 if test "$enableval" = yes; then
7644 ac_cv_use_statline='wxUSE_STATLINE=yes'
7645 else
7646 ac_cv_use_statline='wxUSE_STATLINE=no'
7647 fi
7648
7649 else
7650
7651 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7659
7660 fi;
7661
7662 eval "$ac_cv_use_statline"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7665 fi
7666
7667 if test "$wxUSE_STATLINE" = yes; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7670 else
7671 echo "$as_me:$LINENO: result: no" >&5
7672 echo "${ECHO_T}no" >&6
7673 fi
7674
7675
7676 enablestring=
7677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7679 no_cache=0
7680 # Check whether --enable-stattext or --disable-stattext was given.
7681 if test "${enable_stattext+set}" = set; then
7682 enableval="$enable_stattext"
7683
7684 if test "$enableval" = yes; then
7685 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7686 else
7687 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7688 fi
7689
7690 else
7691
7692 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x ; then
7694 eval "DEFAULT_$LINE"
7695 else
7696 no_cache=1
7697 fi
7698
7699 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7700
7701 fi;
7702
7703 eval "$ac_cv_use_stattext"
7704 if test "$no_cache" != 1; then
7705 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7706 fi
7707
7708 if test "$wxUSE_STATTEXT" = yes; then
7709 echo "$as_me:$LINENO: result: yes" >&5
7710 echo "${ECHO_T}yes" >&6
7711 else
7712 echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6
7714 fi
7715
7716
7717 enablestring=
7718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7719 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7720 no_cache=0
7721 # Check whether --enable-statusbar or --disable-statusbar was given.
7722 if test "${enable_statusbar+set}" = set; then
7723 enableval="$enable_statusbar"
7724
7725 if test "$enableval" = yes; then
7726 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7727 else
7728 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7729 fi
7730
7731 else
7732
7733 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7734 if test "x$LINE" != x ; then
7735 eval "DEFAULT_$LINE"
7736 else
7737 no_cache=1
7738 fi
7739
7740 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7741
7742 fi;
7743
7744 eval "$ac_cv_use_statusbar"
7745 if test "$no_cache" != 1; then
7746 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7747 fi
7748
7749 if test "$wxUSE_STATUSBAR" = yes; then
7750 echo "$as_me:$LINENO: result: yes" >&5
7751 echo "${ECHO_T}yes" >&6
7752 else
7753 echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6
7755 fi
7756
7757
7758 enablestring=
7759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7760 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7761 no_cache=0
7762 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7763 if test "${enable_tabdialog+set}" = set; then
7764 enableval="$enable_tabdialog"
7765
7766 if test "$enableval" = yes; then
7767 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7768 else
7769 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7770 fi
7771
7772 else
7773
7774 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x ; then
7776 eval "DEFAULT_$LINE"
7777 else
7778 no_cache=1
7779 fi
7780
7781 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7782
7783 fi;
7784
7785 eval "$ac_cv_use_tabdialog"
7786 if test "$no_cache" != 1; then
7787 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7788 fi
7789
7790 if test "$wxUSE_TABDIALOG" = yes; then
7791 echo "$as_me:$LINENO: result: yes" >&5
7792 echo "${ECHO_T}yes" >&6
7793 else
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7796 fi
7797
7798
7799 enablestring=
7800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7801 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7802 no_cache=0
7803 # Check whether --enable-textctrl or --disable-textctrl was given.
7804 if test "${enable_textctrl+set}" = set; then
7805 enableval="$enable_textctrl"
7806
7807 if test "$enableval" = yes; then
7808 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7809 else
7810 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7811 fi
7812
7813 else
7814
7815 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7816 if test "x$LINE" != x ; then
7817 eval "DEFAULT_$LINE"
7818 else
7819 no_cache=1
7820 fi
7821
7822 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7823
7824 fi;
7825
7826 eval "$ac_cv_use_textctrl"
7827 if test "$no_cache" != 1; then
7828 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7829 fi
7830
7831 if test "$wxUSE_TEXTCTRL" = yes; then
7832 echo "$as_me:$LINENO: result: yes" >&5
7833 echo "${ECHO_T}yes" >&6
7834 else
7835 echo "$as_me:$LINENO: result: no" >&5
7836 echo "${ECHO_T}no" >&6
7837 fi
7838
7839
7840 enablestring=
7841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7843 no_cache=0
7844 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7845 if test "${enable_togglebtn+set}" = set; then
7846 enableval="$enable_togglebtn"
7847
7848 if test "$enableval" = yes; then
7849 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7850 else
7851 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7852 fi
7853
7854 else
7855
7856 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x ; then
7858 eval "DEFAULT_$LINE"
7859 else
7860 no_cache=1
7861 fi
7862
7863 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7864
7865 fi;
7866
7867 eval "$ac_cv_use_togglebtn"
7868 if test "$no_cache" != 1; then
7869 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7870 fi
7871
7872 if test "$wxUSE_TOGGLEBTN" = yes; then
7873 echo "$as_me:$LINENO: result: yes" >&5
7874 echo "${ECHO_T}yes" >&6
7875 else
7876 echo "$as_me:$LINENO: result: no" >&5
7877 echo "${ECHO_T}no" >&6
7878 fi
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-toolbar or --disable-toolbar was given.
7886 if test "${enable_toolbar+set}" = set; then
7887 enableval="$enable_toolbar"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7891 else
7892 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7905
7906 fi;
7907
7908 eval "$ac_cv_use_toolbar"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_TOOLBAR" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 enablestring=
7923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7925 no_cache=0
7926 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7927 if test "${enable_tbarnative+set}" = set; then
7928 enableval="$enable_tbarnative"
7929
7930 if test "$enableval" = yes; then
7931 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7932 else
7933 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7934 fi
7935
7936 else
7937
7938 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x ; then
7940 eval "DEFAULT_$LINE"
7941 else
7942 no_cache=1
7943 fi
7944
7945 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7946
7947 fi;
7948
7949 eval "$ac_cv_use_tbarnative"
7950 if test "$no_cache" != 1; then
7951 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7952 fi
7953
7954 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7955 echo "$as_me:$LINENO: result: yes" >&5
7956 echo "${ECHO_T}yes" >&6
7957 else
7958 echo "$as_me:$LINENO: result: no" >&5
7959 echo "${ECHO_T}no" >&6
7960 fi
7961
7962
7963 enablestring=
7964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7965 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7966 no_cache=0
7967 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7968 if test "${enable_tbarsmpl+set}" = set; then
7969 enableval="$enable_tbarsmpl"
7970
7971 if test "$enableval" = yes; then
7972 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7973 else
7974 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7975 fi
7976
7977 else
7978
7979 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7980 if test "x$LINE" != x ; then
7981 eval "DEFAULT_$LINE"
7982 else
7983 no_cache=1
7984 fi
7985
7986 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7987
7988 fi;
7989
7990 eval "$ac_cv_use_tbarsmpl"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7993 fi
7994
7995 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7996 echo "$as_me:$LINENO: result: yes" >&5
7997 echo "${ECHO_T}yes" >&6
7998 else
7999 echo "$as_me:$LINENO: result: no" >&5
8000 echo "${ECHO_T}no" >&6
8001 fi
8002
8003
8004 enablestring=
8005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8006 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8007 no_cache=0
8008 # Check whether --enable-treectrl or --disable-treectrl was given.
8009 if test "${enable_treectrl+set}" = set; then
8010 enableval="$enable_treectrl"
8011
8012 if test "$enableval" = yes; then
8013 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8014 else
8015 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8016 fi
8017
8018 else
8019
8020 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x ; then
8022 eval "DEFAULT_$LINE"
8023 else
8024 no_cache=1
8025 fi
8026
8027 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8028
8029 fi;
8030
8031 eval "$ac_cv_use_treectrl"
8032 if test "$no_cache" != 1; then
8033 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8034 fi
8035
8036 if test "$wxUSE_TREECTRL" = yes; then
8037 echo "$as_me:$LINENO: result: yes" >&5
8038 echo "${ECHO_T}yes" >&6
8039 else
8040 echo "$as_me:$LINENO: result: no" >&5
8041 echo "${ECHO_T}no" >&6
8042 fi
8043
8044
8045 enablestring=
8046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8047 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8048 no_cache=0
8049 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8050 if test "${enable_tipwindow+set}" = set; then
8051 enableval="$enable_tipwindow"
8052
8053 if test "$enableval" = yes; then
8054 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8055 else
8056 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8057 fi
8058
8059 else
8060
8061 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8062 if test "x$LINE" != x ; then
8063 eval "DEFAULT_$LINE"
8064 else
8065 no_cache=1
8066 fi
8067
8068 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8069
8070 fi;
8071
8072 eval "$ac_cv_use_tipwindow"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8075 fi
8076
8077 if test "$wxUSE_TIPWINDOW" = yes; then
8078 echo "$as_me:$LINENO: result: yes" >&5
8079 echo "${ECHO_T}yes" >&6
8080 else
8081 echo "$as_me:$LINENO: result: no" >&5
8082 echo "${ECHO_T}no" >&6
8083 fi
8084
8085
8086 enablestring=
8087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8088 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8089 no_cache=0
8090 # Check whether --enable-popupwin or --disable-popupwin was given.
8091 if test "${enable_popupwin+set}" = set; then
8092 enableval="$enable_popupwin"
8093
8094 if test "$enableval" = yes; then
8095 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8096 else
8097 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8098 fi
8099
8100 else
8101
8102 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8103 if test "x$LINE" != x ; then
8104 eval "DEFAULT_$LINE"
8105 else
8106 no_cache=1
8107 fi
8108
8109 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8110
8111 fi;
8112
8113 eval "$ac_cv_use_popupwin"
8114 if test "$no_cache" != 1; then
8115 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8116 fi
8117
8118 if test "$wxUSE_POPUPWIN" = yes; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120 echo "${ECHO_T}yes" >&6
8121 else
8122 echo "$as_me:$LINENO: result: no" >&5
8123 echo "${ECHO_T}no" >&6
8124 fi
8125
8126
8127
8128
8129 enablestring=
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8132 no_cache=0
8133 # Check whether --enable-commondlg or --disable-commondlg was given.
8134 if test "${enable_commondlg+set}" = set; then
8135 enableval="$enable_commondlg"
8136
8137 if test "$enableval" = yes; then
8138 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8139 else
8140 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8141 fi
8142
8143 else
8144
8145 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8148 else
8149 no_cache=1
8150 fi
8151
8152 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8153
8154 fi;
8155
8156 eval "$ac_cv_use_commondlg"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8159 fi
8160
8161 if test "$wxUSE_COMMONDLGS" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8164 else
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8167 fi
8168
8169
8170 enablestring=
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8173 no_cache=0
8174 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8175 if test "${enable_choicedlg+set}" = set; then
8176 enableval="$enable_choicedlg"
8177
8178 if test "$enableval" = yes; then
8179 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8180 else
8181 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8182 fi
8183
8184 else
8185
8186 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x ; then
8188 eval "DEFAULT_$LINE"
8189 else
8190 no_cache=1
8191 fi
8192
8193 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8194
8195 fi;
8196
8197 eval "$ac_cv_use_choicedlg"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8200 fi
8201
8202 if test "$wxUSE_CHOICEDLG" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8205 else
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8208 fi
8209
8210
8211 enablestring=
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8214 no_cache=0
8215 # Check whether --enable-coldlg or --disable-coldlg was given.
8216 if test "${enable_coldlg+set}" = set; then
8217 enableval="$enable_coldlg"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8221 else
8222 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8223 fi
8224
8225 else
8226
8227 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8235
8236 fi;
8237
8238 eval "$ac_cv_use_coldlg"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_COLOURDLG" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8246 else
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8249 fi
8250
8251
8252 enablestring=
8253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8254 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8255 no_cache=0
8256 # Check whether --enable-filedlg or --disable-filedlg was given.
8257 if test "${enable_filedlg+set}" = set; then
8258 enableval="$enable_filedlg"
8259
8260 if test "$enableval" = yes; then
8261 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8262 else
8263 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8264 fi
8265
8266 else
8267
8268 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x ; then
8270 eval "DEFAULT_$LINE"
8271 else
8272 no_cache=1
8273 fi
8274
8275 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8276
8277 fi;
8278
8279 eval "$ac_cv_use_filedlg"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8282 fi
8283
8284 if test "$wxUSE_FILEDLG" = yes; then
8285 echo "$as_me:$LINENO: result: yes" >&5
8286 echo "${ECHO_T}yes" >&6
8287 else
8288 echo "$as_me:$LINENO: result: no" >&5
8289 echo "${ECHO_T}no" >&6
8290 fi
8291
8292
8293 enablestring=
8294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8295 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8296 no_cache=0
8297 # Check whether --enable-finddlg or --disable-finddlg was given.
8298 if test "${enable_finddlg+set}" = set; then
8299 enableval="$enable_finddlg"
8300
8301 if test "$enableval" = yes; then
8302 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8303 else
8304 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8305 fi
8306
8307 else
8308
8309 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x ; then
8311 eval "DEFAULT_$LINE"
8312 else
8313 no_cache=1
8314 fi
8315
8316 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8317
8318 fi;
8319
8320 eval "$ac_cv_use_finddlg"
8321 if test "$no_cache" != 1; then
8322 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8323 fi
8324
8325 if test "$wxUSE_FINDREPLDLG" = yes; then
8326 echo "$as_me:$LINENO: result: yes" >&5
8327 echo "${ECHO_T}yes" >&6
8328 else
8329 echo "$as_me:$LINENO: result: no" >&5
8330 echo "${ECHO_T}no" >&6
8331 fi
8332
8333
8334 enablestring=
8335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8336 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8337 no_cache=0
8338 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8339 if test "${enable_fontdlg+set}" = set; then
8340 enableval="$enable_fontdlg"
8341
8342 if test "$enableval" = yes; then
8343 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8344 else
8345 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8346 fi
8347
8348 else
8349
8350 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x ; then
8352 eval "DEFAULT_$LINE"
8353 else
8354 no_cache=1
8355 fi
8356
8357 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8358
8359 fi;
8360
8361 eval "$ac_cv_use_fontdlg"
8362 if test "$no_cache" != 1; then
8363 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8364 fi
8365
8366 if test "$wxUSE_FONTDLG" = yes; then
8367 echo "$as_me:$LINENO: result: yes" >&5
8368 echo "${ECHO_T}yes" >&6
8369 else
8370 echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6
8372 fi
8373
8374
8375 enablestring=
8376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8378 no_cache=0
8379 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8380 if test "${enable_dirdlg+set}" = set; then
8381 enableval="$enable_dirdlg"
8382
8383 if test "$enableval" = yes; then
8384 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8385 else
8386 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8387 fi
8388
8389 else
8390
8391 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8392 if test "x$LINE" != x ; then
8393 eval "DEFAULT_$LINE"
8394 else
8395 no_cache=1
8396 fi
8397
8398 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8399
8400 fi;
8401
8402 eval "$ac_cv_use_dirdlg"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8405 fi
8406
8407 if test "$wxUSE_DIRDLG" = yes; then
8408 echo "$as_me:$LINENO: result: yes" >&5
8409 echo "${ECHO_T}yes" >&6
8410 else
8411 echo "$as_me:$LINENO: result: no" >&5
8412 echo "${ECHO_T}no" >&6
8413 fi
8414
8415
8416 enablestring=
8417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8419 no_cache=0
8420 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8421 if test "${enable_msgdlg+set}" = set; then
8422 enableval="$enable_msgdlg"
8423
8424 if test "$enableval" = yes; then
8425 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8426 else
8427 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8428 fi
8429
8430 else
8431
8432 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8433 if test "x$LINE" != x ; then
8434 eval "DEFAULT_$LINE"
8435 else
8436 no_cache=1
8437 fi
8438
8439 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8440
8441 fi;
8442
8443 eval "$ac_cv_use_msgdlg"
8444 if test "$no_cache" != 1; then
8445 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8446 fi
8447
8448 if test "$wxUSE_MSGDLG" = yes; then
8449 echo "$as_me:$LINENO: result: yes" >&5
8450 echo "${ECHO_T}yes" >&6
8451 else
8452 echo "$as_me:$LINENO: result: no" >&5
8453 echo "${ECHO_T}no" >&6
8454 fi
8455
8456
8457 enablestring=
8458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8460 no_cache=0
8461 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8462 if test "${enable_numberdlg+set}" = set; then
8463 enableval="$enable_numberdlg"
8464
8465 if test "$enableval" = yes; then
8466 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8467 else
8468 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8469 fi
8470
8471 else
8472
8473 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8474 if test "x$LINE" != x ; then
8475 eval "DEFAULT_$LINE"
8476 else
8477 no_cache=1
8478 fi
8479
8480 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8481
8482 fi;
8483
8484 eval "$ac_cv_use_numberdlg"
8485 if test "$no_cache" != 1; then
8486 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8487 fi
8488
8489 if test "$wxUSE_NUMBERDLG" = yes; then
8490 echo "$as_me:$LINENO: result: yes" >&5
8491 echo "${ECHO_T}yes" >&6
8492 else
8493 echo "$as_me:$LINENO: result: no" >&5
8494 echo "${ECHO_T}no" >&6
8495 fi
8496
8497
8498 enablestring=
8499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8500 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8501 no_cache=0
8502 # Check whether --enable-splash or --disable-splash was given.
8503 if test "${enable_splash+set}" = set; then
8504 enableval="$enable_splash"
8505
8506 if test "$enableval" = yes; then
8507 ac_cv_use_splash='wxUSE_SPLASH=yes'
8508 else
8509 ac_cv_use_splash='wxUSE_SPLASH=no'
8510 fi
8511
8512 else
8513
8514 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x ; then
8516 eval "DEFAULT_$LINE"
8517 else
8518 no_cache=1
8519 fi
8520
8521 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8522
8523 fi;
8524
8525 eval "$ac_cv_use_splash"
8526 if test "$no_cache" != 1; then
8527 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8528 fi
8529
8530 if test "$wxUSE_SPLASH" = yes; then
8531 echo "$as_me:$LINENO: result: yes" >&5
8532 echo "${ECHO_T}yes" >&6
8533 else
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8536 fi
8537
8538
8539 enablestring=
8540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8541 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8542 no_cache=0
8543 # Check whether --enable-textdlg or --disable-textdlg was given.
8544 if test "${enable_textdlg+set}" = set; then
8545 enableval="$enable_textdlg"
8546
8547 if test "$enableval" = yes; then
8548 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8549 else
8550 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8551 fi
8552
8553 else
8554
8555 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x ; then
8557 eval "DEFAULT_$LINE"
8558 else
8559 no_cache=1
8560 fi
8561
8562 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8563
8564 fi;
8565
8566 eval "$ac_cv_use_textdlg"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8569 fi
8570
8571 if test "$wxUSE_TEXTDLG" = yes; then
8572 echo "$as_me:$LINENO: result: yes" >&5
8573 echo "${ECHO_T}yes" >&6
8574 else
8575 echo "$as_me:$LINENO: result: no" >&5
8576 echo "${ECHO_T}no" >&6
8577 fi
8578
8579
8580 enablestring=
8581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8583 no_cache=0
8584 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8585 if test "${enable_tipdlg+set}" = set; then
8586 enableval="$enable_tipdlg"
8587
8588 if test "$enableval" = yes; then
8589 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8590 else
8591 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8592 fi
8593
8594 else
8595
8596 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8597 if test "x$LINE" != x ; then
8598 eval "DEFAULT_$LINE"
8599 else
8600 no_cache=1
8601 fi
8602
8603 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8604
8605 fi;
8606
8607 eval "$ac_cv_use_tipdlg"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8610 fi
8611
8612 if test "$wxUSE_STARTUP_TIPS" = yes; then
8613 echo "$as_me:$LINENO: result: yes" >&5
8614 echo "${ECHO_T}yes" >&6
8615 else
8616 echo "$as_me:$LINENO: result: no" >&5
8617 echo "${ECHO_T}no" >&6
8618 fi
8619
8620
8621 enablestring=
8622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8623 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8624 no_cache=0
8625 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8626 if test "${enable_progressdlg+set}" = set; then
8627 enableval="$enable_progressdlg"
8628
8629 if test "$enableval" = yes; then
8630 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8631 else
8632 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8633 fi
8634
8635 else
8636
8637 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8638 if test "x$LINE" != x ; then
8639 eval "DEFAULT_$LINE"
8640 else
8641 no_cache=1
8642 fi
8643
8644 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8645
8646 fi;
8647
8648 eval "$ac_cv_use_progressdlg"
8649 if test "$no_cache" != 1; then
8650 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8651 fi
8652
8653 if test "$wxUSE_PROGRESSDLG" = yes; then
8654 echo "$as_me:$LINENO: result: yes" >&5
8655 echo "${ECHO_T}yes" >&6
8656 else
8657 echo "$as_me:$LINENO: result: no" >&5
8658 echo "${ECHO_T}no" >&6
8659 fi
8660
8661
8662 enablestring=
8663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8664 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8665 no_cache=0
8666 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8667 if test "${enable_wizarddlg+set}" = set; then
8668 enableval="$enable_wizarddlg"
8669
8670 if test "$enableval" = yes; then
8671 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8672 else
8673 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8674 fi
8675
8676 else
8677
8678 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8679 if test "x$LINE" != x ; then
8680 eval "DEFAULT_$LINE"
8681 else
8682 no_cache=1
8683 fi
8684
8685 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8686
8687 fi;
8688
8689 eval "$ac_cv_use_wizarddlg"
8690 if test "$no_cache" != 1; then
8691 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8692 fi
8693
8694 if test "$wxUSE_WIZARDDLG" = yes; then
8695 echo "$as_me:$LINENO: result: yes" >&5
8696 echo "${ECHO_T}yes" >&6
8697 else
8698 echo "$as_me:$LINENO: result: no" >&5
8699 echo "${ECHO_T}no" >&6
8700 fi
8701
8702
8703
8704
8705 enablestring=
8706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8707 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8708 no_cache=0
8709 # Check whether --enable-menus or --disable-menus was given.
8710 if test "${enable_menus+set}" = set; then
8711 enableval="$enable_menus"
8712
8713 if test "$enableval" = yes; then
8714 ac_cv_use_menus='wxUSE_MENUS=yes'
8715 else
8716 ac_cv_use_menus='wxUSE_MENUS=no'
8717 fi
8718
8719 else
8720
8721 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8722 if test "x$LINE" != x ; then
8723 eval "DEFAULT_$LINE"
8724 else
8725 no_cache=1
8726 fi
8727
8728 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8729
8730 fi;
8731
8732 eval "$ac_cv_use_menus"
8733 if test "$no_cache" != 1; then
8734 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8735 fi
8736
8737 if test "$wxUSE_MENUS" = yes; then
8738 echo "$as_me:$LINENO: result: yes" >&5
8739 echo "${ECHO_T}yes" >&6
8740 else
8741 echo "$as_me:$LINENO: result: no" >&5
8742 echo "${ECHO_T}no" >&6
8743 fi
8744
8745
8746 enablestring=
8747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8749 no_cache=0
8750 # Check whether --enable-miniframe or --disable-miniframe was given.
8751 if test "${enable_miniframe+set}" = set; then
8752 enableval="$enable_miniframe"
8753
8754 if test "$enableval" = yes; then
8755 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8756 else
8757 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8758 fi
8759
8760 else
8761
8762 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8763 if test "x$LINE" != x ; then
8764 eval "DEFAULT_$LINE"
8765 else
8766 no_cache=1
8767 fi
8768
8769 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8770
8771 fi;
8772
8773 eval "$ac_cv_use_miniframe"
8774 if test "$no_cache" != 1; then
8775 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8776 fi
8777
8778 if test "$wxUSE_MINIFRAME" = yes; then
8779 echo "$as_me:$LINENO: result: yes" >&5
8780 echo "${ECHO_T}yes" >&6
8781 else
8782 echo "$as_me:$LINENO: result: no" >&5
8783 echo "${ECHO_T}no" >&6
8784 fi
8785
8786
8787 enablestring=
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8790 no_cache=0
8791 # Check whether --enable-tooltips or --disable-tooltips was given.
8792 if test "${enable_tooltips+set}" = set; then
8793 enableval="$enable_tooltips"
8794
8795 if test "$enableval" = yes; then
8796 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8797 else
8798 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8799 fi
8800
8801 else
8802
8803 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8806 else
8807 no_cache=1
8808 fi
8809
8810 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8811
8812 fi;
8813
8814 eval "$ac_cv_use_tooltips"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8817 fi
8818
8819 if test "$wxUSE_TOOLTIPS" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821 echo "${ECHO_T}yes" >&6
8822 else
8823 echo "$as_me:$LINENO: result: no" >&5
8824 echo "${ECHO_T}no" >&6
8825 fi
8826
8827
8828 enablestring=
8829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8830 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8831 no_cache=0
8832 # Check whether --enable-splines or --disable-splines was given.
8833 if test "${enable_splines+set}" = set; then
8834 enableval="$enable_splines"
8835
8836 if test "$enableval" = yes; then
8837 ac_cv_use_splines='wxUSE_SPLINES=yes'
8838 else
8839 ac_cv_use_splines='wxUSE_SPLINES=no'
8840 fi
8841
8842 else
8843
8844 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8845 if test "x$LINE" != x ; then
8846 eval "DEFAULT_$LINE"
8847 else
8848 no_cache=1
8849 fi
8850
8851 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8852
8853 fi;
8854
8855 eval "$ac_cv_use_splines"
8856 if test "$no_cache" != 1; then
8857 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8858 fi
8859
8860 if test "$wxUSE_SPLINES" = yes; then
8861 echo "$as_me:$LINENO: result: yes" >&5
8862 echo "${ECHO_T}yes" >&6
8863 else
8864 echo "$as_me:$LINENO: result: no" >&5
8865 echo "${ECHO_T}no" >&6
8866 fi
8867
8868
8869 enablestring=
8870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8871 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8872 no_cache=0
8873 # Check whether --enable-validators or --disable-validators was given.
8874 if test "${enable_validators+set}" = set; then
8875 enableval="$enable_validators"
8876
8877 if test "$enableval" = yes; then
8878 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8879 else
8880 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8881 fi
8882
8883 else
8884
8885 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8886 if test "x$LINE" != x ; then
8887 eval "DEFAULT_$LINE"
8888 else
8889 no_cache=1
8890 fi
8891
8892 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8893
8894 fi;
8895
8896 eval "$ac_cv_use_validators"
8897 if test "$no_cache" != 1; then
8898 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8899 fi
8900
8901 if test "$wxUSE_VALIDATORS" = yes; then
8902 echo "$as_me:$LINENO: result: yes" >&5
8903 echo "${ECHO_T}yes" >&6
8904 else
8905 echo "$as_me:$LINENO: result: no" >&5
8906 echo "${ECHO_T}no" >&6
8907 fi
8908
8909
8910 enablestring=
8911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8913 no_cache=0
8914 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8915 if test "${enable_busyinfo+set}" = set; then
8916 enableval="$enable_busyinfo"
8917
8918 if test "$enableval" = yes; then
8919 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8920 else
8921 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8922 fi
8923
8924 else
8925
8926 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8927 if test "x$LINE" != x ; then
8928 eval "DEFAULT_$LINE"
8929 else
8930 no_cache=1
8931 fi
8932
8933 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8934
8935 fi;
8936
8937 eval "$ac_cv_use_busyinfo"
8938 if test "$no_cache" != 1; then
8939 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8940 fi
8941
8942 if test "$wxUSE_BUSYINFO" = yes; then
8943 echo "$as_me:$LINENO: result: yes" >&5
8944 echo "${ECHO_T}yes" >&6
8945 else
8946 echo "$as_me:$LINENO: result: no" >&5
8947 echo "${ECHO_T}no" >&6
8948 fi
8949
8950
8951 enablestring=
8952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8953 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8954 no_cache=0
8955 # Check whether --enable-joystick or --disable-joystick was given.
8956 if test "${enable_joystick+set}" = set; then
8957 enableval="$enable_joystick"
8958
8959 if test "$enableval" = yes; then
8960 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8961 else
8962 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8963 fi
8964
8965 else
8966
8967 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8968 if test "x$LINE" != x ; then
8969 eval "DEFAULT_$LINE"
8970 else
8971 no_cache=1
8972 fi
8973
8974 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8975
8976 fi;
8977
8978 eval "$ac_cv_use_joystick"
8979 if test "$no_cache" != 1; then
8980 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8981 fi
8982
8983 if test "$wxUSE_JOYSTICK" = yes; then
8984 echo "$as_me:$LINENO: result: yes" >&5
8985 echo "${ECHO_T}yes" >&6
8986 else
8987 echo "$as_me:$LINENO: result: no" >&5
8988 echo "${ECHO_T}no" >&6
8989 fi
8990
8991
8992 enablestring=
8993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8994 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8995 no_cache=0
8996 # Check whether --enable-metafile or --disable-metafile was given.
8997 if test "${enable_metafile+set}" = set; then
8998 enableval="$enable_metafile"
8999
9000 if test "$enableval" = yes; then
9001 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9002 else
9003 ac_cv_use_metafile='wxUSE_METAFILE=no'
9004 fi
9005
9006 else
9007
9008 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9009 if test "x$LINE" != x ; then
9010 eval "DEFAULT_$LINE"
9011 else
9012 no_cache=1
9013 fi
9014
9015 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9016
9017 fi;
9018
9019 eval "$ac_cv_use_metafile"
9020 if test "$no_cache" != 1; then
9021 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9022 fi
9023
9024 if test "$wxUSE_METAFILE" = yes; then
9025 echo "$as_me:$LINENO: result: yes" >&5
9026 echo "${ECHO_T}yes" >&6
9027 else
9028 echo "$as_me:$LINENO: result: no" >&5
9029 echo "${ECHO_T}no" >&6
9030 fi
9031
9032
9033 enablestring=
9034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9035 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9036 no_cache=0
9037 # Check whether --enable-dragimage or --disable-dragimage was given.
9038 if test "${enable_dragimage+set}" = set; then
9039 enableval="$enable_dragimage"
9040
9041 if test "$enableval" = yes; then
9042 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9043 else
9044 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9045 fi
9046
9047 else
9048
9049 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9050 if test "x$LINE" != x ; then
9051 eval "DEFAULT_$LINE"
9052 else
9053 no_cache=1
9054 fi
9055
9056 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9057
9058 fi;
9059
9060 eval "$ac_cv_use_dragimage"
9061 if test "$no_cache" != 1; then
9062 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9063 fi
9064
9065 if test "$wxUSE_DRAGIMAGE" = yes; then
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9068 else
9069 echo "$as_me:$LINENO: result: no" >&5
9070 echo "${ECHO_T}no" >&6
9071 fi
9072
9073
9074 enablestring=
9075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9077 no_cache=0
9078 # Check whether --enable-accessibility or --disable-accessibility was given.
9079 if test "${enable_accessibility+set}" = set; then
9080 enableval="$enable_accessibility"
9081
9082 if test "$enableval" = yes; then
9083 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9084 else
9085 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9086 fi
9087
9088 else
9089
9090 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9091 if test "x$LINE" != x ; then
9092 eval "DEFAULT_$LINE"
9093 else
9094 no_cache=1
9095 fi
9096
9097 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9098
9099 fi;
9100
9101 eval "$ac_cv_use_accessibility"
9102 if test "$no_cache" != 1; then
9103 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9104 fi
9105
9106 if test "$wxUSE_ACCESSIBILITY" = yes; then
9107 echo "$as_me:$LINENO: result: yes" >&5
9108 echo "${ECHO_T}yes" >&6
9109 else
9110 echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6
9112 fi
9113
9114
9115
9116
9117 enablestring=
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9120 no_cache=0
9121 # Check whether --enable-palette or --disable-palette was given.
9122 if test "${enable_palette+set}" = set; then
9123 enableval="$enable_palette"
9124
9125 if test "$enableval" = yes; then
9126 ac_cv_use_palette='wxUSE_PALETTE=yes'
9127 else
9128 ac_cv_use_palette='wxUSE_PALETTE=no'
9129 fi
9130
9131 else
9132
9133 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9136 else
9137 no_cache=1
9138 fi
9139
9140 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9141
9142 fi;
9143
9144 eval "$ac_cv_use_palette"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9147 fi
9148
9149 if test "$wxUSE_PALETTE" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9152 else
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9155 fi
9156
9157
9158 enablestring=
9159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9161 no_cache=0
9162 # Check whether --enable-image or --disable-image was given.
9163 if test "${enable_image+set}" = set; then
9164 enableval="$enable_image"
9165
9166 if test "$enableval" = yes; then
9167 ac_cv_use_image='wxUSE_IMAGE=yes'
9168 else
9169 ac_cv_use_image='wxUSE_IMAGE=no'
9170 fi
9171
9172 else
9173
9174 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x ; then
9176 eval "DEFAULT_$LINE"
9177 else
9178 no_cache=1
9179 fi
9180
9181 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9182
9183 fi;
9184
9185 eval "$ac_cv_use_image"
9186 if test "$no_cache" != 1; then
9187 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9188 fi
9189
9190 if test "$wxUSE_IMAGE" = yes; then
9191 echo "$as_me:$LINENO: result: yes" >&5
9192 echo "${ECHO_T}yes" >&6
9193 else
9194 echo "$as_me:$LINENO: result: no" >&5
9195 echo "${ECHO_T}no" >&6
9196 fi
9197
9198
9199 enablestring=
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9202 no_cache=0
9203 # Check whether --enable-gif or --disable-gif was given.
9204 if test "${enable_gif+set}" = set; then
9205 enableval="$enable_gif"
9206
9207 if test "$enableval" = yes; then
9208 ac_cv_use_gif='wxUSE_GIF=yes'
9209 else
9210 ac_cv_use_gif='wxUSE_GIF=no'
9211 fi
9212
9213 else
9214
9215 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9218 else
9219 no_cache=1
9220 fi
9221
9222 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9223
9224 fi;
9225
9226 eval "$ac_cv_use_gif"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9229 fi
9230
9231 if test "$wxUSE_GIF" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6
9234 else
9235 echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6
9237 fi
9238
9239
9240 enablestring=
9241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9242 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9243 no_cache=0
9244 # Check whether --enable-pcx or --disable-pcx was given.
9245 if test "${enable_pcx+set}" = set; then
9246 enableval="$enable_pcx"
9247
9248 if test "$enableval" = yes; then
9249 ac_cv_use_pcx='wxUSE_PCX=yes'
9250 else
9251 ac_cv_use_pcx='wxUSE_PCX=no'
9252 fi
9253
9254 else
9255
9256 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x ; then
9258 eval "DEFAULT_$LINE"
9259 else
9260 no_cache=1
9261 fi
9262
9263 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9264
9265 fi;
9266
9267 eval "$ac_cv_use_pcx"
9268 if test "$no_cache" != 1; then
9269 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9270 fi
9271
9272 if test "$wxUSE_PCX" = yes; then
9273 echo "$as_me:$LINENO: result: yes" >&5
9274 echo "${ECHO_T}yes" >&6
9275 else
9276 echo "$as_me:$LINENO: result: no" >&5
9277 echo "${ECHO_T}no" >&6
9278 fi
9279
9280
9281 enablestring=
9282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9283 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9284 no_cache=0
9285 # Check whether --enable-iff or --disable-iff was given.
9286 if test "${enable_iff+set}" = set; then
9287 enableval="$enable_iff"
9288
9289 if test "$enableval" = yes; then
9290 ac_cv_use_iff='wxUSE_IFF=yes'
9291 else
9292 ac_cv_use_iff='wxUSE_IFF=no'
9293 fi
9294
9295 else
9296
9297 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x ; then
9299 eval "DEFAULT_$LINE"
9300 else
9301 no_cache=1
9302 fi
9303
9304 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9305
9306 fi;
9307
9308 eval "$ac_cv_use_iff"
9309 if test "$no_cache" != 1; then
9310 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9311 fi
9312
9313 if test "$wxUSE_IFF" = yes; then
9314 echo "$as_me:$LINENO: result: yes" >&5
9315 echo "${ECHO_T}yes" >&6
9316 else
9317 echo "$as_me:$LINENO: result: no" >&5
9318 echo "${ECHO_T}no" >&6
9319 fi
9320
9321
9322 enablestring=
9323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9324 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9325 no_cache=0
9326 # Check whether --enable-pnm or --disable-pnm was given.
9327 if test "${enable_pnm+set}" = set; then
9328 enableval="$enable_pnm"
9329
9330 if test "$enableval" = yes; then
9331 ac_cv_use_pnm='wxUSE_PNM=yes'
9332 else
9333 ac_cv_use_pnm='wxUSE_PNM=no'
9334 fi
9335
9336 else
9337
9338 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x ; then
9340 eval "DEFAULT_$LINE"
9341 else
9342 no_cache=1
9343 fi
9344
9345 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9346
9347 fi;
9348
9349 eval "$ac_cv_use_pnm"
9350 if test "$no_cache" != 1; then
9351 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9352 fi
9353
9354 if test "$wxUSE_PNM" = yes; then
9355 echo "$as_me:$LINENO: result: yes" >&5
9356 echo "${ECHO_T}yes" >&6
9357 else
9358 echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6
9360 fi
9361
9362
9363 enablestring=
9364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9365 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9366 no_cache=0
9367 # Check whether --enable-xpm or --disable-xpm was given.
9368 if test "${enable_xpm+set}" = set; then
9369 enableval="$enable_xpm"
9370
9371 if test "$enableval" = yes; then
9372 ac_cv_use_xpm='wxUSE_XPM=yes'
9373 else
9374 ac_cv_use_xpm='wxUSE_XPM=no'
9375 fi
9376
9377 else
9378
9379 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x ; then
9381 eval "DEFAULT_$LINE"
9382 else
9383 no_cache=1
9384 fi
9385
9386 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9387
9388 fi;
9389
9390 eval "$ac_cv_use_xpm"
9391 if test "$no_cache" != 1; then
9392 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9393 fi
9394
9395 if test "$wxUSE_XPM" = yes; then
9396 echo "$as_me:$LINENO: result: yes" >&5
9397 echo "${ECHO_T}yes" >&6
9398 else
9399 echo "$as_me:$LINENO: result: no" >&5
9400 echo "${ECHO_T}no" >&6
9401 fi
9402
9403
9404 enablestring=
9405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9406 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9407 no_cache=0
9408 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9409 if test "${enable_ico_cur+set}" = set; then
9410 enableval="$enable_ico_cur"
9411
9412 if test "$enableval" = yes; then
9413 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9414 else
9415 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9416 fi
9417
9418 else
9419
9420 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 else
9424 no_cache=1
9425 fi
9426
9427 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9428
9429 fi;
9430
9431 eval "$ac_cv_use_ico_cur"
9432 if test "$no_cache" != 1; then
9433 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9434 fi
9435
9436 if test "$wxUSE_ICO_CUR" = yes; then
9437 echo "$as_me:$LINENO: result: yes" >&5
9438 echo "${ECHO_T}yes" >&6
9439 else
9440 echo "$as_me:$LINENO: result: no" >&5
9441 echo "${ECHO_T}no" >&6
9442 fi
9443
9444
9445 fi
9446
9447 case "${host}" in
9448 *-pc-os2_emx | *-pc-os2-emx )
9449 PATH_IFS=';'
9450 LEX_STEM="lexyy"
9451 ;;
9452 *)
9453 PATH_IFS=':'
9454 LEX_STEM="lex.yy"
9455 ;;
9456 esac
9457
9458
9459
9460 echo "saving argument cache $wx_arg_cache_file"
9461 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9462
9463
9464
9465 echo "$as_me:$LINENO: checking for toolkit" >&5
9466 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9467
9468 # In Wine, we need to default to MSW, not GTK or MOTIF
9469 if test "$wxUSE_WINE" = "yes"; then
9470 DEFAULT_DEFAULT_wxUSE_GTK=0
9471 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9472 DEFAULT_DEFAULT_wxUSE_MSW=1
9473 fi
9474
9475 if test "$wxUSE_GUI" = "yes"; then
9476
9477 if test "$USE_BEOS" = 1; then
9478 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9479 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9480 { (exit 1); exit 1; }; }
9481 fi
9482
9483 if test "$TOOLKIT_GIVEN" = 1; then
9484 for toolkit in `echo $ALL_TOOLKITS`; do
9485 var=wxUSE_$toolkit
9486 eval "value=\$${var}"
9487 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9488 done
9489 else
9490 for toolkit in `echo $ALL_TOOLKITS`; do
9491 if test "$has_toolkit_in_cache" != 1; then
9492 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9493 else
9494 var=DEFAULT_wxUSE_$toolkit
9495 fi
9496 eval "wxUSE_$toolkit=\$${var}"
9497 done
9498 fi
9499
9500 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9501 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9502 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9503
9504 case "${host}" in
9505 *-pc-os2_emx | *-pc-os2-emx )
9506 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9507 esac
9508
9509 case "$NUM_TOOLKITS" in
9510 1)
9511 ;;
9512 0)
9513 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9514 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9515 { (exit 1); exit 1; }; }
9516 ;;
9517 *)
9518 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9519 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9520 { (exit 1); exit 1; }; }
9521 esac
9522
9523 for toolkit in `echo $ALL_TOOLKITS`; do
9524 var=wxUSE_$toolkit
9525 eval "value=\$${var}"
9526 if test "x$value" != x; then
9527 cache_var=CACHE_$toolkit
9528 eval "cache=\$${cache_var}"
9529 if test "$cache" = 1; then
9530 echo "$var=$value" >> ${wx_arg_cache_file}
9531 fi
9532 if test "$value" = 1; then
9533 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9534 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9535 echo "${ECHO_T}$toolkit_echo" >&6
9536 fi
9537 fi
9538 done
9539 else
9540 if test "x$host_alias" != "x"; then
9541 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9542 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9543 else
9544 echo "$as_me:$LINENO: result: base only" >&5
9545 echo "${ECHO_T}base only" >&6
9546 fi
9547 fi
9548
9549 wants_win32=0
9550 doesnt_want_win32=0
9551 case "${host}" in
9552 *-*-cygwin*)
9553 if test "$wxUSE_MSW" = 1 ; then
9554 wants_win32=1
9555 else
9556 doesnt_want_win32=1
9557 fi
9558 ;;
9559 *-*-mingw*)
9560 wants_win32=1
9561 ;;
9562 esac
9563
9564 if test "$wxUSE_WINE" = "yes"; then
9565 wants_win32=1
9566 CC=winegcc
9567 CXX=wineg++
9568 RESCOMP=wrc
9569 fi
9570
9571 if test "$wants_win32" = 1 ; then
9572 USE_UNIX=0
9573 USE_WIN32=1
9574 cat >>confdefs.h <<\_ACEOF
9575 #define __WIN32__ 1
9576 _ACEOF
9577
9578 cat >>confdefs.h <<\_ACEOF
9579 #define __WIN95__ 1
9580 _ACEOF
9581
9582 cat >>confdefs.h <<\_ACEOF
9583 #define __WINDOWS__ 1
9584 _ACEOF
9585
9586 cat >>confdefs.h <<\_ACEOF
9587 #define __GNUWIN32__ 1
9588 _ACEOF
9589
9590 cat >>confdefs.h <<\_ACEOF
9591 #define STRICT 1
9592 _ACEOF
9593
9594 cat >>confdefs.h <<\_ACEOF
9595 #define WINVER 0x0400
9596 _ACEOF
9597
9598 fi
9599 if test "$doesnt_want_win32" = 1 ; then
9600 USE_UNIX=1
9601 USE_WIN32=0
9602 fi
9603
9604 if test "$USE_UNIX" = 1 ; then
9605 wxUSE_UNIX=yes
9606 cat >>confdefs.h <<\_ACEOF
9607 #define __UNIX__ 1
9608 _ACEOF
9609
9610 fi
9611
9612
9613 cat >confcache <<\_ACEOF
9614 # This file is a shell script that caches the results of configure
9615 # tests run on this system so they can be shared between configure
9616 # scripts and configure runs, see configure's option --config-cache.
9617 # It is not useful on other systems. If it contains results you don't
9618 # want to keep, you may remove or edit it.
9619 #
9620 # config.status only pays attention to the cache file if you give it
9621 # the --recheck option to rerun configure.
9622 #
9623 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9624 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9625 # following values.
9626
9627 _ACEOF
9628
9629 # The following way of writing the cache mishandles newlines in values,
9630 # but we know of no workaround that is simple, portable, and efficient.
9631 # So, don't put newlines in cache variables' values.
9632 # Ultrix sh set writes to stderr and can't be redirected directly,
9633 # and sets the high bit in the cache file unless we assign to the vars.
9634 {
9635 (set) 2>&1 |
9636 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9637 *ac_space=\ *)
9638 # `set' does not quote correctly, so add quotes (double-quote
9639 # substitution turns \\\\ into \\, and sed turns \\ into \).
9640 sed -n \
9641 "s/'/'\\\\''/g;
9642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9643 ;;
9644 *)
9645 # `set' quotes correctly as required by POSIX, so do not add quotes.
9646 sed -n \
9647 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9648 ;;
9649 esac;
9650 } |
9651 sed '
9652 t clear
9653 : clear
9654 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9655 t end
9656 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9657 : end' >>confcache
9658 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9659 if test -w $cache_file; then
9660 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9661 cat confcache >$cache_file
9662 else
9663 echo "not updating unwritable cache $cache_file"
9664 fi
9665 fi
9666 rm -f confcache
9667
9668 if test "$build" != "$host" ; then
9669 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9670 CC=$host_alias-gcc
9671 CXX=$host_alias-c++
9672 AR=$host_alias-ar
9673 RANLIB=$host_alias-ranlib
9674 DLLTOOL=$host_alias-dlltool
9675 RESCOMP=$host_alias-windres
9676 LD=$host_alias-ld
9677 NM=$host_alias-nm
9678 STRIP=$host_alias-strip
9679 else
9680 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9681 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9682 { (exit 1); exit 1; }; }
9683 fi
9684 fi
9685
9686 CFLAGS=${CFLAGS:=}
9687 ac_ext=c
9688 ac_cpp='$CPP $CPPFLAGS'
9689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9692 if test -n "$ac_tool_prefix"; then
9693 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9694 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9695 echo "$as_me:$LINENO: checking for $ac_word" >&5
9696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9697 if test "${ac_cv_prog_CC+set}" = set; then
9698 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 else
9700 if test -n "$CC"; then
9701 ac_cv_prog_CC="$CC" # Let the user override the test.
9702 else
9703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9704 for as_dir in $PATH
9705 do
9706 IFS=$as_save_IFS
9707 test -z "$as_dir" && as_dir=.
9708 for ac_exec_ext in '' $ac_executable_extensions; do
9709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9710 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9712 break 2
9713 fi
9714 done
9715 done
9716
9717 fi
9718 fi
9719 CC=$ac_cv_prog_CC
9720 if test -n "$CC"; then
9721 echo "$as_me:$LINENO: result: $CC" >&5
9722 echo "${ECHO_T}$CC" >&6
9723 else
9724 echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6
9726 fi
9727
9728 fi
9729 if test -z "$ac_cv_prog_CC"; then
9730 ac_ct_CC=$CC
9731 # Extract the first word of "gcc", so it can be a program name with args.
9732 set dummy gcc; ac_word=$2
9733 echo "$as_me:$LINENO: checking for $ac_word" >&5
9734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 else
9738 if test -n "$ac_ct_CC"; then
9739 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9740 else
9741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9742 for as_dir in $PATH
9743 do
9744 IFS=$as_save_IFS
9745 test -z "$as_dir" && as_dir=.
9746 for ac_exec_ext in '' $ac_executable_extensions; do
9747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9748 ac_cv_prog_ac_ct_CC="gcc"
9749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9750 break 2
9751 fi
9752 done
9753 done
9754
9755 fi
9756 fi
9757 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9758 if test -n "$ac_ct_CC"; then
9759 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9760 echo "${ECHO_T}$ac_ct_CC" >&6
9761 else
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9764 fi
9765
9766 CC=$ac_ct_CC
9767 else
9768 CC="$ac_cv_prog_CC"
9769 fi
9770
9771 if test -z "$CC"; then
9772 if test -n "$ac_tool_prefix"; then
9773 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9774 set dummy ${ac_tool_prefix}cc; ac_word=$2
9775 echo "$as_me:$LINENO: checking for $ac_word" >&5
9776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9777 if test "${ac_cv_prog_CC+set}" = set; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 else
9780 if test -n "$CC"; then
9781 ac_cv_prog_CC="$CC" # Let the user override the test.
9782 else
9783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784 for as_dir in $PATH
9785 do
9786 IFS=$as_save_IFS
9787 test -z "$as_dir" && as_dir=.
9788 for ac_exec_ext in '' $ac_executable_extensions; do
9789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9790 ac_cv_prog_CC="${ac_tool_prefix}cc"
9791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9792 break 2
9793 fi
9794 done
9795 done
9796
9797 fi
9798 fi
9799 CC=$ac_cv_prog_CC
9800 if test -n "$CC"; then
9801 echo "$as_me:$LINENO: result: $CC" >&5
9802 echo "${ECHO_T}$CC" >&6
9803 else
9804 echo "$as_me:$LINENO: result: no" >&5
9805 echo "${ECHO_T}no" >&6
9806 fi
9807
9808 fi
9809 if test -z "$ac_cv_prog_CC"; then
9810 ac_ct_CC=$CC
9811 # Extract the first word of "cc", so it can be a program name with args.
9812 set dummy cc; ac_word=$2
9813 echo "$as_me:$LINENO: checking for $ac_word" >&5
9814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 else
9818 if test -n "$ac_ct_CC"; then
9819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9820 else
9821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9822 for as_dir in $PATH
9823 do
9824 IFS=$as_save_IFS
9825 test -z "$as_dir" && as_dir=.
9826 for ac_exec_ext in '' $ac_executable_extensions; do
9827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9828 ac_cv_prog_ac_ct_CC="cc"
9829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9830 break 2
9831 fi
9832 done
9833 done
9834
9835 fi
9836 fi
9837 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9838 if test -n "$ac_ct_CC"; then
9839 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9840 echo "${ECHO_T}$ac_ct_CC" >&6
9841 else
9842 echo "$as_me:$LINENO: result: no" >&5
9843 echo "${ECHO_T}no" >&6
9844 fi
9845
9846 CC=$ac_ct_CC
9847 else
9848 CC="$ac_cv_prog_CC"
9849 fi
9850
9851 fi
9852 if test -z "$CC"; then
9853 # Extract the first word of "cc", so it can be a program name with args.
9854 set dummy cc; ac_word=$2
9855 echo "$as_me:$LINENO: checking for $ac_word" >&5
9856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9857 if test "${ac_cv_prog_CC+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9859 else
9860 if test -n "$CC"; then
9861 ac_cv_prog_CC="$CC" # Let the user override the test.
9862 else
9863 ac_prog_rejected=no
9864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9865 for as_dir in $PATH
9866 do
9867 IFS=$as_save_IFS
9868 test -z "$as_dir" && as_dir=.
9869 for ac_exec_ext in '' $ac_executable_extensions; do
9870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9872 ac_prog_rejected=yes
9873 continue
9874 fi
9875 ac_cv_prog_CC="cc"
9876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9877 break 2
9878 fi
9879 done
9880 done
9881
9882 if test $ac_prog_rejected = yes; then
9883 # We found a bogon in the path, so make sure we never use it.
9884 set dummy $ac_cv_prog_CC
9885 shift
9886 if test $# != 0; then
9887 # We chose a different compiler from the bogus one.
9888 # However, it has the same basename, so the bogon will be chosen
9889 # first if we set CC to just the basename; use the full file name.
9890 shift
9891 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9892 fi
9893 fi
9894 fi
9895 fi
9896 CC=$ac_cv_prog_CC
9897 if test -n "$CC"; then
9898 echo "$as_me:$LINENO: result: $CC" >&5
9899 echo "${ECHO_T}$CC" >&6
9900 else
9901 echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6
9903 fi
9904
9905 fi
9906 if test -z "$CC"; then
9907 if test -n "$ac_tool_prefix"; then
9908 for ac_prog in cl
9909 do
9910 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9911 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9912 echo "$as_me:$LINENO: checking for $ac_word" >&5
9913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9914 if test "${ac_cv_prog_CC+set}" = set; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 else
9917 if test -n "$CC"; then
9918 ac_cv_prog_CC="$CC" # Let the user override the test.
9919 else
9920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9921 for as_dir in $PATH
9922 do
9923 IFS=$as_save_IFS
9924 test -z "$as_dir" && as_dir=.
9925 for ac_exec_ext in '' $ac_executable_extensions; do
9926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9927 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9929 break 2
9930 fi
9931 done
9932 done
9933
9934 fi
9935 fi
9936 CC=$ac_cv_prog_CC
9937 if test -n "$CC"; then
9938 echo "$as_me:$LINENO: result: $CC" >&5
9939 echo "${ECHO_T}$CC" >&6
9940 else
9941 echo "$as_me:$LINENO: result: no" >&5
9942 echo "${ECHO_T}no" >&6
9943 fi
9944
9945 test -n "$CC" && break
9946 done
9947 fi
9948 if test -z "$CC"; then
9949 ac_ct_CC=$CC
9950 for ac_prog in cl
9951 do
9952 # Extract the first word of "$ac_prog", so it can be a program name with args.
9953 set dummy $ac_prog; ac_word=$2
9954 echo "$as_me:$LINENO: checking for $ac_word" >&5
9955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9956 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9958 else
9959 if test -n "$ac_ct_CC"; then
9960 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9961 else
9962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9963 for as_dir in $PATH
9964 do
9965 IFS=$as_save_IFS
9966 test -z "$as_dir" && as_dir=.
9967 for ac_exec_ext in '' $ac_executable_extensions; do
9968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9969 ac_cv_prog_ac_ct_CC="$ac_prog"
9970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9971 break 2
9972 fi
9973 done
9974 done
9975
9976 fi
9977 fi
9978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9979 if test -n "$ac_ct_CC"; then
9980 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9981 echo "${ECHO_T}$ac_ct_CC" >&6
9982 else
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9985 fi
9986
9987 test -n "$ac_ct_CC" && break
9988 done
9989
9990 CC=$ac_ct_CC
9991 fi
9992
9993 fi
9994
9995
9996 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9997 See \`config.log' for more details." >&5
9998 echo "$as_me: error: no acceptable C compiler found in \$PATH
9999 See \`config.log' for more details." >&2;}
10000 { (exit 1); exit 1; }; }
10001
10002 # Provide some information about the compiler.
10003 echo "$as_me:$LINENO:" \
10004 "checking for C compiler version" >&5
10005 ac_compiler=`set X $ac_compile; echo $2`
10006 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10007 (eval $ac_compiler --version </dev/null >&5) 2>&5
10008 ac_status=$?
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }
10011 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10012 (eval $ac_compiler -v </dev/null >&5) 2>&5
10013 ac_status=$?
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); }
10016 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10017 (eval $ac_compiler -V </dev/null >&5) 2>&5
10018 ac_status=$?
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }
10021
10022 cat >conftest.$ac_ext <<_ACEOF
10023 #line $LINENO "configure"
10024 /* confdefs.h. */
10025 _ACEOF
10026 cat confdefs.h >>conftest.$ac_ext
10027 cat >>conftest.$ac_ext <<_ACEOF
10028 /* end confdefs.h. */
10029
10030 int
10031 main ()
10032 {
10033
10034 ;
10035 return 0;
10036 }
10037 _ACEOF
10038 ac_clean_files_save=$ac_clean_files
10039 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10040 # Try to create an executable without -o first, disregard a.out.
10041 # It will help us diagnose broken compilers, and finding out an intuition
10042 # of exeext.
10043 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10044 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10045 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10046 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10047 (eval $ac_link_default) 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; then
10051 # Find the output, starting from the most likely. This scheme is
10052 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10053 # resort.
10054
10055 # Be careful to initialize this variable, since it used to be cached.
10056 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10057 ac_cv_exeext=
10058 # b.out is created by i960 compilers.
10059 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10060 do
10061 test -f "$ac_file" || continue
10062 case $ac_file in
10063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10064 ;;
10065 conftest.$ac_ext )
10066 # This is the source file.
10067 ;;
10068 [ab].out )
10069 # We found the default executable, but exeext='' is most
10070 # certainly right.
10071 break;;
10072 *.* )
10073 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10074 # FIXME: I believe we export ac_cv_exeext for Libtool,
10075 # but it would be cool to find out if it's true. Does anybody
10076 # maintain Libtool? --akim.
10077 export ac_cv_exeext
10078 break;;
10079 * )
10080 break;;
10081 esac
10082 done
10083 else
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.$ac_ext >&5
10086
10087 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10088 See \`config.log' for more details." >&5
10089 echo "$as_me: error: C compiler cannot create executables
10090 See \`config.log' for more details." >&2;}
10091 { (exit 77); exit 77; }; }
10092 fi
10093
10094 ac_exeext=$ac_cv_exeext
10095 echo "$as_me:$LINENO: result: $ac_file" >&5
10096 echo "${ECHO_T}$ac_file" >&6
10097
10098 # Check the compiler produces executables we can run. If not, either
10099 # the compiler is broken, or we cross compile.
10100 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10101 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10102 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10103 # If not cross compiling, check that we can run a simple program.
10104 if test "$cross_compiling" != yes; then
10105 if { ac_try='./$ac_file'
10106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10107 (eval $ac_try) 2>&5
10108 ac_status=$?
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); }; }; then
10111 cross_compiling=no
10112 else
10113 if test "$cross_compiling" = maybe; then
10114 cross_compiling=yes
10115 else
10116 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10117 If you meant to cross compile, use \`--host'.
10118 See \`config.log' for more details." >&5
10119 echo "$as_me: error: cannot run C compiled programs.
10120 If you meant to cross compile, use \`--host'.
10121 See \`config.log' for more details." >&2;}
10122 { (exit 1); exit 1; }; }
10123 fi
10124 fi
10125 fi
10126 echo "$as_me:$LINENO: result: yes" >&5
10127 echo "${ECHO_T}yes" >&6
10128
10129 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10130 ac_clean_files=$ac_clean_files_save
10131 # Check the compiler produces executables we can run. If not, either
10132 # the compiler is broken, or we cross compile.
10133 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10134 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10135 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10136 echo "${ECHO_T}$cross_compiling" >&6
10137
10138 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10139 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10141 (eval $ac_link) 2>&5
10142 ac_status=$?
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); }; then
10145 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10146 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10147 # work properly (i.e., refer to `conftest.exe'), while it won't with
10148 # `rm'.
10149 for ac_file in conftest.exe conftest conftest.*; do
10150 test -f "$ac_file" || continue
10151 case $ac_file in
10152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10153 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10154 export ac_cv_exeext
10155 break;;
10156 * ) break;;
10157 esac
10158 done
10159 else
10160 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10161 See \`config.log' for more details." >&5
10162 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10163 See \`config.log' for more details." >&2;}
10164 { (exit 1); exit 1; }; }
10165 fi
10166
10167 rm -f conftest$ac_cv_exeext
10168 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10169 echo "${ECHO_T}$ac_cv_exeext" >&6
10170
10171 rm -f conftest.$ac_ext
10172 EXEEXT=$ac_cv_exeext
10173 ac_exeext=$EXEEXT
10174 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10175 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10176 if test "${ac_cv_objext+set}" = set; then
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10178 else
10179 cat >conftest.$ac_ext <<_ACEOF
10180 #line $LINENO "configure"
10181 /* confdefs.h. */
10182 _ACEOF
10183 cat confdefs.h >>conftest.$ac_ext
10184 cat >>conftest.$ac_ext <<_ACEOF
10185 /* end confdefs.h. */
10186
10187 int
10188 main ()
10189 {
10190
10191 ;
10192 return 0;
10193 }
10194 _ACEOF
10195 rm -f conftest.o conftest.obj
10196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10197 (eval $ac_compile) 2>&5
10198 ac_status=$?
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; then
10201 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10202 case $ac_file in
10203 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10204 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10205 break;;
10206 esac
10207 done
10208 else
10209 echo "$as_me: failed program was:" >&5
10210 sed 's/^/| /' conftest.$ac_ext >&5
10211
10212 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10213 See \`config.log' for more details." >&5
10214 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10215 See \`config.log' for more details." >&2;}
10216 { (exit 1); exit 1; }; }
10217 fi
10218
10219 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10220 fi
10221 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10222 echo "${ECHO_T}$ac_cv_objext" >&6
10223 OBJEXT=$ac_cv_objext
10224 ac_objext=$OBJEXT
10225 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10226 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10227 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 else
10230 cat >conftest.$ac_ext <<_ACEOF
10231 #line $LINENO "configure"
10232 /* confdefs.h. */
10233 _ACEOF
10234 cat confdefs.h >>conftest.$ac_ext
10235 cat >>conftest.$ac_ext <<_ACEOF
10236 /* end confdefs.h. */
10237
10238 int
10239 main ()
10240 {
10241 #ifndef __GNUC__
10242 choke me
10243 #endif
10244
10245 ;
10246 return 0;
10247 }
10248 _ACEOF
10249 rm -f conftest.$ac_objext
10250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10251 (eval $ac_compile) 2>&5
10252 ac_status=$?
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try='test -s conftest.$ac_objext'
10256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10257 (eval $ac_try) 2>&5
10258 ac_status=$?
10259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10260 (exit $ac_status); }; }; then
10261 ac_compiler_gnu=yes
10262 else
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.$ac_ext >&5
10265
10266 ac_compiler_gnu=no
10267 fi
10268 rm -f conftest.$ac_objext conftest.$ac_ext
10269 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10270
10271 fi
10272 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10273 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10274 GCC=`test $ac_compiler_gnu = yes && echo yes`
10275 ac_test_CFLAGS=${CFLAGS+set}
10276 ac_save_CFLAGS=$CFLAGS
10277 CFLAGS="-g"
10278 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10279 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10280 if test "${ac_cv_prog_cc_g+set}" = set; then
10281 echo $ECHO_N "(cached) $ECHO_C" >&6
10282 else
10283 cat >conftest.$ac_ext <<_ACEOF
10284 #line $LINENO "configure"
10285 /* confdefs.h. */
10286 _ACEOF
10287 cat confdefs.h >>conftest.$ac_ext
10288 cat >>conftest.$ac_ext <<_ACEOF
10289 /* end confdefs.h. */
10290
10291 int
10292 main ()
10293 {
10294
10295 ;
10296 return 0;
10297 }
10298 _ACEOF
10299 rm -f conftest.$ac_objext
10300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10301 (eval $ac_compile) 2>&5
10302 ac_status=$?
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } &&
10305 { ac_try='test -s conftest.$ac_objext'
10306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10307 (eval $ac_try) 2>&5
10308 ac_status=$?
10309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10310 (exit $ac_status); }; }; then
10311 ac_cv_prog_cc_g=yes
10312 else
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.$ac_ext >&5
10315
10316 ac_cv_prog_cc_g=no
10317 fi
10318 rm -f conftest.$ac_objext conftest.$ac_ext
10319 fi
10320 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10321 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10322 if test "$ac_test_CFLAGS" = set; then
10323 CFLAGS=$ac_save_CFLAGS
10324 elif test $ac_cv_prog_cc_g = yes; then
10325 if test "$GCC" = yes; then
10326 CFLAGS="-g -O2"
10327 else
10328 CFLAGS="-g"
10329 fi
10330 else
10331 if test "$GCC" = yes; then
10332 CFLAGS="-O2"
10333 else
10334 CFLAGS=
10335 fi
10336 fi
10337 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10338 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10339 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10340 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 else
10342 ac_cv_prog_cc_stdc=no
10343 ac_save_CC=$CC
10344 cat >conftest.$ac_ext <<_ACEOF
10345 #line $LINENO "configure"
10346 /* confdefs.h. */
10347 _ACEOF
10348 cat confdefs.h >>conftest.$ac_ext
10349 cat >>conftest.$ac_ext <<_ACEOF
10350 /* end confdefs.h. */
10351 #include <stdarg.h>
10352 #include <stdio.h>
10353 #include <sys/types.h>
10354 #include <sys/stat.h>
10355 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10356 struct buf { int x; };
10357 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10358 static char *e (p, i)
10359 char **p;
10360 int i;
10361 {
10362 return p[i];
10363 }
10364 static char *f (char * (*g) (char **, int), char **p, ...)
10365 {
10366 char *s;
10367 va_list v;
10368 va_start (v,p);
10369 s = g (p, va_arg (v,int));
10370 va_end (v);
10371 return s;
10372 }
10373 int test (int i, double x);
10374 struct s1 {int (*f) (int a);};
10375 struct s2 {int (*f) (double a);};
10376 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10377 int argc;
10378 char **argv;
10379 int
10380 main ()
10381 {
10382 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10383 ;
10384 return 0;
10385 }
10386 _ACEOF
10387 # Don't try gcc -ansi; that turns off useful extensions and
10388 # breaks some systems' header files.
10389 # AIX -qlanglvl=ansi
10390 # Ultrix and OSF/1 -std1
10391 # HP-UX 10.20 and later -Ae
10392 # HP-UX older versions -Aa -D_HPUX_SOURCE
10393 # SVR4 -Xc -D__EXTENSIONS__
10394 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10395 do
10396 CC="$ac_save_CC $ac_arg"
10397 rm -f conftest.$ac_objext
10398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10399 (eval $ac_compile) 2>&5
10400 ac_status=$?
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } &&
10403 { ac_try='test -s conftest.$ac_objext'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10406 ac_status=$?
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; }; then
10409 ac_cv_prog_cc_stdc=$ac_arg
10410 break
10411 else
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.$ac_ext >&5
10414
10415 fi
10416 rm -f conftest.$ac_objext
10417 done
10418 rm -f conftest.$ac_ext conftest.$ac_objext
10419 CC=$ac_save_CC
10420
10421 fi
10422
10423 case "x$ac_cv_prog_cc_stdc" in
10424 x|xno)
10425 echo "$as_me:$LINENO: result: none needed" >&5
10426 echo "${ECHO_T}none needed" >&6 ;;
10427 *)
10428 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10429 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10430 CC="$CC $ac_cv_prog_cc_stdc" ;;
10431 esac
10432
10433 # Some people use a C++ compiler to compile C. Since we use `exit',
10434 # in C++ we need to declare it. In case someone uses the same compiler
10435 # for both compiling C and C++ we need to have the C++ compiler decide
10436 # the declaration of exit, since it's the most demanding environment.
10437 cat >conftest.$ac_ext <<_ACEOF
10438 #ifndef __cplusplus
10439 choke me
10440 #endif
10441 _ACEOF
10442 rm -f conftest.$ac_objext
10443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10444 (eval $ac_compile) 2>&5
10445 ac_status=$?
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); } &&
10448 { ac_try='test -s conftest.$ac_objext'
10449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450 (eval $ac_try) 2>&5
10451 ac_status=$?
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; }; then
10454 for ac_declaration in \
10455 ''\
10456 '#include <stdlib.h>' \
10457 'extern "C" void std::exit (int) throw (); using std::exit;' \
10458 'extern "C" void std::exit (int); using std::exit;' \
10459 'extern "C" void exit (int) throw ();' \
10460 'extern "C" void exit (int);' \
10461 'void exit (int);'
10462 do
10463 cat >conftest.$ac_ext <<_ACEOF
10464 #line $LINENO "configure"
10465 /* confdefs.h. */
10466 _ACEOF
10467 cat confdefs.h >>conftest.$ac_ext
10468 cat >>conftest.$ac_ext <<_ACEOF
10469 /* end confdefs.h. */
10470 #include <stdlib.h>
10471 $ac_declaration
10472 int
10473 main ()
10474 {
10475 exit (42);
10476 ;
10477 return 0;
10478 }
10479 _ACEOF
10480 rm -f conftest.$ac_objext
10481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10482 (eval $ac_compile) 2>&5
10483 ac_status=$?
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } &&
10486 { ac_try='test -s conftest.$ac_objext'
10487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10488 (eval $ac_try) 2>&5
10489 ac_status=$?
10490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491 (exit $ac_status); }; }; then
10492 :
10493 else
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.$ac_ext >&5
10496
10497 continue
10498 fi
10499 rm -f conftest.$ac_objext conftest.$ac_ext
10500 cat >conftest.$ac_ext <<_ACEOF
10501 #line $LINENO "configure"
10502 /* confdefs.h. */
10503 _ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10507 $ac_declaration
10508 int
10509 main ()
10510 {
10511 exit (42);
10512 ;
10513 return 0;
10514 }
10515 _ACEOF
10516 rm -f conftest.$ac_objext
10517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10518 (eval $ac_compile) 2>&5
10519 ac_status=$?
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } &&
10522 { ac_try='test -s conftest.$ac_objext'
10523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10524 (eval $ac_try) 2>&5
10525 ac_status=$?
10526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10527 (exit $ac_status); }; }; then
10528 break
10529 else
10530 echo "$as_me: failed program was:" >&5
10531 sed 's/^/| /' conftest.$ac_ext >&5
10532
10533 fi
10534 rm -f conftest.$ac_objext conftest.$ac_ext
10535 done
10536 rm -f conftest*
10537 if test -n "$ac_declaration"; then
10538 echo '#ifdef __cplusplus' >>confdefs.h
10539 echo $ac_declaration >>confdefs.h
10540 echo '#endif' >>confdefs.h
10541 fi
10542
10543 else
10544 echo "$as_me: failed program was:" >&5
10545 sed 's/^/| /' conftest.$ac_ext >&5
10546
10547 fi
10548 rm -f conftest.$ac_objext conftest.$ac_ext
10549 ac_ext=c
10550 ac_cpp='$CPP $CPPFLAGS'
10551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10554
10555
10556
10557 ac_ext=c
10558 ac_cpp='$CPP $CPPFLAGS'
10559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10562 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10563 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10564 # On Suns, sometimes $CPP names a directory.
10565 if test -n "$CPP" && test -d "$CPP"; then
10566 CPP=
10567 fi
10568 if test -z "$CPP"; then
10569 if test "${ac_cv_prog_CPP+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 else
10572 # Double quotes because CPP needs to be expanded
10573 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10574 do
10575 ac_preproc_ok=false
10576 for ac_c_preproc_warn_flag in '' yes
10577 do
10578 # Use a header file that comes with gcc, so configuring glibc
10579 # with a fresh cross-compiler works.
10580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10581 # <limits.h> exists even on freestanding compilers.
10582 # On the NeXT, cc -E runs the code through the compiler's parser,
10583 # not just through cpp. "Syntax error" is here to catch this case.
10584 cat >conftest.$ac_ext <<_ACEOF
10585 #line $LINENO "configure"
10586 /* confdefs.h. */
10587 _ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10591 #ifdef __STDC__
10592 # include <limits.h>
10593 #else
10594 # include <assert.h>
10595 #endif
10596 Syntax error
10597 _ACEOF
10598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10600 ac_status=$?
10601 grep -v '^ *+' conftest.er1 >conftest.err
10602 rm -f conftest.er1
10603 cat conftest.err >&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); } >/dev/null; then
10606 if test -s conftest.err; then
10607 ac_cpp_err=$ac_c_preproc_warn_flag
10608 else
10609 ac_cpp_err=
10610 fi
10611 else
10612 ac_cpp_err=yes
10613 fi
10614 if test -z "$ac_cpp_err"; then
10615 :
10616 else
10617 echo "$as_me: failed program was:" >&5
10618 sed 's/^/| /' conftest.$ac_ext >&5
10619
10620 # Broken: fails on valid input.
10621 continue
10622 fi
10623 rm -f conftest.err conftest.$ac_ext
10624
10625 # OK, works on sane cases. Now check whether non-existent headers
10626 # can be detected and how.
10627 cat >conftest.$ac_ext <<_ACEOF
10628 #line $LINENO "configure"
10629 /* confdefs.h. */
10630 _ACEOF
10631 cat confdefs.h >>conftest.$ac_ext
10632 cat >>conftest.$ac_ext <<_ACEOF
10633 /* end confdefs.h. */
10634 #include <ac_nonexistent.h>
10635 _ACEOF
10636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10638 ac_status=$?
10639 grep -v '^ *+' conftest.er1 >conftest.err
10640 rm -f conftest.er1
10641 cat conftest.err >&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); } >/dev/null; then
10644 if test -s conftest.err; then
10645 ac_cpp_err=$ac_c_preproc_warn_flag
10646 else
10647 ac_cpp_err=
10648 fi
10649 else
10650 ac_cpp_err=yes
10651 fi
10652 if test -z "$ac_cpp_err"; then
10653 # Broken: success on invalid input.
10654 continue
10655 else
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.$ac_ext >&5
10658
10659 # Passes both tests.
10660 ac_preproc_ok=:
10661 break
10662 fi
10663 rm -f conftest.err conftest.$ac_ext
10664
10665 done
10666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10667 rm -f conftest.err conftest.$ac_ext
10668 if $ac_preproc_ok; then
10669 break
10670 fi
10671
10672 done
10673 ac_cv_prog_CPP=$CPP
10674
10675 fi
10676 CPP=$ac_cv_prog_CPP
10677 else
10678 ac_cv_prog_CPP=$CPP
10679 fi
10680 echo "$as_me:$LINENO: result: $CPP" >&5
10681 echo "${ECHO_T}$CPP" >&6
10682 ac_preproc_ok=false
10683 for ac_c_preproc_warn_flag in '' yes
10684 do
10685 # Use a header file that comes with gcc, so configuring glibc
10686 # with a fresh cross-compiler works.
10687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10688 # <limits.h> exists even on freestanding compilers.
10689 # On the NeXT, cc -E runs the code through the compiler's parser,
10690 # not just through cpp. "Syntax error" is here to catch this case.
10691 cat >conftest.$ac_ext <<_ACEOF
10692 #line $LINENO "configure"
10693 /* confdefs.h. */
10694 _ACEOF
10695 cat confdefs.h >>conftest.$ac_ext
10696 cat >>conftest.$ac_ext <<_ACEOF
10697 /* end confdefs.h. */
10698 #ifdef __STDC__
10699 # include <limits.h>
10700 #else
10701 # include <assert.h>
10702 #endif
10703 Syntax error
10704 _ACEOF
10705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10707 ac_status=$?
10708 grep -v '^ *+' conftest.er1 >conftest.err
10709 rm -f conftest.er1
10710 cat conftest.err >&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); } >/dev/null; then
10713 if test -s conftest.err; then
10714 ac_cpp_err=$ac_c_preproc_warn_flag
10715 else
10716 ac_cpp_err=
10717 fi
10718 else
10719 ac_cpp_err=yes
10720 fi
10721 if test -z "$ac_cpp_err"; then
10722 :
10723 else
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.$ac_ext >&5
10726
10727 # Broken: fails on valid input.
10728 continue
10729 fi
10730 rm -f conftest.err conftest.$ac_ext
10731
10732 # OK, works on sane cases. Now check whether non-existent headers
10733 # can be detected and how.
10734 cat >conftest.$ac_ext <<_ACEOF
10735 #line $LINENO "configure"
10736 /* confdefs.h. */
10737 _ACEOF
10738 cat confdefs.h >>conftest.$ac_ext
10739 cat >>conftest.$ac_ext <<_ACEOF
10740 /* end confdefs.h. */
10741 #include <ac_nonexistent.h>
10742 _ACEOF
10743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10745 ac_status=$?
10746 grep -v '^ *+' conftest.er1 >conftest.err
10747 rm -f conftest.er1
10748 cat conftest.err >&5
10749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 (exit $ac_status); } >/dev/null; then
10751 if test -s conftest.err; then
10752 ac_cpp_err=$ac_c_preproc_warn_flag
10753 else
10754 ac_cpp_err=
10755 fi
10756 else
10757 ac_cpp_err=yes
10758 fi
10759 if test -z "$ac_cpp_err"; then
10760 # Broken: success on invalid input.
10761 continue
10762 else
10763 echo "$as_me: failed program was:" >&5
10764 sed 's/^/| /' conftest.$ac_ext >&5
10765
10766 # Passes both tests.
10767 ac_preproc_ok=:
10768 break
10769 fi
10770 rm -f conftest.err conftest.$ac_ext
10771
10772 done
10773 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10774 rm -f conftest.err conftest.$ac_ext
10775 if $ac_preproc_ok; then
10776 :
10777 else
10778 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10779 See \`config.log' for more details." >&5
10780 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10781 See \`config.log' for more details." >&2;}
10782 { (exit 1); exit 1; }; }
10783 fi
10784
10785 ac_ext=c
10786 ac_cpp='$CPP $CPPFLAGS'
10787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10790
10791
10792 echo "$as_me:$LINENO: checking for egrep" >&5
10793 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10794 if test "${ac_cv_prog_egrep+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 else
10797 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10798 then ac_cv_prog_egrep='grep -E'
10799 else ac_cv_prog_egrep='egrep'
10800 fi
10801 fi
10802 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10803 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10804 EGREP=$ac_cv_prog_egrep
10805
10806
10807 if test $ac_cv_c_compiler_gnu = yes; then
10808 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10809 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10810 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10811 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 else
10813 ac_pattern="Autoconf.*'x'"
10814 cat >conftest.$ac_ext <<_ACEOF
10815 #line $LINENO "configure"
10816 /* confdefs.h. */
10817 _ACEOF
10818 cat confdefs.h >>conftest.$ac_ext
10819 cat >>conftest.$ac_ext <<_ACEOF
10820 /* end confdefs.h. */
10821 #include <sgtty.h>
10822 Autoconf TIOCGETP
10823 _ACEOF
10824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10825 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10826 ac_cv_prog_gcc_traditional=yes
10827 else
10828 ac_cv_prog_gcc_traditional=no
10829 fi
10830 rm -f conftest*
10831
10832
10833 if test $ac_cv_prog_gcc_traditional = no; then
10834 cat >conftest.$ac_ext <<_ACEOF
10835 #line $LINENO "configure"
10836 /* confdefs.h. */
10837 _ACEOF
10838 cat confdefs.h >>conftest.$ac_ext
10839 cat >>conftest.$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10841 #include <termio.h>
10842 Autoconf TCGETA
10843 _ACEOF
10844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10845 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10846 ac_cv_prog_gcc_traditional=yes
10847 fi
10848 rm -f conftest*
10849
10850 fi
10851 fi
10852 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10853 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10854 if test $ac_cv_prog_gcc_traditional = yes; then
10855 CC="$CC -traditional"
10856 fi
10857 fi
10858
10859
10860
10861
10862 ac_ext=cc
10863 ac_cpp='$CXXCPP $CPPFLAGS'
10864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10867
10868
10869 CXXFLAGS=${CXXFLAGS:=}
10870 ac_ext=cc
10871 ac_cpp='$CXXCPP $CPPFLAGS'
10872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10875 if test -n "$ac_tool_prefix"; then
10876 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10877 do
10878 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10879 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10880 echo "$as_me:$LINENO: checking for $ac_word" >&5
10881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10882 if test "${ac_cv_prog_CXX+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 else
10885 if test -n "$CXX"; then
10886 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10887 else
10888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10889 for as_dir in $PATH
10890 do
10891 IFS=$as_save_IFS
10892 test -z "$as_dir" && as_dir=.
10893 for ac_exec_ext in '' $ac_executable_extensions; do
10894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10895 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 break 2
10898 fi
10899 done
10900 done
10901
10902 fi
10903 fi
10904 CXX=$ac_cv_prog_CXX
10905 if test -n "$CXX"; then
10906 echo "$as_me:$LINENO: result: $CXX" >&5
10907 echo "${ECHO_T}$CXX" >&6
10908 else
10909 echo "$as_me:$LINENO: result: no" >&5
10910 echo "${ECHO_T}no" >&6
10911 fi
10912
10913 test -n "$CXX" && break
10914 done
10915 fi
10916 if test -z "$CXX"; then
10917 ac_ct_CXX=$CXX
10918 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10919 do
10920 # Extract the first word of "$ac_prog", so it can be a program name with args.
10921 set dummy $ac_prog; ac_word=$2
10922 echo "$as_me:$LINENO: checking for $ac_word" >&5
10923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10924 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10926 else
10927 if test -n "$ac_ct_CXX"; then
10928 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10929 else
10930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10931 for as_dir in $PATH
10932 do
10933 IFS=$as_save_IFS
10934 test -z "$as_dir" && as_dir=.
10935 for ac_exec_ext in '' $ac_executable_extensions; do
10936 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10937 ac_cv_prog_ac_ct_CXX="$ac_prog"
10938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10939 break 2
10940 fi
10941 done
10942 done
10943
10944 fi
10945 fi
10946 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10947 if test -n "$ac_ct_CXX"; then
10948 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10949 echo "${ECHO_T}$ac_ct_CXX" >&6
10950 else
10951 echo "$as_me:$LINENO: result: no" >&5
10952 echo "${ECHO_T}no" >&6
10953 fi
10954
10955 test -n "$ac_ct_CXX" && break
10956 done
10957 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10958
10959 CXX=$ac_ct_CXX
10960 fi
10961
10962
10963 # Provide some information about the compiler.
10964 echo "$as_me:$LINENO:" \
10965 "checking for C++ compiler version" >&5
10966 ac_compiler=`set X $ac_compile; echo $2`
10967 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10968 (eval $ac_compiler --version </dev/null >&5) 2>&5
10969 ac_status=$?
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); }
10972 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10973 (eval $ac_compiler -v </dev/null >&5) 2>&5
10974 ac_status=$?
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }
10977 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10978 (eval $ac_compiler -V </dev/null >&5) 2>&5
10979 ac_status=$?
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); }
10982
10983 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10984 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10985 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10986 echo $ECHO_N "(cached) $ECHO_C" >&6
10987 else
10988 cat >conftest.$ac_ext <<_ACEOF
10989 #line $LINENO "configure"
10990 /* confdefs.h. */
10991 _ACEOF
10992 cat confdefs.h >>conftest.$ac_ext
10993 cat >>conftest.$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
10995
10996 int
10997 main ()
10998 {
10999 #ifndef __GNUC__
11000 choke me
11001 #endif
11002
11003 ;
11004 return 0;
11005 }
11006 _ACEOF
11007 rm -f conftest.$ac_objext
11008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11009 (eval $ac_compile) 2>&5
11010 ac_status=$?
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
11013 { ac_try='test -s conftest.$ac_objext'
11014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11015 (eval $ac_try) 2>&5
11016 ac_status=$?
11017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11018 (exit $ac_status); }; }; then
11019 ac_compiler_gnu=yes
11020 else
11021 echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.$ac_ext >&5
11023
11024 ac_compiler_gnu=no
11025 fi
11026 rm -f conftest.$ac_objext conftest.$ac_ext
11027 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11028
11029 fi
11030 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11031 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11032 GXX=`test $ac_compiler_gnu = yes && echo yes`
11033 ac_test_CXXFLAGS=${CXXFLAGS+set}
11034 ac_save_CXXFLAGS=$CXXFLAGS
11035 CXXFLAGS="-g"
11036 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11037 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11038 if test "${ac_cv_prog_cxx_g+set}" = set; then
11039 echo $ECHO_N "(cached) $ECHO_C" >&6
11040 else
11041 cat >conftest.$ac_ext <<_ACEOF
11042 #line $LINENO "configure"
11043 /* confdefs.h. */
11044 _ACEOF
11045 cat confdefs.h >>conftest.$ac_ext
11046 cat >>conftest.$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11048
11049 int
11050 main ()
11051 {
11052
11053 ;
11054 return 0;
11055 }
11056 _ACEOF
11057 rm -f conftest.$ac_objext
11058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11059 (eval $ac_compile) 2>&5
11060 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); } &&
11063 { ac_try='test -s conftest.$ac_objext'
11064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11065 (eval $ac_try) 2>&5
11066 ac_status=$?
11067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11068 (exit $ac_status); }; }; then
11069 ac_cv_prog_cxx_g=yes
11070 else
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11073
11074 ac_cv_prog_cxx_g=no
11075 fi
11076 rm -f conftest.$ac_objext conftest.$ac_ext
11077 fi
11078 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11079 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11080 if test "$ac_test_CXXFLAGS" = set; then
11081 CXXFLAGS=$ac_save_CXXFLAGS
11082 elif test $ac_cv_prog_cxx_g = yes; then
11083 if test "$GXX" = yes; then
11084 CXXFLAGS="-g -O2"
11085 else
11086 CXXFLAGS="-g"
11087 fi
11088 else
11089 if test "$GXX" = yes; then
11090 CXXFLAGS="-O2"
11091 else
11092 CXXFLAGS=
11093 fi
11094 fi
11095 for ac_declaration in \
11096 ''\
11097 '#include <stdlib.h>' \
11098 'extern "C" void std::exit (int) throw (); using std::exit;' \
11099 'extern "C" void std::exit (int); using std::exit;' \
11100 'extern "C" void exit (int) throw ();' \
11101 'extern "C" void exit (int);' \
11102 'void exit (int);'
11103 do
11104 cat >conftest.$ac_ext <<_ACEOF
11105 #line $LINENO "configure"
11106 /* confdefs.h. */
11107 _ACEOF
11108 cat confdefs.h >>conftest.$ac_ext
11109 cat >>conftest.$ac_ext <<_ACEOF
11110 /* end confdefs.h. */
11111 #include <stdlib.h>
11112 $ac_declaration
11113 int
11114 main ()
11115 {
11116 exit (42);
11117 ;
11118 return 0;
11119 }
11120 _ACEOF
11121 rm -f conftest.$ac_objext
11122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11123 (eval $ac_compile) 2>&5
11124 ac_status=$?
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } &&
11127 { ac_try='test -s conftest.$ac_objext'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11130 ac_status=$?
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; }; then
11133 :
11134 else
11135 echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.$ac_ext >&5
11137
11138 continue
11139 fi
11140 rm -f conftest.$ac_objext conftest.$ac_ext
11141 cat >conftest.$ac_ext <<_ACEOF
11142 #line $LINENO "configure"
11143 /* confdefs.h. */
11144 _ACEOF
11145 cat confdefs.h >>conftest.$ac_ext
11146 cat >>conftest.$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11148 $ac_declaration
11149 int
11150 main ()
11151 {
11152 exit (42);
11153 ;
11154 return 0;
11155 }
11156 _ACEOF
11157 rm -f conftest.$ac_objext
11158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11159 (eval $ac_compile) 2>&5
11160 ac_status=$?
11161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11162 (exit $ac_status); } &&
11163 { ac_try='test -s conftest.$ac_objext'
11164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11165 (eval $ac_try) 2>&5
11166 ac_status=$?
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); }; }; then
11169 break
11170 else
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.$ac_ext >&5
11173
11174 fi
11175 rm -f conftest.$ac_objext conftest.$ac_ext
11176 done
11177 rm -f conftest*
11178 if test -n "$ac_declaration"; then
11179 echo '#ifdef __cplusplus' >>confdefs.h
11180 echo $ac_declaration >>confdefs.h
11181 echo '#endif' >>confdefs.h
11182 fi
11183
11184 ac_ext=cc
11185 ac_cpp='$CXXCPP $CPPFLAGS'
11186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11189
11190
11191 ac_ext=c
11192 ac_cpp='$CPP $CPPFLAGS'
11193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11196
11197
11198 if test -n "$ac_tool_prefix"; then
11199 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11200 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11201 echo "$as_me:$LINENO: checking for $ac_word" >&5
11202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11203 if test "${ac_cv_prog_RANLIB+set}" = set; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11205 else
11206 if test -n "$RANLIB"; then
11207 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11208 else
11209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11210 for as_dir in $PATH
11211 do
11212 IFS=$as_save_IFS
11213 test -z "$as_dir" && as_dir=.
11214 for ac_exec_ext in '' $ac_executable_extensions; do
11215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11216 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11218 break 2
11219 fi
11220 done
11221 done
11222
11223 fi
11224 fi
11225 RANLIB=$ac_cv_prog_RANLIB
11226 if test -n "$RANLIB"; then
11227 echo "$as_me:$LINENO: result: $RANLIB" >&5
11228 echo "${ECHO_T}$RANLIB" >&6
11229 else
11230 echo "$as_me:$LINENO: result: no" >&5
11231 echo "${ECHO_T}no" >&6
11232 fi
11233
11234 fi
11235 if test -z "$ac_cv_prog_RANLIB"; then
11236 ac_ct_RANLIB=$RANLIB
11237 # Extract the first word of "ranlib", so it can be a program name with args.
11238 set dummy ranlib; ac_word=$2
11239 echo "$as_me:$LINENO: checking for $ac_word" >&5
11240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11244 if test -n "$ac_ct_RANLIB"; then
11245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11246 else
11247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11248 for as_dir in $PATH
11249 do
11250 IFS=$as_save_IFS
11251 test -z "$as_dir" && as_dir=.
11252 for ac_exec_ext in '' $ac_executable_extensions; do
11253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11254 ac_cv_prog_ac_ct_RANLIB="ranlib"
11255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11256 break 2
11257 fi
11258 done
11259 done
11260
11261 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11262 fi
11263 fi
11264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11265 if test -n "$ac_ct_RANLIB"; then
11266 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11267 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11268 else
11269 echo "$as_me:$LINENO: result: no" >&5
11270 echo "${ECHO_T}no" >&6
11271 fi
11272
11273 RANLIB=$ac_ct_RANLIB
11274 else
11275 RANLIB="$ac_cv_prog_RANLIB"
11276 fi
11277
11278
11279 # Extract the first word of "ar", so it can be a program name with args.
11280 set dummy ar; ac_word=$2
11281 echo "$as_me:$LINENO: checking for $ac_word" >&5
11282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11283 if test "${ac_cv_prog_AR+set}" = set; then
11284 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 else
11286 if test -n "$AR"; then
11287 ac_cv_prog_AR="$AR" # Let the user override the test.
11288 else
11289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11290 for as_dir in $PATH
11291 do
11292 IFS=$as_save_IFS
11293 test -z "$as_dir" && as_dir=.
11294 for ac_exec_ext in '' $ac_executable_extensions; do
11295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11296 ac_cv_prog_AR="ar"
11297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11298 break 2
11299 fi
11300 done
11301 done
11302
11303 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11304 fi
11305 fi
11306 AR=$ac_cv_prog_AR
11307 if test -n "$AR"; then
11308 echo "$as_me:$LINENO: result: $AR" >&5
11309 echo "${ECHO_T}$AR" >&6
11310 else
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11313 fi
11314
11315
11316 # Find a good install program. We prefer a C program (faster),
11317 # so one script is as good as another. But avoid the broken or
11318 # incompatible versions:
11319 # SysV /etc/install, /usr/sbin/install
11320 # SunOS /usr/etc/install
11321 # IRIX /sbin/install
11322 # AIX /bin/install
11323 # AmigaOS /C/install, which installs bootblocks on floppy discs
11324 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11325 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11326 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11327 # ./install, which can be erroneously created by make from ./install.sh.
11328 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11329 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11330 if test -z "$INSTALL"; then
11331 if test "${ac_cv_path_install+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 else
11334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11335 for as_dir in $PATH
11336 do
11337 IFS=$as_save_IFS
11338 test -z "$as_dir" && as_dir=.
11339 # Account for people who put trailing slashes in PATH elements.
11340 case $as_dir/ in
11341 ./ | .// | /cC/* | \
11342 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11343 /usr/ucb/* ) ;;
11344 *)
11345 # OSF1 and SCO ODT 3.0 have their own names for install.
11346 # Don't use installbsd from OSF since it installs stuff as root
11347 # by default.
11348 for ac_prog in ginstall scoinst install; do
11349 for ac_exec_ext in '' $ac_executable_extensions; do
11350 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11351 if test $ac_prog = install &&
11352 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11353 # AIX install. It has an incompatible calling convention.
11354 :
11355 elif test $ac_prog = install &&
11356 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11357 # program-specific install script used by HP pwplus--don't use.
11358 :
11359 else
11360 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11361 break 3
11362 fi
11363 fi
11364 done
11365 done
11366 ;;
11367 esac
11368 done
11369
11370
11371 fi
11372 if test "${ac_cv_path_install+set}" = set; then
11373 INSTALL=$ac_cv_path_install
11374 else
11375 # As a last resort, use the slow shell script. We don't cache a
11376 # path for INSTALL within a source directory, because that will
11377 # break other packages using the cache if that directory is
11378 # removed, or if the path is relative.
11379 INSTALL=$ac_install_sh
11380 fi
11381 fi
11382 echo "$as_me:$LINENO: result: $INSTALL" >&5
11383 echo "${ECHO_T}$INSTALL" >&6
11384
11385 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11386 # It thinks the first close brace ends the variable substitution.
11387 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11388
11389 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11390
11391 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11392
11393
11394 case ${INSTALL} in
11395 /* ) # Absolute
11396 ;;
11397 ?:* ) # Drive letter, considered as absolute.
11398 ;;
11399 *)
11400 INSTALL=`pwd`/${INSTALL} ;;
11401 esac
11402
11403 case ${host} in
11404 *-hp-hpux* )
11405 INSTALL_DIR="mkdir"
11406 ;;
11407
11408 *) INSTALL_DIR="$INSTALL -d"
11409 ;;
11410 esac
11411
11412
11413 case "${host}" in
11414
11415 powerpc-*-darwin* )
11416 INSTALL_PROGRAM="cp -fp"
11417 INSTALL_DATA="cp -fp"
11418 ;;
11419 *)
11420 ;;
11421 esac
11422
11423 # Extract the first word of "strip", so it can be a program name with args.
11424 set dummy strip; ac_word=$2
11425 echo "$as_me:$LINENO: checking for $ac_word" >&5
11426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11427 if test "${ac_cv_prog_STRIP+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11429 else
11430 if test -n "$STRIP"; then
11431 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11432 else
11433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11434 for as_dir in $PATH
11435 do
11436 IFS=$as_save_IFS
11437 test -z "$as_dir" && as_dir=.
11438 for ac_exec_ext in '' $ac_executable_extensions; do
11439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11440 ac_cv_prog_STRIP="strip"
11441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11442 break 2
11443 fi
11444 done
11445 done
11446
11447 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11448 fi
11449 fi
11450 STRIP=$ac_cv_prog_STRIP
11451 if test -n "$STRIP"; then
11452 echo "$as_me:$LINENO: result: $STRIP" >&5
11453 echo "${ECHO_T}$STRIP" >&6
11454 else
11455 echo "$as_me:$LINENO: result: no" >&5
11456 echo "${ECHO_T}no" >&6
11457 fi
11458
11459
11460 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11461 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11462 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11463 echo $ECHO_N "(cached) $ECHO_C" >&6
11464 else
11465
11466 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11467 egrep -s GNU > /dev/null); then
11468 wx_cv_prog_makeisgnu="yes"
11469 else
11470 wx_cv_prog_makeisgnu="no"
11471 fi
11472
11473 fi
11474 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11475 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11476
11477 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11478 IF_GNU_MAKE=""
11479 else
11480 IF_GNU_MAKE="#"
11481 fi
11482
11483
11484
11485 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11486 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11487 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11488 if test "${wx_cv_prog_makevpath+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 else
11491
11492 cat - << EOF > confMake
11493 check : file
11494 cp \$? \$@
11495 cp \$? final_file
11496 EOF
11497
11498 if test ! -d sub ; then
11499 mkdir sub
11500 fi
11501 echo dummy > sub/file
11502 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11503 RESULT=$?
11504 rm -f sub/file check final_file confMake
11505 rmdir sub
11506 if test "$RESULT" = 0; then
11507 wx_cv_prog_makevpath="yes"
11508 else
11509 wx_cv_prog_makevpath="no"
11510 fi
11511
11512 fi
11513 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11514 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11515
11516 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11517 { { echo "$as_me:$LINENO: error:
11518 You need a make-utility that is able to use the variable
11519 VPATH correctly.
11520 If your version of make does not support VPATH correctly,
11521 please install GNU-make (possibly as gmake), and start
11522 configure with the following command:
11523 export MAKE=gmake; ./configure for sh-type shells
11524 setenv MAKE gmake; ./configure for csh-type shells
11525 Also please do remember to use gmake in this case every time
11526 you are trying to compile.
11527 " >&5
11528 echo "$as_me: error:
11529 You need a make-utility that is able to use the variable
11530 VPATH correctly.
11531 If your version of make does not support VPATH correctly,
11532 please install GNU-make (possibly as gmake), and start
11533 configure with the following command:
11534 export MAKE=gmake; ./configure for sh-type shells
11535 setenv MAKE gmake; ./configure for csh-type shells
11536 Also please do remember to use gmake in this case every time
11537 you are trying to compile.
11538 " >&2;}
11539 { (exit 1); exit 1; }; }
11540 fi fi
11541 for ac_prog in 'bison -y' byacc
11542 do
11543 # Extract the first word of "$ac_prog", so it can be a program name with args.
11544 set dummy $ac_prog; ac_word=$2
11545 echo "$as_me:$LINENO: checking for $ac_word" >&5
11546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11547 if test "${ac_cv_prog_YACC+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 else
11550 if test -n "$YACC"; then
11551 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11552 else
11553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11554 for as_dir in $PATH
11555 do
11556 IFS=$as_save_IFS
11557 test -z "$as_dir" && as_dir=.
11558 for ac_exec_ext in '' $ac_executable_extensions; do
11559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11560 ac_cv_prog_YACC="$ac_prog"
11561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11562 break 2
11563 fi
11564 done
11565 done
11566
11567 fi
11568 fi
11569 YACC=$ac_cv_prog_YACC
11570 if test -n "$YACC"; then
11571 echo "$as_me:$LINENO: result: $YACC" >&5
11572 echo "${ECHO_T}$YACC" >&6
11573 else
11574 echo "$as_me:$LINENO: result: no" >&5
11575 echo "${ECHO_T}no" >&6
11576 fi
11577
11578 test -n "$YACC" && break
11579 done
11580 test -n "$YACC" || YACC="yacc"
11581
11582
11583 for ac_prog in flex lex
11584 do
11585 # Extract the first word of "$ac_prog", so it can be a program name with args.
11586 set dummy $ac_prog; ac_word=$2
11587 echo "$as_me:$LINENO: checking for $ac_word" >&5
11588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11589 if test "${ac_cv_prog_LEX+set}" = set; then
11590 echo $ECHO_N "(cached) $ECHO_C" >&6
11591 else
11592 if test -n "$LEX"; then
11593 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11594 else
11595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596 for as_dir in $PATH
11597 do
11598 IFS=$as_save_IFS
11599 test -z "$as_dir" && as_dir=.
11600 for ac_exec_ext in '' $ac_executable_extensions; do
11601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11602 ac_cv_prog_LEX="$ac_prog"
11603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11604 break 2
11605 fi
11606 done
11607 done
11608
11609 fi
11610 fi
11611 LEX=$ac_cv_prog_LEX
11612 if test -n "$LEX"; then
11613 echo "$as_me:$LINENO: result: $LEX" >&5
11614 echo "${ECHO_T}$LEX" >&6
11615 else
11616 echo "$as_me:$LINENO: result: no" >&5
11617 echo "${ECHO_T}no" >&6
11618 fi
11619
11620 test -n "$LEX" && break
11621 done
11622 test -n "$LEX" || LEX=":"
11623
11624 if test -z "$LEXLIB"
11625 then
11626 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11627 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11628 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11630 else
11631 ac_check_lib_save_LIBS=$LIBS
11632 LIBS="-lfl $LIBS"
11633 cat >conftest.$ac_ext <<_ACEOF
11634 #line $LINENO "configure"
11635 /* confdefs.h. */
11636 _ACEOF
11637 cat confdefs.h >>conftest.$ac_ext
11638 cat >>conftest.$ac_ext <<_ACEOF
11639 /* end confdefs.h. */
11640
11641 /* Override any gcc2 internal prototype to avoid an error. */
11642 #ifdef __cplusplus
11643 extern "C"
11644 #endif
11645 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11647 char yywrap ();
11648 int
11649 main ()
11650 {
11651 yywrap ();
11652 ;
11653 return 0;
11654 }
11655 _ACEOF
11656 rm -f conftest.$ac_objext conftest$ac_exeext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11658 (eval $ac_link) 2>&5
11659 ac_status=$?
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } &&
11662 { ac_try='test -s conftest$ac_exeext'
11663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11664 (eval $ac_try) 2>&5
11665 ac_status=$?
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); }; }; then
11668 ac_cv_lib_fl_yywrap=yes
11669 else
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11672
11673 ac_cv_lib_fl_yywrap=no
11674 fi
11675 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11676 LIBS=$ac_check_lib_save_LIBS
11677 fi
11678 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11679 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11680 if test $ac_cv_lib_fl_yywrap = yes; then
11681 LEXLIB="-lfl"
11682 else
11683 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11684 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11685 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11686 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 else
11688 ac_check_lib_save_LIBS=$LIBS
11689 LIBS="-ll $LIBS"
11690 cat >conftest.$ac_ext <<_ACEOF
11691 #line $LINENO "configure"
11692 /* confdefs.h. */
11693 _ACEOF
11694 cat confdefs.h >>conftest.$ac_ext
11695 cat >>conftest.$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11697
11698 /* Override any gcc2 internal prototype to avoid an error. */
11699 #ifdef __cplusplus
11700 extern "C"
11701 #endif
11702 /* We use char because int might match the return type of a gcc2
11703 builtin and then its argument prototype would still apply. */
11704 char yywrap ();
11705 int
11706 main ()
11707 {
11708 yywrap ();
11709 ;
11710 return 0;
11711 }
11712 _ACEOF
11713 rm -f conftest.$ac_objext conftest$ac_exeext
11714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11715 (eval $ac_link) 2>&5
11716 ac_status=$?
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); } &&
11719 { ac_try='test -s conftest$ac_exeext'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11722 ac_status=$?
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; }; then
11725 ac_cv_lib_l_yywrap=yes
11726 else
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.$ac_ext >&5
11729
11730 ac_cv_lib_l_yywrap=no
11731 fi
11732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_lib_save_LIBS
11734 fi
11735 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11736 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11737 if test $ac_cv_lib_l_yywrap = yes; then
11738 LEXLIB="-ll"
11739 fi
11740
11741 fi
11742
11743 fi
11744
11745 if test "x$LEX" != "x:"; then
11746 echo "$as_me:$LINENO: checking lex output file root" >&5
11747 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11748 if test "${ac_cv_prog_lex_root+set}" = set; then
11749 echo $ECHO_N "(cached) $ECHO_C" >&6
11750 else
11751 # The minimal lex program is just a single line: %%. But some broken lexes
11752 # (Solaris, I think it was) want two %% lines, so accommodate them.
11753 cat >conftest.l <<_ACEOF
11754 %%
11755 %%
11756 _ACEOF
11757 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11758 (eval $LEX conftest.l) 2>&5
11759 ac_status=$?
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }
11762 if test -f lex.yy.c; then
11763 ac_cv_prog_lex_root=lex.yy
11764 elif test -f lexyy.c; then
11765 ac_cv_prog_lex_root=lexyy
11766 else
11767 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11768 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11769 { (exit 1); exit 1; }; }
11770 fi
11771 fi
11772 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11773 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11774 rm -f conftest.l
11775 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11776
11777 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11778 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11779 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 else
11782 # POSIX says lex can declare yytext either as a pointer or an array; the
11783 # default is implementation-dependent. Figure out which it is, since
11784 # not all implementations provide the %pointer and %array declarations.
11785 ac_cv_prog_lex_yytext_pointer=no
11786 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11787 ac_save_LIBS=$LIBS
11788 LIBS="$LIBS $LEXLIB"
11789 cat >conftest.$ac_ext <<_ACEOF
11790 `cat $LEX_OUTPUT_ROOT.c`
11791 _ACEOF
11792 rm -f conftest.$ac_objext conftest$ac_exeext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11794 (eval $ac_link) 2>&5
11795 ac_status=$?
11796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 (exit $ac_status); } &&
11798 { ac_try='test -s conftest$ac_exeext'
11799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11800 (eval $ac_try) 2>&5
11801 ac_status=$?
11802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); }; }; then
11804 ac_cv_prog_lex_yytext_pointer=yes
11805 else
11806 echo "$as_me: failed program was:" >&5
11807 sed 's/^/| /' conftest.$ac_ext >&5
11808
11809 fi
11810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_save_LIBS
11812 rm -f "${LEX_OUTPUT_ROOT}.c"
11813
11814 fi
11815 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11816 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11817 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11818
11819 cat >>confdefs.h <<\_ACEOF
11820 #define YYTEXT_POINTER 1
11821 _ACEOF
11822
11823 fi
11824
11825 fi
11826
11827 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11828 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11829 LN_S=$as_ln_s
11830 if test "$LN_S" = "ln -s"; then
11831 echo "$as_me:$LINENO: result: yes" >&5
11832 echo "${ECHO_T}yes" >&6
11833 else
11834 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11835 echo "${ECHO_T}no, using $LN_S" >&6
11836 fi
11837
11838
11839 case "${host}" in
11840 *-pc-os2_emx | *-pc-os2-emx )
11841 LIBS="$LIBS -lstdcpp"
11842 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11843 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11844 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11845 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11846 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 else
11848 ac_check_lib_save_LIBS=$LIBS
11849 LIBS="-lcExt $LIBS"
11850 cat >conftest.$ac_ext <<_ACEOF
11851 #line $LINENO "configure"
11852 /* confdefs.h. */
11853 _ACEOF
11854 cat confdefs.h >>conftest.$ac_ext
11855 cat >>conftest.$ac_ext <<_ACEOF
11856 /* end confdefs.h. */
11857
11858 /* Override any gcc2 internal prototype to avoid an error. */
11859 #ifdef __cplusplus
11860 extern "C"
11861 #endif
11862 /* We use char because int might match the return type of a gcc2
11863 builtin and then its argument prototype would still apply. */
11864 char drand48 ();
11865 int
11866 main ()
11867 {
11868 drand48 ();
11869 ;
11870 return 0;
11871 }
11872 _ACEOF
11873 rm -f conftest.$ac_objext conftest$ac_exeext
11874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11875 (eval $ac_link) 2>&5
11876 ac_status=$?
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } &&
11879 { ac_try='test -s conftest$ac_exeext'
11880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11881 (eval $ac_try) 2>&5
11882 ac_status=$?
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); }; }; then
11885 ac_cv_lib_cExt_drand48=yes
11886 else
11887 echo "$as_me: failed program was:" >&5
11888 sed 's/^/| /' conftest.$ac_ext >&5
11889
11890 ac_cv_lib_cExt_drand48=no
11891 fi
11892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11894 fi
11895 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11896 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11897 if test $ac_cv_lib_cExt_drand48 = yes; then
11898 LIBS="$LIBS -lcExt"
11899 fi
11900
11901 else
11902 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11903 fi
11904 ;;
11905 esac
11906
11907
11908 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11909 echo "$as_me:$LINENO: checking for strings.h" >&5
11910 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11911 if test "${ac_cv_header_strings_h+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 else
11914 ac_cv_header_strings_h=no
11915 fi
11916 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11917 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11918 if test "$ac_cv_header_strings_h" = "no"; then
11919 echo "$as_me:$LINENO: result: forced no into cache" >&5
11920 echo "${ECHO_T}forced no into cache" >&6
11921 else
11922 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11923 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11924 fi
11925 fi
11926 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11927 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11928 if test "${ac_cv_header_stdc+set}" = set; then
11929 echo $ECHO_N "(cached) $ECHO_C" >&6
11930 else
11931 cat >conftest.$ac_ext <<_ACEOF
11932 #line $LINENO "configure"
11933 /* confdefs.h. */
11934 _ACEOF
11935 cat confdefs.h >>conftest.$ac_ext
11936 cat >>conftest.$ac_ext <<_ACEOF
11937 /* end confdefs.h. */
11938 #include <stdlib.h>
11939 #include <stdarg.h>
11940 #include <string.h>
11941 #include <float.h>
11942
11943 int
11944 main ()
11945 {
11946
11947 ;
11948 return 0;
11949 }
11950 _ACEOF
11951 rm -f conftest.$ac_objext
11952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11953 (eval $ac_compile) 2>&5
11954 ac_status=$?
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try='test -s conftest.$ac_objext'
11958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11959 (eval $ac_try) 2>&5
11960 ac_status=$?
11961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962 (exit $ac_status); }; }; then
11963 ac_cv_header_stdc=yes
11964 else
11965 echo "$as_me: failed program was:" >&5
11966 sed 's/^/| /' conftest.$ac_ext >&5
11967
11968 ac_cv_header_stdc=no
11969 fi
11970 rm -f conftest.$ac_objext conftest.$ac_ext
11971
11972 if test $ac_cv_header_stdc = yes; then
11973 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11974 cat >conftest.$ac_ext <<_ACEOF
11975 #line $LINENO "configure"
11976 /* confdefs.h. */
11977 _ACEOF
11978 cat confdefs.h >>conftest.$ac_ext
11979 cat >>conftest.$ac_ext <<_ACEOF
11980 /* end confdefs.h. */
11981 #include <string.h>
11982
11983 _ACEOF
11984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11985 $EGREP "memchr" >/dev/null 2>&1; then
11986 :
11987 else
11988 ac_cv_header_stdc=no
11989 fi
11990 rm -f conftest*
11991
11992 fi
11993
11994 if test $ac_cv_header_stdc = yes; then
11995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11996 cat >conftest.$ac_ext <<_ACEOF
11997 #line $LINENO "configure"
11998 /* confdefs.h. */
11999 _ACEOF
12000 cat confdefs.h >>conftest.$ac_ext
12001 cat >>conftest.$ac_ext <<_ACEOF
12002 /* end confdefs.h. */
12003 #include <stdlib.h>
12004
12005 _ACEOF
12006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12007 $EGREP "free" >/dev/null 2>&1; then
12008 :
12009 else
12010 ac_cv_header_stdc=no
12011 fi
12012 rm -f conftest*
12013
12014 fi
12015
12016 if test $ac_cv_header_stdc = yes; then
12017 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12018 if test "$cross_compiling" = yes; then
12019 :
12020 else
12021 cat >conftest.$ac_ext <<_ACEOF
12022 #line $LINENO "configure"
12023 /* confdefs.h. */
12024 _ACEOF
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h. */
12028 #include <ctype.h>
12029 #if ((' ' & 0x0FF) == 0x020)
12030 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12031 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12032 #else
12033 # define ISLOWER(c) \
12034 (('a' <= (c) && (c) <= 'i') \
12035 || ('j' <= (c) && (c) <= 'r') \
12036 || ('s' <= (c) && (c) <= 'z'))
12037 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12038 #endif
12039
12040 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12041 int
12042 main ()
12043 {
12044 int i;
12045 for (i = 0; i < 256; i++)
12046 if (XOR (islower (i), ISLOWER (i))
12047 || toupper (i) != TOUPPER (i))
12048 exit(2);
12049 exit (0);
12050 }
12051 _ACEOF
12052 rm -f conftest$ac_exeext
12053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12054 (eval $ac_link) 2>&5
12055 ac_status=$?
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12060 ac_status=$?
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; }; then
12063 :
12064 else
12065 echo "$as_me: program exited with status $ac_status" >&5
12066 echo "$as_me: failed program was:" >&5
12067 sed 's/^/| /' conftest.$ac_ext >&5
12068
12069 ( exit $ac_status )
12070 ac_cv_header_stdc=no
12071 fi
12072 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12073 fi
12074 fi
12075 fi
12076 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12077 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12078 if test $ac_cv_header_stdc = yes; then
12079
12080 cat >>confdefs.h <<\_ACEOF
12081 #define STDC_HEADERS 1
12082 _ACEOF
12083
12084 fi
12085
12086 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12097 inttypes.h stdint.h unistd.h
12098 do
12099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12100 echo "$as_me:$LINENO: checking for $ac_header" >&5
12101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12103 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 else
12105 cat >conftest.$ac_ext <<_ACEOF
12106 #line $LINENO "configure"
12107 /* confdefs.h. */
12108 _ACEOF
12109 cat confdefs.h >>conftest.$ac_ext
12110 cat >>conftest.$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12112 $ac_includes_default
12113
12114 #include <$ac_header>
12115 _ACEOF
12116 rm -f conftest.$ac_objext
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } &&
12122 { ac_try='test -s conftest.$ac_objext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12125 ac_status=$?
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 eval "$as_ac_Header=yes"
12129 else
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12132
12133 eval "$as_ac_Header=no"
12134 fi
12135 rm -f conftest.$ac_objext conftest.$ac_ext
12136 fi
12137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12140 cat >>confdefs.h <<_ACEOF
12141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12142 _ACEOF
12143
12144 fi
12145
12146 done
12147
12148
12149
12150 for ac_header in strings.h
12151 do
12152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12154 echo "$as_me:$LINENO: checking for $ac_header" >&5
12155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12157 echo $ECHO_N "(cached) $ECHO_C" >&6
12158 fi
12159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12161 else
12162 # Is the header compilable?
12163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12165 cat >conftest.$ac_ext <<_ACEOF
12166 #line $LINENO "configure"
12167 /* confdefs.h. */
12168 _ACEOF
12169 cat confdefs.h >>conftest.$ac_ext
12170 cat >>conftest.$ac_ext <<_ACEOF
12171 /* end confdefs.h. */
12172 $ac_includes_default
12173 #include <$ac_header>
12174 _ACEOF
12175 rm -f conftest.$ac_objext
12176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12177 (eval $ac_compile) 2>&5
12178 ac_status=$?
12179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 (exit $ac_status); } &&
12181 { ac_try='test -s conftest.$ac_objext'
12182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12183 (eval $ac_try) 2>&5
12184 ac_status=$?
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); }; }; then
12187 ac_header_compiler=yes
12188 else
12189 echo "$as_me: failed program was:" >&5
12190 sed 's/^/| /' conftest.$ac_ext >&5
12191
12192 ac_header_compiler=no
12193 fi
12194 rm -f conftest.$ac_objext conftest.$ac_ext
12195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12196 echo "${ECHO_T}$ac_header_compiler" >&6
12197
12198 # Is the header present?
12199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12201 cat >conftest.$ac_ext <<_ACEOF
12202 #line $LINENO "configure"
12203 /* confdefs.h. */
12204 _ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 #include <$ac_header>
12209 _ACEOF
12210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12212 ac_status=$?
12213 grep -v '^ *+' conftest.er1 >conftest.err
12214 rm -f conftest.er1
12215 cat conftest.err >&5
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } >/dev/null; then
12218 if test -s conftest.err; then
12219 ac_cpp_err=$ac_c_preproc_warn_flag
12220 else
12221 ac_cpp_err=
12222 fi
12223 else
12224 ac_cpp_err=yes
12225 fi
12226 if test -z "$ac_cpp_err"; then
12227 ac_header_preproc=yes
12228 else
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.$ac_ext >&5
12231
12232 ac_header_preproc=no
12233 fi
12234 rm -f conftest.err conftest.$ac_ext
12235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12236 echo "${ECHO_T}$ac_header_preproc" >&6
12237
12238 # So? What about this header?
12239 case $ac_header_compiler:$ac_header_preproc in
12240 yes:no )
12241 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12245 (
12246 cat <<\_ASBOX
12247 ## ------------------------------------ ##
12248 ## Report this to bug-autoconf@gnu.org. ##
12249 ## ------------------------------------ ##
12250 _ASBOX
12251 ) |
12252 sed "s/^/$as_me: WARNING: /" >&2
12253 ;;
12254 no:yes )
12255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12259 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12260 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12261 (
12262 cat <<\_ASBOX
12263 ## ------------------------------------ ##
12264 ## Report this to bug-autoconf@gnu.org. ##
12265 ## ------------------------------------ ##
12266 _ASBOX
12267 ) |
12268 sed "s/^/$as_me: WARNING: /" >&2
12269 ;;
12270 esac
12271 echo "$as_me:$LINENO: checking for $ac_header" >&5
12272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12275 else
12276 eval "$as_ac_Header=$ac_header_preproc"
12277 fi
12278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12280
12281 fi
12282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12283 cat >>confdefs.h <<_ACEOF
12284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12285 _ACEOF
12286
12287 fi
12288
12289 done
12290
12291
12292
12293 for ac_header in stdlib.h
12294 do
12295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12297 echo "$as_me:$LINENO: checking for $ac_header" >&5
12298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12300 echo $ECHO_N "(cached) $ECHO_C" >&6
12301 fi
12302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12304 else
12305 # Is the header compilable?
12306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12308 cat >conftest.$ac_ext <<_ACEOF
12309 #line $LINENO "configure"
12310 /* confdefs.h. */
12311 _ACEOF
12312 cat confdefs.h >>conftest.$ac_ext
12313 cat >>conftest.$ac_ext <<_ACEOF
12314 /* end confdefs.h. */
12315 $ac_includes_default
12316 #include <$ac_header>
12317 _ACEOF
12318 rm -f conftest.$ac_objext
12319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12320 (eval $ac_compile) 2>&5
12321 ac_status=$?
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try='test -s conftest.$ac_objext'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; }; then
12330 ac_header_compiler=yes
12331 else
12332 echo "$as_me: failed program was:" >&5
12333 sed 's/^/| /' conftest.$ac_ext >&5
12334
12335 ac_header_compiler=no
12336 fi
12337 rm -f conftest.$ac_objext conftest.$ac_ext
12338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12339 echo "${ECHO_T}$ac_header_compiler" >&6
12340
12341 # Is the header present?
12342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12344 cat >conftest.$ac_ext <<_ACEOF
12345 #line $LINENO "configure"
12346 /* confdefs.h. */
12347 _ACEOF
12348 cat confdefs.h >>conftest.$ac_ext
12349 cat >>conftest.$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12351 #include <$ac_header>
12352 _ACEOF
12353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12355 ac_status=$?
12356 grep -v '^ *+' conftest.er1 >conftest.err
12357 rm -f conftest.er1
12358 cat conftest.err >&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } >/dev/null; then
12361 if test -s conftest.err; then
12362 ac_cpp_err=$ac_c_preproc_warn_flag
12363 else
12364 ac_cpp_err=
12365 fi
12366 else
12367 ac_cpp_err=yes
12368 fi
12369 if test -z "$ac_cpp_err"; then
12370 ac_header_preproc=yes
12371 else
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.$ac_ext >&5
12374
12375 ac_header_preproc=no
12376 fi
12377 rm -f conftest.err conftest.$ac_ext
12378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12379 echo "${ECHO_T}$ac_header_preproc" >&6
12380
12381 # So? What about this header?
12382 case $ac_header_compiler:$ac_header_preproc in
12383 yes:no )
12384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12388 (
12389 cat <<\_ASBOX
12390 ## ------------------------------------ ##
12391 ## Report this to bug-autoconf@gnu.org. ##
12392 ## ------------------------------------ ##
12393 _ASBOX
12394 ) |
12395 sed "s/^/$as_me: WARNING: /" >&2
12396 ;;
12397 no:yes )
12398 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12399 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12400 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12401 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12403 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12404 (
12405 cat <<\_ASBOX
12406 ## ------------------------------------ ##
12407 ## Report this to bug-autoconf@gnu.org. ##
12408 ## ------------------------------------ ##
12409 _ASBOX
12410 ) |
12411 sed "s/^/$as_me: WARNING: /" >&2
12412 ;;
12413 esac
12414 echo "$as_me:$LINENO: checking for $ac_header" >&5
12415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12417 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 else
12419 eval "$as_ac_Header=$ac_header_preproc"
12420 fi
12421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12423
12424 fi
12425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12426 cat >>confdefs.h <<_ACEOF
12427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12428 _ACEOF
12429
12430 fi
12431
12432 done
12433
12434
12435 for ac_header in malloc.h
12436 do
12437 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12439 echo "$as_me:$LINENO: checking for $ac_header" >&5
12440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12443 fi
12444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12446 else
12447 # Is the header compilable?
12448 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12450 cat >conftest.$ac_ext <<_ACEOF
12451 #line $LINENO "configure"
12452 /* confdefs.h. */
12453 _ACEOF
12454 cat confdefs.h >>conftest.$ac_ext
12455 cat >>conftest.$ac_ext <<_ACEOF
12456 /* end confdefs.h. */
12457 $ac_includes_default
12458 #include <$ac_header>
12459 _ACEOF
12460 rm -f conftest.$ac_objext
12461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12462 (eval $ac_compile) 2>&5
12463 ac_status=$?
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); } &&
12466 { ac_try='test -s conftest.$ac_objext'
12467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468 (eval $ac_try) 2>&5
12469 ac_status=$?
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); }; }; then
12472 ac_header_compiler=yes
12473 else
12474 echo "$as_me: failed program was:" >&5
12475 sed 's/^/| /' conftest.$ac_ext >&5
12476
12477 ac_header_compiler=no
12478 fi
12479 rm -f conftest.$ac_objext conftest.$ac_ext
12480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12481 echo "${ECHO_T}$ac_header_compiler" >&6
12482
12483 # Is the header present?
12484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12486 cat >conftest.$ac_ext <<_ACEOF
12487 #line $LINENO "configure"
12488 /* confdefs.h. */
12489 _ACEOF
12490 cat confdefs.h >>conftest.$ac_ext
12491 cat >>conftest.$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12493 #include <$ac_header>
12494 _ACEOF
12495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12497 ac_status=$?
12498 grep -v '^ *+' conftest.er1 >conftest.err
12499 rm -f conftest.er1
12500 cat conftest.err >&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } >/dev/null; then
12503 if test -s conftest.err; then
12504 ac_cpp_err=$ac_c_preproc_warn_flag
12505 else
12506 ac_cpp_err=
12507 fi
12508 else
12509 ac_cpp_err=yes
12510 fi
12511 if test -z "$ac_cpp_err"; then
12512 ac_header_preproc=yes
12513 else
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.$ac_ext >&5
12516
12517 ac_header_preproc=no
12518 fi
12519 rm -f conftest.err conftest.$ac_ext
12520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12521 echo "${ECHO_T}$ac_header_preproc" >&6
12522
12523 # So? What about this header?
12524 case $ac_header_compiler:$ac_header_preproc in
12525 yes:no )
12526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12530 (
12531 cat <<\_ASBOX
12532 ## ------------------------------------ ##
12533 ## Report this to bug-autoconf@gnu.org. ##
12534 ## ------------------------------------ ##
12535 _ASBOX
12536 ) |
12537 sed "s/^/$as_me: WARNING: /" >&2
12538 ;;
12539 no:yes )
12540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12546 (
12547 cat <<\_ASBOX
12548 ## ------------------------------------ ##
12549 ## Report this to bug-autoconf@gnu.org. ##
12550 ## ------------------------------------ ##
12551 _ASBOX
12552 ) |
12553 sed "s/^/$as_me: WARNING: /" >&2
12554 ;;
12555 esac
12556 echo "$as_me:$LINENO: checking for $ac_header" >&5
12557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 else
12561 eval "$as_ac_Header=$ac_header_preproc"
12562 fi
12563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12565
12566 fi
12567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12568 cat >>confdefs.h <<_ACEOF
12569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12570 _ACEOF
12571
12572 fi
12573
12574 done
12575
12576
12577 for ac_header in unistd.h
12578 do
12579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12581 echo "$as_me:$LINENO: checking for $ac_header" >&5
12582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12585 fi
12586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12588 else
12589 # Is the header compilable?
12590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12592 cat >conftest.$ac_ext <<_ACEOF
12593 #line $LINENO "configure"
12594 /* confdefs.h. */
12595 _ACEOF
12596 cat confdefs.h >>conftest.$ac_ext
12597 cat >>conftest.$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12599 $ac_includes_default
12600 #include <$ac_header>
12601 _ACEOF
12602 rm -f conftest.$ac_objext
12603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12604 (eval $ac_compile) 2>&5
12605 ac_status=$?
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); } &&
12608 { ac_try='test -s conftest.$ac_objext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12611 ac_status=$?
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 ac_header_compiler=yes
12615 else
12616 echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.$ac_ext >&5
12618
12619 ac_header_compiler=no
12620 fi
12621 rm -f conftest.$ac_objext conftest.$ac_ext
12622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12623 echo "${ECHO_T}$ac_header_compiler" >&6
12624
12625 # Is the header present?
12626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12628 cat >conftest.$ac_ext <<_ACEOF
12629 #line $LINENO "configure"
12630 /* confdefs.h. */
12631 _ACEOF
12632 cat confdefs.h >>conftest.$ac_ext
12633 cat >>conftest.$ac_ext <<_ACEOF
12634 /* end confdefs.h. */
12635 #include <$ac_header>
12636 _ACEOF
12637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12638 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12639 ac_status=$?
12640 grep -v '^ *+' conftest.er1 >conftest.err
12641 rm -f conftest.er1
12642 cat conftest.err >&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); } >/dev/null; then
12645 if test -s conftest.err; then
12646 ac_cpp_err=$ac_c_preproc_warn_flag
12647 else
12648 ac_cpp_err=
12649 fi
12650 else
12651 ac_cpp_err=yes
12652 fi
12653 if test -z "$ac_cpp_err"; then
12654 ac_header_preproc=yes
12655 else
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.$ac_ext >&5
12658
12659 ac_header_preproc=no
12660 fi
12661 rm -f conftest.err conftest.$ac_ext
12662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12663 echo "${ECHO_T}$ac_header_preproc" >&6
12664
12665 # So? What about this header?
12666 case $ac_header_compiler:$ac_header_preproc in
12667 yes:no )
12668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12672 (
12673 cat <<\_ASBOX
12674 ## ------------------------------------ ##
12675 ## Report this to bug-autoconf@gnu.org. ##
12676 ## ------------------------------------ ##
12677 _ASBOX
12678 ) |
12679 sed "s/^/$as_me: WARNING: /" >&2
12680 ;;
12681 no:yes )
12682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12687 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12688 (
12689 cat <<\_ASBOX
12690 ## ------------------------------------ ##
12691 ## Report this to bug-autoconf@gnu.org. ##
12692 ## ------------------------------------ ##
12693 _ASBOX
12694 ) |
12695 sed "s/^/$as_me: WARNING: /" >&2
12696 ;;
12697 esac
12698 echo "$as_me:$LINENO: checking for $ac_header" >&5
12699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12701 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 else
12703 eval "$as_ac_Header=$ac_header_preproc"
12704 fi
12705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12707
12708 fi
12709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12710 cat >>confdefs.h <<_ACEOF
12711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12712 _ACEOF
12713
12714 fi
12715
12716 done
12717
12718
12719 for ac_header in wchar.h
12720 do
12721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12723 echo "$as_me:$LINENO: checking for $ac_header" >&5
12724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12726 echo $ECHO_N "(cached) $ECHO_C" >&6
12727 fi
12728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12730 else
12731 # Is the header compilable?
12732 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12733 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12734 cat >conftest.$ac_ext <<_ACEOF
12735 #line $LINENO "configure"
12736 /* confdefs.h. */
12737 _ACEOF
12738 cat confdefs.h >>conftest.$ac_ext
12739 cat >>conftest.$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12741 $ac_includes_default
12742 #include <$ac_header>
12743 _ACEOF
12744 rm -f conftest.$ac_objext
12745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12746 (eval $ac_compile) 2>&5
12747 ac_status=$?
12748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 (exit $ac_status); } &&
12750 { ac_try='test -s conftest.$ac_objext'
12751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12752 (eval $ac_try) 2>&5
12753 ac_status=$?
12754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 (exit $ac_status); }; }; then
12756 ac_header_compiler=yes
12757 else
12758 echo "$as_me: failed program was:" >&5
12759 sed 's/^/| /' conftest.$ac_ext >&5
12760
12761 ac_header_compiler=no
12762 fi
12763 rm -f conftest.$ac_objext conftest.$ac_ext
12764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12765 echo "${ECHO_T}$ac_header_compiler" >&6
12766
12767 # Is the header present?
12768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12770 cat >conftest.$ac_ext <<_ACEOF
12771 #line $LINENO "configure"
12772 /* confdefs.h. */
12773 _ACEOF
12774 cat confdefs.h >>conftest.$ac_ext
12775 cat >>conftest.$ac_ext <<_ACEOF
12776 /* end confdefs.h. */
12777 #include <$ac_header>
12778 _ACEOF
12779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12781 ac_status=$?
12782 grep -v '^ *+' conftest.er1 >conftest.err
12783 rm -f conftest.er1
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); } >/dev/null; then
12787 if test -s conftest.err; then
12788 ac_cpp_err=$ac_c_preproc_warn_flag
12789 else
12790 ac_cpp_err=
12791 fi
12792 else
12793 ac_cpp_err=yes
12794 fi
12795 if test -z "$ac_cpp_err"; then
12796 ac_header_preproc=yes
12797 else
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.$ac_ext >&5
12800
12801 ac_header_preproc=no
12802 fi
12803 rm -f conftest.err conftest.$ac_ext
12804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12805 echo "${ECHO_T}$ac_header_preproc" >&6
12806
12807 # So? What about this header?
12808 case $ac_header_compiler:$ac_header_preproc in
12809 yes:no )
12810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12813 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12814 (
12815 cat <<\_ASBOX
12816 ## ------------------------------------ ##
12817 ## Report this to bug-autoconf@gnu.org. ##
12818 ## ------------------------------------ ##
12819 _ASBOX
12820 ) |
12821 sed "s/^/$as_me: WARNING: /" >&2
12822 ;;
12823 no:yes )
12824 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12825 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12826 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12827 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12830 (
12831 cat <<\_ASBOX
12832 ## ------------------------------------ ##
12833 ## Report this to bug-autoconf@gnu.org. ##
12834 ## ------------------------------------ ##
12835 _ASBOX
12836 ) |
12837 sed "s/^/$as_me: WARNING: /" >&2
12838 ;;
12839 esac
12840 echo "$as_me:$LINENO: checking for $ac_header" >&5
12841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12844 else
12845 eval "$as_ac_Header=$ac_header_preproc"
12846 fi
12847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12849
12850 fi
12851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12852 cat >>confdefs.h <<_ACEOF
12853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12854 _ACEOF
12855
12856 fi
12857
12858 done
12859
12860
12861 if test "$ac_cv_header_wchar_h" != "yes"; then
12862
12863 for ac_header in wcstr.h
12864 do
12865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12867 echo "$as_me:$LINENO: checking for $ac_header" >&5
12868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 fi
12872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12874 else
12875 # Is the header compilable?
12876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12878 cat >conftest.$ac_ext <<_ACEOF
12879 #line $LINENO "configure"
12880 /* confdefs.h. */
12881 _ACEOF
12882 cat confdefs.h >>conftest.$ac_ext
12883 cat >>conftest.$ac_ext <<_ACEOF
12884 /* end confdefs.h. */
12885 $ac_includes_default
12886 #include <$ac_header>
12887 _ACEOF
12888 rm -f conftest.$ac_objext
12889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12890 (eval $ac_compile) 2>&5
12891 ac_status=$?
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } &&
12894 { ac_try='test -s conftest.$ac_objext'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12897 ac_status=$?
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; }; then
12900 ac_header_compiler=yes
12901 else
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12904
12905 ac_header_compiler=no
12906 fi
12907 rm -f conftest.$ac_objext conftest.$ac_ext
12908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12909 echo "${ECHO_T}$ac_header_compiler" >&6
12910
12911 # Is the header present?
12912 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12913 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12914 cat >conftest.$ac_ext <<_ACEOF
12915 #line $LINENO "configure"
12916 /* confdefs.h. */
12917 _ACEOF
12918 cat confdefs.h >>conftest.$ac_ext
12919 cat >>conftest.$ac_ext <<_ACEOF
12920 /* end confdefs.h. */
12921 #include <$ac_header>
12922 _ACEOF
12923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12925 ac_status=$?
12926 grep -v '^ *+' conftest.er1 >conftest.err
12927 rm -f conftest.er1
12928 cat conftest.err >&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); } >/dev/null; then
12931 if test -s conftest.err; then
12932 ac_cpp_err=$ac_c_preproc_warn_flag
12933 else
12934 ac_cpp_err=
12935 fi
12936 else
12937 ac_cpp_err=yes
12938 fi
12939 if test -z "$ac_cpp_err"; then
12940 ac_header_preproc=yes
12941 else
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12944
12945 ac_header_preproc=no
12946 fi
12947 rm -f conftest.err conftest.$ac_ext
12948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12949 echo "${ECHO_T}$ac_header_preproc" >&6
12950
12951 # So? What about this header?
12952 case $ac_header_compiler:$ac_header_preproc in
12953 yes:no )
12954 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12955 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12958 (
12959 cat <<\_ASBOX
12960 ## ------------------------------------ ##
12961 ## Report this to bug-autoconf@gnu.org. ##
12962 ## ------------------------------------ ##
12963 _ASBOX
12964 ) |
12965 sed "s/^/$as_me: WARNING: /" >&2
12966 ;;
12967 no:yes )
12968 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12970 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12971 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12973 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12974 (
12975 cat <<\_ASBOX
12976 ## ------------------------------------ ##
12977 ## Report this to bug-autoconf@gnu.org. ##
12978 ## ------------------------------------ ##
12979 _ASBOX
12980 ) |
12981 sed "s/^/$as_me: WARNING: /" >&2
12982 ;;
12983 esac
12984 echo "$as_me:$LINENO: checking for $ac_header" >&5
12985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12987 echo $ECHO_N "(cached) $ECHO_C" >&6
12988 else
12989 eval "$as_ac_Header=$ac_header_preproc"
12990 fi
12991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12993
12994 fi
12995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12996 cat >>confdefs.h <<_ACEOF
12997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12998 _ACEOF
12999
13000 fi
13001
13002 done
13003
13004 fi
13005
13006
13007 for ac_header in fnmatch.h
13008 do
13009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13011 echo "$as_me:$LINENO: checking for $ac_header" >&5
13012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13014 echo $ECHO_N "(cached) $ECHO_C" >&6
13015 fi
13016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13018 else
13019 # Is the header compilable?
13020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13022 cat >conftest.$ac_ext <<_ACEOF
13023 #line $LINENO "configure"
13024 /* confdefs.h. */
13025 _ACEOF
13026 cat confdefs.h >>conftest.$ac_ext
13027 cat >>conftest.$ac_ext <<_ACEOF
13028 /* end confdefs.h. */
13029 $ac_includes_default
13030 #include <$ac_header>
13031 _ACEOF
13032 rm -f conftest.$ac_objext
13033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13034 (eval $ac_compile) 2>&5
13035 ac_status=$?
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); } &&
13038 { ac_try='test -s conftest.$ac_objext'
13039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13040 (eval $ac_try) 2>&5
13041 ac_status=$?
13042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13043 (exit $ac_status); }; }; then
13044 ac_header_compiler=yes
13045 else
13046 echo "$as_me: failed program was:" >&5
13047 sed 's/^/| /' conftest.$ac_ext >&5
13048
13049 ac_header_compiler=no
13050 fi
13051 rm -f conftest.$ac_objext conftest.$ac_ext
13052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13053 echo "${ECHO_T}$ac_header_compiler" >&6
13054
13055 # Is the header present?
13056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13058 cat >conftest.$ac_ext <<_ACEOF
13059 #line $LINENO "configure"
13060 /* confdefs.h. */
13061 _ACEOF
13062 cat confdefs.h >>conftest.$ac_ext
13063 cat >>conftest.$ac_ext <<_ACEOF
13064 /* end confdefs.h. */
13065 #include <$ac_header>
13066 _ACEOF
13067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13069 ac_status=$?
13070 grep -v '^ *+' conftest.er1 >conftest.err
13071 rm -f conftest.er1
13072 cat conftest.err >&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } >/dev/null; then
13075 if test -s conftest.err; then
13076 ac_cpp_err=$ac_c_preproc_warn_flag
13077 else
13078 ac_cpp_err=
13079 fi
13080 else
13081 ac_cpp_err=yes
13082 fi
13083 if test -z "$ac_cpp_err"; then
13084 ac_header_preproc=yes
13085 else
13086 echo "$as_me: failed program was:" >&5
13087 sed 's/^/| /' conftest.$ac_ext >&5
13088
13089 ac_header_preproc=no
13090 fi
13091 rm -f conftest.err conftest.$ac_ext
13092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13093 echo "${ECHO_T}$ac_header_preproc" >&6
13094
13095 # So? What about this header?
13096 case $ac_header_compiler:$ac_header_preproc in
13097 yes:no )
13098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13102 (
13103 cat <<\_ASBOX
13104 ## ------------------------------------ ##
13105 ## Report this to bug-autoconf@gnu.org. ##
13106 ## ------------------------------------ ##
13107 _ASBOX
13108 ) |
13109 sed "s/^/$as_me: WARNING: /" >&2
13110 ;;
13111 no:yes )
13112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13118 (
13119 cat <<\_ASBOX
13120 ## ------------------------------------ ##
13121 ## Report this to bug-autoconf@gnu.org. ##
13122 ## ------------------------------------ ##
13123 _ASBOX
13124 ) |
13125 sed "s/^/$as_me: WARNING: /" >&2
13126 ;;
13127 esac
13128 echo "$as_me:$LINENO: checking for $ac_header" >&5
13129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13131 echo $ECHO_N "(cached) $ECHO_C" >&6
13132 else
13133 eval "$as_ac_Header=$ac_header_preproc"
13134 fi
13135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13137
13138 fi
13139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13140 cat >>confdefs.h <<_ACEOF
13141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13142 _ACEOF
13143
13144 fi
13145
13146 done
13147
13148
13149 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13150
13151 for ac_func in fnmatch
13152 do
13153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13154 echo "$as_me:$LINENO: checking for $ac_func" >&5
13155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13156 if eval "test \"\${$as_ac_var+set}\" = set"; then
13157 echo $ECHO_N "(cached) $ECHO_C" >&6
13158 else
13159 cat >conftest.$ac_ext <<_ACEOF
13160 #line $LINENO "configure"
13161 /* confdefs.h. */
13162 _ACEOF
13163 cat confdefs.h >>conftest.$ac_ext
13164 cat >>conftest.$ac_ext <<_ACEOF
13165 /* end confdefs.h. */
13166 /* System header to define __stub macros and hopefully few prototypes,
13167 which can conflict with char $ac_func (); below.
13168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13169 <limits.h> exists even on freestanding compilers. */
13170 #ifdef __STDC__
13171 # include <limits.h>
13172 #else
13173 # include <assert.h>
13174 #endif
13175 /* Override any gcc2 internal prototype to avoid an error. */
13176 #ifdef __cplusplus
13177 extern "C"
13178 {
13179 #endif
13180 /* We use char because int might match the return type of a gcc2
13181 builtin and then its argument prototype would still apply. */
13182 char $ac_func ();
13183 /* The GNU C library defines this for functions which it implements
13184 to always fail with ENOSYS. Some functions are actually named
13185 something starting with __ and the normal name is an alias. */
13186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13187 choke me
13188 #else
13189 char (*f) () = $ac_func;
13190 #endif
13191 #ifdef __cplusplus
13192 }
13193 #endif
13194
13195 int
13196 main ()
13197 {
13198 return f != $ac_func;
13199 ;
13200 return 0;
13201 }
13202 _ACEOF
13203 rm -f conftest.$ac_objext conftest$ac_exeext
13204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13205 (eval $ac_link) 2>&5
13206 ac_status=$?
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } &&
13209 { ac_try='test -s conftest$ac_exeext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13212 ac_status=$?
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 eval "$as_ac_var=yes"
13216 else
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.$ac_ext >&5
13219
13220 eval "$as_ac_var=no"
13221 fi
13222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13223 fi
13224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13226 if test `eval echo '${'$as_ac_var'}'` = yes; then
13227 cat >>confdefs.h <<_ACEOF
13228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13229 _ACEOF
13230
13231 fi
13232 done
13233
13234 fi
13235
13236
13237 for ac_header in langinfo.h
13238 do
13239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13241 echo "$as_me:$LINENO: checking for $ac_header" >&5
13242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13244 echo $ECHO_N "(cached) $ECHO_C" >&6
13245 fi
13246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13248 else
13249 # Is the header compilable?
13250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13252 cat >conftest.$ac_ext <<_ACEOF
13253 #line $LINENO "configure"
13254 /* confdefs.h. */
13255 _ACEOF
13256 cat confdefs.h >>conftest.$ac_ext
13257 cat >>conftest.$ac_ext <<_ACEOF
13258 /* end confdefs.h. */
13259 $ac_includes_default
13260 #include <$ac_header>
13261 _ACEOF
13262 rm -f conftest.$ac_objext
13263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13264 (eval $ac_compile) 2>&5
13265 ac_status=$?
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } &&
13268 { ac_try='test -s conftest.$ac_objext'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13271 ac_status=$?
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; }; then
13274 ac_header_compiler=yes
13275 else
13276 echo "$as_me: failed program was:" >&5
13277 sed 's/^/| /' conftest.$ac_ext >&5
13278
13279 ac_header_compiler=no
13280 fi
13281 rm -f conftest.$ac_objext conftest.$ac_ext
13282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13283 echo "${ECHO_T}$ac_header_compiler" >&6
13284
13285 # Is the header present?
13286 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13287 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13288 cat >conftest.$ac_ext <<_ACEOF
13289 #line $LINENO "configure"
13290 /* confdefs.h. */
13291 _ACEOF
13292 cat confdefs.h >>conftest.$ac_ext
13293 cat >>conftest.$ac_ext <<_ACEOF
13294 /* end confdefs.h. */
13295 #include <$ac_header>
13296 _ACEOF
13297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13299 ac_status=$?
13300 grep -v '^ *+' conftest.er1 >conftest.err
13301 rm -f conftest.er1
13302 cat conftest.err >&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } >/dev/null; then
13305 if test -s conftest.err; then
13306 ac_cpp_err=$ac_c_preproc_warn_flag
13307 else
13308 ac_cpp_err=
13309 fi
13310 else
13311 ac_cpp_err=yes
13312 fi
13313 if test -z "$ac_cpp_err"; then
13314 ac_header_preproc=yes
13315 else
13316 echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.$ac_ext >&5
13318
13319 ac_header_preproc=no
13320 fi
13321 rm -f conftest.err conftest.$ac_ext
13322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13323 echo "${ECHO_T}$ac_header_preproc" >&6
13324
13325 # So? What about this header?
13326 case $ac_header_compiler:$ac_header_preproc in
13327 yes:no )
13328 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13329 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13332 (
13333 cat <<\_ASBOX
13334 ## ------------------------------------ ##
13335 ## Report this to bug-autoconf@gnu.org. ##
13336 ## ------------------------------------ ##
13337 _ASBOX
13338 ) |
13339 sed "s/^/$as_me: WARNING: /" >&2
13340 ;;
13341 no:yes )
13342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13348 (
13349 cat <<\_ASBOX
13350 ## ------------------------------------ ##
13351 ## Report this to bug-autoconf@gnu.org. ##
13352 ## ------------------------------------ ##
13353 _ASBOX
13354 ) |
13355 sed "s/^/$as_me: WARNING: /" >&2
13356 ;;
13357 esac
13358 echo "$as_me:$LINENO: checking for $ac_header" >&5
13359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13362 else
13363 eval "$as_ac_Header=$ac_header_preproc"
13364 fi
13365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13367
13368 fi
13369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13370 cat >>confdefs.h <<_ACEOF
13371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13372 _ACEOF
13373
13374 fi
13375
13376 done
13377
13378
13379 case "${host}" in
13380 *-pc-os2_emx | *-pc-os2-emx )
13381 if test $ac_cv_header_langinfo_h = "yes"; then
13382 LIBS="$LIBS -lintl"
13383 fi
13384 ;;
13385 esac
13386
13387 if test "$wxUSE_GUI" = "yes"; then
13388 if test "$wxUSE_UNIX" = "yes"; then
13389
13390 for ac_header in X11/XKBlib.h
13391 do
13392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13394 echo "$as_me:$LINENO: checking for $ac_header" >&5
13395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13397 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 fi
13399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13401 else
13402 # Is the header compilable?
13403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13405 cat >conftest.$ac_ext <<_ACEOF
13406 #line $LINENO "configure"
13407 /* confdefs.h. */
13408 _ACEOF
13409 cat confdefs.h >>conftest.$ac_ext
13410 cat >>conftest.$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 $ac_includes_default
13413 #include <$ac_header>
13414 _ACEOF
13415 rm -f conftest.$ac_objext
13416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13417 (eval $ac_compile) 2>&5
13418 ac_status=$?
13419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13420 (exit $ac_status); } &&
13421 { ac_try='test -s conftest.$ac_objext'
13422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13423 (eval $ac_try) 2>&5
13424 ac_status=$?
13425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13426 (exit $ac_status); }; }; then
13427 ac_header_compiler=yes
13428 else
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.$ac_ext >&5
13431
13432 ac_header_compiler=no
13433 fi
13434 rm -f conftest.$ac_objext conftest.$ac_ext
13435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13436 echo "${ECHO_T}$ac_header_compiler" >&6
13437
13438 # Is the header present?
13439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13441 cat >conftest.$ac_ext <<_ACEOF
13442 #line $LINENO "configure"
13443 /* confdefs.h. */
13444 _ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448 #include <$ac_header>
13449 _ACEOF
13450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13452 ac_status=$?
13453 grep -v '^ *+' conftest.er1 >conftest.err
13454 rm -f conftest.er1
13455 cat conftest.err >&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } >/dev/null; then
13458 if test -s conftest.err; then
13459 ac_cpp_err=$ac_c_preproc_warn_flag
13460 else
13461 ac_cpp_err=
13462 fi
13463 else
13464 ac_cpp_err=yes
13465 fi
13466 if test -z "$ac_cpp_err"; then
13467 ac_header_preproc=yes
13468 else
13469 echo "$as_me: failed program was:" >&5
13470 sed 's/^/| /' conftest.$ac_ext >&5
13471
13472 ac_header_preproc=no
13473 fi
13474 rm -f conftest.err conftest.$ac_ext
13475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13476 echo "${ECHO_T}$ac_header_preproc" >&6
13477
13478 # So? What about this header?
13479 case $ac_header_compiler:$ac_header_preproc in
13480 yes:no )
13481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13485 (
13486 cat <<\_ASBOX
13487 ## ------------------------------------ ##
13488 ## Report this to bug-autoconf@gnu.org. ##
13489 ## ------------------------------------ ##
13490 _ASBOX
13491 ) |
13492 sed "s/^/$as_me: WARNING: /" >&2
13493 ;;
13494 no:yes )
13495 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13496 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13497 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13498 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13501 (
13502 cat <<\_ASBOX
13503 ## ------------------------------------ ##
13504 ## Report this to bug-autoconf@gnu.org. ##
13505 ## ------------------------------------ ##
13506 _ASBOX
13507 ) |
13508 sed "s/^/$as_me: WARNING: /" >&2
13509 ;;
13510 esac
13511 echo "$as_me:$LINENO: checking for $ac_header" >&5
13512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13514 echo $ECHO_N "(cached) $ECHO_C" >&6
13515 else
13516 eval "$as_ac_Header=$ac_header_preproc"
13517 fi
13518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13520
13521 fi
13522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13523 cat >>confdefs.h <<_ACEOF
13524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13525 _ACEOF
13526
13527 fi
13528
13529 done
13530
13531 fi
13532 fi
13533
13534
13535 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13536 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13537 if test "${ac_cv_c_const+set}" = set; then
13538 echo $ECHO_N "(cached) $ECHO_C" >&6
13539 else
13540 cat >conftest.$ac_ext <<_ACEOF
13541 #line $LINENO "configure"
13542 /* confdefs.h. */
13543 _ACEOF
13544 cat confdefs.h >>conftest.$ac_ext
13545 cat >>conftest.$ac_ext <<_ACEOF
13546 /* end confdefs.h. */
13547
13548 int
13549 main ()
13550 {
13551 /* FIXME: Include the comments suggested by Paul. */
13552 #ifndef __cplusplus
13553 /* Ultrix mips cc rejects this. */
13554 typedef int charset[2];
13555 const charset x;
13556 /* SunOS 4.1.1 cc rejects this. */
13557 char const *const *ccp;
13558 char **p;
13559 /* NEC SVR4.0.2 mips cc rejects this. */
13560 struct point {int x, y;};
13561 static struct point const zero = {0,0};
13562 /* AIX XL C 1.02.0.0 rejects this.
13563 It does not let you subtract one const X* pointer from another in
13564 an arm of an if-expression whose if-part is not a constant
13565 expression */
13566 const char *g = "string";
13567 ccp = &g + (g ? g-g : 0);
13568 /* HPUX 7.0 cc rejects these. */
13569 ++ccp;
13570 p = (char**) ccp;
13571 ccp = (char const *const *) p;
13572 { /* SCO 3.2v4 cc rejects this. */
13573 char *t;
13574 char const *s = 0 ? (char *) 0 : (char const *) 0;
13575
13576 *t++ = 0;
13577 }
13578 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13579 int x[] = {25, 17};
13580 const int *foo = &x[0];
13581 ++foo;
13582 }
13583 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13584 typedef const int *iptr;
13585 iptr p = 0;
13586 ++p;
13587 }
13588 { /* AIX XL C 1.02.0.0 rejects this saying
13589 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13590 struct s { int j; const int *ap[3]; };
13591 struct s *b; b->j = 5;
13592 }
13593 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13594 const int foo = 10;
13595 }
13596 #endif
13597
13598 ;
13599 return 0;
13600 }
13601 _ACEOF
13602 rm -f conftest.$ac_objext
13603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13604 (eval $ac_compile) 2>&5
13605 ac_status=$?
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); } &&
13608 { ac_try='test -s conftest.$ac_objext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13611 ac_status=$?
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13614 ac_cv_c_const=yes
13615 else
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.$ac_ext >&5
13618
13619 ac_cv_c_const=no
13620 fi
13621 rm -f conftest.$ac_objext conftest.$ac_ext
13622 fi
13623 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13624 echo "${ECHO_T}$ac_cv_c_const" >&6
13625 if test $ac_cv_c_const = no; then
13626
13627 cat >>confdefs.h <<\_ACEOF
13628 #define const
13629 _ACEOF
13630
13631 fi
13632
13633 echo "$as_me:$LINENO: checking for inline" >&5
13634 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13635 if test "${ac_cv_c_inline+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13637 else
13638 ac_cv_c_inline=no
13639 for ac_kw in inline __inline__ __inline; do
13640 cat >conftest.$ac_ext <<_ACEOF
13641 #line $LINENO "configure"
13642 /* confdefs.h. */
13643 _ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 #ifndef __cplusplus
13648 typedef int foo_t;
13649 static $ac_kw foo_t static_foo () {return 0; }
13650 $ac_kw foo_t foo () {return 0; }
13651 #endif
13652
13653 _ACEOF
13654 rm -f conftest.$ac_objext
13655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13656 (eval $ac_compile) 2>&5
13657 ac_status=$?
13658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13659 (exit $ac_status); } &&
13660 { ac_try='test -s conftest.$ac_objext'
13661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662 (eval $ac_try) 2>&5
13663 ac_status=$?
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); }; }; then
13666 ac_cv_c_inline=$ac_kw; break
13667 else
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13670
13671 fi
13672 rm -f conftest.$ac_objext conftest.$ac_ext
13673 done
13674
13675 fi
13676 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13677 echo "${ECHO_T}$ac_cv_c_inline" >&6
13678 case $ac_cv_c_inline in
13679 inline | yes) ;;
13680 no)
13681 cat >>confdefs.h <<\_ACEOF
13682 #define inline
13683 _ACEOF
13684 ;;
13685 *) cat >>confdefs.h <<_ACEOF
13686 #define inline $ac_cv_c_inline
13687 _ACEOF
13688 ;;
13689 esac
13690
13691
13692 echo "$as_me:$LINENO: checking for char" >&5
13693 echo $ECHO_N "checking for char... $ECHO_C" >&6
13694 if test "${ac_cv_type_char+set}" = set; then
13695 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 else
13697 cat >conftest.$ac_ext <<_ACEOF
13698 #line $LINENO "configure"
13699 /* confdefs.h. */
13700 _ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704 $ac_includes_default
13705 int
13706 main ()
13707 {
13708 if ((char *) 0)
13709 return 0;
13710 if (sizeof (char))
13711 return 0;
13712 ;
13713 return 0;
13714 }
13715 _ACEOF
13716 rm -f conftest.$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>&5
13719 ac_status=$?
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -s conftest.$ac_objext'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13725 ac_status=$?
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; }; then
13728 ac_cv_type_char=yes
13729 else
13730 echo "$as_me: failed program was:" >&5
13731 sed 's/^/| /' conftest.$ac_ext >&5
13732
13733 ac_cv_type_char=no
13734 fi
13735 rm -f conftest.$ac_objext conftest.$ac_ext
13736 fi
13737 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13738 echo "${ECHO_T}$ac_cv_type_char" >&6
13739
13740 echo "$as_me:$LINENO: checking size of char" >&5
13741 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13742 if test "${ac_cv_sizeof_char+set}" = set; then
13743 echo $ECHO_N "(cached) $ECHO_C" >&6
13744 else
13745 if test "$ac_cv_type_char" = yes; then
13746 # The cast to unsigned long works around a bug in the HP C Compiler
13747 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13748 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13749 # This bug is HP SR number 8606223364.
13750 if test "$cross_compiling" = yes; then
13751 # Depending upon the size, compute the lo and hi bounds.
13752 cat >conftest.$ac_ext <<_ACEOF
13753 #line $LINENO "configure"
13754 /* confdefs.h. */
13755 _ACEOF
13756 cat confdefs.h >>conftest.$ac_ext
13757 cat >>conftest.$ac_ext <<_ACEOF
13758 /* end confdefs.h. */
13759 $ac_includes_default
13760 int
13761 main ()
13762 {
13763 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13764 test_array [0] = 0
13765
13766 ;
13767 return 0;
13768 }
13769 _ACEOF
13770 rm -f conftest.$ac_objext
13771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13772 (eval $ac_compile) 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); } &&
13776 { ac_try='test -s conftest.$ac_objext'
13777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13778 (eval $ac_try) 2>&5
13779 ac_status=$?
13780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13781 (exit $ac_status); }; }; then
13782 ac_lo=0 ac_mid=0
13783 while :; do
13784 cat >conftest.$ac_ext <<_ACEOF
13785 #line $LINENO "configure"
13786 /* confdefs.h. */
13787 _ACEOF
13788 cat confdefs.h >>conftest.$ac_ext
13789 cat >>conftest.$ac_ext <<_ACEOF
13790 /* end confdefs.h. */
13791 $ac_includes_default
13792 int
13793 main ()
13794 {
13795 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13796 test_array [0] = 0
13797
13798 ;
13799 return 0;
13800 }
13801 _ACEOF
13802 rm -f conftest.$ac_objext
13803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13804 (eval $ac_compile) 2>&5
13805 ac_status=$?
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try='test -s conftest.$ac_objext'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13811 ac_status=$?
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; }; then
13814 ac_hi=$ac_mid; break
13815 else
13816 echo "$as_me: failed program was:" >&5
13817 sed 's/^/| /' conftest.$ac_ext >&5
13818
13819 ac_lo=`expr $ac_mid + 1`
13820 if test $ac_lo -le $ac_mid; then
13821 ac_lo= ac_hi=
13822 break
13823 fi
13824 ac_mid=`expr 2 '*' $ac_mid + 1`
13825 fi
13826 rm -f conftest.$ac_objext conftest.$ac_ext
13827 done
13828 else
13829 echo "$as_me: failed program was:" >&5
13830 sed 's/^/| /' conftest.$ac_ext >&5
13831
13832 cat >conftest.$ac_ext <<_ACEOF
13833 #line $LINENO "configure"
13834 /* confdefs.h. */
13835 _ACEOF
13836 cat confdefs.h >>conftest.$ac_ext
13837 cat >>conftest.$ac_ext <<_ACEOF
13838 /* end confdefs.h. */
13839 $ac_includes_default
13840 int
13841 main ()
13842 {
13843 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13844 test_array [0] = 0
13845
13846 ;
13847 return 0;
13848 }
13849 _ACEOF
13850 rm -f conftest.$ac_objext
13851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13852 (eval $ac_compile) 2>&5
13853 ac_status=$?
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); } &&
13856 { ac_try='test -s conftest.$ac_objext'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13859 ac_status=$?
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; }; then
13862 ac_hi=-1 ac_mid=-1
13863 while :; do
13864 cat >conftest.$ac_ext <<_ACEOF
13865 #line $LINENO "configure"
13866 /* confdefs.h. */
13867 _ACEOF
13868 cat confdefs.h >>conftest.$ac_ext
13869 cat >>conftest.$ac_ext <<_ACEOF
13870 /* end confdefs.h. */
13871 $ac_includes_default
13872 int
13873 main ()
13874 {
13875 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13876 test_array [0] = 0
13877
13878 ;
13879 return 0;
13880 }
13881 _ACEOF
13882 rm -f conftest.$ac_objext
13883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13884 (eval $ac_compile) 2>&5
13885 ac_status=$?
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } &&
13888 { ac_try='test -s conftest.$ac_objext'
13889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13890 (eval $ac_try) 2>&5
13891 ac_status=$?
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); }; }; then
13894 ac_lo=$ac_mid; break
13895 else
13896 echo "$as_me: failed program was:" >&5
13897 sed 's/^/| /' conftest.$ac_ext >&5
13898
13899 ac_hi=`expr '(' $ac_mid ')' - 1`
13900 if test $ac_mid -le $ac_hi; then
13901 ac_lo= ac_hi=
13902 break
13903 fi
13904 ac_mid=`expr 2 '*' $ac_mid`
13905 fi
13906 rm -f conftest.$ac_objext conftest.$ac_ext
13907 done
13908 else
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13911
13912 ac_lo= ac_hi=
13913 fi
13914 rm -f conftest.$ac_objext conftest.$ac_ext
13915 fi
13916 rm -f conftest.$ac_objext conftest.$ac_ext
13917 # Binary search between lo and hi bounds.
13918 while test "x$ac_lo" != "x$ac_hi"; do
13919 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13920 cat >conftest.$ac_ext <<_ACEOF
13921 #line $LINENO "configure"
13922 /* confdefs.h. */
13923 _ACEOF
13924 cat confdefs.h >>conftest.$ac_ext
13925 cat >>conftest.$ac_ext <<_ACEOF
13926 /* end confdefs.h. */
13927 $ac_includes_default
13928 int
13929 main ()
13930 {
13931 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13932 test_array [0] = 0
13933
13934 ;
13935 return 0;
13936 }
13937 _ACEOF
13938 rm -f conftest.$ac_objext
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13941 ac_status=$?
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } &&
13944 { ac_try='test -s conftest.$ac_objext'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13947 ac_status=$?
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; }; then
13950 ac_hi=$ac_mid
13951 else
13952 echo "$as_me: failed program was:" >&5
13953 sed 's/^/| /' conftest.$ac_ext >&5
13954
13955 ac_lo=`expr '(' $ac_mid ')' + 1`
13956 fi
13957 rm -f conftest.$ac_objext conftest.$ac_ext
13958 done
13959 case $ac_lo in
13960 ?*) ac_cv_sizeof_char=$ac_lo;;
13961 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13962 See \`config.log' for more details." >&5
13963 echo "$as_me: error: cannot compute sizeof (char), 77
13964 See \`config.log' for more details." >&2;}
13965 { (exit 1); exit 1; }; } ;;
13966 esac
13967 else
13968 if test "$cross_compiling" = yes; then
13969 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13970 See \`config.log' for more details." >&5
13971 echo "$as_me: error: cannot run test program while cross compiling
13972 See \`config.log' for more details." >&2;}
13973 { (exit 1); exit 1; }; }
13974 else
13975 cat >conftest.$ac_ext <<_ACEOF
13976 #line $LINENO "configure"
13977 /* confdefs.h. */
13978 _ACEOF
13979 cat confdefs.h >>conftest.$ac_ext
13980 cat >>conftest.$ac_ext <<_ACEOF
13981 /* end confdefs.h. */
13982 $ac_includes_default
13983 long longval () { return (long) (sizeof (char)); }
13984 unsigned long ulongval () { return (long) (sizeof (char)); }
13985 #include <stdio.h>
13986 #include <stdlib.h>
13987 int
13988 main ()
13989 {
13990
13991 FILE *f = fopen ("conftest.val", "w");
13992 if (! f)
13993 exit (1);
13994 if (((long) (sizeof (char))) < 0)
13995 {
13996 long i = longval ();
13997 if (i != ((long) (sizeof (char))))
13998 exit (1);
13999 fprintf (f, "%ld\n", i);
14000 }
14001 else
14002 {
14003 unsigned long i = ulongval ();
14004 if (i != ((long) (sizeof (char))))
14005 exit (1);
14006 fprintf (f, "%lu\n", i);
14007 }
14008 exit (ferror (f) || fclose (f) != 0);
14009
14010 ;
14011 return 0;
14012 }
14013 _ACEOF
14014 rm -f conftest$ac_exeext
14015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14016 (eval $ac_link) 2>&5
14017 ac_status=$?
14018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 ac_cv_sizeof_char=`cat conftest.val`
14026 else
14027 echo "$as_me: program exited with status $ac_status" >&5
14028 echo "$as_me: failed program was:" >&5
14029 sed 's/^/| /' conftest.$ac_ext >&5
14030
14031 ( exit $ac_status )
14032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14033 See \`config.log' for more details." >&5
14034 echo "$as_me: error: cannot compute sizeof (char), 77
14035 See \`config.log' for more details." >&2;}
14036 { (exit 1); exit 1; }; }
14037 fi
14038 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14039 fi
14040 fi
14041 rm -f conftest.val
14042 else
14043 ac_cv_sizeof_char=0
14044 fi
14045 fi
14046 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14047 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14048 cat >>confdefs.h <<_ACEOF
14049 #define SIZEOF_CHAR $ac_cv_sizeof_char
14050 _ACEOF
14051
14052
14053 echo "$as_me:$LINENO: checking for short" >&5
14054 echo $ECHO_N "checking for short... $ECHO_C" >&6
14055 if test "${ac_cv_type_short+set}" = set; then
14056 echo $ECHO_N "(cached) $ECHO_C" >&6
14057 else
14058 cat >conftest.$ac_ext <<_ACEOF
14059 #line $LINENO "configure"
14060 /* confdefs.h. */
14061 _ACEOF
14062 cat confdefs.h >>conftest.$ac_ext
14063 cat >>conftest.$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14065 $ac_includes_default
14066 int
14067 main ()
14068 {
14069 if ((short *) 0)
14070 return 0;
14071 if (sizeof (short))
14072 return 0;
14073 ;
14074 return 0;
14075 }
14076 _ACEOF
14077 rm -f conftest.$ac_objext
14078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14079 (eval $ac_compile) 2>&5
14080 ac_status=$?
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); } &&
14083 { ac_try='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 ac_cv_type_short=yes
14090 else
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.$ac_ext >&5
14093
14094 ac_cv_type_short=no
14095 fi
14096 rm -f conftest.$ac_objext conftest.$ac_ext
14097 fi
14098 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14099 echo "${ECHO_T}$ac_cv_type_short" >&6
14100
14101 echo "$as_me:$LINENO: checking size of short" >&5
14102 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14103 if test "${ac_cv_sizeof_short+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 else
14106 if test "$ac_cv_type_short" = yes; then
14107 # The cast to unsigned long works around a bug in the HP C Compiler
14108 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14109 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14110 # This bug is HP SR number 8606223364.
14111 if test "$cross_compiling" = yes; then
14112 # Depending upon the size, compute the lo and hi bounds.
14113 cat >conftest.$ac_ext <<_ACEOF
14114 #line $LINENO "configure"
14115 /* confdefs.h. */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14120 $ac_includes_default
14121 int
14122 main ()
14123 {
14124 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14125 test_array [0] = 0
14126
14127 ;
14128 return 0;
14129 }
14130 _ACEOF
14131 rm -f conftest.$ac_objext
14132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14133 (eval $ac_compile) 2>&5
14134 ac_status=$?
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); } &&
14137 { ac_try='test -s conftest.$ac_objext'
14138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14139 (eval $ac_try) 2>&5
14140 ac_status=$?
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); }; }; then
14143 ac_lo=0 ac_mid=0
14144 while :; do
14145 cat >conftest.$ac_ext <<_ACEOF
14146 #line $LINENO "configure"
14147 /* confdefs.h. */
14148 _ACEOF
14149 cat confdefs.h >>conftest.$ac_ext
14150 cat >>conftest.$ac_ext <<_ACEOF
14151 /* end confdefs.h. */
14152 $ac_includes_default
14153 int
14154 main ()
14155 {
14156 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14157 test_array [0] = 0
14158
14159 ;
14160 return 0;
14161 }
14162 _ACEOF
14163 rm -f conftest.$ac_objext
14164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14165 (eval $ac_compile) 2>&5
14166 ac_status=$?
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); } &&
14169 { ac_try='test -s conftest.$ac_objext'
14170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 (eval $ac_try) 2>&5
14172 ac_status=$?
14173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 (exit $ac_status); }; }; then
14175 ac_hi=$ac_mid; break
14176 else
14177 echo "$as_me: failed program was:" >&5
14178 sed 's/^/| /' conftest.$ac_ext >&5
14179
14180 ac_lo=`expr $ac_mid + 1`
14181 if test $ac_lo -le $ac_mid; then
14182 ac_lo= ac_hi=
14183 break
14184 fi
14185 ac_mid=`expr 2 '*' $ac_mid + 1`
14186 fi
14187 rm -f conftest.$ac_objext conftest.$ac_ext
14188 done
14189 else
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.$ac_ext >&5
14192
14193 cat >conftest.$ac_ext <<_ACEOF
14194 #line $LINENO "configure"
14195 /* confdefs.h. */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h. */
14200 $ac_includes_default
14201 int
14202 main ()
14203 {
14204 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14205 test_array [0] = 0
14206
14207 ;
14208 return 0;
14209 }
14210 _ACEOF
14211 rm -f conftest.$ac_objext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14213 (eval $ac_compile) 2>&5
14214 ac_status=$?
14215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216 (exit $ac_status); } &&
14217 { ac_try='test -s conftest.$ac_objext'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14220 ac_status=$?
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; }; then
14223 ac_hi=-1 ac_mid=-1
14224 while :; do
14225 cat >conftest.$ac_ext <<_ACEOF
14226 #line $LINENO "configure"
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 $ac_includes_default
14233 int
14234 main ()
14235 {
14236 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14237 test_array [0] = 0
14238
14239 ;
14240 return 0;
14241 }
14242 _ACEOF
14243 rm -f conftest.$ac_objext
14244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14245 (eval $ac_compile) 2>&5
14246 ac_status=$?
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 (exit $ac_status); } &&
14249 { ac_try='test -s conftest.$ac_objext'
14250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14251 (eval $ac_try) 2>&5
14252 ac_status=$?
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); }; }; then
14255 ac_lo=$ac_mid; break
14256 else
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14259
14260 ac_hi=`expr '(' $ac_mid ')' - 1`
14261 if test $ac_mid -le $ac_hi; then
14262 ac_lo= ac_hi=
14263 break
14264 fi
14265 ac_mid=`expr 2 '*' $ac_mid`
14266 fi
14267 rm -f conftest.$ac_objext conftest.$ac_ext
14268 done
14269 else
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.$ac_ext >&5
14272
14273 ac_lo= ac_hi=
14274 fi
14275 rm -f conftest.$ac_objext conftest.$ac_ext
14276 fi
14277 rm -f conftest.$ac_objext conftest.$ac_ext
14278 # Binary search between lo and hi bounds.
14279 while test "x$ac_lo" != "x$ac_hi"; do
14280 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14281 cat >conftest.$ac_ext <<_ACEOF
14282 #line $LINENO "configure"
14283 /* confdefs.h. */
14284 _ACEOF
14285 cat confdefs.h >>conftest.$ac_ext
14286 cat >>conftest.$ac_ext <<_ACEOF
14287 /* end confdefs.h. */
14288 $ac_includes_default
14289 int
14290 main ()
14291 {
14292 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14293 test_array [0] = 0
14294
14295 ;
14296 return 0;
14297 }
14298 _ACEOF
14299 rm -f conftest.$ac_objext
14300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14301 (eval $ac_compile) 2>&5
14302 ac_status=$?
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } &&
14305 { ac_try='test -s conftest.$ac_objext'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; }; then
14311 ac_hi=$ac_mid
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14315
14316 ac_lo=`expr '(' $ac_mid ')' + 1`
14317 fi
14318 rm -f conftest.$ac_objext conftest.$ac_ext
14319 done
14320 case $ac_lo in
14321 ?*) ac_cv_sizeof_short=$ac_lo;;
14322 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14323 See \`config.log' for more details." >&5
14324 echo "$as_me: error: cannot compute sizeof (short), 77
14325 See \`config.log' for more details." >&2;}
14326 { (exit 1); exit 1; }; } ;;
14327 esac
14328 else
14329 if test "$cross_compiling" = yes; then
14330 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14331 See \`config.log' for more details." >&5
14332 echo "$as_me: error: cannot run test program while cross compiling
14333 See \`config.log' for more details." >&2;}
14334 { (exit 1); exit 1; }; }
14335 else
14336 cat >conftest.$ac_ext <<_ACEOF
14337 #line $LINENO "configure"
14338 /* confdefs.h. */
14339 _ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14343 $ac_includes_default
14344 long longval () { return (long) (sizeof (short)); }
14345 unsigned long ulongval () { return (long) (sizeof (short)); }
14346 #include <stdio.h>
14347 #include <stdlib.h>
14348 int
14349 main ()
14350 {
14351
14352 FILE *f = fopen ("conftest.val", "w");
14353 if (! f)
14354 exit (1);
14355 if (((long) (sizeof (short))) < 0)
14356 {
14357 long i = longval ();
14358 if (i != ((long) (sizeof (short))))
14359 exit (1);
14360 fprintf (f, "%ld\n", i);
14361 }
14362 else
14363 {
14364 unsigned long i = ulongval ();
14365 if (i != ((long) (sizeof (short))))
14366 exit (1);
14367 fprintf (f, "%lu\n", i);
14368 }
14369 exit (ferror (f) || fclose (f) != 0);
14370
14371 ;
14372 return 0;
14373 }
14374 _ACEOF
14375 rm -f conftest$ac_exeext
14376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14377 (eval $ac_link) 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14382 (eval $ac_try) 2>&5
14383 ac_status=$?
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); }; }; then
14386 ac_cv_sizeof_short=`cat conftest.val`
14387 else
14388 echo "$as_me: program exited with status $ac_status" >&5
14389 echo "$as_me: failed program was:" >&5
14390 sed 's/^/| /' conftest.$ac_ext >&5
14391
14392 ( exit $ac_status )
14393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14394 See \`config.log' for more details." >&5
14395 echo "$as_me: error: cannot compute sizeof (short), 77
14396 See \`config.log' for more details." >&2;}
14397 { (exit 1); exit 1; }; }
14398 fi
14399 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14400 fi
14401 fi
14402 rm -f conftest.val
14403 else
14404 ac_cv_sizeof_short=0
14405 fi
14406 fi
14407 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14408 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14409 cat >>confdefs.h <<_ACEOF
14410 #define SIZEOF_SHORT $ac_cv_sizeof_short
14411 _ACEOF
14412
14413
14414 echo "$as_me:$LINENO: checking for void *" >&5
14415 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14416 if test "${ac_cv_type_void_p+set}" = set; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14418 else
14419 cat >conftest.$ac_ext <<_ACEOF
14420 #line $LINENO "configure"
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426 $ac_includes_default
14427 int
14428 main ()
14429 {
14430 if ((void * *) 0)
14431 return 0;
14432 if (sizeof (void *))
14433 return 0;
14434 ;
14435 return 0;
14436 }
14437 _ACEOF
14438 rm -f conftest.$ac_objext
14439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14440 (eval $ac_compile) 2>&5
14441 ac_status=$?
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); } &&
14444 { ac_try='test -s conftest.$ac_objext'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14447 ac_status=$?
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; }; then
14450 ac_cv_type_void_p=yes
14451 else
14452 echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.$ac_ext >&5
14454
14455 ac_cv_type_void_p=no
14456 fi
14457 rm -f conftest.$ac_objext conftest.$ac_ext
14458 fi
14459 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14460 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14461
14462 echo "$as_me:$LINENO: checking size of void *" >&5
14463 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14464 if test "${ac_cv_sizeof_void_p+set}" = set; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 else
14467 if test "$ac_cv_type_void_p" = yes; then
14468 # The cast to unsigned long works around a bug in the HP C Compiler
14469 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14470 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14471 # This bug is HP SR number 8606223364.
14472 if test "$cross_compiling" = yes; then
14473 # Depending upon the size, compute the lo and hi bounds.
14474 cat >conftest.$ac_ext <<_ACEOF
14475 #line $LINENO "configure"
14476 /* confdefs.h. */
14477 _ACEOF
14478 cat confdefs.h >>conftest.$ac_ext
14479 cat >>conftest.$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14481 $ac_includes_default
14482 int
14483 main ()
14484 {
14485 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14486 test_array [0] = 0
14487
14488 ;
14489 return 0;
14490 }
14491 _ACEOF
14492 rm -f conftest.$ac_objext
14493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14494 (eval $ac_compile) 2>&5
14495 ac_status=$?
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); } &&
14498 { ac_try='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14501 ac_status=$?
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14504 ac_lo=0 ac_mid=0
14505 while :; do
14506 cat >conftest.$ac_ext <<_ACEOF
14507 #line $LINENO "configure"
14508 /* confdefs.h. */
14509 _ACEOF
14510 cat confdefs.h >>conftest.$ac_ext
14511 cat >>conftest.$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 $ac_includes_default
14514 int
14515 main ()
14516 {
14517 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14518 test_array [0] = 0
14519
14520 ;
14521 return 0;
14522 }
14523 _ACEOF
14524 rm -f conftest.$ac_objext
14525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14526 (eval $ac_compile) 2>&5
14527 ac_status=$?
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); } &&
14530 { ac_try='test -s conftest.$ac_objext'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14533 ac_status=$?
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14536 ac_hi=$ac_mid; break
14537 else
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.$ac_ext >&5
14540
14541 ac_lo=`expr $ac_mid + 1`
14542 if test $ac_lo -le $ac_mid; then
14543 ac_lo= ac_hi=
14544 break
14545 fi
14546 ac_mid=`expr 2 '*' $ac_mid + 1`
14547 fi
14548 rm -f conftest.$ac_objext conftest.$ac_ext
14549 done
14550 else
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.$ac_ext >&5
14553
14554 cat >conftest.$ac_ext <<_ACEOF
14555 #line $LINENO "configure"
14556 /* confdefs.h. */
14557 _ACEOF
14558 cat confdefs.h >>conftest.$ac_ext
14559 cat >>conftest.$ac_ext <<_ACEOF
14560 /* end confdefs.h. */
14561 $ac_includes_default
14562 int
14563 main ()
14564 {
14565 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14566 test_array [0] = 0
14567
14568 ;
14569 return 0;
14570 }
14571 _ACEOF
14572 rm -f conftest.$ac_objext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574 (eval $ac_compile) 2>&5
14575 ac_status=$?
14576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 (exit $ac_status); } &&
14578 { ac_try='test -s conftest.$ac_objext'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14581 ac_status=$?
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; }; then
14584 ac_hi=-1 ac_mid=-1
14585 while :; do
14586 cat >conftest.$ac_ext <<_ACEOF
14587 #line $LINENO "configure"
14588 /* confdefs.h. */
14589 _ACEOF
14590 cat confdefs.h >>conftest.$ac_ext
14591 cat >>conftest.$ac_ext <<_ACEOF
14592 /* end confdefs.h. */
14593 $ac_includes_default
14594 int
14595 main ()
14596 {
14597 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14598 test_array [0] = 0
14599
14600 ;
14601 return 0;
14602 }
14603 _ACEOF
14604 rm -f conftest.$ac_objext
14605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14606 (eval $ac_compile) 2>&5
14607 ac_status=$?
14608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14609 (exit $ac_status); } &&
14610 { ac_try='test -s conftest.$ac_objext'
14611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14612 (eval $ac_try) 2>&5
14613 ac_status=$?
14614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); }; }; then
14616 ac_lo=$ac_mid; break
14617 else
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.$ac_ext >&5
14620
14621 ac_hi=`expr '(' $ac_mid ')' - 1`
14622 if test $ac_mid -le $ac_hi; then
14623 ac_lo= ac_hi=
14624 break
14625 fi
14626 ac_mid=`expr 2 '*' $ac_mid`
14627 fi
14628 rm -f conftest.$ac_objext conftest.$ac_ext
14629 done
14630 else
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.$ac_ext >&5
14633
14634 ac_lo= ac_hi=
14635 fi
14636 rm -f conftest.$ac_objext conftest.$ac_ext
14637 fi
14638 rm -f conftest.$ac_objext conftest.$ac_ext
14639 # Binary search between lo and hi bounds.
14640 while test "x$ac_lo" != "x$ac_hi"; do
14641 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14642 cat >conftest.$ac_ext <<_ACEOF
14643 #line $LINENO "configure"
14644 /* confdefs.h. */
14645 _ACEOF
14646 cat confdefs.h >>conftest.$ac_ext
14647 cat >>conftest.$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 $ac_includes_default
14650 int
14651 main ()
14652 {
14653 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14654 test_array [0] = 0
14655
14656 ;
14657 return 0;
14658 }
14659 _ACEOF
14660 rm -f conftest.$ac_objext
14661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14662 (eval $ac_compile) 2>&5
14663 ac_status=$?
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } &&
14666 { ac_try='test -s conftest.$ac_objext'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14669 ac_status=$?
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; }; then
14672 ac_hi=$ac_mid
14673 else
14674 echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.$ac_ext >&5
14676
14677 ac_lo=`expr '(' $ac_mid ')' + 1`
14678 fi
14679 rm -f conftest.$ac_objext conftest.$ac_ext
14680 done
14681 case $ac_lo in
14682 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14683 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14684 See \`config.log' for more details." >&5
14685 echo "$as_me: error: cannot compute sizeof (void *), 77
14686 See \`config.log' for more details." >&2;}
14687 { (exit 1); exit 1; }; } ;;
14688 esac
14689 else
14690 if test "$cross_compiling" = yes; then
14691 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14692 See \`config.log' for more details." >&5
14693 echo "$as_me: error: cannot run test program while cross compiling
14694 See \`config.log' for more details." >&2;}
14695 { (exit 1); exit 1; }; }
14696 else
14697 cat >conftest.$ac_ext <<_ACEOF
14698 #line $LINENO "configure"
14699 /* confdefs.h. */
14700 _ACEOF
14701 cat confdefs.h >>conftest.$ac_ext
14702 cat >>conftest.$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14704 $ac_includes_default
14705 long longval () { return (long) (sizeof (void *)); }
14706 unsigned long ulongval () { return (long) (sizeof (void *)); }
14707 #include <stdio.h>
14708 #include <stdlib.h>
14709 int
14710 main ()
14711 {
14712
14713 FILE *f = fopen ("conftest.val", "w");
14714 if (! f)
14715 exit (1);
14716 if (((long) (sizeof (void *))) < 0)
14717 {
14718 long i = longval ();
14719 if (i != ((long) (sizeof (void *))))
14720 exit (1);
14721 fprintf (f, "%ld\n", i);
14722 }
14723 else
14724 {
14725 unsigned long i = ulongval ();
14726 if (i != ((long) (sizeof (void *))))
14727 exit (1);
14728 fprintf (f, "%lu\n", i);
14729 }
14730 exit (ferror (f) || fclose (f) != 0);
14731
14732 ;
14733 return 0;
14734 }
14735 _ACEOF
14736 rm -f conftest$ac_exeext
14737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14738 (eval $ac_link) 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; }; then
14747 ac_cv_sizeof_void_p=`cat conftest.val`
14748 else
14749 echo "$as_me: program exited with status $ac_status" >&5
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14752
14753 ( exit $ac_status )
14754 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14755 See \`config.log' for more details." >&5
14756 echo "$as_me: error: cannot compute sizeof (void *), 77
14757 See \`config.log' for more details." >&2;}
14758 { (exit 1); exit 1; }; }
14759 fi
14760 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14761 fi
14762 fi
14763 rm -f conftest.val
14764 else
14765 ac_cv_sizeof_void_p=0
14766 fi
14767 fi
14768 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14769 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14770 cat >>confdefs.h <<_ACEOF
14771 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14772 _ACEOF
14773
14774
14775 echo "$as_me:$LINENO: checking for int" >&5
14776 echo $ECHO_N "checking for int... $ECHO_C" >&6
14777 if test "${ac_cv_type_int+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 cat >conftest.$ac_ext <<_ACEOF
14781 #line $LINENO "configure"
14782 /* confdefs.h. */
14783 _ACEOF
14784 cat confdefs.h >>conftest.$ac_ext
14785 cat >>conftest.$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14787 $ac_includes_default
14788 int
14789 main ()
14790 {
14791 if ((int *) 0)
14792 return 0;
14793 if (sizeof (int))
14794 return 0;
14795 ;
14796 return 0;
14797 }
14798 _ACEOF
14799 rm -f conftest.$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>&5
14802 ac_status=$?
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); } &&
14805 { ac_try='test -s conftest.$ac_objext'
14806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14807 (eval $ac_try) 2>&5
14808 ac_status=$?
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; }; then
14811 ac_cv_type_int=yes
14812 else
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.$ac_ext >&5
14815
14816 ac_cv_type_int=no
14817 fi
14818 rm -f conftest.$ac_objext conftest.$ac_ext
14819 fi
14820 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14821 echo "${ECHO_T}$ac_cv_type_int" >&6
14822
14823 echo "$as_me:$LINENO: checking size of int" >&5
14824 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14825 if test "${ac_cv_sizeof_int+set}" = set; then
14826 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 else
14828 if test "$ac_cv_type_int" = yes; then
14829 # The cast to unsigned long works around a bug in the HP C Compiler
14830 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14831 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14832 # This bug is HP SR number 8606223364.
14833 if test "$cross_compiling" = yes; then
14834 # Depending upon the size, compute the lo and hi bounds.
14835 cat >conftest.$ac_ext <<_ACEOF
14836 #line $LINENO "configure"
14837 /* confdefs.h. */
14838 _ACEOF
14839 cat confdefs.h >>conftest.$ac_ext
14840 cat >>conftest.$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 $ac_includes_default
14843 int
14844 main ()
14845 {
14846 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14847 test_array [0] = 0
14848
14849 ;
14850 return 0;
14851 }
14852 _ACEOF
14853 rm -f conftest.$ac_objext
14854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14855 (eval $ac_compile) 2>&5
14856 ac_status=$?
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try='test -s conftest.$ac_objext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14862 ac_status=$?
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14865 ac_lo=0 ac_mid=0
14866 while :; do
14867 cat >conftest.$ac_ext <<_ACEOF
14868 #line $LINENO "configure"
14869 /* confdefs.h. */
14870 _ACEOF
14871 cat confdefs.h >>conftest.$ac_ext
14872 cat >>conftest.$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14874 $ac_includes_default
14875 int
14876 main ()
14877 {
14878 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14879 test_array [0] = 0
14880
14881 ;
14882 return 0;
14883 }
14884 _ACEOF
14885 rm -f conftest.$ac_objext
14886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14887 (eval $ac_compile) 2>&5
14888 ac_status=$?
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } &&
14891 { ac_try='test -s conftest.$ac_objext'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; }; then
14897 ac_hi=$ac_mid; break
14898 else
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.$ac_ext >&5
14901
14902 ac_lo=`expr $ac_mid + 1`
14903 if test $ac_lo -le $ac_mid; then
14904 ac_lo= ac_hi=
14905 break
14906 fi
14907 ac_mid=`expr 2 '*' $ac_mid + 1`
14908 fi
14909 rm -f conftest.$ac_objext conftest.$ac_ext
14910 done
14911 else
14912 echo "$as_me: failed program was:" >&5
14913 sed 's/^/| /' conftest.$ac_ext >&5
14914
14915 cat >conftest.$ac_ext <<_ACEOF
14916 #line $LINENO "configure"
14917 /* confdefs.h. */
14918 _ACEOF
14919 cat confdefs.h >>conftest.$ac_ext
14920 cat >>conftest.$ac_ext <<_ACEOF
14921 /* end confdefs.h. */
14922 $ac_includes_default
14923 int
14924 main ()
14925 {
14926 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14927 test_array [0] = 0
14928
14929 ;
14930 return 0;
14931 }
14932 _ACEOF
14933 rm -f conftest.$ac_objext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14935 (eval $ac_compile) 2>&5
14936 ac_status=$?
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); } &&
14939 { ac_try='test -s conftest.$ac_objext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14942 ac_status=$?
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_hi=-1 ac_mid=-1
14946 while :; do
14947 cat >conftest.$ac_ext <<_ACEOF
14948 #line $LINENO "configure"
14949 /* confdefs.h. */
14950 _ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954 $ac_includes_default
14955 int
14956 main ()
14957 {
14958 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14959 test_array [0] = 0
14960
14961 ;
14962 return 0;
14963 }
14964 _ACEOF
14965 rm -f conftest.$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967 (eval $ac_compile) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } &&
14971 { ac_try='test -s conftest.$ac_objext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14974 ac_status=$?
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_lo=$ac_mid; break
14978 else
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14981
14982 ac_hi=`expr '(' $ac_mid ')' - 1`
14983 if test $ac_mid -le $ac_hi; then
14984 ac_lo= ac_hi=
14985 break
14986 fi
14987 ac_mid=`expr 2 '*' $ac_mid`
14988 fi
14989 rm -f conftest.$ac_objext conftest.$ac_ext
14990 done
14991 else
14992 echo "$as_me: failed program was:" >&5
14993 sed 's/^/| /' conftest.$ac_ext >&5
14994
14995 ac_lo= ac_hi=
14996 fi
14997 rm -f conftest.$ac_objext conftest.$ac_ext
14998 fi
14999 rm -f conftest.$ac_objext conftest.$ac_ext
15000 # Binary search between lo and hi bounds.
15001 while test "x$ac_lo" != "x$ac_hi"; do
15002 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15003 cat >conftest.$ac_ext <<_ACEOF
15004 #line $LINENO "configure"
15005 /* confdefs.h. */
15006 _ACEOF
15007 cat confdefs.h >>conftest.$ac_ext
15008 cat >>conftest.$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15010 $ac_includes_default
15011 int
15012 main ()
15013 {
15014 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15015 test_array [0] = 0
15016
15017 ;
15018 return 0;
15019 }
15020 _ACEOF
15021 rm -f conftest.$ac_objext
15022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15023 (eval $ac_compile) 2>&5
15024 ac_status=$?
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } &&
15027 { ac_try='test -s conftest.$ac_objext'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15030 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; }; then
15033 ac_hi=$ac_mid
15034 else
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.$ac_ext >&5
15037
15038 ac_lo=`expr '(' $ac_mid ')' + 1`
15039 fi
15040 rm -f conftest.$ac_objext conftest.$ac_ext
15041 done
15042 case $ac_lo in
15043 ?*) ac_cv_sizeof_int=$ac_lo;;
15044 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15045 See \`config.log' for more details." >&5
15046 echo "$as_me: error: cannot compute sizeof (int), 77
15047 See \`config.log' for more details." >&2;}
15048 { (exit 1); exit 1; }; } ;;
15049 esac
15050 else
15051 if test "$cross_compiling" = yes; then
15052 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15053 See \`config.log' for more details." >&5
15054 echo "$as_me: error: cannot run test program while cross compiling
15055 See \`config.log' for more details." >&2;}
15056 { (exit 1); exit 1; }; }
15057 else
15058 cat >conftest.$ac_ext <<_ACEOF
15059 #line $LINENO "configure"
15060 /* confdefs.h. */
15061 _ACEOF
15062 cat confdefs.h >>conftest.$ac_ext
15063 cat >>conftest.$ac_ext <<_ACEOF
15064 /* end confdefs.h. */
15065 $ac_includes_default
15066 long longval () { return (long) (sizeof (int)); }
15067 unsigned long ulongval () { return (long) (sizeof (int)); }
15068 #include <stdio.h>
15069 #include <stdlib.h>
15070 int
15071 main ()
15072 {
15073
15074 FILE *f = fopen ("conftest.val", "w");
15075 if (! f)
15076 exit (1);
15077 if (((long) (sizeof (int))) < 0)
15078 {
15079 long i = longval ();
15080 if (i != ((long) (sizeof (int))))
15081 exit (1);
15082 fprintf (f, "%ld\n", i);
15083 }
15084 else
15085 {
15086 unsigned long i = ulongval ();
15087 if (i != ((long) (sizeof (int))))
15088 exit (1);
15089 fprintf (f, "%lu\n", i);
15090 }
15091 exit (ferror (f) || fclose (f) != 0);
15092
15093 ;
15094 return 0;
15095 }
15096 _ACEOF
15097 rm -f conftest$ac_exeext
15098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15099 (eval $ac_link) 2>&5
15100 ac_status=$?
15101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15104 (eval $ac_try) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); }; }; then
15108 ac_cv_sizeof_int=`cat conftest.val`
15109 else
15110 echo "$as_me: program exited with status $ac_status" >&5
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.$ac_ext >&5
15113
15114 ( exit $ac_status )
15115 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15116 See \`config.log' for more details." >&5
15117 echo "$as_me: error: cannot compute sizeof (int), 77
15118 See \`config.log' for more details." >&2;}
15119 { (exit 1); exit 1; }; }
15120 fi
15121 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15122 fi
15123 fi
15124 rm -f conftest.val
15125 else
15126 ac_cv_sizeof_int=0
15127 fi
15128 fi
15129 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15130 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15131 cat >>confdefs.h <<_ACEOF
15132 #define SIZEOF_INT $ac_cv_sizeof_int
15133 _ACEOF
15134
15135
15136 echo "$as_me:$LINENO: checking for long" >&5
15137 echo $ECHO_N "checking for long... $ECHO_C" >&6
15138 if test "${ac_cv_type_long+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 cat >conftest.$ac_ext <<_ACEOF
15142 #line $LINENO "configure"
15143 /* confdefs.h. */
15144 _ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 $ac_includes_default
15149 int
15150 main ()
15151 {
15152 if ((long *) 0)
15153 return 0;
15154 if (sizeof (long))
15155 return 0;
15156 ;
15157 return 0;
15158 }
15159 _ACEOF
15160 rm -f conftest.$ac_objext
15161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15162 (eval $ac_compile) 2>&5
15163 ac_status=$?
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); } &&
15166 { ac_try='test -s conftest.$ac_objext'
15167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15168 (eval $ac_try) 2>&5
15169 ac_status=$?
15170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15171 (exit $ac_status); }; }; then
15172 ac_cv_type_long=yes
15173 else
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.$ac_ext >&5
15176
15177 ac_cv_type_long=no
15178 fi
15179 rm -f conftest.$ac_objext conftest.$ac_ext
15180 fi
15181 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15182 echo "${ECHO_T}$ac_cv_type_long" >&6
15183
15184 echo "$as_me:$LINENO: checking size of long" >&5
15185 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15186 if test "${ac_cv_sizeof_long+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 else
15189 if test "$ac_cv_type_long" = yes; then
15190 # The cast to unsigned long works around a bug in the HP C Compiler
15191 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15192 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15193 # This bug is HP SR number 8606223364.
15194 if test "$cross_compiling" = yes; then
15195 # Depending upon the size, compute the lo and hi bounds.
15196 cat >conftest.$ac_ext <<_ACEOF
15197 #line $LINENO "configure"
15198 /* confdefs.h. */
15199 _ACEOF
15200 cat confdefs.h >>conftest.$ac_ext
15201 cat >>conftest.$ac_ext <<_ACEOF
15202 /* end confdefs.h. */
15203 $ac_includes_default
15204 int
15205 main ()
15206 {
15207 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15208 test_array [0] = 0
15209
15210 ;
15211 return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.$ac_objext
15215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15216 (eval $ac_compile) 2>&5
15217 ac_status=$?
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -s conftest.$ac_objext'
15221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15222 (eval $ac_try) 2>&5
15223 ac_status=$?
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); }; }; then
15226 ac_lo=0 ac_mid=0
15227 while :; do
15228 cat >conftest.$ac_ext <<_ACEOF
15229 #line $LINENO "configure"
15230 /* confdefs.h. */
15231 _ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15235 $ac_includes_default
15236 int
15237 main ()
15238 {
15239 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15240 test_array [0] = 0
15241
15242 ;
15243 return 0;
15244 }
15245 _ACEOF
15246 rm -f conftest.$ac_objext
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } &&
15252 { ac_try='test -s conftest.$ac_objext'
15253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254 (eval $ac_try) 2>&5
15255 ac_status=$?
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); }; }; then
15258 ac_hi=$ac_mid; break
15259 else
15260 echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.$ac_ext >&5
15262
15263 ac_lo=`expr $ac_mid + 1`
15264 if test $ac_lo -le $ac_mid; then
15265 ac_lo= ac_hi=
15266 break
15267 fi
15268 ac_mid=`expr 2 '*' $ac_mid + 1`
15269 fi
15270 rm -f conftest.$ac_objext conftest.$ac_ext
15271 done
15272 else
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15275
15276 cat >conftest.$ac_ext <<_ACEOF
15277 #line $LINENO "configure"
15278 /* confdefs.h. */
15279 _ACEOF
15280 cat confdefs.h >>conftest.$ac_ext
15281 cat >>conftest.$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 $ac_includes_default
15284 int
15285 main ()
15286 {
15287 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15288 test_array [0] = 0
15289
15290 ;
15291 return 0;
15292 }
15293 _ACEOF
15294 rm -f conftest.$ac_objext
15295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15296 (eval $ac_compile) 2>&5
15297 ac_status=$?
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } &&
15300 { ac_try='test -s conftest.$ac_objext'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15303 ac_status=$?
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; }; then
15306 ac_hi=-1 ac_mid=-1
15307 while :; do
15308 cat >conftest.$ac_ext <<_ACEOF
15309 #line $LINENO "configure"
15310 /* confdefs.h. */
15311 _ACEOF
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 $ac_includes_default
15316 int
15317 main ()
15318 {
15319 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15320 test_array [0] = 0
15321
15322 ;
15323 return 0;
15324 }
15325 _ACEOF
15326 rm -f conftest.$ac_objext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15328 (eval $ac_compile) 2>&5
15329 ac_status=$?
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try='test -s conftest.$ac_objext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15338 ac_lo=$ac_mid; break
15339 else
15340 echo "$as_me: failed program was:" >&5
15341 sed 's/^/| /' conftest.$ac_ext >&5
15342
15343 ac_hi=`expr '(' $ac_mid ')' - 1`
15344 if test $ac_mid -le $ac_hi; then
15345 ac_lo= ac_hi=
15346 break
15347 fi
15348 ac_mid=`expr 2 '*' $ac_mid`
15349 fi
15350 rm -f conftest.$ac_objext conftest.$ac_ext
15351 done
15352 else
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.$ac_ext >&5
15355
15356 ac_lo= ac_hi=
15357 fi
15358 rm -f conftest.$ac_objext conftest.$ac_ext
15359 fi
15360 rm -f conftest.$ac_objext conftest.$ac_ext
15361 # Binary search between lo and hi bounds.
15362 while test "x$ac_lo" != "x$ac_hi"; do
15363 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15364 cat >conftest.$ac_ext <<_ACEOF
15365 #line $LINENO "configure"
15366 /* confdefs.h. */
15367 _ACEOF
15368 cat confdefs.h >>conftest.$ac_ext
15369 cat >>conftest.$ac_ext <<_ACEOF
15370 /* end confdefs.h. */
15371 $ac_includes_default
15372 int
15373 main ()
15374 {
15375 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15376 test_array [0] = 0
15377
15378 ;
15379 return 0;
15380 }
15381 _ACEOF
15382 rm -f conftest.$ac_objext
15383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15384 (eval $ac_compile) 2>&5
15385 ac_status=$?
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try='test -s conftest.$ac_objext'
15389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15390 (eval $ac_try) 2>&5
15391 ac_status=$?
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); }; }; then
15394 ac_hi=$ac_mid
15395 else
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.$ac_ext >&5
15398
15399 ac_lo=`expr '(' $ac_mid ')' + 1`
15400 fi
15401 rm -f conftest.$ac_objext conftest.$ac_ext
15402 done
15403 case $ac_lo in
15404 ?*) ac_cv_sizeof_long=$ac_lo;;
15405 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15406 See \`config.log' for more details." >&5
15407 echo "$as_me: error: cannot compute sizeof (long), 77
15408 See \`config.log' for more details." >&2;}
15409 { (exit 1); exit 1; }; } ;;
15410 esac
15411 else
15412 if test "$cross_compiling" = yes; then
15413 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15414 See \`config.log' for more details." >&5
15415 echo "$as_me: error: cannot run test program while cross compiling
15416 See \`config.log' for more details." >&2;}
15417 { (exit 1); exit 1; }; }
15418 else
15419 cat >conftest.$ac_ext <<_ACEOF
15420 #line $LINENO "configure"
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 $ac_includes_default
15427 long longval () { return (long) (sizeof (long)); }
15428 unsigned long ulongval () { return (long) (sizeof (long)); }
15429 #include <stdio.h>
15430 #include <stdlib.h>
15431 int
15432 main ()
15433 {
15434
15435 FILE *f = fopen ("conftest.val", "w");
15436 if (! f)
15437 exit (1);
15438 if (((long) (sizeof (long))) < 0)
15439 {
15440 long i = longval ();
15441 if (i != ((long) (sizeof (long))))
15442 exit (1);
15443 fprintf (f, "%ld\n", i);
15444 }
15445 else
15446 {
15447 unsigned long i = ulongval ();
15448 if (i != ((long) (sizeof (long))))
15449 exit (1);
15450 fprintf (f, "%lu\n", i);
15451 }
15452 exit (ferror (f) || fclose (f) != 0);
15453
15454 ;
15455 return 0;
15456 }
15457 _ACEOF
15458 rm -f conftest$ac_exeext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15460 (eval $ac_link) 2>&5
15461 ac_status=$?
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5
15466 ac_status=$?
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; }; then
15469 ac_cv_sizeof_long=`cat conftest.val`
15470 else
15471 echo "$as_me: program exited with status $ac_status" >&5
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15474
15475 ( exit $ac_status )
15476 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15477 See \`config.log' for more details." >&5
15478 echo "$as_me: error: cannot compute sizeof (long), 77
15479 See \`config.log' for more details." >&2;}
15480 { (exit 1); exit 1; }; }
15481 fi
15482 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15483 fi
15484 fi
15485 rm -f conftest.val
15486 else
15487 ac_cv_sizeof_long=0
15488 fi
15489 fi
15490 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15491 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15492 cat >>confdefs.h <<_ACEOF
15493 #define SIZEOF_LONG $ac_cv_sizeof_long
15494 _ACEOF
15495
15496
15497
15498 case "${host}" in
15499 arm-*-linux* )
15500 echo "$as_me:$LINENO: checking for long long" >&5
15501 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15502 if test "${ac_cv_type_long_long+set}" = set; then
15503 echo $ECHO_N "(cached) $ECHO_C" >&6
15504 else
15505 cat >conftest.$ac_ext <<_ACEOF
15506 #line $LINENO "configure"
15507 /* confdefs.h. */
15508 _ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512 $ac_includes_default
15513 int
15514 main ()
15515 {
15516 if ((long long *) 0)
15517 return 0;
15518 if (sizeof (long long))
15519 return 0;
15520 ;
15521 return 0;
15522 }
15523 _ACEOF
15524 rm -f conftest.$ac_objext
15525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15526 (eval $ac_compile) 2>&5
15527 ac_status=$?
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } &&
15530 { ac_try='test -s conftest.$ac_objext'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15533 ac_status=$?
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; }; then
15536 ac_cv_type_long_long=yes
15537 else
15538 echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.$ac_ext >&5
15540
15541 ac_cv_type_long_long=no
15542 fi
15543 rm -f conftest.$ac_objext conftest.$ac_ext
15544 fi
15545 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15546 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15547
15548 echo "$as_me:$LINENO: checking size of long long" >&5
15549 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15550 if test "${ac_cv_sizeof_long_long+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 else
15553 if test "$ac_cv_type_long_long" = yes; then
15554 # The cast to unsigned long works around a bug in the HP C Compiler
15555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15557 # This bug is HP SR number 8606223364.
15558 if test "$cross_compiling" = yes; then
15559 # Depending upon the size, compute the lo and hi bounds.
15560 cat >conftest.$ac_ext <<_ACEOF
15561 #line $LINENO "configure"
15562 /* confdefs.h. */
15563 _ACEOF
15564 cat confdefs.h >>conftest.$ac_ext
15565 cat >>conftest.$ac_ext <<_ACEOF
15566 /* end confdefs.h. */
15567 $ac_includes_default
15568 int
15569 main ()
15570 {
15571 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15572 test_array [0] = 0
15573
15574 ;
15575 return 0;
15576 }
15577 _ACEOF
15578 rm -f conftest.$ac_objext
15579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15580 (eval $ac_compile) 2>&5
15581 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try='test -s conftest.$ac_objext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15590 ac_lo=0 ac_mid=0
15591 while :; do
15592 cat >conftest.$ac_ext <<_ACEOF
15593 #line $LINENO "configure"
15594 /* confdefs.h. */
15595 _ACEOF
15596 cat confdefs.h >>conftest.$ac_ext
15597 cat >>conftest.$ac_ext <<_ACEOF
15598 /* end confdefs.h. */
15599 $ac_includes_default
15600 int
15601 main ()
15602 {
15603 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15604 test_array [0] = 0
15605
15606 ;
15607 return 0;
15608 }
15609 _ACEOF
15610 rm -f conftest.$ac_objext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15612 (eval $ac_compile) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); } &&
15616 { ac_try='test -s conftest.$ac_objext'
15617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15618 (eval $ac_try) 2>&5
15619 ac_status=$?
15620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621 (exit $ac_status); }; }; then
15622 ac_hi=$ac_mid; break
15623 else
15624 echo "$as_me: failed program was:" >&5
15625 sed 's/^/| /' conftest.$ac_ext >&5
15626
15627 ac_lo=`expr $ac_mid + 1`
15628 if test $ac_lo -le $ac_mid; then
15629 ac_lo= ac_hi=
15630 break
15631 fi
15632 ac_mid=`expr 2 '*' $ac_mid + 1`
15633 fi
15634 rm -f conftest.$ac_objext conftest.$ac_ext
15635 done
15636 else
15637 echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15639
15640 cat >conftest.$ac_ext <<_ACEOF
15641 #line $LINENO "configure"
15642 /* confdefs.h. */
15643 _ACEOF
15644 cat confdefs.h >>conftest.$ac_ext
15645 cat >>conftest.$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 $ac_includes_default
15648 int
15649 main ()
15650 {
15651 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15652 test_array [0] = 0
15653
15654 ;
15655 return 0;
15656 }
15657 _ACEOF
15658 rm -f conftest.$ac_objext
15659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15660 (eval $ac_compile) 2>&5
15661 ac_status=$?
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try='test -s conftest.$ac_objext'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15667 ac_status=$?
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; }; then
15670 ac_hi=-1 ac_mid=-1
15671 while :; do
15672 cat >conftest.$ac_ext <<_ACEOF
15673 #line $LINENO "configure"
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679 $ac_includes_default
15680 int
15681 main ()
15682 {
15683 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15684 test_array [0] = 0
15685
15686 ;
15687 return 0;
15688 }
15689 _ACEOF
15690 rm -f conftest.$ac_objext
15691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15692 (eval $ac_compile) 2>&5
15693 ac_status=$?
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); } &&
15696 { ac_try='test -s conftest.$ac_objext'
15697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15698 (eval $ac_try) 2>&5
15699 ac_status=$?
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); }; }; then
15702 ac_lo=$ac_mid; break
15703 else
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.$ac_ext >&5
15706
15707 ac_hi=`expr '(' $ac_mid ')' - 1`
15708 if test $ac_mid -le $ac_hi; then
15709 ac_lo= ac_hi=
15710 break
15711 fi
15712 ac_mid=`expr 2 '*' $ac_mid`
15713 fi
15714 rm -f conftest.$ac_objext conftest.$ac_ext
15715 done
15716 else
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15719
15720 ac_lo= ac_hi=
15721 fi
15722 rm -f conftest.$ac_objext conftest.$ac_ext
15723 fi
15724 rm -f conftest.$ac_objext conftest.$ac_ext
15725 # Binary search between lo and hi bounds.
15726 while test "x$ac_lo" != "x$ac_hi"; do
15727 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15728 cat >conftest.$ac_ext <<_ACEOF
15729 #line $LINENO "configure"
15730 /* confdefs.h. */
15731 _ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735 $ac_includes_default
15736 int
15737 main ()
15738 {
15739 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15740 test_array [0] = 0
15741
15742 ;
15743 return 0;
15744 }
15745 _ACEOF
15746 rm -f conftest.$ac_objext
15747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15748 (eval $ac_compile) 2>&5
15749 ac_status=$?
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); } &&
15752 { ac_try='test -s conftest.$ac_objext'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15755 ac_status=$?
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; }; then
15758 ac_hi=$ac_mid
15759 else
15760 echo "$as_me: failed program was:" >&5
15761 sed 's/^/| /' conftest.$ac_ext >&5
15762
15763 ac_lo=`expr '(' $ac_mid ')' + 1`
15764 fi
15765 rm -f conftest.$ac_objext conftest.$ac_ext
15766 done
15767 case $ac_lo in
15768 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15770 See \`config.log' for more details." >&5
15771 echo "$as_me: error: cannot compute sizeof (long long), 77
15772 See \`config.log' for more details." >&2;}
15773 { (exit 1); exit 1; }; } ;;
15774 esac
15775 else
15776 if test "$cross_compiling" = yes; then
15777 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15778 See \`config.log' for more details." >&5
15779 echo "$as_me: error: cannot run test program while cross compiling
15780 See \`config.log' for more details." >&2;}
15781 { (exit 1); exit 1; }; }
15782 else
15783 cat >conftest.$ac_ext <<_ACEOF
15784 #line $LINENO "configure"
15785 /* confdefs.h. */
15786 _ACEOF
15787 cat confdefs.h >>conftest.$ac_ext
15788 cat >>conftest.$ac_ext <<_ACEOF
15789 /* end confdefs.h. */
15790 $ac_includes_default
15791 long longval () { return (long) (sizeof (long long)); }
15792 unsigned long ulongval () { return (long) (sizeof (long long)); }
15793 #include <stdio.h>
15794 #include <stdlib.h>
15795 int
15796 main ()
15797 {
15798
15799 FILE *f = fopen ("conftest.val", "w");
15800 if (! f)
15801 exit (1);
15802 if (((long) (sizeof (long long))) < 0)
15803 {
15804 long i = longval ();
15805 if (i != ((long) (sizeof (long long))))
15806 exit (1);
15807 fprintf (f, "%ld\n", i);
15808 }
15809 else
15810 {
15811 unsigned long i = ulongval ();
15812 if (i != ((long) (sizeof (long long))))
15813 exit (1);
15814 fprintf (f, "%lu\n", i);
15815 }
15816 exit (ferror (f) || fclose (f) != 0);
15817
15818 ;
15819 return 0;
15820 }
15821 _ACEOF
15822 rm -f conftest$ac_exeext
15823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15824 (eval $ac_link) 2>&5
15825 ac_status=$?
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 ac_cv_sizeof_long_long=`cat conftest.val`
15834 else
15835 echo "$as_me: program exited with status $ac_status" >&5
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15838
15839 ( exit $ac_status )
15840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15841 See \`config.log' for more details." >&5
15842 echo "$as_me: error: cannot compute sizeof (long long), 77
15843 See \`config.log' for more details." >&2;}
15844 { (exit 1); exit 1; }; }
15845 fi
15846 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15847 fi
15848 fi
15849 rm -f conftest.val
15850 else
15851 ac_cv_sizeof_long_long=0
15852 fi
15853 fi
15854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15855 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15856 cat >>confdefs.h <<_ACEOF
15857 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15858 _ACEOF
15859
15860
15861 ;;
15862 *-hp-hpux* )
15863 echo "$as_me:$LINENO: checking for long long" >&5
15864 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15865 if test "${ac_cv_type_long_long+set}" = set; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15867 else
15868 cat >conftest.$ac_ext <<_ACEOF
15869 #line $LINENO "configure"
15870 /* confdefs.h. */
15871 _ACEOF
15872 cat confdefs.h >>conftest.$ac_ext
15873 cat >>conftest.$ac_ext <<_ACEOF
15874 /* end confdefs.h. */
15875 $ac_includes_default
15876 int
15877 main ()
15878 {
15879 if ((long long *) 0)
15880 return 0;
15881 if (sizeof (long long))
15882 return 0;
15883 ;
15884 return 0;
15885 }
15886 _ACEOF
15887 rm -f conftest.$ac_objext
15888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15889 (eval $ac_compile) 2>&5
15890 ac_status=$?
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } &&
15893 { ac_try='test -s conftest.$ac_objext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15896 ac_status=$?
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 ac_cv_type_long_long=yes
15900 else
15901 echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.$ac_ext >&5
15903
15904 ac_cv_type_long_long=no
15905 fi
15906 rm -f conftest.$ac_objext conftest.$ac_ext
15907 fi
15908 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15909 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15910
15911 echo "$as_me:$LINENO: checking size of long long" >&5
15912 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15913 if test "${ac_cv_sizeof_long_long+set}" = set; then
15914 echo $ECHO_N "(cached) $ECHO_C" >&6
15915 else
15916 if test "$ac_cv_type_long_long" = yes; then
15917 # The cast to unsigned long works around a bug in the HP C Compiler
15918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15920 # This bug is HP SR number 8606223364.
15921 if test "$cross_compiling" = yes; then
15922 # Depending upon the size, compute the lo and hi bounds.
15923 cat >conftest.$ac_ext <<_ACEOF
15924 #line $LINENO "configure"
15925 /* confdefs.h. */
15926 _ACEOF
15927 cat confdefs.h >>conftest.$ac_ext
15928 cat >>conftest.$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930 $ac_includes_default
15931 int
15932 main ()
15933 {
15934 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15935 test_array [0] = 0
15936
15937 ;
15938 return 0;
15939 }
15940 _ACEOF
15941 rm -f conftest.$ac_objext
15942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15943 (eval $ac_compile) 2>&5
15944 ac_status=$?
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try='test -s conftest.$ac_objext'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15950 ac_status=$?
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15953 ac_lo=0 ac_mid=0
15954 while :; do
15955 cat >conftest.$ac_ext <<_ACEOF
15956 #line $LINENO "configure"
15957 /* confdefs.h. */
15958 _ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962 $ac_includes_default
15963 int
15964 main ()
15965 {
15966 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15967 test_array [0] = 0
15968
15969 ;
15970 return 0;
15971 }
15972 _ACEOF
15973 rm -f conftest.$ac_objext
15974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15975 (eval $ac_compile) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } &&
15979 { ac_try='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 ac_hi=$ac_mid; break
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15989
15990 ac_lo=`expr $ac_mid + 1`
15991 if test $ac_lo -le $ac_mid; then
15992 ac_lo= ac_hi=
15993 break
15994 fi
15995 ac_mid=`expr 2 '*' $ac_mid + 1`
15996 fi
15997 rm -f conftest.$ac_objext conftest.$ac_ext
15998 done
15999 else
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.$ac_ext >&5
16002
16003 cat >conftest.$ac_ext <<_ACEOF
16004 #line $LINENO "configure"
16005 /* confdefs.h. */
16006 _ACEOF
16007 cat confdefs.h >>conftest.$ac_ext
16008 cat >>conftest.$ac_ext <<_ACEOF
16009 /* end confdefs.h. */
16010 $ac_includes_default
16011 int
16012 main ()
16013 {
16014 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16015 test_array [0] = 0
16016
16017 ;
16018 return 0;
16019 }
16020 _ACEOF
16021 rm -f conftest.$ac_objext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16023 (eval $ac_compile) 2>&5
16024 ac_status=$?
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); } &&
16027 { ac_try='test -s conftest.$ac_objext'
16028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16029 (eval $ac_try) 2>&5
16030 ac_status=$?
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); }; }; then
16033 ac_hi=-1 ac_mid=-1
16034 while :; do
16035 cat >conftest.$ac_ext <<_ACEOF
16036 #line $LINENO "configure"
16037 /* confdefs.h. */
16038 _ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16042 $ac_includes_default
16043 int
16044 main ()
16045 {
16046 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16047 test_array [0] = 0
16048
16049 ;
16050 return 0;
16051 }
16052 _ACEOF
16053 rm -f conftest.$ac_objext
16054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16055 (eval $ac_compile) 2>&5
16056 ac_status=$?
16057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16058 (exit $ac_status); } &&
16059 { ac_try='test -s conftest.$ac_objext'
16060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16061 (eval $ac_try) 2>&5
16062 ac_status=$?
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); }; }; then
16065 ac_lo=$ac_mid; break
16066 else
16067 echo "$as_me: failed program was:" >&5
16068 sed 's/^/| /' conftest.$ac_ext >&5
16069
16070 ac_hi=`expr '(' $ac_mid ')' - 1`
16071 if test $ac_mid -le $ac_hi; then
16072 ac_lo= ac_hi=
16073 break
16074 fi
16075 ac_mid=`expr 2 '*' $ac_mid`
16076 fi
16077 rm -f conftest.$ac_objext conftest.$ac_ext
16078 done
16079 else
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16082
16083 ac_lo= ac_hi=
16084 fi
16085 rm -f conftest.$ac_objext conftest.$ac_ext
16086 fi
16087 rm -f conftest.$ac_objext conftest.$ac_ext
16088 # Binary search between lo and hi bounds.
16089 while test "x$ac_lo" != "x$ac_hi"; do
16090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16091 cat >conftest.$ac_ext <<_ACEOF
16092 #line $LINENO "configure"
16093 /* confdefs.h. */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098 $ac_includes_default
16099 int
16100 main ()
16101 {
16102 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16103 test_array [0] = 0
16104
16105 ;
16106 return 0;
16107 }
16108 _ACEOF
16109 rm -f conftest.$ac_objext
16110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16111 (eval $ac_compile) 2>&5
16112 ac_status=$?
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try='test -s conftest.$ac_objext'
16116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16117 (eval $ac_try) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); }; }; then
16121 ac_hi=$ac_mid
16122 else
16123 echo "$as_me: failed program was:" >&5
16124 sed 's/^/| /' conftest.$ac_ext >&5
16125
16126 ac_lo=`expr '(' $ac_mid ')' + 1`
16127 fi
16128 rm -f conftest.$ac_objext conftest.$ac_ext
16129 done
16130 case $ac_lo in
16131 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16132 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16133 See \`config.log' for more details." >&5
16134 echo "$as_me: error: cannot compute sizeof (long long), 77
16135 See \`config.log' for more details." >&2;}
16136 { (exit 1); exit 1; }; } ;;
16137 esac
16138 else
16139 if test "$cross_compiling" = yes; then
16140 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16141 See \`config.log' for more details." >&5
16142 echo "$as_me: error: cannot run test program while cross compiling
16143 See \`config.log' for more details." >&2;}
16144 { (exit 1); exit 1; }; }
16145 else
16146 cat >conftest.$ac_ext <<_ACEOF
16147 #line $LINENO "configure"
16148 /* confdefs.h. */
16149 _ACEOF
16150 cat confdefs.h >>conftest.$ac_ext
16151 cat >>conftest.$ac_ext <<_ACEOF
16152 /* end confdefs.h. */
16153 $ac_includes_default
16154 long longval () { return (long) (sizeof (long long)); }
16155 unsigned long ulongval () { return (long) (sizeof (long long)); }
16156 #include <stdio.h>
16157 #include <stdlib.h>
16158 int
16159 main ()
16160 {
16161
16162 FILE *f = fopen ("conftest.val", "w");
16163 if (! f)
16164 exit (1);
16165 if (((long) (sizeof (long long))) < 0)
16166 {
16167 long i = longval ();
16168 if (i != ((long) (sizeof (long long))))
16169 exit (1);
16170 fprintf (f, "%ld\n", i);
16171 }
16172 else
16173 {
16174 unsigned long i = ulongval ();
16175 if (i != ((long) (sizeof (long long))))
16176 exit (1);
16177 fprintf (f, "%lu\n", i);
16178 }
16179 exit (ferror (f) || fclose (f) != 0);
16180
16181 ;
16182 return 0;
16183 }
16184 _ACEOF
16185 rm -f conftest$ac_exeext
16186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16187 (eval $ac_link) 2>&5
16188 ac_status=$?
16189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16193 ac_status=$?
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; }; then
16196 ac_cv_sizeof_long_long=`cat conftest.val`
16197 else
16198 echo "$as_me: program exited with status $ac_status" >&5
16199 echo "$as_me: failed program was:" >&5
16200 sed 's/^/| /' conftest.$ac_ext >&5
16201
16202 ( exit $ac_status )
16203 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16204 See \`config.log' for more details." >&5
16205 echo "$as_me: error: cannot compute sizeof (long long), 77
16206 See \`config.log' for more details." >&2;}
16207 { (exit 1); exit 1; }; }
16208 fi
16209 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16210 fi
16211 fi
16212 rm -f conftest.val
16213 else
16214 ac_cv_sizeof_long_long=0
16215 fi
16216 fi
16217 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16218 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16219 cat >>confdefs.h <<_ACEOF
16220 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16221 _ACEOF
16222
16223
16224 if test "$ac_cv_sizeof_long_long" != "0"; then
16225 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16226 fi
16227 ;;
16228 * )
16229 echo "$as_me:$LINENO: checking for long long" >&5
16230 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16231 if test "${ac_cv_type_long_long+set}" = set; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 else
16234 cat >conftest.$ac_ext <<_ACEOF
16235 #line $LINENO "configure"
16236 /* confdefs.h. */
16237 _ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 $ac_includes_default
16242 int
16243 main ()
16244 {
16245 if ((long long *) 0)
16246 return 0;
16247 if (sizeof (long long))
16248 return 0;
16249 ;
16250 return 0;
16251 }
16252 _ACEOF
16253 rm -f conftest.$ac_objext
16254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16255 (eval $ac_compile) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); } &&
16259 { ac_try='test -s conftest.$ac_objext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_type_long_long=yes
16266 else
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.$ac_ext >&5
16269
16270 ac_cv_type_long_long=no
16271 fi
16272 rm -f conftest.$ac_objext conftest.$ac_ext
16273 fi
16274 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16275 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16276
16277 echo "$as_me:$LINENO: checking size of long long" >&5
16278 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16279 if test "${ac_cv_sizeof_long_long+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16281 else
16282 if test "$ac_cv_type_long_long" = yes; then
16283 # The cast to unsigned long works around a bug in the HP C Compiler
16284 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16285 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16286 # This bug is HP SR number 8606223364.
16287 if test "$cross_compiling" = yes; then
16288 # Depending upon the size, compute the lo and hi bounds.
16289 cat >conftest.$ac_ext <<_ACEOF
16290 #line $LINENO "configure"
16291 /* confdefs.h. */
16292 _ACEOF
16293 cat confdefs.h >>conftest.$ac_ext
16294 cat >>conftest.$ac_ext <<_ACEOF
16295 /* end confdefs.h. */
16296 $ac_includes_default
16297 int
16298 main ()
16299 {
16300 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16301 test_array [0] = 0
16302
16303 ;
16304 return 0;
16305 }
16306 _ACEOF
16307 rm -f conftest.$ac_objext
16308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16309 (eval $ac_compile) 2>&5
16310 ac_status=$?
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } &&
16313 { ac_try='test -s conftest.$ac_objext'
16314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16315 (eval $ac_try) 2>&5
16316 ac_status=$?
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); }; }; then
16319 ac_lo=0 ac_mid=0
16320 while :; do
16321 cat >conftest.$ac_ext <<_ACEOF
16322 #line $LINENO "configure"
16323 /* confdefs.h. */
16324 _ACEOF
16325 cat confdefs.h >>conftest.$ac_ext
16326 cat >>conftest.$ac_ext <<_ACEOF
16327 /* end confdefs.h. */
16328 $ac_includes_default
16329 int
16330 main ()
16331 {
16332 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16333 test_array [0] = 0
16334
16335 ;
16336 return 0;
16337 }
16338 _ACEOF
16339 rm -f conftest.$ac_objext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16341 (eval $ac_compile) 2>&5
16342 ac_status=$?
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -s conftest.$ac_objext'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16348 ac_status=$?
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; }; then
16351 ac_hi=$ac_mid; break
16352 else
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16355
16356 ac_lo=`expr $ac_mid + 1`
16357 if test $ac_lo -le $ac_mid; then
16358 ac_lo= ac_hi=
16359 break
16360 fi
16361 ac_mid=`expr 2 '*' $ac_mid + 1`
16362 fi
16363 rm -f conftest.$ac_objext conftest.$ac_ext
16364 done
16365 else
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.$ac_ext >&5
16368
16369 cat >conftest.$ac_ext <<_ACEOF
16370 #line $LINENO "configure"
16371 /* confdefs.h. */
16372 _ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 $ac_includes_default
16377 int
16378 main ()
16379 {
16380 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16381 test_array [0] = 0
16382
16383 ;
16384 return 0;
16385 }
16386 _ACEOF
16387 rm -f conftest.$ac_objext
16388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16389 (eval $ac_compile) 2>&5
16390 ac_status=$?
16391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16392 (exit $ac_status); } &&
16393 { ac_try='test -s conftest.$ac_objext'
16394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16395 (eval $ac_try) 2>&5
16396 ac_status=$?
16397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16398 (exit $ac_status); }; }; then
16399 ac_hi=-1 ac_mid=-1
16400 while :; do
16401 cat >conftest.$ac_ext <<_ACEOF
16402 #line $LINENO "configure"
16403 /* confdefs.h. */
16404 _ACEOF
16405 cat confdefs.h >>conftest.$ac_ext
16406 cat >>conftest.$ac_ext <<_ACEOF
16407 /* end confdefs.h. */
16408 $ac_includes_default
16409 int
16410 main ()
16411 {
16412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16413 test_array [0] = 0
16414
16415 ;
16416 return 0;
16417 }
16418 _ACEOF
16419 rm -f conftest.$ac_objext
16420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16421 (eval $ac_compile) 2>&5
16422 ac_status=$?
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try='test -s conftest.$ac_objext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16428 ac_status=$?
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16431 ac_lo=$ac_mid; break
16432 else
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16435
16436 ac_hi=`expr '(' $ac_mid ')' - 1`
16437 if test $ac_mid -le $ac_hi; then
16438 ac_lo= ac_hi=
16439 break
16440 fi
16441 ac_mid=`expr 2 '*' $ac_mid`
16442 fi
16443 rm -f conftest.$ac_objext conftest.$ac_ext
16444 done
16445 else
16446 echo "$as_me: failed program was:" >&5
16447 sed 's/^/| /' conftest.$ac_ext >&5
16448
16449 ac_lo= ac_hi=
16450 fi
16451 rm -f conftest.$ac_objext conftest.$ac_ext
16452 fi
16453 rm -f conftest.$ac_objext conftest.$ac_ext
16454 # Binary search between lo and hi bounds.
16455 while test "x$ac_lo" != "x$ac_hi"; do
16456 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16457 cat >conftest.$ac_ext <<_ACEOF
16458 #line $LINENO "configure"
16459 /* confdefs.h. */
16460 _ACEOF
16461 cat confdefs.h >>conftest.$ac_ext
16462 cat >>conftest.$ac_ext <<_ACEOF
16463 /* end confdefs.h. */
16464 $ac_includes_default
16465 int
16466 main ()
16467 {
16468 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16469 test_array [0] = 0
16470
16471 ;
16472 return 0;
16473 }
16474 _ACEOF
16475 rm -f conftest.$ac_objext
16476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16477 (eval $ac_compile) 2>&5
16478 ac_status=$?
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); } &&
16481 { ac_try='test -s conftest.$ac_objext'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16484 ac_status=$?
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; }; then
16487 ac_hi=$ac_mid
16488 else
16489 echo "$as_me: failed program was:" >&5
16490 sed 's/^/| /' conftest.$ac_ext >&5
16491
16492 ac_lo=`expr '(' $ac_mid ')' + 1`
16493 fi
16494 rm -f conftest.$ac_objext conftest.$ac_ext
16495 done
16496 case $ac_lo in
16497 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16498 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16499 See \`config.log' for more details." >&5
16500 echo "$as_me: error: cannot compute sizeof (long long), 77
16501 See \`config.log' for more details." >&2;}
16502 { (exit 1); exit 1; }; } ;;
16503 esac
16504 else
16505 if test "$cross_compiling" = yes; then
16506 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16507 See \`config.log' for more details." >&5
16508 echo "$as_me: error: cannot run test program while cross compiling
16509 See \`config.log' for more details." >&2;}
16510 { (exit 1); exit 1; }; }
16511 else
16512 cat >conftest.$ac_ext <<_ACEOF
16513 #line $LINENO "configure"
16514 /* confdefs.h. */
16515 _ACEOF
16516 cat confdefs.h >>conftest.$ac_ext
16517 cat >>conftest.$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 $ac_includes_default
16520 long longval () { return (long) (sizeof (long long)); }
16521 unsigned long ulongval () { return (long) (sizeof (long long)); }
16522 #include <stdio.h>
16523 #include <stdlib.h>
16524 int
16525 main ()
16526 {
16527
16528 FILE *f = fopen ("conftest.val", "w");
16529 if (! f)
16530 exit (1);
16531 if (((long) (sizeof (long long))) < 0)
16532 {
16533 long i = longval ();
16534 if (i != ((long) (sizeof (long long))))
16535 exit (1);
16536 fprintf (f, "%ld\n", i);
16537 }
16538 else
16539 {
16540 unsigned long i = ulongval ();
16541 if (i != ((long) (sizeof (long long))))
16542 exit (1);
16543 fprintf (f, "%lu\n", i);
16544 }
16545 exit (ferror (f) || fclose (f) != 0);
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest$ac_exeext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16553 (eval $ac_link) 2>&5
16554 ac_status=$?
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16558 (eval $ac_try) 2>&5
16559 ac_status=$?
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); }; }; then
16562 ac_cv_sizeof_long_long=`cat conftest.val`
16563 else
16564 echo "$as_me: program exited with status $ac_status" >&5
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16567
16568 ( exit $ac_status )
16569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16570 See \`config.log' for more details." >&5
16571 echo "$as_me: error: cannot compute sizeof (long long), 77
16572 See \`config.log' for more details." >&2;}
16573 { (exit 1); exit 1; }; }
16574 fi
16575 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16576 fi
16577 fi
16578 rm -f conftest.val
16579 else
16580 ac_cv_sizeof_long_long=0
16581 fi
16582 fi
16583 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16584 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16585 cat >>confdefs.h <<_ACEOF
16586 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16587 _ACEOF
16588
16589
16590 esac
16591
16592 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16593 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16594 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16595 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 else
16597
16598 if test "$cross_compiling" = yes; then
16599
16600 case "${host}" in
16601 *-pc-msdosdjgpp )
16602 wx_cv_sizeof_wchar_t=0
16603 ;;
16604 * )
16605 wx_cv_sizeof_wchar_t=4
16606 ;;
16607 esac
16608
16609
16610 else
16611 cat >conftest.$ac_ext <<_ACEOF
16612 #line $LINENO "configure"
16613 /* confdefs.h. */
16614 _ACEOF
16615 cat confdefs.h >>conftest.$ac_ext
16616 cat >>conftest.$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618
16619 /* DJGPP only has fake wchar_t: */
16620 #ifdef __DJGPP__
16621 # error "fake wchar_t"
16622 #endif
16623 #ifdef HAVE_WCHAR_H
16624 # ifdef __CYGWIN__
16625 # include <stddef.h>
16626 # endif
16627 # include <wchar.h>
16628 #endif
16629 #ifdef HAVE_STDLIB_H
16630 # include <stdlib.h>
16631 #endif
16632 #include <stdio.h>
16633 int main()
16634 {
16635 FILE *f=fopen("conftestval", "w");
16636 if (!f) exit(1);
16637 fprintf(f, "%i", sizeof(wchar_t));
16638 exit(0);
16639 }
16640
16641 _ACEOF
16642 rm -f conftest$ac_exeext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16644 (eval $ac_link) 2>&5
16645 ac_status=$?
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16650 ac_status=$?
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16653 wx_cv_sizeof_wchar_t=`cat conftestval`
16654 else
16655 echo "$as_me: program exited with status $ac_status" >&5
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.$ac_ext >&5
16658
16659 ( exit $ac_status )
16660 wx_cv_sizeof_wchar_t=0
16661 fi
16662 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16663 fi
16664
16665 fi
16666 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16667 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16668
16669 cat >>confdefs.h <<_ACEOF
16670 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16671 _ACEOF
16672
16673
16674 # Check whether --enable-largefile or --disable-largefile was given.
16675 if test "${enable_largefile+set}" = set; then
16676 enableval="$enable_largefile"
16677
16678 fi;
16679 if test "$enable_largefile" != no; then
16680 wx_largefile=no
16681
16682 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16683 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16684 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687
16688 cat >conftest.$ac_ext <<_ACEOF
16689 #line $LINENO "configure"
16690 /* confdefs.h. */
16691 _ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16695 #define _FILE_OFFSET_BITS 64
16696 #include <sys/types.h>
16697 int
16698 main ()
16699 {
16700 typedef struct {
16701 unsigned int field: sizeof(off_t) == 8;
16702 } wxlf;
16703
16704 ;
16705 return 0;
16706 }
16707 _ACEOF
16708 rm -f conftest.$ac_objext
16709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16710 (eval $ac_compile) 2>&5
16711 ac_status=$?
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } &&
16714 { ac_try='test -s conftest.$ac_objext'
16715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16716 (eval $ac_try) 2>&5
16717 ac_status=$?
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); }; }; then
16720 ac_cv_sys_file_offset_bits=64
16721 else
16722 echo "$as_me: failed program was:" >&5
16723 sed 's/^/| /' conftest.$ac_ext >&5
16724
16725 ac_cv_sys_file_offset_bits=no
16726 fi
16727 rm -f conftest.$ac_objext conftest.$ac_ext
16728
16729
16730 fi
16731 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16732 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16733
16734 if test "$ac_cv_sys_file_offset_bits" != no; then
16735 wx_largefile=yes
16736 cat >>confdefs.h <<_ACEOF
16737 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16738 _ACEOF
16739
16740 fi
16741
16742 if test "x$wx_largefile" != "xyes"; then
16743
16744 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16745 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16746 if test "${ac_cv_sys_large_files+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 else
16749
16750 cat >conftest.$ac_ext <<_ACEOF
16751 #line $LINENO "configure"
16752 /* confdefs.h. */
16753 _ACEOF
16754 cat confdefs.h >>conftest.$ac_ext
16755 cat >>conftest.$ac_ext <<_ACEOF
16756 /* end confdefs.h. */
16757 #define _LARGE_FILES 1
16758 #include <sys/types.h>
16759 int
16760 main ()
16761 {
16762 typedef struct {
16763 unsigned int field: sizeof(off_t) == 8;
16764 } wxlf;
16765
16766 ;
16767 return 0;
16768 }
16769 _ACEOF
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } &&
16776 { ac_try='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16779 ac_status=$?
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_cv_sys_large_files=1
16783 else
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16786
16787 ac_cv_sys_large_files=no
16788 fi
16789 rm -f conftest.$ac_objext conftest.$ac_ext
16790
16791
16792 fi
16793 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16794 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16795
16796 if test "$ac_cv_sys_large_files" != no; then
16797 wx_largefile=yes
16798 cat >>confdefs.h <<_ACEOF
16799 #define _LARGE_FILES $ac_cv_sys_large_files
16800 _ACEOF
16801
16802 fi
16803
16804 fi
16805
16806 echo "$as_me:$LINENO: checking if large file support is available" >&5
16807 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16808 if test "x$wx_largefile" = "xyes"; then
16809 cat >>confdefs.h <<\_ACEOF
16810 #define HAVE_LARGEFILE_SUPPORT 1
16811 _ACEOF
16812
16813 fi
16814 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16815 echo "${ECHO_T}$wx_largefile" >&6
16816 fi
16817
16818
16819 if test "x$wx_largefile" = "xyes"; then
16820 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16821 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16822 else
16823 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16824 fi
16825 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16826 fi
16827
16828 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16829 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16830 if test "${ac_cv_c_bigendian+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 else
16833 ac_cv_c_bigendian=unknown
16834 # See if sys/param.h defines the BYTE_ORDER macro.
16835 cat >conftest.$ac_ext <<_ACEOF
16836 #line $LINENO "configure"
16837 /* confdefs.h. */
16838 _ACEOF
16839 cat confdefs.h >>conftest.$ac_ext
16840 cat >>conftest.$ac_ext <<_ACEOF
16841 /* end confdefs.h. */
16842 #include <sys/types.h>
16843 #include <sys/param.h>
16844 int
16845 main ()
16846 {
16847
16848 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16849 bogus endian macros
16850 #endif
16851 ;
16852 return 0;
16853 }
16854 _ACEOF
16855 rm -f conftest.$ac_objext
16856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16857 (eval $ac_compile) 2>&5
16858 ac_status=$?
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try='test -s conftest.$ac_objext'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16864 ac_status=$?
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 # It does; now see whether it defined to BIG_ENDIAN or not.
16868 cat >conftest.$ac_ext <<_ACEOF
16869 #line $LINENO "configure"
16870 /* confdefs.h. */
16871 _ACEOF
16872 cat confdefs.h >>conftest.$ac_ext
16873 cat >>conftest.$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16875 #include <sys/types.h>
16876 #include <sys/param.h>
16877 int
16878 main ()
16879 {
16880
16881 #if BYTE_ORDER != BIG_ENDIAN
16882 not big endian
16883 #endif
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 rm -f conftest.$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>&5
16891 ac_status=$?
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } &&
16894 { ac_try='test -s conftest.$ac_objext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16897 ac_status=$?
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16900 ac_cv_c_bigendian=yes
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16904
16905 ac_cv_c_bigendian=no
16906 fi
16907 rm -f conftest.$ac_objext conftest.$ac_ext
16908 else
16909 echo "$as_me: failed program was:" >&5
16910 sed 's/^/| /' conftest.$ac_ext >&5
16911
16912 fi
16913 rm -f conftest.$ac_objext conftest.$ac_ext
16914 if test $ac_cv_c_bigendian = unknown; then
16915 if test "$cross_compiling" = yes; then
16916 ac_cv_c_bigendian=unknown
16917 else
16918 cat >conftest.$ac_ext <<_ACEOF
16919 #line $LINENO "configure"
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 main () {
16926 /* Are we little or big endian? From Harbison&Steele. */
16927 union
16928 {
16929 long l;
16930 char c[sizeof (long)];
16931 } u;
16932 u.l = 1;
16933 exit (u.c[sizeof (long) - 1] == 1);
16934 }
16935 _ACEOF
16936 rm -f conftest$ac_exeext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16938 (eval $ac_link) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16944 ac_status=$?
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; }; then
16947 ac_cv_c_bigendian=no
16948 else
16949 echo "$as_me: program exited with status $ac_status" >&5
16950 echo "$as_me: failed program was:" >&5
16951 sed 's/^/| /' conftest.$ac_ext >&5
16952
16953 ( exit $ac_status )
16954 ac_cv_c_bigendian=yes
16955 fi
16956 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16957 fi
16958 fi
16959 fi
16960 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16961 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16962 if test $ac_cv_c_bigendian = unknown; then
16963 { 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
16964 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;}
16965 fi
16966 if test $ac_cv_c_bigendian = yes; then
16967 cat >>confdefs.h <<\_ACEOF
16968 #define WORDS_BIGENDIAN 1
16969 _ACEOF
16970
16971 fi
16972
16973
16974
16975 ac_ext=cc
16976 ac_cpp='$CXXCPP $CPPFLAGS'
16977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16980 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16981 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16982 if test -z "$CXXCPP"; then
16983 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 else
16986 # Double quotes because CXXCPP needs to be expanded
16987 for CXXCPP in "$CXX -E" "/lib/cpp"
16988 do
16989 ac_preproc_ok=false
16990 for ac_cxx_preproc_warn_flag in '' yes
16991 do
16992 # Use a header file that comes with gcc, so configuring glibc
16993 # with a fresh cross-compiler works.
16994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16995 # <limits.h> exists even on freestanding compilers.
16996 # On the NeXT, cc -E runs the code through the compiler's parser,
16997 # not just through cpp. "Syntax error" is here to catch this case.
16998 cat >conftest.$ac_ext <<_ACEOF
16999 #line $LINENO "configure"
17000 /* confdefs.h. */
17001 _ACEOF
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005 #ifdef __STDC__
17006 # include <limits.h>
17007 #else
17008 # include <assert.h>
17009 #endif
17010 Syntax error
17011 _ACEOF
17012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17014 ac_status=$?
17015 grep -v '^ *+' conftest.er1 >conftest.err
17016 rm -f conftest.er1
17017 cat conftest.err >&5
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); } >/dev/null; then
17020 if test -s conftest.err; then
17021 ac_cpp_err=$ac_cxx_preproc_warn_flag
17022 else
17023 ac_cpp_err=
17024 fi
17025 else
17026 ac_cpp_err=yes
17027 fi
17028 if test -z "$ac_cpp_err"; then
17029 :
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 # Broken: fails on valid input.
17035 continue
17036 fi
17037 rm -f conftest.err conftest.$ac_ext
17038
17039 # OK, works on sane cases. Now check whether non-existent headers
17040 # can be detected and how.
17041 cat >conftest.$ac_ext <<_ACEOF
17042 #line $LINENO "configure"
17043 /* confdefs.h. */
17044 _ACEOF
17045 cat confdefs.h >>conftest.$ac_ext
17046 cat >>conftest.$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 #include <ac_nonexistent.h>
17049 _ACEOF
17050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17052 ac_status=$?
17053 grep -v '^ *+' conftest.er1 >conftest.err
17054 rm -f conftest.er1
17055 cat conftest.err >&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } >/dev/null; then
17058 if test -s conftest.err; then
17059 ac_cpp_err=$ac_cxx_preproc_warn_flag
17060 else
17061 ac_cpp_err=
17062 fi
17063 else
17064 ac_cpp_err=yes
17065 fi
17066 if test -z "$ac_cpp_err"; then
17067 # Broken: success on invalid input.
17068 continue
17069 else
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.$ac_ext >&5
17072
17073 # Passes both tests.
17074 ac_preproc_ok=:
17075 break
17076 fi
17077 rm -f conftest.err conftest.$ac_ext
17078
17079 done
17080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17081 rm -f conftest.err conftest.$ac_ext
17082 if $ac_preproc_ok; then
17083 break
17084 fi
17085
17086 done
17087 ac_cv_prog_CXXCPP=$CXXCPP
17088
17089 fi
17090 CXXCPP=$ac_cv_prog_CXXCPP
17091 else
17092 ac_cv_prog_CXXCPP=$CXXCPP
17093 fi
17094 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17095 echo "${ECHO_T}$CXXCPP" >&6
17096 ac_preproc_ok=false
17097 for ac_cxx_preproc_warn_flag in '' yes
17098 do
17099 # Use a header file that comes with gcc, so configuring glibc
17100 # with a fresh cross-compiler works.
17101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17102 # <limits.h> exists even on freestanding compilers.
17103 # On the NeXT, cc -E runs the code through the compiler's parser,
17104 # not just through cpp. "Syntax error" is here to catch this case.
17105 cat >conftest.$ac_ext <<_ACEOF
17106 #line $LINENO "configure"
17107 /* confdefs.h. */
17108 _ACEOF
17109 cat confdefs.h >>conftest.$ac_ext
17110 cat >>conftest.$ac_ext <<_ACEOF
17111 /* end confdefs.h. */
17112 #ifdef __STDC__
17113 # include <limits.h>
17114 #else
17115 # include <assert.h>
17116 #endif
17117 Syntax error
17118 _ACEOF
17119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17121 ac_status=$?
17122 grep -v '^ *+' conftest.er1 >conftest.err
17123 rm -f conftest.er1
17124 cat conftest.err >&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } >/dev/null; then
17127 if test -s conftest.err; then
17128 ac_cpp_err=$ac_cxx_preproc_warn_flag
17129 else
17130 ac_cpp_err=
17131 fi
17132 else
17133 ac_cpp_err=yes
17134 fi
17135 if test -z "$ac_cpp_err"; then
17136 :
17137 else
17138 echo "$as_me: failed program was:" >&5
17139 sed 's/^/| /' conftest.$ac_ext >&5
17140
17141 # Broken: fails on valid input.
17142 continue
17143 fi
17144 rm -f conftest.err conftest.$ac_ext
17145
17146 # OK, works on sane cases. Now check whether non-existent headers
17147 # can be detected and how.
17148 cat >conftest.$ac_ext <<_ACEOF
17149 #line $LINENO "configure"
17150 /* confdefs.h. */
17151 _ACEOF
17152 cat confdefs.h >>conftest.$ac_ext
17153 cat >>conftest.$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155 #include <ac_nonexistent.h>
17156 _ACEOF
17157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17159 ac_status=$?
17160 grep -v '^ *+' conftest.er1 >conftest.err
17161 rm -f conftest.er1
17162 cat conftest.err >&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } >/dev/null; then
17165 if test -s conftest.err; then
17166 ac_cpp_err=$ac_cxx_preproc_warn_flag
17167 else
17168 ac_cpp_err=
17169 fi
17170 else
17171 ac_cpp_err=yes
17172 fi
17173 if test -z "$ac_cpp_err"; then
17174 # Broken: success on invalid input.
17175 continue
17176 else
17177 echo "$as_me: failed program was:" >&5
17178 sed 's/^/| /' conftest.$ac_ext >&5
17179
17180 # Passes both tests.
17181 ac_preproc_ok=:
17182 break
17183 fi
17184 rm -f conftest.err conftest.$ac_ext
17185
17186 done
17187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17188 rm -f conftest.err conftest.$ac_ext
17189 if $ac_preproc_ok; then
17190 :
17191 else
17192 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17193 See \`config.log' for more details." >&5
17194 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17195 See \`config.log' for more details." >&2;}
17196 { (exit 1); exit 1; }; }
17197 fi
17198
17199 ac_ext=cc
17200 ac_cpp='$CXXCPP $CPPFLAGS'
17201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17204
17205
17206
17207 if test "$cross_compiling" = "yes"; then
17208 cat >>confdefs.h <<\_ACEOF
17209 #define wxUSE_IOSTREAMH 1
17210 _ACEOF
17211
17212 else
17213
17214
17215 ac_ext=cc
17216 ac_cpp='$CXXCPP $CPPFLAGS'
17217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17220
17221
17222
17223 for ac_header in iostream
17224 do
17225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17227 echo "$as_me:$LINENO: checking for $ac_header" >&5
17228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 fi
17232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17234 else
17235 # Is the header compilable?
17236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17238 cat >conftest.$ac_ext <<_ACEOF
17239 #line $LINENO "configure"
17240 /* confdefs.h. */
17241 _ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245 $ac_includes_default
17246 #include <$ac_header>
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17250 (eval $ac_compile) 2>&5
17251 ac_status=$?
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); } &&
17254 { ac_try='test -s conftest.$ac_objext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17257 ac_status=$?
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 ac_header_compiler=yes
17261 else
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17264
17265 ac_header_compiler=no
17266 fi
17267 rm -f conftest.$ac_objext conftest.$ac_ext
17268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17269 echo "${ECHO_T}$ac_header_compiler" >&6
17270
17271 # Is the header present?
17272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17274 cat >conftest.$ac_ext <<_ACEOF
17275 #line $LINENO "configure"
17276 /* confdefs.h. */
17277 _ACEOF
17278 cat confdefs.h >>conftest.$ac_ext
17279 cat >>conftest.$ac_ext <<_ACEOF
17280 /* end confdefs.h. */
17281 #include <$ac_header>
17282 _ACEOF
17283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17285 ac_status=$?
17286 grep -v '^ *+' conftest.er1 >conftest.err
17287 rm -f conftest.er1
17288 cat conftest.err >&5
17289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17290 (exit $ac_status); } >/dev/null; then
17291 if test -s conftest.err; then
17292 ac_cpp_err=$ac_cxx_preproc_warn_flag
17293 else
17294 ac_cpp_err=
17295 fi
17296 else
17297 ac_cpp_err=yes
17298 fi
17299 if test -z "$ac_cpp_err"; then
17300 ac_header_preproc=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17304
17305 ac_header_preproc=no
17306 fi
17307 rm -f conftest.err conftest.$ac_ext
17308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17309 echo "${ECHO_T}$ac_header_preproc" >&6
17310
17311 # So? What about this header?
17312 case $ac_header_compiler:$ac_header_preproc in
17313 yes:no )
17314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17318 (
17319 cat <<\_ASBOX
17320 ## ------------------------------------ ##
17321 ## Report this to bug-autoconf@gnu.org. ##
17322 ## ------------------------------------ ##
17323 _ASBOX
17324 ) |
17325 sed "s/^/$as_me: WARNING: /" >&2
17326 ;;
17327 no:yes )
17328 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17329 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17330 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17331 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17334 (
17335 cat <<\_ASBOX
17336 ## ------------------------------------ ##
17337 ## Report this to bug-autoconf@gnu.org. ##
17338 ## ------------------------------------ ##
17339 _ASBOX
17340 ) |
17341 sed "s/^/$as_me: WARNING: /" >&2
17342 ;;
17343 esac
17344 echo "$as_me:$LINENO: checking for $ac_header" >&5
17345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17347 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 else
17349 eval "$as_ac_Header=$ac_header_preproc"
17350 fi
17351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17353
17354 fi
17355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17356 cat >>confdefs.h <<_ACEOF
17357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17358 _ACEOF
17359
17360 fi
17361
17362 done
17363
17364
17365 if test "$ac_cv_header_iostream" = "yes" ; then
17366 :
17367 else
17368 cat >>confdefs.h <<\_ACEOF
17369 #define wxUSE_IOSTREAMH 1
17370 _ACEOF
17371
17372 fi
17373
17374 ac_ext=c
17375 ac_cpp='$CPP $CPPFLAGS'
17376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17379
17380 fi
17381
17382
17383
17384 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17385 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17386 if test "${wx_cv_cpp_bool+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 else
17389
17390
17391
17392 ac_ext=cc
17393 ac_cpp='$CXXCPP $CPPFLAGS'
17394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17397
17398
17399 cat >conftest.$ac_ext <<_ACEOF
17400 #line $LINENO "configure"
17401 /* confdefs.h. */
17402 _ACEOF
17403 cat confdefs.h >>conftest.$ac_ext
17404 cat >>conftest.$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17406
17407
17408 int
17409 main ()
17410 {
17411
17412 bool b = true;
17413
17414 return 0;
17415
17416 ;
17417 return 0;
17418 }
17419 _ACEOF
17420 rm -f conftest.$ac_objext
17421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17422 (eval $ac_compile) 2>&5
17423 ac_status=$?
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } &&
17426 { ac_try='test -s conftest.$ac_objext'
17427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17428 (eval $ac_try) 2>&5
17429 ac_status=$?
17430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17431 (exit $ac_status); }; }; then
17432
17433 wx_cv_cpp_bool=yes
17434
17435 else
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.$ac_ext >&5
17438
17439
17440 wx_cv_cpp_bool=no
17441
17442
17443 fi
17444 rm -f conftest.$ac_objext conftest.$ac_ext
17445
17446 ac_ext=c
17447 ac_cpp='$CPP $CPPFLAGS'
17448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17451
17452
17453 fi
17454 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17455 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17456
17457 if test "$wx_cv_cpp_bool" = "yes"; then
17458 cat >>confdefs.h <<\_ACEOF
17459 #define HAVE_BOOL 1
17460 _ACEOF
17461
17462 fi
17463
17464
17465
17466 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17467 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17468 if test "${wx_cv_explicit+set}" = set; then
17469 echo $ECHO_N "(cached) $ECHO_C" >&6
17470 else
17471
17472
17473
17474 ac_ext=cc
17475 ac_cpp='$CXXCPP $CPPFLAGS'
17476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17479
17480
17481 cat >conftest.$ac_ext <<_ACEOF
17482 #line $LINENO "configure"
17483 /* confdefs.h. */
17484 _ACEOF
17485 cat confdefs.h >>conftest.$ac_ext
17486 cat >>conftest.$ac_ext <<_ACEOF
17487 /* end confdefs.h. */
17488
17489 class Foo { public: explicit Foo(int) {} };
17490
17491 int
17492 main ()
17493 {
17494
17495 return 0;
17496
17497 ;
17498 return 0;
17499 }
17500 _ACEOF
17501 rm -f conftest.$ac_objext
17502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17503 (eval $ac_compile) 2>&5
17504 ac_status=$?
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } &&
17507 { ac_try='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513
17514 cat >conftest.$ac_ext <<_ACEOF
17515 #line $LINENO "configure"
17516 /* confdefs.h. */
17517 _ACEOF
17518 cat confdefs.h >>conftest.$ac_ext
17519 cat >>conftest.$ac_ext <<_ACEOF
17520 /* end confdefs.h. */
17521
17522 class Foo { public: explicit Foo(int) {} };
17523 static void TakeFoo(const Foo& foo) { }
17524
17525 int
17526 main ()
17527 {
17528
17529 TakeFoo(17);
17530 return 0;
17531
17532 ;
17533 return 0;
17534 }
17535 _ACEOF
17536 rm -f conftest.$ac_objext
17537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17538 (eval $ac_compile) 2>&5
17539 ac_status=$?
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } &&
17542 { ac_try='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 wx_cv_explicit=no
17549 else
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17552
17553 wx_cv_explicit=yes
17554
17555 fi
17556 rm -f conftest.$ac_objext conftest.$ac_ext
17557
17558 else
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.$ac_ext >&5
17561
17562 wx_cv_explicit=no
17563
17564 fi
17565 rm -f conftest.$ac_objext conftest.$ac_ext
17566
17567 ac_ext=c
17568 ac_cpp='$CPP $CPPFLAGS'
17569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17572
17573
17574 fi
17575 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17576 echo "${ECHO_T}$wx_cv_explicit" >&6
17577
17578 if test "$wx_cv_explicit" = "yes"; then
17579 cat >>confdefs.h <<\_ACEOF
17580 #define HAVE_EXPLICIT 1
17581 _ACEOF
17582
17583 fi
17584
17585
17586 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17587 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17588 if test "${ac_cv_cxx_const_cast+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17590 else
17591
17592
17593 ac_ext=cc
17594 ac_cpp='$CXXCPP $CPPFLAGS'
17595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17598
17599 cat >conftest.$ac_ext <<_ACEOF
17600 #line $LINENO "configure"
17601 /* confdefs.h. */
17602 _ACEOF
17603 cat confdefs.h >>conftest.$ac_ext
17604 cat >>conftest.$ac_ext <<_ACEOF
17605 /* end confdefs.h. */
17606
17607 int
17608 main ()
17609 {
17610 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17611 ;
17612 return 0;
17613 }
17614 _ACEOF
17615 rm -f conftest.$ac_objext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17617 (eval $ac_compile) 2>&5
17618 ac_status=$?
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try='test -s conftest.$ac_objext'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17624 ac_status=$?
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; }; then
17627 ac_cv_cxx_const_cast=yes
17628 else
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17631
17632 ac_cv_cxx_const_cast=no
17633 fi
17634 rm -f conftest.$ac_objext conftest.$ac_ext
17635 ac_ext=c
17636 ac_cpp='$CPP $CPPFLAGS'
17637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17640
17641
17642 fi
17643 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17644 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17645 if test "$ac_cv_cxx_const_cast" = yes; then
17646
17647 cat >>confdefs.h <<\_ACEOF
17648 #define HAVE_CONST_CAST
17649 _ACEOF
17650
17651 fi
17652
17653
17654
17655 SEARCH_INCLUDE="\
17656 /usr/local/include \
17657 \
17658 /usr/Motif-1.2/include \
17659 /usr/Motif-2.1/include \
17660 \
17661 /usr/include/Motif1.2 \
17662 /opt/xpm/include/X11 \
17663 /opt/GBxpm/include/ \
17664 /opt/GBxpm/X11/include/ \
17665 \
17666 /usr/Motif1.2/include \
17667 /usr/dt/include \
17668 /usr/openwin/include \
17669 \
17670 /usr/include/Xm \
17671 \
17672 /usr/X11R6/include \
17673 /usr/X11R6.4/include \
17674 /usr/X11R5/include \
17675 /usr/X11R4/include \
17676 \
17677 /usr/include/X11R6 \
17678 /usr/include/X11R5 \
17679 /usr/include/X11R4 \
17680 \
17681 /usr/local/X11R6/include \
17682 /usr/local/X11R5/include \
17683 /usr/local/X11R4/include \
17684 \
17685 /usr/local/include/X11R6 \
17686 /usr/local/include/X11R5 \
17687 /usr/local/include/X11R4 \
17688 \
17689 /usr/X11/include \
17690 /usr/include/X11 \
17691 /usr/local/X11/include \
17692 /usr/local/include/X11 \
17693 \
17694 /usr/X386/include \
17695 /usr/x386/include \
17696 /usr/XFree86/include/X11 \
17697 \
17698 X:/XFree86/include \
17699 X:/XFree86/include/X11 \
17700 \
17701 /usr/include/gtk \
17702 /usr/local/include/gtk \
17703 /usr/include/glib \
17704 /usr/local/include/glib \
17705 \
17706 /usr/include/qt \
17707 /usr/local/include/qt \
17708 \
17709 /usr/include/windows \
17710 /usr/include/wine \
17711 /usr/local/include/wine \
17712 \
17713 /usr/unsupported/include \
17714 /usr/athena/include \
17715 /usr/local/x11r5/include \
17716 /usr/lpp/Xamples/include \
17717 \
17718 /usr/openwin/share/include"
17719
17720 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17721
17722
17723 cat >confcache <<\_ACEOF
17724 # This file is a shell script that caches the results of configure
17725 # tests run on this system so they can be shared between configure
17726 # scripts and configure runs, see configure's option --config-cache.
17727 # It is not useful on other systems. If it contains results you don't
17728 # want to keep, you may remove or edit it.
17729 #
17730 # config.status only pays attention to the cache file if you give it
17731 # the --recheck option to rerun configure.
17732 #
17733 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17734 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17735 # following values.
17736
17737 _ACEOF
17738
17739 # The following way of writing the cache mishandles newlines in values,
17740 # but we know of no workaround that is simple, portable, and efficient.
17741 # So, don't put newlines in cache variables' values.
17742 # Ultrix sh set writes to stderr and can't be redirected directly,
17743 # and sets the high bit in the cache file unless we assign to the vars.
17744 {
17745 (set) 2>&1 |
17746 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17747 *ac_space=\ *)
17748 # `set' does not quote correctly, so add quotes (double-quote
17749 # substitution turns \\\\ into \\, and sed turns \\ into \).
17750 sed -n \
17751 "s/'/'\\\\''/g;
17752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17753 ;;
17754 *)
17755 # `set' quotes correctly as required by POSIX, so do not add quotes.
17756 sed -n \
17757 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17758 ;;
17759 esac;
17760 } |
17761 sed '
17762 t clear
17763 : clear
17764 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17765 t end
17766 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17767 : end' >>confcache
17768 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17769 if test -w $cache_file; then
17770 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17771 cat confcache >$cache_file
17772 else
17773 echo "not updating unwritable cache $cache_file"
17774 fi
17775 fi
17776 rm -f confcache
17777
17778 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17779 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17780 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17781 if test "${wx_cv_lib_glibc21+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17783 else
17784
17785 cat >conftest.$ac_ext <<_ACEOF
17786 #line $LINENO "configure"
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <features.h>
17793 int
17794 main ()
17795 {
17796
17797 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17798 #error not glibc2.1
17799 #endif
17800
17801 ;
17802 return 0;
17803 }
17804 _ACEOF
17805 rm -f conftest.$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>&5
17808 ac_status=$?
17809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17810 (exit $ac_status); } &&
17811 { ac_try='test -s conftest.$ac_objext'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; }; then
17817
17818 wx_cv_lib_glibc21=yes
17819
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824
17825 wx_cv_lib_glibc21=no
17826
17827
17828 fi
17829 rm -f conftest.$ac_objext conftest.$ac_ext
17830
17831 fi
17832 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17833 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17834 if test "$wx_cv_lib_glibc21" = "yes"; then
17835 cat >>confdefs.h <<\_ACEOF
17836 #define wxHAVE_GLIBC2 1
17837 _ACEOF
17838
17839 fi
17840 fi
17841
17842 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17843 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17844 cat >>confdefs.h <<\_ACEOF
17845 #define _GNU_SOURCE 1
17846 _ACEOF
17847
17848 fi
17849 fi
17850
17851
17852
17853 REGEX_INCLUDE=
17854 if test "$wxUSE_REGEX" != "no"; then
17855 cat >>confdefs.h <<\_ACEOF
17856 #define wxUSE_REGEX 1
17857 _ACEOF
17858
17859
17860 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17861 if test "${ac_cv_header_regex_h+set}" = set; then
17862 echo "$as_me:$LINENO: checking for regex.h" >&5
17863 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17864 if test "${ac_cv_header_regex_h+set}" = set; then
17865 echo $ECHO_N "(cached) $ECHO_C" >&6
17866 fi
17867 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17868 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17869 else
17870 # Is the header compilable?
17871 echo "$as_me:$LINENO: checking regex.h usability" >&5
17872 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17873 cat >conftest.$ac_ext <<_ACEOF
17874 #line $LINENO "configure"
17875 /* confdefs.h. */
17876 _ACEOF
17877 cat confdefs.h >>conftest.$ac_ext
17878 cat >>conftest.$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 $ac_includes_default
17881 #include <regex.h>
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17885 (eval $ac_compile) 2>&5
17886 ac_status=$?
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); } &&
17889 { ac_try='test -s conftest.$ac_objext'
17890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17891 (eval $ac_try) 2>&5
17892 ac_status=$?
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); }; }; then
17895 ac_header_compiler=yes
17896 else
17897 echo "$as_me: failed program was:" >&5
17898 sed 's/^/| /' conftest.$ac_ext >&5
17899
17900 ac_header_compiler=no
17901 fi
17902 rm -f conftest.$ac_objext conftest.$ac_ext
17903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17904 echo "${ECHO_T}$ac_header_compiler" >&6
17905
17906 # Is the header present?
17907 echo "$as_me:$LINENO: checking regex.h presence" >&5
17908 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17909 cat >conftest.$ac_ext <<_ACEOF
17910 #line $LINENO "configure"
17911 /* confdefs.h. */
17912 _ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 #include <regex.h>
17917 _ACEOF
17918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17920 ac_status=$?
17921 grep -v '^ *+' conftest.er1 >conftest.err
17922 rm -f conftest.er1
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } >/dev/null; then
17926 if test -s conftest.err; then
17927 ac_cpp_err=$ac_c_preproc_warn_flag
17928 else
17929 ac_cpp_err=
17930 fi
17931 else
17932 ac_cpp_err=yes
17933 fi
17934 if test -z "$ac_cpp_err"; then
17935 ac_header_preproc=yes
17936 else
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17939
17940 ac_header_preproc=no
17941 fi
17942 rm -f conftest.err conftest.$ac_ext
17943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17944 echo "${ECHO_T}$ac_header_preproc" >&6
17945
17946 # So? What about this header?
17947 case $ac_header_compiler:$ac_header_preproc in
17948 yes:no )
17949 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17950 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17951 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17952 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17953 (
17954 cat <<\_ASBOX
17955 ## ------------------------------------ ##
17956 ## Report this to bug-autoconf@gnu.org. ##
17957 ## ------------------------------------ ##
17958 _ASBOX
17959 ) |
17960 sed "s/^/$as_me: WARNING: /" >&2
17961 ;;
17962 no:yes )
17963 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17964 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17965 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17966 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17967 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17968 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17969 (
17970 cat <<\_ASBOX
17971 ## ------------------------------------ ##
17972 ## Report this to bug-autoconf@gnu.org. ##
17973 ## ------------------------------------ ##
17974 _ASBOX
17975 ) |
17976 sed "s/^/$as_me: WARNING: /" >&2
17977 ;;
17978 esac
17979 echo "$as_me:$LINENO: checking for regex.h" >&5
17980 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17981 if test "${ac_cv_header_regex_h+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 ac_cv_header_regex_h=$ac_header_preproc
17985 fi
17986 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17987 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17988
17989 fi
17990 if test $ac_cv_header_regex_h = yes; then
17991
17992 for ac_func in regcomp
17993 do
17994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17995 echo "$as_me:$LINENO: checking for $ac_func" >&5
17996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17997 if eval "test \"\${$as_ac_var+set}\" = set"; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
17999 else
18000 cat >conftest.$ac_ext <<_ACEOF
18001 #line $LINENO "configure"
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 /* System header to define __stub macros and hopefully few prototypes,
18008 which can conflict with char $ac_func (); below.
18009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18010 <limits.h> exists even on freestanding compilers. */
18011 #ifdef __STDC__
18012 # include <limits.h>
18013 #else
18014 # include <assert.h>
18015 #endif
18016 /* Override any gcc2 internal prototype to avoid an error. */
18017 #ifdef __cplusplus
18018 extern "C"
18019 {
18020 #endif
18021 /* We use char because int might match the return type of a gcc2
18022 builtin and then its argument prototype would still apply. */
18023 char $ac_func ();
18024 /* The GNU C library defines this for functions which it implements
18025 to always fail with ENOSYS. Some functions are actually named
18026 something starting with __ and the normal name is an alias. */
18027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18028 choke me
18029 #else
18030 char (*f) () = $ac_func;
18031 #endif
18032 #ifdef __cplusplus
18033 }
18034 #endif
18035
18036 int
18037 main ()
18038 {
18039 return f != $ac_func;
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 rm -f conftest.$ac_objext conftest$ac_exeext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18046 (eval $ac_link) 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); } &&
18050 { ac_try='test -s conftest$ac_exeext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 eval "$as_ac_var=yes"
18057 else
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 eval "$as_ac_var=no"
18062 fi
18063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18064 fi
18065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18067 if test `eval echo '${'$as_ac_var'}'` = yes; then
18068 cat >>confdefs.h <<_ACEOF
18069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18070 _ACEOF
18071
18072 fi
18073 done
18074
18075 fi
18076
18077
18078
18079 if test "x$ac_cv_func_regcomp" != "xyes"; then
18080 if test "$wxUSE_REGEX" = "sys" ; then
18081 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18082 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18083 { (exit 1); exit 1; }; }
18084 else
18085 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18086 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18087 wxUSE_REGEX=builtin
18088 fi
18089 else
18090 wxUSE_REGEX=sys
18091 fi
18092 fi
18093
18094 if test "$wxUSE_REGEX" = "builtin" ; then
18095 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18096 fi
18097 fi
18098
18099
18100 ZLIB_INCLUDE=
18101 ZLIB_LINK=
18102 if test "$wxUSE_ZLIB" != "no" ; then
18103 cat >>confdefs.h <<\_ACEOF
18104 #define wxUSE_ZLIB 1
18105 _ACEOF
18106
18107
18108 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18109 if test "$USE_DARWIN" = 1; then
18110 system_zlib_h_ok="yes"
18111 else
18112 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18113 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18114 if test "${ac_cv_header_zlib_h+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 else
18117 if test "$cross_compiling" = yes; then
18118 unset ac_cv_header_zlib_h
18119
18120 else
18121 cat >conftest.$ac_ext <<_ACEOF
18122 #line $LINENO "configure"
18123 /* confdefs.h. */
18124 _ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128
18129 #include <zlib.h>
18130 #include <stdio.h>
18131
18132 int main()
18133 {
18134 FILE *f=fopen("conftestval", "w");
18135 if (!f) exit(1);
18136 fprintf(f, "%s",
18137 ZLIB_VERSION[0] == '1' &&
18138 (ZLIB_VERSION[2] > '1' ||
18139 (ZLIB_VERSION[2] == '1' &&
18140 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18141 exit(0);
18142 }
18143
18144 _ACEOF
18145 rm -f conftest$ac_exeext
18146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18147 (eval $ac_link) 2>&5
18148 ac_status=$?
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18152 (eval $ac_try) 2>&5
18153 ac_status=$?
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); }; }; then
18156 ac_cv_header_zlib_h=`cat conftestval`
18157 else
18158 echo "$as_me: program exited with status $ac_status" >&5
18159 echo "$as_me: failed program was:" >&5
18160 sed 's/^/| /' conftest.$ac_ext >&5
18161
18162 ( exit $ac_status )
18163 ac_cv_header_zlib_h=no
18164 fi
18165 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18166 fi
18167
18168 fi
18169 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18170 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18171 if test "${ac_cv_header_zlib_h+set}" = set; then
18172 echo "$as_me:$LINENO: checking for zlib.h" >&5
18173 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18174 if test "${ac_cv_header_zlib_h+set}" = set; then
18175 echo $ECHO_N "(cached) $ECHO_C" >&6
18176 fi
18177 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18178 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18179 else
18180 # Is the header compilable?
18181 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18182 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18183 cat >conftest.$ac_ext <<_ACEOF
18184 #line $LINENO "configure"
18185 /* confdefs.h. */
18186 _ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 $ac_includes_default
18191 #include <zlib.h>
18192 _ACEOF
18193 rm -f conftest.$ac_objext
18194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18195 (eval $ac_compile) 2>&5
18196 ac_status=$?
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); } &&
18199 { ac_try='test -s conftest.$ac_objext'
18200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18201 (eval $ac_try) 2>&5
18202 ac_status=$?
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); }; }; then
18205 ac_header_compiler=yes
18206 else
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.$ac_ext >&5
18209
18210 ac_header_compiler=no
18211 fi
18212 rm -f conftest.$ac_objext conftest.$ac_ext
18213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18214 echo "${ECHO_T}$ac_header_compiler" >&6
18215
18216 # Is the header present?
18217 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18218 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18219 cat >conftest.$ac_ext <<_ACEOF
18220 #line $LINENO "configure"
18221 /* confdefs.h. */
18222 _ACEOF
18223 cat confdefs.h >>conftest.$ac_ext
18224 cat >>conftest.$ac_ext <<_ACEOF
18225 /* end confdefs.h. */
18226 #include <zlib.h>
18227 _ACEOF
18228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18230 ac_status=$?
18231 grep -v '^ *+' conftest.er1 >conftest.err
18232 rm -f conftest.er1
18233 cat conftest.err >&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } >/dev/null; then
18236 if test -s conftest.err; then
18237 ac_cpp_err=$ac_c_preproc_warn_flag
18238 else
18239 ac_cpp_err=
18240 fi
18241 else
18242 ac_cpp_err=yes
18243 fi
18244 if test -z "$ac_cpp_err"; then
18245 ac_header_preproc=yes
18246 else
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.$ac_ext >&5
18249
18250 ac_header_preproc=no
18251 fi
18252 rm -f conftest.err conftest.$ac_ext
18253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18254 echo "${ECHO_T}$ac_header_preproc" >&6
18255
18256 # So? What about this header?
18257 case $ac_header_compiler:$ac_header_preproc in
18258 yes:no )
18259 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18260 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18261 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18262 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18263 (
18264 cat <<\_ASBOX
18265 ## ------------------------------------ ##
18266 ## Report this to bug-autoconf@gnu.org. ##
18267 ## ------------------------------------ ##
18268 _ASBOX
18269 ) |
18270 sed "s/^/$as_me: WARNING: /" >&2
18271 ;;
18272 no:yes )
18273 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18274 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18275 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18276 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18277 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18278 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18279 (
18280 cat <<\_ASBOX
18281 ## ------------------------------------ ##
18282 ## Report this to bug-autoconf@gnu.org. ##
18283 ## ------------------------------------ ##
18284 _ASBOX
18285 ) |
18286 sed "s/^/$as_me: WARNING: /" >&2
18287 ;;
18288 esac
18289 echo "$as_me:$LINENO: checking for zlib.h" >&5
18290 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18291 if test "${ac_cv_header_zlib_h+set}" = set; then
18292 echo $ECHO_N "(cached) $ECHO_C" >&6
18293 else
18294 ac_cv_header_zlib_h=$ac_header_preproc
18295 fi
18296 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18297 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18298
18299 fi
18300
18301
18302
18303 system_zlib_h_ok=$ac_cv_header_zlib_h
18304 fi
18305
18306 if test "$system_zlib_h_ok" = "yes"; then
18307 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18308 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18309 if test "${ac_cv_lib_z_deflate+set}" = set; then
18310 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 else
18312 ac_check_lib_save_LIBS=$LIBS
18313 LIBS="-lz $LIBS"
18314 cat >conftest.$ac_ext <<_ACEOF
18315 #line $LINENO "configure"
18316 /* confdefs.h. */
18317 _ACEOF
18318 cat confdefs.h >>conftest.$ac_ext
18319 cat >>conftest.$ac_ext <<_ACEOF
18320 /* end confdefs.h. */
18321
18322 /* Override any gcc2 internal prototype to avoid an error. */
18323 #ifdef __cplusplus
18324 extern "C"
18325 #endif
18326 /* We use char because int might match the return type of a gcc2
18327 builtin and then its argument prototype would still apply. */
18328 char deflate ();
18329 int
18330 main ()
18331 {
18332 deflate ();
18333 ;
18334 return 0;
18335 }
18336 _ACEOF
18337 rm -f conftest.$ac_objext conftest$ac_exeext
18338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18339 (eval $ac_link) 2>&5
18340 ac_status=$?
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try='test -s conftest$ac_exeext'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; }; then
18349 ac_cv_lib_z_deflate=yes
18350 else
18351 echo "$as_me: failed program was:" >&5
18352 sed 's/^/| /' conftest.$ac_ext >&5
18353
18354 ac_cv_lib_z_deflate=no
18355 fi
18356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18357 LIBS=$ac_check_lib_save_LIBS
18358 fi
18359 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18360 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18361 if test $ac_cv_lib_z_deflate = yes; then
18362 ZLIB_LINK=" -lz"
18363 fi
18364
18365 fi
18366
18367 if test "x$ZLIB_LINK" = "x" ; then
18368 if test "$wxUSE_ZLIB" = "sys" ; then
18369 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18370 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18371 { (exit 1); exit 1; }; }
18372 else
18373 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18374 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18375 wxUSE_ZLIB=builtin
18376 fi
18377 else
18378 wxUSE_ZLIB=sys
18379 fi
18380 fi
18381
18382 if test "$wxUSE_ZLIB" = "builtin" ; then
18383 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18384 fi
18385 fi
18386
18387
18388 PNG_INCLUDE=
18389 PNG_LINK=
18390 if test "$wxUSE_LIBPNG" != "no" ; then
18391 cat >>confdefs.h <<\_ACEOF
18392 #define wxUSE_LIBPNG 1
18393 _ACEOF
18394
18395
18396 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18397 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18398 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18399 wxUSE_LIBPNG=sys
18400 fi
18401
18402 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18403 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18404 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18405 wxUSE_LIBPNG=builtin
18406 fi
18407
18408 if test "$wxUSE_MGL" != 1 ; then
18409 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18410 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18411 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18412 if test "${ac_cv_header_png_h+set}" = set; then
18413 echo $ECHO_N "(cached) $ECHO_C" >&6
18414 else
18415 if test "$cross_compiling" = yes; then
18416 unset ac_cv_header_png_h
18417
18418 else
18419 cat >conftest.$ac_ext <<_ACEOF
18420 #line $LINENO "configure"
18421 /* confdefs.h. */
18422 _ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426
18427 #include <png.h>
18428 #include <stdio.h>
18429
18430 int main()
18431 {
18432 FILE *f=fopen("conftestval", "w");
18433 if (!f) exit(1);
18434 fprintf(f, "%s",
18435 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18436 exit(0);
18437 }
18438
18439 _ACEOF
18440 rm -f conftest$ac_exeext
18441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18442 (eval $ac_link) 2>&5
18443 ac_status=$?
18444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18448 ac_status=$?
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 ac_cv_header_png_h=`cat conftestval`
18452 else
18453 echo "$as_me: program exited with status $ac_status" >&5
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.$ac_ext >&5
18456
18457 ( exit $ac_status )
18458 ac_cv_header_png_h=no
18459 fi
18460 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18461 fi
18462
18463 fi
18464 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18465 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18466 if test "${ac_cv_header_png_h+set}" = set; then
18467 echo "$as_me:$LINENO: checking for png.h" >&5
18468 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18469 if test "${ac_cv_header_png_h+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 fi
18472 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18473 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18474 else
18475 # Is the header compilable?
18476 echo "$as_me:$LINENO: checking png.h usability" >&5
18477 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18478 cat >conftest.$ac_ext <<_ACEOF
18479 #line $LINENO "configure"
18480 /* confdefs.h. */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 $ac_includes_default
18486 #include <png.h>
18487 _ACEOF
18488 rm -f conftest.$ac_objext
18489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18490 (eval $ac_compile) 2>&5
18491 ac_status=$?
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try='test -s conftest.$ac_objext'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18497 ac_status=$?
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; }; then
18500 ac_header_compiler=yes
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18504
18505 ac_header_compiler=no
18506 fi
18507 rm -f conftest.$ac_objext conftest.$ac_ext
18508 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18509 echo "${ECHO_T}$ac_header_compiler" >&6
18510
18511 # Is the header present?
18512 echo "$as_me:$LINENO: checking png.h presence" >&5
18513 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18514 cat >conftest.$ac_ext <<_ACEOF
18515 #line $LINENO "configure"
18516 /* confdefs.h. */
18517 _ACEOF
18518 cat confdefs.h >>conftest.$ac_ext
18519 cat >>conftest.$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 #include <png.h>
18522 _ACEOF
18523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18525 ac_status=$?
18526 grep -v '^ *+' conftest.er1 >conftest.err
18527 rm -f conftest.er1
18528 cat conftest.err >&5
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); } >/dev/null; then
18531 if test -s conftest.err; then
18532 ac_cpp_err=$ac_c_preproc_warn_flag
18533 else
18534 ac_cpp_err=
18535 fi
18536 else
18537 ac_cpp_err=yes
18538 fi
18539 if test -z "$ac_cpp_err"; then
18540 ac_header_preproc=yes
18541 else
18542 echo "$as_me: failed program was:" >&5
18543 sed 's/^/| /' conftest.$ac_ext >&5
18544
18545 ac_header_preproc=no
18546 fi
18547 rm -f conftest.err conftest.$ac_ext
18548 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18549 echo "${ECHO_T}$ac_header_preproc" >&6
18550
18551 # So? What about this header?
18552 case $ac_header_compiler:$ac_header_preproc in
18553 yes:no )
18554 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18555 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18556 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18557 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18558 (
18559 cat <<\_ASBOX
18560 ## ------------------------------------ ##
18561 ## Report this to bug-autoconf@gnu.org. ##
18562 ## ------------------------------------ ##
18563 _ASBOX
18564 ) |
18565 sed "s/^/$as_me: WARNING: /" >&2
18566 ;;
18567 no:yes )
18568 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18569 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18570 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18571 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18572 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18573 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18574 (
18575 cat <<\_ASBOX
18576 ## ------------------------------------ ##
18577 ## Report this to bug-autoconf@gnu.org. ##
18578 ## ------------------------------------ ##
18579 _ASBOX
18580 ) |
18581 sed "s/^/$as_me: WARNING: /" >&2
18582 ;;
18583 esac
18584 echo "$as_me:$LINENO: checking for png.h" >&5
18585 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18586 if test "${ac_cv_header_png_h+set}" = set; then
18587 echo $ECHO_N "(cached) $ECHO_C" >&6
18588 else
18589 ac_cv_header_png_h=$ac_header_preproc
18590 fi
18591 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18592 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18593
18594 fi
18595
18596
18597
18598 if test "$ac_cv_header_png_h" = "yes"; then
18599 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18600 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18601 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 else
18604 ac_check_lib_save_LIBS=$LIBS
18605 LIBS="-lpng -lz -lm $LIBS"
18606 cat >conftest.$ac_ext <<_ACEOF
18607 #line $LINENO "configure"
18608 /* confdefs.h. */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613
18614 /* Override any gcc2 internal prototype to avoid an error. */
18615 #ifdef __cplusplus
18616 extern "C"
18617 #endif
18618 /* We use char because int might match the return type of a gcc2
18619 builtin and then its argument prototype would still apply. */
18620 char png_check_sig ();
18621 int
18622 main ()
18623 {
18624 png_check_sig ();
18625 ;
18626 return 0;
18627 }
18628 _ACEOF
18629 rm -f conftest.$ac_objext conftest$ac_exeext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18631 (eval $ac_link) 2>&5
18632 ac_status=$?
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); } &&
18635 { ac_try='test -s conftest$ac_exeext'
18636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637 (eval $ac_try) 2>&5
18638 ac_status=$?
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); }; }; then
18641 ac_cv_lib_png_png_check_sig=yes
18642 else
18643 echo "$as_me: failed program was:" >&5
18644 sed 's/^/| /' conftest.$ac_ext >&5
18645
18646 ac_cv_lib_png_png_check_sig=no
18647 fi
18648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18649 LIBS=$ac_check_lib_save_LIBS
18650 fi
18651 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18652 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18653 if test $ac_cv_lib_png_png_check_sig = yes; then
18654 PNG_LINK=" -lpng"
18655 fi
18656
18657 fi
18658
18659 if test "x$PNG_LINK" = "x" ; then
18660 if test "$wxUSE_LIBPNG" = "sys" ; then
18661 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18662 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18663 { (exit 1); exit 1; }; }
18664 else
18665 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18666 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18667 wxUSE_LIBPNG=builtin
18668 fi
18669 else
18670 wxUSE_LIBPNG=sys
18671 fi
18672 fi
18673 fi
18674
18675 if test "$wxUSE_LIBPNG" = "builtin" ; then
18676 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18677 fi
18678
18679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18680 fi
18681
18682
18683 JPEG_INCLUDE=
18684 JPEG_LINK=
18685 if test "$wxUSE_LIBJPEG" != "no" ; then
18686 cat >>confdefs.h <<\_ACEOF
18687 #define wxUSE_LIBJPEG 1
18688 _ACEOF
18689
18690
18691 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18692 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18693 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18694 wxUSE_LIBJPEG=sys
18695 fi
18696
18697 if test "$wxUSE_MGL" != 1 ; then
18698 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18699 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18700 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18701 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18702 echo $ECHO_N "(cached) $ECHO_C" >&6
18703 else
18704 cat >conftest.$ac_ext <<_ACEOF
18705 #line $LINENO "configure"
18706 /* confdefs.h. */
18707 _ACEOF
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18711
18712 #undef HAVE_STDLIB_H
18713 #include <stdio.h>
18714 #include <jpeglib.h>
18715
18716 int
18717 main ()
18718 {
18719
18720
18721 ;
18722 return 0;
18723 }
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } &&
18731 { ac_try='test -s conftest.$ac_objext'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18734 ac_status=$?
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; }; then
18737 ac_cv_header_jpeglib_h=yes
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 ac_cv_header_jpeglib_h=no
18743
18744 fi
18745 rm -f conftest.$ac_objext conftest.$ac_ext
18746
18747 fi
18748
18749 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18750 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18751
18752 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18753 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18754 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18755 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 else
18758 ac_check_lib_save_LIBS=$LIBS
18759 LIBS="-ljpeg $LIBS"
18760 cat >conftest.$ac_ext <<_ACEOF
18761 #line $LINENO "configure"
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767
18768 /* Override any gcc2 internal prototype to avoid an error. */
18769 #ifdef __cplusplus
18770 extern "C"
18771 #endif
18772 /* We use char because int might match the return type of a gcc2
18773 builtin and then its argument prototype would still apply. */
18774 char jpeg_read_header ();
18775 int
18776 main ()
18777 {
18778 jpeg_read_header ();
18779 ;
18780 return 0;
18781 }
18782 _ACEOF
18783 rm -f conftest.$ac_objext conftest$ac_exeext
18784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18785 (eval $ac_link) 2>&5
18786 ac_status=$?
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try='test -s conftest$ac_exeext'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18792 ac_status=$?
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; }; then
18795 ac_cv_lib_jpeg_jpeg_read_header=yes
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18799
18800 ac_cv_lib_jpeg_jpeg_read_header=no
18801 fi
18802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18803 LIBS=$ac_check_lib_save_LIBS
18804 fi
18805 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18806 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18807 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18808 JPEG_LINK=" -ljpeg"
18809 fi
18810
18811 fi
18812
18813 if test "x$JPEG_LINK" = "x" ; then
18814 if test "$wxUSE_LIBJPEG" = "sys" ; then
18815 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18816 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18817 { (exit 1); exit 1; }; }
18818 else
18819 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18820 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18821 wxUSE_LIBJPEG=builtin
18822 fi
18823 else
18824 wxUSE_LIBJPEG=sys
18825 fi
18826 fi
18827 fi
18828
18829 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18830 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18831 fi
18832 fi
18833
18834
18835 TIFF_INCLUDE=
18836 TIFF_LINK=
18837 TIFF_PREREQ_LINKS=-lm
18838 if test "$wxUSE_LIBTIFF" != "no" ; then
18839 cat >>confdefs.h <<\_ACEOF
18840 #define wxUSE_LIBTIFF 1
18841 _ACEOF
18842
18843
18844 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18845 if test "$wxUSE_LIBJPEG" = "sys"; then
18846 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18847 fi
18848 if test "$wxUSE_ZLIB" = "sys"; then
18849 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18850 fi
18851 if test "${ac_cv_header_tiffio_h+set}" = set; then
18852 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18853 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18854 if test "${ac_cv_header_tiffio_h+set}" = set; then
18855 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 fi
18857 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18858 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18859 else
18860 # Is the header compilable?
18861 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18862 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18863 cat >conftest.$ac_ext <<_ACEOF
18864 #line $LINENO "configure"
18865 /* confdefs.h. */
18866 _ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18870 $ac_includes_default
18871 #include <tiffio.h>
18872 _ACEOF
18873 rm -f conftest.$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>&5
18876 ac_status=$?
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); } &&
18879 { ac_try='test -s conftest.$ac_objext'
18880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881 (eval $ac_try) 2>&5
18882 ac_status=$?
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_header_compiler=yes
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 ac_header_compiler=no
18891 fi
18892 rm -f conftest.$ac_objext conftest.$ac_ext
18893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18894 echo "${ECHO_T}$ac_header_compiler" >&6
18895
18896 # Is the header present?
18897 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18898 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18899 cat >conftest.$ac_ext <<_ACEOF
18900 #line $LINENO "configure"
18901 /* confdefs.h. */
18902 _ACEOF
18903 cat confdefs.h >>conftest.$ac_ext
18904 cat >>conftest.$ac_ext <<_ACEOF
18905 /* end confdefs.h. */
18906 #include <tiffio.h>
18907 _ACEOF
18908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18910 ac_status=$?
18911 grep -v '^ *+' conftest.er1 >conftest.err
18912 rm -f conftest.er1
18913 cat conftest.err >&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); } >/dev/null; then
18916 if test -s conftest.err; then
18917 ac_cpp_err=$ac_c_preproc_warn_flag
18918 else
18919 ac_cpp_err=
18920 fi
18921 else
18922 ac_cpp_err=yes
18923 fi
18924 if test -z "$ac_cpp_err"; then
18925 ac_header_preproc=yes
18926 else
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18929
18930 ac_header_preproc=no
18931 fi
18932 rm -f conftest.err conftest.$ac_ext
18933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18934 echo "${ECHO_T}$ac_header_preproc" >&6
18935
18936 # So? What about this header?
18937 case $ac_header_compiler:$ac_header_preproc in
18938 yes:no )
18939 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18940 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18941 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18942 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18943 (
18944 cat <<\_ASBOX
18945 ## ------------------------------------ ##
18946 ## Report this to bug-autoconf@gnu.org. ##
18947 ## ------------------------------------ ##
18948 _ASBOX
18949 ) |
18950 sed "s/^/$as_me: WARNING: /" >&2
18951 ;;
18952 no:yes )
18953 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18954 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18955 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18956 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18957 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18958 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18959 (
18960 cat <<\_ASBOX
18961 ## ------------------------------------ ##
18962 ## Report this to bug-autoconf@gnu.org. ##
18963 ## ------------------------------------ ##
18964 _ASBOX
18965 ) |
18966 sed "s/^/$as_me: WARNING: /" >&2
18967 ;;
18968 esac
18969 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18970 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18971 if test "${ac_cv_header_tiffio_h+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18973 else
18974 ac_cv_header_tiffio_h=$ac_header_preproc
18975 fi
18976 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18977 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18978
18979 fi
18980 if test $ac_cv_header_tiffio_h = yes; then
18981 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18982 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18983 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18985 else
18986 ac_check_lib_save_LIBS=$LIBS
18987 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18988 cat >conftest.$ac_ext <<_ACEOF
18989 #line $LINENO "configure"
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995
18996 /* Override any gcc2 internal prototype to avoid an error. */
18997 #ifdef __cplusplus
18998 extern "C"
18999 #endif
19000 /* We use char because int might match the return type of a gcc2
19001 builtin and then its argument prototype would still apply. */
19002 char TIFFError ();
19003 int
19004 main ()
19005 {
19006 TIFFError ();
19007 ;
19008 return 0;
19009 }
19010 _ACEOF
19011 rm -f conftest.$ac_objext conftest$ac_exeext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19013 (eval $ac_link) 2>&5
19014 ac_status=$?
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } &&
19017 { ac_try='test -s conftest$ac_exeext'
19018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19019 (eval $ac_try) 2>&5
19020 ac_status=$?
19021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19022 (exit $ac_status); }; }; then
19023 ac_cv_lib_tiff_TIFFError=yes
19024 else
19025 echo "$as_me: failed program was:" >&5
19026 sed 's/^/| /' conftest.$ac_ext >&5
19027
19028 ac_cv_lib_tiff_TIFFError=no
19029 fi
19030 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19031 LIBS=$ac_check_lib_save_LIBS
19032 fi
19033 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19034 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19035 if test $ac_cv_lib_tiff_TIFFError = yes; then
19036 TIFF_LINK=" -ltiff"
19037 fi
19038
19039
19040 fi
19041
19042
19043
19044 if test "x$TIFF_LINK" = "x" ; then
19045 if test "$wxUSE_LIBTIFF" = "sys" ; then
19046 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19047 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19048 { (exit 1); exit 1; }; }
19049 else
19050 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19051 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19052 wxUSE_LIBTIFF=builtin
19053 fi
19054 else
19055 wxUSE_LIBTIFF=sys
19056 fi
19057 fi
19058
19059 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19060 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19061 fi
19062 fi
19063
19064
19065 AFMINSTALL=
19066 WIN32INSTALL=
19067
19068 TOOLKIT=
19069 TOOLKIT_INCLUDE=
19070 WIDGET_SET=
19071
19072 if test "$USE_WIN32" = 1 ; then
19073
19074 for ac_header in w32api.h
19075 do
19076 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19078 echo "$as_me:$LINENO: checking for $ac_header" >&5
19079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 fi
19083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19085 else
19086 # Is the header compilable?
19087 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19088 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19089 cat >conftest.$ac_ext <<_ACEOF
19090 #line $LINENO "configure"
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096 $ac_includes_default
19097 #include <$ac_header>
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_header_compiler=yes
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19115
19116 ac_header_compiler=no
19117 fi
19118 rm -f conftest.$ac_objext conftest.$ac_ext
19119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19120 echo "${ECHO_T}$ac_header_compiler" >&6
19121
19122 # Is the header present?
19123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19125 cat >conftest.$ac_ext <<_ACEOF
19126 #line $LINENO "configure"
19127 /* confdefs.h. */
19128 _ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <$ac_header>
19133 _ACEOF
19134 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19135 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19136 ac_status=$?
19137 grep -v '^ *+' conftest.er1 >conftest.err
19138 rm -f conftest.er1
19139 cat conftest.err >&5
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); } >/dev/null; then
19142 if test -s conftest.err; then
19143 ac_cpp_err=$ac_c_preproc_warn_flag
19144 else
19145 ac_cpp_err=
19146 fi
19147 else
19148 ac_cpp_err=yes
19149 fi
19150 if test -z "$ac_cpp_err"; then
19151 ac_header_preproc=yes
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_header_preproc=no
19157 fi
19158 rm -f conftest.err conftest.$ac_ext
19159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19160 echo "${ECHO_T}$ac_header_preproc" >&6
19161
19162 # So? What about this header?
19163 case $ac_header_compiler:$ac_header_preproc in
19164 yes:no )
19165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19169 (
19170 cat <<\_ASBOX
19171 ## ------------------------------------ ##
19172 ## Report this to bug-autoconf@gnu.org. ##
19173 ## ------------------------------------ ##
19174 _ASBOX
19175 ) |
19176 sed "s/^/$as_me: WARNING: /" >&2
19177 ;;
19178 no:yes )
19179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19185 (
19186 cat <<\_ASBOX
19187 ## ------------------------------------ ##
19188 ## Report this to bug-autoconf@gnu.org. ##
19189 ## ------------------------------------ ##
19190 _ASBOX
19191 ) |
19192 sed "s/^/$as_me: WARNING: /" >&2
19193 ;;
19194 esac
19195 echo "$as_me:$LINENO: checking for $ac_header" >&5
19196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 eval "$as_ac_Header=$ac_header_preproc"
19201 fi
19202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19204
19205 fi
19206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19207 cat >>confdefs.h <<_ACEOF
19208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19209 _ACEOF
19210
19211 fi
19212
19213 done
19214
19215 if test "${ac_cv_header_windows_h+set}" = set; then
19216 echo "$as_me:$LINENO: checking for windows.h" >&5
19217 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19218 if test "${ac_cv_header_windows_h+set}" = set; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 fi
19221 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19222 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19223 else
19224 # Is the header compilable?
19225 echo "$as_me:$LINENO: checking windows.h usability" >&5
19226 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19227 cat >conftest.$ac_ext <<_ACEOF
19228 #line $LINENO "configure"
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 $ac_includes_default
19235 #include <windows.h>
19236 _ACEOF
19237 rm -f conftest.$ac_objext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19239 (eval $ac_compile) 2>&5
19240 ac_status=$?
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try='test -s conftest.$ac_objext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19246 ac_status=$?
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19249 ac_header_compiler=yes
19250 else
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.$ac_ext >&5
19253
19254 ac_header_compiler=no
19255 fi
19256 rm -f conftest.$ac_objext conftest.$ac_ext
19257 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19258 echo "${ECHO_T}$ac_header_compiler" >&6
19259
19260 # Is the header present?
19261 echo "$as_me:$LINENO: checking windows.h presence" >&5
19262 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19263 cat >conftest.$ac_ext <<_ACEOF
19264 #line $LINENO "configure"
19265 /* confdefs.h. */
19266 _ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19270 #include <windows.h>
19271 _ACEOF
19272 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19273 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19274 ac_status=$?
19275 grep -v '^ *+' conftest.er1 >conftest.err
19276 rm -f conftest.er1
19277 cat conftest.err >&5
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); } >/dev/null; then
19280 if test -s conftest.err; then
19281 ac_cpp_err=$ac_c_preproc_warn_flag
19282 else
19283 ac_cpp_err=
19284 fi
19285 else
19286 ac_cpp_err=yes
19287 fi
19288 if test -z "$ac_cpp_err"; then
19289 ac_header_preproc=yes
19290 else
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19293
19294 ac_header_preproc=no
19295 fi
19296 rm -f conftest.err conftest.$ac_ext
19297 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19298 echo "${ECHO_T}$ac_header_preproc" >&6
19299
19300 # So? What about this header?
19301 case $ac_header_compiler:$ac_header_preproc in
19302 yes:no )
19303 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19304 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19305 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19306 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19307 (
19308 cat <<\_ASBOX
19309 ## ------------------------------------ ##
19310 ## Report this to bug-autoconf@gnu.org. ##
19311 ## ------------------------------------ ##
19312 _ASBOX
19313 ) |
19314 sed "s/^/$as_me: WARNING: /" >&2
19315 ;;
19316 no:yes )
19317 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19318 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19319 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19320 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19321 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19322 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19323 (
19324 cat <<\_ASBOX
19325 ## ------------------------------------ ##
19326 ## Report this to bug-autoconf@gnu.org. ##
19327 ## ------------------------------------ ##
19328 _ASBOX
19329 ) |
19330 sed "s/^/$as_me: WARNING: /" >&2
19331 ;;
19332 esac
19333 echo "$as_me:$LINENO: checking for windows.h" >&5
19334 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19335 if test "${ac_cv_header_windows_h+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 else
19338 ac_cv_header_windows_h=$ac_header_preproc
19339 fi
19340 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19341 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19342
19343 fi
19344 if test $ac_cv_header_windows_h = yes; then
19345 :
19346 else
19347
19348 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19349 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19350 { (exit 1); exit 1; }; }
19351
19352 fi
19353
19354
19355
19356 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19357 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19358 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19360 else
19361
19362 cat >conftest.$ac_ext <<_ACEOF
19363 #line $LINENO "configure"
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 #include <w32api.h>
19370 int
19371 main ()
19372 {
19373
19374 #define wxCHECK_W32API_VERSION( major, minor ) \
19375 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19376 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19377 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19378
19379 #if !wxCHECK_W32API_VERSION(1,1)
19380 #error You need w32api 1.1 or newer
19381 #endif
19382
19383 ;
19384 return 0;
19385 }
19386 _ACEOF
19387 rm -f conftest.$ac_objext
19388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19389 (eval $ac_compile) 2>&5
19390 ac_status=$?
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } &&
19393 { ac_try='test -s conftest.$ac_objext'
19394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19395 (eval $ac_try) 2>&5
19396 ac_status=$?
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); }; }; then
19399
19400 wx_cv_w32api_win32_ie=yes
19401
19402 else
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19405
19406
19407 wx_cv_w32api_win32_ie=no
19408
19409 fi
19410 rm -f conftest.$ac_objext conftest.$ac_ext
19411
19412 fi
19413 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19414 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19415 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19416 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19417 fi
19418
19419 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19420
19421 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19422 LIBS="$LIBS -loleacc"
19423 fi
19424
19425 case "${host}" in
19426 *-*-cygwin* )
19427 LIBS="$LIBS -lkernel32 -luser32"
19428 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19429 esac
19430
19431 if test "$wxUSE_ODBC" = "sys" ; then
19432 wxUSE_ODBC = "yes"
19433 fi
19434 if test "$wxUSE_ODBC" = "yes" ; then
19435 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19436 cat >>confdefs.h <<\_ACEOF
19437 #define wxUSE_ODBC 1
19438 _ACEOF
19439
19440 fi
19441
19442 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19443 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19444
19445 WIN32INSTALL=win32install
19446 fi
19447
19448 if test "$USE_DARWIN" = 1; then
19449 if test "$wxUSE_PRECOMP" = "yes"; then
19450 CPPFLAGS="$CPPFLAGS -cpp-precomp"
19451 else
19452 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
19453 fi
19454 fi
19455
19456 if test "$wxUSE_GUI" = "yes"; then
19457 USE_GUI=1
19458
19459 GUI_TK_LIBRARY=
19460
19461 WXGTK12=
19462 WXGTK127=
19463 WXGTK20=
19464
19465 if test "$wxUSE_MSW" = 1 ; then
19466 TOOLKIT=MSW
19467 GUIDIST=MSW_DIST
19468 fi
19469
19470 if test "$wxUSE_GTK" = 1; then
19471 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19472 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19473
19474 gtk_version_cached=1
19475 if test "${wx_cv_lib_gtk+set}" = set; then
19476 echo $ECHO_N "(cached) $ECHO_C" >&6
19477 else
19478
19479 gtk_version_cached=0
19480 echo "$as_me:$LINENO: result: " >&5
19481 echo "${ECHO_T}" >&6
19482
19483 GTK_MODULES=
19484 if test "$wxUSE_THREADS" = "yes"; then
19485 GTK_MODULES=gthread
19486 fi
19487
19488 wx_cv_lib_gtk=
19489 if test "x$wxUSE_GTK2" = "xyes"; then
19490 # Check whether --enable-gtktest or --disable-gtktest was given.
19491 if test "${enable_gtktest+set}" = set; then
19492 enableval="$enable_gtktest"
19493
19494 else
19495 enable_gtktest=yes
19496 fi;
19497
19498 pkg_config_args=gtk+-2.0
19499 for module in . $GTK_MODULES
19500 do
19501 case "$module" in
19502 gthread)
19503 pkg_config_args="$pkg_config_args gthread-2.0"
19504 ;;
19505 esac
19506 done
19507
19508 no_gtk=""
19509
19510 # Extract the first word of "pkg-config", so it can be a program name with args.
19511 set dummy pkg-config; ac_word=$2
19512 echo "$as_me:$LINENO: checking for $ac_word" >&5
19513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19514 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 else
19517 case $PKG_CONFIG in
19518 [\\/]* | ?:[\\/]*)
19519 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19520 ;;
19521 *)
19522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19523 for as_dir in $PATH
19524 do
19525 IFS=$as_save_IFS
19526 test -z "$as_dir" && as_dir=.
19527 for ac_exec_ext in '' $ac_executable_extensions; do
19528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19529 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19531 break 2
19532 fi
19533 done
19534 done
19535
19536 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19537 ;;
19538 esac
19539 fi
19540 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19541
19542 if test -n "$PKG_CONFIG"; then
19543 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19544 echo "${ECHO_T}$PKG_CONFIG" >&6
19545 else
19546 echo "$as_me:$LINENO: result: no" >&5
19547 echo "${ECHO_T}no" >&6
19548 fi
19549
19550
19551 if test x$PKG_CONFIG != xno ; then
19552 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19553 :
19554 else
19555 echo *** pkg-config too old; version 0.7 or better required.
19556 no_gtk=yes
19557 PKG_CONFIG=no
19558 fi
19559 else
19560 no_gtk=yes
19561 fi
19562
19563 min_gtk_version=2.0.0
19564 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19565 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19566
19567 if test x$PKG_CONFIG != xno ; then
19568 ## don't try to run the test against uninstalled libtool libs
19569 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19570 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19571 enable_gtktest=no
19572 fi
19573
19574 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19575 :
19576 else
19577 no_gtk=yes
19578 fi
19579 fi
19580
19581 if test x"$no_gtk" = x ; then
19582 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19583 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19584 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19585 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19586 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19587 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19588 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19589 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19590 if test "x$enable_gtktest" = "xyes" ; then
19591 ac_save_CFLAGS="$CFLAGS"
19592 ac_save_LIBS="$LIBS"
19593 CFLAGS="$CFLAGS $GTK_CFLAGS"
19594 LIBS="$GTK_LIBS $LIBS"
19595 rm -f conf.gtktest
19596 if test "$cross_compiling" = yes; then
19597 echo $ac_n "cross compiling; assumed OK... $ac_c"
19598 else
19599 cat >conftest.$ac_ext <<_ACEOF
19600 #line $LINENO "configure"
19601 /* confdefs.h. */
19602 _ACEOF
19603 cat confdefs.h >>conftest.$ac_ext
19604 cat >>conftest.$ac_ext <<_ACEOF
19605 /* end confdefs.h. */
19606
19607 #include <gtk/gtk.h>
19608 #include <stdio.h>
19609 #include <stdlib.h>
19610
19611 int
19612 main ()
19613 {
19614 int major, minor, micro;
19615 char *tmp_version;
19616
19617 system ("touch conf.gtktest");
19618
19619 /* HP/UX 9 (%@#!) writes to sscanf strings */
19620 tmp_version = g_strdup("$min_gtk_version");
19621 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19622 printf("%s, bad version string\n", "$min_gtk_version");
19623 exit(1);
19624 }
19625
19626 if ((gtk_major_version != $gtk_config_major_version) ||
19627 (gtk_minor_version != $gtk_config_minor_version) ||
19628 (gtk_micro_version != $gtk_config_micro_version))
19629 {
19630 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19631 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19632 gtk_major_version, gtk_minor_version, gtk_micro_version);
19633 printf ("*** was found! If pkg-config was correct, then it is best\n");
19634 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19635 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19636 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19637 printf("*** required on your system.\n");
19638 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19639 printf("*** to point to the correct configuration files\n");
19640 }
19641 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19642 (gtk_minor_version != GTK_MINOR_VERSION) ||
19643 (gtk_micro_version != GTK_MICRO_VERSION))
19644 {
19645 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19646 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19647 printf("*** library (version %d.%d.%d)\n",
19648 gtk_major_version, gtk_minor_version, gtk_micro_version);
19649 }
19650 else
19651 {
19652 if ((gtk_major_version > major) ||
19653 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19654 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19655 {
19656 return 0;
19657 }
19658 else
19659 {
19660 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19661 gtk_major_version, gtk_minor_version, gtk_micro_version);
19662 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19663 major, minor, micro);
19664 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19665 printf("***\n");
19666 printf("*** If you have already installed a sufficiently new version, this error\n");
19667 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19668 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19669 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19670 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19671 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19672 printf("*** so that the correct libraries are found at run-time))\n");
19673 }
19674 }
19675 return 1;
19676 }
19677
19678 _ACEOF
19679 rm -f conftest$ac_exeext
19680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19681 (eval $ac_link) 2>&5
19682 ac_status=$?
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 :
19691 else
19692 echo "$as_me: program exited with status $ac_status" >&5
19693 echo "$as_me: failed program was:" >&5
19694 sed 's/^/| /' conftest.$ac_ext >&5
19695
19696 ( exit $ac_status )
19697 no_gtk=yes
19698 fi
19699 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19700 fi
19701 CFLAGS="$ac_save_CFLAGS"
19702 LIBS="$ac_save_LIBS"
19703 fi
19704 fi
19705 if test "x$no_gtk" = x ; then
19706 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19707 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19708 wx_cv_lib_gtk=2.0
19709 else
19710 echo "$as_me:$LINENO: result: no" >&5
19711 echo "${ECHO_T}no" >&6
19712 if test "$PKG_CONFIG" = "no" ; then
19713 echo "*** A new enough version of pkg-config was not found."
19714 echo "*** See http://pkgconfig.sourceforge.net"
19715 else
19716 if test -f conf.gtktest ; then
19717 :
19718 else
19719 echo "*** Could not run GTK+ test program, checking why..."
19720 ac_save_CFLAGS="$CFLAGS"
19721 ac_save_LIBS="$LIBS"
19722 CFLAGS="$CFLAGS $GTK_CFLAGS"
19723 LIBS="$LIBS $GTK_LIBS"
19724 cat >conftest.$ac_ext <<_ACEOF
19725 #line $LINENO "configure"
19726 /* confdefs.h. */
19727 _ACEOF
19728 cat confdefs.h >>conftest.$ac_ext
19729 cat >>conftest.$ac_ext <<_ACEOF
19730 /* end confdefs.h. */
19731
19732 #include <gtk/gtk.h>
19733 #include <stdio.h>
19734
19735 int
19736 main ()
19737 {
19738 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19739 ;
19740 return 0;
19741 }
19742 _ACEOF
19743 rm -f conftest.$ac_objext conftest$ac_exeext
19744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19745 (eval $ac_link) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try='test -s conftest$ac_exeext'
19750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19751 (eval $ac_try) 2>&5
19752 ac_status=$?
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); }; }; then
19755 echo "*** The test program compiled, but did not run. This usually means"
19756 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19757 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19758 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19759 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19760 echo "*** is required on your system"
19761 echo "***"
19762 echo "*** If you have an old version installed, it is best to remove it, although"
19763 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19764 else
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.$ac_ext >&5
19767
19768 echo "*** The test program failed to compile or link. See the file config.log for the"
19769 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19770 fi
19771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19772 CFLAGS="$ac_save_CFLAGS"
19773 LIBS="$ac_save_LIBS"
19774 fi
19775 fi
19776 GTK_CFLAGS=""
19777 GTK_LIBS=""
19778 :
19779 fi
19780
19781
19782 rm -f conf.gtktest
19783
19784 else
19785
19786 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19787 if test "${with_gtk_prefix+set}" = set; then
19788 withval="$with_gtk_prefix"
19789 gtk_config_prefix="$withval"
19790 else
19791 gtk_config_prefix=""
19792 fi;
19793
19794 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19795 if test "${with_gtk_exec_prefix+set}" = set; then
19796 withval="$with_gtk_exec_prefix"
19797 gtk_config_exec_prefix="$withval"
19798 else
19799 gtk_config_exec_prefix=""
19800 fi;
19801 # Check whether --enable-gtktest or --disable-gtktest was given.
19802 if test "${enable_gtktest+set}" = set; then
19803 enableval="$enable_gtktest"
19804
19805 else
19806 enable_gtktest=yes
19807 fi;
19808
19809 for module in . $GTK_MODULES
19810 do
19811 case "$module" in
19812 gthread)
19813 gtk_config_args="$gtk_config_args gthread"
19814 ;;
19815 esac
19816 done
19817
19818 if test x$gtk_config_exec_prefix != x ; then
19819 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19820 if test x${GTK_CONFIG+set} != xset ; then
19821 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19822 fi
19823 fi
19824 if test x$gtk_config_prefix != x ; then
19825 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19826 if test x${GTK_CONFIG+set} != xset ; then
19827 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19828 fi
19829 fi
19830
19831 # Extract the first word of "gtk-config", so it can be a program name with args.
19832 set dummy gtk-config; ac_word=$2
19833 echo "$as_me:$LINENO: checking for $ac_word" >&5
19834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19835 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838 case $GTK_CONFIG in
19839 [\\/]* | ?:[\\/]*)
19840 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19841 ;;
19842 *)
19843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19844 for as_dir in $PATH
19845 do
19846 IFS=$as_save_IFS
19847 test -z "$as_dir" && as_dir=.
19848 for ac_exec_ext in '' $ac_executable_extensions; do
19849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19850 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19852 break 2
19853 fi
19854 done
19855 done
19856
19857 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19858 ;;
19859 esac
19860 fi
19861 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19862
19863 if test -n "$GTK_CONFIG"; then
19864 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19865 echo "${ECHO_T}$GTK_CONFIG" >&6
19866 else
19867 echo "$as_me:$LINENO: result: no" >&5
19868 echo "${ECHO_T}no" >&6
19869 fi
19870
19871 min_gtk_version=1.2.7
19872 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19873 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19874 no_gtk=""
19875 if test "$GTK_CONFIG" = "no" ; then
19876 no_gtk=yes
19877 else
19878 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19879 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19880 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19882 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19884 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19886 if test "x$enable_gtktest" = "xyes" ; then
19887 ac_save_CFLAGS="$CFLAGS"
19888 ac_save_LIBS="$LIBS"
19889 CFLAGS="$CFLAGS $GTK_CFLAGS"
19890 LIBS="$GTK_LIBS $LIBS"
19891 rm -f conf.gtktest
19892 if test "$cross_compiling" = yes; then
19893 echo $ac_n "cross compiling; assumed OK... $ac_c"
19894 else
19895 cat >conftest.$ac_ext <<_ACEOF
19896 #line $LINENO "configure"
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902
19903 #include <gtk/gtk.h>
19904 #include <stdio.h>
19905 #include <stdlib.h>
19906
19907 int
19908 main ()
19909 {
19910 int major, minor, micro;
19911 char *tmp_version;
19912
19913 system ("touch conf.gtktest");
19914
19915 /* HP/UX 9 (%@#!) writes to sscanf strings */
19916 tmp_version = g_strdup("$min_gtk_version");
19917 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19918 printf("%s, bad version string\n", "$min_gtk_version");
19919 exit(1);
19920 }
19921
19922 if ((gtk_major_version != $gtk_config_major_version) ||
19923 (gtk_minor_version != $gtk_config_minor_version) ||
19924 (gtk_micro_version != $gtk_config_micro_version))
19925 {
19926 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19927 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19928 gtk_major_version, gtk_minor_version, gtk_micro_version);
19929 printf ("*** was found! If gtk-config was correct, then it is best\n");
19930 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19931 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19932 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19933 printf("*** required on your system.\n");
19934 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19935 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19936 printf("*** before re-running configure\n");
19937 }
19938 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19939 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19940 (gtk_minor_version != GTK_MINOR_VERSION) ||
19941 (gtk_micro_version != GTK_MICRO_VERSION))
19942 {
19943 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19944 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19945 printf("*** library (version %d.%d.%d)\n",
19946 gtk_major_version, gtk_minor_version, gtk_micro_version);
19947 }
19948 #endif /* defined (GTK_MAJOR_VERSION) ... */
19949 else
19950 {
19951 if ((gtk_major_version > major) ||
19952 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19953 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19954 {
19955 return 0;
19956 }
19957 else
19958 {
19959 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19960 gtk_major_version, gtk_minor_version, gtk_micro_version);
19961 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19962 major, minor, micro);
19963 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19964 printf("***\n");
19965 printf("*** If you have already installed a sufficiently new version, this error\n");
19966 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19967 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19968 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19969 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19970 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19971 printf("*** so that the correct libraries are found at run-time))\n");
19972 }
19973 }
19974 return 1;
19975 }
19976
19977 _ACEOF
19978 rm -f conftest$ac_exeext
19979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19980 (eval $ac_link) 2>&5
19981 ac_status=$?
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19985 (eval $ac_try) 2>&5
19986 ac_status=$?
19987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19988 (exit $ac_status); }; }; then
19989 :
19990 else
19991 echo "$as_me: program exited with status $ac_status" >&5
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19994
19995 ( exit $ac_status )
19996 no_gtk=yes
19997 fi
19998 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19999 fi
20000 CFLAGS="$ac_save_CFLAGS"
20001 LIBS="$ac_save_LIBS"
20002 fi
20003 fi
20004 if test "x$no_gtk" = x ; then
20005 echo "$as_me:$LINENO: result: yes" >&5
20006 echo "${ECHO_T}yes" >&6
20007 wx_cv_lib_gtk=1.2.7
20008 else
20009 echo "$as_me:$LINENO: result: no" >&5
20010 echo "${ECHO_T}no" >&6
20011 if test "$GTK_CONFIG" = "no" ; then
20012 echo "*** The gtk-config script installed by GTK could not be found"
20013 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20014 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20015 echo "*** full path to gtk-config."
20016 else
20017 if test -f conf.gtktest ; then
20018 :
20019 else
20020 echo "*** Could not run GTK test program, checking why..."
20021 CFLAGS="$CFLAGS $GTK_CFLAGS"
20022 LIBS="$LIBS $GTK_LIBS"
20023 cat >conftest.$ac_ext <<_ACEOF
20024 #line $LINENO "configure"
20025 /* confdefs.h. */
20026 _ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20030
20031 #include <gtk/gtk.h>
20032 #include <stdio.h>
20033
20034 int
20035 main ()
20036 {
20037 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20038 ;
20039 return 0;
20040 }
20041 _ACEOF
20042 rm -f conftest.$ac_objext conftest$ac_exeext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20044 (eval $ac_link) 2>&5
20045 ac_status=$?
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try='test -s conftest$ac_exeext'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20051 ac_status=$?
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 echo "*** The test program compiled, but did not run. This usually means"
20055 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20056 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20057 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20058 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20059 echo "*** is required on your system"
20060 echo "***"
20061 echo "*** If you have an old version installed, it is best to remove it, although"
20062 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20063 echo "***"
20064 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20065 echo "*** came with the system with the command"
20066 echo "***"
20067 echo "*** rpm --erase --nodeps gtk gtk-devel"
20068 else
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20071
20072 echo "*** The test program failed to compile or link. See the file config.log for the"
20073 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20074 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20075 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20076 fi
20077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20078 CFLAGS="$ac_save_CFLAGS"
20079 LIBS="$ac_save_LIBS"
20080 fi
20081 fi
20082 GTK_CFLAGS=""
20083 GTK_LIBS=""
20084 :
20085 fi
20086
20087
20088 rm -f conf.gtktest
20089
20090
20091 if test -z "$wx_cv_lib_gtk"; then
20092
20093 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20094 if test "${with_gtk_prefix+set}" = set; then
20095 withval="$with_gtk_prefix"
20096 gtk_config_prefix="$withval"
20097 else
20098 gtk_config_prefix=""
20099 fi;
20100
20101 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20102 if test "${with_gtk_exec_prefix+set}" = set; then
20103 withval="$with_gtk_exec_prefix"
20104 gtk_config_exec_prefix="$withval"
20105 else
20106 gtk_config_exec_prefix=""
20107 fi;
20108 # Check whether --enable-gtktest or --disable-gtktest was given.
20109 if test "${enable_gtktest+set}" = set; then
20110 enableval="$enable_gtktest"
20111
20112 else
20113 enable_gtktest=yes
20114 fi;
20115
20116 for module in . $GTK_MODULES
20117 do
20118 case "$module" in
20119 gthread)
20120 gtk_config_args="$gtk_config_args gthread"
20121 ;;
20122 esac
20123 done
20124
20125 if test x$gtk_config_exec_prefix != x ; then
20126 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20127 if test x${GTK_CONFIG+set} != xset ; then
20128 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20129 fi
20130 fi
20131 if test x$gtk_config_prefix != x ; then
20132 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20133 if test x${GTK_CONFIG+set} != xset ; then
20134 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20135 fi
20136 fi
20137
20138 # Extract the first word of "gtk-config", so it can be a program name with args.
20139 set dummy gtk-config; ac_word=$2
20140 echo "$as_me:$LINENO: checking for $ac_word" >&5
20141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20142 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20143 echo $ECHO_N "(cached) $ECHO_C" >&6
20144 else
20145 case $GTK_CONFIG in
20146 [\\/]* | ?:[\\/]*)
20147 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20148 ;;
20149 *)
20150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20151 for as_dir in $PATH
20152 do
20153 IFS=$as_save_IFS
20154 test -z "$as_dir" && as_dir=.
20155 for ac_exec_ext in '' $ac_executable_extensions; do
20156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20157 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20159 break 2
20160 fi
20161 done
20162 done
20163
20164 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20165 ;;
20166 esac
20167 fi
20168 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20169
20170 if test -n "$GTK_CONFIG"; then
20171 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20172 echo "${ECHO_T}$GTK_CONFIG" >&6
20173 else
20174 echo "$as_me:$LINENO: result: no" >&5
20175 echo "${ECHO_T}no" >&6
20176 fi
20177
20178 min_gtk_version=1.2.3
20179 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20180 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20181 no_gtk=""
20182 if test "$GTK_CONFIG" = "no" ; then
20183 no_gtk=yes
20184 else
20185 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20186 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20187 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20189 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20191 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20193 if test "x$enable_gtktest" = "xyes" ; then
20194 ac_save_CFLAGS="$CFLAGS"
20195 ac_save_LIBS="$LIBS"
20196 CFLAGS="$CFLAGS $GTK_CFLAGS"
20197 LIBS="$GTK_LIBS $LIBS"
20198 rm -f conf.gtktest
20199 if test "$cross_compiling" = yes; then
20200 echo $ac_n "cross compiling; assumed OK... $ac_c"
20201 else
20202 cat >conftest.$ac_ext <<_ACEOF
20203 #line $LINENO "configure"
20204 /* confdefs.h. */
20205 _ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209
20210 #include <gtk/gtk.h>
20211 #include <stdio.h>
20212 #include <stdlib.h>
20213
20214 int
20215 main ()
20216 {
20217 int major, minor, micro;
20218 char *tmp_version;
20219
20220 system ("touch conf.gtktest");
20221
20222 /* HP/UX 9 (%@#!) writes to sscanf strings */
20223 tmp_version = g_strdup("$min_gtk_version");
20224 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20225 printf("%s, bad version string\n", "$min_gtk_version");
20226 exit(1);
20227 }
20228
20229 if ((gtk_major_version != $gtk_config_major_version) ||
20230 (gtk_minor_version != $gtk_config_minor_version) ||
20231 (gtk_micro_version != $gtk_config_micro_version))
20232 {
20233 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20234 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20235 gtk_major_version, gtk_minor_version, gtk_micro_version);
20236 printf ("*** was found! If gtk-config was correct, then it is best\n");
20237 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20238 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20239 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20240 printf("*** required on your system.\n");
20241 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20242 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20243 printf("*** before re-running configure\n");
20244 }
20245 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20246 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20247 (gtk_minor_version != GTK_MINOR_VERSION) ||
20248 (gtk_micro_version != GTK_MICRO_VERSION))
20249 {
20250 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20251 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20252 printf("*** library (version %d.%d.%d)\n",
20253 gtk_major_version, gtk_minor_version, gtk_micro_version);
20254 }
20255 #endif /* defined (GTK_MAJOR_VERSION) ... */
20256 else
20257 {
20258 if ((gtk_major_version > major) ||
20259 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20260 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20261 {
20262 return 0;
20263 }
20264 else
20265 {
20266 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20267 gtk_major_version, gtk_minor_version, gtk_micro_version);
20268 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20269 major, minor, micro);
20270 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20271 printf("***\n");
20272 printf("*** If you have already installed a sufficiently new version, this error\n");
20273 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20274 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20275 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20276 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20277 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20278 printf("*** so that the correct libraries are found at run-time))\n");
20279 }
20280 }
20281 return 1;
20282 }
20283
20284 _ACEOF
20285 rm -f conftest$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>&5
20288 ac_status=$?
20289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20292 (eval $ac_try) 2>&5
20293 ac_status=$?
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); }; }; then
20296 :
20297 else
20298 echo "$as_me: program exited with status $ac_status" >&5
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20301
20302 ( exit $ac_status )
20303 no_gtk=yes
20304 fi
20305 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20306 fi
20307 CFLAGS="$ac_save_CFLAGS"
20308 LIBS="$ac_save_LIBS"
20309 fi
20310 fi
20311 if test "x$no_gtk" = x ; then
20312 echo "$as_me:$LINENO: result: yes" >&5
20313 echo "${ECHO_T}yes" >&6
20314 wx_cv_lib_gtk=1.2.3
20315 else
20316 echo "$as_me:$LINENO: result: no" >&5
20317 echo "${ECHO_T}no" >&6
20318 if test "$GTK_CONFIG" = "no" ; then
20319 echo "*** The gtk-config script installed by GTK could not be found"
20320 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20321 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20322 echo "*** full path to gtk-config."
20323 else
20324 if test -f conf.gtktest ; then
20325 :
20326 else
20327 echo "*** Could not run GTK test program, checking why..."
20328 CFLAGS="$CFLAGS $GTK_CFLAGS"
20329 LIBS="$LIBS $GTK_LIBS"
20330 cat >conftest.$ac_ext <<_ACEOF
20331 #line $LINENO "configure"
20332 /* confdefs.h. */
20333 _ACEOF
20334 cat confdefs.h >>conftest.$ac_ext
20335 cat >>conftest.$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337
20338 #include <gtk/gtk.h>
20339 #include <stdio.h>
20340
20341 int
20342 main ()
20343 {
20344 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20345 ;
20346 return 0;
20347 }
20348 _ACEOF
20349 rm -f conftest.$ac_objext conftest$ac_exeext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20351 (eval $ac_link) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try='test -s conftest$ac_exeext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 echo "*** The test program compiled, but did not run. This usually means"
20362 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20363 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20364 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20365 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20366 echo "*** is required on your system"
20367 echo "***"
20368 echo "*** If you have an old version installed, it is best to remove it, although"
20369 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20370 echo "***"
20371 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20372 echo "*** came with the system with the command"
20373 echo "***"
20374 echo "*** rpm --erase --nodeps gtk gtk-devel"
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379 echo "*** The test program failed to compile or link. See the file config.log for the"
20380 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20381 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20382 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20383 fi
20384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20385 CFLAGS="$ac_save_CFLAGS"
20386 LIBS="$ac_save_LIBS"
20387 fi
20388 fi
20389 GTK_CFLAGS=""
20390 GTK_LIBS=""
20391 :
20392 fi
20393
20394
20395 rm -f conf.gtktest
20396
20397 fi
20398 fi
20399
20400 if test -z "$wx_cv_lib_gtk"; then
20401 wx_cv_lib_gtk=none
20402 else
20403 wx_cv_cflags_gtk=$GTK_CFLAGS
20404 wx_cv_libs_gtk=$GTK_LIBS
20405 fi
20406
20407
20408 fi
20409
20410
20411 if test "$gtk_version_cached" = 1; then
20412 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20413 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20414 fi
20415
20416 case "$wx_cv_lib_gtk" in
20417 2.0) WXGTK20=1
20418 TOOLKIT_VERSION=2
20419 ;;
20420 1.2.7) WXGTK127=1
20421 WXGTK12=1
20422 ;;
20423 1.2.3) WXGTK12=1
20424 ;;
20425 *) { { echo "$as_me:$LINENO: error:
20426 Please check that gtk-config is in path, the directory
20427 where GTK+ libraries are installed (returned by
20428 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20429 equivalent variable and GTK+ is version 1.2.3 or above.
20430 " >&5
20431 echo "$as_me: error:
20432 Please check that gtk-config is in path, the directory
20433 where GTK+ libraries are installed (returned by
20434 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20435 equivalent variable and GTK+ is version 1.2.3 or above.
20436 " >&2;}
20437 { (exit 1); exit 1; }; }
20438 ;;
20439 esac
20440
20441 if test "$WXGTK20" = 1; then
20442 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20443
20444 succeeded=no
20445
20446 if test -z "$PKG_CONFIG"; then
20447 # Extract the first word of "pkg-config", so it can be a program name with args.
20448 set dummy pkg-config; ac_word=$2
20449 echo "$as_me:$LINENO: checking for $ac_word" >&5
20450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20451 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 else
20454 case $PKG_CONFIG in
20455 [\\/]* | ?:[\\/]*)
20456 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20457 ;;
20458 *)
20459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20460 for as_dir in $PATH
20461 do
20462 IFS=$as_save_IFS
20463 test -z "$as_dir" && as_dir=.
20464 for ac_exec_ext in '' $ac_executable_extensions; do
20465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20466 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20468 break 2
20469 fi
20470 done
20471 done
20472
20473 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20474 ;;
20475 esac
20476 fi
20477 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20478
20479 if test -n "$PKG_CONFIG"; then
20480 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20481 echo "${ECHO_T}$PKG_CONFIG" >&6
20482 else
20483 echo "$as_me:$LINENO: result: no" >&5
20484 echo "${ECHO_T}no" >&6
20485 fi
20486
20487 fi
20488
20489 if test "$PKG_CONFIG" = "no" ; then
20490 echo "*** The pkg-config script could not be found. Make sure it is"
20491 echo "*** in your path, or set the PKG_CONFIG environment variable"
20492 echo "*** to the full path to pkg-config."
20493 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20494 else
20495 PKG_CONFIG_MIN_VERSION=0.9.0
20496 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20497 echo "$as_me:$LINENO: checking for pangoft2" >&5
20498 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20499
20500 if $PKG_CONFIG --exists "pangoft2" ; then
20501 echo "$as_me:$LINENO: result: yes" >&5
20502 echo "${ECHO_T}yes" >&6
20503 succeeded=yes
20504
20505 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20506 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20507 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20508 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20509 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20510
20511 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20512 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20513 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20514 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20515 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20516 else
20517 PANGOFT2_CFLAGS=""
20518 PANGOFT2_LIBS=""
20519 ## If we have a custom action on failure, don't print errors, but
20520 ## do set a variable so people can do so.
20521 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20522
20523 fi
20524
20525
20526
20527 else
20528 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20529 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20530 fi
20531 fi
20532
20533 if test $succeeded = yes; then
20534
20535 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20536 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20537
20538 else
20539
20540 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20541 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20542 wxUSE_PRINTING_ARCHITECTURE="no"
20543
20544
20545 fi
20546
20547 fi
20548 else
20549 if test "$wxUSE_UNICODE" = "yes"; then
20550 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20551 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20552 wxUSE_UNICODE=no
20553 fi
20554 fi
20555
20556 if test "$USE_DARWIN" != 1; then
20557
20558 for ac_func in poll
20559 do
20560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20561 echo "$as_me:$LINENO: checking for $ac_func" >&5
20562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20563 if eval "test \"\${$as_ac_var+set}\" = set"; then
20564 echo $ECHO_N "(cached) $ECHO_C" >&6
20565 else
20566 cat >conftest.$ac_ext <<_ACEOF
20567 #line $LINENO "configure"
20568 /* confdefs.h. */
20569 _ACEOF
20570 cat confdefs.h >>conftest.$ac_ext
20571 cat >>conftest.$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20573 /* System header to define __stub macros and hopefully few prototypes,
20574 which can conflict with char $ac_func (); below.
20575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20576 <limits.h> exists even on freestanding compilers. */
20577 #ifdef __STDC__
20578 # include <limits.h>
20579 #else
20580 # include <assert.h>
20581 #endif
20582 /* Override any gcc2 internal prototype to avoid an error. */
20583 #ifdef __cplusplus
20584 extern "C"
20585 {
20586 #endif
20587 /* We use char because int might match the return type of a gcc2
20588 builtin and then its argument prototype would still apply. */
20589 char $ac_func ();
20590 /* The GNU C library defines this for functions which it implements
20591 to always fail with ENOSYS. Some functions are actually named
20592 something starting with __ and the normal name is an alias. */
20593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20594 choke me
20595 #else
20596 char (*f) () = $ac_func;
20597 #endif
20598 #ifdef __cplusplus
20599 }
20600 #endif
20601
20602 int
20603 main ()
20604 {
20605 return f != $ac_func;
20606 ;
20607 return 0;
20608 }
20609 _ACEOF
20610 rm -f conftest.$ac_objext conftest$ac_exeext
20611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20612 (eval $ac_link) 2>&5
20613 ac_status=$?
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } &&
20616 { ac_try='test -s conftest$ac_exeext'
20617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20618 (eval $ac_try) 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20622 eval "$as_ac_var=yes"
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 eval "$as_ac_var=no"
20628 fi
20629 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20630 fi
20631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20633 if test `eval echo '${'$as_ac_var'}'` = yes; then
20634 cat >>confdefs.h <<_ACEOF
20635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20636 _ACEOF
20637
20638 fi
20639 done
20640
20641 fi
20642
20643 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20644 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20645
20646 AFMINSTALL=afminstall
20647 TOOLKIT=GTK
20648 GUIDIST=GTK_DIST
20649
20650 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20651 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20652 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 else
20655 ac_check_lib_save_LIBS=$LIBS
20656 LIBS="-lgdk $LIBS"
20657 cat >conftest.$ac_ext <<_ACEOF
20658 #line $LINENO "configure"
20659 /* confdefs.h. */
20660 _ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664
20665 /* Override any gcc2 internal prototype to avoid an error. */
20666 #ifdef __cplusplus
20667 extern "C"
20668 #endif
20669 /* We use char because int might match the return type of a gcc2
20670 builtin and then its argument prototype would still apply. */
20671 char gdk_im_open ();
20672 int
20673 main ()
20674 {
20675 gdk_im_open ();
20676 ;
20677 return 0;
20678 }
20679 _ACEOF
20680 rm -f conftest.$ac_objext conftest$ac_exeext
20681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20682 (eval $ac_link) 2>&5
20683 ac_status=$?
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try='test -s conftest$ac_exeext'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; }; then
20692 ac_cv_lib_gdk_gdk_im_open=yes
20693 else
20694 echo "$as_me: failed program was:" >&5
20695 sed 's/^/| /' conftest.$ac_ext >&5
20696
20697 ac_cv_lib_gdk_gdk_im_open=no
20698 fi
20699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20700 LIBS=$ac_check_lib_save_LIBS
20701 fi
20702 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20703 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20704 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20705 cat >>confdefs.h <<\_ACEOF
20706 #define HAVE_XIM 1
20707 _ACEOF
20708
20709 fi
20710
20711 fi
20712
20713 if test "$wxUSE_MGL" = 1; then
20714 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20715 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20716 if test "x$MGL_ROOT" = x ; then
20717 echo "$as_me:$LINENO: result: not found" >&5
20718 echo "${ECHO_T}not found" >&6
20719 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20720 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20721 { (exit 1); exit 1; }; }
20722 else
20723 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20724 echo "${ECHO_T}$MGL_ROOT" >&6
20725 fi
20726
20727 echo "$as_me:$LINENO: checking for libmgl location" >&5
20728 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20729 case "${host}" in
20730 *-*-linux* )
20731 if test "x$wxUSE_SHARED" = xyes ; then
20732 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20733 else
20734 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20735 fi
20736 ;;
20737 *-pc-msdosdjgpp )
20738 mgl_os_candidates="dos32/dj2"
20739 ;;
20740 *)
20741 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20742 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20743 { (exit 1); exit 1; }; }
20744 esac
20745
20746 mgl_lib_type=""
20747 mgl_os=""
20748
20749 for mgl_os_i in $mgl_os_candidates ; do
20750 if test "x$mgl_os" = x ; then
20751 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20752 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20753 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20754 mgl_lib_type=debug
20755 mgl_os=$mgl_os_i
20756 fi
20757 fi
20758 if test "x$mgl_lib_type" = x ; then
20759 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20760 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20761 mgl_lib_type=release
20762 mgl_os=$mgl_os_i
20763 fi
20764 fi
20765 fi
20766 done
20767
20768 if test "x$mgl_os" = x ; then
20769 echo "$as_me:$LINENO: result: not found" >&5
20770 echo "${ECHO_T}not found" >&6
20771 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20772 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20773 { (exit 1); exit 1; }; }
20774 fi
20775 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20776 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20777
20778 wxUSE_UNIVERSAL="yes"
20779
20780 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20781 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20782
20783 AFMINSTALL=afminstall
20784 TOOLKIT=MGL
20785 GUIDIST=MGL_DIST
20786 fi
20787
20788 if test "$wxUSE_MICROWIN" = 1; then
20789 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20790 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20791 if test "x$MICROWINDOWS" = x ; then
20792 echo "$as_me:$LINENO: result: not found" >&5
20793 echo "${ECHO_T}not found" >&6
20794 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20795 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20796 { (exit 1); exit 1; }; }
20797 else
20798 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20799 echo "${ECHO_T}$MICROWINDOWS" >&6
20800 fi
20801
20802 if test -f $MICROWINDOWS/lib/libmwin.a; then
20803 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20804 echo "${ECHO_T}MicroWindows' libraries found." >&6
20805 else
20806 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20807 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20808 { (exit 1); exit 1; }; }
20809 fi
20810
20811 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20812 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20813
20814 wxUSE_UNIVERSAL="yes"
20815
20816 AFMINSTALL=afminstall
20817 TOOLKIT=MICROWIN
20818 GUIDIST=MICROWIN_DIST
20819
20820 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20821 fi
20822
20823 if test "$wxUSE_X11" = 1; then
20824 echo "$as_me:$LINENO: checking for X" >&5
20825 echo $ECHO_N "checking for X... $ECHO_C" >&6
20826
20827
20828 # Check whether --with-x or --without-x was given.
20829 if test "${with_x+set}" = set; then
20830 withval="$with_x"
20831
20832 fi;
20833 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20834 if test "x$with_x" = xno; then
20835 # The user explicitly disabled X.
20836 have_x=disabled
20837 else
20838 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20839 # Both variables are already set.
20840 have_x=yes
20841 else
20842 if test "${ac_cv_have_x+set}" = set; then
20843 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 else
20845 # One or both of the vars are not set, and there is no cached value.
20846 ac_x_includes=no ac_x_libraries=no
20847 rm -fr conftest.dir
20848 if mkdir conftest.dir; then
20849 cd conftest.dir
20850 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20851 cat >Imakefile <<'_ACEOF'
20852 acfindx:
20853 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20854 _ACEOF
20855 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20856 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20857 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20858 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20859 for ac_extension in a so sl; do
20860 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20861 test -f $ac_im_libdir/libX11.$ac_extension; then
20862 ac_im_usrlibdir=$ac_im_libdir; break
20863 fi
20864 done
20865 # Screen out bogus values from the imake configuration. They are
20866 # bogus both because they are the default anyway, and because
20867 # using them would break gcc on systems where it needs fixed includes.
20868 case $ac_im_incroot in
20869 /usr/include) ;;
20870 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20871 esac
20872 case $ac_im_usrlibdir in
20873 /usr/lib | /lib) ;;
20874 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20875 esac
20876 fi
20877 cd ..
20878 rm -fr conftest.dir
20879 fi
20880
20881 # Standard set of common directories for X headers.
20882 # Check X11 before X11Rn because it is often a symlink to the current release.
20883 ac_x_header_dirs='
20884 /usr/X11/include
20885 /usr/X11R6/include
20886 /usr/X11R5/include
20887 /usr/X11R4/include
20888
20889 /usr/include/X11
20890 /usr/include/X11R6
20891 /usr/include/X11R5
20892 /usr/include/X11R4
20893
20894 /usr/local/X11/include
20895 /usr/local/X11R6/include
20896 /usr/local/X11R5/include
20897 /usr/local/X11R4/include
20898
20899 /usr/local/include/X11
20900 /usr/local/include/X11R6
20901 /usr/local/include/X11R5
20902 /usr/local/include/X11R4
20903
20904 /usr/X386/include
20905 /usr/x386/include
20906 /usr/XFree86/include/X11
20907
20908 /usr/include
20909 /usr/local/include
20910 /usr/unsupported/include
20911 /usr/athena/include
20912 /usr/local/x11r5/include
20913 /usr/lpp/Xamples/include
20914
20915 /usr/openwin/include
20916 /usr/openwin/share/include'
20917
20918 if test "$ac_x_includes" = no; then
20919 # Guess where to find include files, by looking for Intrinsic.h.
20920 # First, try using that file with no special directory specified.
20921 cat >conftest.$ac_ext <<_ACEOF
20922 #line $LINENO "configure"
20923 /* confdefs.h. */
20924 _ACEOF
20925 cat confdefs.h >>conftest.$ac_ext
20926 cat >>conftest.$ac_ext <<_ACEOF
20927 /* end confdefs.h. */
20928 #include <X11/Intrinsic.h>
20929 _ACEOF
20930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20932 ac_status=$?
20933 grep -v '^ *+' conftest.er1 >conftest.err
20934 rm -f conftest.er1
20935 cat conftest.err >&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } >/dev/null; then
20938 if test -s conftest.err; then
20939 ac_cpp_err=$ac_c_preproc_warn_flag
20940 else
20941 ac_cpp_err=
20942 fi
20943 else
20944 ac_cpp_err=yes
20945 fi
20946 if test -z "$ac_cpp_err"; then
20947 # We can compile using X headers with no special include directory.
20948 ac_x_includes=
20949 else
20950 echo "$as_me: failed program was:" >&5
20951 sed 's/^/| /' conftest.$ac_ext >&5
20952
20953 for ac_dir in $ac_x_header_dirs; do
20954 if test -r "$ac_dir/X11/Intrinsic.h"; then
20955 ac_x_includes=$ac_dir
20956 break
20957 fi
20958 done
20959 fi
20960 rm -f conftest.err conftest.$ac_ext
20961 fi # $ac_x_includes = no
20962
20963 if test "$ac_x_libraries" = no; then
20964 # Check for the libraries.
20965 # See if we find them without any special options.
20966 # Don't add to $LIBS permanently.
20967 ac_save_LIBS=$LIBS
20968 LIBS="-lXt $LIBS"
20969 cat >conftest.$ac_ext <<_ACEOF
20970 #line $LINENO "configure"
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 #include <X11/Intrinsic.h>
20977 int
20978 main ()
20979 {
20980 XtMalloc (0)
20981 ;
20982 return 0;
20983 }
20984 _ACEOF
20985 rm -f conftest.$ac_objext conftest$ac_exeext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20987 (eval $ac_link) 2>&5
20988 ac_status=$?
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } &&
20991 { ac_try='test -s conftest$ac_exeext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20994 ac_status=$?
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 LIBS=$ac_save_LIBS
20998 # We can link X programs with no special library path.
20999 ac_x_libraries=
21000 else
21001 echo "$as_me: failed program was:" >&5
21002 sed 's/^/| /' conftest.$ac_ext >&5
21003
21004 LIBS=$ac_save_LIBS
21005 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21006 do
21007 # Don't even attempt the hair of trying to link an X program!
21008 for ac_extension in a so sl; do
21009 if test -r $ac_dir/libXt.$ac_extension; then
21010 ac_x_libraries=$ac_dir
21011 break 2
21012 fi
21013 done
21014 done
21015 fi
21016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21017 fi # $ac_x_libraries = no
21018
21019 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21020 # Didn't find X anywhere. Cache the known absence of X.
21021 ac_cv_have_x="have_x=no"
21022 else
21023 # Record where we found X for the cache.
21024 ac_cv_have_x="have_x=yes \
21025 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21026 fi
21027 fi
21028
21029 fi
21030 eval "$ac_cv_have_x"
21031 fi # $with_x != no
21032
21033 if test "$have_x" != yes; then
21034 echo "$as_me:$LINENO: result: $have_x" >&5
21035 echo "${ECHO_T}$have_x" >&6
21036 no_x=yes
21037 else
21038 # If each of the values was on the command line, it overrides each guess.
21039 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21040 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21041 # Update the cache value to reflect the command line values.
21042 ac_cv_have_x="have_x=yes \
21043 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21044 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21045 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21046 fi
21047
21048 if test "$no_x" = yes; then
21049 # Not all programs may use this symbol, but it does not hurt to define it.
21050
21051 cat >>confdefs.h <<\_ACEOF
21052 #define X_DISPLAY_MISSING 1
21053 _ACEOF
21054
21055 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21056 else
21057 if test -n "$x_includes"; then
21058 X_CFLAGS="$X_CFLAGS -I$x_includes"
21059 fi
21060
21061 # It would also be nice to do this for all -L options, not just this one.
21062 if test -n "$x_libraries"; then
21063 X_LIBS="$X_LIBS -L$x_libraries"
21064 # For Solaris; some versions of Sun CC require a space after -R and
21065 # others require no space. Words are not sufficient . . . .
21066 case `(uname -sr) 2>/dev/null` in
21067 "SunOS 5"*)
21068 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21069 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21070 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21071 cat >conftest.$ac_ext <<_ACEOF
21072 #line $LINENO "configure"
21073 /* confdefs.h. */
21074 _ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078
21079 int
21080 main ()
21081 {
21082
21083 ;
21084 return 0;
21085 }
21086 _ACEOF
21087 rm -f conftest.$ac_objext conftest$ac_exeext
21088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21089 (eval $ac_link) 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try='test -s conftest$ac_exeext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 ac_R_nospace=yes
21100 else
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.$ac_ext >&5
21103
21104 ac_R_nospace=no
21105 fi
21106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21107 if test $ac_R_nospace = yes; then
21108 echo "$as_me:$LINENO: result: no" >&5
21109 echo "${ECHO_T}no" >&6
21110 X_LIBS="$X_LIBS -R$x_libraries"
21111 else
21112 LIBS="$ac_xsave_LIBS -R $x_libraries"
21113 cat >conftest.$ac_ext <<_ACEOF
21114 #line $LINENO "configure"
21115 /* confdefs.h. */
21116 _ACEOF
21117 cat confdefs.h >>conftest.$ac_ext
21118 cat >>conftest.$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21120
21121 int
21122 main ()
21123 {
21124
21125 ;
21126 return 0;
21127 }
21128 _ACEOF
21129 rm -f conftest.$ac_objext conftest$ac_exeext
21130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21131 (eval $ac_link) 2>&5
21132 ac_status=$?
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } &&
21135 { ac_try='test -s conftest$ac_exeext'
21136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21137 (eval $ac_try) 2>&5
21138 ac_status=$?
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); }; }; then
21141 ac_R_space=yes
21142 else
21143 echo "$as_me: failed program was:" >&5
21144 sed 's/^/| /' conftest.$ac_ext >&5
21145
21146 ac_R_space=no
21147 fi
21148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21149 if test $ac_R_space = yes; then
21150 echo "$as_me:$LINENO: result: yes" >&5
21151 echo "${ECHO_T}yes" >&6
21152 X_LIBS="$X_LIBS -R $x_libraries"
21153 else
21154 echo "$as_me:$LINENO: result: neither works" >&5
21155 echo "${ECHO_T}neither works" >&6
21156 fi
21157 fi
21158 LIBS=$ac_xsave_LIBS
21159 esac
21160 fi
21161
21162 # Check for system-dependent libraries X programs must link with.
21163 # Do this before checking for the system-independent R6 libraries
21164 # (-lICE), since we may need -lsocket or whatever for X linking.
21165
21166 if test "$ISC" = yes; then
21167 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21168 else
21169 # Martyn Johnson says this is needed for Ultrix, if the X
21170 # libraries were built with DECnet support. And Karl Berry says
21171 # the Alpha needs dnet_stub (dnet does not exist).
21172 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21173 cat >conftest.$ac_ext <<_ACEOF
21174 #line $LINENO "configure"
21175 /* confdefs.h. */
21176 _ACEOF
21177 cat confdefs.h >>conftest.$ac_ext
21178 cat >>conftest.$ac_ext <<_ACEOF
21179 /* end confdefs.h. */
21180
21181 /* Override any gcc2 internal prototype to avoid an error. */
21182 #ifdef __cplusplus
21183 extern "C"
21184 #endif
21185 /* We use char because int might match the return type of a gcc2
21186 builtin and then its argument prototype would still apply. */
21187 char XOpenDisplay ();
21188 int
21189 main ()
21190 {
21191 XOpenDisplay ();
21192 ;
21193 return 0;
21194 }
21195 _ACEOF
21196 rm -f conftest.$ac_objext conftest$ac_exeext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21198 (eval $ac_link) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try='test -s conftest$ac_exeext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 :
21209 else
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.$ac_ext >&5
21212
21213 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21214 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21215 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21216 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 else
21218 ac_check_lib_save_LIBS=$LIBS
21219 LIBS="-ldnet $LIBS"
21220 cat >conftest.$ac_ext <<_ACEOF
21221 #line $LINENO "configure"
21222 /* confdefs.h. */
21223 _ACEOF
21224 cat confdefs.h >>conftest.$ac_ext
21225 cat >>conftest.$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227
21228 /* Override any gcc2 internal prototype to avoid an error. */
21229 #ifdef __cplusplus
21230 extern "C"
21231 #endif
21232 /* We use char because int might match the return type of a gcc2
21233 builtin and then its argument prototype would still apply. */
21234 char dnet_ntoa ();
21235 int
21236 main ()
21237 {
21238 dnet_ntoa ();
21239 ;
21240 return 0;
21241 }
21242 _ACEOF
21243 rm -f conftest.$ac_objext conftest$ac_exeext
21244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21245 (eval $ac_link) 2>&5
21246 ac_status=$?
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try='test -s conftest$ac_exeext'
21250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21251 (eval $ac_try) 2>&5
21252 ac_status=$?
21253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21254 (exit $ac_status); }; }; then
21255 ac_cv_lib_dnet_dnet_ntoa=yes
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ac_cv_lib_dnet_dnet_ntoa=no
21261 fi
21262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21263 LIBS=$ac_check_lib_save_LIBS
21264 fi
21265 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21266 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21267 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21268 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21269 fi
21270
21271 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21272 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21273 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21274 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 else
21277 ac_check_lib_save_LIBS=$LIBS
21278 LIBS="-ldnet_stub $LIBS"
21279 cat >conftest.$ac_ext <<_ACEOF
21280 #line $LINENO "configure"
21281 /* confdefs.h. */
21282 _ACEOF
21283 cat confdefs.h >>conftest.$ac_ext
21284 cat >>conftest.$ac_ext <<_ACEOF
21285 /* end confdefs.h. */
21286
21287 /* Override any gcc2 internal prototype to avoid an error. */
21288 #ifdef __cplusplus
21289 extern "C"
21290 #endif
21291 /* We use char because int might match the return type of a gcc2
21292 builtin and then its argument prototype would still apply. */
21293 char dnet_ntoa ();
21294 int
21295 main ()
21296 {
21297 dnet_ntoa ();
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 rm -f conftest.$ac_objext conftest$ac_exeext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21304 (eval $ac_link) 2>&5
21305 ac_status=$?
21306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21307 (exit $ac_status); } &&
21308 { ac_try='test -s conftest$ac_exeext'
21309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21310 (eval $ac_try) 2>&5
21311 ac_status=$?
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); }; }; then
21314 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21315 else
21316 echo "$as_me: failed program was:" >&5
21317 sed 's/^/| /' conftest.$ac_ext >&5
21318
21319 ac_cv_lib_dnet_stub_dnet_ntoa=no
21320 fi
21321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21322 LIBS=$ac_check_lib_save_LIBS
21323 fi
21324 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21325 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21326 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21327 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21328 fi
21329
21330 fi
21331 fi
21332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21333 LIBS="$ac_xsave_LIBS"
21334
21335 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21336 # to get the SysV transport functions.
21337 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21338 # needs -lnsl.
21339 # The nsl library prevents programs from opening the X display
21340 # on Irix 5.2, according to T.E. Dickey.
21341 # The functions gethostbyname, getservbyname, and inet_addr are
21342 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21343 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21344 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21345 if test "${ac_cv_func_gethostbyname+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21347 else
21348 cat >conftest.$ac_ext <<_ACEOF
21349 #line $LINENO "configure"
21350 /* confdefs.h. */
21351 _ACEOF
21352 cat confdefs.h >>conftest.$ac_ext
21353 cat >>conftest.$ac_ext <<_ACEOF
21354 /* end confdefs.h. */
21355 /* System header to define __stub macros and hopefully few prototypes,
21356 which can conflict with char gethostbyname (); below.
21357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21358 <limits.h> exists even on freestanding compilers. */
21359 #ifdef __STDC__
21360 # include <limits.h>
21361 #else
21362 # include <assert.h>
21363 #endif
21364 /* Override any gcc2 internal prototype to avoid an error. */
21365 #ifdef __cplusplus
21366 extern "C"
21367 {
21368 #endif
21369 /* We use char because int might match the return type of a gcc2
21370 builtin and then its argument prototype would still apply. */
21371 char gethostbyname ();
21372 /* The GNU C library defines this for functions which it implements
21373 to always fail with ENOSYS. Some functions are actually named
21374 something starting with __ and the normal name is an alias. */
21375 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21376 choke me
21377 #else
21378 char (*f) () = gethostbyname;
21379 #endif
21380 #ifdef __cplusplus
21381 }
21382 #endif
21383
21384 int
21385 main ()
21386 {
21387 return f != gethostbyname;
21388 ;
21389 return 0;
21390 }
21391 _ACEOF
21392 rm -f conftest.$ac_objext conftest$ac_exeext
21393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21394 (eval $ac_link) 2>&5
21395 ac_status=$?
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); } &&
21398 { ac_try='test -s conftest$ac_exeext'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21401 ac_status=$?
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; }; then
21404 ac_cv_func_gethostbyname=yes
21405 else
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.$ac_ext >&5
21408
21409 ac_cv_func_gethostbyname=no
21410 fi
21411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21412 fi
21413 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21414 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21415
21416 if test $ac_cv_func_gethostbyname = no; then
21417 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21418 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21419 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 else
21422 ac_check_lib_save_LIBS=$LIBS
21423 LIBS="-lnsl $LIBS"
21424 cat >conftest.$ac_ext <<_ACEOF
21425 #line $LINENO "configure"
21426 /* confdefs.h. */
21427 _ACEOF
21428 cat confdefs.h >>conftest.$ac_ext
21429 cat >>conftest.$ac_ext <<_ACEOF
21430 /* end confdefs.h. */
21431
21432 /* Override any gcc2 internal prototype to avoid an error. */
21433 #ifdef __cplusplus
21434 extern "C"
21435 #endif
21436 /* We use char because int might match the return type of a gcc2
21437 builtin and then its argument prototype would still apply. */
21438 char gethostbyname ();
21439 int
21440 main ()
21441 {
21442 gethostbyname ();
21443 ;
21444 return 0;
21445 }
21446 _ACEOF
21447 rm -f conftest.$ac_objext conftest$ac_exeext
21448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21449 (eval $ac_link) 2>&5
21450 ac_status=$?
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } &&
21453 { ac_try='test -s conftest$ac_exeext'
21454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21455 (eval $ac_try) 2>&5
21456 ac_status=$?
21457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21458 (exit $ac_status); }; }; then
21459 ac_cv_lib_nsl_gethostbyname=yes
21460 else
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.$ac_ext >&5
21463
21464 ac_cv_lib_nsl_gethostbyname=no
21465 fi
21466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21467 LIBS=$ac_check_lib_save_LIBS
21468 fi
21469 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21470 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21471 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21472 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21473 fi
21474
21475 if test $ac_cv_lib_nsl_gethostbyname = no; then
21476 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21477 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21478 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21479 echo $ECHO_N "(cached) $ECHO_C" >&6
21480 else
21481 ac_check_lib_save_LIBS=$LIBS
21482 LIBS="-lbsd $LIBS"
21483 cat >conftest.$ac_ext <<_ACEOF
21484 #line $LINENO "configure"
21485 /* confdefs.h. */
21486 _ACEOF
21487 cat confdefs.h >>conftest.$ac_ext
21488 cat >>conftest.$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21490
21491 /* Override any gcc2 internal prototype to avoid an error. */
21492 #ifdef __cplusplus
21493 extern "C"
21494 #endif
21495 /* We use char because int might match the return type of a gcc2
21496 builtin and then its argument prototype would still apply. */
21497 char gethostbyname ();
21498 int
21499 main ()
21500 {
21501 gethostbyname ();
21502 ;
21503 return 0;
21504 }
21505 _ACEOF
21506 rm -f conftest.$ac_objext conftest$ac_exeext
21507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21508 (eval $ac_link) 2>&5
21509 ac_status=$?
21510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21511 (exit $ac_status); } &&
21512 { ac_try='test -s conftest$ac_exeext'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_lib_bsd_gethostbyname=yes
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 ac_cv_lib_bsd_gethostbyname=no
21524 fi
21525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21526 LIBS=$ac_check_lib_save_LIBS
21527 fi
21528 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21529 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21530 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21531 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21532 fi
21533
21534 fi
21535 fi
21536
21537 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21538 # socket/setsockopt and other routines are undefined under SCO ODT
21539 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21540 # on later versions), says Simon Leinen: it contains gethostby*
21541 # variants that don't use the name server (or something). -lsocket
21542 # must be given before -lnsl if both are needed. We assume that
21543 # if connect needs -lnsl, so does gethostbyname.
21544 echo "$as_me:$LINENO: checking for connect" >&5
21545 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21546 if test "${ac_cv_func_connect+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 else
21549 cat >conftest.$ac_ext <<_ACEOF
21550 #line $LINENO "configure"
21551 /* confdefs.h. */
21552 _ACEOF
21553 cat confdefs.h >>conftest.$ac_ext
21554 cat >>conftest.$ac_ext <<_ACEOF
21555 /* end confdefs.h. */
21556 /* System header to define __stub macros and hopefully few prototypes,
21557 which can conflict with char connect (); below.
21558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21559 <limits.h> exists even on freestanding compilers. */
21560 #ifdef __STDC__
21561 # include <limits.h>
21562 #else
21563 # include <assert.h>
21564 #endif
21565 /* Override any gcc2 internal prototype to avoid an error. */
21566 #ifdef __cplusplus
21567 extern "C"
21568 {
21569 #endif
21570 /* We use char because int might match the return type of a gcc2
21571 builtin and then its argument prototype would still apply. */
21572 char connect ();
21573 /* The GNU C library defines this for functions which it implements
21574 to always fail with ENOSYS. Some functions are actually named
21575 something starting with __ and the normal name is an alias. */
21576 #if defined (__stub_connect) || defined (__stub___connect)
21577 choke me
21578 #else
21579 char (*f) () = connect;
21580 #endif
21581 #ifdef __cplusplus
21582 }
21583 #endif
21584
21585 int
21586 main ()
21587 {
21588 return f != connect;
21589 ;
21590 return 0;
21591 }
21592 _ACEOF
21593 rm -f conftest.$ac_objext conftest$ac_exeext
21594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21595 (eval $ac_link) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } &&
21599 { ac_try='test -s conftest$ac_exeext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_cv_func_connect=yes
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21609
21610 ac_cv_func_connect=no
21611 fi
21612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21613 fi
21614 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21615 echo "${ECHO_T}$ac_cv_func_connect" >&6
21616
21617 if test $ac_cv_func_connect = no; then
21618 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21619 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21620 if test "${ac_cv_lib_socket_connect+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21623 ac_check_lib_save_LIBS=$LIBS
21624 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21625 cat >conftest.$ac_ext <<_ACEOF
21626 #line $LINENO "configure"
21627 /* confdefs.h. */
21628 _ACEOF
21629 cat confdefs.h >>conftest.$ac_ext
21630 cat >>conftest.$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21632
21633 /* Override any gcc2 internal prototype to avoid an error. */
21634 #ifdef __cplusplus
21635 extern "C"
21636 #endif
21637 /* We use char because int might match the return type of a gcc2
21638 builtin and then its argument prototype would still apply. */
21639 char connect ();
21640 int
21641 main ()
21642 {
21643 connect ();
21644 ;
21645 return 0;
21646 }
21647 _ACEOF
21648 rm -f conftest.$ac_objext conftest$ac_exeext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21650 (eval $ac_link) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } &&
21654 { ac_try='test -s conftest$ac_exeext'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_cv_lib_socket_connect=yes
21661 else
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ac_cv_lib_socket_connect=no
21666 fi
21667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21668 LIBS=$ac_check_lib_save_LIBS
21669 fi
21670 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21671 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21672 if test $ac_cv_lib_socket_connect = yes; then
21673 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21674 fi
21675
21676 fi
21677
21678 # Guillermo Gomez says -lposix is necessary on A/UX.
21679 echo "$as_me:$LINENO: checking for remove" >&5
21680 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21681 if test "${ac_cv_func_remove+set}" = set; then
21682 echo $ECHO_N "(cached) $ECHO_C" >&6
21683 else
21684 cat >conftest.$ac_ext <<_ACEOF
21685 #line $LINENO "configure"
21686 /* confdefs.h. */
21687 _ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 /* System header to define __stub macros and hopefully few prototypes,
21692 which can conflict with char remove (); below.
21693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21694 <limits.h> exists even on freestanding compilers. */
21695 #ifdef __STDC__
21696 # include <limits.h>
21697 #else
21698 # include <assert.h>
21699 #endif
21700 /* Override any gcc2 internal prototype to avoid an error. */
21701 #ifdef __cplusplus
21702 extern "C"
21703 {
21704 #endif
21705 /* We use char because int might match the return type of a gcc2
21706 builtin and then its argument prototype would still apply. */
21707 char remove ();
21708 /* The GNU C library defines this for functions which it implements
21709 to always fail with ENOSYS. Some functions are actually named
21710 something starting with __ and the normal name is an alias. */
21711 #if defined (__stub_remove) || defined (__stub___remove)
21712 choke me
21713 #else
21714 char (*f) () = remove;
21715 #endif
21716 #ifdef __cplusplus
21717 }
21718 #endif
21719
21720 int
21721 main ()
21722 {
21723 return f != remove;
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 rm -f conftest.$ac_objext conftest$ac_exeext
21729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21730 (eval $ac_link) 2>&5
21731 ac_status=$?
21732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21733 (exit $ac_status); } &&
21734 { ac_try='test -s conftest$ac_exeext'
21735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21736 (eval $ac_try) 2>&5
21737 ac_status=$?
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); }; }; then
21740 ac_cv_func_remove=yes
21741 else
21742 echo "$as_me: failed program was:" >&5
21743 sed 's/^/| /' conftest.$ac_ext >&5
21744
21745 ac_cv_func_remove=no
21746 fi
21747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21748 fi
21749 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21750 echo "${ECHO_T}$ac_cv_func_remove" >&6
21751
21752 if test $ac_cv_func_remove = no; then
21753 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21754 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21755 if test "${ac_cv_lib_posix_remove+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 else
21758 ac_check_lib_save_LIBS=$LIBS
21759 LIBS="-lposix $LIBS"
21760 cat >conftest.$ac_ext <<_ACEOF
21761 #line $LINENO "configure"
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767
21768 /* Override any gcc2 internal prototype to avoid an error. */
21769 #ifdef __cplusplus
21770 extern "C"
21771 #endif
21772 /* We use char because int might match the return type of a gcc2
21773 builtin and then its argument prototype would still apply. */
21774 char remove ();
21775 int
21776 main ()
21777 {
21778 remove ();
21779 ;
21780 return 0;
21781 }
21782 _ACEOF
21783 rm -f conftest.$ac_objext conftest$ac_exeext
21784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21785 (eval $ac_link) 2>&5
21786 ac_status=$?
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); } &&
21789 { ac_try='test -s conftest$ac_exeext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21792 ac_status=$?
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 ac_cv_lib_posix_remove=yes
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21799
21800 ac_cv_lib_posix_remove=no
21801 fi
21802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21803 LIBS=$ac_check_lib_save_LIBS
21804 fi
21805 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21806 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21807 if test $ac_cv_lib_posix_remove = yes; then
21808 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21809 fi
21810
21811 fi
21812
21813 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21814 echo "$as_me:$LINENO: checking for shmat" >&5
21815 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21816 if test "${ac_cv_func_shmat+set}" = set; then
21817 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 else
21819 cat >conftest.$ac_ext <<_ACEOF
21820 #line $LINENO "configure"
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 /* System header to define __stub macros and hopefully few prototypes,
21827 which can conflict with char shmat (); below.
21828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21829 <limits.h> exists even on freestanding compilers. */
21830 #ifdef __STDC__
21831 # include <limits.h>
21832 #else
21833 # include <assert.h>
21834 #endif
21835 /* Override any gcc2 internal prototype to avoid an error. */
21836 #ifdef __cplusplus
21837 extern "C"
21838 {
21839 #endif
21840 /* We use char because int might match the return type of a gcc2
21841 builtin and then its argument prototype would still apply. */
21842 char shmat ();
21843 /* The GNU C library defines this for functions which it implements
21844 to always fail with ENOSYS. Some functions are actually named
21845 something starting with __ and the normal name is an alias. */
21846 #if defined (__stub_shmat) || defined (__stub___shmat)
21847 choke me
21848 #else
21849 char (*f) () = shmat;
21850 #endif
21851 #ifdef __cplusplus
21852 }
21853 #endif
21854
21855 int
21856 main ()
21857 {
21858 return f != shmat;
21859 ;
21860 return 0;
21861 }
21862 _ACEOF
21863 rm -f conftest.$ac_objext conftest$ac_exeext
21864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21865 (eval $ac_link) 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } &&
21869 { ac_try='test -s conftest$ac_exeext'
21870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21871 (eval $ac_try) 2>&5
21872 ac_status=$?
21873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21874 (exit $ac_status); }; }; then
21875 ac_cv_func_shmat=yes
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21879
21880 ac_cv_func_shmat=no
21881 fi
21882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21883 fi
21884 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21885 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21886
21887 if test $ac_cv_func_shmat = no; then
21888 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21889 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21890 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893 ac_check_lib_save_LIBS=$LIBS
21894 LIBS="-lipc $LIBS"
21895 cat >conftest.$ac_ext <<_ACEOF
21896 #line $LINENO "configure"
21897 /* confdefs.h. */
21898 _ACEOF
21899 cat confdefs.h >>conftest.$ac_ext
21900 cat >>conftest.$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21902
21903 /* Override any gcc2 internal prototype to avoid an error. */
21904 #ifdef __cplusplus
21905 extern "C"
21906 #endif
21907 /* We use char because int might match the return type of a gcc2
21908 builtin and then its argument prototype would still apply. */
21909 char shmat ();
21910 int
21911 main ()
21912 {
21913 shmat ();
21914 ;
21915 return 0;
21916 }
21917 _ACEOF
21918 rm -f conftest.$ac_objext conftest$ac_exeext
21919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21920 (eval $ac_link) 2>&5
21921 ac_status=$?
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); } &&
21924 { ac_try='test -s conftest$ac_exeext'
21925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21926 (eval $ac_try) 2>&5
21927 ac_status=$?
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); }; }; then
21930 ac_cv_lib_ipc_shmat=yes
21931 else
21932 echo "$as_me: failed program was:" >&5
21933 sed 's/^/| /' conftest.$ac_ext >&5
21934
21935 ac_cv_lib_ipc_shmat=no
21936 fi
21937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21938 LIBS=$ac_check_lib_save_LIBS
21939 fi
21940 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21941 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21942 if test $ac_cv_lib_ipc_shmat = yes; then
21943 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21944 fi
21945
21946 fi
21947 fi
21948
21949 # Check for libraries that X11R6 Xt/Xaw programs need.
21950 ac_save_LDFLAGS=$LDFLAGS
21951 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21952 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21953 # check for ICE first), but we must link in the order -lSM -lICE or
21954 # we get undefined symbols. So assume we have SM if we have ICE.
21955 # These have to be linked with before -lX11, unlike the other
21956 # libraries we check for below, so use a different variable.
21957 # John Interrante, Karl Berry
21958 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21959 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21960 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21961 echo $ECHO_N "(cached) $ECHO_C" >&6
21962 else
21963 ac_check_lib_save_LIBS=$LIBS
21964 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21965 cat >conftest.$ac_ext <<_ACEOF
21966 #line $LINENO "configure"
21967 /* confdefs.h. */
21968 _ACEOF
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21972
21973 /* Override any gcc2 internal prototype to avoid an error. */
21974 #ifdef __cplusplus
21975 extern "C"
21976 #endif
21977 /* We use char because int might match the return type of a gcc2
21978 builtin and then its argument prototype would still apply. */
21979 char IceConnectionNumber ();
21980 int
21981 main ()
21982 {
21983 IceConnectionNumber ();
21984 ;
21985 return 0;
21986 }
21987 _ACEOF
21988 rm -f conftest.$ac_objext conftest$ac_exeext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21990 (eval $ac_link) 2>&5
21991 ac_status=$?
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } &&
21994 { ac_try='test -s conftest$ac_exeext'
21995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21996 (eval $ac_try) 2>&5
21997 ac_status=$?
21998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21999 (exit $ac_status); }; }; then
22000 ac_cv_lib_ICE_IceConnectionNumber=yes
22001 else
22002 echo "$as_me: failed program was:" >&5
22003 sed 's/^/| /' conftest.$ac_ext >&5
22004
22005 ac_cv_lib_ICE_IceConnectionNumber=no
22006 fi
22007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22008 LIBS=$ac_check_lib_save_LIBS
22009 fi
22010 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22011 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22012 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22013 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22014 fi
22015
22016 LDFLAGS=$ac_save_LDFLAGS
22017
22018 fi
22019
22020
22021 if test "$no_x" = "yes"; then
22022 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22023 echo "$as_me: error: X11 not found" >&2;}
22024 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22025 fi
22026
22027 GUI_TK_LIBRARY="$X_LIBS"
22028 TOOLKIT_INCLUDE="$X_CFLAGS"
22029 AFMINSTALL=afminstall
22030 COMPILED_X_PROGRAM=0
22031
22032 if test "$wxUSE_NANOX" = "yes"; then
22033 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22034 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22035 if test "x$MICROWIN" = x ; then
22036 echo "$as_me:$LINENO: result: not found" >&5
22037 echo "${ECHO_T}not found" >&6
22038 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22039 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22040 { (exit 1); exit 1; }; }
22041 else
22042 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22043 echo "${ECHO_T}$MICROWIN" >&6
22044 cat >>confdefs.h <<\_ACEOF
22045 #define wxUSE_NANOX 1
22046 _ACEOF
22047
22048 fi
22049 fi
22050
22051 xpm_link=
22052 echo "$as_me:$LINENO: checking for Xpm library" >&5
22053 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22054
22055 ac_find_libraries=
22056 for ac_dir in $SEARCH_LIB /usr/lib;
22057 do
22058 for ac_extension in a so sl dylib; do
22059 if test -f "$ac_dir/libXpm.$ac_extension"; then
22060 ac_find_libraries=$ac_dir
22061 break 2
22062 fi
22063 done
22064 done
22065
22066 if test "$ac_find_libraries" != "" ; then
22067
22068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22069 result=$?
22070 if test $result = 0; then
22071 ac_path_to_link=""
22072 else
22073 ac_path_to_link=" -L$ac_find_libraries"
22074 fi
22075
22076 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22077 xpm_link=" -lXpm"
22078 cat >>confdefs.h <<\_ACEOF
22079 #define wxHAVE_LIB_XPM 1
22080 _ACEOF
22081
22082 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22083 echo "${ECHO_T}found at $ac_find_libraries" >&6
22084 else
22085 cat >conftest.$ac_ext <<_ACEOF
22086 #line $LINENO "configure"
22087 /* confdefs.h. */
22088 _ACEOF
22089 cat confdefs.h >>conftest.$ac_ext
22090 cat >>conftest.$ac_ext <<_ACEOF
22091 /* end confdefs.h. */
22092
22093 #include <X11/xpm.h>
22094
22095 int
22096 main ()
22097 {
22098
22099 int version;
22100 version = XpmLibraryVersion();
22101
22102 ;
22103 return 0;
22104 }
22105 _ACEOF
22106 rm -f conftest.$ac_objext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22108 (eval $ac_compile) 2>&5
22109 ac_status=$?
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } &&
22112 { ac_try='test -s conftest.$ac_objext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22115 ac_status=$?
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22118
22119 xpm_link=" -lXpm"
22120 cat >>confdefs.h <<\_ACEOF
22121 #define wxHAVE_LIB_XPM 1
22122 _ACEOF
22123
22124 echo "$as_me:$LINENO: result: found in default search path" >&5
22125 echo "${ECHO_T}found in default search path" >&6
22126 COMPILED_X_PROGRAM=0
22127
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132
22133 echo "$as_me:$LINENO: result: no" >&5
22134 echo "${ECHO_T}no" >&6
22135 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22136 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22137
22138
22139 fi
22140 rm -f conftest.$ac_objext conftest.$ac_ext
22141 fi
22142
22143 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22144 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22145 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22148 ac_check_lib_save_LIBS=$LIBS
22149 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22150 cat >conftest.$ac_ext <<_ACEOF
22151 #line $LINENO "configure"
22152 /* confdefs.h. */
22153 _ACEOF
22154 cat confdefs.h >>conftest.$ac_ext
22155 cat >>conftest.$ac_ext <<_ACEOF
22156 /* end confdefs.h. */
22157
22158 /* Override any gcc2 internal prototype to avoid an error. */
22159 #ifdef __cplusplus
22160 extern "C"
22161 #endif
22162 /* We use char because int might match the return type of a gcc2
22163 builtin and then its argument prototype would still apply. */
22164 char XShapeQueryExtension ();
22165 int
22166 main ()
22167 {
22168 XShapeQueryExtension ();
22169 ;
22170 return 0;
22171 }
22172 _ACEOF
22173 rm -f conftest.$ac_objext conftest$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22176 ac_status=$?
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try='test -s conftest$ac_exeext'
22180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22181 (eval $ac_try) 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); }; }; then
22185 ac_cv_lib_Xext_XShapeQueryExtension=yes
22186 else
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22189
22190 ac_cv_lib_Xext_XShapeQueryExtension=no
22191 fi
22192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22193 LIBS=$ac_check_lib_save_LIBS
22194 fi
22195 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22196 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22197 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22198
22199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22200 wxHAVE_XEXT_LIB=1
22201
22202 fi
22203
22204
22205 if test "$wxUSE_UNICODE" = "yes"; then
22206
22207 succeeded=no
22208
22209 if test -z "$PKG_CONFIG"; then
22210 # Extract the first word of "pkg-config", so it can be a program name with args.
22211 set dummy pkg-config; ac_word=$2
22212 echo "$as_me:$LINENO: checking for $ac_word" >&5
22213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22214 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 else
22217 case $PKG_CONFIG in
22218 [\\/]* | ?:[\\/]*)
22219 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22220 ;;
22221 *)
22222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22223 for as_dir in $PATH
22224 do
22225 IFS=$as_save_IFS
22226 test -z "$as_dir" && as_dir=.
22227 for ac_exec_ext in '' $ac_executable_extensions; do
22228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22229 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22231 break 2
22232 fi
22233 done
22234 done
22235
22236 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22237 ;;
22238 esac
22239 fi
22240 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22241
22242 if test -n "$PKG_CONFIG"; then
22243 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22244 echo "${ECHO_T}$PKG_CONFIG" >&6
22245 else
22246 echo "$as_me:$LINENO: result: no" >&5
22247 echo "${ECHO_T}no" >&6
22248 fi
22249
22250 fi
22251
22252 if test "$PKG_CONFIG" = "no" ; then
22253 echo "*** The pkg-config script could not be found. Make sure it is"
22254 echo "*** in your path, or set the PKG_CONFIG environment variable"
22255 echo "*** to the full path to pkg-config."
22256 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22257 else
22258 PKG_CONFIG_MIN_VERSION=0.9.0
22259 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22260 echo "$as_me:$LINENO: checking for pangox" >&5
22261 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22262
22263 if $PKG_CONFIG --exists "pangox" ; then
22264 echo "$as_me:$LINENO: result: yes" >&5
22265 echo "${ECHO_T}yes" >&6
22266 succeeded=yes
22267
22268 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22269 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22270 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22271 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22272 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22273
22274 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22275 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22276 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22277 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22278 echo "${ECHO_T}$PANGOX_LIBS" >&6
22279 else
22280 PANGOX_CFLAGS=""
22281 PANGOX_LIBS=""
22282 ## If we have a custom action on failure, don't print errors, but
22283 ## do set a variable so people can do so.
22284 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22285
22286 fi
22287
22288
22289
22290 else
22291 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22292 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22293 fi
22294 fi
22295
22296 if test $succeeded = yes; then
22297
22298 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22299 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22300
22301 else
22302
22303 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22304 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22305 { (exit 1); exit 1; }; }
22306
22307
22308 fi
22309
22310
22311 succeeded=no
22312
22313 if test -z "$PKG_CONFIG"; then
22314 # Extract the first word of "pkg-config", so it can be a program name with args.
22315 set dummy pkg-config; ac_word=$2
22316 echo "$as_me:$LINENO: checking for $ac_word" >&5
22317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22318 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22319 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 else
22321 case $PKG_CONFIG in
22322 [\\/]* | ?:[\\/]*)
22323 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22324 ;;
22325 *)
22326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22327 for as_dir in $PATH
22328 do
22329 IFS=$as_save_IFS
22330 test -z "$as_dir" && as_dir=.
22331 for ac_exec_ext in '' $ac_executable_extensions; do
22332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22333 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22335 break 2
22336 fi
22337 done
22338 done
22339
22340 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22341 ;;
22342 esac
22343 fi
22344 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22345
22346 if test -n "$PKG_CONFIG"; then
22347 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22348 echo "${ECHO_T}$PKG_CONFIG" >&6
22349 else
22350 echo "$as_me:$LINENO: result: no" >&5
22351 echo "${ECHO_T}no" >&6
22352 fi
22353
22354 fi
22355
22356 if test "$PKG_CONFIG" = "no" ; then
22357 echo "*** The pkg-config script could not be found. Make sure it is"
22358 echo "*** in your path, or set the PKG_CONFIG environment variable"
22359 echo "*** to the full path to pkg-config."
22360 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22361 else
22362 PKG_CONFIG_MIN_VERSION=0.9.0
22363 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22364 echo "$as_me:$LINENO: checking for pangoft2" >&5
22365 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22366
22367 if $PKG_CONFIG --exists "pangoft2" ; then
22368 echo "$as_me:$LINENO: result: yes" >&5
22369 echo "${ECHO_T}yes" >&6
22370 succeeded=yes
22371
22372 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22373 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22374 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22375 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22376 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22377
22378 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22379 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22380 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22381 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22382 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22383 else
22384 PANGOFT2_CFLAGS=""
22385 PANGOFT2_LIBS=""
22386 ## If we have a custom action on failure, don't print errors, but
22387 ## do set a variable so people can do so.
22388 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22389
22390 fi
22391
22392
22393
22394 else
22395 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22396 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22397 fi
22398 fi
22399
22400 if test $succeeded = yes; then
22401
22402 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22403 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22404
22405 else
22406
22407 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22408 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22409 wxUSE_PRINTING_ARCHITECTURE="no"
22410
22411
22412 fi
22413
22414
22415 succeeded=no
22416
22417 if test -z "$PKG_CONFIG"; then
22418 # Extract the first word of "pkg-config", so it can be a program name with args.
22419 set dummy pkg-config; ac_word=$2
22420 echo "$as_me:$LINENO: checking for $ac_word" >&5
22421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22422 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22424 else
22425 case $PKG_CONFIG in
22426 [\\/]* | ?:[\\/]*)
22427 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22428 ;;
22429 *)
22430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22431 for as_dir in $PATH
22432 do
22433 IFS=$as_save_IFS
22434 test -z "$as_dir" && as_dir=.
22435 for ac_exec_ext in '' $ac_executable_extensions; do
22436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22437 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22439 break 2
22440 fi
22441 done
22442 done
22443
22444 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22445 ;;
22446 esac
22447 fi
22448 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22449
22450 if test -n "$PKG_CONFIG"; then
22451 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22452 echo "${ECHO_T}$PKG_CONFIG" >&6
22453 else
22454 echo "$as_me:$LINENO: result: no" >&5
22455 echo "${ECHO_T}no" >&6
22456 fi
22457
22458 fi
22459
22460 if test "$PKG_CONFIG" = "no" ; then
22461 echo "*** The pkg-config script could not be found. Make sure it is"
22462 echo "*** in your path, or set the PKG_CONFIG environment variable"
22463 echo "*** to the full path to pkg-config."
22464 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22465 else
22466 PKG_CONFIG_MIN_VERSION=0.9.0
22467 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22468 echo "$as_me:$LINENO: checking for pangoxft" >&5
22469 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22470
22471 if $PKG_CONFIG --exists "pangoxft" ; then
22472 echo "$as_me:$LINENO: result: yes" >&5
22473 echo "${ECHO_T}yes" >&6
22474 succeeded=yes
22475
22476 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22477 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22478 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22479 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22480 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22481
22482 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22483 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22484 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22485 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22486 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22487 else
22488 PANGOXFT_CFLAGS=""
22489 PANGOXFT_LIBS=""
22490 ## If we have a custom action on failure, don't print errors, but
22491 ## do set a variable so people can do so.
22492 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22493
22494 fi
22495
22496
22497
22498 else
22499 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22500 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22501 fi
22502 fi
22503
22504 if test $succeeded = yes; then
22505
22506 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22508
22509 else
22510
22511 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22512 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22513
22514
22515 fi
22516
22517 fi
22518
22519 wxUSE_UNIVERSAL="yes"
22520
22521 if test "$wxUSE_NANOX" = "yes"; then
22522 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22523 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"
22524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22525 else
22526 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22527 fi
22528
22529 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22530 TOOLKIT=X11
22531 GUIDIST=X11_DIST
22532 fi
22533
22534 if test "$wxUSE_MOTIF" = 1; then
22535 if test "$no_x" = yes; then
22536 # Not all programs may use this symbol, but it does not hurt to define it.
22537
22538 cat >>confdefs.h <<\_ACEOF
22539 #define X_DISPLAY_MISSING 1
22540 _ACEOF
22541
22542 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22543 else
22544 if test -n "$x_includes"; then
22545 X_CFLAGS="$X_CFLAGS -I$x_includes"
22546 fi
22547
22548 # It would also be nice to do this for all -L options, not just this one.
22549 if test -n "$x_libraries"; then
22550 X_LIBS="$X_LIBS -L$x_libraries"
22551 # For Solaris; some versions of Sun CC require a space after -R and
22552 # others require no space. Words are not sufficient . . . .
22553 case `(uname -sr) 2>/dev/null` in
22554 "SunOS 5"*)
22555 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22556 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22557 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22558 cat >conftest.$ac_ext <<_ACEOF
22559 #line $LINENO "configure"
22560 /* confdefs.h. */
22561 _ACEOF
22562 cat confdefs.h >>conftest.$ac_ext
22563 cat >>conftest.$ac_ext <<_ACEOF
22564 /* end confdefs.h. */
22565
22566 int
22567 main ()
22568 {
22569
22570 ;
22571 return 0;
22572 }
22573 _ACEOF
22574 rm -f conftest.$ac_objext conftest$ac_exeext
22575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22576 (eval $ac_link) 2>&5
22577 ac_status=$?
22578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22579 (exit $ac_status); } &&
22580 { ac_try='test -s conftest$ac_exeext'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22583 ac_status=$?
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; }; then
22586 ac_R_nospace=yes
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591 ac_R_nospace=no
22592 fi
22593 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22594 if test $ac_R_nospace = yes; then
22595 echo "$as_me:$LINENO: result: no" >&5
22596 echo "${ECHO_T}no" >&6
22597 X_LIBS="$X_LIBS -R$x_libraries"
22598 else
22599 LIBS="$ac_xsave_LIBS -R $x_libraries"
22600 cat >conftest.$ac_ext <<_ACEOF
22601 #line $LINENO "configure"
22602 /* confdefs.h. */
22603 _ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22607
22608 int
22609 main ()
22610 {
22611
22612 ;
22613 return 0;
22614 }
22615 _ACEOF
22616 rm -f conftest.$ac_objext conftest$ac_exeext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22618 (eval $ac_link) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try='test -s conftest$ac_exeext'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; }; then
22628 ac_R_space=yes
22629 else
22630 echo "$as_me: failed program was:" >&5
22631 sed 's/^/| /' conftest.$ac_ext >&5
22632
22633 ac_R_space=no
22634 fi
22635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22636 if test $ac_R_space = yes; then
22637 echo "$as_me:$LINENO: result: yes" >&5
22638 echo "${ECHO_T}yes" >&6
22639 X_LIBS="$X_LIBS -R $x_libraries"
22640 else
22641 echo "$as_me:$LINENO: result: neither works" >&5
22642 echo "${ECHO_T}neither works" >&6
22643 fi
22644 fi
22645 LIBS=$ac_xsave_LIBS
22646 esac
22647 fi
22648
22649 # Check for system-dependent libraries X programs must link with.
22650 # Do this before checking for the system-independent R6 libraries
22651 # (-lICE), since we may need -lsocket or whatever for X linking.
22652
22653 if test "$ISC" = yes; then
22654 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22655 else
22656 # Martyn Johnson says this is needed for Ultrix, if the X
22657 # libraries were built with DECnet support. And Karl Berry says
22658 # the Alpha needs dnet_stub (dnet does not exist).
22659 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22660 cat >conftest.$ac_ext <<_ACEOF
22661 #line $LINENO "configure"
22662 /* confdefs.h. */
22663 _ACEOF
22664 cat confdefs.h >>conftest.$ac_ext
22665 cat >>conftest.$ac_ext <<_ACEOF
22666 /* end confdefs.h. */
22667
22668 /* Override any gcc2 internal prototype to avoid an error. */
22669 #ifdef __cplusplus
22670 extern "C"
22671 #endif
22672 /* We use char because int might match the return type of a gcc2
22673 builtin and then its argument prototype would still apply. */
22674 char XOpenDisplay ();
22675 int
22676 main ()
22677 {
22678 XOpenDisplay ();
22679 ;
22680 return 0;
22681 }
22682 _ACEOF
22683 rm -f conftest.$ac_objext conftest$ac_exeext
22684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22685 (eval $ac_link) 2>&5
22686 ac_status=$?
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); } &&
22689 { ac_try='test -s conftest$ac_exeext'
22690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22691 (eval $ac_try) 2>&5
22692 ac_status=$?
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); }; }; then
22695 :
22696 else
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.$ac_ext >&5
22699
22700 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22701 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22702 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 else
22705 ac_check_lib_save_LIBS=$LIBS
22706 LIBS="-ldnet $LIBS"
22707 cat >conftest.$ac_ext <<_ACEOF
22708 #line $LINENO "configure"
22709 /* confdefs.h. */
22710 _ACEOF
22711 cat confdefs.h >>conftest.$ac_ext
22712 cat >>conftest.$ac_ext <<_ACEOF
22713 /* end confdefs.h. */
22714
22715 /* Override any gcc2 internal prototype to avoid an error. */
22716 #ifdef __cplusplus
22717 extern "C"
22718 #endif
22719 /* We use char because int might match the return type of a gcc2
22720 builtin and then its argument prototype would still apply. */
22721 char dnet_ntoa ();
22722 int
22723 main ()
22724 {
22725 dnet_ntoa ();
22726 ;
22727 return 0;
22728 }
22729 _ACEOF
22730 rm -f conftest.$ac_objext conftest$ac_exeext
22731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22732 (eval $ac_link) 2>&5
22733 ac_status=$?
22734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735 (exit $ac_status); } &&
22736 { ac_try='test -s conftest$ac_exeext'
22737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22738 (eval $ac_try) 2>&5
22739 ac_status=$?
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); }; }; then
22742 ac_cv_lib_dnet_dnet_ntoa=yes
22743 else
22744 echo "$as_me: failed program was:" >&5
22745 sed 's/^/| /' conftest.$ac_ext >&5
22746
22747 ac_cv_lib_dnet_dnet_ntoa=no
22748 fi
22749 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22750 LIBS=$ac_check_lib_save_LIBS
22751 fi
22752 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22753 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22754 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22755 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22756 fi
22757
22758 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22759 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22760 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22761 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22762 echo $ECHO_N "(cached) $ECHO_C" >&6
22763 else
22764 ac_check_lib_save_LIBS=$LIBS
22765 LIBS="-ldnet_stub $LIBS"
22766 cat >conftest.$ac_ext <<_ACEOF
22767 #line $LINENO "configure"
22768 /* confdefs.h. */
22769 _ACEOF
22770 cat confdefs.h >>conftest.$ac_ext
22771 cat >>conftest.$ac_ext <<_ACEOF
22772 /* end confdefs.h. */
22773
22774 /* Override any gcc2 internal prototype to avoid an error. */
22775 #ifdef __cplusplus
22776 extern "C"
22777 #endif
22778 /* We use char because int might match the return type of a gcc2
22779 builtin and then its argument prototype would still apply. */
22780 char dnet_ntoa ();
22781 int
22782 main ()
22783 {
22784 dnet_ntoa ();
22785 ;
22786 return 0;
22787 }
22788 _ACEOF
22789 rm -f conftest.$ac_objext conftest$ac_exeext
22790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22791 (eval $ac_link) 2>&5
22792 ac_status=$?
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); } &&
22795 { ac_try='test -s conftest$ac_exeext'
22796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22797 (eval $ac_try) 2>&5
22798 ac_status=$?
22799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22800 (exit $ac_status); }; }; then
22801 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22802 else
22803 echo "$as_me: failed program was:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22805
22806 ac_cv_lib_dnet_stub_dnet_ntoa=no
22807 fi
22808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22809 LIBS=$ac_check_lib_save_LIBS
22810 fi
22811 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22812 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22813 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22814 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22815 fi
22816
22817 fi
22818 fi
22819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22820 LIBS="$ac_xsave_LIBS"
22821
22822 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22823 # to get the SysV transport functions.
22824 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22825 # needs -lnsl.
22826 # The nsl library prevents programs from opening the X display
22827 # on Irix 5.2, according to T.E. Dickey.
22828 # The functions gethostbyname, getservbyname, and inet_addr are
22829 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22830 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22831 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22832 if test "${ac_cv_func_gethostbyname+set}" = set; then
22833 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 else
22835 cat >conftest.$ac_ext <<_ACEOF
22836 #line $LINENO "configure"
22837 /* confdefs.h. */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842 /* System header to define __stub macros and hopefully few prototypes,
22843 which can conflict with char gethostbyname (); below.
22844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22845 <limits.h> exists even on freestanding compilers. */
22846 #ifdef __STDC__
22847 # include <limits.h>
22848 #else
22849 # include <assert.h>
22850 #endif
22851 /* Override any gcc2 internal prototype to avoid an error. */
22852 #ifdef __cplusplus
22853 extern "C"
22854 {
22855 #endif
22856 /* We use char because int might match the return type of a gcc2
22857 builtin and then its argument prototype would still apply. */
22858 char gethostbyname ();
22859 /* The GNU C library defines this for functions which it implements
22860 to always fail with ENOSYS. Some functions are actually named
22861 something starting with __ and the normal name is an alias. */
22862 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22863 choke me
22864 #else
22865 char (*f) () = gethostbyname;
22866 #endif
22867 #ifdef __cplusplus
22868 }
22869 #endif
22870
22871 int
22872 main ()
22873 {
22874 return f != gethostbyname;
22875 ;
22876 return 0;
22877 }
22878 _ACEOF
22879 rm -f conftest.$ac_objext conftest$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881 (eval $ac_link) 2>&5
22882 ac_status=$?
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try='test -s conftest$ac_exeext'
22886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887 (eval $ac_try) 2>&5
22888 ac_status=$?
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; }; then
22891 ac_cv_func_gethostbyname=yes
22892 else
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22895
22896 ac_cv_func_gethostbyname=no
22897 fi
22898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22899 fi
22900 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22901 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22902
22903 if test $ac_cv_func_gethostbyname = no; then
22904 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22905 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22906 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22908 else
22909 ac_check_lib_save_LIBS=$LIBS
22910 LIBS="-lnsl $LIBS"
22911 cat >conftest.$ac_ext <<_ACEOF
22912 #line $LINENO "configure"
22913 /* confdefs.h. */
22914 _ACEOF
22915 cat confdefs.h >>conftest.$ac_ext
22916 cat >>conftest.$ac_ext <<_ACEOF
22917 /* end confdefs.h. */
22918
22919 /* Override any gcc2 internal prototype to avoid an error. */
22920 #ifdef __cplusplus
22921 extern "C"
22922 #endif
22923 /* We use char because int might match the return type of a gcc2
22924 builtin and then its argument prototype would still apply. */
22925 char gethostbyname ();
22926 int
22927 main ()
22928 {
22929 gethostbyname ();
22930 ;
22931 return 0;
22932 }
22933 _ACEOF
22934 rm -f conftest.$ac_objext conftest$ac_exeext
22935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22936 (eval $ac_link) 2>&5
22937 ac_status=$?
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } &&
22940 { ac_try='test -s conftest$ac_exeext'
22941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22942 (eval $ac_try) 2>&5
22943 ac_status=$?
22944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22945 (exit $ac_status); }; }; then
22946 ac_cv_lib_nsl_gethostbyname=yes
22947 else
22948 echo "$as_me: failed program was:" >&5
22949 sed 's/^/| /' conftest.$ac_ext >&5
22950
22951 ac_cv_lib_nsl_gethostbyname=no
22952 fi
22953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22954 LIBS=$ac_check_lib_save_LIBS
22955 fi
22956 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22957 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22958 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22959 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22960 fi
22961
22962 if test $ac_cv_lib_nsl_gethostbyname = no; then
22963 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22964 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22965 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22966 echo $ECHO_N "(cached) $ECHO_C" >&6
22967 else
22968 ac_check_lib_save_LIBS=$LIBS
22969 LIBS="-lbsd $LIBS"
22970 cat >conftest.$ac_ext <<_ACEOF
22971 #line $LINENO "configure"
22972 /* confdefs.h. */
22973 _ACEOF
22974 cat confdefs.h >>conftest.$ac_ext
22975 cat >>conftest.$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977
22978 /* Override any gcc2 internal prototype to avoid an error. */
22979 #ifdef __cplusplus
22980 extern "C"
22981 #endif
22982 /* We use char because int might match the return type of a gcc2
22983 builtin and then its argument prototype would still apply. */
22984 char gethostbyname ();
22985 int
22986 main ()
22987 {
22988 gethostbyname ();
22989 ;
22990 return 0;
22991 }
22992 _ACEOF
22993 rm -f conftest.$ac_objext conftest$ac_exeext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22995 (eval $ac_link) 2>&5
22996 ac_status=$?
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try='test -s conftest$ac_exeext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23002 ac_status=$?
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_cv_lib_bsd_gethostbyname=yes
23006 else
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.$ac_ext >&5
23009
23010 ac_cv_lib_bsd_gethostbyname=no
23011 fi
23012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23013 LIBS=$ac_check_lib_save_LIBS
23014 fi
23015 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23016 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23017 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23018 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23019 fi
23020
23021 fi
23022 fi
23023
23024 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23025 # socket/setsockopt and other routines are undefined under SCO ODT
23026 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23027 # on later versions), says Simon Leinen: it contains gethostby*
23028 # variants that don't use the name server (or something). -lsocket
23029 # must be given before -lnsl if both are needed. We assume that
23030 # if connect needs -lnsl, so does gethostbyname.
23031 echo "$as_me:$LINENO: checking for connect" >&5
23032 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23033 if test "${ac_cv_func_connect+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23035 else
23036 cat >conftest.$ac_ext <<_ACEOF
23037 #line $LINENO "configure"
23038 /* confdefs.h. */
23039 _ACEOF
23040 cat confdefs.h >>conftest.$ac_ext
23041 cat >>conftest.$ac_ext <<_ACEOF
23042 /* end confdefs.h. */
23043 /* System header to define __stub macros and hopefully few prototypes,
23044 which can conflict with char connect (); below.
23045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23046 <limits.h> exists even on freestanding compilers. */
23047 #ifdef __STDC__
23048 # include <limits.h>
23049 #else
23050 # include <assert.h>
23051 #endif
23052 /* Override any gcc2 internal prototype to avoid an error. */
23053 #ifdef __cplusplus
23054 extern "C"
23055 {
23056 #endif
23057 /* We use char because int might match the return type of a gcc2
23058 builtin and then its argument prototype would still apply. */
23059 char connect ();
23060 /* The GNU C library defines this for functions which it implements
23061 to always fail with ENOSYS. Some functions are actually named
23062 something starting with __ and the normal name is an alias. */
23063 #if defined (__stub_connect) || defined (__stub___connect)
23064 choke me
23065 #else
23066 char (*f) () = connect;
23067 #endif
23068 #ifdef __cplusplus
23069 }
23070 #endif
23071
23072 int
23073 main ()
23074 {
23075 return f != connect;
23076 ;
23077 return 0;
23078 }
23079 _ACEOF
23080 rm -f conftest.$ac_objext conftest$ac_exeext
23081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23082 (eval $ac_link) 2>&5
23083 ac_status=$?
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); } &&
23086 { ac_try='test -s conftest$ac_exeext'
23087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23088 (eval $ac_try) 2>&5
23089 ac_status=$?
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); }; }; then
23092 ac_cv_func_connect=yes
23093 else
23094 echo "$as_me: failed program was:" >&5
23095 sed 's/^/| /' conftest.$ac_ext >&5
23096
23097 ac_cv_func_connect=no
23098 fi
23099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23100 fi
23101 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23102 echo "${ECHO_T}$ac_cv_func_connect" >&6
23103
23104 if test $ac_cv_func_connect = no; then
23105 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23106 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23107 if test "${ac_cv_lib_socket_connect+set}" = set; then
23108 echo $ECHO_N "(cached) $ECHO_C" >&6
23109 else
23110 ac_check_lib_save_LIBS=$LIBS
23111 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23112 cat >conftest.$ac_ext <<_ACEOF
23113 #line $LINENO "configure"
23114 /* confdefs.h. */
23115 _ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119
23120 /* Override any gcc2 internal prototype to avoid an error. */
23121 #ifdef __cplusplus
23122 extern "C"
23123 #endif
23124 /* We use char because int might match the return type of a gcc2
23125 builtin and then its argument prototype would still apply. */
23126 char connect ();
23127 int
23128 main ()
23129 {
23130 connect ();
23131 ;
23132 return 0;
23133 }
23134 _ACEOF
23135 rm -f conftest.$ac_objext conftest$ac_exeext
23136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23137 (eval $ac_link) 2>&5
23138 ac_status=$?
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } &&
23141 { ac_try='test -s conftest$ac_exeext'
23142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23143 (eval $ac_try) 2>&5
23144 ac_status=$?
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); }; }; then
23147 ac_cv_lib_socket_connect=yes
23148 else
23149 echo "$as_me: failed program was:" >&5
23150 sed 's/^/| /' conftest.$ac_ext >&5
23151
23152 ac_cv_lib_socket_connect=no
23153 fi
23154 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23155 LIBS=$ac_check_lib_save_LIBS
23156 fi
23157 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23158 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23159 if test $ac_cv_lib_socket_connect = yes; then
23160 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23161 fi
23162
23163 fi
23164
23165 # Guillermo Gomez says -lposix is necessary on A/UX.
23166 echo "$as_me:$LINENO: checking for remove" >&5
23167 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23168 if test "${ac_cv_func_remove+set}" = set; then
23169 echo $ECHO_N "(cached) $ECHO_C" >&6
23170 else
23171 cat >conftest.$ac_ext <<_ACEOF
23172 #line $LINENO "configure"
23173 /* confdefs.h. */
23174 _ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23178 /* System header to define __stub macros and hopefully few prototypes,
23179 which can conflict with char remove (); below.
23180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23181 <limits.h> exists even on freestanding compilers. */
23182 #ifdef __STDC__
23183 # include <limits.h>
23184 #else
23185 # include <assert.h>
23186 #endif
23187 /* Override any gcc2 internal prototype to avoid an error. */
23188 #ifdef __cplusplus
23189 extern "C"
23190 {
23191 #endif
23192 /* We use char because int might match the return type of a gcc2
23193 builtin and then its argument prototype would still apply. */
23194 char remove ();
23195 /* The GNU C library defines this for functions which it implements
23196 to always fail with ENOSYS. Some functions are actually named
23197 something starting with __ and the normal name is an alias. */
23198 #if defined (__stub_remove) || defined (__stub___remove)
23199 choke me
23200 #else
23201 char (*f) () = remove;
23202 #endif
23203 #ifdef __cplusplus
23204 }
23205 #endif
23206
23207 int
23208 main ()
23209 {
23210 return f != remove;
23211 ;
23212 return 0;
23213 }
23214 _ACEOF
23215 rm -f conftest.$ac_objext conftest$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>&5
23218 ac_status=$?
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } &&
23221 { ac_try='test -s conftest$ac_exeext'
23222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23223 (eval $ac_try) 2>&5
23224 ac_status=$?
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); }; }; then
23227 ac_cv_func_remove=yes
23228 else
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23231
23232 ac_cv_func_remove=no
23233 fi
23234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23235 fi
23236 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23237 echo "${ECHO_T}$ac_cv_func_remove" >&6
23238
23239 if test $ac_cv_func_remove = no; then
23240 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23241 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23242 if test "${ac_cv_lib_posix_remove+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 else
23245 ac_check_lib_save_LIBS=$LIBS
23246 LIBS="-lposix $LIBS"
23247 cat >conftest.$ac_ext <<_ACEOF
23248 #line $LINENO "configure"
23249 /* confdefs.h. */
23250 _ACEOF
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254
23255 /* Override any gcc2 internal prototype to avoid an error. */
23256 #ifdef __cplusplus
23257 extern "C"
23258 #endif
23259 /* We use char because int might match the return type of a gcc2
23260 builtin and then its argument prototype would still apply. */
23261 char remove ();
23262 int
23263 main ()
23264 {
23265 remove ();
23266 ;
23267 return 0;
23268 }
23269 _ACEOF
23270 rm -f conftest.$ac_objext conftest$ac_exeext
23271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23272 (eval $ac_link) 2>&5
23273 ac_status=$?
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } &&
23276 { ac_try='test -s conftest$ac_exeext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23279 ac_status=$?
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_cv_lib_posix_remove=yes
23283 else
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23286
23287 ac_cv_lib_posix_remove=no
23288 fi
23289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23290 LIBS=$ac_check_lib_save_LIBS
23291 fi
23292 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23293 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23294 if test $ac_cv_lib_posix_remove = yes; then
23295 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23296 fi
23297
23298 fi
23299
23300 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23301 echo "$as_me:$LINENO: checking for shmat" >&5
23302 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23303 if test "${ac_cv_func_shmat+set}" = set; then
23304 echo $ECHO_N "(cached) $ECHO_C" >&6
23305 else
23306 cat >conftest.$ac_ext <<_ACEOF
23307 #line $LINENO "configure"
23308 /* confdefs.h. */
23309 _ACEOF
23310 cat confdefs.h >>conftest.$ac_ext
23311 cat >>conftest.$ac_ext <<_ACEOF
23312 /* end confdefs.h. */
23313 /* System header to define __stub macros and hopefully few prototypes,
23314 which can conflict with char shmat (); below.
23315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23316 <limits.h> exists even on freestanding compilers. */
23317 #ifdef __STDC__
23318 # include <limits.h>
23319 #else
23320 # include <assert.h>
23321 #endif
23322 /* Override any gcc2 internal prototype to avoid an error. */
23323 #ifdef __cplusplus
23324 extern "C"
23325 {
23326 #endif
23327 /* We use char because int might match the return type of a gcc2
23328 builtin and then its argument prototype would still apply. */
23329 char shmat ();
23330 /* The GNU C library defines this for functions which it implements
23331 to always fail with ENOSYS. Some functions are actually named
23332 something starting with __ and the normal name is an alias. */
23333 #if defined (__stub_shmat) || defined (__stub___shmat)
23334 choke me
23335 #else
23336 char (*f) () = shmat;
23337 #endif
23338 #ifdef __cplusplus
23339 }
23340 #endif
23341
23342 int
23343 main ()
23344 {
23345 return f != shmat;
23346 ;
23347 return 0;
23348 }
23349 _ACEOF
23350 rm -f conftest.$ac_objext conftest$ac_exeext
23351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23352 (eval $ac_link) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } &&
23356 { ac_try='test -s conftest$ac_exeext'
23357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23358 (eval $ac_try) 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_func_shmat=yes
23363 else
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23366
23367 ac_cv_func_shmat=no
23368 fi
23369 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23370 fi
23371 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23372 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23373
23374 if test $ac_cv_func_shmat = no; then
23375 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23376 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23377 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23378 echo $ECHO_N "(cached) $ECHO_C" >&6
23379 else
23380 ac_check_lib_save_LIBS=$LIBS
23381 LIBS="-lipc $LIBS"
23382 cat >conftest.$ac_ext <<_ACEOF
23383 #line $LINENO "configure"
23384 /* confdefs.h. */
23385 _ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23389
23390 /* Override any gcc2 internal prototype to avoid an error. */
23391 #ifdef __cplusplus
23392 extern "C"
23393 #endif
23394 /* We use char because int might match the return type of a gcc2
23395 builtin and then its argument prototype would still apply. */
23396 char shmat ();
23397 int
23398 main ()
23399 {
23400 shmat ();
23401 ;
23402 return 0;
23403 }
23404 _ACEOF
23405 rm -f conftest.$ac_objext conftest$ac_exeext
23406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23407 (eval $ac_link) 2>&5
23408 ac_status=$?
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } &&
23411 { ac_try='test -s conftest$ac_exeext'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23414 ac_status=$?
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; }; then
23417 ac_cv_lib_ipc_shmat=yes
23418 else
23419 echo "$as_me: failed program was:" >&5
23420 sed 's/^/| /' conftest.$ac_ext >&5
23421
23422 ac_cv_lib_ipc_shmat=no
23423 fi
23424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23425 LIBS=$ac_check_lib_save_LIBS
23426 fi
23427 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23428 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23429 if test $ac_cv_lib_ipc_shmat = yes; then
23430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23431 fi
23432
23433 fi
23434 fi
23435
23436 # Check for libraries that X11R6 Xt/Xaw programs need.
23437 ac_save_LDFLAGS=$LDFLAGS
23438 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23439 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23440 # check for ICE first), but we must link in the order -lSM -lICE or
23441 # we get undefined symbols. So assume we have SM if we have ICE.
23442 # These have to be linked with before -lX11, unlike the other
23443 # libraries we check for below, so use a different variable.
23444 # John Interrante, Karl Berry
23445 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23446 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23447 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23448 echo $ECHO_N "(cached) $ECHO_C" >&6
23449 else
23450 ac_check_lib_save_LIBS=$LIBS
23451 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23452 cat >conftest.$ac_ext <<_ACEOF
23453 #line $LINENO "configure"
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459
23460 /* Override any gcc2 internal prototype to avoid an error. */
23461 #ifdef __cplusplus
23462 extern "C"
23463 #endif
23464 /* We use char because int might match the return type of a gcc2
23465 builtin and then its argument prototype would still apply. */
23466 char IceConnectionNumber ();
23467 int
23468 main ()
23469 {
23470 IceConnectionNumber ();
23471 ;
23472 return 0;
23473 }
23474 _ACEOF
23475 rm -f conftest.$ac_objext conftest$ac_exeext
23476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23477 (eval $ac_link) 2>&5
23478 ac_status=$?
23479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23480 (exit $ac_status); } &&
23481 { ac_try='test -s conftest$ac_exeext'
23482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23483 (eval $ac_try) 2>&5
23484 ac_status=$?
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 ac_cv_lib_ICE_IceConnectionNumber=yes
23488 else
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23491
23492 ac_cv_lib_ICE_IceConnectionNumber=no
23493 fi
23494 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23495 LIBS=$ac_check_lib_save_LIBS
23496 fi
23497 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23498 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23499 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23500 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23501 fi
23502
23503 LDFLAGS=$ac_save_LDFLAGS
23504
23505 fi
23506
23507
23508 if test "$no_x" = "yes"; then
23509 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23510 echo "$as_me: error: X11 not found" >&2;}
23511 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23512 fi
23513
23514 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23515 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23516 AFMINSTALL=afminstall
23517 COMPILED_X_PROGRAM=0
23518
23519 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23520 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23521
23522 ac_find_includes=
23523 for ac_dir in $SEARCH_INCLUDE /usr/include;
23524 do
23525 if test -f "$ac_dir/Xm/Xm.h"; then
23526 ac_find_includes=$ac_dir
23527 break
23528 fi
23529 done
23530
23531 if test "$ac_find_includes" != "" ; then
23532 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23533 echo "${ECHO_T}found in $ac_find_includes" >&6
23534
23535 if test "x$ac_find_includes" = "x/usr/include"; then
23536 ac_path_to_include=""
23537 else
23538 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23539 result=$?
23540 if test $result = 0; then
23541 ac_path_to_include=""
23542 else
23543 ac_path_to_include=" -I$ac_find_includes"
23544 fi
23545 fi
23546
23547 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23548 else
23549 cat >conftest.$ac_ext <<_ACEOF
23550 #line $LINENO "configure"
23551 /* confdefs.h. */
23552 _ACEOF
23553 cat confdefs.h >>conftest.$ac_ext
23554 cat >>conftest.$ac_ext <<_ACEOF
23555 /* end confdefs.h. */
23556
23557 #include <Xm/Xm.h>
23558
23559 int
23560 main ()
23561 {
23562
23563 int version;
23564 version = xmUseVersion;
23565
23566 ;
23567 return 0;
23568 }
23569 _ACEOF
23570 rm -f conftest.$ac_objext
23571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23572 (eval $ac_compile) 2>&5
23573 ac_status=$?
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } &&
23576 { ac_try='test -s conftest.$ac_objext'
23577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23578 (eval $ac_try) 2>&5
23579 ac_status=$?
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); }; }; then
23582
23583 echo "$as_me:$LINENO: result: found in default search path" >&5
23584 echo "${ECHO_T}found in default search path" >&6
23585 COMPILED_X_PROGRAM=1
23586
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591
23592 echo "$as_me:$LINENO: result: no" >&5
23593 echo "${ECHO_T}no" >&6
23594 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23595 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23596 { (exit 1); exit 1; }; }
23597
23598
23599 fi
23600 rm -f conftest.$ac_objext conftest.$ac_ext
23601 fi
23602
23603 if test "$COMPILED_X_PROGRAM" = 0; then
23604 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23605 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23606
23607 ac_find_libraries=
23608 for ac_dir in $SEARCH_LIB /usr/lib;
23609 do
23610 for ac_extension in a so sl dylib; do
23611 if test -f "$ac_dir/libXm.$ac_extension"; then
23612 ac_find_libraries=$ac_dir
23613 break 2
23614 fi
23615 done
23616 done
23617
23618 if test "$ac_find_libraries" != "" ; then
23619 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23620 echo "${ECHO_T}found at $ac_find_libraries" >&6
23621
23622
23623 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23624 result=$?
23625 if test $result = 0; then
23626 ac_path_to_link=""
23627 else
23628 ac_path_to_link=" -L$ac_find_libraries"
23629 fi
23630
23631 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23632 else
23633 save_CFLAGS=$CFLAGS
23634 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23635
23636 cat >conftest.$ac_ext <<_ACEOF
23637 #line $LINENO "configure"
23638 /* confdefs.h. */
23639 _ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643
23644 #include <Xm/Xm.h>
23645
23646 int
23647 main ()
23648 {
23649
23650 int version;
23651 version = xmUseVersion;
23652
23653 ;
23654 return 0;
23655 }
23656 _ACEOF
23657 rm -f conftest.$ac_objext
23658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23659 (eval $ac_compile) 2>&5
23660 ac_status=$?
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); } &&
23663 { ac_try='test -s conftest.$ac_objext'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23666 ac_status=$?
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; }; then
23669
23670 echo "$as_me:$LINENO: result: found in default search path" >&5
23671 echo "${ECHO_T}found in default search path" >&6
23672 COMPILED_X_PROGRAM=1
23673
23674 else
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5
23677
23678
23679 echo "$as_me:$LINENO: result: no" >&5
23680 echo "${ECHO_T}no" >&6
23681 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23682 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23683 { (exit 1); exit 1; }; }
23684
23685
23686 fi
23687 rm -f conftest.$ac_objext conftest.$ac_ext
23688
23689 CFLAGS=$save_CFLAGS
23690 fi
23691 fi
23692
23693 xpm_link=
23694 echo "$as_me:$LINENO: checking for Xpm library" >&5
23695 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23696
23697 ac_find_libraries=
23698 for ac_dir in $SEARCH_LIB /usr/lib;
23699 do
23700 for ac_extension in a so sl dylib; do
23701 if test -f "$ac_dir/libXpm.$ac_extension"; then
23702 ac_find_libraries=$ac_dir
23703 break 2
23704 fi
23705 done
23706 done
23707
23708 if test "$ac_find_libraries" != "" ; then
23709
23710 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23711 result=$?
23712 if test $result = 0; then
23713 ac_path_to_link=""
23714 else
23715 ac_path_to_link=" -L$ac_find_libraries"
23716 fi
23717
23718 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23719
23720 xpm_link=" -lXpm"
23721 cat >>confdefs.h <<\_ACEOF
23722 #define wxHAVE_LIB_XPM 1
23723 _ACEOF
23724
23725 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23726 echo "${ECHO_T}found at $ac_find_libraries" >&6
23727 else
23728 save_CFLAGS=$CFLAGS
23729 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23730
23731 cat >conftest.$ac_ext <<_ACEOF
23732 #line $LINENO "configure"
23733 /* confdefs.h. */
23734 _ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23738
23739 #include <X11/xpm.h>
23740
23741 int
23742 main ()
23743 {
23744
23745 int version;
23746 version = XpmLibraryVersion();
23747
23748 ;
23749 return 0;
23750 }
23751 _ACEOF
23752 rm -f conftest.$ac_objext
23753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23754 (eval $ac_compile) 2>&5
23755 ac_status=$?
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); } &&
23758 { ac_try='test -s conftest.$ac_objext'
23759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23760 (eval $ac_try) 2>&5
23761 ac_status=$?
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); }; }; then
23764
23765 xpm_link=" -lXpm"
23766 cat >>confdefs.h <<\_ACEOF
23767 #define wxHAVE_LIB_XPM 1
23768 _ACEOF
23769
23770 echo "$as_me:$LINENO: result: found in default search path" >&5
23771 echo "${ECHO_T}found in default search path" >&6
23772 COMPILED_X_PROGRAM=0
23773
23774 else
23775 echo "$as_me: failed program was:" >&5
23776 sed 's/^/| /' conftest.$ac_ext >&5
23777
23778
23779 echo "$as_me:$LINENO: result: no" >&5
23780 echo "${ECHO_T}no" >&6
23781 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23782 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23783
23784
23785 fi
23786 rm -f conftest.$ac_objext conftest.$ac_ext
23787
23788 CFLAGS=$save_CFLAGS
23789 fi
23790
23791 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23792 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23793 libp_link=""
23794 libsm_ice_link=""
23795 libs_found=0
23796 for libp in "" " -lXp"; do
23797 if test "$libs_found" = "0"; then
23798 for libsm_ice in " -lSM -lICE"; do
23799 if test "$libs_found" = "0"; then
23800 save_LIBS="$LIBS"
23801 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23802 save_CFLAGS=$CFLAGS
23803 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23804
23805 cat >conftest.$ac_ext <<_ACEOF
23806 #line $LINENO "configure"
23807 /* confdefs.h. */
23808 _ACEOF
23809 cat confdefs.h >>conftest.$ac_ext
23810 cat >>conftest.$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812
23813 #include <Xm/Xm.h>
23814 #include <Xm/List.h>
23815
23816 int
23817 main ()
23818 {
23819
23820 XmString string = NULL;
23821 Widget w = NULL;
23822 int position = 0;
23823 XmListAddItem(w, string, position);
23824
23825 ;
23826 return 0;
23827 }
23828 _ACEOF
23829 rm -f conftest.$ac_objext conftest$ac_exeext
23830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23831 (eval $ac_link) 2>&5
23832 ac_status=$?
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } &&
23835 { ac_try='test -s conftest$ac_exeext'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; }; then
23841
23842 libp_link="$libp"
23843 libsm_ice_link="$libsm_ice"
23844 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23845 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23846 libs_found=1
23847
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23851
23852
23853
23854 fi
23855 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23856
23857 LIBS="$save_LIBS"
23858 CFLAGS=$save_CFLAGS
23859 fi
23860 done
23861 fi
23862 done
23863
23864 if test "$libs_found" = "0"; then
23865 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23866 echo "${ECHO_T}can't find the right libraries" >&6
23867 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23868 echo "$as_me: error: can't link a simple motif program" >&2;}
23869 { (exit 1); exit 1; }; }
23870 fi
23871
23872 save_CFLAGS=$CFLAGS
23873 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23874 echo "$as_me:$LINENO: checking for Motif 2" >&5
23875 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23876 cat >conftest.$ac_ext <<_ACEOF
23877 #line $LINENO "configure"
23878 /* confdefs.h. */
23879 _ACEOF
23880 cat confdefs.h >>conftest.$ac_ext
23881 cat >>conftest.$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23883
23884 #include <Xm/Xm.h>
23885
23886 int
23887 main ()
23888 {
23889
23890 #if XmVersion < 2000
23891 #error "Not Motif 2"
23892 #endif
23893
23894 ;
23895 return 0;
23896 }
23897 _ACEOF
23898 rm -f conftest.$ac_objext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23900 (eval $ac_compile) 2>&5
23901 ac_status=$?
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } &&
23904 { ac_try='test -s conftest.$ac_objext'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; }; then
23910
23911 cat >>confdefs.h <<\_ACEOF
23912 #define __WXMOTIF20__ 1
23913 _ACEOF
23914
23915 echo "$as_me:$LINENO: result: found" >&5
23916 echo "${ECHO_T}found" >&6
23917
23918 else
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.$ac_ext >&5
23921
23922
23923 cat >>confdefs.h <<\_ACEOF
23924 #define __WXMOTIF20__ 0
23925 _ACEOF
23926
23927 echo "$as_me:$LINENO: result: not found" >&5
23928 echo "${ECHO_T}not found" >&6
23929
23930 fi
23931 rm -f conftest.$ac_objext conftest.$ac_ext
23932 CFLAGS=$save_CFLAGS
23933
23934 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23935 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23936 TOOLKIT=MOTIF
23937 GUIDIST=MOTIF_DIST
23938 wxHAVE_XEXT_LIB=1
23939 fi
23940
23941 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23942 test "$wxHAVE_XEXT_LIB" = 1; then
23943 save_CFLAGS="$CFLAGS"
23944 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23945
23946 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23947 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23948 cat >conftest.$ac_ext <<_ACEOF
23949 #line $LINENO "configure"
23950 /* confdefs.h. */
23951 _ACEOF
23952 cat confdefs.h >>conftest.$ac_ext
23953 cat >>conftest.$ac_ext <<_ACEOF
23954 /* end confdefs.h. */
23955
23956 #include <X11/Xlib.h>
23957 #include <X11/extensions/shape.h>
23958
23959 int
23960 main ()
23961 {
23962
23963 int dummy1, dummy2;
23964 XShapeQueryExtension((Display*)NULL,
23965 (int*)NULL, (int*)NULL);
23966
23967 ;
23968 return 0;
23969 }
23970 _ACEOF
23971 rm -f conftest.$ac_objext
23972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23973 (eval $ac_compile) 2>&5
23974 ac_status=$?
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); } &&
23977 { ac_try='test -s conftest.$ac_objext'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23980 ac_status=$?
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; }; then
23983
23984 cat >>confdefs.h <<\_ACEOF
23985 #define HAVE_XSHAPE 1
23986 _ACEOF
23987
23988 echo "$as_me:$LINENO: result: found" >&5
23989 echo "${ECHO_T}found" >&6
23990
23991 else
23992 echo "$as_me: failed program was:" >&5
23993 sed 's/^/| /' conftest.$ac_ext >&5
23994
23995
23996 echo "$as_me:$LINENO: result: not found" >&5
23997 echo "${ECHO_T}not found" >&6
23998
23999 fi
24000 rm -f conftest.$ac_objext conftest.$ac_ext
24001 CFLAGS="$save_CFLAGS"
24002 fi
24003
24004 if test "$wxUSE_MAC" = 1; then
24005 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24006
24007 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24008 TOOLKIT=MAC
24009 GUIDIST=MACX_DIST
24010 fi
24011
24012 if test "$wxUSE_COCOA" = 1; then
24013 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24014 TOOLKIT=COCOA
24015 GUIDIST=COCOA_DIST
24016 fi
24017
24018 if test "$wxUSE_PM" = 1; then
24019 TOOLKIT=PM
24020 GUIDIST=GTK_DIST
24021 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24022 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24023 wxUSE_THREADS="no"
24024 fi
24025
24026 if test "$TOOLKIT" = "PM" ; then
24027 TOOLKIT_DIR="os2"
24028 else
24029 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24030 fi
24031
24032 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24033
24034 if test "$wxUSE_UNIVERSAL" = "yes"; then
24035 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24036
24037 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24038 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24039
24040 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24041 if test "$wxUSE_X11" = 1; then
24042 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24043 else
24044 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24045 fi
24046 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24047 WIDGET_SET=univ
24048 else
24049 ALL_OBJECTS="\$(GUIOBJS)"
24050 ALL_SOURCES="\$(ALL_SOURCES)"
24051 ALL_HEADERS="\$(ALL_HEADERS)"
24052 fi
24053
24054 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24055
24056 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24057 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24058 fi
24059
24060 if test "$wxUSE_HTML" = "yes"; then
24061 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24062 fi
24063
24064 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24065 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24066 fi
24067 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24068 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24069 fi
24070 if test "$wxUSE_LIBPNG" = "builtin" ; then
24071 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24072 fi
24073
24074 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24075 DISTDIR="wx\$(TOOLKIT)"
24076 else
24077 USE_GUI=0
24078
24079 TOOLKIT_DIR="base"
24080
24081 if test "$USE_WIN32" = 1 ; then
24082 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24083 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24084
24085 TOOLKIT="MSW"
24086 else
24087 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24088 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24089 fi
24090
24091 ALL_SOURCES="\$(ALL_SOURCES)"
24092 ALL_HEADERS="\$(ALL_HEADERS)"
24093
24094 PORT_FILES="\${top_srcdir}/src/files.lst"
24095
24096 GUIDIST="BASE_DIST"
24097 DISTDIR="wxBase"
24098 fi
24099
24100
24101
24102
24103 IODBC_C_SRC=""
24104
24105
24106 if test "$TOOLKIT" != "MSW" ; then
24107
24108 if test "$wxUSE_ODBC" != "no" ; then
24109 cat >>confdefs.h <<\_ACEOF
24110 #define wxUSE_ODBC 1
24111 _ACEOF
24112
24113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24114
24115 WXODBCFLAG="-D_IODBC_"
24116
24117
24118 if test "$wxUSE_ODBC" = "sys" ; then
24119
24120 if test "${ac_cv_header_sql_h+set}" = set; then
24121 echo "$as_me:$LINENO: checking for sql.h" >&5
24122 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24123 if test "${ac_cv_header_sql_h+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 fi
24126 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24127 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24128 else
24129 # Is the header compilable?
24130 echo "$as_me:$LINENO: checking sql.h usability" >&5
24131 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24132 cat >conftest.$ac_ext <<_ACEOF
24133 #line $LINENO "configure"
24134 /* confdefs.h. */
24135 _ACEOF
24136 cat confdefs.h >>conftest.$ac_ext
24137 cat >>conftest.$ac_ext <<_ACEOF
24138 /* end confdefs.h. */
24139 $ac_includes_default
24140 #include <sql.h>
24141 _ACEOF
24142 rm -f conftest.$ac_objext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24144 (eval $ac_compile) 2>&5
24145 ac_status=$?
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try='test -s conftest.$ac_objext'
24149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24150 (eval $ac_try) 2>&5
24151 ac_status=$?
24152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24153 (exit $ac_status); }; }; then
24154 ac_header_compiler=yes
24155 else
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.$ac_ext >&5
24158
24159 ac_header_compiler=no
24160 fi
24161 rm -f conftest.$ac_objext conftest.$ac_ext
24162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24163 echo "${ECHO_T}$ac_header_compiler" >&6
24164
24165 # Is the header present?
24166 echo "$as_me:$LINENO: checking sql.h presence" >&5
24167 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24168 cat >conftest.$ac_ext <<_ACEOF
24169 #line $LINENO "configure"
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175 #include <sql.h>
24176 _ACEOF
24177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24179 ac_status=$?
24180 grep -v '^ *+' conftest.er1 >conftest.err
24181 rm -f conftest.er1
24182 cat conftest.err >&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } >/dev/null; then
24185 if test -s conftest.err; then
24186 ac_cpp_err=$ac_c_preproc_warn_flag
24187 else
24188 ac_cpp_err=
24189 fi
24190 else
24191 ac_cpp_err=yes
24192 fi
24193 if test -z "$ac_cpp_err"; then
24194 ac_header_preproc=yes
24195 else
24196 echo "$as_me: failed program was:" >&5
24197 sed 's/^/| /' conftest.$ac_ext >&5
24198
24199 ac_header_preproc=no
24200 fi
24201 rm -f conftest.err conftest.$ac_ext
24202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24203 echo "${ECHO_T}$ac_header_preproc" >&6
24204
24205 # So? What about this header?
24206 case $ac_header_compiler:$ac_header_preproc in
24207 yes:no )
24208 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24209 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24210 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24211 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24212 (
24213 cat <<\_ASBOX
24214 ## ------------------------------------ ##
24215 ## Report this to bug-autoconf@gnu.org. ##
24216 ## ------------------------------------ ##
24217 _ASBOX
24218 ) |
24219 sed "s/^/$as_me: WARNING: /" >&2
24220 ;;
24221 no:yes )
24222 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24223 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24224 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24225 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24226 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24227 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24228 (
24229 cat <<\_ASBOX
24230 ## ------------------------------------ ##
24231 ## Report this to bug-autoconf@gnu.org. ##
24232 ## ------------------------------------ ##
24233 _ASBOX
24234 ) |
24235 sed "s/^/$as_me: WARNING: /" >&2
24236 ;;
24237 esac
24238 echo "$as_me:$LINENO: checking for sql.h" >&5
24239 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24240 if test "${ac_cv_header_sql_h+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 else
24243 ac_cv_header_sql_h=$ac_header_preproc
24244 fi
24245 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24246 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24247
24248 fi
24249
24250
24251 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24252 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24253 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24255 else
24256 ac_func_search_save_LIBS=$LIBS
24257 ac_cv_search_SQLAllocEnv=no
24258 cat >conftest.$ac_ext <<_ACEOF
24259 #line $LINENO "configure"
24260 /* confdefs.h. */
24261 _ACEOF
24262 cat confdefs.h >>conftest.$ac_ext
24263 cat >>conftest.$ac_ext <<_ACEOF
24264 /* end confdefs.h. */
24265
24266 /* Override any gcc2 internal prototype to avoid an error. */
24267 #ifdef __cplusplus
24268 extern "C"
24269 #endif
24270 /* We use char because int might match the return type of a gcc2
24271 builtin and then its argument prototype would still apply. */
24272 char SQLAllocEnv ();
24273 int
24274 main ()
24275 {
24276 SQLAllocEnv ();
24277 ;
24278 return 0;
24279 }
24280 _ACEOF
24281 rm -f conftest.$ac_objext conftest$ac_exeext
24282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24283 (eval $ac_link) 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); } &&
24287 { ac_try='test -s conftest$ac_exeext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24290 ac_status=$?
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24293 ac_cv_search_SQLAllocEnv="none required"
24294 else
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24297
24298 fi
24299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24300 if test "$ac_cv_search_SQLAllocEnv" = no; then
24301 for ac_lib in iodbc unixodbc odbc ; do
24302 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24303 cat >conftest.$ac_ext <<_ACEOF
24304 #line $LINENO "configure"
24305 /* confdefs.h. */
24306 _ACEOF
24307 cat confdefs.h >>conftest.$ac_ext
24308 cat >>conftest.$ac_ext <<_ACEOF
24309 /* end confdefs.h. */
24310
24311 /* Override any gcc2 internal prototype to avoid an error. */
24312 #ifdef __cplusplus
24313 extern "C"
24314 #endif
24315 /* We use char because int might match the return type of a gcc2
24316 builtin and then its argument prototype would still apply. */
24317 char SQLAllocEnv ();
24318 int
24319 main ()
24320 {
24321 SQLAllocEnv ();
24322 ;
24323 return 0;
24324 }
24325 _ACEOF
24326 rm -f conftest.$ac_objext conftest$ac_exeext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24328 (eval $ac_link) 2>&5
24329 ac_status=$?
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); } &&
24332 { ac_try='test -s conftest$ac_exeext'
24333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334 (eval $ac_try) 2>&5
24335 ac_status=$?
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); }; }; then
24338 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24339 break
24340 else
24341 echo "$as_me: failed program was:" >&5
24342 sed 's/^/| /' conftest.$ac_ext >&5
24343
24344 fi
24345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24346 done
24347 fi
24348 LIBS=$ac_func_search_save_LIBS
24349 fi
24350 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24351 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24352 if test "$ac_cv_search_SQLAllocEnv" != no; then
24353 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24354
24355 else
24356
24357 wxUSE_ODBC=builtin;
24358 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24359 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24360
24361 fi
24362
24363 fi
24364 if test "$wxUSE_ODBC" != "sys" ; then
24365 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24366 fi
24367
24368 fi
24369
24370 fi
24371
24372 if test "$wxUSE_REGEX" = "builtin" ; then
24373 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24374 fi
24375 if test "$wxUSE_ZLIB" = "builtin" ; then
24376 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24377 fi
24378
24379
24380 if test "$wxUSE_OPENGL" = "yes"; then
24381 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24382 OPENGL_LIBS="-framework OpenGL -framework AGL"
24383 elif test "$wxUSE_MSW" = 1; then
24384 OPENGL_LIBS="-lopengl32 -lglu32"
24385 else
24386
24387
24388 ac_find_includes=
24389 for ac_dir in $SEARCH_INCLUDE /usr/include;
24390 do
24391 if test -f "$ac_dir/GL/gl.h"; then
24392 ac_find_includes=$ac_dir
24393 break
24394 fi
24395 done
24396
24397 if test "$ac_find_includes" != "" ; then
24398 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24399 echo "${ECHO_T}found in $ac_find_includes" >&6
24400 set -x
24401
24402 if test "x$ac_find_includes" = "x/usr/include"; then
24403 ac_path_to_include=""
24404 else
24405 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24406 result=$?
24407 if test $result = 0; then
24408 ac_path_to_include=""
24409 else
24410 ac_path_to_include=" -I$ac_find_includes"
24411 fi
24412 fi
24413
24414 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24415 set +x
24416 fi
24417
24418 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24419 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24420 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24421 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 fi
24424 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24425 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24426 else
24427 # Is the header compilable?
24428 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24429 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24430 cat >conftest.$ac_ext <<_ACEOF
24431 #line $LINENO "configure"
24432 /* confdefs.h. */
24433 _ACEOF
24434 cat confdefs.h >>conftest.$ac_ext
24435 cat >>conftest.$ac_ext <<_ACEOF
24436 /* end confdefs.h. */
24437 $ac_includes_default
24438 #include <GL/gl.h>
24439 _ACEOF
24440 rm -f conftest.$ac_objext
24441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24442 (eval $ac_compile) 2>&5
24443 ac_status=$?
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); } &&
24446 { ac_try='test -s conftest.$ac_objext'
24447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24448 (eval $ac_try) 2>&5
24449 ac_status=$?
24450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 ac_header_compiler=yes
24453 else
24454 echo "$as_me: failed program was:" >&5
24455 sed 's/^/| /' conftest.$ac_ext >&5
24456
24457 ac_header_compiler=no
24458 fi
24459 rm -f conftest.$ac_objext conftest.$ac_ext
24460 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24461 echo "${ECHO_T}$ac_header_compiler" >&6
24462
24463 # Is the header present?
24464 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24465 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24466 cat >conftest.$ac_ext <<_ACEOF
24467 #line $LINENO "configure"
24468 /* confdefs.h. */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 #include <GL/gl.h>
24474 _ACEOF
24475 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24476 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24477 ac_status=$?
24478 grep -v '^ *+' conftest.er1 >conftest.err
24479 rm -f conftest.er1
24480 cat conftest.err >&5
24481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24482 (exit $ac_status); } >/dev/null; then
24483 if test -s conftest.err; then
24484 ac_cpp_err=$ac_c_preproc_warn_flag
24485 else
24486 ac_cpp_err=
24487 fi
24488 else
24489 ac_cpp_err=yes
24490 fi
24491 if test -z "$ac_cpp_err"; then
24492 ac_header_preproc=yes
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24496
24497 ac_header_preproc=no
24498 fi
24499 rm -f conftest.err conftest.$ac_ext
24500 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24501 echo "${ECHO_T}$ac_header_preproc" >&6
24502
24503 # So? What about this header?
24504 case $ac_header_compiler:$ac_header_preproc in
24505 yes:no )
24506 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24507 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24508 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24509 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24510 (
24511 cat <<\_ASBOX
24512 ## ------------------------------------ ##
24513 ## Report this to bug-autoconf@gnu.org. ##
24514 ## ------------------------------------ ##
24515 _ASBOX
24516 ) |
24517 sed "s/^/$as_me: WARNING: /" >&2
24518 ;;
24519 no:yes )
24520 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24521 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24522 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24523 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24524 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24525 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24526 (
24527 cat <<\_ASBOX
24528 ## ------------------------------------ ##
24529 ## Report this to bug-autoconf@gnu.org. ##
24530 ## ------------------------------------ ##
24531 _ASBOX
24532 ) |
24533 sed "s/^/$as_me: WARNING: /" >&2
24534 ;;
24535 esac
24536 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24537 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24538 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24539 echo $ECHO_N "(cached) $ECHO_C" >&6
24540 else
24541 ac_cv_header_GL_gl_h=$ac_header_preproc
24542 fi
24543 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24544 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24545
24546 fi
24547 if test $ac_cv_header_GL_gl_h = yes; then
24548
24549 found_gl=0
24550
24551 echo "$as_me:$LINENO: checking for -lGL" >&5
24552 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24553
24554 ac_find_libraries=
24555 for ac_dir in $SEARCH_LIB /usr/lib;
24556 do
24557 for ac_extension in a so sl dylib; do
24558 if test -f "$ac_dir/libGL.$ac_extension"; then
24559 ac_find_libraries=$ac_dir
24560 break 2
24561 fi
24562 done
24563 done
24564
24565 if test "$ac_find_libraries" != "" ; then
24566
24567 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24568 result=$?
24569 if test $result = 0; then
24570 ac_path_to_link=""
24571 else
24572 ac_path_to_link=" -L$ac_find_libraries"
24573 fi
24574
24575 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24576 LDFLAGS_GL="$ac_path_to_link"
24577 fi
24578
24579
24580 ac_find_libraries=
24581 for ac_dir in $SEARCH_LIB /usr/lib;
24582 do
24583 for ac_extension in a so sl dylib; do
24584 if test -f "$ac_dir/libGLU.$ac_extension"; then
24585 ac_find_libraries=$ac_dir
24586 break 2
24587 fi
24588 done
24589 done
24590
24591 if test "$ac_find_libraries" != "" ; then
24592
24593 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24594 result=$?
24595 if test $result = 0; then
24596 ac_path_to_link=""
24597 else
24598 ac_path_to_link=" -L$ac_find_libraries"
24599 fi
24600
24601 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24602 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24603 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24604 fi
24605
24606 found_gl=1
24607 OPENGL_LIBS="-lGL -lGLU"
24608 echo "$as_me:$LINENO: result: yes" >&5
24609 echo "${ECHO_T}yes" >&6
24610 fi
24611 fi
24612
24613 if "$found_gl" != 1; then
24614 echo "$as_me:$LINENO: result: no" >&5
24615 echo "${ECHO_T}no" >&6
24616 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24617 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24618
24619 ac_find_libraries=
24620 for ac_dir in $SEARCH_LIB /usr/lib;
24621 do
24622 for ac_extension in a so sl dylib; do
24623 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24624 ac_find_libraries=$ac_dir
24625 break 2
24626 fi
24627 done
24628 done
24629
24630 if test "$ac_find_libraries" != "" ; then
24631
24632 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24633 result=$?
24634 if test $result = 0; then
24635 ac_path_to_link=""
24636 else
24637 ac_path_to_link=" -L$ac_find_libraries"
24638 fi
24639
24640 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24641 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24642 echo "$as_me:$LINENO: result: yes" >&5
24643 echo "${ECHO_T}yes" >&6
24644 else
24645 echo "$as_me:$LINENO: result: no" >&5
24646 echo "${ECHO_T}no" >&6
24647 fi
24648 fi
24649
24650 fi
24651
24652
24653
24654 if test "x$OPENGL_LIBS" = "x"; then
24655 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24656 echo "$as_me: error: OpenGL libraries not available" >&2;}
24657 { (exit 1); exit 1; }; }
24658 fi
24659 fi
24660
24661 if test "$wxUSE_OPENGL" = "yes"; then
24662 cat >>confdefs.h <<\_ACEOF
24663 #define wxUSE_OPENGL 1
24664 _ACEOF
24665
24666 cat >>confdefs.h <<\_ACEOF
24667 #define wxUSE_GLCANVAS 1
24668 _ACEOF
24669
24670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24671 fi
24672 fi
24673
24674 if test -z "$TOOLKIT_VPATH" ; then
24675 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24676 fi
24677
24678 if test -n "$TOOLKIT" ; then
24679 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24680 fi
24681
24682 UNICODE=0
24683 lib_unicode_suffix=
24684 if test "$wxUSE_UNICODE" = "yes"; then
24685 lib_unicode_suffix=u
24686 UNICODE=1
24687 fi
24688
24689 lib_debug_suffix=
24690 BUILD=release
24691 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24692 lib_debug_suffix=d
24693 BUILD=debug
24694 fi
24695
24696 WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24697
24698 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24699 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24700
24701 if test "$cross_compiling" = "yes"; then
24702 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24703 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24704 fi
24705
24706 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24707 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24708 WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24709
24710 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24711 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24712
24713 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24714 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24715 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24716 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24717
24718 case "${host}" in
24719 *-*-cygwin* | *-*-mingw32* )
24720
24721
24722
24723 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24724 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24725 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24726 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24727 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24728 else
24729 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24730 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24731 fi
24732 ;;
24733
24734 *-*-darwin* )
24735
24736 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24737 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24738
24739 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24740 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24741 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24742 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24743
24744 if test "$wxUSE_MAC" = 1; then
24745 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24746 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24747 fi
24748 ;;
24749 esac
24750
24751 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24752 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24753
24754 WXCONFIG_LIBS="-l${WX_LIBRARY}"
24755 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24756
24757 if test "$wxUSE_OPENGL" = "yes"; then
24758 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24759 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24760 fi
24761
24762
24763
24764 if test "$wxUSE_SHARED" = "yes"; then
24765 case "${host}" in
24766 *-pc-os2_emx | *-pc-os2-emx | \
24767 *-pc-msdosdjgpp )
24768 wxUSE_SHARED=no
24769 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24770 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24771 ;;
24772 esac
24773 fi
24774
24775 SHARED=0
24776 if test "$wxUSE_SHARED" = "yes"; then
24777 SHARED=1
24778
24779
24780 found_versioning=no
24781
24782
24783 if test $found_versioning = no ; then
24784 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24785 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24786 if test "${wx_cv_version_script+set}" = set; then
24787 echo $ECHO_N "(cached) $ECHO_C" >&6
24788 else
24789
24790 echo "VER_1 { *; };" >conftest.sym
24791 echo "int main() { return 0; }" >conftest.cpp
24792
24793 if { ac_try='
24794 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24795 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24797 (eval $ac_try) 2>&5
24798 ac_status=$?
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); }; } ; then
24801 if test -s conftest.stderr ; then
24802 wx_cv_version_script=no
24803 else
24804 wx_cv_version_script=yes
24805 fi
24806 else
24807 wx_cv_version_script=no
24808 fi
24809 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24810
24811 fi
24812 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24813 echo "${ECHO_T}$wx_cv_version_script" >&6
24814 if test $wx_cv_version_script = yes ; then
24815 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24816 fi
24817 fi
24818
24819
24820 case "${host}" in
24821 *-*-linux* | *-*-gnu* )
24822 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24823 ;;
24824
24825 *-*-solaris2* )
24826 if test "$GCC" = yes ; then
24827 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24828
24829 saveLdflags="$LDFLAGS"
24830 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24831 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24832 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24833 cat >conftest.$ac_ext <<_ACEOF
24834 #line $LINENO "configure"
24835 /* confdefs.h. */
24836 _ACEOF
24837 cat confdefs.h >>conftest.$ac_ext
24838 cat >>conftest.$ac_ext <<_ACEOF
24839 /* end confdefs.h. */
24840
24841 int
24842 main ()
24843 {
24844
24845 ;
24846 return 0;
24847 }
24848 _ACEOF
24849 rm -f conftest.$ac_objext conftest$ac_exeext
24850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24851 (eval $ac_link) 2>&5
24852 ac_status=$?
24853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24854 (exit $ac_status); } &&
24855 { ac_try='test -s conftest$ac_exeext'
24856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24857 (eval $ac_try) 2>&5
24858 ac_status=$?
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); }; }; then
24861
24862 echo "$as_me:$LINENO: result: yes" >&5
24863 echo "${ECHO_T}yes" >&6
24864 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24865
24866 else
24867 echo "$as_me: failed program was:" >&5
24868 sed 's/^/| /' conftest.$ac_ext >&5
24869
24870
24871 echo "$as_me:$LINENO: result: no" >&5
24872 echo "${ECHO_T}no" >&6
24873 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24874 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24875 LDFLAGS="$saveLdflags -Wl,-R,/"
24876 cat >conftest.$ac_ext <<_ACEOF
24877 #line $LINENO "configure"
24878 /* confdefs.h. */
24879 _ACEOF
24880 cat confdefs.h >>conftest.$ac_ext
24881 cat >>conftest.$ac_ext <<_ACEOF
24882 /* end confdefs.h. */
24883
24884 int
24885 main ()
24886 {
24887
24888 ;
24889 return 0;
24890 }
24891 _ACEOF
24892 rm -f conftest.$ac_objext conftest$ac_exeext
24893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24894 (eval $ac_link) 2>&5
24895 ac_status=$?
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } &&
24898 { ac_try='test -s conftest$ac_exeext'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24901 ac_status=$?
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; }; then
24904
24905 echo "$as_me:$LINENO: result: yes" >&5
24906 echo "${ECHO_T}yes" >&6
24907 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24908 else
24909 echo "$as_me: failed program was:" >&5
24910 sed 's/^/| /' conftest.$ac_ext >&5
24911
24912
24913 echo "$as_me:$LINENO: result: no" >&5
24914 echo "${ECHO_T}no" >&6
24915
24916 fi
24917 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24918
24919 fi
24920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24921 LDFLAGS="$saveLdflags"
24922 else
24923 SHARED_LD="${CXX} -G -o"
24924 PIC_FLAG="-KPIC"
24925 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24926 fi
24927 ;;
24928
24929 *-*-cygwin* | *-*-mingw32* )
24930 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24931 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24932
24933 if test "$wxUSE_OPENGL" = "yes"; then
24934 LIBS="${LIBS} ${OPENGL_LIBS}"
24935 fi
24936 ;;
24937 esac
24938
24939 if test "x$WX_TARGET_LIBRARY" = "x"; then
24940 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
24941 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
24942 fi
24943
24944 WX_TARGET_LIBRARY_TYPE="so"
24945 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
24946 fi
24947
24948 if test "$wxUSE_SHARED" = "no"; then
24949
24950 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
24951 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24952 fi
24953
24954 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
24955 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24956 fi
24957
24958 if test "$wxUSE_OPENGL" = "yes"; then
24959 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
24960 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
24961 else
24962 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
24963 fi
24964
24965 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
24966 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
24967
24968 WX_TARGET_LIBRARY_TYPE="a"
24969 INSTALL_LIBRARY='$(INSTALL_DATA)'
24970
24971 STATIC_FLAG="yes"
24972 else
24973 STATIC_FLAG="no"
24974 fi
24975
24976 MACRESCOMP="@#"
24977 MACSETFILE="@#"
24978 MACRESWXCONFIG="#"
24979 if test "$wxUSE_MAC" = 1; then
24980 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
24981 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
24982 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
24983 # Extract the first word of "Rez", so it can be a program name with args.
24984 set dummy Rez; ac_word=$2
24985 echo "$as_me:$LINENO: checking for $ac_word" >&5
24986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24987 if test "${ac_cv_prog_RESCOMP+set}" = set; then
24988 echo $ECHO_N "(cached) $ECHO_C" >&6
24989 else
24990 if test -n "$RESCOMP"; then
24991 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
24992 else
24993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24994 for as_dir in $PATH
24995 do
24996 IFS=$as_save_IFS
24997 test -z "$as_dir" && as_dir=.
24998 for ac_exec_ext in '' $ac_executable_extensions; do
24999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25000 ac_cv_prog_RESCOMP="Rez"
25001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25002 break 2
25003 fi
25004 done
25005 done
25006
25007 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25008 fi
25009 fi
25010 RESCOMP=$ac_cv_prog_RESCOMP
25011 if test -n "$RESCOMP"; then
25012 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25013 echo "${ECHO_T}$RESCOMP" >&6
25014 else
25015 echo "$as_me:$LINENO: result: no" >&5
25016 echo "${ECHO_T}no" >&6
25017 fi
25018
25019 # Extract the first word of "DeRez", so it can be a program name with args.
25020 set dummy DeRez; ac_word=$2
25021 echo "$as_me:$LINENO: checking for $ac_word" >&5
25022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25023 if test "${ac_cv_prog_DEREZ+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 else
25026 if test -n "$DEREZ"; then
25027 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25028 else
25029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25030 for as_dir in $PATH
25031 do
25032 IFS=$as_save_IFS
25033 test -z "$as_dir" && as_dir=.
25034 for ac_exec_ext in '' $ac_executable_extensions; do
25035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25036 ac_cv_prog_DEREZ="DeRez"
25037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25038 break 2
25039 fi
25040 done
25041 done
25042
25043 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25044 fi
25045 fi
25046 DEREZ=$ac_cv_prog_DEREZ
25047 if test -n "$DEREZ"; then
25048 echo "$as_me:$LINENO: result: $DEREZ" >&5
25049 echo "${ECHO_T}$DEREZ" >&6
25050 else
25051 echo "$as_me:$LINENO: result: no" >&5
25052 echo "${ECHO_T}no" >&6
25053 fi
25054
25055 # Extract the first word of "SetFile", so it can be a program name with args.
25056 set dummy SetFile; ac_word=$2
25057 echo "$as_me:$LINENO: checking for $ac_word" >&5
25058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25059 if test "${ac_cv_prog_SETFILE+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25061 else
25062 if test -n "$SETFILE"; then
25063 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25064 else
25065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25066 for as_dir in $PATH
25067 do
25068 IFS=$as_save_IFS
25069 test -z "$as_dir" && as_dir=.
25070 for ac_exec_ext in '' $ac_executable_extensions; do
25071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25072 ac_cv_prog_SETFILE="SetFile"
25073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25074 break 2
25075 fi
25076 done
25077 done
25078
25079 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25080 fi
25081 fi
25082 SETFILE=$ac_cv_prog_SETFILE
25083 if test -n "$SETFILE"; then
25084 echo "$as_me:$LINENO: result: $SETFILE" >&5
25085 echo "${ECHO_T}$SETFILE" >&6
25086 else
25087 echo "$as_me:$LINENO: result: no" >&5
25088 echo "${ECHO_T}no" >&6
25089 fi
25090
25091 MACOSX_BUNDLE="bundle"
25092 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25093 MACSETFILE="\$(SETFILE)"
25094 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25095 elif test "$wxUSE_COCOA" = 1; then
25096 # Extract the first word of "Rez", so it can be a program name with args.
25097 set dummy Rez; ac_word=$2
25098 echo "$as_me:$LINENO: checking for $ac_word" >&5
25099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25100 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25101 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 else
25103 if test -n "$RESCOMP"; then
25104 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25105 else
25106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25107 for as_dir in $PATH
25108 do
25109 IFS=$as_save_IFS
25110 test -z "$as_dir" && as_dir=.
25111 for ac_exec_ext in '' $ac_executable_extensions; do
25112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25113 ac_cv_prog_RESCOMP="Rez"
25114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25115 break 2
25116 fi
25117 done
25118 done
25119
25120 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25121 fi
25122 fi
25123 RESCOMP=$ac_cv_prog_RESCOMP
25124 if test -n "$RESCOMP"; then
25125 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25126 echo "${ECHO_T}$RESCOMP" >&6
25127 else
25128 echo "$as_me:$LINENO: result: no" >&5
25129 echo "${ECHO_T}no" >&6
25130 fi
25131
25132 # Extract the first word of "DeRez", so it can be a program name with args.
25133 set dummy DeRez; ac_word=$2
25134 echo "$as_me:$LINENO: checking for $ac_word" >&5
25135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25136 if test "${ac_cv_prog_DEREZ+set}" = set; then
25137 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 else
25139 if test -n "$DEREZ"; then
25140 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25141 else
25142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25143 for as_dir in $PATH
25144 do
25145 IFS=$as_save_IFS
25146 test -z "$as_dir" && as_dir=.
25147 for ac_exec_ext in '' $ac_executable_extensions; do
25148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25149 ac_cv_prog_DEREZ="DeRez"
25150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25151 break 2
25152 fi
25153 done
25154 done
25155
25156 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25157 fi
25158 fi
25159 DEREZ=$ac_cv_prog_DEREZ
25160 if test -n "$DEREZ"; then
25161 echo "$as_me:$LINENO: result: $DEREZ" >&5
25162 echo "${ECHO_T}$DEREZ" >&6
25163 else
25164 echo "$as_me:$LINENO: result: no" >&5
25165 echo "${ECHO_T}no" >&6
25166 fi
25167
25168 # Extract the first word of "SetFile", so it can be a program name with args.
25169 set dummy SetFile; ac_word=$2
25170 echo "$as_me:$LINENO: checking for $ac_word" >&5
25171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25172 if test "${ac_cv_prog_SETFILE+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25174 else
25175 if test -n "$SETFILE"; then
25176 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25177 else
25178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25179 for as_dir in $PATH
25180 do
25181 IFS=$as_save_IFS
25182 test -z "$as_dir" && as_dir=.
25183 for ac_exec_ext in '' $ac_executable_extensions; do
25184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25185 ac_cv_prog_SETFILE="SetFile"
25186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25187 break 2
25188 fi
25189 done
25190 done
25191
25192 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25193 fi
25194 fi
25195 SETFILE=$ac_cv_prog_SETFILE
25196 if test -n "$SETFILE"; then
25197 echo "$as_me:$LINENO: result: $SETFILE" >&5
25198 echo "${ECHO_T}$SETFILE" >&6
25199 else
25200 echo "$as_me:$LINENO: result: no" >&5
25201 echo "${ECHO_T}no" >&6
25202 fi
25203
25204 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25205 MACSETFILE="\$(SETFILE)"
25206 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25207 else
25208 if test "$wxUSE_PM" = 1; then
25209 MACRESCOMP="emxbind -ep"
25210 fi
25211 fi
25212
25213
25214 echo "$as_me:$LINENO: checking for mode_t" >&5
25215 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25216 if test "${ac_cv_type_mode_t+set}" = set; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25218 else
25219 cat >conftest.$ac_ext <<_ACEOF
25220 #line $LINENO "configure"
25221 /* confdefs.h. */
25222 _ACEOF
25223 cat confdefs.h >>conftest.$ac_ext
25224 cat >>conftest.$ac_ext <<_ACEOF
25225 /* end confdefs.h. */
25226 $ac_includes_default
25227 int
25228 main ()
25229 {
25230 if ((mode_t *) 0)
25231 return 0;
25232 if (sizeof (mode_t))
25233 return 0;
25234 ;
25235 return 0;
25236 }
25237 _ACEOF
25238 rm -f conftest.$ac_objext
25239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25240 (eval $ac_compile) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); } &&
25244 { ac_try='test -s conftest.$ac_objext'
25245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25246 (eval $ac_try) 2>&5
25247 ac_status=$?
25248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25249 (exit $ac_status); }; }; then
25250 ac_cv_type_mode_t=yes
25251 else
25252 echo "$as_me: failed program was:" >&5
25253 sed 's/^/| /' conftest.$ac_ext >&5
25254
25255 ac_cv_type_mode_t=no
25256 fi
25257 rm -f conftest.$ac_objext conftest.$ac_ext
25258 fi
25259 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25260 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25261 if test $ac_cv_type_mode_t = yes; then
25262 :
25263 else
25264
25265 cat >>confdefs.h <<_ACEOF
25266 #define mode_t int
25267 _ACEOF
25268
25269 fi
25270
25271 echo "$as_me:$LINENO: checking for off_t" >&5
25272 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25273 if test "${ac_cv_type_off_t+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 else
25276 cat >conftest.$ac_ext <<_ACEOF
25277 #line $LINENO "configure"
25278 /* confdefs.h. */
25279 _ACEOF
25280 cat confdefs.h >>conftest.$ac_ext
25281 cat >>conftest.$ac_ext <<_ACEOF
25282 /* end confdefs.h. */
25283 $ac_includes_default
25284 int
25285 main ()
25286 {
25287 if ((off_t *) 0)
25288 return 0;
25289 if (sizeof (off_t))
25290 return 0;
25291 ;
25292 return 0;
25293 }
25294 _ACEOF
25295 rm -f conftest.$ac_objext
25296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25297 (eval $ac_compile) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); } &&
25301 { ac_try='test -s conftest.$ac_objext'
25302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25303 (eval $ac_try) 2>&5
25304 ac_status=$?
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); }; }; then
25307 ac_cv_type_off_t=yes
25308 else
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.$ac_ext >&5
25311
25312 ac_cv_type_off_t=no
25313 fi
25314 rm -f conftest.$ac_objext conftest.$ac_ext
25315 fi
25316 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25317 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25318 if test $ac_cv_type_off_t = yes; then
25319 :
25320 else
25321
25322 cat >>confdefs.h <<_ACEOF
25323 #define off_t long
25324 _ACEOF
25325
25326 fi
25327
25328 echo "$as_me:$LINENO: checking for pid_t" >&5
25329 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25330 if test "${ac_cv_type_pid_t+set}" = set; then
25331 echo $ECHO_N "(cached) $ECHO_C" >&6
25332 else
25333 cat >conftest.$ac_ext <<_ACEOF
25334 #line $LINENO "configure"
25335 /* confdefs.h. */
25336 _ACEOF
25337 cat confdefs.h >>conftest.$ac_ext
25338 cat >>conftest.$ac_ext <<_ACEOF
25339 /* end confdefs.h. */
25340 $ac_includes_default
25341 int
25342 main ()
25343 {
25344 if ((pid_t *) 0)
25345 return 0;
25346 if (sizeof (pid_t))
25347 return 0;
25348 ;
25349 return 0;
25350 }
25351 _ACEOF
25352 rm -f conftest.$ac_objext
25353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25354 (eval $ac_compile) 2>&5
25355 ac_status=$?
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } &&
25358 { ac_try='test -s conftest.$ac_objext'
25359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25360 (eval $ac_try) 2>&5
25361 ac_status=$?
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; }; then
25364 ac_cv_type_pid_t=yes
25365 else
25366 echo "$as_me: failed program was:" >&5
25367 sed 's/^/| /' conftest.$ac_ext >&5
25368
25369 ac_cv_type_pid_t=no
25370 fi
25371 rm -f conftest.$ac_objext conftest.$ac_ext
25372 fi
25373 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25374 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25375 if test $ac_cv_type_pid_t = yes; then
25376 :
25377 else
25378
25379 cat >>confdefs.h <<_ACEOF
25380 #define pid_t int
25381 _ACEOF
25382
25383 fi
25384
25385 echo "$as_me:$LINENO: checking for size_t" >&5
25386 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25387 if test "${ac_cv_type_size_t+set}" = set; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25389 else
25390 cat >conftest.$ac_ext <<_ACEOF
25391 #line $LINENO "configure"
25392 /* confdefs.h. */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25397 $ac_includes_default
25398 int
25399 main ()
25400 {
25401 if ((size_t *) 0)
25402 return 0;
25403 if (sizeof (size_t))
25404 return 0;
25405 ;
25406 return 0;
25407 }
25408 _ACEOF
25409 rm -f conftest.$ac_objext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25411 (eval $ac_compile) 2>&5
25412 ac_status=$?
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try='test -s conftest.$ac_objext'
25416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25417 (eval $ac_try) 2>&5
25418 ac_status=$?
25419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420 (exit $ac_status); }; }; then
25421 ac_cv_type_size_t=yes
25422 else
25423 echo "$as_me: failed program was:" >&5
25424 sed 's/^/| /' conftest.$ac_ext >&5
25425
25426 ac_cv_type_size_t=no
25427 fi
25428 rm -f conftest.$ac_objext conftest.$ac_ext
25429 fi
25430 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25431 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25432 if test $ac_cv_type_size_t = yes; then
25433 :
25434 else
25435
25436 cat >>confdefs.h <<_ACEOF
25437 #define size_t unsigned
25438 _ACEOF
25439
25440 fi
25441
25442 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25443 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25444 if test "${ac_cv_type_uid_t+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447 cat >conftest.$ac_ext <<_ACEOF
25448 #line $LINENO "configure"
25449 /* confdefs.h. */
25450 _ACEOF
25451 cat confdefs.h >>conftest.$ac_ext
25452 cat >>conftest.$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25454 #include <sys/types.h>
25455
25456 _ACEOF
25457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25458 $EGREP "uid_t" >/dev/null 2>&1; then
25459 ac_cv_type_uid_t=yes
25460 else
25461 ac_cv_type_uid_t=no
25462 fi
25463 rm -f conftest*
25464
25465 fi
25466 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25467 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25468 if test $ac_cv_type_uid_t = no; then
25469
25470 cat >>confdefs.h <<\_ACEOF
25471 #define uid_t int
25472 _ACEOF
25473
25474
25475 cat >>confdefs.h <<\_ACEOF
25476 #define gid_t int
25477 _ACEOF
25478
25479 fi
25480
25481
25482
25483
25484 ac_ext=cc
25485 ac_cpp='$CXXCPP $CPPFLAGS'
25486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25489
25490 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25491 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25492 if test "${wx_cv_size_t_is_uint+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 else
25495
25496 cat >conftest.$ac_ext <<_ACEOF
25497 #line $LINENO "configure"
25498 /* confdefs.h. */
25499 _ACEOF
25500 cat confdefs.h >>conftest.$ac_ext
25501 cat >>conftest.$ac_ext <<_ACEOF
25502 /* end confdefs.h. */
25503 #include <stddef.h>
25504 int
25505 main ()
25506 {
25507
25508 return 0; }
25509
25510 struct Foo { void foo(size_t); void foo(unsigned int); };
25511
25512 int bar() {
25513
25514 ;
25515 return 0;
25516 }
25517 _ACEOF
25518 rm -f conftest.$ac_objext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25520 (eval $ac_compile) 2>&5
25521 ac_status=$?
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } &&
25524 { ac_try='test -s conftest.$ac_objext'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; }; then
25530 wx_cv_size_t_is_uint=no
25531 else
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25534
25535 wx_cv_size_t_is_uint=yes
25536
25537 fi
25538 rm -f conftest.$ac_objext conftest.$ac_ext
25539
25540
25541 fi
25542 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25543 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25544
25545 if test "$wx_cv_size_t_is_uint" = "yes"; then
25546 cat >>confdefs.h <<\_ACEOF
25547 #define wxSIZE_T_IS_UINT 1
25548 _ACEOF
25549
25550 else
25551 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25552 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25553 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25555 else
25556 cat >conftest.$ac_ext <<_ACEOF
25557 #line $LINENO "configure"
25558 /* confdefs.h. */
25559 _ACEOF
25560 cat confdefs.h >>conftest.$ac_ext
25561 cat >>conftest.$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 #include <stddef.h>
25564 int
25565 main ()
25566 {
25567
25568 return 0; }
25569
25570 struct Foo { void foo(size_t); void foo(unsigned long); };
25571
25572 int bar() {
25573
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 rm -f conftest.$ac_objext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580 (eval $ac_compile) 2>&5
25581 ac_status=$?
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try='test -s conftest.$ac_objext'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25587 ac_status=$?
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; }; then
25590 wx_cv_size_t_is_ulong=no
25591 else
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 wx_cv_size_t_is_ulong=yes
25596
25597 fi
25598 rm -f conftest.$ac_objext conftest.$ac_ext
25599
25600 fi
25601 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25602 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25603
25604 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25605 cat >>confdefs.h <<\_ACEOF
25606 #define wxSIZE_T_IS_ULONG 1
25607 _ACEOF
25608
25609 fi
25610 fi
25611
25612 ac_ext=c
25613 ac_cpp='$CPP $CPPFLAGS'
25614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25617
25618
25619
25620 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25621 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25622 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25623 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25625
25626 cat >conftest.$ac_ext <<_ACEOF
25627 #line $LINENO "configure"
25628 /* confdefs.h. */
25629 _ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25633 #include <pwd.h>
25634 int
25635 main ()
25636 {
25637
25638 char *p;
25639 struct passwd *pw;
25640 p = pw->pw_gecos;
25641
25642 ;
25643 return 0;
25644 }
25645 _ACEOF
25646 rm -f conftest.$ac_objext
25647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25648 (eval $ac_compile) 2>&5
25649 ac_status=$?
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } &&
25652 { ac_try='test -s conftest.$ac_objext'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25655 ac_status=$?
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; }; then
25658
25659 wx_cv_struct_pw_gecos=yes
25660
25661 else
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.$ac_ext >&5
25664
25665
25666 wx_cv_struct_pw_gecos=no
25667
25668
25669 fi
25670 rm -f conftest.$ac_objext conftest.$ac_ext
25671
25672
25673 fi
25674 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25675 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25676
25677 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25678 cat >>confdefs.h <<\_ACEOF
25679 #define HAVE_PW_GECOS 1
25680 _ACEOF
25681
25682 fi
25683
25684
25685 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25686 cat >>confdefs.h <<\_ACEOF
25687 #define wxUSE_WCHAR_T 1
25688 _ACEOF
25689
25690
25691 WCSLEN_FOUND=0
25692 WCHAR_LINK=
25693
25694 for ac_func in wcslen
25695 do
25696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25697 echo "$as_me:$LINENO: checking for $ac_func" >&5
25698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25699 if eval "test \"\${$as_ac_var+set}\" = set"; then
25700 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 else
25702 cat >conftest.$ac_ext <<_ACEOF
25703 #line $LINENO "configure"
25704 /* confdefs.h. */
25705 _ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25709 /* System header to define __stub macros and hopefully few prototypes,
25710 which can conflict with char $ac_func (); below.
25711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25712 <limits.h> exists even on freestanding compilers. */
25713 #ifdef __STDC__
25714 # include <limits.h>
25715 #else
25716 # include <assert.h>
25717 #endif
25718 /* Override any gcc2 internal prototype to avoid an error. */
25719 #ifdef __cplusplus
25720 extern "C"
25721 {
25722 #endif
25723 /* We use char because int might match the return type of a gcc2
25724 builtin and then its argument prototype would still apply. */
25725 char $ac_func ();
25726 /* The GNU C library defines this for functions which it implements
25727 to always fail with ENOSYS. Some functions are actually named
25728 something starting with __ and the normal name is an alias. */
25729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25730 choke me
25731 #else
25732 char (*f) () = $ac_func;
25733 #endif
25734 #ifdef __cplusplus
25735 }
25736 #endif
25737
25738 int
25739 main ()
25740 {
25741 return f != $ac_func;
25742 ;
25743 return 0;
25744 }
25745 _ACEOF
25746 rm -f conftest.$ac_objext conftest$ac_exeext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25748 (eval $ac_link) 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try='test -s conftest$ac_exeext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25755 ac_status=$?
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 eval "$as_ac_var=yes"
25759 else
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.$ac_ext >&5
25762
25763 eval "$as_ac_var=no"
25764 fi
25765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25766 fi
25767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25769 if test `eval echo '${'$as_ac_var'}'` = yes; then
25770 cat >>confdefs.h <<_ACEOF
25771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25772 _ACEOF
25773 WCSLEN_FOUND=1
25774 fi
25775 done
25776
25777
25778 if test "$WCSLEN_FOUND" = 0; then
25779 if test "$TOOLKIT" = "MSW"; then
25780 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25781 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25782 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 else
25785 ac_check_lib_save_LIBS=$LIBS
25786 LIBS="-lmsvcrt $LIBS"
25787 cat >conftest.$ac_ext <<_ACEOF
25788 #line $LINENO "configure"
25789 /* confdefs.h. */
25790 _ACEOF
25791 cat confdefs.h >>conftest.$ac_ext
25792 cat >>conftest.$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25794
25795 /* Override any gcc2 internal prototype to avoid an error. */
25796 #ifdef __cplusplus
25797 extern "C"
25798 #endif
25799 /* We use char because int might match the return type of a gcc2
25800 builtin and then its argument prototype would still apply. */
25801 char wcslen ();
25802 int
25803 main ()
25804 {
25805 wcslen ();
25806 ;
25807 return 0;
25808 }
25809 _ACEOF
25810 rm -f conftest.$ac_objext conftest$ac_exeext
25811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25812 (eval $ac_link) 2>&5
25813 ac_status=$?
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); } &&
25816 { ac_try='test -s conftest$ac_exeext'
25817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25818 (eval $ac_try) 2>&5
25819 ac_status=$?
25820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25821 (exit $ac_status); }; }; then
25822 ac_cv_lib_msvcrt_wcslen=yes
25823 else
25824 echo "$as_me: failed program was:" >&5
25825 sed 's/^/| /' conftest.$ac_ext >&5
25826
25827 ac_cv_lib_msvcrt_wcslen=no
25828 fi
25829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25830 LIBS=$ac_check_lib_save_LIBS
25831 fi
25832 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25833 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25834 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25835 WCHAR_OK=1
25836 fi
25837
25838 else
25839 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25840 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25841 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25842 echo $ECHO_N "(cached) $ECHO_C" >&6
25843 else
25844 ac_check_lib_save_LIBS=$LIBS
25845 LIBS="-lw $LIBS"
25846 cat >conftest.$ac_ext <<_ACEOF
25847 #line $LINENO "configure"
25848 /* confdefs.h. */
25849 _ACEOF
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25853
25854 /* Override any gcc2 internal prototype to avoid an error. */
25855 #ifdef __cplusplus
25856 extern "C"
25857 #endif
25858 /* We use char because int might match the return type of a gcc2
25859 builtin and then its argument prototype would still apply. */
25860 char wcslen ();
25861 int
25862 main ()
25863 {
25864 wcslen ();
25865 ;
25866 return 0;
25867 }
25868 _ACEOF
25869 rm -f conftest.$ac_objext conftest$ac_exeext
25870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25871 (eval $ac_link) 2>&5
25872 ac_status=$?
25873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25874 (exit $ac_status); } &&
25875 { ac_try='test -s conftest$ac_exeext'
25876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25877 (eval $ac_try) 2>&5
25878 ac_status=$?
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); }; }; then
25881 ac_cv_lib_w_wcslen=yes
25882 else
25883 echo "$as_me: failed program was:" >&5
25884 sed 's/^/| /' conftest.$ac_ext >&5
25885
25886 ac_cv_lib_w_wcslen=no
25887 fi
25888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25889 LIBS=$ac_check_lib_save_LIBS
25890 fi
25891 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25892 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25893 if test $ac_cv_lib_w_wcslen = yes; then
25894
25895 WCHAR_LINK=" -lw"
25896 WCSLEN_FOUND=1
25897
25898 fi
25899
25900 fi
25901 fi
25902
25903 if test "$WCSLEN_FOUND" = 1; then
25904 cat >>confdefs.h <<\_ACEOF
25905 #define HAVE_WCSLEN 1
25906 _ACEOF
25907
25908 fi
25909
25910
25911 for ac_func in wcsrtombs
25912 do
25913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25914 echo "$as_me:$LINENO: checking for $ac_func" >&5
25915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25916 if eval "test \"\${$as_ac_var+set}\" = set"; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25918 else
25919 cat >conftest.$ac_ext <<_ACEOF
25920 #line $LINENO "configure"
25921 /* confdefs.h. */
25922 _ACEOF
25923 cat confdefs.h >>conftest.$ac_ext
25924 cat >>conftest.$ac_ext <<_ACEOF
25925 /* end confdefs.h. */
25926 /* System header to define __stub macros and hopefully few prototypes,
25927 which can conflict with char $ac_func (); below.
25928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25929 <limits.h> exists even on freestanding compilers. */
25930 #ifdef __STDC__
25931 # include <limits.h>
25932 #else
25933 # include <assert.h>
25934 #endif
25935 /* Override any gcc2 internal prototype to avoid an error. */
25936 #ifdef __cplusplus
25937 extern "C"
25938 {
25939 #endif
25940 /* We use char because int might match the return type of a gcc2
25941 builtin and then its argument prototype would still apply. */
25942 char $ac_func ();
25943 /* The GNU C library defines this for functions which it implements
25944 to always fail with ENOSYS. Some functions are actually named
25945 something starting with __ and the normal name is an alias. */
25946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25947 choke me
25948 #else
25949 char (*f) () = $ac_func;
25950 #endif
25951 #ifdef __cplusplus
25952 }
25953 #endif
25954
25955 int
25956 main ()
25957 {
25958 return f != $ac_func;
25959 ;
25960 return 0;
25961 }
25962 _ACEOF
25963 rm -f conftest.$ac_objext conftest$ac_exeext
25964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25965 (eval $ac_link) 2>&5
25966 ac_status=$?
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); } &&
25969 { ac_try='test -s conftest$ac_exeext'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25972 ac_status=$?
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; }; then
25975 eval "$as_ac_var=yes"
25976 else
25977 echo "$as_me: failed program was:" >&5
25978 sed 's/^/| /' conftest.$ac_ext >&5
25979
25980 eval "$as_ac_var=no"
25981 fi
25982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25983 fi
25984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25986 if test `eval echo '${'$as_ac_var'}'` = yes; then
25987 cat >>confdefs.h <<_ACEOF
25988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25989 _ACEOF
25990
25991 fi
25992 done
25993
25994 else
25995 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
25996 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
25997 fi
25998
25999
26000
26001 ac_ext=cc
26002 ac_cpp='$CXXCPP $CPPFLAGS'
26003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26006
26007
26008
26009 for ac_func in vsnprintf
26010 do
26011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26012 echo "$as_me:$LINENO: checking for $ac_func" >&5
26013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26014 if eval "test \"\${$as_ac_var+set}\" = set"; then
26015 echo $ECHO_N "(cached) $ECHO_C" >&6
26016 else
26017 cat >conftest.$ac_ext <<_ACEOF
26018 #line $LINENO "configure"
26019 /* confdefs.h. */
26020 _ACEOF
26021 cat confdefs.h >>conftest.$ac_ext
26022 cat >>conftest.$ac_ext <<_ACEOF
26023 /* end confdefs.h. */
26024 /* System header to define __stub macros and hopefully few prototypes,
26025 which can conflict with char $ac_func (); below.
26026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26027 <limits.h> exists even on freestanding compilers. */
26028 #ifdef __STDC__
26029 # include <limits.h>
26030 #else
26031 # include <assert.h>
26032 #endif
26033 /* Override any gcc2 internal prototype to avoid an error. */
26034 #ifdef __cplusplus
26035 extern "C"
26036 {
26037 #endif
26038 /* We use char because int might match the return type of a gcc2
26039 builtin and then its argument prototype would still apply. */
26040 char $ac_func ();
26041 /* The GNU C library defines this for functions which it implements
26042 to always fail with ENOSYS. Some functions are actually named
26043 something starting with __ and the normal name is an alias. */
26044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26045 choke me
26046 #else
26047 char (*f) () = $ac_func;
26048 #endif
26049 #ifdef __cplusplus
26050 }
26051 #endif
26052
26053 int
26054 main ()
26055 {
26056 return f != $ac_func;
26057 ;
26058 return 0;
26059 }
26060 _ACEOF
26061 rm -f conftest.$ac_objext conftest$ac_exeext
26062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26063 (eval $ac_link) 2>&5
26064 ac_status=$?
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } &&
26067 { ac_try='test -s conftest$ac_exeext'
26068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069 (eval $ac_try) 2>&5
26070 ac_status=$?
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); }; }; then
26073 eval "$as_ac_var=yes"
26074 else
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.$ac_ext >&5
26077
26078 eval "$as_ac_var=no"
26079 fi
26080 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26081 fi
26082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26084 if test `eval echo '${'$as_ac_var'}'` = yes; then
26085 cat >>confdefs.h <<_ACEOF
26086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26087 _ACEOF
26088
26089 fi
26090 done
26091
26092
26093 if test "$ac_cv_func_vsnprintf" = "yes"; then
26094 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26095 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26096 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26097 echo $ECHO_N "(cached) $ECHO_C" >&6
26098 else
26099
26100 cat >conftest.$ac_ext <<_ACEOF
26101 #line $LINENO "configure"
26102 /* confdefs.h. */
26103 _ACEOF
26104 cat confdefs.h >>conftest.$ac_ext
26105 cat >>conftest.$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107
26108 #include <stdio.h>
26109 #include <stdarg.h>
26110
26111 int
26112 main ()
26113 {
26114
26115 char *buf;
26116 va_list ap;
26117 vsnprintf(buf, 10u, "%s", ap);
26118
26119 ;
26120 return 0;
26121 }
26122 _ACEOF
26123 rm -f conftest.$ac_objext
26124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26125 (eval $ac_compile) 2>&5
26126 ac_status=$?
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); } &&
26129 { ac_try='test -s conftest.$ac_objext'
26130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26131 (eval $ac_try) 2>&5
26132 ac_status=$?
26133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26134 (exit $ac_status); }; }; then
26135 wx_cv_func_vsnprintf_decl=yes
26136 else
26137 echo "$as_me: failed program was:" >&5
26138 sed 's/^/| /' conftest.$ac_ext >&5
26139
26140 wx_cv_func_vsnprintf_decl=no
26141
26142 fi
26143 rm -f conftest.$ac_objext conftest.$ac_ext
26144
26145
26146 fi
26147 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26148 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26149
26150 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26151 cat >>confdefs.h <<\_ACEOF
26152 #define HAVE_VSNPRINTF_DECL 1
26153 _ACEOF
26154
26155 fi
26156 fi
26157
26158 if test "$wxUSE_UNICODE" = yes; then
26159
26160
26161
26162 for ac_func in fputwc wprintf vswprintf
26163 do
26164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26165 echo "$as_me:$LINENO: checking for $ac_func" >&5
26166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26167 if eval "test \"\${$as_ac_var+set}\" = set"; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 else
26170 cat >conftest.$ac_ext <<_ACEOF
26171 #line $LINENO "configure"
26172 /* confdefs.h. */
26173 _ACEOF
26174 cat confdefs.h >>conftest.$ac_ext
26175 cat >>conftest.$ac_ext <<_ACEOF
26176 /* end confdefs.h. */
26177 /* System header to define __stub macros and hopefully few prototypes,
26178 which can conflict with char $ac_func (); below.
26179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26180 <limits.h> exists even on freestanding compilers. */
26181 #ifdef __STDC__
26182 # include <limits.h>
26183 #else
26184 # include <assert.h>
26185 #endif
26186 /* Override any gcc2 internal prototype to avoid an error. */
26187 #ifdef __cplusplus
26188 extern "C"
26189 {
26190 #endif
26191 /* We use char because int might match the return type of a gcc2
26192 builtin and then its argument prototype would still apply. */
26193 char $ac_func ();
26194 /* The GNU C library defines this for functions which it implements
26195 to always fail with ENOSYS. Some functions are actually named
26196 something starting with __ and the normal name is an alias. */
26197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26198 choke me
26199 #else
26200 char (*f) () = $ac_func;
26201 #endif
26202 #ifdef __cplusplus
26203 }
26204 #endif
26205
26206 int
26207 main ()
26208 {
26209 return f != $ac_func;
26210 ;
26211 return 0;
26212 }
26213 _ACEOF
26214 rm -f conftest.$ac_objext conftest$ac_exeext
26215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26216 (eval $ac_link) 2>&5
26217 ac_status=$?
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); } &&
26220 { ac_try='test -s conftest$ac_exeext'
26221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26222 (eval $ac_try) 2>&5
26223 ac_status=$?
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); }; }; then
26226 eval "$as_ac_var=yes"
26227 else
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26230
26231 eval "$as_ac_var=no"
26232 fi
26233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26234 fi
26235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26237 if test `eval echo '${'$as_ac_var'}'` = yes; then
26238 cat >>confdefs.h <<_ACEOF
26239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26240 _ACEOF
26241
26242 fi
26243 done
26244
26245
26246 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26247 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26248 cat >conftest.$ac_ext <<_ACEOF
26249 #line $LINENO "configure"
26250 /* confdefs.h. */
26251 _ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255 #include <wchar.h>
26256 int
26257 main ()
26258 {
26259 &_vsnwprintf;
26260 ;
26261 return 0;
26262 }
26263 _ACEOF
26264 rm -f conftest.$ac_objext
26265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26266 (eval $ac_compile) 2>&5
26267 ac_status=$?
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } &&
26270 { ac_try='test -s conftest.$ac_objext'
26271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272 (eval $ac_try) 2>&5
26273 ac_status=$?
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); }; }; then
26276 echo "$as_me:$LINENO: result: yes" >&5
26277 echo "${ECHO_T}yes" >&6
26278 cat >>confdefs.h <<\_ACEOF
26279 #define HAVE__VSNWPRINTF 1
26280 _ACEOF
26281
26282 else
26283 echo "$as_me: failed program was:" >&5
26284 sed 's/^/| /' conftest.$ac_ext >&5
26285
26286 echo "$as_me:$LINENO: result: no" >&5
26287 echo "${ECHO_T}no" >&6
26288 fi
26289 rm -f conftest.$ac_objext conftest.$ac_ext;
26290 fi
26291
26292 ac_ext=c
26293 ac_cpp='$CPP $CPPFLAGS'
26294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26297
26298
26299
26300
26301 if test "$TOOLKIT" != "MSW"; then
26302
26303
26304
26305
26306 ac_ext=cc
26307 ac_cpp='$CXXCPP $CPPFLAGS'
26308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26311
26312
26313
26314
26315 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26316 if test "${with_libiconv_prefix+set}" = set; then
26317 withval="$with_libiconv_prefix"
26318
26319 for dir in `echo "$withval" | tr : ' '`; do
26320 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26321 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26322 done
26323
26324 fi;
26325
26326 echo "$as_me:$LINENO: checking for iconv" >&5
26327 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26328 if test "${am_cv_func_iconv+set}" = set; then
26329 echo $ECHO_N "(cached) $ECHO_C" >&6
26330 else
26331
26332 am_cv_func_iconv="no, consider installing GNU libiconv"
26333 am_cv_lib_iconv=no
26334 cat >conftest.$ac_ext <<_ACEOF
26335 #line $LINENO "configure"
26336 /* confdefs.h. */
26337 _ACEOF
26338 cat confdefs.h >>conftest.$ac_ext
26339 cat >>conftest.$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341 #include <stdlib.h>
26342 #include <iconv.h>
26343 int
26344 main ()
26345 {
26346 iconv_t cd = iconv_open("","");
26347 iconv(cd,NULL,NULL,NULL,NULL);
26348 iconv_close(cd);
26349 ;
26350 return 0;
26351 }
26352 _ACEOF
26353 rm -f conftest.$ac_objext conftest$ac_exeext
26354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26355 (eval $ac_link) 2>&5
26356 ac_status=$?
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } &&
26359 { ac_try='test -s conftest$ac_exeext'
26360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26361 (eval $ac_try) 2>&5
26362 ac_status=$?
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); }; }; then
26365 am_cv_func_iconv=yes
26366 else
26367 echo "$as_me: failed program was:" >&5
26368 sed 's/^/| /' conftest.$ac_ext >&5
26369
26370 fi
26371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26372 if test "$am_cv_func_iconv" != yes; then
26373 am_save_LIBS="$LIBS"
26374 LIBS="$LIBS -liconv"
26375 cat >conftest.$ac_ext <<_ACEOF
26376 #line $LINENO "configure"
26377 /* confdefs.h. */
26378 _ACEOF
26379 cat confdefs.h >>conftest.$ac_ext
26380 cat >>conftest.$ac_ext <<_ACEOF
26381 /* end confdefs.h. */
26382 #include <stdlib.h>
26383 #include <iconv.h>
26384 int
26385 main ()
26386 {
26387 iconv_t cd = iconv_open("","");
26388 iconv(cd,NULL,NULL,NULL,NULL);
26389 iconv_close(cd);
26390 ;
26391 return 0;
26392 }
26393 _ACEOF
26394 rm -f conftest.$ac_objext conftest$ac_exeext
26395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26396 (eval $ac_link) 2>&5
26397 ac_status=$?
26398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399 (exit $ac_status); } &&
26400 { ac_try='test -s conftest$ac_exeext'
26401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26402 (eval $ac_try) 2>&5
26403 ac_status=$?
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); }; }; then
26406 am_cv_lib_iconv=yes
26407 am_cv_func_iconv=yes
26408 else
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26411
26412 fi
26413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26414 LIBS="$am_save_LIBS"
26415 fi
26416
26417 fi
26418 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26419 echo "${ECHO_T}$am_cv_func_iconv" >&6
26420 if test "$am_cv_func_iconv" = yes; then
26421
26422 cat >>confdefs.h <<\_ACEOF
26423 #define HAVE_ICONV 1
26424 _ACEOF
26425
26426 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26427 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26428 if test "${wx_cv_func_iconv_const+set}" = set; then
26429 echo $ECHO_N "(cached) $ECHO_C" >&6
26430 else
26431 cat >conftest.$ac_ext <<_ACEOF
26432 #line $LINENO "configure"
26433 /* confdefs.h. */
26434 _ACEOF
26435 cat confdefs.h >>conftest.$ac_ext
26436 cat >>conftest.$ac_ext <<_ACEOF
26437 /* end confdefs.h. */
26438
26439 #include <stdlib.h>
26440 #include <iconv.h>
26441 extern
26442 #ifdef __cplusplus
26443 "C"
26444 #endif
26445 #if defined(__STDC__) || defined(__cplusplus)
26446 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26447 #else
26448 size_t iconv();
26449 #endif
26450
26451 int
26452 main ()
26453 {
26454
26455 ;
26456 return 0;
26457 }
26458 _ACEOF
26459 rm -f conftest.$ac_objext
26460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26461 (eval $ac_compile) 2>&5
26462 ac_status=$?
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); } &&
26465 { ac_try='test -s conftest.$ac_objext'
26466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467 (eval $ac_try) 2>&5
26468 ac_status=$?
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 wx_cv_func_iconv_const="no"
26472 else
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26475
26476 wx_cv_func_iconv_const="yes"
26477
26478 fi
26479 rm -f conftest.$ac_objext conftest.$ac_ext
26480
26481 fi
26482 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26483 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26484
26485 iconv_const=
26486 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26487 iconv_const="const"
26488 fi
26489
26490
26491 cat >>confdefs.h <<_ACEOF
26492 #define ICONV_CONST $iconv_const
26493 _ACEOF
26494
26495 fi
26496 LIBICONV=
26497 if test "$am_cv_lib_iconv" = yes; then
26498 LIBICONV="-liconv"
26499 fi
26500
26501
26502 LIBS="$LIBICONV $LIBS"
26503 ac_ext=c
26504 ac_cpp='$CPP $CPPFLAGS'
26505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26508
26509
26510 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26511
26512 for ac_func in sigaction
26513 do
26514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26515 echo "$as_me:$LINENO: checking for $ac_func" >&5
26516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26517 if eval "test \"\${$as_ac_var+set}\" = set"; then
26518 echo $ECHO_N "(cached) $ECHO_C" >&6
26519 else
26520 cat >conftest.$ac_ext <<_ACEOF
26521 #line $LINENO "configure"
26522 /* confdefs.h. */
26523 _ACEOF
26524 cat confdefs.h >>conftest.$ac_ext
26525 cat >>conftest.$ac_ext <<_ACEOF
26526 /* end confdefs.h. */
26527 /* System header to define __stub macros and hopefully few prototypes,
26528 which can conflict with char $ac_func (); below.
26529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26530 <limits.h> exists even on freestanding compilers. */
26531 #ifdef __STDC__
26532 # include <limits.h>
26533 #else
26534 # include <assert.h>
26535 #endif
26536 /* Override any gcc2 internal prototype to avoid an error. */
26537 #ifdef __cplusplus
26538 extern "C"
26539 {
26540 #endif
26541 /* We use char because int might match the return type of a gcc2
26542 builtin and then its argument prototype would still apply. */
26543 char $ac_func ();
26544 /* The GNU C library defines this for functions which it implements
26545 to always fail with ENOSYS. Some functions are actually named
26546 something starting with __ and the normal name is an alias. */
26547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26548 choke me
26549 #else
26550 char (*f) () = $ac_func;
26551 #endif
26552 #ifdef __cplusplus
26553 }
26554 #endif
26555
26556 int
26557 main ()
26558 {
26559 return f != $ac_func;
26560 ;
26561 return 0;
26562 }
26563 _ACEOF
26564 rm -f conftest.$ac_objext conftest$ac_exeext
26565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26566 (eval $ac_link) 2>&5
26567 ac_status=$?
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } &&
26570 { ac_try='test -s conftest$ac_exeext'
26571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26572 (eval $ac_try) 2>&5
26573 ac_status=$?
26574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26575 (exit $ac_status); }; }; then
26576 eval "$as_ac_var=yes"
26577 else
26578 echo "$as_me: failed program was:" >&5
26579 sed 's/^/| /' conftest.$ac_ext >&5
26580
26581 eval "$as_ac_var=no"
26582 fi
26583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26584 fi
26585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26587 if test `eval echo '${'$as_ac_var'}'` = yes; then
26588 cat >>confdefs.h <<_ACEOF
26589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26590 _ACEOF
26591
26592 fi
26593 done
26594
26595
26596 if test "$ac_cv_func_sigaction" = "no"; then
26597 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26598 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26599 wxUSE_ON_FATAL_EXCEPTION=no
26600 fi
26601
26602 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26603
26604
26605 ac_ext=cc
26606 ac_cpp='$CXXCPP $CPPFLAGS'
26607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26610
26611
26612 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26613 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26614 if test "${wx_cv_type_sa_handler+set}" = set; then
26615 echo $ECHO_N "(cached) $ECHO_C" >&6
26616 else
26617
26618 cat >conftest.$ac_ext <<_ACEOF
26619 #line $LINENO "configure"
26620 /* confdefs.h. */
26621 _ACEOF
26622 cat confdefs.h >>conftest.$ac_ext
26623 cat >>conftest.$ac_ext <<_ACEOF
26624 /* end confdefs.h. */
26625 #include <signal.h>
26626 int
26627 main ()
26628 {
26629
26630 extern void testSigHandler(int);
26631
26632 struct sigaction sa;
26633 sa.sa_handler = testSigHandler;
26634
26635 ;
26636 return 0;
26637 }
26638 _ACEOF
26639 rm -f conftest.$ac_objext
26640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26641 (eval $ac_compile) 2>&5
26642 ac_status=$?
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } &&
26645 { ac_try='test -s conftest.$ac_objext'
26646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647 (eval $ac_try) 2>&5
26648 ac_status=$?
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); }; }; then
26651
26652 wx_cv_type_sa_handler=int
26653
26654 else
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.$ac_ext >&5
26657
26658
26659 wx_cv_type_sa_handler=void
26660
26661 fi
26662 rm -f conftest.$ac_objext conftest.$ac_ext
26663
26664 fi
26665 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26666 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26667
26668 ac_ext=c
26669 ac_cpp='$CPP $CPPFLAGS'
26670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26673
26674
26675 cat >>confdefs.h <<_ACEOF
26676 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26677 _ACEOF
26678
26679 fi
26680 fi
26681
26682
26683
26684 for ac_func in mkstemp mktemp
26685 do
26686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26687 echo "$as_me:$LINENO: checking for $ac_func" >&5
26688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26689 if eval "test \"\${$as_ac_var+set}\" = set"; then
26690 echo $ECHO_N "(cached) $ECHO_C" >&6
26691 else
26692 cat >conftest.$ac_ext <<_ACEOF
26693 #line $LINENO "configure"
26694 /* confdefs.h. */
26695 _ACEOF
26696 cat confdefs.h >>conftest.$ac_ext
26697 cat >>conftest.$ac_ext <<_ACEOF
26698 /* end confdefs.h. */
26699 /* System header to define __stub macros and hopefully few prototypes,
26700 which can conflict with char $ac_func (); below.
26701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26702 <limits.h> exists even on freestanding compilers. */
26703 #ifdef __STDC__
26704 # include <limits.h>
26705 #else
26706 # include <assert.h>
26707 #endif
26708 /* Override any gcc2 internal prototype to avoid an error. */
26709 #ifdef __cplusplus
26710 extern "C"
26711 {
26712 #endif
26713 /* We use char because int might match the return type of a gcc2
26714 builtin and then its argument prototype would still apply. */
26715 char $ac_func ();
26716 /* The GNU C library defines this for functions which it implements
26717 to always fail with ENOSYS. Some functions are actually named
26718 something starting with __ and the normal name is an alias. */
26719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26720 choke me
26721 #else
26722 char (*f) () = $ac_func;
26723 #endif
26724 #ifdef __cplusplus
26725 }
26726 #endif
26727
26728 int
26729 main ()
26730 {
26731 return f != $ac_func;
26732 ;
26733 return 0;
26734 }
26735 _ACEOF
26736 rm -f conftest.$ac_objext conftest$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738 (eval $ac_link) 2>&5
26739 ac_status=$?
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } &&
26742 { ac_try='test -s conftest$ac_exeext'
26743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26744 (eval $ac_try) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); }; }; then
26748 eval "$as_ac_var=yes"
26749 else
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26752
26753 eval "$as_ac_var=no"
26754 fi
26755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26756 fi
26757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26759 if test `eval echo '${'$as_ac_var'}'` = yes; then
26760 cat >>confdefs.h <<_ACEOF
26761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26762 _ACEOF
26763 break
26764 fi
26765 done
26766
26767
26768 echo "$as_me:$LINENO: checking for statfs" >&5
26769 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26770 if test "${wx_cv_func_statfs+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26772 else
26773 cat >conftest.$ac_ext <<_ACEOF
26774 #line $LINENO "configure"
26775 /* confdefs.h. */
26776 _ACEOF
26777 cat confdefs.h >>conftest.$ac_ext
26778 cat >>conftest.$ac_ext <<_ACEOF
26779 /* end confdefs.h. */
26780
26781 #if defined(__BSD__)
26782 #include <sys/param.h>
26783 #include <sys/mount.h>
26784 #else
26785 #include <sys/vfs.h>
26786 #endif
26787
26788 int
26789 main ()
26790 {
26791
26792 long l;
26793 struct statfs fs;
26794 statfs("/", &fs);
26795 l = fs.f_bsize;
26796 l += fs.f_blocks;
26797 l += fs.f_bavail;
26798
26799 ;
26800 return 0;
26801 }
26802 _ACEOF
26803 rm -f conftest.$ac_objext
26804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26805 (eval $ac_compile) 2>&5
26806 ac_status=$?
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try='test -s conftest.$ac_objext'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26812 ac_status=$?
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; }; then
26815
26816 wx_cv_func_statfs=yes
26817
26818 else
26819 echo "$as_me: failed program was:" >&5
26820 sed 's/^/| /' conftest.$ac_ext >&5
26821
26822
26823 wx_cv_func_statfs=no
26824
26825
26826 fi
26827 rm -f conftest.$ac_objext conftest.$ac_ext
26828
26829 fi
26830 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26831 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26832
26833 if test "$wx_cv_func_statfs" = "yes"; then
26834 wx_cv_type_statvfs_t="struct statfs"
26835 cat >>confdefs.h <<\_ACEOF
26836 #define HAVE_STATFS 1
26837 _ACEOF
26838
26839 else
26840 echo "$as_me:$LINENO: checking for statvfs" >&5
26841 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26842 if test "${wx_cv_func_statvfs+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26844 else
26845 cat >conftest.$ac_ext <<_ACEOF
26846 #line $LINENO "configure"
26847 /* confdefs.h. */
26848 _ACEOF
26849 cat confdefs.h >>conftest.$ac_ext
26850 cat >>conftest.$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26852
26853 #include <stddef.h>
26854 #include <sys/statvfs.h>
26855
26856 int
26857 main ()
26858 {
26859
26860 statvfs("/", NULL);
26861
26862 ;
26863 return 0;
26864 }
26865 _ACEOF
26866 rm -f conftest.$ac_objext
26867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26868 (eval $ac_compile) 2>&5
26869 ac_status=$?
26870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26871 (exit $ac_status); } &&
26872 { ac_try='test -s conftest.$ac_objext'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26875 ac_status=$?
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; }; then
26878 wx_cv_func_statvfs=yes
26879 else
26880 echo "$as_me: failed program was:" >&5
26881 sed 's/^/| /' conftest.$ac_ext >&5
26882
26883 wx_cv_func_statvfs=no
26884
26885 fi
26886 rm -f conftest.$ac_objext conftest.$ac_ext
26887
26888 fi
26889 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26890 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26891
26892 if test "$wx_cv_func_statvfs" = "yes"; then
26893
26894
26895 ac_ext=cc
26896 ac_cpp='$CXXCPP $CPPFLAGS'
26897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26900
26901
26902 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26903 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26904 if test "${wx_cv_type_statvfs_t+set}" = set; then
26905 echo $ECHO_N "(cached) $ECHO_C" >&6
26906 else
26907 cat >conftest.$ac_ext <<_ACEOF
26908 #line $LINENO "configure"
26909 /* confdefs.h. */
26910 _ACEOF
26911 cat confdefs.h >>conftest.$ac_ext
26912 cat >>conftest.$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26914
26915 #include <sys/statvfs.h>
26916
26917 int
26918 main ()
26919 {
26920
26921 long l;
26922 statvfs_t fs;
26923 statvfs("/", &fs);
26924 l = fs.f_bsize;
26925 l += fs.f_blocks;
26926 l += fs.f_bavail;
26927
26928 ;
26929 return 0;
26930 }
26931 _ACEOF
26932 rm -f conftest.$ac_objext
26933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26934 (eval $ac_compile) 2>&5
26935 ac_status=$?
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); } &&
26938 { ac_try='test -s conftest.$ac_objext'
26939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26940 (eval $ac_try) 2>&5
26941 ac_status=$?
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); }; }; then
26944 wx_cv_type_statvfs_t=statvfs_t
26945 else
26946 echo "$as_me: failed program was:" >&5
26947 sed 's/^/| /' conftest.$ac_ext >&5
26948
26949
26950 cat >conftest.$ac_ext <<_ACEOF
26951 #line $LINENO "configure"
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957
26958 #include <sys/statvfs.h>
26959
26960 int
26961 main ()
26962 {
26963
26964 long l;
26965 struct statvfs fs;
26966 statvfs("/", &fs);
26967 l = fs.f_bsize;
26968 l += fs.f_blocks;
26969 l += fs.f_bavail;
26970
26971 ;
26972 return 0;
26973 }
26974 _ACEOF
26975 rm -f conftest.$ac_objext
26976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26977 (eval $ac_compile) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); } &&
26981 { ac_try='test -s conftest.$ac_objext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 wx_cv_type_statvfs_t="struct statvfs"
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26991
26992 wx_cv_type_statvfs_t="unknown"
26993
26994 fi
26995 rm -f conftest.$ac_objext conftest.$ac_ext
26996
26997
26998 fi
26999 rm -f conftest.$ac_objext conftest.$ac_ext
27000
27001 fi
27002 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27003 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27004
27005 ac_ext=c
27006 ac_cpp='$CPP $CPPFLAGS'
27007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27010
27011
27012 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27013 cat >>confdefs.h <<\_ACEOF
27014 #define HAVE_STATVFS 1
27015 _ACEOF
27016
27017 fi
27018 else
27019 wx_cv_type_statvfs_t="unknown"
27020 fi
27021 fi
27022
27023 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27024 cat >>confdefs.h <<_ACEOF
27025 #define WX_STATFS_T $wx_cv_type_statvfs_t
27026 _ACEOF
27027
27028 else
27029 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27030 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27031 fi
27032
27033 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27034
27035
27036 for ac_func in fcntl flock
27037 do
27038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27039 echo "$as_me:$LINENO: checking for $ac_func" >&5
27040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27041 if eval "test \"\${$as_ac_var+set}\" = set"; then
27042 echo $ECHO_N "(cached) $ECHO_C" >&6
27043 else
27044 cat >conftest.$ac_ext <<_ACEOF
27045 #line $LINENO "configure"
27046 /* confdefs.h. */
27047 _ACEOF
27048 cat confdefs.h >>conftest.$ac_ext
27049 cat >>conftest.$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27051 /* System header to define __stub macros and hopefully few prototypes,
27052 which can conflict with char $ac_func (); below.
27053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27054 <limits.h> exists even on freestanding compilers. */
27055 #ifdef __STDC__
27056 # include <limits.h>
27057 #else
27058 # include <assert.h>
27059 #endif
27060 /* Override any gcc2 internal prototype to avoid an error. */
27061 #ifdef __cplusplus
27062 extern "C"
27063 {
27064 #endif
27065 /* We use char because int might match the return type of a gcc2
27066 builtin and then its argument prototype would still apply. */
27067 char $ac_func ();
27068 /* The GNU C library defines this for functions which it implements
27069 to always fail with ENOSYS. Some functions are actually named
27070 something starting with __ and the normal name is an alias. */
27071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27072 choke me
27073 #else
27074 char (*f) () = $ac_func;
27075 #endif
27076 #ifdef __cplusplus
27077 }
27078 #endif
27079
27080 int
27081 main ()
27082 {
27083 return f != $ac_func;
27084 ;
27085 return 0;
27086 }
27087 _ACEOF
27088 rm -f conftest.$ac_objext conftest$ac_exeext
27089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27090 (eval $ac_link) 2>&5
27091 ac_status=$?
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); } &&
27094 { ac_try='test -s conftest$ac_exeext'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27097 ac_status=$?
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; }; then
27100 eval "$as_ac_var=yes"
27101 else
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.$ac_ext >&5
27104
27105 eval "$as_ac_var=no"
27106 fi
27107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27108 fi
27109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27111 if test `eval echo '${'$as_ac_var'}'` = yes; then
27112 cat >>confdefs.h <<_ACEOF
27113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27114 _ACEOF
27115 break
27116 fi
27117 done
27118
27119
27120 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27121 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27122 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27123 wxUSE_SNGLINST_CHECKER=no
27124 fi
27125 fi
27126
27127
27128 for ac_func in timegm
27129 do
27130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27131 echo "$as_me:$LINENO: checking for $ac_func" >&5
27132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27133 if eval "test \"\${$as_ac_var+set}\" = set"; then
27134 echo $ECHO_N "(cached) $ECHO_C" >&6
27135 else
27136 cat >conftest.$ac_ext <<_ACEOF
27137 #line $LINENO "configure"
27138 /* confdefs.h. */
27139 _ACEOF
27140 cat confdefs.h >>conftest.$ac_ext
27141 cat >>conftest.$ac_ext <<_ACEOF
27142 /* end confdefs.h. */
27143 /* System header to define __stub macros and hopefully few prototypes,
27144 which can conflict with char $ac_func (); below.
27145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27146 <limits.h> exists even on freestanding compilers. */
27147 #ifdef __STDC__
27148 # include <limits.h>
27149 #else
27150 # include <assert.h>
27151 #endif
27152 /* Override any gcc2 internal prototype to avoid an error. */
27153 #ifdef __cplusplus
27154 extern "C"
27155 {
27156 #endif
27157 /* We use char because int might match the return type of a gcc2
27158 builtin and then its argument prototype would still apply. */
27159 char $ac_func ();
27160 /* The GNU C library defines this for functions which it implements
27161 to always fail with ENOSYS. Some functions are actually named
27162 something starting with __ and the normal name is an alias. */
27163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27164 choke me
27165 #else
27166 char (*f) () = $ac_func;
27167 #endif
27168 #ifdef __cplusplus
27169 }
27170 #endif
27171
27172 int
27173 main ()
27174 {
27175 return f != $ac_func;
27176 ;
27177 return 0;
27178 }
27179 _ACEOF
27180 rm -f conftest.$ac_objext conftest$ac_exeext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27182 (eval $ac_link) 2>&5
27183 ac_status=$?
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } &&
27186 { ac_try='test -s conftest$ac_exeext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27189 ac_status=$?
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27192 eval "$as_ac_var=yes"
27193 else
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.$ac_ext >&5
27196
27197 eval "$as_ac_var=no"
27198 fi
27199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27200 fi
27201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27203 if test `eval echo '${'$as_ac_var'}'` = yes; then
27204 cat >>confdefs.h <<_ACEOF
27205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27206 _ACEOF
27207
27208 fi
27209 done
27210
27211
27212
27213
27214 for ac_func in putenv setenv
27215 do
27216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27217 echo "$as_me:$LINENO: checking for $ac_func" >&5
27218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27219 if eval "test \"\${$as_ac_var+set}\" = set"; then
27220 echo $ECHO_N "(cached) $ECHO_C" >&6
27221 else
27222 cat >conftest.$ac_ext <<_ACEOF
27223 #line $LINENO "configure"
27224 /* confdefs.h. */
27225 _ACEOF
27226 cat confdefs.h >>conftest.$ac_ext
27227 cat >>conftest.$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27229 /* System header to define __stub macros and hopefully few prototypes,
27230 which can conflict with char $ac_func (); below.
27231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27232 <limits.h> exists even on freestanding compilers. */
27233 #ifdef __STDC__
27234 # include <limits.h>
27235 #else
27236 # include <assert.h>
27237 #endif
27238 /* Override any gcc2 internal prototype to avoid an error. */
27239 #ifdef __cplusplus
27240 extern "C"
27241 {
27242 #endif
27243 /* We use char because int might match the return type of a gcc2
27244 builtin and then its argument prototype would still apply. */
27245 char $ac_func ();
27246 /* The GNU C library defines this for functions which it implements
27247 to always fail with ENOSYS. Some functions are actually named
27248 something starting with __ and the normal name is an alias. */
27249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27250 choke me
27251 #else
27252 char (*f) () = $ac_func;
27253 #endif
27254 #ifdef __cplusplus
27255 }
27256 #endif
27257
27258 int
27259 main ()
27260 {
27261 return f != $ac_func;
27262 ;
27263 return 0;
27264 }
27265 _ACEOF
27266 rm -f conftest.$ac_objext conftest$ac_exeext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27268 (eval $ac_link) 2>&5
27269 ac_status=$?
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } &&
27272 { ac_try='test -s conftest$ac_exeext'
27273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27274 (eval $ac_try) 2>&5
27275 ac_status=$?
27276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 (exit $ac_status); }; }; then
27278 eval "$as_ac_var=yes"
27279 else
27280 echo "$as_me: failed program was:" >&5
27281 sed 's/^/| /' conftest.$ac_ext >&5
27282
27283 eval "$as_ac_var=no"
27284 fi
27285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27286 fi
27287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27289 if test `eval echo '${'$as_ac_var'}'` = yes; then
27290 cat >>confdefs.h <<_ACEOF
27291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27292 _ACEOF
27293 break
27294 fi
27295 done
27296
27297
27298 HAVE_SOME_SLEEP_FUNC=0
27299 if test "$USE_BEOS" = 1; then
27300 cat >>confdefs.h <<\_ACEOF
27301 #define HAVE_SLEEP 1
27302 _ACEOF
27303
27304 HAVE_SOME_SLEEP_FUNC=1
27305 fi
27306
27307 if test "$USE_DARWIN" = 1; then
27308 cat >>confdefs.h <<\_ACEOF
27309 #define HAVE_USLEEP 1
27310 _ACEOF
27311
27312 HAVE_SOME_SLEEP_FUNC=1
27313 fi
27314
27315 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27316 POSIX4_LINK=
27317
27318 for ac_func in nanosleep
27319 do
27320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27321 echo "$as_me:$LINENO: checking for $ac_func" >&5
27322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27323 if eval "test \"\${$as_ac_var+set}\" = set"; then
27324 echo $ECHO_N "(cached) $ECHO_C" >&6
27325 else
27326 cat >conftest.$ac_ext <<_ACEOF
27327 #line $LINENO "configure"
27328 /* confdefs.h. */
27329 _ACEOF
27330 cat confdefs.h >>conftest.$ac_ext
27331 cat >>conftest.$ac_ext <<_ACEOF
27332 /* end confdefs.h. */
27333 /* System header to define __stub macros and hopefully few prototypes,
27334 which can conflict with char $ac_func (); below.
27335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27336 <limits.h> exists even on freestanding compilers. */
27337 #ifdef __STDC__
27338 # include <limits.h>
27339 #else
27340 # include <assert.h>
27341 #endif
27342 /* Override any gcc2 internal prototype to avoid an error. */
27343 #ifdef __cplusplus
27344 extern "C"
27345 {
27346 #endif
27347 /* We use char because int might match the return type of a gcc2
27348 builtin and then its argument prototype would still apply. */
27349 char $ac_func ();
27350 /* The GNU C library defines this for functions which it implements
27351 to always fail with ENOSYS. Some functions are actually named
27352 something starting with __ and the normal name is an alias. */
27353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27354 choke me
27355 #else
27356 char (*f) () = $ac_func;
27357 #endif
27358 #ifdef __cplusplus
27359 }
27360 #endif
27361
27362 int
27363 main ()
27364 {
27365 return f != $ac_func;
27366 ;
27367 return 0;
27368 }
27369 _ACEOF
27370 rm -f conftest.$ac_objext conftest$ac_exeext
27371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27372 (eval $ac_link) 2>&5
27373 ac_status=$?
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } &&
27376 { ac_try='test -s conftest$ac_exeext'
27377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27378 (eval $ac_try) 2>&5
27379 ac_status=$?
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); }; }; then
27382 eval "$as_ac_var=yes"
27383 else
27384 echo "$as_me: failed program was:" >&5
27385 sed 's/^/| /' conftest.$ac_ext >&5
27386
27387 eval "$as_ac_var=no"
27388 fi
27389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27390 fi
27391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27393 if test `eval echo '${'$as_ac_var'}'` = yes; then
27394 cat >>confdefs.h <<_ACEOF
27395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27396 _ACEOF
27397 cat >>confdefs.h <<\_ACEOF
27398 #define HAVE_NANOSLEEP 1
27399 _ACEOF
27400
27401 else
27402
27403 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27404 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27405 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 else
27408 ac_check_lib_save_LIBS=$LIBS
27409 LIBS="-lposix4 $LIBS"
27410 cat >conftest.$ac_ext <<_ACEOF
27411 #line $LINENO "configure"
27412 /* confdefs.h. */
27413 _ACEOF
27414 cat confdefs.h >>conftest.$ac_ext
27415 cat >>conftest.$ac_ext <<_ACEOF
27416 /* end confdefs.h. */
27417
27418 /* Override any gcc2 internal prototype to avoid an error. */
27419 #ifdef __cplusplus
27420 extern "C"
27421 #endif
27422 /* We use char because int might match the return type of a gcc2
27423 builtin and then its argument prototype would still apply. */
27424 char nanosleep ();
27425 int
27426 main ()
27427 {
27428 nanosleep ();
27429 ;
27430 return 0;
27431 }
27432 _ACEOF
27433 rm -f conftest.$ac_objext conftest$ac_exeext
27434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27435 (eval $ac_link) 2>&5
27436 ac_status=$?
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try='test -s conftest$ac_exeext'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27442 ac_status=$?
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; }; then
27445 ac_cv_lib_posix4_nanosleep=yes
27446 else
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27449
27450 ac_cv_lib_posix4_nanosleep=no
27451 fi
27452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27453 LIBS=$ac_check_lib_save_LIBS
27454 fi
27455 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27456 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27457 if test $ac_cv_lib_posix4_nanosleep = yes; then
27458
27459 cat >>confdefs.h <<\_ACEOF
27460 #define HAVE_NANOSLEEP 1
27461 _ACEOF
27462
27463 POSIX4_LINK=" -lposix4"
27464
27465 else
27466
27467
27468 for ac_func in usleep
27469 do
27470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27471 echo "$as_me:$LINENO: checking for $ac_func" >&5
27472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27473 if eval "test \"\${$as_ac_var+set}\" = set"; then
27474 echo $ECHO_N "(cached) $ECHO_C" >&6
27475 else
27476 cat >conftest.$ac_ext <<_ACEOF
27477 #line $LINENO "configure"
27478 /* confdefs.h. */
27479 _ACEOF
27480 cat confdefs.h >>conftest.$ac_ext
27481 cat >>conftest.$ac_ext <<_ACEOF
27482 /* end confdefs.h. */
27483 /* System header to define __stub macros and hopefully few prototypes,
27484 which can conflict with char $ac_func (); below.
27485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27486 <limits.h> exists even on freestanding compilers. */
27487 #ifdef __STDC__
27488 # include <limits.h>
27489 #else
27490 # include <assert.h>
27491 #endif
27492 /* Override any gcc2 internal prototype to avoid an error. */
27493 #ifdef __cplusplus
27494 extern "C"
27495 {
27496 #endif
27497 /* We use char because int might match the return type of a gcc2
27498 builtin and then its argument prototype would still apply. */
27499 char $ac_func ();
27500 /* The GNU C library defines this for functions which it implements
27501 to always fail with ENOSYS. Some functions are actually named
27502 something starting with __ and the normal name is an alias. */
27503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27504 choke me
27505 #else
27506 char (*f) () = $ac_func;
27507 #endif
27508 #ifdef __cplusplus
27509 }
27510 #endif
27511
27512 int
27513 main ()
27514 {
27515 return f != $ac_func;
27516 ;
27517 return 0;
27518 }
27519 _ACEOF
27520 rm -f conftest.$ac_objext conftest$ac_exeext
27521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27522 (eval $ac_link) 2>&5
27523 ac_status=$?
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); } &&
27526 { ac_try='test -s conftest$ac_exeext'
27527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27528 (eval $ac_try) 2>&5
27529 ac_status=$?
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); }; }; then
27532 eval "$as_ac_var=yes"
27533 else
27534 echo "$as_me: failed program was:" >&5
27535 sed 's/^/| /' conftest.$ac_ext >&5
27536
27537 eval "$as_ac_var=no"
27538 fi
27539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27540 fi
27541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27543 if test `eval echo '${'$as_ac_var'}'` = yes; then
27544 cat >>confdefs.h <<_ACEOF
27545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27546 _ACEOF
27547 cat >>confdefs.h <<\_ACEOF
27548 #define HAVE_USLEEP 1
27549 _ACEOF
27550
27551 else
27552 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27553 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27554
27555 fi
27556 done
27557
27558
27559
27560 fi
27561
27562
27563
27564 fi
27565 done
27566
27567 fi
27568
27569
27570
27571 for ac_func in uname gethostname
27572 do
27573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27574 echo "$as_me:$LINENO: checking for $ac_func" >&5
27575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27576 if eval "test \"\${$as_ac_var+set}\" = set"; then
27577 echo $ECHO_N "(cached) $ECHO_C" >&6
27578 else
27579 cat >conftest.$ac_ext <<_ACEOF
27580 #line $LINENO "configure"
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 /* System header to define __stub macros and hopefully few prototypes,
27587 which can conflict with char $ac_func (); below.
27588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27589 <limits.h> exists even on freestanding compilers. */
27590 #ifdef __STDC__
27591 # include <limits.h>
27592 #else
27593 # include <assert.h>
27594 #endif
27595 /* Override any gcc2 internal prototype to avoid an error. */
27596 #ifdef __cplusplus
27597 extern "C"
27598 {
27599 #endif
27600 /* We use char because int might match the return type of a gcc2
27601 builtin and then its argument prototype would still apply. */
27602 char $ac_func ();
27603 /* The GNU C library defines this for functions which it implements
27604 to always fail with ENOSYS. Some functions are actually named
27605 something starting with __ and the normal name is an alias. */
27606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27607 choke me
27608 #else
27609 char (*f) () = $ac_func;
27610 #endif
27611 #ifdef __cplusplus
27612 }
27613 #endif
27614
27615 int
27616 main ()
27617 {
27618 return f != $ac_func;
27619 ;
27620 return 0;
27621 }
27622 _ACEOF
27623 rm -f conftest.$ac_objext conftest$ac_exeext
27624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27625 (eval $ac_link) 2>&5
27626 ac_status=$?
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); } &&
27629 { ac_try='test -s conftest$ac_exeext'
27630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631 (eval $ac_try) 2>&5
27632 ac_status=$?
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); }; }; then
27635 eval "$as_ac_var=yes"
27636 else
27637 echo "$as_me: failed program was:" >&5
27638 sed 's/^/| /' conftest.$ac_ext >&5
27639
27640 eval "$as_ac_var=no"
27641 fi
27642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27643 fi
27644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27646 if test `eval echo '${'$as_ac_var'}'` = yes; then
27647 cat >>confdefs.h <<_ACEOF
27648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27649 _ACEOF
27650 break
27651 fi
27652 done
27653
27654
27655
27656
27657 ac_ext=cc
27658 ac_cpp='$CXXCPP $CPPFLAGS'
27659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27662
27663
27664
27665 for ac_func in strtok_r
27666 do
27667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27668 echo "$as_me:$LINENO: checking for $ac_func" >&5
27669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27670 if eval "test \"\${$as_ac_var+set}\" = set"; then
27671 echo $ECHO_N "(cached) $ECHO_C" >&6
27672 else
27673 cat >conftest.$ac_ext <<_ACEOF
27674 #line $LINENO "configure"
27675 /* confdefs.h. */
27676 _ACEOF
27677 cat confdefs.h >>conftest.$ac_ext
27678 cat >>conftest.$ac_ext <<_ACEOF
27679 /* end confdefs.h. */
27680 /* System header to define __stub macros and hopefully few prototypes,
27681 which can conflict with char $ac_func (); below.
27682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27683 <limits.h> exists even on freestanding compilers. */
27684 #ifdef __STDC__
27685 # include <limits.h>
27686 #else
27687 # include <assert.h>
27688 #endif
27689 /* Override any gcc2 internal prototype to avoid an error. */
27690 #ifdef __cplusplus
27691 extern "C"
27692 {
27693 #endif
27694 /* We use char because int might match the return type of a gcc2
27695 builtin and then its argument prototype would still apply. */
27696 char $ac_func ();
27697 /* The GNU C library defines this for functions which it implements
27698 to always fail with ENOSYS. Some functions are actually named
27699 something starting with __ and the normal name is an alias. */
27700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27701 choke me
27702 #else
27703 char (*f) () = $ac_func;
27704 #endif
27705 #ifdef __cplusplus
27706 }
27707 #endif
27708
27709 int
27710 main ()
27711 {
27712 return f != $ac_func;
27713 ;
27714 return 0;
27715 }
27716 _ACEOF
27717 rm -f conftest.$ac_objext conftest$ac_exeext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27719 (eval $ac_link) 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); } &&
27723 { ac_try='test -s conftest$ac_exeext'
27724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27725 (eval $ac_try) 2>&5
27726 ac_status=$?
27727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728 (exit $ac_status); }; }; then
27729 eval "$as_ac_var=yes"
27730 else
27731 echo "$as_me: failed program was:" >&5
27732 sed 's/^/| /' conftest.$ac_ext >&5
27733
27734 eval "$as_ac_var=no"
27735 fi
27736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27737 fi
27738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27740 if test `eval echo '${'$as_ac_var'}'` = yes; then
27741 cat >>confdefs.h <<_ACEOF
27742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27743 _ACEOF
27744
27745 fi
27746 done
27747
27748
27749 ac_ext=c
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27754
27755
27756 INET_LINK=
27757
27758 for ac_func in inet_addr
27759 do
27760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27761 echo "$as_me:$LINENO: checking for $ac_func" >&5
27762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27763 if eval "test \"\${$as_ac_var+set}\" = set"; then
27764 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 else
27766 cat >conftest.$ac_ext <<_ACEOF
27767 #line $LINENO "configure"
27768 /* confdefs.h. */
27769 _ACEOF
27770 cat confdefs.h >>conftest.$ac_ext
27771 cat >>conftest.$ac_ext <<_ACEOF
27772 /* end confdefs.h. */
27773 /* System header to define __stub macros and hopefully few prototypes,
27774 which can conflict with char $ac_func (); below.
27775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27776 <limits.h> exists even on freestanding compilers. */
27777 #ifdef __STDC__
27778 # include <limits.h>
27779 #else
27780 # include <assert.h>
27781 #endif
27782 /* Override any gcc2 internal prototype to avoid an error. */
27783 #ifdef __cplusplus
27784 extern "C"
27785 {
27786 #endif
27787 /* We use char because int might match the return type of a gcc2
27788 builtin and then its argument prototype would still apply. */
27789 char $ac_func ();
27790 /* The GNU C library defines this for functions which it implements
27791 to always fail with ENOSYS. Some functions are actually named
27792 something starting with __ and the normal name is an alias. */
27793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27794 choke me
27795 #else
27796 char (*f) () = $ac_func;
27797 #endif
27798 #ifdef __cplusplus
27799 }
27800 #endif
27801
27802 int
27803 main ()
27804 {
27805 return f != $ac_func;
27806 ;
27807 return 0;
27808 }
27809 _ACEOF
27810 rm -f conftest.$ac_objext conftest$ac_exeext
27811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27812 (eval $ac_link) 2>&5
27813 ac_status=$?
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); } &&
27816 { ac_try='test -s conftest$ac_exeext'
27817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27818 (eval $ac_try) 2>&5
27819 ac_status=$?
27820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27821 (exit $ac_status); }; }; then
27822 eval "$as_ac_var=yes"
27823 else
27824 echo "$as_me: failed program was:" >&5
27825 sed 's/^/| /' conftest.$ac_ext >&5
27826
27827 eval "$as_ac_var=no"
27828 fi
27829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27830 fi
27831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27833 if test `eval echo '${'$as_ac_var'}'` = yes; then
27834 cat >>confdefs.h <<_ACEOF
27835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27836 _ACEOF
27837 cat >>confdefs.h <<\_ACEOF
27838 #define HAVE_INET_ADDR 1
27839 _ACEOF
27840
27841 else
27842
27843 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27844 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27845 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27846 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 else
27848 ac_check_lib_save_LIBS=$LIBS
27849 LIBS="-lnsl $LIBS"
27850 cat >conftest.$ac_ext <<_ACEOF
27851 #line $LINENO "configure"
27852 /* confdefs.h. */
27853 _ACEOF
27854 cat confdefs.h >>conftest.$ac_ext
27855 cat >>conftest.$ac_ext <<_ACEOF
27856 /* end confdefs.h. */
27857
27858 /* Override any gcc2 internal prototype to avoid an error. */
27859 #ifdef __cplusplus
27860 extern "C"
27861 #endif
27862 /* We use char because int might match the return type of a gcc2
27863 builtin and then its argument prototype would still apply. */
27864 char inet_addr ();
27865 int
27866 main ()
27867 {
27868 inet_addr ();
27869 ;
27870 return 0;
27871 }
27872 _ACEOF
27873 rm -f conftest.$ac_objext conftest$ac_exeext
27874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27875 (eval $ac_link) 2>&5
27876 ac_status=$?
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); } &&
27879 { ac_try='test -s conftest$ac_exeext'
27880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27881 (eval $ac_try) 2>&5
27882 ac_status=$?
27883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27884 (exit $ac_status); }; }; then
27885 ac_cv_lib_nsl_inet_addr=yes
27886 else
27887 echo "$as_me: failed program was:" >&5
27888 sed 's/^/| /' conftest.$ac_ext >&5
27889
27890 ac_cv_lib_nsl_inet_addr=no
27891 fi
27892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27893 LIBS=$ac_check_lib_save_LIBS
27894 fi
27895 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27896 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27897 if test $ac_cv_lib_nsl_inet_addr = yes; then
27898 INET_LINK="nsl"
27899 else
27900 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27901 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27902 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27903 echo $ECHO_N "(cached) $ECHO_C" >&6
27904 else
27905 ac_check_lib_save_LIBS=$LIBS
27906 LIBS="-lresolv $LIBS"
27907 cat >conftest.$ac_ext <<_ACEOF
27908 #line $LINENO "configure"
27909 /* confdefs.h. */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914
27915 /* Override any gcc2 internal prototype to avoid an error. */
27916 #ifdef __cplusplus
27917 extern "C"
27918 #endif
27919 /* We use char because int might match the return type of a gcc2
27920 builtin and then its argument prototype would still apply. */
27921 char inet_addr ();
27922 int
27923 main ()
27924 {
27925 inet_addr ();
27926 ;
27927 return 0;
27928 }
27929 _ACEOF
27930 rm -f conftest.$ac_objext conftest$ac_exeext
27931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27932 (eval $ac_link) 2>&5
27933 ac_status=$?
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } &&
27936 { ac_try='test -s conftest$ac_exeext'
27937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938 (eval $ac_try) 2>&5
27939 ac_status=$?
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); }; }; then
27942 ac_cv_lib_resolv_inet_addr=yes
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947 ac_cv_lib_resolv_inet_addr=no
27948 fi
27949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27950 LIBS=$ac_check_lib_save_LIBS
27951 fi
27952 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
27953 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
27954 if test $ac_cv_lib_resolv_inet_addr = yes; then
27955 INET_LINK="resolv"
27956 else
27957 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
27958 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
27959 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27961 else
27962 ac_check_lib_save_LIBS=$LIBS
27963 LIBS="-lsocket $LIBS"
27964 cat >conftest.$ac_ext <<_ACEOF
27965 #line $LINENO "configure"
27966 /* confdefs.h. */
27967 _ACEOF
27968 cat confdefs.h >>conftest.$ac_ext
27969 cat >>conftest.$ac_ext <<_ACEOF
27970 /* end confdefs.h. */
27971
27972 /* Override any gcc2 internal prototype to avoid an error. */
27973 #ifdef __cplusplus
27974 extern "C"
27975 #endif
27976 /* We use char because int might match the return type of a gcc2
27977 builtin and then its argument prototype would still apply. */
27978 char inet_addr ();
27979 int
27980 main ()
27981 {
27982 inet_addr ();
27983 ;
27984 return 0;
27985 }
27986 _ACEOF
27987 rm -f conftest.$ac_objext conftest$ac_exeext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27989 (eval $ac_link) 2>&5
27990 ac_status=$?
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } &&
27993 { ac_try='test -s conftest$ac_exeext'
27994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27995 (eval $ac_try) 2>&5
27996 ac_status=$?
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); }; }; then
27999 ac_cv_lib_socket_inet_addr=yes
28000 else
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28003
28004 ac_cv_lib_socket_inet_addr=no
28005 fi
28006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28007 LIBS=$ac_check_lib_save_LIBS
28008 fi
28009 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28010 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28011 if test $ac_cv_lib_socket_inet_addr = yes; then
28012 INET_LINK="socket"
28013
28014 fi
28015
28016
28017 fi
28018
28019
28020 fi
28021
28022
28023
28024 fi
28025 done
28026
28027
28028
28029 for ac_func in inet_aton
28030 do
28031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28032 echo "$as_me:$LINENO: checking for $ac_func" >&5
28033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28034 if eval "test \"\${$as_ac_var+set}\" = set"; then
28035 echo $ECHO_N "(cached) $ECHO_C" >&6
28036 else
28037 cat >conftest.$ac_ext <<_ACEOF
28038 #line $LINENO "configure"
28039 /* confdefs.h. */
28040 _ACEOF
28041 cat confdefs.h >>conftest.$ac_ext
28042 cat >>conftest.$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28044 /* System header to define __stub macros and hopefully few prototypes,
28045 which can conflict with char $ac_func (); below.
28046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28047 <limits.h> exists even on freestanding compilers. */
28048 #ifdef __STDC__
28049 # include <limits.h>
28050 #else
28051 # include <assert.h>
28052 #endif
28053 /* Override any gcc2 internal prototype to avoid an error. */
28054 #ifdef __cplusplus
28055 extern "C"
28056 {
28057 #endif
28058 /* We use char because int might match the return type of a gcc2
28059 builtin and then its argument prototype would still apply. */
28060 char $ac_func ();
28061 /* The GNU C library defines this for functions which it implements
28062 to always fail with ENOSYS. Some functions are actually named
28063 something starting with __ and the normal name is an alias. */
28064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28065 choke me
28066 #else
28067 char (*f) () = $ac_func;
28068 #endif
28069 #ifdef __cplusplus
28070 }
28071 #endif
28072
28073 int
28074 main ()
28075 {
28076 return f != $ac_func;
28077 ;
28078 return 0;
28079 }
28080 _ACEOF
28081 rm -f conftest.$ac_objext conftest$ac_exeext
28082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28083 (eval $ac_link) 2>&5
28084 ac_status=$?
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); } &&
28087 { ac_try='test -s conftest$ac_exeext'
28088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28089 (eval $ac_try) 2>&5
28090 ac_status=$?
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); }; }; then
28093 eval "$as_ac_var=yes"
28094 else
28095 echo "$as_me: failed program was:" >&5
28096 sed 's/^/| /' conftest.$ac_ext >&5
28097
28098 eval "$as_ac_var=no"
28099 fi
28100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28101 fi
28102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28104 if test `eval echo '${'$as_ac_var'}'` = yes; then
28105 cat >>confdefs.h <<_ACEOF
28106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28107 _ACEOF
28108 cat >>confdefs.h <<\_ACEOF
28109 #define HAVE_INET_ATON 1
28110 _ACEOF
28111
28112 else
28113
28114 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28115 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28116 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28117 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28119 else
28120 ac_check_lib_save_LIBS=$LIBS
28121 LIBS="-l$INET_LINK $LIBS"
28122 cat >conftest.$ac_ext <<_ACEOF
28123 #line $LINENO "configure"
28124 /* confdefs.h. */
28125 _ACEOF
28126 cat confdefs.h >>conftest.$ac_ext
28127 cat >>conftest.$ac_ext <<_ACEOF
28128 /* end confdefs.h. */
28129
28130 /* Override any gcc2 internal prototype to avoid an error. */
28131 #ifdef __cplusplus
28132 extern "C"
28133 #endif
28134 /* We use char because int might match the return type of a gcc2
28135 builtin and then its argument prototype would still apply. */
28136 char inet_aton ();
28137 int
28138 main ()
28139 {
28140 inet_aton ();
28141 ;
28142 return 0;
28143 }
28144 _ACEOF
28145 rm -f conftest.$ac_objext conftest$ac_exeext
28146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28147 (eval $ac_link) 2>&5
28148 ac_status=$?
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); } &&
28151 { ac_try='test -s conftest$ac_exeext'
28152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153 (eval $ac_try) 2>&5
28154 ac_status=$?
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); }; }; then
28157 eval "$as_ac_Lib=yes"
28158 else
28159 echo "$as_me: failed program was:" >&5
28160 sed 's/^/| /' conftest.$ac_ext >&5
28161
28162 eval "$as_ac_Lib=no"
28163 fi
28164 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28165 LIBS=$ac_check_lib_save_LIBS
28166 fi
28167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28168 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28169 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28170 cat >>confdefs.h <<\_ACEOF
28171 #define HAVE_INET_ATON 1
28172 _ACEOF
28173
28174 fi
28175
28176
28177 fi
28178 done
28179
28180
28181 if test "x$INET_LINK" != "x"; then
28182 cat >>confdefs.h <<\_ACEOF
28183 #define HAVE_INET_ADDR 1
28184 _ACEOF
28185
28186 INET_LINK=" -l$INET_LINK"
28187 fi
28188
28189 fi
28190
28191
28192
28193 ESD_LINK=
28194 if test "${ac_cv_header_esd_h+set}" = set; then
28195 echo "$as_me:$LINENO: checking for esd.h" >&5
28196 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28197 if test "${ac_cv_header_esd_h+set}" = set; then
28198 echo $ECHO_N "(cached) $ECHO_C" >&6
28199 fi
28200 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28201 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28202 else
28203 # Is the header compilable?
28204 echo "$as_me:$LINENO: checking esd.h usability" >&5
28205 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28206 cat >conftest.$ac_ext <<_ACEOF
28207 #line $LINENO "configure"
28208 /* confdefs.h. */
28209 _ACEOF
28210 cat confdefs.h >>conftest.$ac_ext
28211 cat >>conftest.$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28213 $ac_includes_default
28214 #include <esd.h>
28215 _ACEOF
28216 rm -f conftest.$ac_objext
28217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28218 (eval $ac_compile) 2>&5
28219 ac_status=$?
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); } &&
28222 { ac_try='test -s conftest.$ac_objext'
28223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224 (eval $ac_try) 2>&5
28225 ac_status=$?
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); }; }; then
28228 ac_header_compiler=yes
28229 else
28230 echo "$as_me: failed program was:" >&5
28231 sed 's/^/| /' conftest.$ac_ext >&5
28232
28233 ac_header_compiler=no
28234 fi
28235 rm -f conftest.$ac_objext conftest.$ac_ext
28236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28237 echo "${ECHO_T}$ac_header_compiler" >&6
28238
28239 # Is the header present?
28240 echo "$as_me:$LINENO: checking esd.h presence" >&5
28241 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28242 cat >conftest.$ac_ext <<_ACEOF
28243 #line $LINENO "configure"
28244 /* confdefs.h. */
28245 _ACEOF
28246 cat confdefs.h >>conftest.$ac_ext
28247 cat >>conftest.$ac_ext <<_ACEOF
28248 /* end confdefs.h. */
28249 #include <esd.h>
28250 _ACEOF
28251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28253 ac_status=$?
28254 grep -v '^ *+' conftest.er1 >conftest.err
28255 rm -f conftest.er1
28256 cat conftest.err >&5
28257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28258 (exit $ac_status); } >/dev/null; then
28259 if test -s conftest.err; then
28260 ac_cpp_err=$ac_c_preproc_warn_flag
28261 else
28262 ac_cpp_err=
28263 fi
28264 else
28265 ac_cpp_err=yes
28266 fi
28267 if test -z "$ac_cpp_err"; then
28268 ac_header_preproc=yes
28269 else
28270 echo "$as_me: failed program was:" >&5
28271 sed 's/^/| /' conftest.$ac_ext >&5
28272
28273 ac_header_preproc=no
28274 fi
28275 rm -f conftest.err conftest.$ac_ext
28276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28277 echo "${ECHO_T}$ac_header_preproc" >&6
28278
28279 # So? What about this header?
28280 case $ac_header_compiler:$ac_header_preproc in
28281 yes:no )
28282 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28283 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28284 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28285 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28286 (
28287 cat <<\_ASBOX
28288 ## ------------------------------------ ##
28289 ## Report this to bug-autoconf@gnu.org. ##
28290 ## ------------------------------------ ##
28291 _ASBOX
28292 ) |
28293 sed "s/^/$as_me: WARNING: /" >&2
28294 ;;
28295 no:yes )
28296 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28297 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28298 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28299 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28300 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28301 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28302 (
28303 cat <<\_ASBOX
28304 ## ------------------------------------ ##
28305 ## Report this to bug-autoconf@gnu.org. ##
28306 ## ------------------------------------ ##
28307 _ASBOX
28308 ) |
28309 sed "s/^/$as_me: WARNING: /" >&2
28310 ;;
28311 esac
28312 echo "$as_me:$LINENO: checking for esd.h" >&5
28313 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28314 if test "${ac_cv_header_esd_h+set}" = set; then
28315 echo $ECHO_N "(cached) $ECHO_C" >&6
28316 else
28317 ac_cv_header_esd_h=$ac_header_preproc
28318 fi
28319 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28320 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28321
28322 fi
28323 if test $ac_cv_header_esd_h = yes; then
28324
28325 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28326 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28327 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 else
28330 ac_check_lib_save_LIBS=$LIBS
28331 LIBS="-lesd $LIBS"
28332 cat >conftest.$ac_ext <<_ACEOF
28333 #line $LINENO "configure"
28334 /* confdefs.h. */
28335 _ACEOF
28336 cat confdefs.h >>conftest.$ac_ext
28337 cat >>conftest.$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28339
28340 /* Override any gcc2 internal prototype to avoid an error. */
28341 #ifdef __cplusplus
28342 extern "C"
28343 #endif
28344 /* We use char because int might match the return type of a gcc2
28345 builtin and then its argument prototype would still apply. */
28346 char esd_close ();
28347 int
28348 main ()
28349 {
28350 esd_close ();
28351 ;
28352 return 0;
28353 }
28354 _ACEOF
28355 rm -f conftest.$ac_objext conftest$ac_exeext
28356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28357 (eval $ac_link) 2>&5
28358 ac_status=$?
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } &&
28361 { ac_try='test -s conftest$ac_exeext'
28362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28363 (eval $ac_try) 2>&5
28364 ac_status=$?
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); }; }; then
28367 ac_cv_lib_esd_esd_close=yes
28368 else
28369 echo "$as_me: failed program was:" >&5
28370 sed 's/^/| /' conftest.$ac_ext >&5
28371
28372 ac_cv_lib_esd_esd_close=no
28373 fi
28374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28375 LIBS=$ac_check_lib_save_LIBS
28376 fi
28377 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28378 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28379 if test $ac_cv_lib_esd_esd_close = yes; then
28380
28381 ESD_LINK="-lesd"
28382
28383 fi
28384
28385
28386 fi
28387
28388
28389
28390
28391
28392 cat >confcache <<\_ACEOF
28393 # This file is a shell script that caches the results of configure
28394 # tests run on this system so they can be shared between configure
28395 # scripts and configure runs, see configure's option --config-cache.
28396 # It is not useful on other systems. If it contains results you don't
28397 # want to keep, you may remove or edit it.
28398 #
28399 # config.status only pays attention to the cache file if you give it
28400 # the --recheck option to rerun configure.
28401 #
28402 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28403 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28404 # following values.
28405
28406 _ACEOF
28407
28408 # The following way of writing the cache mishandles newlines in values,
28409 # but we know of no workaround that is simple, portable, and efficient.
28410 # So, don't put newlines in cache variables' values.
28411 # Ultrix sh set writes to stderr and can't be redirected directly,
28412 # and sets the high bit in the cache file unless we assign to the vars.
28413 {
28414 (set) 2>&1 |
28415 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28416 *ac_space=\ *)
28417 # `set' does not quote correctly, so add quotes (double-quote
28418 # substitution turns \\\\ into \\, and sed turns \\ into \).
28419 sed -n \
28420 "s/'/'\\\\''/g;
28421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28422 ;;
28423 *)
28424 # `set' quotes correctly as required by POSIX, so do not add quotes.
28425 sed -n \
28426 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28427 ;;
28428 esac;
28429 } |
28430 sed '
28431 t clear
28432 : clear
28433 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28434 t end
28435 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28436 : end' >>confcache
28437 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28438 if test -w $cache_file; then
28439 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28440 cat confcache >$cache_file
28441 else
28442 echo "not updating unwritable cache $cache_file"
28443 fi
28444 fi
28445 rm -f confcache
28446
28447
28448 CPP_MT_FLAG=
28449 if test "$TOOLKIT" != "MSW"; then
28450
28451
28452 THREADS_LINK=
28453 THREADS_CFLAGS=
28454
28455 if test "$wxUSE_THREADS" = "yes" ; then
28456 if test "$USE_BEOS" = 1; then
28457 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28458 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28459 wxUSE_THREADS="no"
28460 fi
28461 fi
28462
28463 if test "$wxUSE_THREADS" = "yes" ; then
28464
28465
28466 THREAD_OPTS="-pthread"
28467 case "${host}" in
28468 *-*-solaris2* | *-*-sunos4* )
28469 if test "x$GCC" = "xyes"; then
28470 THREAD_OPTS="-pthreads $THREAD_OPTS"
28471 else
28472 THREAD_OPTS="-mt $THREAD_OPTS"
28473 fi
28474 ;;
28475 *-*-freebsd*)
28476 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28477 ;;
28478 *-*-darwin* | *-*-cygwin* )
28479 THREAD_OPTS=""
28480 ;;
28481 *-*-aix*)
28482 THREAD_OPTS="pthreads"
28483 ;;
28484 *-hp-hpux* )
28485 if test "x$GCC" != "xyes"; then
28486 THREAD_OPTS=""
28487 fi
28488 ;;
28489
28490 *-*-irix* )
28491 if test "x$GCC" = "xyes"; then
28492 THREAD_OPTS=""
28493 fi
28494 ;;
28495
28496 *-*-*UnixWare*)
28497 if test "x$GCC" != "xyes"; then
28498 THREAD_OPTS="-Ethread"
28499 fi
28500 ;;
28501 esac
28502
28503 THREAD_OPTS="$THREAD_OPTS pthread none"
28504
28505 THREADS_OK=no
28506 for flag in $THREAD_OPTS; do
28507 case $flag in
28508 none)
28509 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28510 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28511 ;;
28512
28513 -*)
28514 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28515 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28516 THREADS_CFLAGS="$flag"
28517 ;;
28518
28519 *)
28520 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28521 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28522 THREADS_LINK="-l$flag"
28523 ;;
28524 esac
28525
28526 save_LIBS="$LIBS"
28527 save_CFLAGS="$CFLAGS"
28528 LIBS="$THREADS_LINK $LIBS"
28529 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28530
28531 cat >conftest.$ac_ext <<_ACEOF
28532 #line $LINENO "configure"
28533 /* confdefs.h. */
28534 _ACEOF
28535 cat confdefs.h >>conftest.$ac_ext
28536 cat >>conftest.$ac_ext <<_ACEOF
28537 /* end confdefs.h. */
28538 #include <pthread.h>
28539 int
28540 main ()
28541 {
28542 pthread_create(0,0,0,0);
28543 ;
28544 return 0;
28545 }
28546 _ACEOF
28547 rm -f conftest.$ac_objext conftest$ac_exeext
28548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28549 (eval $ac_link) 2>&5
28550 ac_status=$?
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); } &&
28553 { ac_try='test -s conftest$ac_exeext'
28554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 (eval $ac_try) 2>&5
28556 ac_status=$?
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); }; }; then
28559 THREADS_OK=yes
28560 else
28561 echo "$as_me: failed program was:" >&5
28562 sed 's/^/| /' conftest.$ac_ext >&5
28563
28564 fi
28565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28566
28567 LIBS="$save_LIBS"
28568 CFLAGS="$save_CFLAGS"
28569
28570 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28571 echo "${ECHO_T}$THREADS_OK" >&6
28572 if test "x$THREADS_OK" = "xyes"; then
28573 break;
28574 fi
28575
28576 THREADS_LINK=""
28577 THREADS_CFLAGS=""
28578 done
28579
28580 if test "x$THREADS_OK" != "xyes"; then
28581 wxUSE_THREADS=no
28582 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28583 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28584 else
28585 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28586 LIBS="$THREADS_LINK $LIBS"
28587
28588 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28589 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28590 flag=no
28591 case "${host}" in
28592 *-aix*)
28593 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28594 flag="-D_THREAD_SAFE"
28595 ;;
28596 *-freebsd*)
28597 flag="-D_THREAD_SAFE"
28598 ;;
28599 *-hp-hpux* )
28600 flag="-D_REENTRANT"
28601 if test "x$GCC" != "xyes"; then
28602 flag="$flag -D_RWSTD_MULTI_THREAD"
28603 fi
28604 ;;
28605 *solaris* | alpha*-osf*)
28606 flag="-D_REENTRANT"
28607 ;;
28608 esac
28609 echo "$as_me:$LINENO: result: ${flag}" >&5
28610 echo "${ECHO_T}${flag}" >&6
28611 if test "x$flag" != xno; then
28612 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28613 fi
28614
28615 if test "x$THREADS_CFLAGS" != "x"; then
28616 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28617 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28618 fi
28619 fi
28620 fi
28621
28622 if test "$wxUSE_THREADS" = "yes" ; then
28623
28624 for ac_func in thr_setconcurrency
28625 do
28626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28627 echo "$as_me:$LINENO: checking for $ac_func" >&5
28628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28629 if eval "test \"\${$as_ac_var+set}\" = set"; then
28630 echo $ECHO_N "(cached) $ECHO_C" >&6
28631 else
28632 cat >conftest.$ac_ext <<_ACEOF
28633 #line $LINENO "configure"
28634 /* confdefs.h. */
28635 _ACEOF
28636 cat confdefs.h >>conftest.$ac_ext
28637 cat >>conftest.$ac_ext <<_ACEOF
28638 /* end confdefs.h. */
28639 /* System header to define __stub macros and hopefully few prototypes,
28640 which can conflict with char $ac_func (); below.
28641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28642 <limits.h> exists even on freestanding compilers. */
28643 #ifdef __STDC__
28644 # include <limits.h>
28645 #else
28646 # include <assert.h>
28647 #endif
28648 /* Override any gcc2 internal prototype to avoid an error. */
28649 #ifdef __cplusplus
28650 extern "C"
28651 {
28652 #endif
28653 /* We use char because int might match the return type of a gcc2
28654 builtin and then its argument prototype would still apply. */
28655 char $ac_func ();
28656 /* The GNU C library defines this for functions which it implements
28657 to always fail with ENOSYS. Some functions are actually named
28658 something starting with __ and the normal name is an alias. */
28659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28660 choke me
28661 #else
28662 char (*f) () = $ac_func;
28663 #endif
28664 #ifdef __cplusplus
28665 }
28666 #endif
28667
28668 int
28669 main ()
28670 {
28671 return f != $ac_func;
28672 ;
28673 return 0;
28674 }
28675 _ACEOF
28676 rm -f conftest.$ac_objext conftest$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>&5
28679 ac_status=$?
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try='test -s conftest$ac_exeext'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28685 ac_status=$?
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; }; then
28688 eval "$as_ac_var=yes"
28689 else
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28692
28693 eval "$as_ac_var=no"
28694 fi
28695 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28696 fi
28697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28699 if test `eval echo '${'$as_ac_var'}'` = yes; then
28700 cat >>confdefs.h <<_ACEOF
28701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28702 _ACEOF
28703
28704 fi
28705 done
28706
28707
28708
28709 for ac_header in sched.h
28710 do
28711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28713 echo "$as_me:$LINENO: checking for $ac_header" >&5
28714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 fi
28718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28720 else
28721 # Is the header compilable?
28722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28724 cat >conftest.$ac_ext <<_ACEOF
28725 #line $LINENO "configure"
28726 /* confdefs.h. */
28727 _ACEOF
28728 cat confdefs.h >>conftest.$ac_ext
28729 cat >>conftest.$ac_ext <<_ACEOF
28730 /* end confdefs.h. */
28731 $ac_includes_default
28732 #include <$ac_header>
28733 _ACEOF
28734 rm -f conftest.$ac_objext
28735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28736 (eval $ac_compile) 2>&5
28737 ac_status=$?
28738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28739 (exit $ac_status); } &&
28740 { ac_try='test -s conftest.$ac_objext'
28741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28742 (eval $ac_try) 2>&5
28743 ac_status=$?
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); }; }; then
28746 ac_header_compiler=yes
28747 else
28748 echo "$as_me: failed program was:" >&5
28749 sed 's/^/| /' conftest.$ac_ext >&5
28750
28751 ac_header_compiler=no
28752 fi
28753 rm -f conftest.$ac_objext conftest.$ac_ext
28754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28755 echo "${ECHO_T}$ac_header_compiler" >&6
28756
28757 # Is the header present?
28758 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28759 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28760 cat >conftest.$ac_ext <<_ACEOF
28761 #line $LINENO "configure"
28762 /* confdefs.h. */
28763 _ACEOF
28764 cat confdefs.h >>conftest.$ac_ext
28765 cat >>conftest.$ac_ext <<_ACEOF
28766 /* end confdefs.h. */
28767 #include <$ac_header>
28768 _ACEOF
28769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28771 ac_status=$?
28772 grep -v '^ *+' conftest.er1 >conftest.err
28773 rm -f conftest.er1
28774 cat conftest.err >&5
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } >/dev/null; then
28777 if test -s conftest.err; then
28778 ac_cpp_err=$ac_c_preproc_warn_flag
28779 else
28780 ac_cpp_err=
28781 fi
28782 else
28783 ac_cpp_err=yes
28784 fi
28785 if test -z "$ac_cpp_err"; then
28786 ac_header_preproc=yes
28787 else
28788 echo "$as_me: failed program was:" >&5
28789 sed 's/^/| /' conftest.$ac_ext >&5
28790
28791 ac_header_preproc=no
28792 fi
28793 rm -f conftest.err conftest.$ac_ext
28794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28795 echo "${ECHO_T}$ac_header_preproc" >&6
28796
28797 # So? What about this header?
28798 case $ac_header_compiler:$ac_header_preproc in
28799 yes:no )
28800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28804 (
28805 cat <<\_ASBOX
28806 ## ------------------------------------ ##
28807 ## Report this to bug-autoconf@gnu.org. ##
28808 ## ------------------------------------ ##
28809 _ASBOX
28810 ) |
28811 sed "s/^/$as_me: WARNING: /" >&2
28812 ;;
28813 no:yes )
28814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28820 (
28821 cat <<\_ASBOX
28822 ## ------------------------------------ ##
28823 ## Report this to bug-autoconf@gnu.org. ##
28824 ## ------------------------------------ ##
28825 _ASBOX
28826 ) |
28827 sed "s/^/$as_me: WARNING: /" >&2
28828 ;;
28829 esac
28830 echo "$as_me:$LINENO: checking for $ac_header" >&5
28831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 else
28835 eval "$as_ac_Header=$ac_header_preproc"
28836 fi
28837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28839
28840 fi
28841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28842 cat >>confdefs.h <<_ACEOF
28843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28844 _ACEOF
28845
28846 fi
28847
28848 done
28849
28850 if test "$ac_cv_header_sched_h" = "yes"; then
28851 echo "$as_me:$LINENO: checking for sched_yield" >&5
28852 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28853 if test "${ac_cv_func_sched_yield+set}" = set; then
28854 echo $ECHO_N "(cached) $ECHO_C" >&6
28855 else
28856 cat >conftest.$ac_ext <<_ACEOF
28857 #line $LINENO "configure"
28858 /* confdefs.h. */
28859 _ACEOF
28860 cat confdefs.h >>conftest.$ac_ext
28861 cat >>conftest.$ac_ext <<_ACEOF
28862 /* end confdefs.h. */
28863 /* System header to define __stub macros and hopefully few prototypes,
28864 which can conflict with char sched_yield (); below.
28865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28866 <limits.h> exists even on freestanding compilers. */
28867 #ifdef __STDC__
28868 # include <limits.h>
28869 #else
28870 # include <assert.h>
28871 #endif
28872 /* Override any gcc2 internal prototype to avoid an error. */
28873 #ifdef __cplusplus
28874 extern "C"
28875 {
28876 #endif
28877 /* We use char because int might match the return type of a gcc2
28878 builtin and then its argument prototype would still apply. */
28879 char sched_yield ();
28880 /* The GNU C library defines this for functions which it implements
28881 to always fail with ENOSYS. Some functions are actually named
28882 something starting with __ and the normal name is an alias. */
28883 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28884 choke me
28885 #else
28886 char (*f) () = sched_yield;
28887 #endif
28888 #ifdef __cplusplus
28889 }
28890 #endif
28891
28892 int
28893 main ()
28894 {
28895 return f != sched_yield;
28896 ;
28897 return 0;
28898 }
28899 _ACEOF
28900 rm -f conftest.$ac_objext conftest$ac_exeext
28901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28902 (eval $ac_link) 2>&5
28903 ac_status=$?
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); } &&
28906 { ac_try='test -s conftest$ac_exeext'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28909 ac_status=$?
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; }; then
28912 ac_cv_func_sched_yield=yes
28913 else
28914 echo "$as_me: failed program was:" >&5
28915 sed 's/^/| /' conftest.$ac_ext >&5
28916
28917 ac_cv_func_sched_yield=no
28918 fi
28919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28920 fi
28921 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
28922 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
28923 if test $ac_cv_func_sched_yield = yes; then
28924 cat >>confdefs.h <<\_ACEOF
28925 #define HAVE_SCHED_YIELD 1
28926 _ACEOF
28927
28928 else
28929
28930 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
28931 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
28932 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
28933 echo $ECHO_N "(cached) $ECHO_C" >&6
28934 else
28935 ac_check_lib_save_LIBS=$LIBS
28936 LIBS="-lposix4 $LIBS"
28937 cat >conftest.$ac_ext <<_ACEOF
28938 #line $LINENO "configure"
28939 /* confdefs.h. */
28940 _ACEOF
28941 cat confdefs.h >>conftest.$ac_ext
28942 cat >>conftest.$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28944
28945 /* Override any gcc2 internal prototype to avoid an error. */
28946 #ifdef __cplusplus
28947 extern "C"
28948 #endif
28949 /* We use char because int might match the return type of a gcc2
28950 builtin and then its argument prototype would still apply. */
28951 char sched_yield ();
28952 int
28953 main ()
28954 {
28955 sched_yield ();
28956 ;
28957 return 0;
28958 }
28959 _ACEOF
28960 rm -f conftest.$ac_objext conftest$ac_exeext
28961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28962 (eval $ac_link) 2>&5
28963 ac_status=$?
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -s conftest$ac_exeext'
28967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28968 (eval $ac_try) 2>&5
28969 ac_status=$?
28970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28971 (exit $ac_status); }; }; then
28972 ac_cv_lib_posix4_sched_yield=yes
28973 else
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.$ac_ext >&5
28976
28977 ac_cv_lib_posix4_sched_yield=no
28978 fi
28979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28980 LIBS=$ac_check_lib_save_LIBS
28981 fi
28982 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
28983 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
28984 if test $ac_cv_lib_posix4_sched_yield = yes; then
28985 cat >>confdefs.h <<\_ACEOF
28986 #define HAVE_SCHED_YIELD 1
28987 _ACEOF
28988 POSIX4_LINK=" -lposix4"
28989 else
28990 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
28991 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
28992
28993 fi
28994
28995
28996
28997 fi
28998
28999 fi
29000
29001 HAVE_PRIOR_FUNCS=0
29002 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29003 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29004 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29005 echo $ECHO_N "(cached) $ECHO_C" >&6
29006 else
29007 cat >conftest.$ac_ext <<_ACEOF
29008 #line $LINENO "configure"
29009 /* confdefs.h. */
29010 _ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29014 /* System header to define __stub macros and hopefully few prototypes,
29015 which can conflict with char pthread_attr_getschedpolicy (); below.
29016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29017 <limits.h> exists even on freestanding compilers. */
29018 #ifdef __STDC__
29019 # include <limits.h>
29020 #else
29021 # include <assert.h>
29022 #endif
29023 /* Override any gcc2 internal prototype to avoid an error. */
29024 #ifdef __cplusplus
29025 extern "C"
29026 {
29027 #endif
29028 /* We use char because int might match the return type of a gcc2
29029 builtin and then its argument prototype would still apply. */
29030 char pthread_attr_getschedpolicy ();
29031 /* The GNU C library defines this for functions which it implements
29032 to always fail with ENOSYS. Some functions are actually named
29033 something starting with __ and the normal name is an alias. */
29034 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29035 choke me
29036 #else
29037 char (*f) () = pthread_attr_getschedpolicy;
29038 #endif
29039 #ifdef __cplusplus
29040 }
29041 #endif
29042
29043 int
29044 main ()
29045 {
29046 return f != pthread_attr_getschedpolicy;
29047 ;
29048 return 0;
29049 }
29050 _ACEOF
29051 rm -f conftest.$ac_objext conftest$ac_exeext
29052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29053 (eval $ac_link) 2>&5
29054 ac_status=$?
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); } &&
29057 { ac_try='test -s conftest$ac_exeext'
29058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29059 (eval $ac_try) 2>&5
29060 ac_status=$?
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); }; }; then
29063 ac_cv_func_pthread_attr_getschedpolicy=yes
29064 else
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.$ac_ext >&5
29067
29068 ac_cv_func_pthread_attr_getschedpolicy=no
29069 fi
29070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29071 fi
29072 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29073 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29074 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29075 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29076 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29077 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29078 echo $ECHO_N "(cached) $ECHO_C" >&6
29079 else
29080 cat >conftest.$ac_ext <<_ACEOF
29081 #line $LINENO "configure"
29082 /* confdefs.h. */
29083 _ACEOF
29084 cat confdefs.h >>conftest.$ac_ext
29085 cat >>conftest.$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29087 /* System header to define __stub macros and hopefully few prototypes,
29088 which can conflict with char pthread_attr_setschedparam (); below.
29089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29090 <limits.h> exists even on freestanding compilers. */
29091 #ifdef __STDC__
29092 # include <limits.h>
29093 #else
29094 # include <assert.h>
29095 #endif
29096 /* Override any gcc2 internal prototype to avoid an error. */
29097 #ifdef __cplusplus
29098 extern "C"
29099 {
29100 #endif
29101 /* We use char because int might match the return type of a gcc2
29102 builtin and then its argument prototype would still apply. */
29103 char pthread_attr_setschedparam ();
29104 /* The GNU C library defines this for functions which it implements
29105 to always fail with ENOSYS. Some functions are actually named
29106 something starting with __ and the normal name is an alias. */
29107 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29108 choke me
29109 #else
29110 char (*f) () = pthread_attr_setschedparam;
29111 #endif
29112 #ifdef __cplusplus
29113 }
29114 #endif
29115
29116 int
29117 main ()
29118 {
29119 return f != pthread_attr_setschedparam;
29120 ;
29121 return 0;
29122 }
29123 _ACEOF
29124 rm -f conftest.$ac_objext conftest$ac_exeext
29125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29126 (eval $ac_link) 2>&5
29127 ac_status=$?
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); } &&
29130 { ac_try='test -s conftest$ac_exeext'
29131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29132 (eval $ac_try) 2>&5
29133 ac_status=$?
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); }; }; then
29136 ac_cv_func_pthread_attr_setschedparam=yes
29137 else
29138 echo "$as_me: failed program was:" >&5
29139 sed 's/^/| /' conftest.$ac_ext >&5
29140
29141 ac_cv_func_pthread_attr_setschedparam=no
29142 fi
29143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29144 fi
29145 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29146 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29147 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29148 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29149 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29150 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29151 echo $ECHO_N "(cached) $ECHO_C" >&6
29152 else
29153 cat >conftest.$ac_ext <<_ACEOF
29154 #line $LINENO "configure"
29155 /* confdefs.h. */
29156 _ACEOF
29157 cat confdefs.h >>conftest.$ac_ext
29158 cat >>conftest.$ac_ext <<_ACEOF
29159 /* end confdefs.h. */
29160 /* System header to define __stub macros and hopefully few prototypes,
29161 which can conflict with char sched_get_priority_max (); below.
29162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29163 <limits.h> exists even on freestanding compilers. */
29164 #ifdef __STDC__
29165 # include <limits.h>
29166 #else
29167 # include <assert.h>
29168 #endif
29169 /* Override any gcc2 internal prototype to avoid an error. */
29170 #ifdef __cplusplus
29171 extern "C"
29172 {
29173 #endif
29174 /* We use char because int might match the return type of a gcc2
29175 builtin and then its argument prototype would still apply. */
29176 char sched_get_priority_max ();
29177 /* The GNU C library defines this for functions which it implements
29178 to always fail with ENOSYS. Some functions are actually named
29179 something starting with __ and the normal name is an alias. */
29180 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29181 choke me
29182 #else
29183 char (*f) () = sched_get_priority_max;
29184 #endif
29185 #ifdef __cplusplus
29186 }
29187 #endif
29188
29189 int
29190 main ()
29191 {
29192 return f != sched_get_priority_max;
29193 ;
29194 return 0;
29195 }
29196 _ACEOF
29197 rm -f conftest.$ac_objext conftest$ac_exeext
29198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29199 (eval $ac_link) 2>&5
29200 ac_status=$?
29201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29202 (exit $ac_status); } &&
29203 { ac_try='test -s conftest$ac_exeext'
29204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29205 (eval $ac_try) 2>&5
29206 ac_status=$?
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); }; }; then
29209 ac_cv_func_sched_get_priority_max=yes
29210 else
29211 echo "$as_me: failed program was:" >&5
29212 sed 's/^/| /' conftest.$ac_ext >&5
29213
29214 ac_cv_func_sched_get_priority_max=no
29215 fi
29216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29217 fi
29218 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29219 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29220 if test $ac_cv_func_sched_get_priority_max = yes; then
29221 HAVE_PRIOR_FUNCS=1
29222 else
29223 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29224 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29225 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29226 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 else
29228 ac_check_lib_save_LIBS=$LIBS
29229 LIBS="-lposix4 $LIBS"
29230 cat >conftest.$ac_ext <<_ACEOF
29231 #line $LINENO "configure"
29232 /* confdefs.h. */
29233 _ACEOF
29234 cat confdefs.h >>conftest.$ac_ext
29235 cat >>conftest.$ac_ext <<_ACEOF
29236 /* end confdefs.h. */
29237
29238 /* Override any gcc2 internal prototype to avoid an error. */
29239 #ifdef __cplusplus
29240 extern "C"
29241 #endif
29242 /* We use char because int might match the return type of a gcc2
29243 builtin and then its argument prototype would still apply. */
29244 char sched_get_priority_max ();
29245 int
29246 main ()
29247 {
29248 sched_get_priority_max ();
29249 ;
29250 return 0;
29251 }
29252 _ACEOF
29253 rm -f conftest.$ac_objext conftest$ac_exeext
29254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29255 (eval $ac_link) 2>&5
29256 ac_status=$?
29257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29258 (exit $ac_status); } &&
29259 { ac_try='test -s conftest$ac_exeext'
29260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29261 (eval $ac_try) 2>&5
29262 ac_status=$?
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); }; }; then
29265 ac_cv_lib_posix4_sched_get_priority_max=yes
29266 else
29267 echo "$as_me: failed program was:" >&5
29268 sed 's/^/| /' conftest.$ac_ext >&5
29269
29270 ac_cv_lib_posix4_sched_get_priority_max=no
29271 fi
29272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29273 LIBS=$ac_check_lib_save_LIBS
29274 fi
29275 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29276 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29277 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29278
29279 HAVE_PRIOR_FUNCS=1
29280 POSIX4_LINK=" -lposix4"
29281
29282 fi
29283
29284
29285 fi
29286
29287
29288 fi
29289
29290
29291 fi
29292
29293
29294 if test "$HAVE_PRIOR_FUNCS" = 1; then
29295 cat >>confdefs.h <<\_ACEOF
29296 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29297 _ACEOF
29298
29299 else
29300 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29301 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29302 fi
29303
29304 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29305 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29306 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29307 echo $ECHO_N "(cached) $ECHO_C" >&6
29308 else
29309 cat >conftest.$ac_ext <<_ACEOF
29310 #line $LINENO "configure"
29311 /* confdefs.h. */
29312 _ACEOF
29313 cat confdefs.h >>conftest.$ac_ext
29314 cat >>conftest.$ac_ext <<_ACEOF
29315 /* end confdefs.h. */
29316 /* System header to define __stub macros and hopefully few prototypes,
29317 which can conflict with char pthread_cancel (); below.
29318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29319 <limits.h> exists even on freestanding compilers. */
29320 #ifdef __STDC__
29321 # include <limits.h>
29322 #else
29323 # include <assert.h>
29324 #endif
29325 /* Override any gcc2 internal prototype to avoid an error. */
29326 #ifdef __cplusplus
29327 extern "C"
29328 {
29329 #endif
29330 /* We use char because int might match the return type of a gcc2
29331 builtin and then its argument prototype would still apply. */
29332 char pthread_cancel ();
29333 /* The GNU C library defines this for functions which it implements
29334 to always fail with ENOSYS. Some functions are actually named
29335 something starting with __ and the normal name is an alias. */
29336 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29337 choke me
29338 #else
29339 char (*f) () = pthread_cancel;
29340 #endif
29341 #ifdef __cplusplus
29342 }
29343 #endif
29344
29345 int
29346 main ()
29347 {
29348 return f != pthread_cancel;
29349 ;
29350 return 0;
29351 }
29352 _ACEOF
29353 rm -f conftest.$ac_objext conftest$ac_exeext
29354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29355 (eval $ac_link) 2>&5
29356 ac_status=$?
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); } &&
29359 { ac_try='test -s conftest$ac_exeext'
29360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361 (eval $ac_try) 2>&5
29362 ac_status=$?
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 ac_cv_func_pthread_cancel=yes
29366 else
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29369
29370 ac_cv_func_pthread_cancel=no
29371 fi
29372 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29373 fi
29374 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29375 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29376 if test $ac_cv_func_pthread_cancel = yes; then
29377 cat >>confdefs.h <<\_ACEOF
29378 #define HAVE_PTHREAD_CANCEL 1
29379 _ACEOF
29380
29381 else
29382 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29383 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29384 fi
29385
29386
29387 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29388 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29389 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 else
29392
29393 cat >conftest.$ac_ext <<_ACEOF
29394 #line $LINENO "configure"
29395 /* confdefs.h. */
29396 _ACEOF
29397 cat confdefs.h >>conftest.$ac_ext
29398 cat >>conftest.$ac_ext <<_ACEOF
29399 /* end confdefs.h. */
29400 #include <pthread.h>
29401 int
29402 main ()
29403 {
29404
29405 pthread_cleanup_push(NULL, NULL);
29406 pthread_cleanup_pop(0);
29407
29408 ;
29409 return 0;
29410 }
29411 _ACEOF
29412 rm -f conftest.$ac_objext
29413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29414 (eval $ac_compile) 2>&5
29415 ac_status=$?
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); } &&
29418 { ac_try='test -s conftest.$ac_objext'
29419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29420 (eval $ac_try) 2>&5
29421 ac_status=$?
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); }; }; then
29424
29425 wx_cv_func_pthread_cleanup_push=yes
29426
29427 else
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.$ac_ext >&5
29430
29431
29432 wx_cv_func_pthread_cleanup_push=no
29433
29434 fi
29435 rm -f conftest.$ac_objext conftest.$ac_ext
29436
29437 fi
29438 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29439 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29440
29441 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29442 cat >>confdefs.h <<\_ACEOF
29443 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29444 _ACEOF
29445
29446 fi
29447
29448
29449 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29450 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29451 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29453 else
29454
29455 cat >conftest.$ac_ext <<_ACEOF
29456 #line $LINENO "configure"
29457 /* confdefs.h. */
29458 _ACEOF
29459 cat confdefs.h >>conftest.$ac_ext
29460 cat >>conftest.$ac_ext <<_ACEOF
29461 /* end confdefs.h. */
29462 #include <pthread.h>
29463 int
29464 main ()
29465 {
29466
29467 pthread_mutexattr_t attr;
29468 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29469
29470 ;
29471 return 0;
29472 }
29473 _ACEOF
29474 rm -f conftest.$ac_objext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29476 (eval $ac_compile) 2>&5
29477 ac_status=$?
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try='test -s conftest.$ac_objext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29486
29487 wx_cv_type_pthread_mutexattr_t=yes
29488
29489 else
29490 echo "$as_me: failed program was:" >&5
29491 sed 's/^/| /' conftest.$ac_ext >&5
29492
29493
29494 wx_cv_type_pthread_mutexattr_t=no
29495
29496
29497 fi
29498 rm -f conftest.$ac_objext conftest.$ac_ext
29499
29500 fi
29501 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29502 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29503
29504 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29505 cat >>confdefs.h <<\_ACEOF
29506 #define HAVE_PTHREAD_MUTEXATTR_T 1
29507 _ACEOF
29508
29509 else
29510 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29511 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29512 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29514 else
29515
29516 cat >conftest.$ac_ext <<_ACEOF
29517 #line $LINENO "configure"
29518 /* confdefs.h. */
29519 _ACEOF
29520 cat confdefs.h >>conftest.$ac_ext
29521 cat >>conftest.$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29523 #include <pthread.h>
29524 int
29525 main ()
29526 {
29527
29528 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29529
29530 ;
29531 return 0;
29532 }
29533 _ACEOF
29534 rm -f conftest.$ac_objext
29535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29536 (eval $ac_compile) 2>&5
29537 ac_status=$?
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); } &&
29540 { ac_try='test -s conftest.$ac_objext'
29541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29542 (eval $ac_try) 2>&5
29543 ac_status=$?
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); }; }; then
29546
29547 wx_cv_type_pthread_rec_mutex_init=yes
29548
29549 else
29550 echo "$as_me: failed program was:" >&5
29551 sed 's/^/| /' conftest.$ac_ext >&5
29552
29553
29554 wx_cv_type_pthread_rec_mutex_init=no
29555
29556
29557 fi
29558 rm -f conftest.$ac_objext conftest.$ac_ext
29559
29560 fi
29561 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29562 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29563 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29564 cat >>confdefs.h <<\_ACEOF
29565 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29566 _ACEOF
29567
29568 else
29569 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29570 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29571 fi
29572 fi
29573 fi
29574
29575 else
29576 if test "$wxUSE_THREADS" = "yes" ; then
29577 case "${host}" in
29578 *-*-mingw32* )
29579 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29580 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29581 if test "${wx_cv_cflags_mthread+set}" = set; then
29582 echo $ECHO_N "(cached) $ECHO_C" >&6
29583 else
29584
29585 CFLAGS_OLD="$CFLAGS"
29586 CFLAGS="$CFLAGS -mthreads"
29587 cat >conftest.$ac_ext <<_ACEOF
29588 #line $LINENO "configure"
29589 /* confdefs.h. */
29590 _ACEOF
29591 cat confdefs.h >>conftest.$ac_ext
29592 cat >>conftest.$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594
29595 int
29596 main ()
29597 {
29598
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29605 (eval $ac_compile) 2>&5
29606 ac_status=$?
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); } &&
29609 { ac_try='test -s conftest.$ac_objext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29612 ac_status=$?
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 wx_cv_cflags_mthread=yes
29616 else
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29619
29620 wx_cv_cflags_mthread=no
29621
29622 fi
29623 rm -f conftest.$ac_objext conftest.$ac_ext
29624
29625
29626 fi
29627 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29628 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29629
29630 if test "$wx_cv_cflags_mthread" = "yes"; then
29631 CXXFLAGS="$CXXFLAGS -mthreads"
29632 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29633 LDFLAGS="$LDFLAGS -mthreads"
29634 else
29635 CFLAGS="$CFLAGS_OLD"
29636 fi
29637 ;;
29638 esac
29639 fi
29640 fi
29641
29642 if test "$wxUSE_THREADS" = "yes"; then
29643 cat >>confdefs.h <<\_ACEOF
29644 #define wxUSE_THREADS 1
29645 _ACEOF
29646
29647
29648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29649 else
29650 if test "$ac_cv_func_strtok_r" = "yes"; then
29651 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29652 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29653 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29654 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29655 echo "$as_me:$LINENO: result: yes" >&5
29656 echo "${ECHO_T}yes" >&6
29657 else
29658 echo "$as_me:$LINENO: result: no" >&5
29659 echo "${ECHO_T}no" >&6
29660 fi
29661 fi
29662 fi
29663
29664 if test "$WXGTK20" = 1 ; then
29665 cat >>confdefs.h <<_ACEOF
29666 #define __WXGTK20__ $WXGTK20
29667 _ACEOF
29668
29669 WXGTK12=1
29670 fi
29671
29672 if test "$WXGTK12" = 1 ; then
29673 cat >>confdefs.h <<_ACEOF
29674 #define __WXGTK12__ $WXGTK12
29675 _ACEOF
29676
29677 fi
29678
29679 if test "$WXGTK127" = 1 ; then
29680 cat >>confdefs.h <<_ACEOF
29681 #define __WXGTK127__ $WXGTK127
29682 _ACEOF
29683
29684 fi
29685
29686 WXDEBUG=
29687
29688 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29689 WXDEBUG="-g"
29690 wxUSE_OPTIMISE=no
29691 fi
29692
29693 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29694 wxUSE_DEBUG_INFO=yes
29695 WXDEBUG="-ggdb"
29696 fi
29697
29698 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29699 cat >>confdefs.h <<\_ACEOF
29700 #define WXDEBUG 1
29701 _ACEOF
29702
29703 WXDEBUG_DEFINE="-D__WXDEBUG__"
29704 else
29705 if test "$wxUSE_GTK" = 1 ; then
29706 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29707 fi
29708 fi
29709
29710 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29711 cat >>confdefs.h <<\_ACEOF
29712 #define wxUSE_MEMORY_TRACING 1
29713 _ACEOF
29714
29715 cat >>confdefs.h <<\_ACEOF
29716 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29717 _ACEOF
29718
29719 cat >>confdefs.h <<\_ACEOF
29720 #define wxUSE_DEBUG_NEW_ALWAYS 1
29721 _ACEOF
29722
29723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29724 fi
29725
29726 if test "$wxUSE_DMALLOC" = "yes" ; then
29727 DMALLOC_LIBS="-ldmalloc"
29728 fi
29729
29730 PROFILE=
29731 if test "$wxUSE_PROFILE" = "yes" ; then
29732 PROFILE=" -pg"
29733 fi
29734
29735 CODE_GEN_FLAGS=
29736 CODE_GEN_FLAGS_CXX=
29737 if test "$GCC" = "yes" ; then
29738 if test "$wxUSE_NO_RTTI" = "yes" ; then
29739 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29740 fi
29741 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29742 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29743 fi
29744 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29745 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29746 fi
29747 if test "$USE_WIN32" = 1 ; then
29748 # I'm not even really sure what this was ever added to solve,
29749 # but someone added it for mingw native builds, so I guess
29750 # they had a reason, right??
29751 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29752 fi
29753
29754 case "${host}" in
29755 powerpc*-*-aix* )
29756 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29757 ;;
29758 *-hppa* )
29759 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29760 ;;
29761 esac
29762 fi
29763
29764 OPTIMISE=
29765 if test "$wxUSE_OPTIMISE" = "no" ; then
29766 if test "$GCC" = yes ; then
29767 OPTIMISE="-O0"
29768 fi
29769 else
29770 if test "$GCC" = yes ; then
29771 OPTIMISE="-O2"
29772
29773 case "${host}" in
29774 i586-*-*|i686-*-* )
29775 OPTIMISE="${OPTIMISE} "
29776 ;;
29777 esac
29778 else
29779 OPTIMISE="-O"
29780 fi
29781 fi
29782
29783
29784 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29785 cat >>confdefs.h <<\_ACEOF
29786 #define WXWIN_COMPATIBILITY_2 1
29787 _ACEOF
29788
29789
29790 WXWIN_COMPATIBILITY_2_2="yes"
29791 fi
29792
29793 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29794 cat >>confdefs.h <<\_ACEOF
29795 #define WXWIN_COMPATIBILITY_2_2 1
29796 _ACEOF
29797
29798
29799 WXWIN_COMPATIBILITY_2_4="yes"
29800 fi
29801
29802 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29803 cat >>confdefs.h <<\_ACEOF
29804 #define WXWIN_COMPATIBILITY_2_4 1
29805 _ACEOF
29806
29807 fi
29808
29809
29810 if test "$wxUSE_GUI" = "yes"; then
29811 cat >>confdefs.h <<\_ACEOF
29812 #define wxUSE_GUI 1
29813 _ACEOF
29814
29815
29816 else
29817 cat >>confdefs.h <<\_ACEOF
29818 #define wxUSE_NOGUI 1
29819 _ACEOF
29820
29821 fi
29822
29823
29824 if test "$wxUSE_UNIX" = "yes"; then
29825 cat >>confdefs.h <<\_ACEOF
29826 #define wxUSE_UNIX 1
29827 _ACEOF
29828
29829 fi
29830
29831
29832 if test "$wxUSE_STL" = "yes"; then
29833 cat >>confdefs.h <<\_ACEOF
29834 #define wxUSE_STL 1
29835 _ACEOF
29836
29837 fi
29838
29839 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29840 cat >>confdefs.h <<\_ACEOF
29841 #define wxUSE_APPLE_IEEE 1
29842 _ACEOF
29843
29844 fi
29845
29846 if test "$wxUSE_TIMER" = "yes"; then
29847 cat >>confdefs.h <<\_ACEOF
29848 #define wxUSE_TIMER 1
29849 _ACEOF
29850
29851 fi
29852
29853 if test "$wxUSE_WAVE" = "yes"; then
29854 cat >>confdefs.h <<\_ACEOF
29855 #define wxUSE_WAVE 1
29856 _ACEOF
29857
29858 fi
29859
29860 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29861 cat >>confdefs.h <<\_ACEOF
29862 #define wxUSE_CMDLINE_PARSER 1
29863 _ACEOF
29864
29865 fi
29866
29867 if test "$wxUSE_STOPWATCH" = "yes"; then
29868 cat >>confdefs.h <<\_ACEOF
29869 #define wxUSE_STOPWATCH 1
29870 _ACEOF
29871
29872 fi
29873
29874 if test "$wxUSE_DATETIME" = "yes"; then
29875 cat >>confdefs.h <<\_ACEOF
29876 #define wxUSE_DATETIME 1
29877 _ACEOF
29878
29879 fi
29880
29881 if test "$wxUSE_FILE" = "yes"; then
29882 cat >>confdefs.h <<\_ACEOF
29883 #define wxUSE_FILE 1
29884 _ACEOF
29885
29886 fi
29887
29888 if test "$wxUSE_FFILE" = "yes"; then
29889 cat >>confdefs.h <<\_ACEOF
29890 #define wxUSE_FFILE 1
29891 _ACEOF
29892
29893 fi
29894
29895 if test "$wxUSE_FILESYSTEM" = "yes"; then
29896 cat >>confdefs.h <<\_ACEOF
29897 #define wxUSE_FILESYSTEM 1
29898 _ACEOF
29899
29900 fi
29901
29902 if test "$wxUSE_FS_INET" = "yes"; then
29903 cat >>confdefs.h <<\_ACEOF
29904 #define wxUSE_FS_INET 1
29905 _ACEOF
29906
29907 fi
29908
29909 if test "$wxUSE_FS_ZIP" = "yes"; then
29910 cat >>confdefs.h <<\_ACEOF
29911 #define wxUSE_FS_ZIP 1
29912 _ACEOF
29913
29914 fi
29915
29916 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29917 cat >>confdefs.h <<\_ACEOF
29918 #define wxUSE_ZIPSTREAM 1
29919 _ACEOF
29920
29921 fi
29922
29923 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29924 cat >>confdefs.h <<\_ACEOF
29925 #define wxUSE_ON_FATAL_EXCEPTION 1
29926 _ACEOF
29927
29928 fi
29929
29930 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29931 cat >>confdefs.h <<\_ACEOF
29932 #define wxUSE_SNGLINST_CHECKER 1
29933 _ACEOF
29934
29935 fi
29936
29937 if test "$wxUSE_BUSYINFO" = "yes"; then
29938 cat >>confdefs.h <<\_ACEOF
29939 #define wxUSE_BUSYINFO 1
29940 _ACEOF
29941
29942 fi
29943
29944 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
29945 cat >>confdefs.h <<\_ACEOF
29946 #define wxUSE_STD_IOSTREAM 1
29947 _ACEOF
29948
29949 fi
29950
29951 if test "$wxUSE_TEXTBUFFER" = "yes"; then
29952 cat >>confdefs.h <<\_ACEOF
29953 #define wxUSE_TEXTBUFFER 1
29954 _ACEOF
29955
29956 fi
29957
29958 if test "$wxUSE_TEXTFILE" = "yes"; then
29959 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
29960 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
29961 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
29962 else
29963 cat >>confdefs.h <<\_ACEOF
29964 #define wxUSE_TEXTFILE 1
29965 _ACEOF
29966
29967 fi
29968 fi
29969
29970 if test "$wxUSE_CONFIG" = "yes" ; then
29971 if test "$wxUSE_TEXTFILE" != "yes"; then
29972 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
29973 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
29974 else
29975 cat >>confdefs.h <<\_ACEOF
29976 #define wxUSE_CONFIG 1
29977 _ACEOF
29978
29979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
29980 fi
29981 fi
29982
29983 if test "$wxUSE_INTL" = "yes" ; then
29984 if test "$wxUSE_FILE" != "yes"; then
29985 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
29986 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
29987 else
29988 cat >>confdefs.h <<\_ACEOF
29989 #define wxUSE_INTL 1
29990 _ACEOF
29991
29992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
29993 GUIDIST="$GUIDIST INTL_DIST"
29994 fi
29995 fi
29996
29997 if test "$wxUSE_LOG" = "yes"; then
29998 cat >>confdefs.h <<\_ACEOF
29999 #define wxUSE_LOG 1
30000 _ACEOF
30001
30002
30003 if test "$wxUSE_LOGGUI" = "yes"; then
30004 cat >>confdefs.h <<\_ACEOF
30005 #define wxUSE_LOGGUI 1
30006 _ACEOF
30007
30008 fi
30009
30010 if test "$wxUSE_LOGWINDOW" = "yes"; then
30011 cat >>confdefs.h <<\_ACEOF
30012 #define wxUSE_LOGWINDOW 1
30013 _ACEOF
30014
30015 fi
30016
30017 if test "$wxUSE_LOGDIALOG" = "yes"; then
30018 cat >>confdefs.h <<\_ACEOF
30019 #define wxUSE_LOG_DIALOG 1
30020 _ACEOF
30021
30022 fi
30023 fi
30024
30025 if test "$wxUSE_LONGLONG" = "yes"; then
30026 cat >>confdefs.h <<\_ACEOF
30027 #define wxUSE_LONGLONG 1
30028 _ACEOF
30029
30030 fi
30031
30032 if test "$wxUSE_GEOMETRY" = "yes"; then
30033 cat >>confdefs.h <<\_ACEOF
30034 #define wxUSE_GEOMETRY 1
30035 _ACEOF
30036
30037 fi
30038
30039 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30040 cat >>confdefs.h <<\_ACEOF
30041 #define wxUSE_DIALUP_MANAGER 1
30042 _ACEOF
30043
30044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30045 fi
30046
30047 if test "$wxUSE_STREAMS" = "yes" ; then
30048 cat >>confdefs.h <<\_ACEOF
30049 #define wxUSE_STREAMS 1
30050 _ACEOF
30051
30052 fi
30053
30054
30055 if test "$wxUSE_DATETIME" = "yes"; then
30056
30057 for ac_func in strptime
30058 do
30059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30060 echo "$as_me:$LINENO: checking for $ac_func" >&5
30061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30062 if eval "test \"\${$as_ac_var+set}\" = set"; then
30063 echo $ECHO_N "(cached) $ECHO_C" >&6
30064 else
30065 cat >conftest.$ac_ext <<_ACEOF
30066 #line $LINENO "configure"
30067 /* confdefs.h. */
30068 _ACEOF
30069 cat confdefs.h >>conftest.$ac_ext
30070 cat >>conftest.$ac_ext <<_ACEOF
30071 /* end confdefs.h. */
30072 /* System header to define __stub macros and hopefully few prototypes,
30073 which can conflict with char $ac_func (); below.
30074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30075 <limits.h> exists even on freestanding compilers. */
30076 #ifdef __STDC__
30077 # include <limits.h>
30078 #else
30079 # include <assert.h>
30080 #endif
30081 /* Override any gcc2 internal prototype to avoid an error. */
30082 #ifdef __cplusplus
30083 extern "C"
30084 {
30085 #endif
30086 /* We use char because int might match the return type of a gcc2
30087 builtin and then its argument prototype would still apply. */
30088 char $ac_func ();
30089 /* The GNU C library defines this for functions which it implements
30090 to always fail with ENOSYS. Some functions are actually named
30091 something starting with __ and the normal name is an alias. */
30092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30093 choke me
30094 #else
30095 char (*f) () = $ac_func;
30096 #endif
30097 #ifdef __cplusplus
30098 }
30099 #endif
30100
30101 int
30102 main ()
30103 {
30104 return f != $ac_func;
30105 ;
30106 return 0;
30107 }
30108 _ACEOF
30109 rm -f conftest.$ac_objext conftest$ac_exeext
30110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30111 (eval $ac_link) 2>&5
30112 ac_status=$?
30113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30114 (exit $ac_status); } &&
30115 { ac_try='test -s conftest$ac_exeext'
30116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30117 (eval $ac_try) 2>&5
30118 ac_status=$?
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); }; }; then
30121 eval "$as_ac_var=yes"
30122 else
30123 echo "$as_me: failed program was:" >&5
30124 sed 's/^/| /' conftest.$ac_ext >&5
30125
30126 eval "$as_ac_var=no"
30127 fi
30128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30129 fi
30130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30132 if test `eval echo '${'$as_ac_var'}'` = yes; then
30133 cat >>confdefs.h <<_ACEOF
30134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30135 _ACEOF
30136
30137 fi
30138 done
30139
30140
30141 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30142 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30143 if test "${wx_cv_var_timezone+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30145 else
30146
30147 cat >conftest.$ac_ext <<_ACEOF
30148 #line $LINENO "configure"
30149 /* confdefs.h. */
30150 _ACEOF
30151 cat confdefs.h >>conftest.$ac_ext
30152 cat >>conftest.$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30154
30155 #include <time.h>
30156
30157 int
30158 main ()
30159 {
30160
30161 int tz;
30162 tz = timezone;
30163
30164 ;
30165 return 0;
30166 }
30167 _ACEOF
30168 rm -f conftest.$ac_objext
30169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30170 (eval $ac_compile) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); } &&
30174 { ac_try='test -s conftest.$ac_objext'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30177 ac_status=$?
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; }; then
30180
30181 wx_cv_var_timezone=timezone
30182
30183 else
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.$ac_ext >&5
30186
30187
30188 cat >conftest.$ac_ext <<_ACEOF
30189 #line $LINENO "configure"
30190 /* confdefs.h. */
30191 _ACEOF
30192 cat confdefs.h >>conftest.$ac_ext
30193 cat >>conftest.$ac_ext <<_ACEOF
30194 /* end confdefs.h. */
30195
30196 #include <time.h>
30197
30198 int
30199 main ()
30200 {
30201
30202 int tz;
30203 tz = _timezone;
30204
30205 ;
30206 return 0;
30207 }
30208 _ACEOF
30209 rm -f conftest.$ac_objext
30210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30211 (eval $ac_compile) 2>&5
30212 ac_status=$?
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } &&
30215 { ac_try='test -s conftest.$ac_objext'
30216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30217 (eval $ac_try) 2>&5
30218 ac_status=$?
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); }; }; then
30221
30222 wx_cv_var_timezone=_timezone
30223
30224 else
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30227
30228
30229 cat >conftest.$ac_ext <<_ACEOF
30230 #line $LINENO "configure"
30231 /* confdefs.h. */
30232 _ACEOF
30233 cat confdefs.h >>conftest.$ac_ext
30234 cat >>conftest.$ac_ext <<_ACEOF
30235 /* end confdefs.h. */
30236
30237 #include <time.h>
30238
30239 int
30240 main ()
30241 {
30242
30243 int tz;
30244 tz = __timezone;
30245
30246 ;
30247 return 0;
30248 }
30249 _ACEOF
30250 rm -f conftest.$ac_objext
30251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30252 (eval $ac_compile) 2>&5
30253 ac_status=$?
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } &&
30256 { ac_try='test -s conftest.$ac_objext'
30257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30258 (eval $ac_try) 2>&5
30259 ac_status=$?
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); }; }; then
30262
30263 wx_cv_var_timezone=__timezone
30264
30265 else
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30268
30269
30270 if test "$USE_DOS" = 0 ; then
30271 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30272 echo "$as_me: WARNING: no timezone variable" >&2;}
30273 fi
30274
30275
30276 fi
30277 rm -f conftest.$ac_objext conftest.$ac_ext
30278
30279
30280 fi
30281 rm -f conftest.$ac_objext conftest.$ac_ext
30282
30283
30284 fi
30285 rm -f conftest.$ac_objext conftest.$ac_ext
30286
30287
30288 fi
30289 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30290 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30291
30292 if test "x$wx_cv_var_timezone" != x ; then
30293 cat >>confdefs.h <<_ACEOF
30294 #define WX_TIMEZONE $wx_cv_var_timezone
30295 _ACEOF
30296
30297 fi
30298
30299
30300 for ac_func in localtime
30301 do
30302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30303 echo "$as_me:$LINENO: checking for $ac_func" >&5
30304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30305 if eval "test \"\${$as_ac_var+set}\" = set"; then
30306 echo $ECHO_N "(cached) $ECHO_C" >&6
30307 else
30308 cat >conftest.$ac_ext <<_ACEOF
30309 #line $LINENO "configure"
30310 /* confdefs.h. */
30311 _ACEOF
30312 cat confdefs.h >>conftest.$ac_ext
30313 cat >>conftest.$ac_ext <<_ACEOF
30314 /* end confdefs.h. */
30315 /* System header to define __stub macros and hopefully few prototypes,
30316 which can conflict with char $ac_func (); below.
30317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30318 <limits.h> exists even on freestanding compilers. */
30319 #ifdef __STDC__
30320 # include <limits.h>
30321 #else
30322 # include <assert.h>
30323 #endif
30324 /* Override any gcc2 internal prototype to avoid an error. */
30325 #ifdef __cplusplus
30326 extern "C"
30327 {
30328 #endif
30329 /* We use char because int might match the return type of a gcc2
30330 builtin and then its argument prototype would still apply. */
30331 char $ac_func ();
30332 /* The GNU C library defines this for functions which it implements
30333 to always fail with ENOSYS. Some functions are actually named
30334 something starting with __ and the normal name is an alias. */
30335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30336 choke me
30337 #else
30338 char (*f) () = $ac_func;
30339 #endif
30340 #ifdef __cplusplus
30341 }
30342 #endif
30343
30344 int
30345 main ()
30346 {
30347 return f != $ac_func;
30348 ;
30349 return 0;
30350 }
30351 _ACEOF
30352 rm -f conftest.$ac_objext conftest$ac_exeext
30353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30354 (eval $ac_link) 2>&5
30355 ac_status=$?
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); } &&
30358 { ac_try='test -s conftest$ac_exeext'
30359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30360 (eval $ac_try) 2>&5
30361 ac_status=$?
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); }; }; then
30364 eval "$as_ac_var=yes"
30365 else
30366 echo "$as_me: failed program was:" >&5
30367 sed 's/^/| /' conftest.$ac_ext >&5
30368
30369 eval "$as_ac_var=no"
30370 fi
30371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30372 fi
30373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30375 if test `eval echo '${'$as_ac_var'}'` = yes; then
30376 cat >>confdefs.h <<_ACEOF
30377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30378 _ACEOF
30379
30380 fi
30381 done
30382
30383
30384 if test "$ac_cv_func_localtime" = "yes"; then
30385 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30386 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30387 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30389 else
30390
30391 cat >conftest.$ac_ext <<_ACEOF
30392 #line $LINENO "configure"
30393 /* confdefs.h. */
30394 _ACEOF
30395 cat confdefs.h >>conftest.$ac_ext
30396 cat >>conftest.$ac_ext <<_ACEOF
30397 /* end confdefs.h. */
30398
30399 #include <time.h>
30400
30401 int
30402 main ()
30403 {
30404
30405 struct tm tm;
30406 tm.tm_gmtoff++;
30407
30408 ;
30409 return 0;
30410 }
30411 _ACEOF
30412 rm -f conftest.$ac_objext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30414 (eval $ac_compile) 2>&5
30415 ac_status=$?
30416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417 (exit $ac_status); } &&
30418 { ac_try='test -s conftest.$ac_objext'
30419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30420 (eval $ac_try) 2>&5
30421 ac_status=$?
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); }; }; then
30424
30425 wx_cv_struct_tm_has_gmtoff=yes
30426
30427 else
30428 echo "$as_me: failed program was:" >&5
30429 sed 's/^/| /' conftest.$ac_ext >&5
30430
30431 wx_cv_struct_tm_has_gmtoff=no
30432
30433 fi
30434 rm -f conftest.$ac_objext conftest.$ac_ext
30435
30436 fi
30437 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30438 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30439 fi
30440
30441 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30442 cat >>confdefs.h <<\_ACEOF
30443 #define WX_GMTOFF_IN_TM 1
30444 _ACEOF
30445
30446 fi
30447
30448
30449
30450 for ac_func in gettimeofday ftime
30451 do
30452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30453 echo "$as_me:$LINENO: checking for $ac_func" >&5
30454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30455 if eval "test \"\${$as_ac_var+set}\" = set"; then
30456 echo $ECHO_N "(cached) $ECHO_C" >&6
30457 else
30458 cat >conftest.$ac_ext <<_ACEOF
30459 #line $LINENO "configure"
30460 /* confdefs.h. */
30461 _ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char $ac_func (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30469 #ifdef __STDC__
30470 # include <limits.h>
30471 #else
30472 # include <assert.h>
30473 #endif
30474 /* Override any gcc2 internal prototype to avoid an error. */
30475 #ifdef __cplusplus
30476 extern "C"
30477 {
30478 #endif
30479 /* We use char because int might match the return type of a gcc2
30480 builtin and then its argument prototype would still apply. */
30481 char $ac_func ();
30482 /* The GNU C library defines this for functions which it implements
30483 to always fail with ENOSYS. Some functions are actually named
30484 something starting with __ and the normal name is an alias. */
30485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30486 choke me
30487 #else
30488 char (*f) () = $ac_func;
30489 #endif
30490 #ifdef __cplusplus
30491 }
30492 #endif
30493
30494 int
30495 main ()
30496 {
30497 return f != $ac_func;
30498 ;
30499 return 0;
30500 }
30501 _ACEOF
30502 rm -f conftest.$ac_objext conftest$ac_exeext
30503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30504 (eval $ac_link) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); } &&
30508 { ac_try='test -s conftest$ac_exeext'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; }; then
30514 eval "$as_ac_var=yes"
30515 else
30516 echo "$as_me: failed program was:" >&5
30517 sed 's/^/| /' conftest.$ac_ext >&5
30518
30519 eval "$as_ac_var=no"
30520 fi
30521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30522 fi
30523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30525 if test `eval echo '${'$as_ac_var'}'` = yes; then
30526 cat >>confdefs.h <<_ACEOF
30527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30528 _ACEOF
30529 break
30530 fi
30531 done
30532
30533
30534 if test "$ac_cv_func_gettimeofday" = "yes"; then
30535 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30536 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30537 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30538 echo $ECHO_N "(cached) $ECHO_C" >&6
30539 else
30540
30541
30542
30543 ac_ext=cc
30544 ac_cpp='$CXXCPP $CPPFLAGS'
30545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30548
30549
30550 cat >conftest.$ac_ext <<_ACEOF
30551 #line $LINENO "configure"
30552 /* confdefs.h. */
30553 _ACEOF
30554 cat confdefs.h >>conftest.$ac_ext
30555 cat >>conftest.$ac_ext <<_ACEOF
30556 /* end confdefs.h. */
30557
30558 #include <sys/time.h>
30559 #include <unistd.h>
30560
30561 int
30562 main ()
30563 {
30564
30565 struct timeval tv;
30566 gettimeofday(&tv, NULL);
30567
30568 ;
30569 return 0;
30570 }
30571 _ACEOF
30572 rm -f conftest.$ac_objext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30574 (eval $ac_compile) 2>&5
30575 ac_status=$?
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } &&
30578 { ac_try='test -s conftest.$ac_objext'
30579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30580 (eval $ac_try) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); }; }; then
30584 wx_cv_func_gettimeofday_has_2_args=yes
30585 else
30586 echo "$as_me: failed program was:" >&5
30587 sed 's/^/| /' conftest.$ac_ext >&5
30588
30589 cat >conftest.$ac_ext <<_ACEOF
30590 #line $LINENO "configure"
30591 /* confdefs.h. */
30592 _ACEOF
30593 cat confdefs.h >>conftest.$ac_ext
30594 cat >>conftest.$ac_ext <<_ACEOF
30595 /* end confdefs.h. */
30596
30597 #include <sys/time.h>
30598 #include <unistd.h>
30599
30600 int
30601 main ()
30602 {
30603
30604 struct timeval tv;
30605 gettimeofday(&tv);
30606
30607 ;
30608 return 0;
30609 }
30610 _ACEOF
30611 rm -f conftest.$ac_objext
30612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30613 (eval $ac_compile) 2>&5
30614 ac_status=$?
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); } &&
30617 { ac_try='test -s conftest.$ac_objext'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30620 ac_status=$?
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; }; then
30623 wx_cv_func_gettimeofday_has_2_args=no
30624 else
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30627
30628
30629 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30630 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30631 wx_cv_func_gettimeofday_has_2_args=unknown
30632
30633
30634 fi
30635 rm -f conftest.$ac_objext conftest.$ac_ext
30636
30637 fi
30638 rm -f conftest.$ac_objext conftest.$ac_ext
30639 ac_ext=c
30640 ac_cpp='$CPP $CPPFLAGS'
30641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644
30645
30646 fi
30647 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30648 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30649
30650 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30651 cat >>confdefs.h <<\_ACEOF
30652 #define WX_GETTIMEOFDAY_NO_TZ 1
30653 _ACEOF
30654
30655 fi
30656 fi
30657
30658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30659 fi
30660
30661
30662 if test "$wxUSE_SOCKETS" = "yes"; then
30663 if test "$wxUSE_MGL" = "1"; then
30664 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30665 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30666 wxUSE_SOCKETS="no"
30667 fi
30668 fi
30669
30670 if test "$wxUSE_SOCKETS" = "yes"; then
30671 if test "$TOOLKIT" != "MSW"; then
30672 echo "$as_me:$LINENO: checking for socket" >&5
30673 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30674 if test "${ac_cv_func_socket+set}" = set; then
30675 echo $ECHO_N "(cached) $ECHO_C" >&6
30676 else
30677 cat >conftest.$ac_ext <<_ACEOF
30678 #line $LINENO "configure"
30679 /* confdefs.h. */
30680 _ACEOF
30681 cat confdefs.h >>conftest.$ac_ext
30682 cat >>conftest.$ac_ext <<_ACEOF
30683 /* end confdefs.h. */
30684 /* System header to define __stub macros and hopefully few prototypes,
30685 which can conflict with char socket (); below.
30686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30687 <limits.h> exists even on freestanding compilers. */
30688 #ifdef __STDC__
30689 # include <limits.h>
30690 #else
30691 # include <assert.h>
30692 #endif
30693 /* Override any gcc2 internal prototype to avoid an error. */
30694 #ifdef __cplusplus
30695 extern "C"
30696 {
30697 #endif
30698 /* We use char because int might match the return type of a gcc2
30699 builtin and then its argument prototype would still apply. */
30700 char socket ();
30701 /* The GNU C library defines this for functions which it implements
30702 to always fail with ENOSYS. Some functions are actually named
30703 something starting with __ and the normal name is an alias. */
30704 #if defined (__stub_socket) || defined (__stub___socket)
30705 choke me
30706 #else
30707 char (*f) () = socket;
30708 #endif
30709 #ifdef __cplusplus
30710 }
30711 #endif
30712
30713 int
30714 main ()
30715 {
30716 return f != socket;
30717 ;
30718 return 0;
30719 }
30720 _ACEOF
30721 rm -f conftest.$ac_objext conftest$ac_exeext
30722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30723 (eval $ac_link) 2>&5
30724 ac_status=$?
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try='test -s conftest$ac_exeext'
30728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30729 (eval $ac_try) 2>&5
30730 ac_status=$?
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); }; }; then
30733 ac_cv_func_socket=yes
30734 else
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.$ac_ext >&5
30737
30738 ac_cv_func_socket=no
30739 fi
30740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30741 fi
30742 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30743 echo "${ECHO_T}$ac_cv_func_socket" >&6
30744 if test $ac_cv_func_socket = yes; then
30745 :
30746 else
30747 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30748 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30749 if test "${ac_cv_lib_socket_socket+set}" = set; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30751 else
30752 ac_check_lib_save_LIBS=$LIBS
30753 LIBS="-lsocket $LIBS"
30754 cat >conftest.$ac_ext <<_ACEOF
30755 #line $LINENO "configure"
30756 /* confdefs.h. */
30757 _ACEOF
30758 cat confdefs.h >>conftest.$ac_ext
30759 cat >>conftest.$ac_ext <<_ACEOF
30760 /* end confdefs.h. */
30761
30762 /* Override any gcc2 internal prototype to avoid an error. */
30763 #ifdef __cplusplus
30764 extern "C"
30765 #endif
30766 /* We use char because int might match the return type of a gcc2
30767 builtin and then its argument prototype would still apply. */
30768 char socket ();
30769 int
30770 main ()
30771 {
30772 socket ();
30773 ;
30774 return 0;
30775 }
30776 _ACEOF
30777 rm -f conftest.$ac_objext conftest$ac_exeext
30778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30779 (eval $ac_link) 2>&5
30780 ac_status=$?
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); } &&
30783 { ac_try='test -s conftest$ac_exeext'
30784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30785 (eval $ac_try) 2>&5
30786 ac_status=$?
30787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30788 (exit $ac_status); }; }; then
30789 ac_cv_lib_socket_socket=yes
30790 else
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794 ac_cv_lib_socket_socket=no
30795 fi
30796 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30797 LIBS=$ac_check_lib_save_LIBS
30798 fi
30799 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30800 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30801 if test $ac_cv_lib_socket_socket = yes; then
30802 if test "$INET_LINK" != " -lsocket"; then
30803 INET_LINK="$INET_LINK -lsocket"
30804 fi
30805 else
30806
30807 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30808 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30809 wxUSE_SOCKETS=no
30810
30811
30812 fi
30813
30814
30815 fi
30816
30817 fi
30818 fi
30819
30820 if test "$wxUSE_SOCKETS" = "yes" ; then
30821 if test "$TOOLKIT" != "MSW"; then
30822 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30823 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30824 if test "${wx_cv_type_getsockname3+set}" = set; then
30825 echo $ECHO_N "(cached) $ECHO_C" >&6
30826 else
30827
30828 cat >conftest.$ac_ext <<_ACEOF
30829 #line $LINENO "configure"
30830 /* confdefs.h. */
30831 _ACEOF
30832 cat confdefs.h >>conftest.$ac_ext
30833 cat >>conftest.$ac_ext <<_ACEOF
30834 /* end confdefs.h. */
30835
30836 #include <sys/types.h>
30837 #include <sys/socket.h>
30838
30839 int
30840 main ()
30841 {
30842
30843 socklen_t len;
30844 getsockname(0, 0, &len);
30845
30846 ;
30847 return 0;
30848 }
30849 _ACEOF
30850 rm -f conftest.$ac_objext
30851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30852 (eval $ac_compile) 2>&5
30853 ac_status=$?
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } &&
30856 { ac_try='test -s conftest.$ac_objext'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30859 ac_status=$?
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; }; then
30862 wx_cv_type_getsockname3=socklen_t
30863 else
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30866
30867
30868 CFLAGS_OLD="$CFLAGS"
30869 if test "$GCC" = yes ; then
30870 CFLAGS="$CFLAGS -Werror"
30871 fi
30872
30873 cat >conftest.$ac_ext <<_ACEOF
30874 #line $LINENO "configure"
30875 /* confdefs.h. */
30876 _ACEOF
30877 cat confdefs.h >>conftest.$ac_ext
30878 cat >>conftest.$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30880
30881 #include <sys/types.h>
30882 #include <sys/socket.h>
30883
30884 int
30885 main ()
30886 {
30887
30888 size_t len;
30889 getsockname(0, 0, &len);
30890
30891 ;
30892 return 0;
30893 }
30894 _ACEOF
30895 rm -f conftest.$ac_objext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30897 (eval $ac_compile) 2>&5
30898 ac_status=$?
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); } &&
30901 { ac_try='test -s conftest.$ac_objext'
30902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30903 (eval $ac_try) 2>&5
30904 ac_status=$?
30905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30906 (exit $ac_status); }; }; then
30907 wx_cv_type_getsockname3=size_t
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912 cat >conftest.$ac_ext <<_ACEOF
30913 #line $LINENO "configure"
30914 /* confdefs.h. */
30915 _ACEOF
30916 cat confdefs.h >>conftest.$ac_ext
30917 cat >>conftest.$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30919
30920 #include <sys/types.h>
30921 #include <sys/socket.h>
30922
30923 int
30924 main ()
30925 {
30926
30927 int len;
30928 getsockname(0, 0, &len);
30929
30930 ;
30931 return 0;
30932 }
30933 _ACEOF
30934 rm -f conftest.$ac_objext
30935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30936 (eval $ac_compile) 2>&5
30937 ac_status=$?
30938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30939 (exit $ac_status); } &&
30940 { ac_try='test -s conftest.$ac_objext'
30941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 (eval $ac_try) 2>&5
30943 ac_status=$?
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); }; }; then
30946 wx_cv_type_getsockname3=int
30947 else
30948 echo "$as_me: failed program was:" >&5
30949 sed 's/^/| /' conftest.$ac_ext >&5
30950
30951 wx_cv_type_getsockname3=unknown
30952
30953 fi
30954 rm -f conftest.$ac_objext conftest.$ac_ext
30955
30956 fi
30957 rm -f conftest.$ac_objext conftest.$ac_ext
30958
30959 CFLAGS="$CFLAGS_OLD"
30960
30961
30962 fi
30963 rm -f conftest.$ac_objext conftest.$ac_ext
30964
30965 fi
30966 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
30967 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
30968
30969 if test "$wx_cv_type_getsockname3" = "unknown"; then
30970 wxUSE_SOCKETS=no
30971 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
30972 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
30973 else
30974 cat >>confdefs.h <<_ACEOF
30975 #define SOCKLEN_T $wx_cv_type_getsockname3
30976 _ACEOF
30977
30978 fi
30979 fi
30980 fi
30981
30982 if test "$wxUSE_SOCKETS" = "yes" ; then
30983 cat >>confdefs.h <<\_ACEOF
30984 #define wxUSE_SOCKETS 1
30985 _ACEOF
30986
30987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
30988 fi
30989
30990
30991 if test "$wxUSE_GUI" = "yes"; then
30992
30993 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
30994 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
30995 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
30996 wxUSE_JOYSTICK=no
30997 fi
30998 if test "$TOOLKIT" = "MOTIF"; then
30999 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31000 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31001 wxUSE_JOYSTICK=no
31002 fi
31003 if test "$TOOLKIT" = "X11"; then
31004 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31005 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31006 wxUSE_JOYSTICK=no
31007 fi
31008
31009 if test "$TOOLKIT" != "MSW"; then
31010 if test "$wxUSE_JOYSTICK" = "yes"; then
31011
31012 for ac_header in linux/joystick.h
31013 do
31014 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31016 echo "$as_me:$LINENO: checking for $ac_header" >&5
31017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31019 echo $ECHO_N "(cached) $ECHO_C" >&6
31020 fi
31021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31023 else
31024 # Is the header compilable?
31025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31027 cat >conftest.$ac_ext <<_ACEOF
31028 #line $LINENO "configure"
31029 /* confdefs.h. */
31030 _ACEOF
31031 cat confdefs.h >>conftest.$ac_ext
31032 cat >>conftest.$ac_ext <<_ACEOF
31033 /* end confdefs.h. */
31034 $ac_includes_default
31035 #include <$ac_header>
31036 _ACEOF
31037 rm -f conftest.$ac_objext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31039 (eval $ac_compile) 2>&5
31040 ac_status=$?
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } &&
31043 { ac_try='test -s conftest.$ac_objext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31046 ac_status=$?
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 ac_header_compiler=yes
31050 else
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31053
31054 ac_header_compiler=no
31055 fi
31056 rm -f conftest.$ac_objext conftest.$ac_ext
31057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31058 echo "${ECHO_T}$ac_header_compiler" >&6
31059
31060 # Is the header present?
31061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31063 cat >conftest.$ac_ext <<_ACEOF
31064 #line $LINENO "configure"
31065 /* confdefs.h. */
31066 _ACEOF
31067 cat confdefs.h >>conftest.$ac_ext
31068 cat >>conftest.$ac_ext <<_ACEOF
31069 /* end confdefs.h. */
31070 #include <$ac_header>
31071 _ACEOF
31072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31073 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31074 ac_status=$?
31075 grep -v '^ *+' conftest.er1 >conftest.err
31076 rm -f conftest.er1
31077 cat conftest.err >&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } >/dev/null; then
31080 if test -s conftest.err; then
31081 ac_cpp_err=$ac_c_preproc_warn_flag
31082 else
31083 ac_cpp_err=
31084 fi
31085 else
31086 ac_cpp_err=yes
31087 fi
31088 if test -z "$ac_cpp_err"; then
31089 ac_header_preproc=yes
31090 else
31091 echo "$as_me: failed program was:" >&5
31092 sed 's/^/| /' conftest.$ac_ext >&5
31093
31094 ac_header_preproc=no
31095 fi
31096 rm -f conftest.err conftest.$ac_ext
31097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31098 echo "${ECHO_T}$ac_header_preproc" >&6
31099
31100 # So? What about this header?
31101 case $ac_header_compiler:$ac_header_preproc in
31102 yes:no )
31103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31107 (
31108 cat <<\_ASBOX
31109 ## ------------------------------------ ##
31110 ## Report this to bug-autoconf@gnu.org. ##
31111 ## ------------------------------------ ##
31112 _ASBOX
31113 ) |
31114 sed "s/^/$as_me: WARNING: /" >&2
31115 ;;
31116 no:yes )
31117 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31118 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31119 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31120 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31123 (
31124 cat <<\_ASBOX
31125 ## ------------------------------------ ##
31126 ## Report this to bug-autoconf@gnu.org. ##
31127 ## ------------------------------------ ##
31128 _ASBOX
31129 ) |
31130 sed "s/^/$as_me: WARNING: /" >&2
31131 ;;
31132 esac
31133 echo "$as_me:$LINENO: checking for $ac_header" >&5
31134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31137 else
31138 eval "$as_ac_Header=$ac_header_preproc"
31139 fi
31140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31142
31143 fi
31144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31145 cat >>confdefs.h <<_ACEOF
31146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31147 _ACEOF
31148
31149 fi
31150
31151 done
31152
31153 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31154 wxUSE_JOYSTICK=no
31155 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31156 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31157 fi
31158 fi
31159 fi
31160
31161 if test "$wxUSE_JOYSTICK" = "yes"; then
31162 cat >>confdefs.h <<\_ACEOF
31163 #define wxUSE_JOYSTICK 1
31164 _ACEOF
31165
31166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31167 fi
31168 fi
31169
31170
31171 if test "$TOOLKIT" != "MSW"; then
31172
31173 HAVE_DL_FUNCS=0
31174 HAVE_SHL_FUNCS=0
31175 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31176 if test "$USE_DARWIN" = 1; then
31177 HAVE_DL_FUNCS=1
31178 else
31179
31180 for ac_func in dlopen
31181 do
31182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31183 echo "$as_me:$LINENO: checking for $ac_func" >&5
31184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31185 if eval "test \"\${$as_ac_var+set}\" = set"; then
31186 echo $ECHO_N "(cached) $ECHO_C" >&6
31187 else
31188 cat >conftest.$ac_ext <<_ACEOF
31189 #line $LINENO "configure"
31190 /* confdefs.h. */
31191 _ACEOF
31192 cat confdefs.h >>conftest.$ac_ext
31193 cat >>conftest.$ac_ext <<_ACEOF
31194 /* end confdefs.h. */
31195 /* System header to define __stub macros and hopefully few prototypes,
31196 which can conflict with char $ac_func (); below.
31197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31198 <limits.h> exists even on freestanding compilers. */
31199 #ifdef __STDC__
31200 # include <limits.h>
31201 #else
31202 # include <assert.h>
31203 #endif
31204 /* Override any gcc2 internal prototype to avoid an error. */
31205 #ifdef __cplusplus
31206 extern "C"
31207 {
31208 #endif
31209 /* We use char because int might match the return type of a gcc2
31210 builtin and then its argument prototype would still apply. */
31211 char $ac_func ();
31212 /* The GNU C library defines this for functions which it implements
31213 to always fail with ENOSYS. Some functions are actually named
31214 something starting with __ and the normal name is an alias. */
31215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31216 choke me
31217 #else
31218 char (*f) () = $ac_func;
31219 #endif
31220 #ifdef __cplusplus
31221 }
31222 #endif
31223
31224 int
31225 main ()
31226 {
31227 return f != $ac_func;
31228 ;
31229 return 0;
31230 }
31231 _ACEOF
31232 rm -f conftest.$ac_objext conftest$ac_exeext
31233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31234 (eval $ac_link) 2>&5
31235 ac_status=$?
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); } &&
31238 { ac_try='test -s conftest$ac_exeext'
31239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31240 (eval $ac_try) 2>&5
31241 ac_status=$?
31242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31243 (exit $ac_status); }; }; then
31244 eval "$as_ac_var=yes"
31245 else
31246 echo "$as_me: failed program was:" >&5
31247 sed 's/^/| /' conftest.$ac_ext >&5
31248
31249 eval "$as_ac_var=no"
31250 fi
31251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31252 fi
31253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31255 if test `eval echo '${'$as_ac_var'}'` = yes; then
31256 cat >>confdefs.h <<_ACEOF
31257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31258 _ACEOF
31259
31260 cat >>confdefs.h <<\_ACEOF
31261 #define HAVE_DLOPEN 1
31262 _ACEOF
31263
31264 HAVE_DL_FUNCS=1
31265
31266 else
31267
31268 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31269 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31270 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31271 echo $ECHO_N "(cached) $ECHO_C" >&6
31272 else
31273 ac_check_lib_save_LIBS=$LIBS
31274 LIBS="-ldl $LIBS"
31275 cat >conftest.$ac_ext <<_ACEOF
31276 #line $LINENO "configure"
31277 /* confdefs.h. */
31278 _ACEOF
31279 cat confdefs.h >>conftest.$ac_ext
31280 cat >>conftest.$ac_ext <<_ACEOF
31281 /* end confdefs.h. */
31282
31283 /* Override any gcc2 internal prototype to avoid an error. */
31284 #ifdef __cplusplus
31285 extern "C"
31286 #endif
31287 /* We use char because int might match the return type of a gcc2
31288 builtin and then its argument prototype would still apply. */
31289 char dlopen ();
31290 int
31291 main ()
31292 {
31293 dlopen ();
31294 ;
31295 return 0;
31296 }
31297 _ACEOF
31298 rm -f conftest.$ac_objext conftest$ac_exeext
31299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31300 (eval $ac_link) 2>&5
31301 ac_status=$?
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); } &&
31304 { ac_try='test -s conftest$ac_exeext'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31307 ac_status=$?
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; }; then
31310 ac_cv_lib_dl_dlopen=yes
31311 else
31312 echo "$as_me: failed program was:" >&5
31313 sed 's/^/| /' conftest.$ac_ext >&5
31314
31315 ac_cv_lib_dl_dlopen=no
31316 fi
31317 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31318 LIBS=$ac_check_lib_save_LIBS
31319 fi
31320 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31321 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31322 if test $ac_cv_lib_dl_dlopen = yes; then
31323
31324 cat >>confdefs.h <<\_ACEOF
31325 #define HAVE_DLOPEN 1
31326 _ACEOF
31327
31328 HAVE_DL_FUNCS=1
31329 DL_LINK=" -ldl$DL_LINK"
31330
31331 else
31332
31333
31334 for ac_func in shl_load
31335 do
31336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31337 echo "$as_me:$LINENO: checking for $ac_func" >&5
31338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31339 if eval "test \"\${$as_ac_var+set}\" = set"; then
31340 echo $ECHO_N "(cached) $ECHO_C" >&6
31341 else
31342 cat >conftest.$ac_ext <<_ACEOF
31343 #line $LINENO "configure"
31344 /* confdefs.h. */
31345 _ACEOF
31346 cat confdefs.h >>conftest.$ac_ext
31347 cat >>conftest.$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31349 /* System header to define __stub macros and hopefully few prototypes,
31350 which can conflict with char $ac_func (); below.
31351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31352 <limits.h> exists even on freestanding compilers. */
31353 #ifdef __STDC__
31354 # include <limits.h>
31355 #else
31356 # include <assert.h>
31357 #endif
31358 /* Override any gcc2 internal prototype to avoid an error. */
31359 #ifdef __cplusplus
31360 extern "C"
31361 {
31362 #endif
31363 /* We use char because int might match the return type of a gcc2
31364 builtin and then its argument prototype would still apply. */
31365 char $ac_func ();
31366 /* The GNU C library defines this for functions which it implements
31367 to always fail with ENOSYS. Some functions are actually named
31368 something starting with __ and the normal name is an alias. */
31369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31370 choke me
31371 #else
31372 char (*f) () = $ac_func;
31373 #endif
31374 #ifdef __cplusplus
31375 }
31376 #endif
31377
31378 int
31379 main ()
31380 {
31381 return f != $ac_func;
31382 ;
31383 return 0;
31384 }
31385 _ACEOF
31386 rm -f conftest.$ac_objext conftest$ac_exeext
31387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31388 (eval $ac_link) 2>&5
31389 ac_status=$?
31390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31391 (exit $ac_status); } &&
31392 { ac_try='test -s conftest$ac_exeext'
31393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31394 (eval $ac_try) 2>&5
31395 ac_status=$?
31396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31397 (exit $ac_status); }; }; then
31398 eval "$as_ac_var=yes"
31399 else
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.$ac_ext >&5
31402
31403 eval "$as_ac_var=no"
31404 fi
31405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31406 fi
31407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31409 if test `eval echo '${'$as_ac_var'}'` = yes; then
31410 cat >>confdefs.h <<_ACEOF
31411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31412 _ACEOF
31413
31414 cat >>confdefs.h <<\_ACEOF
31415 #define HAVE_SHL_LOAD 1
31416 _ACEOF
31417
31418 HAVE_SHL_FUNCS=1
31419
31420 else
31421
31422 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31423 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31424 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31425 echo $ECHO_N "(cached) $ECHO_C" >&6
31426 else
31427 ac_check_lib_save_LIBS=$LIBS
31428 LIBS="-lshl_load $LIBS"
31429 cat >conftest.$ac_ext <<_ACEOF
31430 #line $LINENO "configure"
31431 /* confdefs.h. */
31432 _ACEOF
31433 cat confdefs.h >>conftest.$ac_ext
31434 cat >>conftest.$ac_ext <<_ACEOF
31435 /* end confdefs.h. */
31436
31437 /* Override any gcc2 internal prototype to avoid an error. */
31438 #ifdef __cplusplus
31439 extern "C"
31440 #endif
31441 /* We use char because int might match the return type of a gcc2
31442 builtin and then its argument prototype would still apply. */
31443 char dld ();
31444 int
31445 main ()
31446 {
31447 dld ();
31448 ;
31449 return 0;
31450 }
31451 _ACEOF
31452 rm -f conftest.$ac_objext conftest$ac_exeext
31453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31454 (eval $ac_link) 2>&5
31455 ac_status=$?
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); } &&
31458 { ac_try='test -s conftest$ac_exeext'
31459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460 (eval $ac_try) 2>&5
31461 ac_status=$?
31462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463 (exit $ac_status); }; }; then
31464 ac_cv_lib_shl_load_dld=yes
31465 else
31466 echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.$ac_ext >&5
31468
31469 ac_cv_lib_shl_load_dld=no
31470 fi
31471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31472 LIBS=$ac_check_lib_save_LIBS
31473 fi
31474 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31475 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31476 if test $ac_cv_lib_shl_load_dld = yes; then
31477
31478 HAVE_SHL_FUNCS=1
31479 DL_LINK=" -ldld$DL_LINK"
31480
31481 fi
31482
31483
31484 fi
31485 done
31486
31487
31488 fi
31489
31490
31491 fi
31492 done
31493
31494
31495 if test "$HAVE_DL_FUNCS" = 1; then
31496
31497 for ac_func in dlerror
31498 do
31499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31500 echo "$as_me:$LINENO: checking for $ac_func" >&5
31501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31502 if eval "test \"\${$as_ac_var+set}\" = set"; then
31503 echo $ECHO_N "(cached) $ECHO_C" >&6
31504 else
31505 cat >conftest.$ac_ext <<_ACEOF
31506 #line $LINENO "configure"
31507 /* confdefs.h. */
31508 _ACEOF
31509 cat confdefs.h >>conftest.$ac_ext
31510 cat >>conftest.$ac_ext <<_ACEOF
31511 /* end confdefs.h. */
31512 /* System header to define __stub macros and hopefully few prototypes,
31513 which can conflict with char $ac_func (); below.
31514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31515 <limits.h> exists even on freestanding compilers. */
31516 #ifdef __STDC__
31517 # include <limits.h>
31518 #else
31519 # include <assert.h>
31520 #endif
31521 /* Override any gcc2 internal prototype to avoid an error. */
31522 #ifdef __cplusplus
31523 extern "C"
31524 {
31525 #endif
31526 /* We use char because int might match the return type of a gcc2
31527 builtin and then its argument prototype would still apply. */
31528 char $ac_func ();
31529 /* The GNU C library defines this for functions which it implements
31530 to always fail with ENOSYS. Some functions are actually named
31531 something starting with __ and the normal name is an alias. */
31532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31533 choke me
31534 #else
31535 char (*f) () = $ac_func;
31536 #endif
31537 #ifdef __cplusplus
31538 }
31539 #endif
31540
31541 int
31542 main ()
31543 {
31544 return f != $ac_func;
31545 ;
31546 return 0;
31547 }
31548 _ACEOF
31549 rm -f conftest.$ac_objext conftest$ac_exeext
31550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31551 (eval $ac_link) 2>&5
31552 ac_status=$?
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try='test -s conftest$ac_exeext'
31556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31557 (eval $ac_try) 2>&5
31558 ac_status=$?
31559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31560 (exit $ac_status); }; }; then
31561 eval "$as_ac_var=yes"
31562 else
31563 echo "$as_me: failed program was:" >&5
31564 sed 's/^/| /' conftest.$ac_ext >&5
31565
31566 eval "$as_ac_var=no"
31567 fi
31568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31569 fi
31570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31572 if test `eval echo '${'$as_ac_var'}'` = yes; then
31573 cat >>confdefs.h <<_ACEOF
31574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31575 _ACEOF
31576 cat >>confdefs.h <<\_ACEOF
31577 #define HAVE_DLERROR 1
31578 _ACEOF
31579
31580 else
31581 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31582 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31583 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31584 echo $ECHO_N "(cached) $ECHO_C" >&6
31585 else
31586 ac_check_lib_save_LIBS=$LIBS
31587 LIBS="-ldl $LIBS"
31588 cat >conftest.$ac_ext <<_ACEOF
31589 #line $LINENO "configure"
31590 /* confdefs.h. */
31591 _ACEOF
31592 cat confdefs.h >>conftest.$ac_ext
31593 cat >>conftest.$ac_ext <<_ACEOF
31594 /* end confdefs.h. */
31595
31596 /* Override any gcc2 internal prototype to avoid an error. */
31597 #ifdef __cplusplus
31598 extern "C"
31599 #endif
31600 /* We use char because int might match the return type of a gcc2
31601 builtin and then its argument prototype would still apply. */
31602 char dlerror ();
31603 int
31604 main ()
31605 {
31606 dlerror ();
31607 ;
31608 return 0;
31609 }
31610 _ACEOF
31611 rm -f conftest.$ac_objext conftest$ac_exeext
31612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31613 (eval $ac_link) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } &&
31617 { ac_try='test -s conftest$ac_exeext'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; }; then
31623 ac_cv_lib_dl_dlerror=yes
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31627
31628 ac_cv_lib_dl_dlerror=no
31629 fi
31630 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31631 LIBS=$ac_check_lib_save_LIBS
31632 fi
31633 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31634 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31635 if test $ac_cv_lib_dl_dlerror = yes; then
31636 cat >>confdefs.h <<\_ACEOF
31637 #define HAVE_DLERROR 1
31638 _ACEOF
31639
31640 fi
31641
31642 fi
31643 done
31644
31645 fi
31646 fi
31647
31648 if test "$HAVE_DL_FUNCS" = 0; then
31649 if test "$HAVE_SHL_FUNCS" = 0; then
31650 if test "$USE_UNIX" = 1; then
31651 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31652 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31653 wxUSE_DYNAMIC_LOADER=no
31654 wxUSE_DYNLIB_CLASS=no
31655 else
31656 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31657 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31658 fi
31659 fi
31660 fi
31661 fi
31662 fi
31663
31664 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31665 cat >>confdefs.h <<\_ACEOF
31666 #define wxUSE_DYNAMIC_LOADER 1
31667 _ACEOF
31668
31669 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31670 cat >>confdefs.h <<\_ACEOF
31671 #define wxUSE_DYNLIB_CLASS 1
31672 _ACEOF
31673
31674 fi
31675
31676
31677 if test "$wxUSE_FONTMAP" = "yes" ; then
31678 cat >>confdefs.h <<\_ACEOF
31679 #define wxUSE_FONTMAP 1
31680 _ACEOF
31681
31682 fi
31683
31684 if test "$wxUSE_UNICODE" = "yes" ; then
31685 cat >>confdefs.h <<\_ACEOF
31686 #define wxUSE_UNICODE 1
31687 _ACEOF
31688
31689
31690 if test "$wxUSE_MSW" != 1; then
31691 wxUSE_UNICODE_MSLU=no
31692 fi
31693
31694 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31695 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31696 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31697 if test "${ac_cv_lib_unicows_main+set}" = set; then
31698 echo $ECHO_N "(cached) $ECHO_C" >&6
31699 else
31700 ac_check_lib_save_LIBS=$LIBS
31701 LIBS="-lunicows $LIBS"
31702 cat >conftest.$ac_ext <<_ACEOF
31703 #line $LINENO "configure"
31704 /* confdefs.h. */
31705 _ACEOF
31706 cat confdefs.h >>conftest.$ac_ext
31707 cat >>conftest.$ac_ext <<_ACEOF
31708 /* end confdefs.h. */
31709
31710
31711 int
31712 main ()
31713 {
31714 main ();
31715 ;
31716 return 0;
31717 }
31718 _ACEOF
31719 rm -f conftest.$ac_objext conftest$ac_exeext
31720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31721 (eval $ac_link) 2>&5
31722 ac_status=$?
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); } &&
31725 { ac_try='test -s conftest$ac_exeext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731 ac_cv_lib_unicows_main=yes
31732 else
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31735
31736 ac_cv_lib_unicows_main=no
31737 fi
31738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31739 LIBS=$ac_check_lib_save_LIBS
31740 fi
31741 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31742 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31743 if test $ac_cv_lib_unicows_main = yes; then
31744
31745 cat >>confdefs.h <<\_ACEOF
31746 #define wxUSE_UNICODE_MSLU 1
31747 _ACEOF
31748
31749
31750 else
31751
31752 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31753 Applications will only run on Windows NT/2000/XP!" >&5
31754 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31755 Applications will only run on Windows NT/2000/XP!" >&2;}
31756 wxUSE_UNICODE_MSLU=no
31757
31758 fi
31759
31760 fi
31761 fi
31762
31763 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31764 cat >>confdefs.h <<\_ACEOF
31765 #define wxUSE_EXPERIMENTAL_PRINTF 1
31766 _ACEOF
31767
31768 fi
31769
31770
31771 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31772 cat >>confdefs.h <<\_ACEOF
31773 #define wxUSE_POSTSCRIPT 1
31774 _ACEOF
31775
31776 fi
31777
31778 cat >>confdefs.h <<\_ACEOF
31779 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31780 _ACEOF
31781
31782
31783 cat >>confdefs.h <<\_ACEOF
31784 #define wxUSE_NORMALIZED_PS_FONTS 1
31785 _ACEOF
31786
31787
31788
31789 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31790 cat >>confdefs.h <<\_ACEOF
31791 #define wxUSE_CONSTRAINTS 1
31792 _ACEOF
31793
31794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31795 fi
31796
31797 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31798
31799
31800 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31801 cat >>confdefs.h <<\_ACEOF
31802 #define wxUSE_MDI_ARCHITECTURE 1
31803 _ACEOF
31804
31805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31806 fi
31807 fi
31808
31809 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31810 cat >>confdefs.h <<\_ACEOF
31811 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31812 _ACEOF
31813
31814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31815 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31817 fi
31818 fi
31819
31820 if test "$wxUSE_HELP" = "yes"; then
31821 cat >>confdefs.h <<\_ACEOF
31822 #define wxUSE_HELP 1
31823 _ACEOF
31824
31825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31826
31827 if test "$wxUSE_MSW" = 1; then
31828 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31829 cat >>confdefs.h <<\_ACEOF
31830 #define wxUSE_MS_HTML_HELP 1
31831 _ACEOF
31832
31833 fi
31834 fi
31835
31836 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31837 if test "$wxUSE_HTML" = "yes"; then
31838 cat >>confdefs.h <<\_ACEOF
31839 #define wxUSE_WXHTML_HELP 1
31840 _ACEOF
31841
31842 else
31843 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31844 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31845 wxUSE_WXHTML_HELP=no
31846 fi
31847 fi
31848 fi
31849
31850 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31851 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31852 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31853 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31854 else
31855 cat >>confdefs.h <<\_ACEOF
31856 #define wxUSE_PRINTING_ARCHITECTURE 1
31857 _ACEOF
31858
31859 fi
31860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31861 fi
31862
31863 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31864 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31865 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31866 { (exit 1); exit 1; }; }
31867 fi
31868
31869
31870 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31871 -o "$wxUSE_CLIPBOARD" = "yes" \
31872 -o "$wxUSE_OLE" = "yes" \
31873 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31874
31875 for ac_header in ole2.h
31876 do
31877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31879 echo "$as_me:$LINENO: checking for $ac_header" >&5
31880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31883 fi
31884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31886 else
31887 # Is the header compilable?
31888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31890 cat >conftest.$ac_ext <<_ACEOF
31891 #line $LINENO "configure"
31892 /* confdefs.h. */
31893 _ACEOF
31894 cat confdefs.h >>conftest.$ac_ext
31895 cat >>conftest.$ac_ext <<_ACEOF
31896 /* end confdefs.h. */
31897 $ac_includes_default
31898 #include <$ac_header>
31899 _ACEOF
31900 rm -f conftest.$ac_objext
31901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31902 (eval $ac_compile) 2>&5
31903 ac_status=$?
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try='test -s conftest.$ac_objext'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31909 ac_status=$?
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; }; then
31912 ac_header_compiler=yes
31913 else
31914 echo "$as_me: failed program was:" >&5
31915 sed 's/^/| /' conftest.$ac_ext >&5
31916
31917 ac_header_compiler=no
31918 fi
31919 rm -f conftest.$ac_objext conftest.$ac_ext
31920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31921 echo "${ECHO_T}$ac_header_compiler" >&6
31922
31923 # Is the header present?
31924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31926 cat >conftest.$ac_ext <<_ACEOF
31927 #line $LINENO "configure"
31928 /* confdefs.h. */
31929 _ACEOF
31930 cat confdefs.h >>conftest.$ac_ext
31931 cat >>conftest.$ac_ext <<_ACEOF
31932 /* end confdefs.h. */
31933 #include <$ac_header>
31934 _ACEOF
31935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31937 ac_status=$?
31938 grep -v '^ *+' conftest.er1 >conftest.err
31939 rm -f conftest.er1
31940 cat conftest.err >&5
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } >/dev/null; then
31943 if test -s conftest.err; then
31944 ac_cpp_err=$ac_c_preproc_warn_flag
31945 else
31946 ac_cpp_err=
31947 fi
31948 else
31949 ac_cpp_err=yes
31950 fi
31951 if test -z "$ac_cpp_err"; then
31952 ac_header_preproc=yes
31953 else
31954 echo "$as_me: failed program was:" >&5
31955 sed 's/^/| /' conftest.$ac_ext >&5
31956
31957 ac_header_preproc=no
31958 fi
31959 rm -f conftest.err conftest.$ac_ext
31960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31961 echo "${ECHO_T}$ac_header_preproc" >&6
31962
31963 # So? What about this header?
31964 case $ac_header_compiler:$ac_header_preproc in
31965 yes:no )
31966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31970 (
31971 cat <<\_ASBOX
31972 ## ------------------------------------ ##
31973 ## Report this to bug-autoconf@gnu.org. ##
31974 ## ------------------------------------ ##
31975 _ASBOX
31976 ) |
31977 sed "s/^/$as_me: WARNING: /" >&2
31978 ;;
31979 no:yes )
31980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31986 (
31987 cat <<\_ASBOX
31988 ## ------------------------------------ ##
31989 ## Report this to bug-autoconf@gnu.org. ##
31990 ## ------------------------------------ ##
31991 _ASBOX
31992 ) |
31993 sed "s/^/$as_me: WARNING: /" >&2
31994 ;;
31995 esac
31996 echo "$as_me:$LINENO: checking for $ac_header" >&5
31997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31999 echo $ECHO_N "(cached) $ECHO_C" >&6
32000 else
32001 eval "$as_ac_Header=$ac_header_preproc"
32002 fi
32003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32005
32006 fi
32007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32008 cat >>confdefs.h <<_ACEOF
32009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32010 _ACEOF
32011
32012 fi
32013
32014 done
32015
32016
32017 if test "$ac_cv_header_ole2_h" = "yes" ; then
32018 if test "$GCC" = yes ; then
32019
32020
32021 ac_ext=cc
32022 ac_cpp='$CXXCPP $CPPFLAGS'
32023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32026
32027
32028 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32029 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32030 cat >conftest.$ac_ext <<_ACEOF
32031 #line $LINENO "configure"
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 #include <windows.h>
32038 #include <ole2.h>
32039 int
32040 main ()
32041 {
32042
32043 ;
32044 return 0;
32045 }
32046 _ACEOF
32047 rm -f conftest.$ac_objext
32048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32049 (eval $ac_compile) 2>&5
32050 ac_status=$?
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); } &&
32053 { ac_try='test -s conftest.$ac_objext'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32056 ac_status=$?
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; }; then
32059 echo "$as_me:$LINENO: result: no" >&5
32060 echo "${ECHO_T}no" >&6
32061 else
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32064
32065 echo "$as_me:$LINENO: result: yes" >&5
32066 echo "${ECHO_T}yes" >&6
32067 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32068 fi
32069 rm -f conftest.$ac_objext conftest.$ac_ext
32070 ac_ext=c
32071 ac_cpp='$CPP $CPPFLAGS'
32072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32075
32076 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32077 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32078 cat >>confdefs.h <<\_ACEOF
32079 #define wxUSE_OLE 1
32080 _ACEOF
32081
32082
32083 fi
32084
32085 cat >>confdefs.h <<\_ACEOF
32086 #define wxUSE_DATAOBJ 1
32087 _ACEOF
32088
32089 else
32090 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32091 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32092
32093 wxUSE_CLIPBOARD=no
32094 wxUSE_DRAG_AND_DROP=no
32095 wxUSE_DATAOBJ=no
32096 wxUSE_OLE=no
32097 fi
32098
32099 if test "$wxUSE_METAFILE" = "yes"; then
32100 cat >>confdefs.h <<\_ACEOF
32101 #define wxUSE_METAFILE 1
32102 _ACEOF
32103
32104
32105 cat >>confdefs.h <<\_ACEOF
32106 #define wxUSE_ENH_METAFILE 1
32107 _ACEOF
32108
32109 fi
32110 fi
32111
32112 if test "$wxUSE_IPC" = "yes"; then
32113 if test "$wxUSE_SOCKETS" != "yes"; then
32114 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32115 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32116 fi
32117
32118 cat >>confdefs.h <<\_ACEOF
32119 #define wxUSE_IPC 1
32120 _ACEOF
32121
32122 fi
32123
32124 if test "$wxUSE_CLIPBOARD" = "yes"; then
32125 if test "$wxUSE_MGL" = 1; then
32126 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32127 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32128 wxUSE_CLIPBOARD=no
32129 fi
32130
32131 if test "$wxUSE_CLIPBOARD" = "yes"; then
32132 cat >>confdefs.h <<\_ACEOF
32133 #define wxUSE_CLIPBOARD 1
32134 _ACEOF
32135
32136
32137 cat >>confdefs.h <<\_ACEOF
32138 #define wxUSE_DATAOBJ 1
32139 _ACEOF
32140
32141 fi
32142 fi
32143
32144 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32145 if test "$wxUSE_GTK" = 1; then
32146 if test "$WXGTK12" != 1; then
32147 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32148 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32149 wxUSE_DRAG_AND_DROP=no
32150 fi
32151 fi
32152
32153 if test "$wxUSE_MOTIF" = 1; then
32154 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32155 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32156 wxUSE_DRAG_AND_DROP=no
32157 fi
32158
32159 if test "$wxUSE_X11" = 1; then
32160 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32161 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32162 wxUSE_DRAG_AND_DROP=no
32163 fi
32164
32165 if test "$wxUSE_MGL" = 1; then
32166 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32167 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32168 wxUSE_DRAG_AND_DROP=no
32169 fi
32170
32171 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32172 cat >>confdefs.h <<\_ACEOF
32173 #define wxUSE_DRAG_AND_DROP 1
32174 _ACEOF
32175
32176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32177 fi
32178
32179 fi
32180
32181 if test "$wxUSE_SPLINES" = "yes" ; then
32182 cat >>confdefs.h <<\_ACEOF
32183 #define wxUSE_SPLINES 1
32184 _ACEOF
32185
32186 fi
32187
32188
32189 USES_CONTROLS=0
32190 if test "$wxUSE_CONTROLS" = "yes"; then
32191 USES_CONTROLS=1
32192 fi
32193
32194 if test "$wxUSE_ACCEL" = "yes"; then
32195 cat >>confdefs.h <<\_ACEOF
32196 #define wxUSE_ACCEL 1
32197 _ACEOF
32198
32199 USES_CONTROLS=1
32200 fi
32201
32202 if test "$wxUSE_BUTTON" = "yes"; then
32203 cat >>confdefs.h <<\_ACEOF
32204 #define wxUSE_BUTTON 1
32205 _ACEOF
32206
32207 USES_CONTROLS=1
32208 fi
32209
32210 if test "$wxUSE_BMPBUTTON" = "yes"; then
32211 cat >>confdefs.h <<\_ACEOF
32212 #define wxUSE_BMPBUTTON 1
32213 _ACEOF
32214
32215 USES_CONTROLS=1
32216 fi
32217
32218 if test "$wxUSE_CALCTRL" = "yes"; then
32219 cat >>confdefs.h <<\_ACEOF
32220 #define wxUSE_CALENDARCTRL 1
32221 _ACEOF
32222
32223 USES_CONTROLS=1
32224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32225 fi
32226
32227 if test "$wxUSE_CARET" = "yes"; then
32228 cat >>confdefs.h <<\_ACEOF
32229 #define wxUSE_CARET 1
32230 _ACEOF
32231
32232 USES_CONTROLS=1
32233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32234 fi
32235
32236 if test "$wxUSE_COMBOBOX" = "yes"; then
32237 cat >>confdefs.h <<\_ACEOF
32238 #define wxUSE_COMBOBOX 1
32239 _ACEOF
32240
32241 USES_CONTROLS=1
32242 fi
32243
32244 if test "$wxUSE_CHOICE" = "yes"; then
32245 cat >>confdefs.h <<\_ACEOF
32246 #define wxUSE_CHOICE 1
32247 _ACEOF
32248
32249 USES_CONTROLS=1
32250 fi
32251
32252 if test "$wxUSE_CHECKBOX" = "yes"; then
32253 cat >>confdefs.h <<\_ACEOF
32254 #define wxUSE_CHECKBOX 1
32255 _ACEOF
32256
32257 USES_CONTROLS=1
32258 fi
32259
32260 if test "$wxUSE_CHECKLST" = "yes"; then
32261 cat >>confdefs.h <<\_ACEOF
32262 #define wxUSE_CHECKLISTBOX 1
32263 _ACEOF
32264
32265 USES_CONTROLS=1
32266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32267 fi
32268
32269 if test "$wxUSE_DISPLAY" = "yes"; then
32270 cat >>confdefs.h <<\_ACEOF
32271 #define wxUSE_DISPLAY 1
32272 _ACEOF
32273
32274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32275 fi
32276
32277 if test "$wxUSE_GAUGE" = "yes"; then
32278 cat >>confdefs.h <<\_ACEOF
32279 #define wxUSE_GAUGE 1
32280 _ACEOF
32281
32282 USES_CONTROLS=1
32283 fi
32284
32285 if test "$wxUSE_GRID" = "yes"; then
32286 cat >>confdefs.h <<\_ACEOF
32287 #define wxUSE_GRID 1
32288 _ACEOF
32289
32290 USES_CONTROLS=1
32291 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32292 fi
32293
32294 if test "$wxUSE_IMAGLIST" = "yes"; then
32295 cat >>confdefs.h <<\_ACEOF
32296 #define wxUSE_IMAGLIST 1
32297 _ACEOF
32298
32299 fi
32300
32301 if test "$wxUSE_LISTBOX" = "yes"; then
32302 cat >>confdefs.h <<\_ACEOF
32303 #define wxUSE_LISTBOX 1
32304 _ACEOF
32305
32306 USES_CONTROLS=1
32307 fi
32308
32309 if test "$wxUSE_LISTCTRL" = "yes"; then
32310 if test "$wxUSE_IMAGLIST" = "yes"; then
32311 cat >>confdefs.h <<\_ACEOF
32312 #define wxUSE_LISTCTRL 1
32313 _ACEOF
32314
32315 USES_CONTROLS=1
32316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32317 else
32318 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32319 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32320 fi
32321 fi
32322
32323 if test "$wxUSE_NOTEBOOK" = "yes"; then
32324 cat >>confdefs.h <<\_ACEOF
32325 #define wxUSE_NOTEBOOK 1
32326 _ACEOF
32327
32328 USES_CONTROLS=1
32329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32330 fi
32331
32332
32333 if test "$wxUSE_RADIOBOX" = "yes"; then
32334 cat >>confdefs.h <<\_ACEOF
32335 #define wxUSE_RADIOBOX 1
32336 _ACEOF
32337
32338 USES_CONTROLS=1
32339 fi
32340
32341 if test "$wxUSE_RADIOBTN" = "yes"; then
32342 cat >>confdefs.h <<\_ACEOF
32343 #define wxUSE_RADIOBTN 1
32344 _ACEOF
32345
32346 USES_CONTROLS=1
32347 fi
32348
32349 if test "$wxUSE_SASH" = "yes"; then
32350 cat >>confdefs.h <<\_ACEOF
32351 #define wxUSE_SASH 1
32352 _ACEOF
32353
32354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32355 fi
32356
32357 if test "$wxUSE_SCROLLBAR" = "yes"; then
32358 cat >>confdefs.h <<\_ACEOF
32359 #define wxUSE_SCROLLBAR 1
32360 _ACEOF
32361
32362 USES_CONTROLS=1
32363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32364 fi
32365
32366 if test "$wxUSE_SLIDER" = "yes"; then
32367 cat >>confdefs.h <<\_ACEOF
32368 #define wxUSE_SLIDER 1
32369 _ACEOF
32370
32371 USES_CONTROLS=1
32372 fi
32373
32374 if test "$wxUSE_SPINBTN" = "yes"; then
32375 cat >>confdefs.h <<\_ACEOF
32376 #define wxUSE_SPINBTN 1
32377 _ACEOF
32378
32379 USES_CONTROLS=1
32380 fi
32381
32382 if test "$wxUSE_SPINCTRL" = "yes"; then
32383 cat >>confdefs.h <<\_ACEOF
32384 #define wxUSE_SPINCTRL 1
32385 _ACEOF
32386
32387 USES_CONTROLS=1
32388 fi
32389
32390 if test "$wxUSE_SPLITTER" = "yes"; then
32391 cat >>confdefs.h <<\_ACEOF
32392 #define wxUSE_SPLITTER 1
32393 _ACEOF
32394
32395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32396 fi
32397
32398 if test "$wxUSE_STATBMP" = "yes"; then
32399 cat >>confdefs.h <<\_ACEOF
32400 #define wxUSE_STATBMP 1
32401 _ACEOF
32402
32403 USES_CONTROLS=1
32404 fi
32405
32406 if test "$wxUSE_STATBOX" = "yes"; then
32407 cat >>confdefs.h <<\_ACEOF
32408 #define wxUSE_STATBOX 1
32409 _ACEOF
32410
32411 USES_CONTROLS=1
32412 fi
32413
32414 if test "$wxUSE_STATTEXT" = "yes"; then
32415 cat >>confdefs.h <<\_ACEOF
32416 #define wxUSE_STATTEXT 1
32417 _ACEOF
32418
32419 USES_CONTROLS=1
32420 fi
32421
32422 if test "$wxUSE_STATLINE" = "yes"; then
32423 cat >>confdefs.h <<\_ACEOF
32424 #define wxUSE_STATLINE 1
32425 _ACEOF
32426
32427 USES_CONTROLS=1
32428 fi
32429
32430 if test "$wxUSE_STATUSBAR" = "yes"; then
32431 cat >>confdefs.h <<\_ACEOF
32432 #define wxUSE_STATUSBAR 1
32433 _ACEOF
32434
32435 USES_CONTROLS=1
32436
32437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32438 fi
32439
32440 if test "$wxUSE_TABDIALOG" = "yes"; then
32441 cat >>confdefs.h <<\_ACEOF
32442 #define wxUSE_TAB_DIALOG 1
32443 _ACEOF
32444
32445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32446 fi
32447
32448 if test "$wxUSE_TEXTCTRL" = "yes"; then
32449 cat >>confdefs.h <<\_ACEOF
32450 #define wxUSE_TEXTCTRL 1
32451 _ACEOF
32452
32453 USES_CONTROLS=1
32454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32455 fi
32456
32457 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32458 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32459 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32460 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32461 wxUSE_TOGGLEBTN=no
32462 fi
32463 if test "$wxUSE_UNIVERSAL" = "yes"; then
32464 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32465 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32466 wxUSE_TOGGLEBTN=no
32467 fi
32468
32469 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32470 cat >>confdefs.h <<\_ACEOF
32471 #define wxUSE_TOGGLEBTN 1
32472 _ACEOF
32473
32474 USES_CONTROLS=1
32475 fi
32476 fi
32477
32478 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32479 cat >>confdefs.h <<\_ACEOF
32480 #define wxUSE_TOOLBAR_SIMPLE 1
32481 _ACEOF
32482
32483 wxUSE_TOOLBAR="yes"
32484 USES_CONTROLS=1
32485 fi
32486
32487 if test "$wxUSE_TOOLBAR" = "yes"; then
32488 cat >>confdefs.h <<\_ACEOF
32489 #define wxUSE_TOOLBAR 1
32490 _ACEOF
32491
32492 USES_CONTROLS=1
32493
32494 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32495 wxUSE_TOOLBAR_NATIVE="yes"
32496 fi
32497
32498 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32499 cat >>confdefs.h <<\_ACEOF
32500 #define wxUSE_TOOLBAR_NATIVE 1
32501 _ACEOF
32502
32503 USES_CONTROLS=1
32504 fi
32505
32506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32507 fi
32508
32509 if test "$wxUSE_TOOLTIPS" = "yes"; then
32510 if test "$wxUSE_MOTIF" = 1; then
32511 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32512 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32513 else
32514 if test "$wxUSE_UNIVERSAL" = "yes"; then
32515 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32516 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32517 else
32518 cat >>confdefs.h <<\_ACEOF
32519 #define wxUSE_TOOLTIPS 1
32520 _ACEOF
32521
32522 fi
32523 fi
32524 fi
32525
32526 if test "$wxUSE_TREECTRL" = "yes"; then
32527 if test "$wxUSE_IMAGLIST" = "yes"; then
32528 cat >>confdefs.h <<\_ACEOF
32529 #define wxUSE_TREECTRL 1
32530 _ACEOF
32531
32532 USES_CONTROLS=1
32533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32534 else
32535 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32536 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32537 fi
32538 fi
32539
32540 if test "$wxUSE_POPUPWIN" = "yes"; then
32541 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32542 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32543 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32544 else
32545 if test "$wxUSE_MOTIF" = 1; then
32546 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32547 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32548 else
32549 if test "$wxUSE_PM" = 1; then
32550 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32551 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32552 else
32553 cat >>confdefs.h <<\_ACEOF
32554 #define wxUSE_POPUPWIN 1
32555 _ACEOF
32556
32557
32558 USES_CONTROLS=1
32559 fi
32560 fi
32561 fi
32562 fi
32563
32564 if test "$wxUSE_TIPWINDOW" = "yes"; then
32565 if test "$wxUSE_PM" = 1; then
32566 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32567 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32568 else
32569 cat >>confdefs.h <<\_ACEOF
32570 #define wxUSE_TIPWINDOW 1
32571 _ACEOF
32572
32573 fi
32574 fi
32575
32576 if test "$USES_CONTROLS" = 1; then
32577 cat >>confdefs.h <<\_ACEOF
32578 #define wxUSE_CONTROLS 1
32579 _ACEOF
32580
32581 fi
32582
32583
32584
32585 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32586 cat >>confdefs.h <<\_ACEOF
32587 #define wxUSE_DRAGIMAGE 1
32588 _ACEOF
32589
32590 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32591 fi
32592
32593 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32594 cat >>confdefs.h <<\_ACEOF
32595 #define wxUSE_ACCESSIBILITY 1
32596 _ACEOF
32597
32598 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32599 fi
32600
32601 if test "$wxUSE_MENUS" = "yes"; then
32602 cat >>confdefs.h <<\_ACEOF
32603 #define wxUSE_MENUS 1
32604 _ACEOF
32605
32606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32607 fi
32608
32609 if test "$wxUSE_METAFILE" = "yes"; then
32610 cat >>confdefs.h <<\_ACEOF
32611 #define wxUSE_METAFILE 1
32612 _ACEOF
32613
32614 fi
32615
32616 if test "$wxUSE_MIMETYPE" = "yes"; then
32617 cat >>confdefs.h <<\_ACEOF
32618 #define wxUSE_MIMETYPE 1
32619 _ACEOF
32620
32621 fi
32622
32623 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32624 cat >>confdefs.h <<\_ACEOF
32625 #define wxUSE_SYSTEM_OPTIONS 1
32626 _ACEOF
32627
32628 if test "$TOOLKIT" = "MSW"; then
32629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32630 fi
32631
32632 fi
32633
32634 if test "$wxUSE_PROTOCOL" = "yes"; then
32635 if test "$wxUSE_SOCKETS" != "yes"; then
32636 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32637 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32638 wxUSE_PROTOCOL=no
32639 fi
32640
32641 if test "$wxUSE_PROTOCOL" = "yes"; then
32642 cat >>confdefs.h <<\_ACEOF
32643 #define wxUSE_PROTOCOL 1
32644 _ACEOF
32645
32646
32647 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32648 cat >>confdefs.h <<\_ACEOF
32649 #define wxUSE_PROTOCOL_HTTP 1
32650 _ACEOF
32651
32652 fi
32653 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32654 cat >>confdefs.h <<\_ACEOF
32655 #define wxUSE_PROTOCOL_FTP 1
32656 _ACEOF
32657
32658 fi
32659 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32660 cat >>confdefs.h <<\_ACEOF
32661 #define wxUSE_PROTOCOL_FILE 1
32662 _ACEOF
32663
32664 fi
32665 fi
32666 fi
32667
32668 if test "$wxUSE_URL" = "yes"; then
32669 if test "$wxUSE_PROTOCOL" != "yes"; then
32670 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32671 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32672 wxUSE_URL=no
32673 fi
32674 if test "$wxUSE_URL" = "yes"; then
32675 cat >>confdefs.h <<\_ACEOF
32676 #define wxUSE_URL 1
32677 _ACEOF
32678
32679 fi
32680 fi
32681
32682 if test "$wxUSE_MINIFRAME" = "yes"; then
32683 cat >>confdefs.h <<\_ACEOF
32684 #define wxUSE_MINIFRAME 1
32685 _ACEOF
32686
32687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32688 fi
32689
32690 if test "$wxUSE_HTML" = "yes"; then
32691 cat >>confdefs.h <<\_ACEOF
32692 #define wxUSE_HTML 1
32693 _ACEOF
32694
32695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32696 fi
32697
32698 if test "$wxUSE_VALIDATORS" = "yes"; then
32699 cat >>confdefs.h <<\_ACEOF
32700 #define wxUSE_VALIDATORS 1
32701 _ACEOF
32702
32703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32704 fi
32705
32706 if test "$wxUSE_PALETTE" = "yes" ; then
32707 cat >>confdefs.h <<\_ACEOF
32708 #define wxUSE_PALETTE 1
32709 _ACEOF
32710
32711 fi
32712
32713 if test "$wxUSE_IMAGE" = "yes" ; then
32714 cat >>confdefs.h <<\_ACEOF
32715 #define wxUSE_IMAGE 1
32716 _ACEOF
32717
32718 fi
32719
32720 if test "$wxUSE_GIF" = "yes" ; then
32721 cat >>confdefs.h <<\_ACEOF
32722 #define wxUSE_GIF 1
32723 _ACEOF
32724
32725 fi
32726
32727 if test "$wxUSE_PCX" = "yes" ; then
32728 cat >>confdefs.h <<\_ACEOF
32729 #define wxUSE_PCX 1
32730 _ACEOF
32731
32732 fi
32733
32734 if test "$wxUSE_IFF" = "yes" ; then
32735 cat >>confdefs.h <<\_ACEOF
32736 #define wxUSE_IFF 1
32737 _ACEOF
32738
32739 fi
32740
32741 if test "$wxUSE_PNM" = "yes" ; then
32742 cat >>confdefs.h <<\_ACEOF
32743 #define wxUSE_PNM 1
32744 _ACEOF
32745
32746 fi
32747
32748 if test "$wxUSE_XPM" = "yes" ; then
32749 cat >>confdefs.h <<\_ACEOF
32750 #define wxUSE_XPM 1
32751 _ACEOF
32752
32753 fi
32754
32755 if test "$wxUSE_ICO_CUR" = "yes" ; then
32756 cat >>confdefs.h <<\_ACEOF
32757 #define wxUSE_ICO_CUR 1
32758 _ACEOF
32759
32760 fi
32761
32762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32763 LIBS=" -lunicows $LIBS"
32764 fi
32765
32766
32767 if test "$wxUSE_CHOICEDLG" = "yes"; then
32768 cat >>confdefs.h <<\_ACEOF
32769 #define wxUSE_CHOICEDLG 1
32770 _ACEOF
32771
32772 fi
32773
32774 if test "$wxUSE_COLOURDLG" = "yes"; then
32775 cat >>confdefs.h <<\_ACEOF
32776 #define wxUSE_COLOURDLG 1
32777 _ACEOF
32778
32779 fi
32780
32781 if test "$wxUSE_FILEDLG" = "yes"; then
32782 cat >>confdefs.h <<\_ACEOF
32783 #define wxUSE_FILEDLG 1
32784 _ACEOF
32785
32786 fi
32787
32788 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32789 cat >>confdefs.h <<\_ACEOF
32790 #define wxUSE_FINDREPLDLG 1
32791 _ACEOF
32792
32793 fi
32794
32795 if test "$wxUSE_FONTDLG" = "yes"; then
32796 cat >>confdefs.h <<\_ACEOF
32797 #define wxUSE_FONTDLG 1
32798 _ACEOF
32799
32800 fi
32801
32802 if test "$wxUSE_DIRDLG" = "yes"; then
32803 if test "$wxUSE_TREECTRL" != "yes"; then
32804 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32805 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32806 else
32807 cat >>confdefs.h <<\_ACEOF
32808 #define wxUSE_DIRDLG 1
32809 _ACEOF
32810
32811 fi
32812 fi
32813
32814 if test "$wxUSE_MSGDLG" = "yes"; then
32815 cat >>confdefs.h <<\_ACEOF
32816 #define wxUSE_MSGDLG 1
32817 _ACEOF
32818
32819 fi
32820
32821 if test "$wxUSE_NUMBERDLG" = "yes"; then
32822 cat >>confdefs.h <<\_ACEOF
32823 #define wxUSE_NUMBERDLG 1
32824 _ACEOF
32825
32826 fi
32827
32828 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32829 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32830 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32831 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32832 else
32833 cat >>confdefs.h <<\_ACEOF
32834 #define wxUSE_PROGRESSDLG 1
32835 _ACEOF
32836
32837 fi
32838 fi
32839
32840 if test "$wxUSE_SPLASH" = "yes"; then
32841 cat >>confdefs.h <<\_ACEOF
32842 #define wxUSE_SPLASH 1
32843 _ACEOF
32844
32845 fi
32846
32847 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32848 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32849 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32850 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32851 else
32852 cat >>confdefs.h <<\_ACEOF
32853 #define wxUSE_STARTUP_TIPS 1
32854 _ACEOF
32855
32856 fi
32857 fi
32858
32859 if test "$wxUSE_TEXTDLG" = "yes"; then
32860 cat >>confdefs.h <<\_ACEOF
32861 #define wxUSE_TEXTDLG 1
32862 _ACEOF
32863
32864 fi
32865
32866 if test "$wxUSE_WIZARDDLG" = "yes"; then
32867 cat >>confdefs.h <<\_ACEOF
32868 #define wxUSE_WIZARDDLG 1
32869 _ACEOF
32870
32871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32872 fi
32873
32874
32875 if test "$cross_compiling" = "yes"; then
32876 OSINFO="\"$host\""
32877 else
32878 OSINFO=`uname -s -r -m`
32879 OSINFO="\"$OSINFO\""
32880 fi
32881
32882 cat >>confdefs.h <<_ACEOF
32883 #define WXWIN_OS_DESCRIPTION $OSINFO
32884 _ACEOF
32885
32886
32887
32888 if test "x$prefix" != "xNONE"; then
32889 wxPREFIX=$prefix
32890 else
32891 wxPREFIX=$ac_default_prefix
32892 fi
32893
32894 cat >>confdefs.h <<_ACEOF
32895 #define wxINSTALL_PREFIX "$wxPREFIX"
32896 _ACEOF
32897
32898
32899 top_builddir_wxconfig=`pwd`
32900
32901
32902
32903
32904 if test "$wxUSE_MAC" = 1 ; then
32905 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
32906 fi
32907 if test "$wxUSE_COCOA" = 1 ; then
32908 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
32909 fi
32910
32911
32912 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32913
32914 have_cos=0
32915 have_floor=0
32916
32917 for ac_func in cos
32918 do
32919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32920 echo "$as_me:$LINENO: checking for $ac_func" >&5
32921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32922 if eval "test \"\${$as_ac_var+set}\" = set"; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 else
32925 cat >conftest.$ac_ext <<_ACEOF
32926 #line $LINENO "configure"
32927 /* confdefs.h. */
32928 _ACEOF
32929 cat confdefs.h >>conftest.$ac_ext
32930 cat >>conftest.$ac_ext <<_ACEOF
32931 /* end confdefs.h. */
32932 /* System header to define __stub macros and hopefully few prototypes,
32933 which can conflict with char $ac_func (); below.
32934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32935 <limits.h> exists even on freestanding compilers. */
32936 #ifdef __STDC__
32937 # include <limits.h>
32938 #else
32939 # include <assert.h>
32940 #endif
32941 /* Override any gcc2 internal prototype to avoid an error. */
32942 #ifdef __cplusplus
32943 extern "C"
32944 {
32945 #endif
32946 /* We use char because int might match the return type of a gcc2
32947 builtin and then its argument prototype would still apply. */
32948 char $ac_func ();
32949 /* The GNU C library defines this for functions which it implements
32950 to always fail with ENOSYS. Some functions are actually named
32951 something starting with __ and the normal name is an alias. */
32952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32953 choke me
32954 #else
32955 char (*f) () = $ac_func;
32956 #endif
32957 #ifdef __cplusplus
32958 }
32959 #endif
32960
32961 int
32962 main ()
32963 {
32964 return f != $ac_func;
32965 ;
32966 return 0;
32967 }
32968 _ACEOF
32969 rm -f conftest.$ac_objext conftest$ac_exeext
32970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32971 (eval $ac_link) 2>&5
32972 ac_status=$?
32973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32974 (exit $ac_status); } &&
32975 { ac_try='test -s conftest$ac_exeext'
32976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32977 (eval $ac_try) 2>&5
32978 ac_status=$?
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); }; }; then
32981 eval "$as_ac_var=yes"
32982 else
32983 echo "$as_me: failed program was:" >&5
32984 sed 's/^/| /' conftest.$ac_ext >&5
32985
32986 eval "$as_ac_var=no"
32987 fi
32988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32989 fi
32990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32992 if test `eval echo '${'$as_ac_var'}'` = yes; then
32993 cat >>confdefs.h <<_ACEOF
32994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32995 _ACEOF
32996 have_cos=1
32997 fi
32998 done
32999
33000
33001 for ac_func in floor
33002 do
33003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33004 echo "$as_me:$LINENO: checking for $ac_func" >&5
33005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33006 if eval "test \"\${$as_ac_var+set}\" = set"; then
33007 echo $ECHO_N "(cached) $ECHO_C" >&6
33008 else
33009 cat >conftest.$ac_ext <<_ACEOF
33010 #line $LINENO "configure"
33011 /* confdefs.h. */
33012 _ACEOF
33013 cat confdefs.h >>conftest.$ac_ext
33014 cat >>conftest.$ac_ext <<_ACEOF
33015 /* end confdefs.h. */
33016 /* System header to define __stub macros and hopefully few prototypes,
33017 which can conflict with char $ac_func (); below.
33018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33019 <limits.h> exists even on freestanding compilers. */
33020 #ifdef __STDC__
33021 # include <limits.h>
33022 #else
33023 # include <assert.h>
33024 #endif
33025 /* Override any gcc2 internal prototype to avoid an error. */
33026 #ifdef __cplusplus
33027 extern "C"
33028 {
33029 #endif
33030 /* We use char because int might match the return type of a gcc2
33031 builtin and then its argument prototype would still apply. */
33032 char $ac_func ();
33033 /* The GNU C library defines this for functions which it implements
33034 to always fail with ENOSYS. Some functions are actually named
33035 something starting with __ and the normal name is an alias. */
33036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33037 choke me
33038 #else
33039 char (*f) () = $ac_func;
33040 #endif
33041 #ifdef __cplusplus
33042 }
33043 #endif
33044
33045 int
33046 main ()
33047 {
33048 return f != $ac_func;
33049 ;
33050 return 0;
33051 }
33052 _ACEOF
33053 rm -f conftest.$ac_objext conftest$ac_exeext
33054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33055 (eval $ac_link) 2>&5
33056 ac_status=$?
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } &&
33059 { ac_try='test -s conftest$ac_exeext'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33062 ac_status=$?
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; }; then
33065 eval "$as_ac_var=yes"
33066 else
33067 echo "$as_me: failed program was:" >&5
33068 sed 's/^/| /' conftest.$ac_ext >&5
33069
33070 eval "$as_ac_var=no"
33071 fi
33072 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33073 fi
33074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33076 if test `eval echo '${'$as_ac_var'}'` = yes; then
33077 cat >>confdefs.h <<_ACEOF
33078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33079 _ACEOF
33080 have_floor=1
33081 fi
33082 done
33083
33084 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33085 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33086 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33087 echo "$as_me:$LINENO: result: yes" >&5
33088 echo "${ECHO_T}yes" >&6
33089 else
33090 echo "$as_me:$LINENO: result: no" >&5
33091 echo "${ECHO_T}no" >&6
33092 LIBS="$LIBS -lm"
33093 # use different functions to avoid configure caching
33094 have_sin=0
33095 have_ceil=0
33096
33097 for ac_func in sin
33098 do
33099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33100 echo "$as_me:$LINENO: checking for $ac_func" >&5
33101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33102 if eval "test \"\${$as_ac_var+set}\" = set"; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33104 else
33105 cat >conftest.$ac_ext <<_ACEOF
33106 #line $LINENO "configure"
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 /* System header to define __stub macros and hopefully few prototypes,
33113 which can conflict with char $ac_func (); below.
33114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33115 <limits.h> exists even on freestanding compilers. */
33116 #ifdef __STDC__
33117 # include <limits.h>
33118 #else
33119 # include <assert.h>
33120 #endif
33121 /* Override any gcc2 internal prototype to avoid an error. */
33122 #ifdef __cplusplus
33123 extern "C"
33124 {
33125 #endif
33126 /* We use char because int might match the return type of a gcc2
33127 builtin and then its argument prototype would still apply. */
33128 char $ac_func ();
33129 /* The GNU C library defines this for functions which it implements
33130 to always fail with ENOSYS. Some functions are actually named
33131 something starting with __ and the normal name is an alias. */
33132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33133 choke me
33134 #else
33135 char (*f) () = $ac_func;
33136 #endif
33137 #ifdef __cplusplus
33138 }
33139 #endif
33140
33141 int
33142 main ()
33143 {
33144 return f != $ac_func;
33145 ;
33146 return 0;
33147 }
33148 _ACEOF
33149 rm -f conftest.$ac_objext conftest$ac_exeext
33150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33151 (eval $ac_link) 2>&5
33152 ac_status=$?
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } &&
33155 { ac_try='test -s conftest$ac_exeext'
33156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33157 (eval $ac_try) 2>&5
33158 ac_status=$?
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); }; }; then
33161 eval "$as_ac_var=yes"
33162 else
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.$ac_ext >&5
33165
33166 eval "$as_ac_var=no"
33167 fi
33168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33169 fi
33170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33172 if test `eval echo '${'$as_ac_var'}'` = yes; then
33173 cat >>confdefs.h <<_ACEOF
33174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33175 _ACEOF
33176 have_sin=1
33177 fi
33178 done
33179
33180
33181 for ac_func in ceil
33182 do
33183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33184 echo "$as_me:$LINENO: checking for $ac_func" >&5
33185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33186 if eval "test \"\${$as_ac_var+set}\" = set"; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33188 else
33189 cat >conftest.$ac_ext <<_ACEOF
33190 #line $LINENO "configure"
33191 /* confdefs.h. */
33192 _ACEOF
33193 cat confdefs.h >>conftest.$ac_ext
33194 cat >>conftest.$ac_ext <<_ACEOF
33195 /* end confdefs.h. */
33196 /* System header to define __stub macros and hopefully few prototypes,
33197 which can conflict with char $ac_func (); below.
33198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33199 <limits.h> exists even on freestanding compilers. */
33200 #ifdef __STDC__
33201 # include <limits.h>
33202 #else
33203 # include <assert.h>
33204 #endif
33205 /* Override any gcc2 internal prototype to avoid an error. */
33206 #ifdef __cplusplus
33207 extern "C"
33208 {
33209 #endif
33210 /* We use char because int might match the return type of a gcc2
33211 builtin and then its argument prototype would still apply. */
33212 char $ac_func ();
33213 /* The GNU C library defines this for functions which it implements
33214 to always fail with ENOSYS. Some functions are actually named
33215 something starting with __ and the normal name is an alias. */
33216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33217 choke me
33218 #else
33219 char (*f) () = $ac_func;
33220 #endif
33221 #ifdef __cplusplus
33222 }
33223 #endif
33224
33225 int
33226 main ()
33227 {
33228 return f != $ac_func;
33229 ;
33230 return 0;
33231 }
33232 _ACEOF
33233 rm -f conftest.$ac_objext conftest$ac_exeext
33234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33235 (eval $ac_link) 2>&5
33236 ac_status=$?
33237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33238 (exit $ac_status); } &&
33239 { ac_try='test -s conftest$ac_exeext'
33240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33241 (eval $ac_try) 2>&5
33242 ac_status=$?
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); }; }; then
33245 eval "$as_ac_var=yes"
33246 else
33247 echo "$as_me: failed program was:" >&5
33248 sed 's/^/| /' conftest.$ac_ext >&5
33249
33250 eval "$as_ac_var=no"
33251 fi
33252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33253 fi
33254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33256 if test `eval echo '${'$as_ac_var'}'` = yes; then
33257 cat >>confdefs.h <<_ACEOF
33258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33259 _ACEOF
33260 have_ceil=1
33261 fi
33262 done
33263
33264 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33265 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33266 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33267 echo "$as_me:$LINENO: result: yes" >&5
33268 echo "${ECHO_T}yes" >&6
33269 else
33270 echo "$as_me:$LINENO: result: no" >&5
33271 echo "${ECHO_T}no" >&6
33272 # not sure we should warn the user, crash, etc.
33273 fi
33274 fi
33275
33276 if test "$wxUSE_GUI" = "yes"; then
33277
33278
33279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33280 drawing dynamic erase event exec font image \
33281 minimal propsize rotate shaped widgets"
33282
33283 if test "$wxUSE_MONOLITHIC" != "yes"; then
33284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33285 fi
33286 else
33287 SAMPLES_SUBDIRS="console"
33288 fi
33289
33290
33291 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33292 -I\${top_srcdir}/include \
33293 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33294 $TOOLKIT_INCLUDE"
33295
33296 if test "$GXX" = yes ; then
33297 CXXWARNINGS="-Wall"
33298 fi
33299
33300 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33301
33302 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33303 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33304 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33305
33306
33307 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33308 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33309 if test "$wxUSE_GUI" = "yes"; then
33310 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33311 fi
33312
33313 LDFLAGS="$LDFLAGS $PROFILE"
33314
33315 if test "$wxUSE_GTK" = 1; then
33316 WXCONFIG_INCLUDE=
33317 else
33318 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33319 fi
33320
33321 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33322 WXUNIV=1
33323 else
33324 WXUNIV=0
33325 fi
33326
33327
33328
33329
33330
33331
33332
33333
33334 if test $wxUSE_MONOLITHIC = "yes" ; then
33335 MONOLITHIC=1
33336 else
33337 MONOLITHIC=0
33338 fi
33339
33340 VENDOR="custom"
33341 OFFICIAL_BUILD=0
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33353
33354
33355
33356
33357
33358 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33359
33360 if test -n "$ac_tool_prefix"; then
33361 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33362 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33363 echo "$as_me:$LINENO: checking for $ac_word" >&5
33364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33365 if test "${ac_cv_prog_RANLIB+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 else
33368 if test -n "$RANLIB"; then
33369 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33370 else
33371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33372 for as_dir in $PATH
33373 do
33374 IFS=$as_save_IFS
33375 test -z "$as_dir" && as_dir=.
33376 for ac_exec_ext in '' $ac_executable_extensions; do
33377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33378 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33380 break 2
33381 fi
33382 done
33383 done
33384
33385 fi
33386 fi
33387 RANLIB=$ac_cv_prog_RANLIB
33388 if test -n "$RANLIB"; then
33389 echo "$as_me:$LINENO: result: $RANLIB" >&5
33390 echo "${ECHO_T}$RANLIB" >&6
33391 else
33392 echo "$as_me:$LINENO: result: no" >&5
33393 echo "${ECHO_T}no" >&6
33394 fi
33395
33396 fi
33397 if test -z "$ac_cv_prog_RANLIB"; then
33398 ac_ct_RANLIB=$RANLIB
33399 # Extract the first word of "ranlib", so it can be a program name with args.
33400 set dummy ranlib; ac_word=$2
33401 echo "$as_me:$LINENO: checking for $ac_word" >&5
33402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33403 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33404 echo $ECHO_N "(cached) $ECHO_C" >&6
33405 else
33406 if test -n "$ac_ct_RANLIB"; then
33407 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33408 else
33409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33410 for as_dir in $PATH
33411 do
33412 IFS=$as_save_IFS
33413 test -z "$as_dir" && as_dir=.
33414 for ac_exec_ext in '' $ac_executable_extensions; do
33415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33416 ac_cv_prog_ac_ct_RANLIB="ranlib"
33417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33418 break 2
33419 fi
33420 done
33421 done
33422
33423 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33424 fi
33425 fi
33426 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33427 if test -n "$ac_ct_RANLIB"; then
33428 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33429 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33430 else
33431 echo "$as_me:$LINENO: result: no" >&5
33432 echo "${ECHO_T}no" >&6
33433 fi
33434
33435 RANLIB=$ac_ct_RANLIB
33436 else
33437 RANLIB="$ac_cv_prog_RANLIB"
33438 fi
33439
33440 # Find a good install program. We prefer a C program (faster),
33441 # so one script is as good as another. But avoid the broken or
33442 # incompatible versions:
33443 # SysV /etc/install, /usr/sbin/install
33444 # SunOS /usr/etc/install
33445 # IRIX /sbin/install
33446 # AIX /bin/install
33447 # AmigaOS /C/install, which installs bootblocks on floppy discs
33448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33451 # ./install, which can be erroneously created by make from ./install.sh.
33452 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33453 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33454 if test -z "$INSTALL"; then
33455 if test "${ac_cv_path_install+set}" = set; then
33456 echo $ECHO_N "(cached) $ECHO_C" >&6
33457 else
33458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33459 for as_dir in $PATH
33460 do
33461 IFS=$as_save_IFS
33462 test -z "$as_dir" && as_dir=.
33463 # Account for people who put trailing slashes in PATH elements.
33464 case $as_dir/ in
33465 ./ | .// | /cC/* | \
33466 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33467 /usr/ucb/* ) ;;
33468 *)
33469 # OSF1 and SCO ODT 3.0 have their own names for install.
33470 # Don't use installbsd from OSF since it installs stuff as root
33471 # by default.
33472 for ac_prog in ginstall scoinst install; do
33473 for ac_exec_ext in '' $ac_executable_extensions; do
33474 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33475 if test $ac_prog = install &&
33476 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33477 # AIX install. It has an incompatible calling convention.
33478 :
33479 elif test $ac_prog = install &&
33480 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33481 # program-specific install script used by HP pwplus--don't use.
33482 :
33483 else
33484 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33485 break 3
33486 fi
33487 fi
33488 done
33489 done
33490 ;;
33491 esac
33492 done
33493
33494
33495 fi
33496 if test "${ac_cv_path_install+set}" = set; then
33497 INSTALL=$ac_cv_path_install
33498 else
33499 # As a last resort, use the slow shell script. We don't cache a
33500 # path for INSTALL within a source directory, because that will
33501 # break other packages using the cache if that directory is
33502 # removed, or if the path is relative.
33503 INSTALL=$ac_install_sh
33504 fi
33505 fi
33506 echo "$as_me:$LINENO: result: $INSTALL" >&5
33507 echo "${ECHO_T}$INSTALL" >&6
33508
33509 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33510 # It thinks the first close brace ends the variable substitution.
33511 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33512
33513 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33514
33515 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33516
33517 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33518 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33519 LN_S=$as_ln_s
33520 if test "$LN_S" = "ln -s"; then
33521 echo "$as_me:$LINENO: result: yes" >&5
33522 echo "${ECHO_T}yes" >&6
33523 else
33524 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33525 echo "${ECHO_T}no, using $LN_S" >&6
33526 fi
33527
33528
33529 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33530 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33531 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33532 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33533 echo $ECHO_N "(cached) $ECHO_C" >&6
33534 else
33535 cat >conftest.make <<\_ACEOF
33536 all:
33537 @echo 'ac_maketemp="$(MAKE)"'
33538 _ACEOF
33539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33540 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33541 if test -n "$ac_maketemp"; then
33542 eval ac_cv_prog_make_${ac_make}_set=yes
33543 else
33544 eval ac_cv_prog_make_${ac_make}_set=no
33545 fi
33546 rm -f conftest.make
33547 fi
33548 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33549 echo "$as_me:$LINENO: result: yes" >&5
33550 echo "${ECHO_T}yes" >&6
33551 SET_MAKE=
33552 else
33553 echo "$as_me:$LINENO: result: no" >&5
33554 echo "${ECHO_T}no" >&6
33555 SET_MAKE="MAKE=${MAKE-make}"
33556 fi
33557
33558
33559
33560 if test "$build" != "$host" ; then
33561 AR=$host_alias-ar
33562 STRIP=$host_alias-strip
33563 else
33564 # Extract the first word of "ar", so it can be a program name with args.
33565 set dummy ar; ac_word=$2
33566 echo "$as_me:$LINENO: checking for $ac_word" >&5
33567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33568 if test "${ac_cv_prog_AR+set}" = set; then
33569 echo $ECHO_N "(cached) $ECHO_C" >&6
33570 else
33571 if test -n "$AR"; then
33572 ac_cv_prog_AR="$AR" # Let the user override the test.
33573 else
33574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33575 for as_dir in $PATH
33576 do
33577 IFS=$as_save_IFS
33578 test -z "$as_dir" && as_dir=.
33579 for ac_exec_ext in '' $ac_executable_extensions; do
33580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33581 ac_cv_prog_AR="ar"
33582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33583 break 2
33584 fi
33585 done
33586 done
33587
33588 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33589 fi
33590 fi
33591 AR=$ac_cv_prog_AR
33592 if test -n "$AR"; then
33593 echo "$as_me:$LINENO: result: $AR" >&5
33594 echo "${ECHO_T}$AR" >&6
33595 else
33596 echo "$as_me:$LINENO: result: no" >&5
33597 echo "${ECHO_T}no" >&6
33598 fi
33599
33600 # Extract the first word of "strip", so it can be a program name with args.
33601 set dummy strip; ac_word=$2
33602 echo "$as_me:$LINENO: checking for $ac_word" >&5
33603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33604 if test "${ac_cv_prog_STRIP+set}" = set; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33606 else
33607 if test -n "$STRIP"; then
33608 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33609 else
33610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33611 for as_dir in $PATH
33612 do
33613 IFS=$as_save_IFS
33614 test -z "$as_dir" && as_dir=.
33615 for ac_exec_ext in '' $ac_executable_extensions; do
33616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33617 ac_cv_prog_STRIP="strip"
33618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33619 break 2
33620 fi
33621 done
33622 done
33623
33624 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33625 fi
33626 fi
33627 STRIP=$ac_cv_prog_STRIP
33628 if test -n "$STRIP"; then
33629 echo "$as_me:$LINENO: result: $STRIP" >&5
33630 echo "${ECHO_T}$STRIP" >&6
33631 else
33632 echo "$as_me:$LINENO: result: no" >&5
33633 echo "${ECHO_T}no" >&6
33634 fi
33635
33636 fi
33637
33638 case ${host} in
33639 *-hp-hpux* )
33640 INSTALL_DIR="mkdir"
33641 ;;
33642 *) INSTALL_DIR="$INSTALL -d"
33643 ;;
33644 esac
33645
33646
33647 LDFLAGS_GUI=
33648 case ${host} in
33649 *-*-cygwin* | *-*-mingw32* )
33650 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
33651 esac
33652
33653
33654 fi
33655
33656 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33657 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33658 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33659 echo $ECHO_N "(cached) $ECHO_C" >&6
33660 else
33661
33662 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33663 egrep -s GNU > /dev/null); then
33664 bakefile_cv_prog_makeisgnu="yes"
33665 else
33666 bakefile_cv_prog_makeisgnu="no"
33667 fi
33668
33669 fi
33670 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33671 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33672
33673 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33674 IF_GNU_MAKE=""
33675 else
33676 IF_GNU_MAKE="#"
33677 fi
33678
33679
33680
33681 PLATFORM_UNIX=0
33682 PLATFORM_WIN32=0
33683 PLATFORM_MSDOS=0
33684 PLATFORM_MAC=0
33685 PLATFORM_MACOSX=0
33686
33687 case "${host}" in
33688 *-*-cygwin* | *-*-mingw32* )
33689 PLATFORM_WIN32=1
33690 ;;
33691 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33692 PLATFORM_MSDOS=1
33693 ;;
33694 powerpc-*-darwin* )
33695 PLATFORM_MAC=1
33696 PLATFORM_MACOSX=1
33697 ;;
33698 * )
33699 PLATFORM_UNIX=1
33700 ;;
33701 esac
33702
33703
33704
33705
33706
33707
33708
33709
33710 SO_SUFFIX="so"
33711 EXEEXT=""
33712 DLLPREFIX=lib
33713
33714 case "${host}" in
33715 *-hp-hpux* )
33716 SO_SUFFIX="sl"
33717 ;;
33718 *-*-aix* )
33719 SO_SUFFIX="a"
33720 ;;
33721 *-*-cygwin* | *-*-mingw32* )
33722 SO_SUFFIX="dll"
33723 EXEEXT=".exe"
33724 DLLPREFIX=""
33725 ;;
33726 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33727 EXEEXT=".exe"
33728 DLLPREFIX=""
33729 ;;
33730 powerpc-*-darwin* )
33731 SO_SUFFIX="dylib"
33732 ;;
33733 esac
33734
33735
33736
33737
33738
33739
33740 SHARED_LD_CC="\$(CC) -shared -o"
33741 SHARED_LD_CXX="\$(CXX) -shared -o"
33742
33743 if test "x$GCC" = "xyes"; then
33744 PIC_FLAG="-fPIC"
33745 fi
33746
33747 case "${host}" in
33748 *-hp-hpux* )
33749 if test "x$GCC" = "xyes"; then
33750 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33751 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33752 else
33753 LDFLAGS="$LDFLAGS -L/usr/lib"
33754
33755 SHARED_LD_CC="${CC} -b -o"
33756 SHARED_LD_CXX="${CXX} -b -o"
33757 PIC_FLAG="+Z"
33758 fi
33759 ;;
33760
33761 *-*-linux* )
33762 if test "x$GCC" != "xyes"; then
33763 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33764 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33765 if test "${bakefile_cv_prog_icc+set}" = set; then
33766 echo $ECHO_N "(cached) $ECHO_C" >&6
33767 else
33768
33769 cat >conftest.$ac_ext <<_ACEOF
33770 #line $LINENO "configure"
33771 /* confdefs.h. */
33772 _ACEOF
33773 cat confdefs.h >>conftest.$ac_ext
33774 cat >>conftest.$ac_ext <<_ACEOF
33775 /* end confdefs.h. */
33776
33777 int
33778 main ()
33779 {
33780
33781 #ifndef __INTEL_COMPILER
33782 #error Not icc
33783 #endif
33784
33785 ;
33786 return 0;
33787 }
33788 _ACEOF
33789 rm -f conftest.$ac_objext
33790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33791 (eval $ac_compile) 2>&5
33792 ac_status=$?
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try='test -s conftest.$ac_objext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33798 ac_status=$?
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 bakefile_cv_prog_icc=yes
33802 else
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33805
33806 bakefile_cv_prog_icc=no
33807
33808 fi
33809 rm -f conftest.$ac_objext conftest.$ac_ext
33810
33811 fi
33812 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33813 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33814 if test "$bakefile_cv_prog_icc" = "yes"; then
33815 PIC_FLAG="-KPIC"
33816 fi
33817 fi
33818 ;;
33819
33820 *-*-solaris2* )
33821 if test "x$GCC" != xyes ; then
33822 SHARED_LD_CC="${CC} -G -o"
33823 SHARED_LD_CXX="${CXX} -G -o"
33824 PIC_FLAG="-KPIC"
33825 fi
33826 ;;
33827
33828 *-*-darwin* )
33829 CFLAGS="$CFLAGS -fno-common"
33830 CXXFLAGS="$CXXFLAGS -fno-common"
33831
33832
33833 cat <<EOF >shared-ld-sh
33834 #!/bin/sh
33835 #-----------------------------------------------------------------------------
33836 #-- Name: distrib/mac/shared-ld-sh
33837 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33838 #-- Author: Gilles Depeyrot
33839 #-- Copyright: (c) 2002 Gilles Depeyrot
33840 #-- Licence: any use permitted
33841 #-----------------------------------------------------------------------------
33842
33843 verbose=0
33844 args=""
33845 objects=""
33846
33847 while test \${#} -gt 0; do
33848 case \${1} in
33849
33850 -v)
33851 verbose=1
33852 ;;
33853
33854 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33855 # collect these options and values
33856 args="\${args} \${1} \${2}"
33857 shift
33858 ;;
33859
33860 -l*|-L*|-flat_namespace)
33861 # collect these options
33862 args="\${args} \${1}"
33863 ;;
33864
33865 -dynamiclib)
33866 # skip these options
33867 ;;
33868
33869 -*)
33870 echo "shared-ld: unhandled option '\${1}'"
33871 exit 1
33872 ;;
33873
33874 *.o | *.a)
33875 # collect object files
33876 objects="\${objects} \${1}"
33877 ;;
33878
33879 *)
33880 echo "shared-ld: unhandled argument '\${1}'"
33881 exit 1
33882 ;;
33883
33884 esac
33885 shift
33886 done
33887
33888 #
33889 # Link one module containing all the others
33890 #
33891 if test \${verbose} = 1; then
33892 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33893 fi
33894 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33895 status=\$?
33896 if test \${status} != 0; then
33897 exit \${status}
33898 fi
33899
33900 #
33901 # Link the shared library from the single module created
33902 #
33903 if test \${verbose} = 1; then
33904 echo "cc -dynamiclib master.\$\$.o \${args}"
33905 fi
33906 c++ -dynamiclib master.\$\$.o \${args}
33907 status=\$?
33908 if test \${status} != 0; then
33909 exit \${status}
33910 fi
33911
33912 #
33913 # Remove intermediate module
33914 #
33915 rm -f master.\$\$.o
33916
33917 exit 0
33918 EOF
33919 chmod +x shared-ld-sh
33920
33921 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33922 SHARED_LD_CXX="$SHARED_LD_CC"
33923 PIC_FLAG="-dynamic -fPIC"
33924 ;;
33925
33926 *-*-aix* )
33927 if test "x$GCC" != "xyes"; then
33928 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33929 set dummy makeC++SharedLib; ac_word=$2
33930 echo "$as_me:$LINENO: checking for $ac_word" >&5
33931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33932 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33933 echo $ECHO_N "(cached) $ECHO_C" >&6
33934 else
33935 if test -n "$AIX_CXX_LD"; then
33936 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
33937 else
33938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33939 for as_dir in $PATH
33940 do
33941 IFS=$as_save_IFS
33942 test -z "$as_dir" && as_dir=.
33943 for ac_exec_ext in '' $ac_executable_extensions; do
33944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33945 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
33946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33947 break 2
33948 fi
33949 done
33950 done
33951
33952 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
33953 fi
33954 fi
33955 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
33956 if test -n "$AIX_CXX_LD"; then
33957 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33958 echo "${ECHO_T}$AIX_CXX_LD" >&6
33959 else
33960 echo "$as_me:$LINENO: result: no" >&5
33961 echo "${ECHO_T}no" >&6
33962 fi
33963
33964 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
33965 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
33966 fi
33967 ;;
33968
33969 *-*-beos* )
33970 SHARED_LD_CC="${LD} -shared -o"
33971 SHARED_LD_CXX="${LD} -shared -o"
33972 ;;
33973
33974 *-*-irix* )
33975 if test "x$GCC" != "xyes"; then
33976 PIC_FLAG="-KPIC"
33977 fi
33978 ;;
33979
33980 *-*-cygwin* | *-*-mingw32* )
33981 PIC_FLAG=""
33982 ;;
33983
33984 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
33985 *-*-sunos4* | \
33986 *-*-osf* | \
33987 *-*-dgux5* | \
33988 *-*-sysv5* )
33989 ;;
33990
33991 *)
33992 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
33993 echo "$as_me: error: unknown system type $host." >&2;}
33994 { (exit 1); exit 1; }; }
33995 esac
33996
33997
33998
33999
34000
34001
34002 USE_SOVERSION=0
34003 USE_SOVERLINUX=0
34004 USE_SOVERSOLARIS=0
34005 USE_SOSYMLINKS=0
34006 USE_MACVERSION=0
34007 SONAME_FLAG=
34008
34009 case "${host}" in
34010 *-*-linux* )
34011 SONAME_FLAG="-Wl,-soname,"
34012 USE_SOVERSION=1
34013 USE_SOVERLINUX=1
34014 USE_SOSYMLINKS=1
34015 ;;
34016
34017 *-*-solaris2* )
34018 SONAME_FLAG="-h "
34019 USE_SOVERSION=1
34020 USE_SOVERSOLARIS=1
34021 USE_SOSYMLINKS=1
34022 ;;
34023
34024 *-*-darwin* )
34025 USE_MACVERSION=1
34026 USE_SOVERSION=1
34027 USE_SOSYMLINKS=1
34028 ;;
34029 esac
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34040 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34041 DEPS_TRACKING=0
34042
34043 if test "x$GCC" = "xyes"; then
34044 DEPSMODE=gcc
34045 DEPS_TRACKING=1
34046 echo "$as_me:$LINENO: result: gcc" >&5
34047 echo "${ECHO_T}gcc" >&6
34048 else
34049 echo "$as_me:$LINENO: result: none" >&5
34050 echo "${ECHO_T}none" >&6
34051 fi
34052
34053 if test $DEPS_TRACKING = 1 ; then
34054 cat <<EOF >bk-deps
34055 #!/bin/sh
34056
34057 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
34058 # It is used to track C/C++ files dependencies in portable way.
34059 #
34060 # Permission is given to use this file in any way.
34061
34062 DEPSMODE=$DEPSMODE
34063 DEPSDIR=.deps
34064
34065 mkdir -p \$DEPSDIR
34066
34067 if test \$DEPSMODE = gcc ; then
34068 \${*} -MMD
34069 status=\${?}
34070 if test \${status} != 0 ; then
34071 exit \${status}
34072 fi
34073 # move created file to the location we want it in:
34074 while test \${#} -gt 0; do
34075 case "\${1}" in
34076 -o )
34077 shift
34078 objfile=\${1}
34079 ;;
34080 -* )
34081 ;;
34082 * )
34083 srcfile=\${1}
34084 ;;
34085 esac
34086 shift
34087 done
34088 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34089 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34090 if test -f \$depfile ; then
34091 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34092 rm -f \$depfile
34093 else
34094 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34095 if test -f \$depfile ; then
34096 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34097 rm -f \$depfile
34098 fi
34099 fi
34100 exit 0
34101 else
34102 \${*}
34103 exit \${?}
34104 fi
34105 EOF
34106 chmod +x bk-deps
34107 fi
34108
34109
34110
34111
34112 RESCOMP=
34113 SETFILE=
34114
34115 case ${host} in
34116 *-*-cygwin* | *-*-mingw32* )
34117 if test "$build" != "$host" ; then
34118 RESCOMP=$host_alias-windres
34119 else
34120 # Extract the first word of "windres", so it can be a program name with args.
34121 set dummy windres; ac_word=$2
34122 echo "$as_me:$LINENO: checking for $ac_word" >&5
34123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34124 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34125 echo $ECHO_N "(cached) $ECHO_C" >&6
34126 else
34127 if test -n "$RESCOMP"; then
34128 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34129 else
34130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34131 for as_dir in $PATH
34132 do
34133 IFS=$as_save_IFS
34134 test -z "$as_dir" && as_dir=.
34135 for ac_exec_ext in '' $ac_executable_extensions; do
34136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34137 ac_cv_prog_RESCOMP="windres"
34138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34139 break 2
34140 fi
34141 done
34142 done
34143
34144 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34145 fi
34146 fi
34147 RESCOMP=$ac_cv_prog_RESCOMP
34148 if test -n "$RESCOMP"; then
34149 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34150 echo "${ECHO_T}$RESCOMP" >&6
34151 else
34152 echo "$as_me:$LINENO: result: no" >&5
34153 echo "${ECHO_T}no" >&6
34154 fi
34155
34156 fi
34157 ;;
34158
34159 *-*-darwin* )
34160 # Extract the first word of "Rez", so it can be a program name with args.
34161 set dummy Rez; ac_word=$2
34162 echo "$as_me:$LINENO: checking for $ac_word" >&5
34163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34164 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34165 echo $ECHO_N "(cached) $ECHO_C" >&6
34166 else
34167 if test -n "$RESCOMP"; then
34168 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34169 else
34170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34171 for as_dir in $PATH
34172 do
34173 IFS=$as_save_IFS
34174 test -z "$as_dir" && as_dir=.
34175 for ac_exec_ext in '' $ac_executable_extensions; do
34176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34177 ac_cv_prog_RESCOMP="Rez"
34178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34179 break 2
34180 fi
34181 done
34182 done
34183
34184 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34185 fi
34186 fi
34187 RESCOMP=$ac_cv_prog_RESCOMP
34188 if test -n "$RESCOMP"; then
34189 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34190 echo "${ECHO_T}$RESCOMP" >&6
34191 else
34192 echo "$as_me:$LINENO: result: no" >&5
34193 echo "${ECHO_T}no" >&6
34194 fi
34195
34196 # Extract the first word of "SetFile", so it can be a program name with args.
34197 set dummy SetFile; ac_word=$2
34198 echo "$as_me:$LINENO: checking for $ac_word" >&5
34199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34200 if test "${ac_cv_prog_SETFILE+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 else
34203 if test -n "$SETFILE"; then
34204 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34205 else
34206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34207 for as_dir in $PATH
34208 do
34209 IFS=$as_save_IFS
34210 test -z "$as_dir" && as_dir=.
34211 for ac_exec_ext in '' $ac_executable_extensions; do
34212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34213 ac_cv_prog_SETFILE="SetFile"
34214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34215 break 2
34216 fi
34217 done
34218 done
34219
34220 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34221 fi
34222 fi
34223 SETFILE=$ac_cv_prog_SETFILE
34224 if test -n "$SETFILE"; then
34225 echo "$as_me:$LINENO: result: $SETFILE" >&5
34226 echo "${ECHO_T}$SETFILE" >&6
34227 else
34228 echo "$as_me:$LINENO: result: no" >&5
34229 echo "${ECHO_T}no" >&6
34230 fi
34231
34232 ;;
34233 esac
34234
34235
34236
34237
34238
34239
34240
34241 COND_BUILD_DEBUG="#"
34242 if test "x$BUILD" = "xdebug" ; then
34243 COND_BUILD_DEBUG=""
34244 fi
34245
34246 COND_BUILD_RELEASE="#"
34247 if test "x$BUILD" = "xrelease" ; then
34248 COND_BUILD_RELEASE=""
34249 fi
34250
34251 COND_DEPS_TRACKING_0="#"
34252 if test "x$DEPS_TRACKING" = "x0" ; then
34253 COND_DEPS_TRACKING_0=""
34254 fi
34255
34256 COND_DEPS_TRACKING_1="#"
34257 if test "x$DEPS_TRACKING" = "x1" ; then
34258 COND_DEPS_TRACKING_1=""
34259 fi
34260
34261 COND_MONOLITHIC_0="#"
34262 if test "x$MONOLITHIC" = "x0" ; then
34263 COND_MONOLITHIC_0=""
34264 fi
34265
34266 COND_MONOLITHIC_0_SHARED_0="#"
34267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34268 COND_MONOLITHIC_0_SHARED_0=""
34269 fi
34270
34271 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34273 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34274 fi
34275
34276 COND_MONOLITHIC_0_SHARED_1="#"
34277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34278 COND_MONOLITHIC_0_SHARED_1=""
34279 fi
34280
34281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34284 fi
34285
34286 COND_MONOLITHIC_1="#"
34287 if test "x$MONOLITHIC" = "x1" ; then
34288 COND_MONOLITHIC_1=""
34289 fi
34290
34291 COND_MONOLITHIC_1_SHARED_0="#"
34292 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34293 COND_MONOLITHIC_1_SHARED_0=""
34294 fi
34295
34296 COND_MONOLITHIC_1_SHARED_1="#"
34297 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34298 COND_MONOLITHIC_1_SHARED_1=""
34299 fi
34300
34301 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34302 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34303 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34304 fi
34305
34306 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34307 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34308 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34309 fi
34310
34311 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34312 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34313 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34314 fi
34315
34316 COND_PLATFORM_MACOSX_1="#"
34317 if test "x$PLATFORM_MACOSX" = "x1" ; then
34318 COND_PLATFORM_MACOSX_1=""
34319 fi
34320
34321 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34322 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34323 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34324 fi
34325
34326 COND_PLATFORM_UNIX_1="#"
34327 if test "x$PLATFORM_UNIX" = "x1" ; then
34328 COND_PLATFORM_UNIX_1=""
34329 fi
34330
34331 COND_PLATFORM_WIN32_0="#"
34332 if test "x$PLATFORM_WIN32" = "x0" ; then
34333 COND_PLATFORM_WIN32_0=""
34334 fi
34335
34336 COND_PLATFORM_WIN32_1="#"
34337 if test "x$PLATFORM_WIN32" = "x1" ; then
34338 COND_PLATFORM_WIN32_1=""
34339 fi
34340
34341 COND_TOOLKIT_COCOA="#"
34342 if test "x$TOOLKIT" = "xCOCOA" ; then
34343 COND_TOOLKIT_COCOA=""
34344 fi
34345
34346 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34347 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34348 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34349 fi
34350
34351 COND_TOOLKIT_GTK="#"
34352 if test "x$TOOLKIT" = "xGTK" ; then
34353 COND_TOOLKIT_GTK=""
34354 fi
34355
34356 COND_TOOLKIT_GTK_USE_GUI_1="#"
34357 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34358 COND_TOOLKIT_GTK_USE_GUI_1=""
34359 fi
34360
34361 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34362 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34363 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34364 fi
34365
34366 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34367 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34368 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34369 fi
34370
34371 COND_TOOLKIT_MAC="#"
34372 if test "x$TOOLKIT" = "xMAC" ; then
34373 COND_TOOLKIT_MAC=""
34374 fi
34375
34376 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34377 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34378 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34379 fi
34380
34381 COND_TOOLKIT_MGL="#"
34382 if test "x$TOOLKIT" = "xMGL" ; then
34383 COND_TOOLKIT_MGL=""
34384 fi
34385
34386 COND_TOOLKIT_MGL_USE_GUI_1="#"
34387 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34388 COND_TOOLKIT_MGL_USE_GUI_1=""
34389 fi
34390
34391 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34392 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34393 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34394 fi
34395
34396 COND_TOOLKIT_MOTIF="#"
34397 if test "x$TOOLKIT" = "xMOTIF" ; then
34398 COND_TOOLKIT_MOTIF=""
34399 fi
34400
34401 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34402 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34403 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34404 fi
34405
34406 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34407 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34408 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34409 fi
34410
34411 COND_TOOLKIT_MSW="#"
34412 if test "x$TOOLKIT" = "xMSW" ; then
34413 COND_TOOLKIT_MSW=""
34414 fi
34415
34416 COND_TOOLKIT_MSW_USE_GUI_1="#"
34417 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34418 COND_TOOLKIT_MSW_USE_GUI_1=""
34419 fi
34420
34421 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34422 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34423 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34424 fi
34425
34426 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34427 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34428 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34429 fi
34430
34431 COND_TOOLKIT_OS2="#"
34432 if test "x$TOOLKIT" = "xOS2" ; then
34433 COND_TOOLKIT_OS2=""
34434 fi
34435
34436 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34437 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34438 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34439 fi
34440
34441 COND_TOOLKIT_X11="#"
34442 if test "x$TOOLKIT" = "xX11" ; then
34443 COND_TOOLKIT_X11=""
34444 fi
34445
34446 COND_TOOLKIT_X11_USE_GUI_1="#"
34447 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34448 COND_TOOLKIT_X11_USE_GUI_1=""
34449 fi
34450
34451 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34452 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34453 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34454 fi
34455
34456 COND_UNICODE_1="#"
34457 if test "x$UNICODE" = "x1" ; then
34458 COND_UNICODE_1=""
34459 fi
34460
34461 COND_USE_GUI_0="#"
34462 if test "x$USE_GUI" = "x0" ; then
34463 COND_USE_GUI_0=""
34464 fi
34465
34466 COND_USE_GUI_1="#"
34467 if test "x$USE_GUI" = "x1" ; then
34468 COND_USE_GUI_1=""
34469 fi
34470
34471 COND_USE_GUI_1_WXUNIV_0="#"
34472 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34473 COND_USE_GUI_1_WXUNIV_0=""
34474 fi
34475
34476 COND_USE_GUI_1_WXUNIV_1="#"
34477 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34478 COND_USE_GUI_1_WXUNIV_1=""
34479 fi
34480
34481 COND_USE_SOSYMLINKS_1="#"
34482 if test "x$USE_SOSYMLINKS" = "x1" ; then
34483 COND_USE_SOSYMLINKS_1=""
34484 fi
34485
34486 COND_USE_SOVERLINUX_1="#"
34487 if test "x$USE_SOVERLINUX" = "x1" ; then
34488 COND_USE_SOVERLINUX_1=""
34489 fi
34490
34491 COND_USE_SOVERSION_0="#"
34492 if test "x$USE_SOVERSION" = "x0" ; then
34493 COND_USE_SOVERSION_0=""
34494 fi
34495
34496 COND_USE_SOVERSOLARIS_1="#"
34497 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34498 COND_USE_SOVERSOLARIS_1=""
34499 fi
34500
34501 COND_WXUNIV_1="#"
34502 if test "x$WXUNIV" = "x1" ; then
34503 COND_WXUNIV_1=""
34504 fi
34505
34506 COND_WXUSE_LIBJPEG_BUILTIN="#"
34507 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34508 COND_WXUSE_LIBJPEG_BUILTIN=""
34509 fi
34510
34511 COND_WXUSE_LIBPNG_BUILTIN="#"
34512 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34513 COND_WXUSE_LIBPNG_BUILTIN=""
34514 fi
34515
34516 COND_WXUSE_LIBTIFF_BUILTIN="#"
34517 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34518 COND_WXUSE_LIBTIFF_BUILTIN=""
34519 fi
34520
34521 COND_WXUSE_ODBC_BUILTIN="#"
34522 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34523 COND_WXUSE_ODBC_BUILTIN=""
34524 fi
34525
34526 COND_WXUSE_REGEX_BUILTIN="#"
34527 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34528 COND_WXUSE_REGEX_BUILTIN=""
34529 fi
34530
34531 COND_WXUSE_ZLIB_BUILTIN="#"
34532 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34533 COND_WXUSE_ZLIB_BUILTIN=""
34534 fi
34535
34536 COND_PLATFORM_MAC_1="#"
34537 if test "x$PLATFORM_MAC" = "x1" ; then
34538 COND_PLATFORM_MAC_1=""
34539 fi
34540
34541 COND_SHARED_1="#"
34542 if test "x$SHARED" = "x1" ; then
34543 COND_SHARED_1=""
34544 fi
34545
34546 COND_SHARED_0="#"
34547 if test "x$SHARED" = "x0" ; then
34548 COND_SHARED_0=""
34549 fi
34550
34551
34552
34553
34554
34555
34556 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34658 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34659 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34660 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34661 echo $ECHO_N "(cached) $ECHO_C" >&6
34662 else
34663 cat >conftest.make <<\_ACEOF
34664 all:
34665 @echo 'ac_maketemp="$(MAKE)"'
34666 _ACEOF
34667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34668 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34669 if test -n "$ac_maketemp"; then
34670 eval ac_cv_prog_make_${ac_make}_set=yes
34671 else
34672 eval ac_cv_prog_make_${ac_make}_set=no
34673 fi
34674 rm -f conftest.make
34675 fi
34676 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34677 echo "$as_me:$LINENO: result: yes" >&5
34678 echo "${ECHO_T}yes" >&6
34679 SET_MAKE=
34680 else
34681 echo "$as_me:$LINENO: result: no" >&5
34682 echo "${ECHO_T}no" >&6
34683 SET_MAKE="MAKE=${MAKE-make}"
34684 fi
34685
34686
34687 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34688 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34689 fi
34690
34691 ac_config_headers="$ac_config_headers setup.h"
34692
34693
34694 ac_config_files="$ac_config_files wx-config version-script Makefile"
34695
34696
34697 ac_config_commands="$ac_config_commands default"
34698
34699
34700
34701 if test "$wxUSE_GUI" = "yes"; then
34702 SUBDIRS="samples demos utils contrib"
34703 else SUBDIRS="samples utils"
34704 fi
34705
34706 for subdir in `echo $SUBDIRS`; do
34707 if test -d ${srcdir}/${subdir} ; then
34708 if test "$wxUSE_GUI" = "yes"; then
34709 if test ${subdir} = "samples"; then
34710 for sample in `echo $SAMPLES_SUBDIRS`; do
34711 if test -d $srcdir/samples/$sample; then
34712 makefiles="samples/$sample/Makefile.in $makefiles"
34713 fi
34714 done
34715 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34716 fi
34717 else if test ${subdir} = "samples"; then
34718 makefiles="samples/console/Makefile.in"
34719 else makefiles="utils/HelpGen/Makefile.in \
34720 utils/HelpGen/src/Makefile.in \
34721 utils/makegen/Makefile.in"
34722 fi
34723 fi
34724
34725 for mkin in $makefiles ; do
34726 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34727 ac_config_files="$ac_config_files $mk"
34728
34729 done
34730 fi
34731 done
34732
34733
34734 cat >confcache <<\_ACEOF
34735 # This file is a shell script that caches the results of configure
34736 # tests run on this system so they can be shared between configure
34737 # scripts and configure runs, see configure's option --config-cache.
34738 # It is not useful on other systems. If it contains results you don't
34739 # want to keep, you may remove or edit it.
34740 #
34741 # config.status only pays attention to the cache file if you give it
34742 # the --recheck option to rerun configure.
34743 #
34744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34746 # following values.
34747
34748 _ACEOF
34749
34750 # The following way of writing the cache mishandles newlines in values,
34751 # but we know of no workaround that is simple, portable, and efficient.
34752 # So, don't put newlines in cache variables' values.
34753 # Ultrix sh set writes to stderr and can't be redirected directly,
34754 # and sets the high bit in the cache file unless we assign to the vars.
34755 {
34756 (set) 2>&1 |
34757 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34758 *ac_space=\ *)
34759 # `set' does not quote correctly, so add quotes (double-quote
34760 # substitution turns \\\\ into \\, and sed turns \\ into \).
34761 sed -n \
34762 "s/'/'\\\\''/g;
34763 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34764 ;;
34765 *)
34766 # `set' quotes correctly as required by POSIX, so do not add quotes.
34767 sed -n \
34768 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34769 ;;
34770 esac;
34771 } |
34772 sed '
34773 t clear
34774 : clear
34775 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34776 t end
34777 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34778 : end' >>confcache
34779 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34780 if test -w $cache_file; then
34781 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34782 cat confcache >$cache_file
34783 else
34784 echo "not updating unwritable cache $cache_file"
34785 fi
34786 fi
34787 rm -f confcache
34788
34789 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34790 # Let make expand exec_prefix.
34791 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34792
34793 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34794 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34795 # trailing colons and then remove the whole line if VPATH becomes empty
34796 # (actually we leave an empty line to preserve line numbers).
34797 if test "x$srcdir" = x.; then
34798 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34799 s/:*\$(srcdir):*/:/;
34800 s/:*\${srcdir}:*/:/;
34801 s/:*@srcdir@:*/:/;
34802 s/^\([^=]*=[ ]*\):*/\1/;
34803 s/:*$//;
34804 s/^[^=]*=[ ]*$//;
34805 }'
34806 fi
34807
34808 DEFS=-DHAVE_CONFIG_H
34809
34810 ac_libobjs=
34811 ac_ltlibobjs=
34812 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34813 # 1. Remove the extension, and $U if already installed.
34814 ac_i=`echo "$ac_i" |
34815 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34816 # 2. Add them.
34817 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34818 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34819 done
34820 LIBOBJS=$ac_libobjs
34821
34822 LTLIBOBJS=$ac_ltlibobjs
34823
34824
34825
34826 : ${CONFIG_STATUS=./config.status}
34827 ac_clean_files_save=$ac_clean_files
34828 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34829 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34830 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34831 cat >$CONFIG_STATUS <<_ACEOF
34832 #! $SHELL
34833 # Generated by $as_me.
34834 # Run this file to recreate the current configuration.
34835 # Compiler output produced by configure, useful for debugging
34836 # configure, is in config.log if it exists.
34837
34838 debug=false
34839 ac_cs_recheck=false
34840 ac_cs_silent=false
34841 SHELL=\${CONFIG_SHELL-$SHELL}
34842 _ACEOF
34843
34844 cat >>$CONFIG_STATUS <<\_ACEOF
34845 ## --------------------- ##
34846 ## M4sh Initialization. ##
34847 ## --------------------- ##
34848
34849 # Be Bourne compatible
34850 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34851 emulate sh
34852 NULLCMD=:
34853 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34854 # is contrary to our usage. Disable this feature.
34855 alias -g '${1+"$@"}'='"$@"'
34856 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34857 set -o posix
34858 fi
34859
34860 # Support unset when possible.
34861 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34862 as_unset=unset
34863 else
34864 as_unset=false
34865 fi
34866
34867
34868 # Work around bugs in pre-3.0 UWIN ksh.
34869 $as_unset ENV MAIL MAILPATH
34870 PS1='$ '
34871 PS2='> '
34872 PS4='+ '
34873
34874 # NLS nuisances.
34875 for as_var in \
34876 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34877 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34878 LC_TELEPHONE LC_TIME
34879 do
34880 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34881 eval $as_var=C; export $as_var
34882 else
34883 $as_unset $as_var
34884 fi
34885 done
34886
34887 # Required to use basename.
34888 if expr a : '\(a\)' >/dev/null 2>&1; then
34889 as_expr=expr
34890 else
34891 as_expr=false
34892 fi
34893
34894 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34895 as_basename=basename
34896 else
34897 as_basename=false
34898 fi
34899
34900
34901 # Name of the executable.
34902 as_me=`$as_basename "$0" ||
34903 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34904 X"$0" : 'X\(//\)$' \| \
34905 X"$0" : 'X\(/\)$' \| \
34906 . : '\(.\)' 2>/dev/null ||
34907 echo X/"$0" |
34908 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34909 /^X\/\(\/\/\)$/{ s//\1/; q; }
34910 /^X\/\(\/\).*/{ s//\1/; q; }
34911 s/.*/./; q'`
34912
34913
34914 # PATH needs CR, and LINENO needs CR and PATH.
34915 # Avoid depending upon Character Ranges.
34916 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34917 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34918 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34919 as_cr_digits='0123456789'
34920 as_cr_alnum=$as_cr_Letters$as_cr_digits
34921
34922 # The user is always right.
34923 if test "${PATH_SEPARATOR+set}" != set; then
34924 echo "#! /bin/sh" >conf$$.sh
34925 echo "exit 0" >>conf$$.sh
34926 chmod +x conf$$.sh
34927 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34928 PATH_SEPARATOR=';'
34929 else
34930 PATH_SEPARATOR=:
34931 fi
34932 rm -f conf$$.sh
34933 fi
34934
34935
34936 as_lineno_1=$LINENO
34937 as_lineno_2=$LINENO
34938 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34939 test "x$as_lineno_1" != "x$as_lineno_2" &&
34940 test "x$as_lineno_3" = "x$as_lineno_2" || {
34941 # Find who we are. Look in the path if we contain no path at all
34942 # relative or not.
34943 case $0 in
34944 *[\\/]* ) as_myself=$0 ;;
34945 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34946 for as_dir in $PATH
34947 do
34948 IFS=$as_save_IFS
34949 test -z "$as_dir" && as_dir=.
34950 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34951 done
34952
34953 ;;
34954 esac
34955 # We did not find ourselves, most probably we were run as `sh COMMAND'
34956 # in which case we are not to be found in the path.
34957 if test "x$as_myself" = x; then
34958 as_myself=$0
34959 fi
34960 if test ! -f "$as_myself"; then
34961 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34962 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34963 { (exit 1); exit 1; }; }
34964 fi
34965 case $CONFIG_SHELL in
34966 '')
34967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34968 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34969 do
34970 IFS=$as_save_IFS
34971 test -z "$as_dir" && as_dir=.
34972 for as_base in sh bash ksh sh5; do
34973 case $as_dir in
34974 /*)
34975 if ("$as_dir/$as_base" -c '
34976 as_lineno_1=$LINENO
34977 as_lineno_2=$LINENO
34978 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34979 test "x$as_lineno_1" != "x$as_lineno_2" &&
34980 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34981 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34982 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34983 CONFIG_SHELL=$as_dir/$as_base
34984 export CONFIG_SHELL
34985 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34986 fi;;
34987 esac
34988 done
34989 done
34990 ;;
34991 esac
34992
34993 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34994 # uniformly replaced by the line number. The first 'sed' inserts a
34995 # line-number line before each line; the second 'sed' does the real
34996 # work. The second script uses 'N' to pair each line-number line
34997 # with the numbered line, and appends trailing '-' during
34998 # substitution so that $LINENO is not a special case at line end.
34999 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35000 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35001 sed '=' <$as_myself |
35002 sed '
35003 N
35004 s,$,-,
35005 : loop
35006 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35007 t loop
35008 s,-$,,
35009 s,^['$as_cr_digits']*\n,,
35010 ' >$as_me.lineno &&
35011 chmod +x $as_me.lineno ||
35012 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35013 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35014 { (exit 1); exit 1; }; }
35015
35016 # Don't try to exec as it changes $[0], causing all sort of problems
35017 # (the dirname of $[0] is not the place where we might find the
35018 # original and so on. Autoconf is especially sensible to this).
35019 . ./$as_me.lineno
35020 # Exit status is that of the last command.
35021 exit
35022 }
35023
35024
35025 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35026 *c*,-n*) ECHO_N= ECHO_C='
35027 ' ECHO_T=' ' ;;
35028 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35029 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35030 esac
35031
35032 if expr a : '\(a\)' >/dev/null 2>&1; then
35033 as_expr=expr
35034 else
35035 as_expr=false
35036 fi
35037
35038 rm -f conf$$ conf$$.exe conf$$.file
35039 echo >conf$$.file
35040 if ln -s conf$$.file conf$$ 2>/dev/null; then
35041 # We could just check for DJGPP; but this test a) works b) is more generic
35042 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35043 if test -f conf$$.exe; then
35044 # Don't use ln at all; we don't have any links
35045 as_ln_s='cp -p'
35046 else
35047 as_ln_s='ln -s'
35048 fi
35049 elif ln conf$$.file conf$$ 2>/dev/null; then
35050 as_ln_s=ln
35051 else
35052 as_ln_s='cp -p'
35053 fi
35054 rm -f conf$$ conf$$.exe conf$$.file
35055
35056 if mkdir -p . 2>/dev/null; then
35057 as_mkdir_p=:
35058 else
35059 as_mkdir_p=false
35060 fi
35061
35062 as_executable_p="test -f"
35063
35064 # Sed expression to map a string onto a valid CPP name.
35065 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35066
35067 # Sed expression to map a string onto a valid variable name.
35068 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35069
35070
35071 # IFS
35072 # We need space, tab and new line, in precisely that order.
35073 as_nl='
35074 '
35075 IFS=" $as_nl"
35076
35077 # CDPATH.
35078 $as_unset CDPATH
35079
35080 exec 6>&1
35081
35082 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35083 # report actual input values of CONFIG_FILES etc. instead of their
35084 # values after options handling. Logging --version etc. is OK.
35085 exec 5>>config.log
35086 {
35087 echo
35088 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35089 ## Running $as_me. ##
35090 _ASBOX
35091 } >&5
35092 cat >&5 <<_CSEOF
35093
35094 This file was extended by wxWindows $as_me 2.5.0, which was
35095 generated by GNU Autoconf 2.57. Invocation command line was
35096
35097 CONFIG_FILES = $CONFIG_FILES
35098 CONFIG_HEADERS = $CONFIG_HEADERS
35099 CONFIG_LINKS = $CONFIG_LINKS
35100 CONFIG_COMMANDS = $CONFIG_COMMANDS
35101 $ $0 $@
35102
35103 _CSEOF
35104 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35105 echo >&5
35106 _ACEOF
35107
35108 # Files that config.status was made for.
35109 if test -n "$ac_config_files"; then
35110 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35111 fi
35112
35113 if test -n "$ac_config_headers"; then
35114 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35115 fi
35116
35117 if test -n "$ac_config_links"; then
35118 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35119 fi
35120
35121 if test -n "$ac_config_commands"; then
35122 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35123 fi
35124
35125 cat >>$CONFIG_STATUS <<\_ACEOF
35126
35127 ac_cs_usage="\
35128 \`$as_me' instantiates files from templates according to the
35129 current configuration.
35130
35131 Usage: $0 [OPTIONS] [FILE]...
35132
35133 -h, --help print this help, then exit
35134 -V, --version print version number, then exit
35135 -q, --quiet do not print progress messages
35136 -d, --debug don't remove temporary files
35137 --recheck update $as_me by reconfiguring in the same conditions
35138 --file=FILE[:TEMPLATE]
35139 instantiate the configuration file FILE
35140 --header=FILE[:TEMPLATE]
35141 instantiate the configuration header FILE
35142
35143 Configuration files:
35144 $config_files
35145
35146 Configuration headers:
35147 $config_headers
35148
35149 Configuration commands:
35150 $config_commands
35151
35152 Report bugs to <bug-autoconf@gnu.org>."
35153 _ACEOF
35154
35155 cat >>$CONFIG_STATUS <<_ACEOF
35156 ac_cs_version="\\
35157 wxWindows config.status 2.5.0
35158 configured by $0, generated by GNU Autoconf 2.57,
35159 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35160
35161 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35162 Free Software Foundation, Inc.
35163 This config.status script is free software; the Free Software Foundation
35164 gives unlimited permission to copy, distribute and modify it."
35165 srcdir=$srcdir
35166 INSTALL="$INSTALL"
35167 _ACEOF
35168
35169 cat >>$CONFIG_STATUS <<\_ACEOF
35170 # If no file are specified by the user, then we need to provide default
35171 # value. By we need to know if files were specified by the user.
35172 ac_need_defaults=:
35173 while test $# != 0
35174 do
35175 case $1 in
35176 --*=*)
35177 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35178 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35179 ac_shift=:
35180 ;;
35181 -*)
35182 ac_option=$1
35183 ac_optarg=$2
35184 ac_shift=shift
35185 ;;
35186 *) # This is not an option, so the user has probably given explicit
35187 # arguments.
35188 ac_option=$1
35189 ac_need_defaults=false;;
35190 esac
35191
35192 case $ac_option in
35193 # Handling of the options.
35194 _ACEOF
35195 cat >>$CONFIG_STATUS <<\_ACEOF
35196 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35197 ac_cs_recheck=: ;;
35198 --version | --vers* | -V )
35199 echo "$ac_cs_version"; exit 0 ;;
35200 --he | --h)
35201 # Conflict between --help and --header
35202 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35203 Try \`$0 --help' for more information." >&5
35204 echo "$as_me: error: ambiguous option: $1
35205 Try \`$0 --help' for more information." >&2;}
35206 { (exit 1); exit 1; }; };;
35207 --help | --hel | -h )
35208 echo "$ac_cs_usage"; exit 0 ;;
35209 --debug | --d* | -d )
35210 debug=: ;;
35211 --file | --fil | --fi | --f )
35212 $ac_shift
35213 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35214 ac_need_defaults=false;;
35215 --header | --heade | --head | --hea )
35216 $ac_shift
35217 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35218 ac_need_defaults=false;;
35219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35220 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35221 ac_cs_silent=: ;;
35222
35223 # This is an error.
35224 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35225 Try \`$0 --help' for more information." >&5
35226 echo "$as_me: error: unrecognized option: $1
35227 Try \`$0 --help' for more information." >&2;}
35228 { (exit 1); exit 1; }; } ;;
35229
35230 *) ac_config_targets="$ac_config_targets $1" ;;
35231
35232 esac
35233 shift
35234 done
35235
35236 ac_configure_extra_args=
35237
35238 if $ac_cs_silent; then
35239 exec 6>/dev/null
35240 ac_configure_extra_args="$ac_configure_extra_args --silent"
35241 fi
35242
35243 _ACEOF
35244 cat >>$CONFIG_STATUS <<_ACEOF
35245 if \$ac_cs_recheck; then
35246 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35247 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35248 fi
35249
35250 _ACEOF
35251
35252 cat >>$CONFIG_STATUS <<_ACEOF
35253 #
35254 # INIT-COMMANDS section.
35255 #
35256
35257
35258 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35259 LN_S="${LN_S}"
35260
35261
35262
35263 _ACEOF
35264
35265
35266
35267 cat >>$CONFIG_STATUS <<\_ACEOF
35268 for ac_config_target in $ac_config_targets
35269 do
35270 case "$ac_config_target" in
35271 # Handling of arguments.
35272 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35273 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35274 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35275 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35276 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35277 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35278 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35279 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35280 { (exit 1); exit 1; }; };;
35281 esac
35282 done
35283
35284 # If the user did not use the arguments to specify the items to instantiate,
35285 # then the envvar interface is used. Set only those that are not.
35286 # We use the long form for the default assignment because of an extremely
35287 # bizarre bug on SunOS 4.1.3.
35288 if $ac_need_defaults; then
35289 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35290 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35291 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35292 fi
35293
35294 # Have a temporary directory for convenience. Make it in the build tree
35295 # simply because there is no reason to put it here, and in addition,
35296 # creating and moving files from /tmp can sometimes cause problems.
35297 # Create a temporary directory, and hook for its removal unless debugging.
35298 $debug ||
35299 {
35300 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35301 trap '{ (exit 1); exit 1; }' 1 2 13 15
35302 }
35303
35304 # Create a (secure) tmp directory for tmp files.
35305
35306 {
35307 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35308 test -n "$tmp" && test -d "$tmp"
35309 } ||
35310 {
35311 tmp=./confstat$$-$RANDOM
35312 (umask 077 && mkdir $tmp)
35313 } ||
35314 {
35315 echo "$me: cannot create a temporary directory in ." >&2
35316 { (exit 1); exit 1; }
35317 }
35318
35319 _ACEOF
35320
35321 cat >>$CONFIG_STATUS <<_ACEOF
35322
35323 #
35324 # CONFIG_FILES section.
35325 #
35326
35327 # No need to generate the scripts if there are no CONFIG_FILES.
35328 # This happens for instance when ./config.status config.h
35329 if test -n "\$CONFIG_FILES"; then
35330 # Protect against being on the right side of a sed subst in config.status.
35331 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35332 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35333 s,@SHELL@,$SHELL,;t t
35334 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35335 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35336 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35337 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35338 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35339 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35340 s,@exec_prefix@,$exec_prefix,;t t
35341 s,@prefix@,$prefix,;t t
35342 s,@program_transform_name@,$program_transform_name,;t t
35343 s,@bindir@,$bindir,;t t
35344 s,@sbindir@,$sbindir,;t t
35345 s,@libexecdir@,$libexecdir,;t t
35346 s,@datadir@,$datadir,;t t
35347 s,@sysconfdir@,$sysconfdir,;t t
35348 s,@sharedstatedir@,$sharedstatedir,;t t
35349 s,@localstatedir@,$localstatedir,;t t
35350 s,@libdir@,$libdir,;t t
35351 s,@includedir@,$includedir,;t t
35352 s,@oldincludedir@,$oldincludedir,;t t
35353 s,@infodir@,$infodir,;t t
35354 s,@mandir@,$mandir,;t t
35355 s,@build_alias@,$build_alias,;t t
35356 s,@host_alias@,$host_alias,;t t
35357 s,@target_alias@,$target_alias,;t t
35358 s,@DEFS@,$DEFS,;t t
35359 s,@ECHO_C@,$ECHO_C,;t t
35360 s,@ECHO_N@,$ECHO_N,;t t
35361 s,@ECHO_T@,$ECHO_T,;t t
35362 s,@LIBS@,$LIBS,;t t
35363 s,@build@,$build,;t t
35364 s,@build_cpu@,$build_cpu,;t t
35365 s,@build_vendor@,$build_vendor,;t t
35366 s,@build_os@,$build_os,;t t
35367 s,@host@,$host,;t t
35368 s,@host_cpu@,$host_cpu,;t t
35369 s,@host_vendor@,$host_vendor,;t t
35370 s,@host_os@,$host_os,;t t
35371 s,@target@,$target,;t t
35372 s,@target_cpu@,$target_cpu,;t t
35373 s,@target_vendor@,$target_vendor,;t t
35374 s,@target_os@,$target_os,;t t
35375 s,@CC@,$CC,;t t
35376 s,@CFLAGS@,$CFLAGS,;t t
35377 s,@LDFLAGS@,$LDFLAGS,;t t
35378 s,@CPPFLAGS@,$CPPFLAGS,;t t
35379 s,@ac_ct_CC@,$ac_ct_CC,;t t
35380 s,@EXEEXT@,$EXEEXT,;t t
35381 s,@OBJEXT@,$OBJEXT,;t t
35382 s,@CPP@,$CPP,;t t
35383 s,@EGREP@,$EGREP,;t t
35384 s,@CXX@,$CXX,;t t
35385 s,@CXXFLAGS@,$CXXFLAGS,;t t
35386 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35387 s,@RANLIB@,$RANLIB,;t t
35388 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35389 s,@AR@,$AR,;t t
35390 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35391 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35392 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35393 s,@STRIP@,$STRIP,;t t
35394 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35395 s,@YACC@,$YACC,;t t
35396 s,@LEX@,$LEX,;t t
35397 s,@LEXLIB@,$LEXLIB,;t t
35398 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35399 s,@LN_S@,$LN_S,;t t
35400 s,@CXXCPP@,$CXXCPP,;t t
35401 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35402 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35403 s,@GTK_LIBS@,$GTK_LIBS,;t t
35404 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35405 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35406 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35407 s,@X_CFLAGS@,$X_CFLAGS,;t t
35408 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35409 s,@X_LIBS@,$X_LIBS,;t t
35410 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35411 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35412 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35413 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35414 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35415 s,@RESCOMP@,$RESCOMP,;t t
35416 s,@DEREZ@,$DEREZ,;t t
35417 s,@SETFILE@,$SETFILE,;t t
35418 s,@LIBICONV@,$LIBICONV,;t t
35419 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35420 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35421 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35422 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35423 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35424 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35425 s,@VENDOR@,$VENDOR,;t t
35426 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35427 s,@WXUNIV@,$WXUNIV,;t t
35428 s,@MONOLITHIC@,$MONOLITHIC,;t t
35429 s,@EXTRALIBS@,$EXTRALIBS,;t t
35430 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35431 s,@UNICODE@,$UNICODE,;t t
35432 s,@BUILD@,$BUILD,;t t
35433 s,@SHARED@,$SHARED,;t t
35434 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35435 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35436 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35437 s,@SET_MAKE@,$SET_MAKE,;t t
35438 s,@MAKE_SET@,$MAKE_SET,;t t
35439 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35440 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35441 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35442 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35443 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35444 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35445 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35446 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35447 s,@DLLPREFIX@,$DLLPREFIX,;t t
35448 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35449 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35450 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35451 s,@PIC_FLAG@,$PIC_FLAG,;t t
35452 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35453 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35454 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35455 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35456 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35457 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35458 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35459 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35460 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35461 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35462 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35463 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35464 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35465 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35466 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35467 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35468 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35469 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35470 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35471 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35472 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35473 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35474 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35475 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35476 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35477 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35478 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35479 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35480 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35481 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35482 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35483 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35484 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35485 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35486 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35487 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35488 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35489 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35490 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35491 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35492 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35493 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35494 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35495 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35496 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35497 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35498 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35499 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35500 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35501 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35502 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35503 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35504 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35505 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35506 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35507 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35508 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35509 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35510 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35511 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35512 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35513 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35514 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35515 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35516 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35517 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35518 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35519 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35520 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35521 s,@LEX_STEM@,$LEX_STEM,;t t
35522 s,@PATH_IFS@,$PATH_IFS,;t t
35523 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35524 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35525 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35526 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35527 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35528 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35529 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35530 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35531 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35532 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35533 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35534 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35535 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35536 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35537 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35538 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35539 s,@WX_ALL@,$WX_ALL,;t t
35540 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35541 s,@SHARED_LD@,$SHARED_LD,;t t
35542 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35543 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35544 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35545 s,@USE_GUI@,$USE_GUI,;t t
35546 s,@AFMINSTALL@,$AFMINSTALL,;t t
35547 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35548 s,@TOOLKIT@,$TOOLKIT,;t t
35549 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35550 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35551 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35552 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35553 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35554 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35555 s,@cross_compiling@,$cross_compiling,;t t
35556 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35557 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35558 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35559 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35560 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35561 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35562 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35563 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35564 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35565 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35566 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35567 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35568 s,@GUIDIST@,$GUIDIST,;t t
35569 s,@PORT_FILES@,$PORT_FILES,;t t
35570 s,@DISTDIR@,$DISTDIR,;t t
35571 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35572 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35573 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35574 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35575 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35576 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35577 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35578 s,@RESFLAGS@,$RESFLAGS,;t t
35579 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35580 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35581 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35582 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35583 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35584 s,@MACRESCOMP@,$MACRESCOMP,;t t
35585 s,@MACSETFILE@,$MACSETFILE,;t t
35586 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35587 s,@GCC@,$GCC,;t t
35588 s,@DLLTOOL@,$DLLTOOL,;t t
35589 s,@AS@,$AS,;t t
35590 s,@NM@,$NM,;t t
35591 s,@LD@,$LD,;t t
35592 s,@MAKEINFO@,$MAKEINFO,;t t
35593 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35594 s,@ESD_LINK@,$ESD_LINK,;t t
35595 s,@LIBOBJS@,$LIBOBJS,;t t
35596 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35597 CEOF
35598
35599 _ACEOF
35600
35601 cat >>$CONFIG_STATUS <<\_ACEOF
35602 # Split the substitutions into bite-sized pieces for seds with
35603 # small command number limits, like on Digital OSF/1 and HP-UX.
35604 ac_max_sed_lines=48
35605 ac_sed_frag=1 # Number of current file.
35606 ac_beg=1 # First line for current file.
35607 ac_end=$ac_max_sed_lines # Line after last line for current file.
35608 ac_more_lines=:
35609 ac_sed_cmds=
35610 while $ac_more_lines; do
35611 if test $ac_beg -gt 1; then
35612 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35613 else
35614 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35615 fi
35616 if test ! -s $tmp/subs.frag; then
35617 ac_more_lines=false
35618 else
35619 # The purpose of the label and of the branching condition is to
35620 # speed up the sed processing (if there are no `@' at all, there
35621 # is no need to browse any of the substitutions).
35622 # These are the two extra sed commands mentioned above.
35623 (echo ':t
35624 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35625 if test -z "$ac_sed_cmds"; then
35626 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35627 else
35628 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35629 fi
35630 ac_sed_frag=`expr $ac_sed_frag + 1`
35631 ac_beg=$ac_end
35632 ac_end=`expr $ac_end + $ac_max_sed_lines`
35633 fi
35634 done
35635 if test -z "$ac_sed_cmds"; then
35636 ac_sed_cmds=cat
35637 fi
35638 fi # test -n "$CONFIG_FILES"
35639
35640 _ACEOF
35641 cat >>$CONFIG_STATUS <<\_ACEOF
35642 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35643 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35644 case $ac_file in
35645 - | *:- | *:-:* ) # input from stdin
35646 cat >$tmp/stdin
35647 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35648 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35649 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35650 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35651 * ) ac_file_in=$ac_file.in ;;
35652 esac
35653
35654 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35655 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35656 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35657 X"$ac_file" : 'X\(//\)[^/]' \| \
35658 X"$ac_file" : 'X\(//\)$' \| \
35659 X"$ac_file" : 'X\(/\)' \| \
35660 . : '\(.\)' 2>/dev/null ||
35661 echo X"$ac_file" |
35662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35664 /^X\(\/\/\)$/{ s//\1/; q; }
35665 /^X\(\/\).*/{ s//\1/; q; }
35666 s/.*/./; q'`
35667 { if $as_mkdir_p; then
35668 mkdir -p "$ac_dir"
35669 else
35670 as_dir="$ac_dir"
35671 as_dirs=
35672 while test ! -d "$as_dir"; do
35673 as_dirs="$as_dir $as_dirs"
35674 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35675 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35676 X"$as_dir" : 'X\(//\)[^/]' \| \
35677 X"$as_dir" : 'X\(//\)$' \| \
35678 X"$as_dir" : 'X\(/\)' \| \
35679 . : '\(.\)' 2>/dev/null ||
35680 echo X"$as_dir" |
35681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35682 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35683 /^X\(\/\/\)$/{ s//\1/; q; }
35684 /^X\(\/\).*/{ s//\1/; q; }
35685 s/.*/./; q'`
35686 done
35687 test ! -n "$as_dirs" || mkdir $as_dirs
35688 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35689 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35690 { (exit 1); exit 1; }; }; }
35691
35692 ac_builddir=.
35693
35694 if test "$ac_dir" != .; then
35695 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35696 # A "../" for each directory in $ac_dir_suffix.
35697 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35698 else
35699 ac_dir_suffix= ac_top_builddir=
35700 fi
35701
35702 case $srcdir in
35703 .) # No --srcdir option. We are building in place.
35704 ac_srcdir=.
35705 if test -z "$ac_top_builddir"; then
35706 ac_top_srcdir=.
35707 else
35708 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35709 fi ;;
35710 [\\/]* | ?:[\\/]* ) # Absolute path.
35711 ac_srcdir=$srcdir$ac_dir_suffix;
35712 ac_top_srcdir=$srcdir ;;
35713 *) # Relative path.
35714 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35715 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35716 esac
35717 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35718 # absolute.
35719 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35720 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35721 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35722 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35723
35724
35725 case $INSTALL in
35726 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35727 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35728 esac
35729
35730 if test x"$ac_file" != x-; then
35731 { echo "$as_me:$LINENO: creating $ac_file" >&5
35732 echo "$as_me: creating $ac_file" >&6;}
35733 rm -f "$ac_file"
35734 fi
35735 # Let's still pretend it is `configure' which instantiates (i.e., don't
35736 # use $as_me), people would be surprised to read:
35737 # /* config.h. Generated by config.status. */
35738 if test x"$ac_file" = x-; then
35739 configure_input=
35740 else
35741 configure_input="$ac_file. "
35742 fi
35743 configure_input=$configure_input"Generated from `echo $ac_file_in |
35744 sed 's,.*/,,'` by configure."
35745
35746 # First look for the input files in the build tree, otherwise in the
35747 # src tree.
35748 ac_file_inputs=`IFS=:
35749 for f in $ac_file_in; do
35750 case $f in
35751 -) echo $tmp/stdin ;;
35752 [\\/$]*)
35753 # Absolute (can't be DOS-style, as IFS=:)
35754 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35755 echo "$as_me: error: cannot find input file: $f" >&2;}
35756 { (exit 1); exit 1; }; }
35757 echo $f;;
35758 *) # Relative
35759 if test -f "$f"; then
35760 # Build tree
35761 echo $f
35762 elif test -f "$srcdir/$f"; then
35763 # Source tree
35764 echo $srcdir/$f
35765 else
35766 # /dev/null tree
35767 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35768 echo "$as_me: error: cannot find input file: $f" >&2;}
35769 { (exit 1); exit 1; }; }
35770 fi;;
35771 esac
35772 done` || { (exit 1); exit 1; }
35773 _ACEOF
35774 cat >>$CONFIG_STATUS <<_ACEOF
35775 sed "$ac_vpsub
35776 $extrasub
35777 _ACEOF
35778 cat >>$CONFIG_STATUS <<\_ACEOF
35779 :t
35780 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35781 s,@configure_input@,$configure_input,;t t
35782 s,@srcdir@,$ac_srcdir,;t t
35783 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35784 s,@top_srcdir@,$ac_top_srcdir,;t t
35785 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35786 s,@builddir@,$ac_builddir,;t t
35787 s,@abs_builddir@,$ac_abs_builddir,;t t
35788 s,@top_builddir@,$ac_top_builddir,;t t
35789 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35790 s,@INSTALL@,$ac_INSTALL,;t t
35791 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35792 rm -f $tmp/stdin
35793 if test x"$ac_file" != x-; then
35794 mv $tmp/out $ac_file
35795 else
35796 cat $tmp/out
35797 rm -f $tmp/out
35798 fi
35799
35800 done
35801 _ACEOF
35802 cat >>$CONFIG_STATUS <<\_ACEOF
35803
35804 #
35805 # CONFIG_HEADER section.
35806 #
35807
35808 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35809 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35810 #
35811 # ac_d sets the value in "#define NAME VALUE" lines.
35812 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35813 ac_dB='[ ].*$,\1#\2'
35814 ac_dC=' '
35815 ac_dD=',;t'
35816 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35817 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35818 ac_uB='$,\1#\2define\3'
35819 ac_uC=' '
35820 ac_uD=',;t'
35821
35822 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35823 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35824 case $ac_file in
35825 - | *:- | *:-:* ) # input from stdin
35826 cat >$tmp/stdin
35827 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35828 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35829 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35830 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35831 * ) ac_file_in=$ac_file.in ;;
35832 esac
35833
35834 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35835 echo "$as_me: creating $ac_file" >&6;}
35836
35837 # First look for the input files in the build tree, otherwise in the
35838 # src tree.
35839 ac_file_inputs=`IFS=:
35840 for f in $ac_file_in; do
35841 case $f in
35842 -) echo $tmp/stdin ;;
35843 [\\/$]*)
35844 # Absolute (can't be DOS-style, as IFS=:)
35845 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35846 echo "$as_me: error: cannot find input file: $f" >&2;}
35847 { (exit 1); exit 1; }; }
35848 echo $f;;
35849 *) # Relative
35850 if test -f "$f"; then
35851 # Build tree
35852 echo $f
35853 elif test -f "$srcdir/$f"; then
35854 # Source tree
35855 echo $srcdir/$f
35856 else
35857 # /dev/null tree
35858 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35859 echo "$as_me: error: cannot find input file: $f" >&2;}
35860 { (exit 1); exit 1; }; }
35861 fi;;
35862 esac
35863 done` || { (exit 1); exit 1; }
35864 # Remove the trailing spaces.
35865 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35866
35867 _ACEOF
35868
35869 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35870 # `conftest.undefs', that substitutes the proper values into
35871 # config.h.in to produce config.h. The first handles `#define'
35872 # templates, and the second `#undef' templates.
35873 # And first: Protect against being on the right side of a sed subst in
35874 # config.status. Protect against being in an unquoted here document
35875 # in config.status.
35876 rm -f conftest.defines conftest.undefs
35877 # Using a here document instead of a string reduces the quoting nightmare.
35878 # Putting comments in sed scripts is not portable.
35879 #
35880 # `end' is used to avoid that the second main sed command (meant for
35881 # 0-ary CPP macros) applies to n-ary macro definitions.
35882 # See the Autoconf documentation for `clear'.
35883 cat >confdef2sed.sed <<\_ACEOF
35884 s/[\\&,]/\\&/g
35885 s,[\\$`],\\&,g
35886 t clear
35887 : clear
35888 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35889 t end
35890 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35891 : end
35892 _ACEOF
35893 # If some macros were called several times there might be several times
35894 # the same #defines, which is useless. Nevertheless, we may not want to
35895 # sort them, since we want the *last* AC-DEFINE to be honored.
35896 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35897 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35898 rm -f confdef2sed.sed
35899
35900 # This sed command replaces #undef with comments. This is necessary, for
35901 # example, in the case of _POSIX_SOURCE, which is predefined and required
35902 # on some systems where configure will not decide to define it.
35903 cat >>conftest.undefs <<\_ACEOF
35904 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35905 _ACEOF
35906
35907 # Break up conftest.defines because some shells have a limit on the size
35908 # of here documents, and old seds have small limits too (100 cmds).
35909 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35910 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35911 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35912 echo ' :' >>$CONFIG_STATUS
35913 rm -f conftest.tail
35914 while grep . conftest.defines >/dev/null
35915 do
35916 # Write a limited-size here document to $tmp/defines.sed.
35917 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35918 # Speed up: don't consider the non `#define' lines.
35919 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35920 # Work around the forget-to-reset-the-flag bug.
35921 echo 't clr' >>$CONFIG_STATUS
35922 echo ': clr' >>$CONFIG_STATUS
35923 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35924 echo 'CEOF
35925 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35926 rm -f $tmp/in
35927 mv $tmp/out $tmp/in
35928 ' >>$CONFIG_STATUS
35929 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35930 rm -f conftest.defines
35931 mv conftest.tail conftest.defines
35932 done
35933 rm -f conftest.defines
35934 echo ' fi # grep' >>$CONFIG_STATUS
35935 echo >>$CONFIG_STATUS
35936
35937 # Break up conftest.undefs because some shells have a limit on the size
35938 # of here documents, and old seds have small limits too (100 cmds).
35939 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35940 rm -f conftest.tail
35941 while grep . conftest.undefs >/dev/null
35942 do
35943 # Write a limited-size here document to $tmp/undefs.sed.
35944 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35945 # Speed up: don't consider the non `#undef'
35946 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35947 # Work around the forget-to-reset-the-flag bug.
35948 echo 't clr' >>$CONFIG_STATUS
35949 echo ': clr' >>$CONFIG_STATUS
35950 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35951 echo 'CEOF
35952 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35953 rm -f $tmp/in
35954 mv $tmp/out $tmp/in
35955 ' >>$CONFIG_STATUS
35956 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35957 rm -f conftest.undefs
35958 mv conftest.tail conftest.undefs
35959 done
35960 rm -f conftest.undefs
35961
35962 cat >>$CONFIG_STATUS <<\_ACEOF
35963 # Let's still pretend it is `configure' which instantiates (i.e., don't
35964 # use $as_me), people would be surprised to read:
35965 # /* config.h. Generated by config.status. */
35966 if test x"$ac_file" = x-; then
35967 echo "/* Generated by configure. */" >$tmp/config.h
35968 else
35969 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35970 fi
35971 cat $tmp/in >>$tmp/config.h
35972 rm -f $tmp/in
35973 if test x"$ac_file" != x-; then
35974 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35975 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35976 echo "$as_me: $ac_file is unchanged" >&6;}
35977 else
35978 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35979 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35980 X"$ac_file" : 'X\(//\)[^/]' \| \
35981 X"$ac_file" : 'X\(//\)$' \| \
35982 X"$ac_file" : 'X\(/\)' \| \
35983 . : '\(.\)' 2>/dev/null ||
35984 echo X"$ac_file" |
35985 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35986 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35987 /^X\(\/\/\)$/{ s//\1/; q; }
35988 /^X\(\/\).*/{ s//\1/; q; }
35989 s/.*/./; q'`
35990 { if $as_mkdir_p; then
35991 mkdir -p "$ac_dir"
35992 else
35993 as_dir="$ac_dir"
35994 as_dirs=
35995 while test ! -d "$as_dir"; do
35996 as_dirs="$as_dir $as_dirs"
35997 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35999 X"$as_dir" : 'X\(//\)[^/]' \| \
36000 X"$as_dir" : 'X\(//\)$' \| \
36001 X"$as_dir" : 'X\(/\)' \| \
36002 . : '\(.\)' 2>/dev/null ||
36003 echo X"$as_dir" |
36004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36005 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36006 /^X\(\/\/\)$/{ s//\1/; q; }
36007 /^X\(\/\).*/{ s//\1/; q; }
36008 s/.*/./; q'`
36009 done
36010 test ! -n "$as_dirs" || mkdir $as_dirs
36011 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36012 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36013 { (exit 1); exit 1; }; }; }
36014
36015 rm -f $ac_file
36016 mv $tmp/config.h $ac_file
36017 fi
36018 else
36019 cat $tmp/config.h
36020 rm -f $tmp/config.h
36021 fi
36022 done
36023 _ACEOF
36024 cat >>$CONFIG_STATUS <<\_ACEOF
36025
36026 #
36027 # CONFIG_COMMANDS section.
36028 #
36029 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36030 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36031 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36032 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36033 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36034 X"$ac_dest" : 'X\(//\)[^/]' \| \
36035 X"$ac_dest" : 'X\(//\)$' \| \
36036 X"$ac_dest" : 'X\(/\)' \| \
36037 . : '\(.\)' 2>/dev/null ||
36038 echo X"$ac_dest" |
36039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36040 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36041 /^X\(\/\/\)$/{ s//\1/; q; }
36042 /^X\(\/\).*/{ s//\1/; q; }
36043 s/.*/./; q'`
36044 ac_builddir=.
36045
36046 if test "$ac_dir" != .; then
36047 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36048 # A "../" for each directory in $ac_dir_suffix.
36049 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36050 else
36051 ac_dir_suffix= ac_top_builddir=
36052 fi
36053
36054 case $srcdir in
36055 .) # No --srcdir option. We are building in place.
36056 ac_srcdir=.
36057 if test -z "$ac_top_builddir"; then
36058 ac_top_srcdir=.
36059 else
36060 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36061 fi ;;
36062 [\\/]* | ?:[\\/]* ) # Absolute path.
36063 ac_srcdir=$srcdir$ac_dir_suffix;
36064 ac_top_srcdir=$srcdir ;;
36065 *) # Relative path.
36066 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36067 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36068 esac
36069 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36070 # absolute.
36071 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36072 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36073 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36074 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36075
36076
36077 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36078 echo "$as_me: executing $ac_dest commands" >&6;}
36079 case $ac_dest in
36080 default )
36081 if test ! -h wx-config; then
36082 chmod +x wx-config
36083 mv wx-config wx${TOOLCHAIN_NAME}-config
36084 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36085 fi
36086
36087 if test ! -d lib; then
36088 mkdir lib
36089 fi
36090 if test ! -d lib/wx; then
36091 mkdir lib/wx
36092 fi
36093 if test ! -d lib/wx/include; then
36094 mkdir lib/wx/include
36095 fi
36096 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36097 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36098 fi
36099 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36100 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36101 fi
36102 if test -f setup.h; then
36103 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36104 fi
36105 ;;
36106 esac
36107 done
36108 _ACEOF
36109
36110 cat >>$CONFIG_STATUS <<\_ACEOF
36111
36112 { (exit 0); exit 0; }
36113 _ACEOF
36114 chmod +x $CONFIG_STATUS
36115 ac_clean_files=$ac_clean_files_save
36116
36117
36118 # configure is writing to config.log, and then calls config.status.
36119 # config.status does its own redirection, appending to config.log.
36120 # Unfortunately, on DOS this fails, as config.log is still kept open
36121 # by configure, so config.status won't be able to write to it; its
36122 # output is simply discarded. So we exec the FD to /dev/null,
36123 # effectively closing config.log, so it can be properly (re)opened and
36124 # appended to by config.status. When coming back to configure, we
36125 # need to make the FD available again.
36126 if test "$no_create" != yes; then
36127 ac_cs_success=:
36128 ac_config_status_args=
36129 test "$silent" = yes &&
36130 ac_config_status_args="$ac_config_status_args --quiet"
36131 exec 5>/dev/null
36132 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36133 exec 5>>config.log
36134 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36135 # would make configure fail if this is the last instruction.
36136 $ac_cs_success || { (exit 1); exit 1; }
36137 fi
36138
36139
36140 echo
36141 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36142 echo ""
36143 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36144 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36145
36146 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36147 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36148 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36149
36150 echo " What level of wxWindows compatibility should be enabled?"
36151 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36152 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36153 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36154
36155 echo " Which libraries should wxWindows use?"
36156 echo " jpeg ${wxUSE_LIBJPEG-none}"
36157 echo " png ${wxUSE_LIBPNG-none}"
36158 echo " regex ${wxUSE_REGEX}"
36159 echo " tiff ${wxUSE_LIBTIFF-none}"
36160 echo " zlib ${wxUSE_ZLIB}"
36161 echo " odbc ${wxUSE_ODBC}"
36162
36163 echo ""
36164