]> git.saurik.com Git - wxWidgets.git/blob - configure
moving to autoconf-2.5x
[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 AIX_CXX_LD RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF WXUNIV MONOLITHIC EXTRALIBS UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX DLLPREFIX SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TYPE COND_WXUSE_ZLIB_BUILTIN COND_UNICODE_1 COND_BUILD_DEBUG COND_WXUSE_REGEX_BUILTIN COND_USE_SOSYMLINKS_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_SHARED_1_MONOLITHIC_1 COND_WXUSE_ODBC_BUILTIN COND_TOOLKIT_GTK COND_TOOLKIT_MOTIF COND_TOOLKIT_MSW COND_TOOLKIT_MAC COND_TOOLKIT_COCOA COND_TOOLKIT_OS2 COND_TOOLKIT_X11 COND_TOOLKIT_MGL COND_WXUNIV_1 COND_WXUSE_LIBTIFF_BUILTIN COND_PLATFORM_UNIX_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_WIN32_1 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1 COND_PLATFORM_WIN32_0 COND_MONOLITHIC_1 COND_MONOLITHIC_0 COND_USE_GUI_1 COND_DEPS_TYPE_GCC COND_USE_GUI_0 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_SHARED_0_MONOLITHIC_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSOLARIS_1 COND_PLATFORM_MAC_1 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 CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX SONAME_FLAGS SONAME_FLAGS_GL WX_TARGET_LIBRARY_SONAME 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 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 --enable-universal use wxWindows GUI controls instead of native ones
870 --enable-nanox use NanoX
871 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
872 --enable-shared create shared library code
873 --enable-soname set the DT_SONAME field in ELF shared libraries
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)
877 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
878 --enable-debug_info create code with debugging information
879 --enable-debug_gdb create code with extra GDB debugging information
880 --enable-debug_cntxt use wxDebugContext
881 --enable-mem_tracing create code with memory tracing
882 --enable-profile create code with profiling information
883 --enable-no_rtti create code without RTTI information
884 --enable-no_exceptions create code without C++ exceptions handling
885 --enable-permissive compile code disregarding strict ANSI
886 --enable-no_deps create code without dependency information
887 --enable-compat20 enable wxWindows 2.0 compatibility
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --disable-largefile omit support for large files
1027 --disable-gtktest do not try to compile and run a test GTK+ program
1028 --disable-gtktest Do not try to compile and run a test GTK program
1029
1030 Optional Packages:
1031 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1032 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1033 --with-gtk use GTK+
1034 --with-motif use Motif/Lesstif
1035 --with-mac use Mac OS X
1036 --with-cocoa use Cocoa
1037 --with-wine use Wine
1038 --with-msw use MS-Windows
1039 --with-pm use OS/2 Presentation Manager
1040 --with-mgl use SciTech MGL
1041 --with-microwin use MicroWindows
1042 --with-x11 use X11
1043 --with-libpng use libpng (PNG image format)
1044 --with-libjpeg use libjpeg (JPEG file format)
1045 --with-libtiff use libtiff (TIFF file format)
1046 --with-opengl use OpenGL (or Mesa)
1047 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1048 --with-regex enable support for wxRegEx class
1049 --with-zlib use zlib for LZW compression
1050 --with-odbc use the IODBC and wxODBC classes
1051 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1052 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1053 --with-x use the X Window System
1054 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1055
1056 Some influential environment variables:
1057 CC C compiler command
1058 CFLAGS C compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CPP C preprocessor
1064 CXX C++ compiler command
1065 CXXFLAGS C++ compiler flags
1066 CXXCPP C++ preprocessor
1067
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1070
1071 Report bugs to <wx-dev@lists.wxwindows.org>.
1072 _ACEOF
1073 fi
1074
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1077 ac_popdir=`pwd`
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1080 ac_builddir=.
1081
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1086 else
1087 ac_dir_suffix= ac_top_builddir=
1088 fi
1089
1090 case $srcdir in
1091 .) # No --srcdir option. We are building in place.
1092 ac_srcdir=.
1093 if test -z "$ac_top_builddir"; then
1094 ac_top_srcdir=.
1095 else
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1097 fi ;;
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1101 *) # Relative path.
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1104 esac
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1106 # absolute.
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1111
1112 cd $ac_dir
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1115 echo
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1118 echo
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1122 echo
1123 $ac_configure --help
1124 else
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1126 fi
1127 cd $ac_popdir
1128 done
1129 fi
1130
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1133 cat <<\_ACEOF
1134 wxWindows configure 2.5.0
1135 generated by GNU Autoconf 2.57
1136
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1141 _ACEOF
1142 exit 0
1143 fi
1144 exec 5>config.log
1145 cat >&5 <<_ACEOF
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1148
1149 It was created by wxWindows $as_me 2.5.0, which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1151
1152 $ $0 $@
1153
1154 _ACEOF
1155 {
1156 cat <<_ASUNAME
1157 ## --------- ##
1158 ## Platform. ##
1159 ## --------- ##
1160
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1166
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1169
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1177
1178 _ASUNAME
1179
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1181 for as_dir in $PATH
1182 do
1183 IFS=$as_save_IFS
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1186 done
1187
1188 } >&5
1189
1190 cat >&5 <<_ACEOF
1191
1192
1193 ## ----------- ##
1194 ## Core tests. ##
1195 ## ----------- ##
1196
1197 _ACEOF
1198
1199
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1205 ac_configure_args=
1206 ac_configure_args0=
1207 ac_configure_args1=
1208 ac_sep=
1209 ac_must_keep_next=false
1210 for ac_pass in 1 2
1211 do
1212 for ac_arg
1213 do
1214 case $ac_arg in
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1218 continue ;;
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1221 esac
1222 case $ac_pass in
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1224 2)
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1228 else
1229 case $ac_arg in
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1236 esac
1237 ;;
1238 -* ) ac_must_keep_next=true ;;
1239 esac
1240 fi
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1243 ac_sep=" "
1244 ;;
1245 esac
1246 done
1247 done
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1250
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1258 {
1259 echo
1260
1261 cat <<\_ASBOX
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1265 _ASBOX
1266 echo
1267 # The following way of writing the cache mishandles newlines in values,
1268 {
1269 (set) 2>&1 |
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1271 *ac_space=\ *)
1272 sed -n \
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1275 ;;
1276 *)
1277 sed -n \
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1279 ;;
1280 esac;
1281 }
1282 echo
1283
1284 cat <<\_ASBOX
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1288 _ASBOX
1289 echo
1290 for ac_var in $ac_subst_vars
1291 do
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1294 done | sort
1295 echo
1296
1297 if test -n "$ac_subst_files"; then
1298 cat <<\_ASBOX
1299 ## ------------- ##
1300 ## Output files. ##
1301 ## ------------- ##
1302 _ASBOX
1303 echo
1304 for ac_var in $ac_subst_files
1305 do
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1308 done | sort
1309 echo
1310 fi
1311
1312 if test -s confdefs.h; then
1313 cat <<\_ASBOX
1314 ## ----------- ##
1315 ## confdefs.h. ##
1316 ## ----------- ##
1317 _ASBOX
1318 echo
1319 sed "/^$/d" confdefs.h | sort
1320 echo
1321 fi
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1325 } >&5
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1328 exit $exit_status
1329 ' 0
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1332 done
1333 ac_signal=0
1334
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1338 echo >confdefs.h
1339
1340 # Predefined preprocessor variables.
1341
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1344 _ACEOF
1345
1346
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1349 _ACEOF
1350
1351
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1354 _ACEOF
1355
1356
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1359 _ACEOF
1360
1361
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1364 _ACEOF
1365
1366
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1372 else
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1374 fi
1375 fi
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1381 . "$ac_site_file"
1382 fi
1383 done
1384
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1391 case $cache_file in
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1394 esac
1395 fi
1396 else
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1399 >$cache_file
1400 fi
1401
1402 # Check that the precious variables saved in the cache have kept the same
1403 # value.
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1412 set,)
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1416 ,set)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,);;
1421 *)
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1430 fi;;
1431 esac
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1434 case $ac_new_val in
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1438 esac
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1442 esac
1443 fi
1444 done
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1451 fi
1452
1453 ac_ext=c
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488 ac_aux_dir=
1489 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1490 if test -f $ac_dir/install-sh; then
1491 ac_aux_dir=$ac_dir
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 break
1494 elif test -f $ac_dir/install.sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 break
1498 elif test -f $ac_dir/shtool; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1501 break
1502 fi
1503 done
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1507 { (exit 1); exit 1; }; }
1508 fi
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512
1513 # Make sure we can run config.sub.
1514 $ac_config_sub sun4 >/dev/null 2>&1 ||
1515 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1516 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1517 { (exit 1); exit 1; }; }
1518
1519 echo "$as_me:$LINENO: checking build system type" >&5
1520 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1521 if test "${ac_cv_build+set}" = set; then
1522 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 else
1524 ac_cv_build_alias=$build_alias
1525 test -z "$ac_cv_build_alias" &&
1526 ac_cv_build_alias=`$ac_config_guess`
1527 test -z "$ac_cv_build_alias" &&
1528 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1529 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1530 { (exit 1); exit 1; }; }
1531 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1532 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1533 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1534 { (exit 1); exit 1; }; }
1535
1536 fi
1537 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1538 echo "${ECHO_T}$ac_cv_build" >&6
1539 build=$ac_cv_build
1540 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1541 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1542 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1543
1544
1545 echo "$as_me:$LINENO: checking host system type" >&5
1546 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1547 if test "${ac_cv_host+set}" = set; then
1548 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 else
1550 ac_cv_host_alias=$host_alias
1551 test -z "$ac_cv_host_alias" &&
1552 ac_cv_host_alias=$ac_cv_build_alias
1553 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1554 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1555 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1556 { (exit 1); exit 1; }; }
1557
1558 fi
1559 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1560 echo "${ECHO_T}$ac_cv_host" >&6
1561 host=$ac_cv_host
1562 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1563 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1564 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1565
1566
1567 echo "$as_me:$LINENO: checking target system type" >&5
1568 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1569 if test "${ac_cv_target+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1571 else
1572 ac_cv_target_alias=$target_alias
1573 test "x$ac_cv_target_alias" = "x" &&
1574 ac_cv_target_alias=$ac_cv_host_alias
1575 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1576 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1577 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1578 { (exit 1); exit 1; }; }
1579
1580 fi
1581 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1582 echo "${ECHO_T}$ac_cv_target" >&6
1583 target=$ac_cv_target
1584 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1585 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1586 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1587
1588
1589 # The aliases save the names the user supplied, while $host etc.
1590 # will get canonicalized.
1591 test -n "$target_alias" &&
1592 test "$program_prefix$program_suffix$program_transform_name" = \
1593 NONENONEs,x,x, &&
1594 program_prefix=${target_alias}-
1595
1596
1597
1598 WX_MAJOR_VERSION_NUMBER=2
1599 WX_MINOR_VERSION_NUMBER=5
1600 WX_RELEASE_NUMBER=0
1601
1602 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1603 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1604
1605 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1606
1607 WX_CURRENT=0
1608 WX_REVISION=0
1609 WX_AGE=0
1610
1611
1612
1613 USE_UNIX=1
1614 USE_WIN32=0
1615 USE_DOS=0
1616 USE_BEOS=0
1617 USE_MAC=0
1618
1619 USE_AIX=
1620 USE_BSD= USE_DARWIN= USE_FREEBSD=
1621 USE_GNU= USE_HPUX=
1622 USE_LINUX=
1623 USE_NETBSD=
1624 USE_OPENBSD=
1625 USE_OSF= USE_SGI=
1626 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1627 USE_ULTRIX=
1628 USE_UNIXWARE=
1629
1630 USE_ALPHA=
1631
1632 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1633
1634 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1635
1636 DEFAULT_wxUSE_COCOA=0
1637 DEFAULT_wxUSE_GTK=0
1638 DEFAULT_wxUSE_MAC=0
1639 DEFAULT_wxUSE_MGL=0
1640 DEFAULT_wxUSE_MICROWIN=0
1641 DEFAULT_wxUSE_MOTIF=0
1642 DEFAULT_wxUSE_MSW=0
1643 DEFAULT_wxUSE_PM=0
1644 DEFAULT_wxUSE_X11=0
1645
1646 DEFAULT_DEFAULT_wxUSE_COCOA=0
1647 DEFAULT_DEFAULT_wxUSE_GTK=0
1648 DEFAULT_DEFAULT_wxUSE_MAC=0
1649 DEFAULT_DEFAULT_wxUSE_MGL=0
1650 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1651 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1652 DEFAULT_DEFAULT_wxUSE_MSW=0
1653 DEFAULT_DEFAULT_wxUSE_PM=0
1654 DEFAULT_DEFAULT_wxUSE_X11=0
1655
1656 PROGRAM_EXT=
1657 SO_SUFFIX=so
1658 SAMPLES_RPATH_FLAG=
1659
1660 case "${host}" in
1661 *-hp-hpux* )
1662 USE_HPUX=1
1663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1664 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1665 SO_SUFFIX=sl
1666 cat >>confdefs.h <<\_ACEOF
1667 #define __HPUX__ 1
1668 _ACEOF
1669
1670 ;;
1671 *-*-linux* )
1672 USE_LINUX=1
1673 cat >>confdefs.h <<\_ACEOF
1674 #define __LINUX__ 1
1675 _ACEOF
1676
1677 TMP=`uname -m`
1678 if test "x$TMP" = "xalpha"; then
1679 USE_ALPHA=1
1680 cat >>confdefs.h <<\_ACEOF
1681 #define __ALPHA__ 1
1682 _ACEOF
1683
1684 fi
1685 DEFAULT_DEFAULT_wxUSE_GTK=1
1686 ;;
1687 *-*-gnu* )
1688 USE_GNU=1
1689 cat >>confdefs.h <<\_ACEOF
1690 #define __GNU__ 1
1691 _ACEOF
1692
1693 TMP=`uname -m`
1694 if test "x$TMP" = "xalpha"; then
1695 USE_ALPHA=1
1696 cat >>confdefs.h <<\_ACEOF
1697 #define __ALPHA__ 1
1698 _ACEOF
1699
1700 fi
1701 DEFAULT_DEFAULT_wxUSE_GTK=1
1702 ;;
1703 *-*-irix5* | *-*-irix6* )
1704 USE_SGI=1
1705 USE_SVR4=1
1706 cat >>confdefs.h <<\_ACEOF
1707 #define __SGI__ 1
1708 _ACEOF
1709
1710 cat >>confdefs.h <<\_ACEOF
1711 #define __SVR4__ 1
1712 _ACEOF
1713
1714 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1715 ;;
1716 *-*-solaris2* )
1717 USE_SUN=1
1718 USE_SOLARIS=1
1719 USE_SVR4=1
1720 cat >>confdefs.h <<\_ACEOF
1721 #define __SUN__ 1
1722 _ACEOF
1723
1724 cat >>confdefs.h <<\_ACEOF
1725 #define __SOLARIS__ 1
1726 _ACEOF
1727
1728 cat >>confdefs.h <<\_ACEOF
1729 #define __SVR4__ 1
1730 _ACEOF
1731
1732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1734 ;;
1735 *-*-sunos4* )
1736 USE_SUN=1
1737 USE_SUNOS=1
1738 USE_BSD=1
1739 cat >>confdefs.h <<\_ACEOF
1740 #define __SUN__ 1
1741 _ACEOF
1742
1743 cat >>confdefs.h <<\_ACEOF
1744 #define __SUNOS__ 1
1745 _ACEOF
1746
1747 cat >>confdefs.h <<\_ACEOF
1748 #define __BSD__ 1
1749 _ACEOF
1750
1751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1752 ;;
1753 *-*-freebsd*)
1754 USE_BSD=1
1755 USE_FREEBSD=1
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __FREEBSD__ 1
1758 _ACEOF
1759
1760 cat >>confdefs.h <<\_ACEOF
1761 #define __BSD__ 1
1762 _ACEOF
1763
1764 DEFAULT_DEFAULT_wxUSE_GTK=1
1765 ;;
1766 *-*-openbsd*)
1767 USE_BSD=1
1768 USE_OPENBSD=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __OPENBSD__ 1
1771 _ACEOF
1772
1773 cat >>confdefs.h <<\_ACEOF
1774 #define __BSD__ 1
1775 _ACEOF
1776
1777 DEFAULT_DEFAULT_wxUSE_GTK=1
1778 ;;
1779 *-*-netbsd*)
1780 USE_BSD=1
1781 USE_NETBSD=1
1782 cat >>confdefs.h <<\_ACEOF
1783 #define __NETBSD__ 1
1784 _ACEOF
1785
1786 cat >>confdefs.h <<\_ACEOF
1787 #define __BSD__ 1
1788 _ACEOF
1789
1790 DEFAULT_DEFAULT_wxUSE_GTK=1
1791 ;;
1792 *-*-osf* )
1793 USE_ALPHA=1
1794 USE_OSF=1
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __ALPHA__ 1
1797 _ACEOF
1798
1799 cat >>confdefs.h <<\_ACEOF
1800 #define __OSF__ 1
1801 _ACEOF
1802
1803 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1805 ;;
1806 *-*-dgux5* )
1807 USE_ALPHA=1
1808 USE_SVR4=1
1809 cat >>confdefs.h <<\_ACEOF
1810 #define __ALPHA__ 1
1811 _ACEOF
1812
1813 cat >>confdefs.h <<\_ACEOF
1814 #define __SVR4__ 1
1815 _ACEOF
1816
1817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1818 ;;
1819 *-*-sysv5* )
1820 USE_SYSV=1
1821 USE_SVR4=1
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __SYSV__ 1
1824 _ACEOF
1825
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __SVR4__ 1
1828 _ACEOF
1829
1830 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1831 ;;
1832 *-*-aix* )
1833 USE_AIX=1
1834 USE_SYSV=1
1835 USE_SVR4=1
1836 SO_SUFFIX=a
1837 cat >>confdefs.h <<\_ACEOF
1838 #define __AIX__ 1
1839 _ACEOF
1840
1841 cat >>confdefs.h <<\_ACEOF
1842 #define __SYSV__ 1
1843 _ACEOF
1844
1845 cat >>confdefs.h <<\_ACEOF
1846 #define __SVR4__ 1
1847 _ACEOF
1848
1849 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1850 ;;
1851
1852 *-*-*UnixWare*)
1853 USE_SYSV=1
1854 USE_SVR4=1
1855 USE_UNIXWARE=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __UNIXWARE__ 1
1858 _ACEOF
1859
1860 ;;
1861
1862 *-*-cygwin* | *-*-mingw32* )
1863 SO_SUFFIX=dll
1864 PROGRAM_EXT=".exe"
1865 RESCOMP=windres
1866 DEFAULT_DEFAULT_wxUSE_MSW=1
1867 ;;
1868
1869 *-pc-msdosdjgpp )
1870 USE_UNIX=0
1871 USE_DOS=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __DOS__ 1
1874 _ACEOF
1875
1876 PROGRAM_EXT=".exe"
1877 DEFAULT_DEFAULT_wxUSE_MGL=1
1878 LIBS="$LIBS -lstdc++"
1879 ;;
1880
1881 *-pc-os2_emx | *-pc-os2-emx )
1882 cat >>confdefs.h <<\_ACEOF
1883 #define __EMX__ 1
1884 _ACEOF
1885
1886 PROGRAM_EXT=".exe"
1887 DEFAULT_DEFAULT_wxUSE_PM=1
1888 ;;
1889
1890 powerpc-*-darwin* )
1891 USE_BSD=1
1892 USE_DARWIN=1
1893 SO_SUFFIX=dylib
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __BSD__ 1
1896 _ACEOF
1897
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __DARWIN__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __POWERPC__ 1
1904 _ACEOF
1905
1906 cat >>confdefs.h <<\_ACEOF
1907 #define TARGET_CARBON 1
1908 _ACEOF
1909
1910 DEFAULT_DEFAULT_wxUSE_MAC=1
1911 ;;
1912
1913 *-*-beos* )
1914 USE_BEOS=1
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __BEOS__ 1
1917 _ACEOF
1918
1919 ;;
1920
1921 *)
1922 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1923 echo "$as_me: error: unknown system type ${host}." >&2;}
1924 { (exit 1); exit 1; }; }
1925 esac
1926
1927
1928
1929
1930 wx_arg_cache_file="configarg.cache"
1931 echo "loading argument cache $wx_arg_cache_file"
1932 rm -f ${wx_arg_cache_file}.tmp
1933 touch ${wx_arg_cache_file}.tmp
1934 touch ${wx_arg_cache_file}
1935
1936
1937 DEBUG_CONFIGURE=0
1938 if test $DEBUG_CONFIGURE = 1; then
1939 DEFAULT_wxUSE_UNIVERSAL=no
1940
1941 DEFAULT_wxUSE_NANOX=no
1942
1943 DEFAULT_wxUSE_THREADS=yes
1944
1945 DEFAULT_wxUSE_SHARED=yes
1946 DEFAULT_wxUSE_SONAME=no
1947 DEFAULT_wxUSE_OPTIMISE=no
1948 DEFAULT_wxUSE_PROFILE=no
1949 DEFAULT_wxUSE_NO_DEPS=no
1950 DEFAULT_wxUSE_NO_RTTI=no
1951 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1952 DEFAULT_wxUSE_PERMISSIVE=no
1953 DEFAULT_wxUSE_DEBUG_FLAG=yes
1954 DEFAULT_wxUSE_DEBUG_INFO=yes
1955 DEFAULT_wxUSE_DEBUG_GDB=yes
1956 DEFAULT_wxUSE_MEM_TRACING=no
1957 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1958 DEFAULT_wxUSE_DMALLOC=no
1959 DEFAULT_wxUSE_PRECOMP=no
1960 DEFAULT_wxUSE_APPLE_IEEE=no
1961
1962 DEFAULT_wxUSE_LOG=yes
1963 DEFAULT_wxUSE_LOGWINDOW=no
1964 DEFAULT_wxUSE_LOGGUI=no
1965 DEFAULT_wxUSE_LOGDIALOG=no
1966
1967 DEFAULT_wxUSE_GUI=yes
1968 DEFAULT_wxUSE_CONTROLS=no
1969
1970 DEFAULT_wxUSE_REGEX=no
1971 DEFAULT_wxUSE_ZLIB=no
1972 DEFAULT_wxUSE_LIBPNG=no
1973 DEFAULT_wxUSE_LIBJPEG=no
1974 DEFAULT_wxUSE_LIBTIFF=no
1975 DEFAULT_wxUSE_ODBC=no
1976 DEFAULT_wxUSE_OPENGL=no
1977
1978 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1979 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1980 DEFAULT_wxUSE_STD_IOSTREAM=no
1981 DEFAULT_wxUSE_CMDLINE_PARSER=no
1982 DEFAULT_wxUSE_DATETIME=no
1983 DEFAULT_wxUSE_TIMER=no
1984 DEFAULT_wxUSE_STOPWATCH=no
1985 DEFAULT_wxUSE_FILE=no
1986 DEFAULT_wxUSE_FFILE=no
1987 DEFAULT_wxUSE_TEXTBUFFER=no
1988 DEFAULT_wxUSE_TEXTFILE=no
1989 DEFAULT_wxUSE_WAVE=no
1990 DEFAULT_wxUSE_INTL=no
1991 DEFAULT_wxUSE_CONFIG=no
1992 DEFAULT_wxUSE_FONTMAP=no
1993 DEFAULT_wxUSE_STREAMS=no
1994 DEFAULT_wxUSE_SOCKETS=no
1995 DEFAULT_wxUSE_OLE=no
1996 DEFAULT_wxUSE_DATAOBJ=no
1997 DEFAULT_wxUSE_DIALUP_MANAGER=no
1998 DEFAULT_wxUSE_JOYSTICK=no
1999 DEFAULT_wxUSE_DYNLIB_CLASS=no
2000 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2001 DEFAULT_wxUSE_LONGLONG=no
2002 DEFAULT_wxUSE_GEOMETRY=no
2003
2004 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2005 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2006 DEFAULT_wxUSE_POSTSCRIPT=no
2007
2008 DEFAULT_wxUSE_CLIPBOARD=no
2009 DEFAULT_wxUSE_TOOLTIPS=no
2010 DEFAULT_wxUSE_DRAG_AND_DROP=no
2011 DEFAULT_wxUSE_DRAGIMAGE=no
2012 DEFAULT_wxUSE_SPLINES=no
2013
2014 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2015 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2016 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2017
2018 DEFAULT_wxUSE_RESOURCES=no
2019 DEFAULT_wxUSE_CONSTRAINTS=no
2020 DEFAULT_wxUSE_IPC=no
2021 DEFAULT_wxUSE_HELP=no
2022 DEFAULT_wxUSE_MS_HTML_HELP=no
2023 DEFAULT_wxUSE_WXHTML_HELP=no
2024 DEFAULT_wxUSE_TREELAYOUT=no
2025 DEFAULT_wxUSE_METAFILE=no
2026 DEFAULT_wxUSE_MIMETYPE=no
2027 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2028 DEFAULT_wxUSE_PROTOCOL=no
2029 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2030 DEFAULT_wxUSE_PROTOCOL_FTP=no
2031 DEFAULT_wxUSE_PROTOCOL_FILE=no
2032 DEFAULT_wxUSE_URL=no
2033
2034 DEFAULT_wxUSE_COMMONDLGS=no
2035 DEFAULT_wxUSE_CHOICEDLG=no
2036 DEFAULT_wxUSE_COLOURDLG=no
2037 DEFAULT_wxUSE_DIRDLG=no
2038 DEFAULT_wxUSE_FILEDLG=no
2039 DEFAULT_wxUSE_FINDREPLDLG=no
2040 DEFAULT_wxUSE_FONTDLG=no
2041 DEFAULT_wxUSE_MSGDLG=no
2042 DEFAULT_wxUSE_NUMBERDLG=no
2043 DEFAULT_wxUSE_TEXTDLG=no
2044 DEFAULT_wxUSE_SPLASH=no
2045 DEFAULT_wxUSE_STARTUP_TIPS=no
2046 DEFAULT_wxUSE_PROGRESSDLG=no
2047 DEFAULT_wxUSE_WIZARDDLG=no
2048
2049 DEFAULT_wxUSE_MENUS=no
2050 DEFAULT_wxUSE_MINIFRAME=no
2051 DEFAULT_wxUSE_HTML=no
2052 DEFAULT_wxUSE_FILESYSTEM=no
2053 DEFAULT_wxUSE_FS_INET=no
2054 DEFAULT_wxUSE_FS_ZIP=no
2055 DEFAULT_wxUSE_BUSYINFO=no
2056 DEFAULT_wxUSE_ZIPSTREAM=no
2057 DEFAULT_wxUSE_VALIDATORS=no
2058
2059 DEFAULT_wxUSE_ACCEL=no
2060 DEFAULT_wxUSE_BUTTON=no
2061 DEFAULT_wxUSE_BMPBUTTON=no
2062 DEFAULT_wxUSE_CALCTRL=no
2063 DEFAULT_wxUSE_CARET=no
2064 DEFAULT_wxUSE_CHECKBOX=no
2065 DEFAULT_wxUSE_CHECKLST=no
2066 DEFAULT_wxUSE_CHOICE=no
2067 DEFAULT_wxUSE_COMBOBOX=no
2068 DEFAULT_wxUSE_DISPLAY=no
2069 DEFAULT_wxUSE_GAUGE=no
2070 DEFAULT_wxUSE_GRID=no
2071 DEFAULT_wxUSE_IMAGLIST=no
2072 DEFAULT_wxUSE_LISTBOX=no
2073 DEFAULT_wxUSE_LISTCTRL=no
2074 DEFAULT_wxUSE_NOTEBOOK=no
2075 DEFAULT_wxUSE_RADIOBOX=no
2076 DEFAULT_wxUSE_RADIOBTN=no
2077 DEFAULT_wxUSE_SASH=no
2078 DEFAULT_wxUSE_SCROLLBAR=no
2079 DEFAULT_wxUSE_SLIDER=no
2080 DEFAULT_wxUSE_SPINBTN=no
2081 DEFAULT_wxUSE_SPINCTRL=no
2082 DEFAULT_wxUSE_SPLITTER=no
2083 DEFAULT_wxUSE_STATBMP=no
2084 DEFAULT_wxUSE_STATBOX=no
2085 DEFAULT_wxUSE_STATLINE=no
2086 DEFAULT_wxUSE_STATTEXT=no
2087 DEFAULT_wxUSE_STATUSBAR=yes
2088 DEFAULT_wxUSE_TABDIALOG=no
2089 DEFAULT_wxUSE_TEXTCTRL=no
2090 DEFAULT_wxUSE_TOGGLEBTN=no
2091 DEFAULT_wxUSE_TOOLBAR=no
2092 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2093 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2094 DEFAULT_wxUSE_TREECTRL=no
2095 DEFAULT_wxUSE_POPUPWIN=no
2096 DEFAULT_wxUSE_TIPWINDOW=no
2097
2098 DEFAULT_wxUSE_UNICODE=no
2099 DEFAULT_wxUSE_UNICODE_MSLU=no
2100 DEFAULT_wxUSE_WCSRTOMBS=no
2101
2102 DEFAULT_wxUSE_PALETTE=no
2103 DEFAULT_wxUSE_IMAGE=no
2104 DEFAULT_wxUSE_GIF=no
2105 DEFAULT_wxUSE_PCX=no
2106 DEFAULT_wxUSE_PNM=no
2107 DEFAULT_wxUSE_IFF=no
2108 DEFAULT_wxUSE_XPM=no
2109 DEFAULT_wxUSE_ICO_CUR=no
2110 DEFAULT_wxUSE_ACCESSIBILITY=no
2111 else
2112 DEFAULT_wxUSE_UNIVERSAL=no
2113
2114 DEFAULT_wxUSE_NANOX=no
2115
2116 DEFAULT_wxUSE_THREADS=yes
2117
2118 DEFAULT_wxUSE_SHARED=yes
2119 DEFAULT_wxUSE_SONAME=no
2120 DEFAULT_wxUSE_OPTIMISE=yes
2121 DEFAULT_wxUSE_PROFILE=no
2122 DEFAULT_wxUSE_NO_DEPS=no
2123 DEFAULT_wxUSE_NO_RTTI=no
2124 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2125 DEFAULT_wxUSE_PERMISSIVE=no
2126 DEFAULT_wxUSE_DEBUG_FLAG=no
2127 DEFAULT_wxUSE_DEBUG_INFO=no
2128 DEFAULT_wxUSE_DEBUG_GDB=no
2129 DEFAULT_wxUSE_MEM_TRACING=no
2130 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2131 DEFAULT_wxUSE_DMALLOC=no
2132 DEFAULT_wxUSE_PRECOMP=no
2133 DEFAULT_wxUSE_APPLE_IEEE=yes
2134
2135 DEFAULT_wxUSE_LOG=yes
2136 DEFAULT_wxUSE_LOGWINDOW=yes
2137 DEFAULT_wxUSE_LOGGUI=yes
2138 DEFAULT_wxUSE_LOGDIALOG=yes
2139
2140 DEFAULT_wxUSE_GUI=yes
2141
2142 DEFAULT_wxUSE_REGEX=yes
2143 DEFAULT_wxUSE_ZLIB=yes
2144 DEFAULT_wxUSE_LIBPNG=yes
2145 DEFAULT_wxUSE_LIBJPEG=yes
2146 DEFAULT_wxUSE_LIBTIFF=yes
2147 DEFAULT_wxUSE_ODBC=no
2148 DEFAULT_wxUSE_OPENGL=no
2149
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2154 DEFAULT_wxUSE_DATETIME=yes
2155 DEFAULT_wxUSE_TIMER=yes
2156 DEFAULT_wxUSE_STOPWATCH=yes
2157 DEFAULT_wxUSE_FILE=yes
2158 DEFAULT_wxUSE_FFILE=yes
2159 DEFAULT_wxUSE_TEXTBUFFER=yes
2160 DEFAULT_wxUSE_TEXTFILE=yes
2161 DEFAULT_wxUSE_WAVE=no
2162 DEFAULT_wxUSE_INTL=yes
2163 DEFAULT_wxUSE_CONFIG=yes
2164 DEFAULT_wxUSE_FONTMAP=yes
2165 DEFAULT_wxUSE_STREAMS=yes
2166 DEFAULT_wxUSE_SOCKETS=yes
2167 DEFAULT_wxUSE_OLE=yes
2168 DEFAULT_wxUSE_DATAOBJ=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2170 DEFAULT_wxUSE_JOYSTICK=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2173 DEFAULT_wxUSE_LONGLONG=yes
2174 DEFAULT_wxUSE_GEOMETRY=yes
2175
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2178 DEFAULT_wxUSE_POSTSCRIPT=yes
2179
2180 DEFAULT_wxUSE_CLIPBOARD=yes
2181 DEFAULT_wxUSE_TOOLTIPS=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2183 DEFAULT_wxUSE_DRAGIMAGE=yes
2184 DEFAULT_wxUSE_SPLINES=yes
2185
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2189
2190 DEFAULT_wxUSE_RESOURCES=no
2191 DEFAULT_wxUSE_CONSTRAINTS=yes
2192 DEFAULT_wxUSE_IPC=yes
2193 DEFAULT_wxUSE_HELP=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP=yes
2195 DEFAULT_wxUSE_WXHTML_HELP=yes
2196 DEFAULT_wxUSE_TREELAYOUT=yes
2197 DEFAULT_wxUSE_METAFILE=yes
2198 DEFAULT_wxUSE_MIMETYPE=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2200 DEFAULT_wxUSE_PROTOCOL=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2204 DEFAULT_wxUSE_URL=yes
2205
2206 DEFAULT_wxUSE_COMMONDLGS=yes
2207 DEFAULT_wxUSE_CHOICEDLG=yes
2208 DEFAULT_wxUSE_COLOURDLG=yes
2209 DEFAULT_wxUSE_DIRDLG=yes
2210 DEFAULT_wxUSE_FILEDLG=yes
2211 DEFAULT_wxUSE_FINDREPLDLG=yes
2212 DEFAULT_wxUSE_FONTDLG=yes
2213 DEFAULT_wxUSE_MSGDLG=yes
2214 DEFAULT_wxUSE_NUMBERDLG=yes
2215 DEFAULT_wxUSE_TEXTDLG=yes
2216 DEFAULT_wxUSE_SPLASH=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS=yes
2218 DEFAULT_wxUSE_PROGRESSDLG=yes
2219 DEFAULT_wxUSE_WIZARDDLG=yes
2220
2221 DEFAULT_wxUSE_MENUS=yes
2222 DEFAULT_wxUSE_MINIFRAME=yes
2223 DEFAULT_wxUSE_HTML=yes
2224 DEFAULT_wxUSE_FILESYSTEM=yes
2225 DEFAULT_wxUSE_FS_INET=yes
2226 DEFAULT_wxUSE_FS_ZIP=yes
2227 DEFAULT_wxUSE_BUSYINFO=yes
2228 DEFAULT_wxUSE_ZIPSTREAM=yes
2229 DEFAULT_wxUSE_VALIDATORS=yes
2230
2231 DEFAULT_wxUSE_ACCEL=yes
2232 DEFAULT_wxUSE_BUTTON=yes
2233 DEFAULT_wxUSE_BMPBUTTON=yes
2234 DEFAULT_wxUSE_CALCTRL=yes
2235 DEFAULT_wxUSE_CARET=yes
2236 DEFAULT_wxUSE_CHECKBOX=yes
2237 DEFAULT_wxUSE_CHECKLST=yes
2238 DEFAULT_wxUSE_CHOICE=yes
2239 DEFAULT_wxUSE_COMBOBOX=yes
2240 DEFAULT_wxUSE_DISPLAY=no
2241 DEFAULT_wxUSE_GAUGE=yes
2242 DEFAULT_wxUSE_GRID=yes
2243 DEFAULT_wxUSE_IMAGLIST=yes
2244 DEFAULT_wxUSE_LISTBOX=yes
2245 DEFAULT_wxUSE_LISTCTRL=yes
2246 DEFAULT_wxUSE_NOTEBOOK=yes
2247 DEFAULT_wxUSE_RADIOBOX=yes
2248 DEFAULT_wxUSE_RADIOBTN=yes
2249 DEFAULT_wxUSE_SASH=yes
2250 DEFAULT_wxUSE_SCROLLBAR=yes
2251 DEFAULT_wxUSE_SLIDER=yes
2252 DEFAULT_wxUSE_SPINBTN=yes
2253 DEFAULT_wxUSE_SPINCTRL=yes
2254 DEFAULT_wxUSE_SPLITTER=yes
2255 DEFAULT_wxUSE_STATBMP=yes
2256 DEFAULT_wxUSE_STATBOX=yes
2257 DEFAULT_wxUSE_STATLINE=yes
2258 DEFAULT_wxUSE_STATTEXT=yes
2259 DEFAULT_wxUSE_STATUSBAR=yes
2260 DEFAULT_wxUSE_TABDIALOG=no
2261 DEFAULT_wxUSE_TEXTCTRL=yes
2262 DEFAULT_wxUSE_TOGGLEBTN=yes
2263 DEFAULT_wxUSE_TOOLBAR=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2266 DEFAULT_wxUSE_TREECTRL=yes
2267 DEFAULT_wxUSE_POPUPWIN=yes
2268 DEFAULT_wxUSE_TIPWINDOW=yes
2269
2270 DEFAULT_wxUSE_UNICODE=no
2271 DEFAULT_wxUSE_UNICODE_MSLU=yes
2272 DEFAULT_wxUSE_WCSRTOMBS=no
2273
2274 DEFAULT_wxUSE_PALETTE=yes
2275 DEFAULT_wxUSE_IMAGE=yes
2276 DEFAULT_wxUSE_GIF=yes
2277 DEFAULT_wxUSE_PCX=yes
2278 DEFAULT_wxUSE_IFF=no
2279 DEFAULT_wxUSE_PNM=yes
2280 DEFAULT_wxUSE_XPM=yes
2281 DEFAULT_wxUSE_ICO_CUR=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY=no
2283 fi
2284
2285
2286
2287 for toolkit in `echo $ALL_TOOLKITS`; do
2288 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2289 if test "x$LINE" != "x" ; then
2290 has_toolkit_in_cache=1
2291 eval "DEFAULT_$LINE"
2292 eval "CACHE_$toolkit=1"
2293 fi
2294 done
2295
2296
2297
2298 enablestring=
2299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2300 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2301 no_cache=0
2302 # Check whether --enable-gui or --disable-gui was given.
2303 if test "${enable_gui+set}" = set; then
2304 enableval="$enable_gui"
2305
2306 if test "$enableval" = yes; then
2307 ac_cv_use_gui='wxUSE_GUI=yes'
2308 else
2309 ac_cv_use_gui='wxUSE_GUI=no'
2310 fi
2311
2312 else
2313
2314 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2315 if test "x$LINE" != x ; then
2316 eval "DEFAULT_$LINE"
2317 else
2318 no_cache=1
2319 fi
2320
2321 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2322
2323 fi;
2324
2325 eval "$ac_cv_use_gui"
2326 if test "$no_cache" != 1; then
2327 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2328 fi
2329
2330 if test "$wxUSE_GUI" = yes; then
2331 echo "$as_me:$LINENO: result: yes" >&5
2332 echo "${ECHO_T}yes" >&6
2333 else
2334 echo "$as_me:$LINENO: result: no" >&5
2335 echo "${ECHO_T}no" >&6
2336 fi
2337
2338
2339 if test "$wxUSE_GUI" = "yes"; then
2340
2341
2342 enablestring=
2343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2344 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2345 no_cache=0
2346 # Check whether --enable-universal or --disable-universal was given.
2347 if test "${enable_universal+set}" = set; then
2348 enableval="$enable_universal"
2349
2350 if test "$enableval" = yes; then
2351 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2352 else
2353 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2354 fi
2355
2356 else
2357
2358 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x ; then
2360 eval "DEFAULT_$LINE"
2361 else
2362 no_cache=1
2363 fi
2364
2365 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2366
2367 fi;
2368
2369 eval "$ac_cv_use_universal"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2372 fi
2373
2374 if test "$wxUSE_UNIVERSAL" = yes; then
2375 echo "$as_me:$LINENO: result: yes" >&5
2376 echo "${ECHO_T}yes" >&6
2377 else
2378 echo "$as_me:$LINENO: result: no" >&5
2379 echo "${ECHO_T}no" >&6
2380 fi
2381
2382
2383 # Check whether --with-gtk or --without-gtk was given.
2384 if test "${with_gtk+set}" = set; then
2385 withval="$with_gtk"
2386 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2387 fi;
2388
2389 # Check whether --with-motif or --without-motif was given.
2390 if test "${with_motif+set}" = set; then
2391 withval="$with_motif"
2392 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2393 fi;
2394
2395 # Check whether --with-mac or --without-mac was given.
2396 if test "${with_mac+set}" = set; then
2397 withval="$with_mac"
2398 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2399 fi;
2400
2401 # Check whether --with-cocoa or --without-cocoa was given.
2402 if test "${with_cocoa+set}" = set; then
2403 withval="$with_cocoa"
2404 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2405 fi;
2406
2407 # Check whether --with-wine or --without-wine was given.
2408 if test "${with_wine+set}" = set; then
2409 withval="$with_wine"
2410 wxUSE_WINE="$withval" CACHE_WINE=1
2411 fi;
2412
2413 # Check whether --with-msw or --without-msw was given.
2414 if test "${with_msw+set}" = set; then
2415 withval="$with_msw"
2416 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2417 fi;
2418
2419 # Check whether --with-pm or --without-pm was given.
2420 if test "${with_pm+set}" = set; then
2421 withval="$with_pm"
2422 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2423 fi;
2424
2425 # Check whether --with-mgl or --without-mgl was given.
2426 if test "${with_mgl+set}" = set; then
2427 withval="$with_mgl"
2428 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2429 fi;
2430
2431 # Check whether --with-microwin or --without-microwin was given.
2432 if test "${with_microwin+set}" = set; then
2433 withval="$with_microwin"
2434 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2435 fi;
2436
2437 # Check whether --with-x11 or --without-x11 was given.
2438 if test "${with_x11+set}" = set; then
2439 withval="$with_x11"
2440 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2441 fi;
2442
2443 enablestring=
2444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2445 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2446 no_cache=0
2447 # Check whether --enable-nanox or --disable-nanox was given.
2448 if test "${enable_nanox+set}" = set; then
2449 enableval="$enable_nanox"
2450
2451 if test "$enableval" = yes; then
2452 ac_cv_use_nanox='wxUSE_NANOX=yes'
2453 else
2454 ac_cv_use_nanox='wxUSE_NANOX=no'
2455 fi
2456
2457 else
2458
2459 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x ; then
2461 eval "DEFAULT_$LINE"
2462 else
2463 no_cache=1
2464 fi
2465
2466 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2467
2468 fi;
2469
2470 eval "$ac_cv_use_nanox"
2471 if test "$no_cache" != 1; then
2472 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2473 fi
2474
2475 if test "$wxUSE_NANOX" = yes; then
2476 echo "$as_me:$LINENO: result: yes" >&5
2477 echo "${ECHO_T}yes" >&6
2478 else
2479 echo "$as_me:$LINENO: result: no" >&5
2480 echo "${ECHO_T}no" >&6
2481 fi
2482
2483
2484
2485 enablestring=
2486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2487 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2488 no_cache=0
2489 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2490 if test "${enable_gtk2+set}" = set; then
2491 enableval="$enable_gtk2"
2492
2493 if test "$enableval" = yes; then
2494 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2495 else
2496 ac_cv_use_gtk2='wxUSE_GTK2=no'
2497 fi
2498
2499 else
2500
2501 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2502 if test "x$LINE" != x ; then
2503 eval "DEFAULT_$LINE"
2504 else
2505 no_cache=1
2506 fi
2507
2508 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2509
2510 fi;
2511
2512 eval "$ac_cv_use_gtk2"
2513 if test "$no_cache" != 1; then
2514 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2515 fi
2516
2517 if test "$wxUSE_GTK2" = yes; then
2518 echo "$as_me:$LINENO: result: yes" >&5
2519 echo "${ECHO_T}yes" >&6
2520 else
2521 echo "$as_me:$LINENO: result: no" >&5
2522 echo "${ECHO_T}no" >&6
2523 fi
2524
2525
2526
2527 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2528 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2529 no_cache=0
2530
2531 # Check whether --with-libpng or --without-libpng was given.
2532 if test "${with_libpng+set}" = set; then
2533 withval="$with_libpng"
2534
2535 if test "$withval" = yes; then
2536 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2537 elif test "$withval" = no; then
2538 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2539 elif test "$withval" = sys; then
2540 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2541 elif test "$withval" = builtin; then
2542 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2543 else
2544 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2545 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2546 { (exit 1); exit 1; }; }
2547 fi
2548
2549 else
2550
2551 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x ; then
2553 eval "DEFAULT_$LINE"
2554 else
2555 no_cache=1
2556 fi
2557
2558 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2559
2560 fi;
2561
2562 eval "$ac_cv_use_libpng"
2563 if test "$no_cache" != 1; then
2564 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2565 fi
2566
2567 if test "$wxUSE_LIBPNG" = yes; then
2568 echo "$as_me:$LINENO: result: yes" >&5
2569 echo "${ECHO_T}yes" >&6
2570 elif test "$wxUSE_LIBPNG" = no; then
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2573 elif test "$wxUSE_LIBPNG" = sys; then
2574 echo "$as_me:$LINENO: result: system version" >&5
2575 echo "${ECHO_T}system version" >&6
2576 elif test "$wxUSE_LIBPNG" = builtin; then
2577 echo "$as_me:$LINENO: result: builtin version" >&5
2578 echo "${ECHO_T}builtin version" >&6
2579 else
2580 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2581 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2582 { (exit 1); exit 1; }; }
2583 fi
2584
2585
2586 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2587 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2588 no_cache=0
2589
2590 # Check whether --with-libjpeg or --without-libjpeg was given.
2591 if test "${with_libjpeg+set}" = set; then
2592 withval="$with_libjpeg"
2593
2594 if test "$withval" = yes; then
2595 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2596 elif test "$withval" = no; then
2597 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2598 elif test "$withval" = sys; then
2599 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2600 elif test "$withval" = builtin; then
2601 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2602 else
2603 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2604 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2605 { (exit 1); exit 1; }; }
2606 fi
2607
2608 else
2609
2610 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2611 if test "x$LINE" != x ; then
2612 eval "DEFAULT_$LINE"
2613 else
2614 no_cache=1
2615 fi
2616
2617 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2618
2619 fi;
2620
2621 eval "$ac_cv_use_libjpeg"
2622 if test "$no_cache" != 1; then
2623 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2624 fi
2625
2626 if test "$wxUSE_LIBJPEG" = yes; then
2627 echo "$as_me:$LINENO: result: yes" >&5
2628 echo "${ECHO_T}yes" >&6
2629 elif test "$wxUSE_LIBJPEG" = no; then
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2632 elif test "$wxUSE_LIBJPEG" = sys; then
2633 echo "$as_me:$LINENO: result: system version" >&5
2634 echo "${ECHO_T}system version" >&6
2635 elif test "$wxUSE_LIBJPEG" = builtin; then
2636 echo "$as_me:$LINENO: result: builtin version" >&5
2637 echo "${ECHO_T}builtin version" >&6
2638 else
2639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2641 { (exit 1); exit 1; }; }
2642 fi
2643
2644
2645 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2646 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2647 no_cache=0
2648
2649 # Check whether --with-libtiff or --without-libtiff was given.
2650 if test "${with_libtiff+set}" = set; then
2651 withval="$with_libtiff"
2652
2653 if test "$withval" = yes; then
2654 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2655 elif test "$withval" = no; then
2656 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2657 elif test "$withval" = sys; then
2658 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2659 elif test "$withval" = builtin; then
2660 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2661 else
2662 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2663 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2664 { (exit 1); exit 1; }; }
2665 fi
2666
2667 else
2668
2669 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2670 if test "x$LINE" != x ; then
2671 eval "DEFAULT_$LINE"
2672 else
2673 no_cache=1
2674 fi
2675
2676 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2677
2678 fi;
2679
2680 eval "$ac_cv_use_libtiff"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2683 fi
2684
2685 if test "$wxUSE_LIBTIFF" = yes; then
2686 echo "$as_me:$LINENO: result: yes" >&5
2687 echo "${ECHO_T}yes" >&6
2688 elif test "$wxUSE_LIBTIFF" = no; then
2689 echo "$as_me:$LINENO: result: no" >&5
2690 echo "${ECHO_T}no" >&6
2691 elif test "$wxUSE_LIBTIFF" = sys; then
2692 echo "$as_me:$LINENO: result: system version" >&5
2693 echo "${ECHO_T}system version" >&6
2694 elif test "$wxUSE_LIBTIFF" = builtin; then
2695 echo "$as_me:$LINENO: result: builtin version" >&5
2696 echo "${ECHO_T}builtin version" >&6
2697 else
2698 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2699 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2700 { (exit 1); exit 1; }; }
2701 fi
2702
2703
2704 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2705 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2706 no_cache=0
2707
2708 # Check whether --with-opengl or --without-opengl was given.
2709 if test "${with_opengl+set}" = set; then
2710 withval="$with_opengl"
2711
2712 if test "$withval" = yes; then
2713 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2714 else
2715 ac_cv_use_opengl='wxUSE_OPENGL=no'
2716 fi
2717
2718 else
2719
2720 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x ; then
2722 eval "DEFAULT_$LINE"
2723 else
2724 no_cache=1
2725 fi
2726
2727 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2728
2729 fi;
2730
2731 eval "$ac_cv_use_opengl"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2734 fi
2735
2736 if test "$wxUSE_OPENGL" = yes; then
2737 echo "$as_me:$LINENO: result: yes" >&5
2738 echo "${ECHO_T}yes" >&6
2739 else
2740 echo "$as_me:$LINENO: result: no" >&5
2741 echo "${ECHO_T}no" >&6
2742 fi
2743
2744
2745 fi
2746
2747
2748 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2749 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2750 no_cache=0
2751
2752 # Check whether --with-dmalloc or --without-dmalloc was given.
2753 if test "${with_dmalloc+set}" = set; then
2754 withval="$with_dmalloc"
2755
2756 if test "$withval" = yes; then
2757 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2758 else
2759 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2760 fi
2761
2762 else
2763
2764 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2765 if test "x$LINE" != x ; then
2766 eval "DEFAULT_$LINE"
2767 else
2768 no_cache=1
2769 fi
2770
2771 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2772
2773 fi;
2774
2775 eval "$ac_cv_use_dmalloc"
2776 if test "$no_cache" != 1; then
2777 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2778 fi
2779
2780 if test "$wxUSE_DMALLOC" = yes; then
2781 echo "$as_me:$LINENO: result: yes" >&5
2782 echo "${ECHO_T}yes" >&6
2783 else
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2786 fi
2787
2788
2789 echo "$as_me:$LINENO: checking for --with-regex" >&5
2790 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2791 no_cache=0
2792
2793 # Check whether --with-regex or --without-regex was given.
2794 if test "${with_regex+set}" = set; then
2795 withval="$with_regex"
2796
2797 if test "$withval" = yes; then
2798 ac_cv_use_regex='wxUSE_REGEX=yes'
2799 elif test "$withval" = no; then
2800 ac_cv_use_regex='wxUSE_REGEX=no'
2801 elif test "$withval" = sys; then
2802 ac_cv_use_regex='wxUSE_REGEX=sys'
2803 elif test "$withval" = builtin; then
2804 ac_cv_use_regex='wxUSE_REGEX=builtin'
2805 else
2806 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2807 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2808 { (exit 1); exit 1; }; }
2809 fi
2810
2811 else
2812
2813 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x ; then
2815 eval "DEFAULT_$LINE"
2816 else
2817 no_cache=1
2818 fi
2819
2820 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2821
2822 fi;
2823
2824 eval "$ac_cv_use_regex"
2825 if test "$no_cache" != 1; then
2826 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2827 fi
2828
2829 if test "$wxUSE_REGEX" = yes; then
2830 echo "$as_me:$LINENO: result: yes" >&5
2831 echo "${ECHO_T}yes" >&6
2832 elif test "$wxUSE_REGEX" = no; then
2833 echo "$as_me:$LINENO: result: no" >&5
2834 echo "${ECHO_T}no" >&6
2835 elif test "$wxUSE_REGEX" = sys; then
2836 echo "$as_me:$LINENO: result: system version" >&5
2837 echo "${ECHO_T}system version" >&6
2838 elif test "$wxUSE_REGEX" = builtin; then
2839 echo "$as_me:$LINENO: result: builtin version" >&5
2840 echo "${ECHO_T}builtin version" >&6
2841 else
2842 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2843 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2844 { (exit 1); exit 1; }; }
2845 fi
2846
2847
2848 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2849 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2850 no_cache=0
2851
2852 # Check whether --with-zlib or --without-zlib was given.
2853 if test "${with_zlib+set}" = set; then
2854 withval="$with_zlib"
2855
2856 if test "$withval" = yes; then
2857 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2858 elif test "$withval" = no; then
2859 ac_cv_use_zlib='wxUSE_ZLIB=no'
2860 elif test "$withval" = sys; then
2861 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2862 elif test "$withval" = builtin; then
2863 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2864 else
2865 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2866 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2867 { (exit 1); exit 1; }; }
2868 fi
2869
2870 else
2871
2872 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2873 if test "x$LINE" != x ; then
2874 eval "DEFAULT_$LINE"
2875 else
2876 no_cache=1
2877 fi
2878
2879 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2880
2881 fi;
2882
2883 eval "$ac_cv_use_zlib"
2884 if test "$no_cache" != 1; then
2885 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2886 fi
2887
2888 if test "$wxUSE_ZLIB" = yes; then
2889 echo "$as_me:$LINENO: result: yes" >&5
2890 echo "${ECHO_T}yes" >&6
2891 elif test "$wxUSE_ZLIB" = no; then
2892 echo "$as_me:$LINENO: result: no" >&5
2893 echo "${ECHO_T}no" >&6
2894 elif test "$wxUSE_ZLIB" = sys; then
2895 echo "$as_me:$LINENO: result: system version" >&5
2896 echo "${ECHO_T}system version" >&6
2897 elif test "$wxUSE_ZLIB" = builtin; then
2898 echo "$as_me:$LINENO: result: builtin version" >&5
2899 echo "${ECHO_T}builtin version" >&6
2900 else
2901 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2902 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2903 { (exit 1); exit 1; }; }
2904 fi
2905
2906
2907 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2908 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2909 no_cache=0
2910
2911 # Check whether --with-odbc or --without-odbc was given.
2912 if test "${with_odbc+set}" = set; then
2913 withval="$with_odbc"
2914
2915 if test "$withval" = yes; then
2916 ac_cv_use_odbc='wxUSE_ODBC=yes'
2917 elif test "$withval" = no; then
2918 ac_cv_use_odbc='wxUSE_ODBC=no'
2919 elif test "$withval" = sys; then
2920 ac_cv_use_odbc='wxUSE_ODBC=sys'
2921 elif test "$withval" = builtin; then
2922 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2923 else
2924 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2925 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2926 { (exit 1); exit 1; }; }
2927 fi
2928
2929 else
2930
2931 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x ; then
2933 eval "DEFAULT_$LINE"
2934 else
2935 no_cache=1
2936 fi
2937
2938 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2939
2940 fi;
2941
2942 eval "$ac_cv_use_odbc"
2943 if test "$no_cache" != 1; then
2944 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2945 fi
2946
2947 if test "$wxUSE_ODBC" = yes; then
2948 echo "$as_me:$LINENO: result: yes" >&5
2949 echo "${ECHO_T}yes" >&6
2950 elif test "$wxUSE_ODBC" = no; then
2951 echo "$as_me:$LINENO: result: no" >&5
2952 echo "${ECHO_T}no" >&6
2953 elif test "$wxUSE_ODBC" = sys; then
2954 echo "$as_me:$LINENO: result: system version" >&5
2955 echo "${ECHO_T}system version" >&6
2956 elif test "$wxUSE_ODBC" = builtin; then
2957 echo "$as_me:$LINENO: result: builtin version" >&5
2958 echo "${ECHO_T}builtin version" >&6
2959 else
2960 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2961 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2962 { (exit 1); exit 1; }; }
2963 fi
2964
2965
2966
2967
2968 enablestring=
2969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
2970 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
2971 no_cache=0
2972 # Check whether --enable-shared or --disable-shared was given.
2973 if test "${enable_shared+set}" = set; then
2974 enableval="$enable_shared"
2975
2976 if test "$enableval" = yes; then
2977 ac_cv_use_shared='wxUSE_SHARED=yes'
2978 else
2979 ac_cv_use_shared='wxUSE_SHARED=no'
2980 fi
2981
2982 else
2983
2984 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x ; then
2986 eval "DEFAULT_$LINE"
2987 else
2988 no_cache=1
2989 fi
2990
2991 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2992
2993 fi;
2994
2995 eval "$ac_cv_use_shared"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2998 fi
2999
3000 if test "$wxUSE_SHARED" = yes; then
3001 echo "$as_me:$LINENO: result: yes" >&5
3002 echo "${ECHO_T}yes" >&6
3003 else
3004 echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6
3006 fi
3007
3008
3009 enablestring=
3010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-soname" >&5
3011 echo $ECHO_N "checking for --${enablestring:-enable}-soname... $ECHO_C" >&6
3012 no_cache=0
3013 # Check whether --enable-soname or --disable-soname was given.
3014 if test "${enable_soname+set}" = set; then
3015 enableval="$enable_soname"
3016
3017 if test "$enableval" = yes; then
3018 ac_cv_use_soname='wxUSE_SONAME=yes'
3019 else
3020 ac_cv_use_soname='wxUSE_SONAME=no'
3021 fi
3022
3023 else
3024
3025 LINE=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x ; then
3027 eval "DEFAULT_$LINE"
3028 else
3029 no_cache=1
3030 fi
3031
3032 ac_cv_use_soname='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
3033
3034 fi;
3035
3036 eval "$ac_cv_use_soname"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
3039 fi
3040
3041 if test "$wxUSE_SONAME" = yes; then
3042 echo "$as_me:$LINENO: result: yes" >&5
3043 echo "${ECHO_T}yes" >&6
3044 else
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3047 fi
3048
3049
3050 enablestring=
3051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3052 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3053 no_cache=0
3054 # Check whether --enable-optimise or --disable-optimise was given.
3055 if test "${enable_optimise+set}" = set; then
3056 enableval="$enable_optimise"
3057
3058 if test "$enableval" = yes; then
3059 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3060 else
3061 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3062 fi
3063
3064 else
3065
3066 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x ; then
3068 eval "DEFAULT_$LINE"
3069 else
3070 no_cache=1
3071 fi
3072
3073 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3074
3075 fi;
3076
3077 eval "$ac_cv_use_optimise"
3078 if test "$no_cache" != 1; then
3079 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3080 fi
3081
3082 if test "$wxUSE_OPTIMISE" = yes; then
3083 echo "$as_me:$LINENO: result: yes" >&5
3084 echo "${ECHO_T}yes" >&6
3085 else
3086 echo "$as_me:$LINENO: result: no" >&5
3087 echo "${ECHO_T}no" >&6
3088 fi
3089
3090
3091 enablestring=
3092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3093 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3094 no_cache=0
3095 # Check whether --enable-debug or --disable-debug was given.
3096 if test "${enable_debug+set}" = set; then
3097 enableval="$enable_debug"
3098
3099 if test "$enableval" = yes; then
3100 ac_cv_use_debug='wxUSE_DEBUG=yes'
3101 else
3102 ac_cv_use_debug='wxUSE_DEBUG=no'
3103 fi
3104
3105 else
3106
3107 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x ; then
3109 eval "DEFAULT_$LINE"
3110 else
3111 no_cache=1
3112 fi
3113
3114 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3115
3116 fi;
3117
3118 eval "$ac_cv_use_debug"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3121 fi
3122
3123 if test "$wxUSE_DEBUG" = yes; then
3124 echo "$as_me:$LINENO: result: yes" >&5
3125 echo "${ECHO_T}yes" >&6
3126 else
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3129 fi
3130
3131
3132
3133 enablestring=
3134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-precomp" >&5
3135 echo $ECHO_N "checking for --${enablestring:-enable}-precomp... $ECHO_C" >&6
3136 no_cache=0
3137 # Check whether --enable-precomp or --disable-precomp was given.
3138 if test "${enable_precomp+set}" = set; then
3139 enableval="$enable_precomp"
3140
3141 if test "$enableval" = yes; then
3142 ac_cv_use_precomp='wxUSE_PRECOMP=yes'
3143 else
3144 ac_cv_use_precomp='wxUSE_PRECOMP=no'
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_precomp='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
3157
3158 fi;
3159
3160 eval "$ac_cv_use_precomp"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
3163 fi
3164
3165 if test "$wxUSE_PRECOMP" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 else
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 fi
3172
3173
3174 if test "$wxUSE_DEBUG" = "yes"; then
3175 DEFAULT_wxUSE_DEBUG_FLAG=yes
3176 DEFAULT_wxUSE_DEBUG_INFO=yes
3177 elif test "$wxUSE_DEBUG" = "no"; then
3178 DEFAULT_wxUSE_DEBUG_FLAG=no
3179 DEFAULT_wxUSE_DEBUG_INFO=no
3180 fi
3181
3182
3183 enablestring=
3184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3186 no_cache=0
3187 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3188 if test "${enable_debug_flag+set}" = set; then
3189 enableval="$enable_debug_flag"
3190
3191 if test "$enableval" = yes; then
3192 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3193 else
3194 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3195 fi
3196
3197 else
3198
3199 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3202 else
3203 no_cache=1
3204 fi
3205
3206 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3207
3208 fi;
3209
3210 eval "$ac_cv_use_debug_flag"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3213 fi
3214
3215 if test "$wxUSE_DEBUG_FLAG" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3218 else
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3221 fi
3222
3223
3224 enablestring=
3225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3227 no_cache=0
3228 # Check whether --enable-debug_info or --disable-debug_info was given.
3229 if test "${enable_debug_info+set}" = set; then
3230 enableval="$enable_debug_info"
3231
3232 if test "$enableval" = yes; then
3233 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3234 else
3235 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3236 fi
3237
3238 else
3239
3240 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3243 else
3244 no_cache=1
3245 fi
3246
3247 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3248
3249 fi;
3250
3251 eval "$ac_cv_use_debug_info"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3254 fi
3255
3256 if test "$wxUSE_DEBUG_INFO" = yes; then
3257 echo "$as_me:$LINENO: result: yes" >&5
3258 echo "${ECHO_T}yes" >&6
3259 else
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3262 fi
3263
3264
3265 enablestring=
3266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3267 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3268 no_cache=0
3269 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3270 if test "${enable_debug_gdb+set}" = set; then
3271 enableval="$enable_debug_gdb"
3272
3273 if test "$enableval" = yes; then
3274 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3275 else
3276 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3277 fi
3278
3279 else
3280
3281 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x ; then
3283 eval "DEFAULT_$LINE"
3284 else
3285 no_cache=1
3286 fi
3287
3288 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3289
3290 fi;
3291
3292 eval "$ac_cv_use_debug_gdb"
3293 if test "$no_cache" != 1; then
3294 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3295 fi
3296
3297 if test "$wxUSE_DEBUG_GDB" = yes; then
3298 echo "$as_me:$LINENO: result: yes" >&5
3299 echo "${ECHO_T}yes" >&6
3300 else
3301 echo "$as_me:$LINENO: result: no" >&5
3302 echo "${ECHO_T}no" >&6
3303 fi
3304
3305
3306 enablestring=
3307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3308 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3309 no_cache=0
3310 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3311 if test "${enable_debug_cntxt+set}" = set; then
3312 enableval="$enable_debug_cntxt"
3313
3314 if test "$enableval" = yes; then
3315 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3316 else
3317 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3318 fi
3319
3320 else
3321
3322 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x ; then
3324 eval "DEFAULT_$LINE"
3325 else
3326 no_cache=1
3327 fi
3328
3329 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3330
3331 fi;
3332
3333 eval "$ac_cv_use_debug_cntxt"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3336 fi
3337
3338 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3339 echo "$as_me:$LINENO: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6
3341 else
3342 echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6
3344 fi
3345
3346
3347 enablestring=
3348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3349 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3350 no_cache=0
3351 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3352 if test "${enable_mem_tracing+set}" = set; then
3353 enableval="$enable_mem_tracing"
3354
3355 if test "$enableval" = yes; then
3356 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3357 else
3358 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3359 fi
3360
3361 else
3362
3363 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x ; then
3365 eval "DEFAULT_$LINE"
3366 else
3367 no_cache=1
3368 fi
3369
3370 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3371
3372 fi;
3373
3374 eval "$ac_cv_use_mem_tracing"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3377 fi
3378
3379 if test "$wxUSE_MEM_TRACING" = yes; then
3380 echo "$as_me:$LINENO: result: yes" >&5
3381 echo "${ECHO_T}yes" >&6
3382 else
3383 echo "$as_me:$LINENO: result: no" >&5
3384 echo "${ECHO_T}no" >&6
3385 fi
3386
3387
3388 enablestring=
3389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3390 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3391 no_cache=0
3392 # Check whether --enable-profile or --disable-profile was given.
3393 if test "${enable_profile+set}" = set; then
3394 enableval="$enable_profile"
3395
3396 if test "$enableval" = yes; then
3397 ac_cv_use_profile='wxUSE_PROFILE=yes'
3398 else
3399 ac_cv_use_profile='wxUSE_PROFILE=no'
3400 fi
3401
3402 else
3403
3404 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x ; then
3406 eval "DEFAULT_$LINE"
3407 else
3408 no_cache=1
3409 fi
3410
3411 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3412
3413 fi;
3414
3415 eval "$ac_cv_use_profile"
3416 if test "$no_cache" != 1; then
3417 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3418 fi
3419
3420 if test "$wxUSE_PROFILE" = yes; then
3421 echo "$as_me:$LINENO: result: yes" >&5
3422 echo "${ECHO_T}yes" >&6
3423 else
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3426 fi
3427
3428
3429 enablestring=
3430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3431 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3432 no_cache=0
3433 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3434 if test "${enable_no_rtti+set}" = set; then
3435 enableval="$enable_no_rtti"
3436
3437 if test "$enableval" = yes; then
3438 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3439 else
3440 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3441 fi
3442
3443 else
3444
3445 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3448 else
3449 no_cache=1
3450 fi
3451
3452 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3453
3454 fi;
3455
3456 eval "$ac_cv_use_no_rtti"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3459 fi
3460
3461 if test "$wxUSE_NO_RTTI" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3464 else
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3467 fi
3468
3469
3470 enablestring=
3471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3472 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3473 no_cache=0
3474 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3475 if test "${enable_no_exceptions+set}" = set; then
3476 enableval="$enable_no_exceptions"
3477
3478 if test "$enableval" = yes; then
3479 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3480 else
3481 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3482 fi
3483
3484 else
3485
3486 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x ; then
3488 eval "DEFAULT_$LINE"
3489 else
3490 no_cache=1
3491 fi
3492
3493 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3494
3495 fi;
3496
3497 eval "$ac_cv_use_no_exceptions"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3500 fi
3501
3502 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3503 echo "$as_me:$LINENO: result: yes" >&5
3504 echo "${ECHO_T}yes" >&6
3505 else
3506 echo "$as_me:$LINENO: result: no" >&5
3507 echo "${ECHO_T}no" >&6
3508 fi
3509
3510
3511 enablestring=
3512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3513 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3514 no_cache=0
3515 # Check whether --enable-permissive or --disable-permissive was given.
3516 if test "${enable_permissive+set}" = set; then
3517 enableval="$enable_permissive"
3518
3519 if test "$enableval" = yes; then
3520 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3521 else
3522 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3523 fi
3524
3525 else
3526
3527 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3528 if test "x$LINE" != x ; then
3529 eval "DEFAULT_$LINE"
3530 else
3531 no_cache=1
3532 fi
3533
3534 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3535
3536 fi;
3537
3538 eval "$ac_cv_use_permissive"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3541 fi
3542
3543 if test "$wxUSE_PERMISSIVE" = yes; then
3544 echo "$as_me:$LINENO: result: yes" >&5
3545 echo "${ECHO_T}yes" >&6
3546 else
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3549 fi
3550
3551
3552 enablestring=
3553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3555 no_cache=0
3556 # Check whether --enable-no_deps or --disable-no_deps was given.
3557 if test "${enable_no_deps+set}" = set; then
3558 enableval="$enable_no_deps"
3559
3560 if test "$enableval" = yes; then
3561 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3562 else
3563 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3564 fi
3565
3566 else
3567
3568 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x ; then
3570 eval "DEFAULT_$LINE"
3571 else
3572 no_cache=1
3573 fi
3574
3575 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3576
3577 fi;
3578
3579 eval "$ac_cv_use_no_deps"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3582 fi
3583
3584 if test "$wxUSE_NO_DEPS" = yes; then
3585 echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6
3587 else
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3590 fi
3591
3592
3593
3594 enablestring=
3595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3596 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3597 no_cache=0
3598 # Check whether --enable-compat20 or --disable-compat20 was given.
3599 if test "${enable_compat20+set}" = set; then
3600 enableval="$enable_compat20"
3601
3602 if test "$enableval" = yes; then
3603 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3604 else
3605 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3606 fi
3607
3608 else
3609
3610 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x ; then
3612 eval "DEFAULT_$LINE"
3613 else
3614 no_cache=1
3615 fi
3616
3617 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3618
3619 fi;
3620
3621 eval "$ac_cv_use_compat20"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3624 fi
3625
3626 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3627 echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6
3629 else
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3632 fi
3633
3634
3635 enablestring=
3636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3637 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3638 no_cache=0
3639 # Check whether --enable-compat22 or --disable-compat22 was given.
3640 if test "${enable_compat22+set}" = set; then
3641 enableval="$enable_compat22"
3642
3643 if test "$enableval" = yes; then
3644 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3645 else
3646 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3647 fi
3648
3649 else
3650
3651 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x ; then
3653 eval "DEFAULT_$LINE"
3654 else
3655 no_cache=1
3656 fi
3657
3658 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3659
3660 fi;
3661
3662 eval "$ac_cv_use_compat22"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3665 fi
3666
3667 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3668 echo "$as_me:$LINENO: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6
3670 else
3671 echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3673 fi
3674
3675
3676 enablestring=disable
3677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3678 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3679 no_cache=0
3680 # Check whether --enable-compat24 or --disable-compat24 was given.
3681 if test "${enable_compat24+set}" = set; then
3682 enableval="$enable_compat24"
3683
3684 if test "$enableval" = yes; then
3685 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3686 else
3687 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3688 fi
3689
3690 else
3691
3692 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3693 if test "x$LINE" != x ; then
3694 eval "DEFAULT_$LINE"
3695 else
3696 no_cache=1
3697 fi
3698
3699 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3700
3701 fi;
3702
3703 eval "$ac_cv_use_compat24"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3706 fi
3707
3708 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3709 echo "$as_me:$LINENO: result: yes" >&5
3710 echo "${ECHO_T}yes" >&6
3711 else
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3714 fi
3715
3716
3717 # Check whether --enable-rpath or --disable-rpath was given.
3718 if test "${enable_rpath+set}" = set; then
3719 enableval="$enable_rpath"
3720 wxRPATH_DIR="$enableval"
3721 fi;
3722
3723 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3724 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3725 fi
3726
3727
3728
3729
3730 enablestring=
3731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3732 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3733 no_cache=0
3734 # Check whether --enable-intl or --disable-intl was given.
3735 if test "${enable_intl+set}" = set; then
3736 enableval="$enable_intl"
3737
3738 if test "$enableval" = yes; then
3739 ac_cv_use_intl='wxUSE_INTL=yes'
3740 else
3741 ac_cv_use_intl='wxUSE_INTL=no'
3742 fi
3743
3744 else
3745
3746 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3754
3755 fi;
3756
3757 eval "$ac_cv_use_intl"
3758 if test "$no_cache" != 1; then
3759 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3760 fi
3761
3762 if test "$wxUSE_INTL" = yes; then
3763 echo "$as_me:$LINENO: result: yes" >&5
3764 echo "${ECHO_T}yes" >&6
3765 else
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 fi
3769
3770
3771 enablestring=
3772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3773 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3774 no_cache=0
3775 # Check whether --enable-config or --disable-config was given.
3776 if test "${enable_config+set}" = set; then
3777 enableval="$enable_config"
3778
3779 if test "$enableval" = yes; then
3780 ac_cv_use_config='wxUSE_CONFIG=yes'
3781 else
3782 ac_cv_use_config='wxUSE_CONFIG=no'
3783 fi
3784
3785 else
3786
3787 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x ; then
3789 eval "DEFAULT_$LINE"
3790 else
3791 no_cache=1
3792 fi
3793
3794 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3795
3796 fi;
3797
3798 eval "$ac_cv_use_config"
3799 if test "$no_cache" != 1; then
3800 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3801 fi
3802
3803 if test "$wxUSE_CONFIG" = yes; then
3804 echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6
3806 else
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3809 fi
3810
3811
3812
3813 enablestring=
3814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3815 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3816 no_cache=0
3817 # Check whether --enable-protocols or --disable-protocols was given.
3818 if test "${enable_protocols+set}" = set; then
3819 enableval="$enable_protocols"
3820
3821 if test "$enableval" = yes; then
3822 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3823 else
3824 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3825 fi
3826
3827 else
3828
3829 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x ; then
3831 eval "DEFAULT_$LINE"
3832 else
3833 no_cache=1
3834 fi
3835
3836 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3837
3838 fi;
3839
3840 eval "$ac_cv_use_protocols"
3841 if test "$no_cache" != 1; then
3842 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3843 fi
3844
3845 if test "$wxUSE_PROTOCOL" = yes; then
3846 echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6
3848 else
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3851 fi
3852
3853
3854 enablestring=
3855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3856 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3857 no_cache=0
3858 # Check whether --enable-ftp or --disable-ftp was given.
3859 if test "${enable_ftp+set}" = set; then
3860 enableval="$enable_ftp"
3861
3862 if test "$enableval" = yes; then
3863 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3864 else
3865 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3866 fi
3867
3868 else
3869
3870 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x ; then
3872 eval "DEFAULT_$LINE"
3873 else
3874 no_cache=1
3875 fi
3876
3877 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3878
3879 fi;
3880
3881 eval "$ac_cv_use_ftp"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3884 fi
3885
3886 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3887 echo "$as_me:$LINENO: result: yes" >&5
3888 echo "${ECHO_T}yes" >&6
3889 else
3890 echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6
3892 fi
3893
3894
3895 enablestring=
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3898 no_cache=0
3899 # Check whether --enable-http or --disable-http was given.
3900 if test "${enable_http+set}" = set; then
3901 enableval="$enable_http"
3902
3903 if test "$enableval" = yes; then
3904 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3905 else
3906 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3907 fi
3908
3909 else
3910
3911 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3914 else
3915 no_cache=1
3916 fi
3917
3918 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3919
3920 fi;
3921
3922 eval "$ac_cv_use_http"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3925 fi
3926
3927 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3930 else
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3933 fi
3934
3935
3936 enablestring=
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3939 no_cache=0
3940 # Check whether --enable-fileproto or --disable-fileproto was given.
3941 if test "${enable_fileproto+set}" = set; then
3942 enableval="$enable_fileproto"
3943
3944 if test "$enableval" = yes; then
3945 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3946 else
3947 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3948 fi
3949
3950 else
3951
3952 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x ; then
3954 eval "DEFAULT_$LINE"
3955 else
3956 no_cache=1
3957 fi
3958
3959 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3960
3961 fi;
3962
3963 eval "$ac_cv_use_fileproto"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3971 else
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3974 fi
3975
3976
3977 enablestring=
3978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3979 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3980 no_cache=0
3981 # Check whether --enable-sockets or --disable-sockets was given.
3982 if test "${enable_sockets+set}" = set; then
3983 enableval="$enable_sockets"
3984
3985 if test "$enableval" = yes; then
3986 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3987 else
3988 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3989 fi
3990
3991 else
3992
3993 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
3996 else
3997 no_cache=1
3998 fi
3999
4000 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4001
4002 fi;
4003
4004 eval "$ac_cv_use_sockets"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4007 fi
4008
4009 if test "$wxUSE_SOCKETS" = yes; then
4010 echo "$as_me:$LINENO: result: yes" >&5
4011 echo "${ECHO_T}yes" >&6
4012 else
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4015 fi
4016
4017
4018 enablestring=
4019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4020 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4021 no_cache=0
4022 # Check whether --enable-ole or --disable-ole was given.
4023 if test "${enable_ole+set}" = set; then
4024 enableval="$enable_ole"
4025
4026 if test "$enableval" = yes; then
4027 ac_cv_use_ole='wxUSE_OLE=yes'
4028 else
4029 ac_cv_use_ole='wxUSE_OLE=no'
4030 fi
4031
4032 else
4033
4034 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x ; then
4036 eval "DEFAULT_$LINE"
4037 else
4038 no_cache=1
4039 fi
4040
4041 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4042
4043 fi;
4044
4045 eval "$ac_cv_use_ole"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4048 fi
4049
4050 if test "$wxUSE_OLE" = yes; then
4051 echo "$as_me:$LINENO: result: yes" >&5
4052 echo "${ECHO_T}yes" >&6
4053 else
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4056 fi
4057
4058
4059 enablestring=
4060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4061 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4062 no_cache=0
4063 # Check whether --enable-dataobj or --disable-dataobj was given.
4064 if test "${enable_dataobj+set}" = set; then
4065 enableval="$enable_dataobj"
4066
4067 if test "$enableval" = yes; then
4068 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4069 else
4070 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4071 fi
4072
4073 else
4074
4075 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x ; then
4077 eval "DEFAULT_$LINE"
4078 else
4079 no_cache=1
4080 fi
4081
4082 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4083
4084 fi;
4085
4086 eval "$ac_cv_use_dataobj"
4087 if test "$no_cache" != 1; then
4088 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4089 fi
4090
4091 if test "$wxUSE_DATAOBJ" = yes; then
4092 echo "$as_me:$LINENO: result: yes" >&5
4093 echo "${ECHO_T}yes" >&6
4094 else
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4097 fi
4098
4099
4100
4101 enablestring=
4102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4103 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4104 no_cache=0
4105 # Check whether --enable-ipc or --disable-ipc was given.
4106 if test "${enable_ipc+set}" = set; then
4107 enableval="$enable_ipc"
4108
4109 if test "$enableval" = yes; then
4110 ac_cv_use_ipc='wxUSE_IPC=yes'
4111 else
4112 ac_cv_use_ipc='wxUSE_IPC=no'
4113 fi
4114
4115 else
4116
4117 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x ; then
4119 eval "DEFAULT_$LINE"
4120 else
4121 no_cache=1
4122 fi
4123
4124 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4125
4126 fi;
4127
4128 eval "$ac_cv_use_ipc"
4129 if test "$no_cache" != 1; then
4130 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4131 fi
4132
4133 if test "$wxUSE_IPC" = yes; then
4134 echo "$as_me:$LINENO: result: yes" >&5
4135 echo "${ECHO_T}yes" >&6
4136 else
4137 echo "$as_me:$LINENO: result: no" >&5
4138 echo "${ECHO_T}no" >&6
4139 fi
4140
4141
4142
4143 enablestring=
4144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4145 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4146 no_cache=0
4147 # Check whether --enable-cmdline or --disable-cmdline was given.
4148 if test "${enable_cmdline+set}" = set; then
4149 enableval="$enable_cmdline"
4150
4151 if test "$enableval" = yes; then
4152 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4153 else
4154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4155 fi
4156
4157 else
4158
4159 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x ; then
4161 eval "DEFAULT_$LINE"
4162 else
4163 no_cache=1
4164 fi
4165
4166 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4167
4168 fi;
4169
4170 eval "$ac_cv_use_cmdline"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4173 fi
4174
4175 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4176 echo "$as_me:$LINENO: result: yes" >&5
4177 echo "${ECHO_T}yes" >&6
4178 else
4179 echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4181 fi
4182
4183
4184 enablestring=
4185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4186 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4187 no_cache=0
4188 # Check whether --enable-datetime or --disable-datetime was given.
4189 if test "${enable_datetime+set}" = set; then
4190 enableval="$enable_datetime"
4191
4192 if test "$enableval" = yes; then
4193 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4194 else
4195 ac_cv_use_datetime='wxUSE_DATETIME=no'
4196 fi
4197
4198 else
4199
4200 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x ; then
4202 eval "DEFAULT_$LINE"
4203 else
4204 no_cache=1
4205 fi
4206
4207 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4208
4209 fi;
4210
4211 eval "$ac_cv_use_datetime"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4214 fi
4215
4216 if test "$wxUSE_DATETIME" = yes; then
4217 echo "$as_me:$LINENO: result: yes" >&5
4218 echo "${ECHO_T}yes" >&6
4219 else
4220 echo "$as_me:$LINENO: result: no" >&5
4221 echo "${ECHO_T}no" >&6
4222 fi
4223
4224
4225 enablestring=
4226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4227 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4228 no_cache=0
4229 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4230 if test "${enable_stopwatch+set}" = set; then
4231 enableval="$enable_stopwatch"
4232
4233 if test "$enableval" = yes; then
4234 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4235 else
4236 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4237 fi
4238
4239 else
4240
4241 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x ; then
4243 eval "DEFAULT_$LINE"
4244 else
4245 no_cache=1
4246 fi
4247
4248 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4249
4250 fi;
4251
4252 eval "$ac_cv_use_stopwatch"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4255 fi
4256
4257 if test "$wxUSE_STOPWATCH" = yes; then
4258 echo "$as_me:$LINENO: result: yes" >&5
4259 echo "${ECHO_T}yes" >&6
4260 else
4261 echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6
4263 fi
4264
4265
4266 enablestring=
4267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4268 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4269 no_cache=0
4270 # Check whether --enable-dialupman or --disable-dialupman was given.
4271 if test "${enable_dialupman+set}" = set; then
4272 enableval="$enable_dialupman"
4273
4274 if test "$enableval" = yes; then
4275 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4276 else
4277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4278 fi
4279
4280 else
4281
4282 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x ; then
4284 eval "DEFAULT_$LINE"
4285 else
4286 no_cache=1
4287 fi
4288
4289 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4290
4291 fi;
4292
4293 eval "$ac_cv_use_dialupman"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4296 fi
4297
4298 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4299 echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6
4301 else
4302 echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6
4304 fi
4305
4306
4307 enablestring=
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4310 no_cache=0
4311 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4312 if test "${enable_apple_ieee+set}" = set; then
4313 enableval="$enable_apple_ieee"
4314
4315 if test "$enableval" = yes; then
4316 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4317 else
4318 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4319 fi
4320
4321 else
4322
4323 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4326 else
4327 no_cache=1
4328 fi
4329
4330 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4331
4332 fi;
4333
4334 eval "$ac_cv_use_apple_ieee"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4337 fi
4338
4339 if test "$wxUSE_APPLE_IEEE" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4342 else
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4345 fi
4346
4347
4348 enablestring=
4349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4350 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4351 no_cache=0
4352 # Check whether --enable-timer or --disable-timer was given.
4353 if test "${enable_timer+set}" = set; then
4354 enableval="$enable_timer"
4355
4356 if test "$enableval" = yes; then
4357 ac_cv_use_timer='wxUSE_TIMER=yes'
4358 else
4359 ac_cv_use_timer='wxUSE_TIMER=no'
4360 fi
4361
4362 else
4363
4364 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x ; then
4366 eval "DEFAULT_$LINE"
4367 else
4368 no_cache=1
4369 fi
4370
4371 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4372
4373 fi;
4374
4375 eval "$ac_cv_use_timer"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4378 fi
4379
4380 if test "$wxUSE_TIMER" = yes; then
4381 echo "$as_me:$LINENO: result: yes" >&5
4382 echo "${ECHO_T}yes" >&6
4383 else
4384 echo "$as_me:$LINENO: result: no" >&5
4385 echo "${ECHO_T}no" >&6
4386 fi
4387
4388
4389 enablestring=
4390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4391 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4392 no_cache=0
4393 # Check whether --enable-wave or --disable-wave was given.
4394 if test "${enable_wave+set}" = set; then
4395 enableval="$enable_wave"
4396
4397 if test "$enableval" = yes; then
4398 ac_cv_use_wave='wxUSE_WAVE=yes'
4399 else
4400 ac_cv_use_wave='wxUSE_WAVE=no'
4401 fi
4402
4403 else
4404
4405 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4406 if test "x$LINE" != x ; then
4407 eval "DEFAULT_$LINE"
4408 else
4409 no_cache=1
4410 fi
4411
4412 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4413
4414 fi;
4415
4416 eval "$ac_cv_use_wave"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4419 fi
4420
4421 if test "$wxUSE_WAVE" = yes; then
4422 echo "$as_me:$LINENO: result: yes" >&5
4423 echo "${ECHO_T}yes" >&6
4424 else
4425 echo "$as_me:$LINENO: result: no" >&5
4426 echo "${ECHO_T}no" >&6
4427 fi
4428
4429
4430 enablestring=
4431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4432 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4433 no_cache=0
4434 # Check whether --enable-fraction or --disable-fraction was given.
4435 if test "${enable_fraction+set}" = set; then
4436 enableval="$enable_fraction"
4437
4438 if test "$enableval" = yes; then
4439 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4440 else
4441 ac_cv_use_fraction='wxUSE_FRACTION=no'
4442 fi
4443
4444 else
4445
4446 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x ; then
4448 eval "DEFAULT_$LINE"
4449 else
4450 no_cache=1
4451 fi
4452
4453 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4454
4455 fi;
4456
4457 eval "$ac_cv_use_fraction"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4460 fi
4461
4462 if test "$wxUSE_FRACTION" = yes; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4465 else
4466 echo "$as_me:$LINENO: result: no" >&5
4467 echo "${ECHO_T}no" >&6
4468 fi
4469
4470
4471 enablestring=
4472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4473 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4474 no_cache=0
4475 # Check whether --enable-dynlib or --disable-dynlib was given.
4476 if test "${enable_dynlib+set}" = set; then
4477 enableval="$enable_dynlib"
4478
4479 if test "$enableval" = yes; then
4480 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4481 else
4482 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4483 fi
4484
4485 else
4486
4487 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4488 if test "x$LINE" != x ; then
4489 eval "DEFAULT_$LINE"
4490 else
4491 no_cache=1
4492 fi
4493
4494 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4495
4496 fi;
4497
4498 eval "$ac_cv_use_dynlib"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4501 fi
4502
4503 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4504 echo "$as_me:$LINENO: result: yes" >&5
4505 echo "${ECHO_T}yes" >&6
4506 else
4507 echo "$as_me:$LINENO: result: no" >&5
4508 echo "${ECHO_T}no" >&6
4509 fi
4510
4511
4512 enablestring=
4513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4515 no_cache=0
4516 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4517 if test "${enable_dynamicloader+set}" = set; then
4518 enableval="$enable_dynamicloader"
4519
4520 if test "$enableval" = yes; then
4521 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4522 else
4523 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4524 fi
4525
4526 else
4527
4528 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4529 if test "x$LINE" != x ; then
4530 eval "DEFAULT_$LINE"
4531 else
4532 no_cache=1
4533 fi
4534
4535 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4536
4537 fi;
4538
4539 eval "$ac_cv_use_dynamicloader"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4542 fi
4543
4544 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4545 echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6
4547 else
4548 echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6
4550 fi
4551
4552
4553 enablestring=
4554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4556 no_cache=0
4557 # Check whether --enable-longlong or --disable-longlong was given.
4558 if test "${enable_longlong+set}" = set; then
4559 enableval="$enable_longlong"
4560
4561 if test "$enableval" = yes; then
4562 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4563 else
4564 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4565 fi
4566
4567 else
4568
4569 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x ; then
4571 eval "DEFAULT_$LINE"
4572 else
4573 no_cache=1
4574 fi
4575
4576 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4577
4578 fi;
4579
4580 eval "$ac_cv_use_longlong"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4583 fi
4584
4585 if test "$wxUSE_LONGLONG" = yes; then
4586 echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6
4588 else
4589 echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6
4591 fi
4592
4593
4594 enablestring=
4595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4597 no_cache=0
4598 # Check whether --enable-geometry or --disable-geometry was given.
4599 if test "${enable_geometry+set}" = set; then
4600 enableval="$enable_geometry"
4601
4602 if test "$enableval" = yes; then
4603 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4604 else
4605 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4606 fi
4607
4608 else
4609
4610 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4611 if test "x$LINE" != x ; then
4612 eval "DEFAULT_$LINE"
4613 else
4614 no_cache=1
4615 fi
4616
4617 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4618
4619 fi;
4620
4621 eval "$ac_cv_use_geometry"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_GEOMETRY" = yes; then
4627 echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4632 fi
4633
4634
4635 enablestring=
4636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4638 no_cache=0
4639 # Check whether --enable-log or --disable-log was given.
4640 if test "${enable_log+set}" = set; then
4641 enableval="$enable_log"
4642
4643 if test "$enableval" = yes; then
4644 ac_cv_use_log='wxUSE_LOG=yes'
4645 else
4646 ac_cv_use_log='wxUSE_LOG=no'
4647 fi
4648
4649 else
4650
4651 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4652 if test "x$LINE" != x ; then
4653 eval "DEFAULT_$LINE"
4654 else
4655 no_cache=1
4656 fi
4657
4658 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4659
4660 fi;
4661
4662 eval "$ac_cv_use_log"
4663 if test "$no_cache" != 1; then
4664 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4665 fi
4666
4667 if test "$wxUSE_LOG" = yes; then
4668 echo "$as_me:$LINENO: result: yes" >&5
4669 echo "${ECHO_T}yes" >&6
4670 else
4671 echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6
4673 fi
4674
4675
4676 enablestring=
4677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4678 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4679 no_cache=0
4680 # Check whether --enable-streams or --disable-streams was given.
4681 if test "${enable_streams+set}" = set; then
4682 enableval="$enable_streams"
4683
4684 if test "$enableval" = yes; then
4685 ac_cv_use_streams='wxUSE_STREAMS=yes'
4686 else
4687 ac_cv_use_streams='wxUSE_STREAMS=no'
4688 fi
4689
4690 else
4691
4692 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x ; then
4694 eval "DEFAULT_$LINE"
4695 else
4696 no_cache=1
4697 fi
4698
4699 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4700
4701 fi;
4702
4703 eval "$ac_cv_use_streams"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4706 fi
4707
4708 if test "$wxUSE_STREAMS" = yes; then
4709 echo "$as_me:$LINENO: result: yes" >&5
4710 echo "${ECHO_T}yes" >&6
4711 else
4712 echo "$as_me:$LINENO: result: no" >&5
4713 echo "${ECHO_T}no" >&6
4714 fi
4715
4716
4717 enablestring=
4718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4719 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4720 no_cache=0
4721 # Check whether --enable-file or --disable-file was given.
4722 if test "${enable_file+set}" = set; then
4723 enableval="$enable_file"
4724
4725 if test "$enableval" = yes; then
4726 ac_cv_use_file='wxUSE_FILE=yes'
4727 else
4728 ac_cv_use_file='wxUSE_FILE=no'
4729 fi
4730
4731 else
4732
4733 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4734 if test "x$LINE" != x ; then
4735 eval "DEFAULT_$LINE"
4736 else
4737 no_cache=1
4738 fi
4739
4740 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4741
4742 fi;
4743
4744 eval "$ac_cv_use_file"
4745 if test "$no_cache" != 1; then
4746 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4747 fi
4748
4749 if test "$wxUSE_FILE" = yes; then
4750 echo "$as_me:$LINENO: result: yes" >&5
4751 echo "${ECHO_T}yes" >&6
4752 else
4753 echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6
4755 fi
4756
4757
4758 enablestring=
4759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4761 no_cache=0
4762 # Check whether --enable-ffile or --disable-ffile was given.
4763 if test "${enable_ffile+set}" = set; then
4764 enableval="$enable_ffile"
4765
4766 if test "$enableval" = yes; then
4767 ac_cv_use_ffile='wxUSE_FFILE=yes'
4768 else
4769 ac_cv_use_ffile='wxUSE_FFILE=no'
4770 fi
4771
4772 else
4773
4774 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4775 if test "x$LINE" != x ; then
4776 eval "DEFAULT_$LINE"
4777 else
4778 no_cache=1
4779 fi
4780
4781 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4782
4783 fi;
4784
4785 eval "$ac_cv_use_ffile"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4788 fi
4789
4790 if test "$wxUSE_FFILE" = yes; then
4791 echo "$as_me:$LINENO: result: yes" >&5
4792 echo "${ECHO_T}yes" >&6
4793 else
4794 echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6
4796 fi
4797
4798
4799 enablestring=
4800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4801 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4802 no_cache=0
4803 # Check whether --enable-textbuf or --disable-textbuf was given.
4804 if test "${enable_textbuf+set}" = set; then
4805 enableval="$enable_textbuf"
4806
4807 if test "$enableval" = yes; then
4808 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4809 else
4810 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4811 fi
4812
4813 else
4814
4815 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x ; then
4817 eval "DEFAULT_$LINE"
4818 else
4819 no_cache=1
4820 fi
4821
4822 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4823
4824 fi;
4825
4826 eval "$ac_cv_use_textbuf"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4829 fi
4830
4831 if test "$wxUSE_TEXTBUFFER" = yes; then
4832 echo "$as_me:$LINENO: result: yes" >&5
4833 echo "${ECHO_T}yes" >&6
4834 else
4835 echo "$as_me:$LINENO: result: no" >&5
4836 echo "${ECHO_T}no" >&6
4837 fi
4838
4839
4840 enablestring=
4841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4843 no_cache=0
4844 # Check whether --enable-textfile or --disable-textfile was given.
4845 if test "${enable_textfile+set}" = set; then
4846 enableval="$enable_textfile"
4847
4848 if test "$enableval" = yes; then
4849 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4850 else
4851 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4852 fi
4853
4854 else
4855
4856 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x ; then
4858 eval "DEFAULT_$LINE"
4859 else
4860 no_cache=1
4861 fi
4862
4863 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4864
4865 fi;
4866
4867 eval "$ac_cv_use_textfile"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4870 fi
4871
4872 if test "$wxUSE_TEXTFILE" = yes; then
4873 echo "$as_me:$LINENO: result: yes" >&5
4874 echo "${ECHO_T}yes" >&6
4875 else
4876 echo "$as_me:$LINENO: result: no" >&5
4877 echo "${ECHO_T}no" >&6
4878 fi
4879
4880
4881 enablestring=
4882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4884 no_cache=0
4885 # Check whether --enable-fontmap or --disable-fontmap was given.
4886 if test "${enable_fontmap+set}" = set; then
4887 enableval="$enable_fontmap"
4888
4889 if test "$enableval" = yes; then
4890 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4891 else
4892 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4893 fi
4894
4895 else
4896
4897 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x ; then
4899 eval "DEFAULT_$LINE"
4900 else
4901 no_cache=1
4902 fi
4903
4904 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4905
4906 fi;
4907
4908 eval "$ac_cv_use_fontmap"
4909 if test "$no_cache" != 1; then
4910 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4911 fi
4912
4913 if test "$wxUSE_FONTMAP" = yes; then
4914 echo "$as_me:$LINENO: result: yes" >&5
4915 echo "${ECHO_T}yes" >&6
4916 else
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4919 fi
4920
4921
4922 enablestring=
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4925 no_cache=0
4926 # Check whether --enable-unicode or --disable-unicode was given.
4927 if test "${enable_unicode+set}" = set; then
4928 enableval="$enable_unicode"
4929
4930 if test "$enableval" = yes; then
4931 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4932 else
4933 ac_cv_use_unicode='wxUSE_UNICODE=no'
4934 fi
4935
4936 else
4937
4938 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4941 else
4942 no_cache=1
4943 fi
4944
4945 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4946
4947 fi;
4948
4949 eval "$ac_cv_use_unicode"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4952 fi
4953
4954 if test "$wxUSE_UNICODE" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4957 else
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4960 fi
4961
4962
4963 enablestring=
4964 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4965 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4966 no_cache=0
4967 # Check whether --enable-mslu or --disable-mslu was given.
4968 if test "${enable_mslu+set}" = set; then
4969 enableval="$enable_mslu"
4970
4971 if test "$enableval" = yes; then
4972 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4973 else
4974 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4975 fi
4976
4977 else
4978
4979 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x ; then
4981 eval "DEFAULT_$LINE"
4982 else
4983 no_cache=1
4984 fi
4985
4986 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4987
4988 fi;
4989
4990 eval "$ac_cv_use_mslu"
4991 if test "$no_cache" != 1; then
4992 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4993 fi
4994
4995 if test "$wxUSE_UNICODE_MSLU" = yes; then
4996 echo "$as_me:$LINENO: result: yes" >&5
4997 echo "${ECHO_T}yes" >&6
4998 else
4999 echo "$as_me:$LINENO: result: no" >&5
5000 echo "${ECHO_T}no" >&6
5001 fi
5002
5003
5004 enablestring=
5005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5006 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5007 no_cache=0
5008 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5009 if test "${enable_wxprintfv+set}" = set; then
5010 enableval="$enable_wxprintfv"
5011
5012 if test "$enableval" = yes; then
5013 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5014 else
5015 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5016 fi
5017
5018 else
5019
5020 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x ; then
5022 eval "DEFAULT_$LINE"
5023 else
5024 no_cache=1
5025 fi
5026
5027 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5028
5029 fi;
5030
5031 eval "$ac_cv_use_wxprintfv"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5034 fi
5035
5036 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5037 echo "$as_me:$LINENO: result: yes" >&5
5038 echo "${ECHO_T}yes" >&6
5039 else
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5042 fi
5043
5044
5045 enablestring=
5046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5047 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5048 no_cache=0
5049 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5050 if test "${enable_std_iostreams+set}" = set; then
5051 enableval="$enable_std_iostreams"
5052
5053 if test "$enableval" = yes; then
5054 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5055 else
5056 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5057 fi
5058
5059 else
5060
5061 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5062 if test "x$LINE" != x ; then
5063 eval "DEFAULT_$LINE"
5064 else
5065 no_cache=1
5066 fi
5067
5068 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5069
5070 fi;
5071
5072 eval "$ac_cv_use_std_iostreams"
5073 if test "$no_cache" != 1; then
5074 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5075 fi
5076
5077 if test "$wxUSE_STD_IOSTREAM" = yes; then
5078 echo "$as_me:$LINENO: result: yes" >&5
5079 echo "${ECHO_T}yes" >&6
5080 else
5081 echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6
5083 fi
5084
5085
5086 enablestring=
5087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5088 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5089 no_cache=0
5090 # Check whether --enable-filesystem or --disable-filesystem was given.
5091 if test "${enable_filesystem+set}" = set; then
5092 enableval="$enable_filesystem"
5093
5094 if test "$enableval" = yes; then
5095 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5096 else
5097 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5098 fi
5099
5100 else
5101
5102 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5103 if test "x$LINE" != x ; then
5104 eval "DEFAULT_$LINE"
5105 else
5106 no_cache=1
5107 fi
5108
5109 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5110
5111 fi;
5112
5113 eval "$ac_cv_use_filesystem"
5114 if test "$no_cache" != 1; then
5115 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5116 fi
5117
5118 if test "$wxUSE_FILESYSTEM" = yes; then
5119 echo "$as_me:$LINENO: result: yes" >&5
5120 echo "${ECHO_T}yes" >&6
5121 else
5122 echo "$as_me:$LINENO: result: no" >&5
5123 echo "${ECHO_T}no" >&6
5124 fi
5125
5126
5127 enablestring=
5128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5129 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5130 no_cache=0
5131 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5132 if test "${enable_fs_inet+set}" = set; then
5133 enableval="$enable_fs_inet"
5134
5135 if test "$enableval" = yes; then
5136 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5137 else
5138 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5139 fi
5140
5141 else
5142
5143 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x ; then
5145 eval "DEFAULT_$LINE"
5146 else
5147 no_cache=1
5148 fi
5149
5150 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5151
5152 fi;
5153
5154 eval "$ac_cv_use_fs_inet"
5155 if test "$no_cache" != 1; then
5156 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5157 fi
5158
5159 if test "$wxUSE_FS_INET" = yes; then
5160 echo "$as_me:$LINENO: result: yes" >&5
5161 echo "${ECHO_T}yes" >&6
5162 else
5163 echo "$as_me:$LINENO: result: no" >&5
5164 echo "${ECHO_T}no" >&6
5165 fi
5166
5167
5168 enablestring=
5169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5170 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5171 no_cache=0
5172 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5173 if test "${enable_fs_zip+set}" = set; then
5174 enableval="$enable_fs_zip"
5175
5176 if test "$enableval" = yes; then
5177 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5178 else
5179 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5180 fi
5181
5182 else
5183
5184 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x ; then
5186 eval "DEFAULT_$LINE"
5187 else
5188 no_cache=1
5189 fi
5190
5191 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5192
5193 fi;
5194
5195 eval "$ac_cv_use_fs_zip"
5196 if test "$no_cache" != 1; then
5197 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5198 fi
5199
5200 if test "$wxUSE_FS_ZIP" = yes; then
5201 echo "$as_me:$LINENO: result: yes" >&5
5202 echo "${ECHO_T}yes" >&6
5203 else
5204 echo "$as_me:$LINENO: result: no" >&5
5205 echo "${ECHO_T}no" >&6
5206 fi
5207
5208
5209 enablestring=
5210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5212 no_cache=0
5213 # Check whether --enable-zipstream or --disable-zipstream was given.
5214 if test "${enable_zipstream+set}" = set; then
5215 enableval="$enable_zipstream"
5216
5217 if test "$enableval" = yes; then
5218 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5219 else
5220 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5221 fi
5222
5223 else
5224
5225 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5226 if test "x$LINE" != x ; then
5227 eval "DEFAULT_$LINE"
5228 else
5229 no_cache=1
5230 fi
5231
5232 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5233
5234 fi;
5235
5236 eval "$ac_cv_use_zipstream"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5239 fi
5240
5241 if test "$wxUSE_ZIPSTREAM" = yes; then
5242 echo "$as_me:$LINENO: result: yes" >&5
5243 echo "${ECHO_T}yes" >&6
5244 else
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5247 fi
5248
5249
5250
5251 enablestring=
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5256 if test "${enable_catch_segvs+set}" = set; then
5257 enableval="$enable_catch_segvs"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5261 else
5262 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5275
5276 fi;
5277
5278 eval "$ac_cv_use_catch_segvs"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291
5292 enablestring=
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5295 no_cache=0
5296 # Check whether --enable-snglinst or --disable-snglinst was given.
5297 if test "${enable_snglinst+set}" = set; then
5298 enableval="$enable_snglinst"
5299
5300 if test "$enableval" = yes; then
5301 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5302 else
5303 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5316
5317 fi;
5318
5319 eval "$ac_cv_use_snglinst"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5327 else
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5330 fi
5331
5332
5333
5334 enablestring=
5335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5336 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5337 no_cache=0
5338 # Check whether --enable-mimetype or --disable-mimetype was given.
5339 if test "${enable_mimetype+set}" = set; then
5340 enableval="$enable_mimetype"
5341
5342 if test "$enableval" = yes; then
5343 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5344 else
5345 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5346 fi
5347
5348 else
5349
5350 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5351 if test "x$LINE" != x ; then
5352 eval "DEFAULT_$LINE"
5353 else
5354 no_cache=1
5355 fi
5356
5357 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5358
5359 fi;
5360
5361 eval "$ac_cv_use_mimetype"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5364 fi
5365
5366 if test "$wxUSE_MIMETYPE" = yes; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5369 else
5370 echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6
5372 fi
5373
5374
5375 enablestring=
5376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5377 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5378 no_cache=0
5379 # Check whether --enable-system_options or --disable-system_options was given.
5380 if test "${enable_system_options+set}" = set; then
5381 enableval="$enable_system_options"
5382
5383 if test "$enableval" = yes; then
5384 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5385 else
5386 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5387 fi
5388
5389 else
5390
5391 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x ; then
5393 eval "DEFAULT_$LINE"
5394 else
5395 no_cache=1
5396 fi
5397
5398 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5399
5400 fi;
5401
5402 eval "$ac_cv_use_system_options"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5405 fi
5406
5407 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5408 echo "$as_me:$LINENO: result: yes" >&5
5409 echo "${ECHO_T}yes" >&6
5410 else
5411 echo "$as_me:$LINENO: result: no" >&5
5412 echo "${ECHO_T}no" >&6
5413 fi
5414
5415
5416
5417 enablestring=
5418 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5419 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5420 no_cache=0
5421 # Check whether --enable-url or --disable-url was given.
5422 if test "${enable_url+set}" = set; then
5423 enableval="$enable_url"
5424
5425 if test "$enableval" = yes; then
5426 ac_cv_use_url='wxUSE_URL=yes'
5427 else
5428 ac_cv_use_url='wxUSE_URL=no'
5429 fi
5430
5431 else
5432
5433 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x ; then
5435 eval "DEFAULT_$LINE"
5436 else
5437 no_cache=1
5438 fi
5439
5440 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5441
5442 fi;
5443
5444 eval "$ac_cv_use_url"
5445 if test "$no_cache" != 1; then
5446 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5447 fi
5448
5449 if test "$wxUSE_URL" = yes; then
5450 echo "$as_me:$LINENO: result: yes" >&5
5451 echo "${ECHO_T}yes" >&6
5452 else
5453 echo "$as_me:$LINENO: result: no" >&5
5454 echo "${ECHO_T}no" >&6
5455 fi
5456
5457
5458 enablestring=
5459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5460 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5461 no_cache=0
5462 # Check whether --enable-protocol or --disable-protocol was given.
5463 if test "${enable_protocol+set}" = set; then
5464 enableval="$enable_protocol"
5465
5466 if test "$enableval" = yes; then
5467 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5468 else
5469 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5470 fi
5471
5472 else
5473
5474 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x ; then
5476 eval "DEFAULT_$LINE"
5477 else
5478 no_cache=1
5479 fi
5480
5481 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5482
5483 fi;
5484
5485 eval "$ac_cv_use_protocol"
5486 if test "$no_cache" != 1; then
5487 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5488 fi
5489
5490 if test "$wxUSE_PROTOCOL" = yes; then
5491 echo "$as_me:$LINENO: result: yes" >&5
5492 echo "${ECHO_T}yes" >&6
5493 else
5494 echo "$as_me:$LINENO: result: no" >&5
5495 echo "${ECHO_T}no" >&6
5496 fi
5497
5498
5499 enablestring=
5500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5501 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5502 no_cache=0
5503 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5504 if test "${enable_protocol_http+set}" = set; then
5505 enableval="$enable_protocol_http"
5506
5507 if test "$enableval" = yes; then
5508 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5509 else
5510 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5511 fi
5512
5513 else
5514
5515 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x ; then
5517 eval "DEFAULT_$LINE"
5518 else
5519 no_cache=1
5520 fi
5521
5522 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5523
5524 fi;
5525
5526 eval "$ac_cv_use_protocol_http"
5527 if test "$no_cache" != 1; then
5528 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5529 fi
5530
5531 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5532 echo "$as_me:$LINENO: result: yes" >&5
5533 echo "${ECHO_T}yes" >&6
5534 else
5535 echo "$as_me:$LINENO: result: no" >&5
5536 echo "${ECHO_T}no" >&6
5537 fi
5538
5539
5540 enablestring=
5541 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5543 no_cache=0
5544 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5545 if test "${enable_protocol_ftp+set}" = set; then
5546 enableval="$enable_protocol_ftp"
5547
5548 if test "$enableval" = yes; then
5549 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5550 else
5551 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5552 fi
5553
5554 else
5555
5556 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5557 if test "x$LINE" != x ; then
5558 eval "DEFAULT_$LINE"
5559 else
5560 no_cache=1
5561 fi
5562
5563 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5564
5565 fi;
5566
5567 eval "$ac_cv_use_protocol_ftp"
5568 if test "$no_cache" != 1; then
5569 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5570 fi
5571
5572 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5573 echo "$as_me:$LINENO: result: yes" >&5
5574 echo "${ECHO_T}yes" >&6
5575 else
5576 echo "$as_me:$LINENO: result: no" >&5
5577 echo "${ECHO_T}no" >&6
5578 fi
5579
5580
5581 enablestring=
5582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5583 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5584 no_cache=0
5585 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5586 if test "${enable_protocol_file+set}" = set; then
5587 enableval="$enable_protocol_file"
5588
5589 if test "$enableval" = yes; then
5590 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5591 else
5592 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5593 fi
5594
5595 else
5596
5597 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5598 if test "x$LINE" != x ; then
5599 eval "DEFAULT_$LINE"
5600 else
5601 no_cache=1
5602 fi
5603
5604 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5605
5606 fi;
5607
5608 eval "$ac_cv_use_protocol_file"
5609 if test "$no_cache" != 1; then
5610 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5611 fi
5612
5613 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5614 echo "$as_me:$LINENO: result: yes" >&5
5615 echo "${ECHO_T}yes" >&6
5616 else
5617 echo "$as_me:$LINENO: result: no" >&5
5618 echo "${ECHO_T}no" >&6
5619 fi
5620
5621
5622
5623
5624
5625 enablestring=
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5628 no_cache=0
5629 # Check whether --enable-threads or --disable-threads was given.
5630 if test "${enable_threads+set}" = set; then
5631 enableval="$enable_threads"
5632
5633 if test "$enableval" = yes; then
5634 ac_cv_use_threads='wxUSE_THREADS=yes'
5635 else
5636 ac_cv_use_threads='wxUSE_THREADS=no'
5637 fi
5638
5639 else
5640
5641 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x ; then
5643 eval "DEFAULT_$LINE"
5644 else
5645 no_cache=1
5646 fi
5647
5648 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5649
5650 fi;
5651
5652 eval "$ac_cv_use_threads"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5655 fi
5656
5657 if test "$wxUSE_THREADS" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5660 else
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5663 fi
5664
5665
5666 if test "$wxUSE_GUI" = "yes"; then
5667
5668
5669
5670 enablestring=
5671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5672 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5673 no_cache=0
5674 # Check whether --enable-docview or --disable-docview was given.
5675 if test "${enable_docview+set}" = set; then
5676 enableval="$enable_docview"
5677
5678 if test "$enableval" = yes; then
5679 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5680 else
5681 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5682 fi
5683
5684 else
5685
5686 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5687 if test "x$LINE" != x ; then
5688 eval "DEFAULT_$LINE"
5689 else
5690 no_cache=1
5691 fi
5692
5693 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5694
5695 fi;
5696
5697 eval "$ac_cv_use_docview"
5698 if test "$no_cache" != 1; then
5699 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5700 fi
5701
5702 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5703 echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6
5705 else
5706 echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6
5708 fi
5709
5710
5711 enablestring=
5712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5713 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5714 no_cache=0
5715 # Check whether --enable-help or --disable-help was given.
5716 if test "${enable_help+set}" = set; then
5717 enableval="$enable_help"
5718
5719 if test "$enableval" = yes; then
5720 ac_cv_use_help='wxUSE_HELP=yes'
5721 else
5722 ac_cv_use_help='wxUSE_HELP=no'
5723 fi
5724
5725 else
5726
5727 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5728 if test "x$LINE" != x ; then
5729 eval "DEFAULT_$LINE"
5730 else
5731 no_cache=1
5732 fi
5733
5734 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5735
5736 fi;
5737
5738 eval "$ac_cv_use_help"
5739 if test "$no_cache" != 1; then
5740 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5741 fi
5742
5743 if test "$wxUSE_HELP" = yes; then
5744 echo "$as_me:$LINENO: result: yes" >&5
5745 echo "${ECHO_T}yes" >&6
5746 else
5747 echo "$as_me:$LINENO: result: no" >&5
5748 echo "${ECHO_T}no" >&6
5749 fi
5750
5751
5752 enablestring=
5753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5755 no_cache=0
5756 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5757 if test "${enable_mshtmlhelp+set}" = set; then
5758 enableval="$enable_mshtmlhelp"
5759
5760 if test "$enableval" = yes; then
5761 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5762 else
5763 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5764 fi
5765
5766 else
5767
5768 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x ; then
5770 eval "DEFAULT_$LINE"
5771 else
5772 no_cache=1
5773 fi
5774
5775 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5776
5777 fi;
5778
5779 eval "$ac_cv_use_mshtmlhelp"
5780 if test "$no_cache" != 1; then
5781 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5782 fi
5783
5784 if test "$wxUSE_MS_HTML_HELP" = yes; then
5785 echo "$as_me:$LINENO: result: yes" >&5
5786 echo "${ECHO_T}yes" >&6
5787 else
5788 echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6
5790 fi
5791
5792
5793 enablestring=
5794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5795 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5796 no_cache=0
5797 # Check whether --enable-html or --disable-html was given.
5798 if test "${enable_html+set}" = set; then
5799 enableval="$enable_html"
5800
5801 if test "$enableval" = yes; then
5802 ac_cv_use_html='wxUSE_HTML=yes'
5803 else
5804 ac_cv_use_html='wxUSE_HTML=no'
5805 fi
5806
5807 else
5808
5809 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5810 if test "x$LINE" != x ; then
5811 eval "DEFAULT_$LINE"
5812 else
5813 no_cache=1
5814 fi
5815
5816 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5817
5818 fi;
5819
5820 eval "$ac_cv_use_html"
5821 if test "$no_cache" != 1; then
5822 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5823 fi
5824
5825 if test "$wxUSE_HTML" = yes; then
5826 echo "$as_me:$LINENO: result: yes" >&5
5827 echo "${ECHO_T}yes" >&6
5828 else
5829 echo "$as_me:$LINENO: result: no" >&5
5830 echo "${ECHO_T}no" >&6
5831 fi
5832
5833
5834 enablestring=
5835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5836 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5837 no_cache=0
5838 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5839 if test "${enable_htmlhelp+set}" = set; then
5840 enableval="$enable_htmlhelp"
5841
5842 if test "$enableval" = yes; then
5843 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5844 else
5845 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5846 fi
5847
5848 else
5849
5850 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x ; then
5852 eval "DEFAULT_$LINE"
5853 else
5854 no_cache=1
5855 fi
5856
5857 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5858
5859 fi;
5860
5861 eval "$ac_cv_use_htmlhelp"
5862 if test "$no_cache" != 1; then
5863 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5864 fi
5865
5866 if test "$wxUSE_WXHTML_HELP" = yes; then
5867 echo "$as_me:$LINENO: result: yes" >&5
5868 echo "${ECHO_T}yes" >&6
5869 else
5870 echo "$as_me:$LINENO: result: no" >&5
5871 echo "${ECHO_T}no" >&6
5872 fi
5873
5874
5875 enablestring=
5876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5877 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5878 no_cache=0
5879 # Check whether --enable-constraints or --disable-constraints was given.
5880 if test "${enable_constraints+set}" = set; then
5881 enableval="$enable_constraints"
5882
5883 if test "$enableval" = yes; then
5884 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5885 else
5886 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5887 fi
5888
5889 else
5890
5891 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x ; then
5893 eval "DEFAULT_$LINE"
5894 else
5895 no_cache=1
5896 fi
5897
5898 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5899
5900 fi;
5901
5902 eval "$ac_cv_use_constraints"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5905 fi
5906
5907 if test "$wxUSE_CONSTRAINTS" = yes; then
5908 echo "$as_me:$LINENO: result: yes" >&5
5909 echo "${ECHO_T}yes" >&6
5910 else
5911 echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5913 fi
5914
5915
5916 enablestring=
5917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5918 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5919 no_cache=0
5920 # Check whether --enable-printarch or --disable-printarch was given.
5921 if test "${enable_printarch+set}" = set; then
5922 enableval="$enable_printarch"
5923
5924 if test "$enableval" = yes; then
5925 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5926 else
5927 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5928 fi
5929
5930 else
5931
5932 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x ; then
5934 eval "DEFAULT_$LINE"
5935 else
5936 no_cache=1
5937 fi
5938
5939 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5940
5941 fi;
5942
5943 eval "$ac_cv_use_printarch"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5946 fi
5947
5948 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5949 echo "$as_me:$LINENO: result: yes" >&5
5950 echo "${ECHO_T}yes" >&6
5951 else
5952 echo "$as_me:$LINENO: result: no" >&5
5953 echo "${ECHO_T}no" >&6
5954 fi
5955
5956
5957 enablestring=
5958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5960 no_cache=0
5961 # Check whether --enable-mdi or --disable-mdi was given.
5962 if test "${enable_mdi+set}" = set; then
5963 enableval="$enable_mdi"
5964
5965 if test "$enableval" = yes; then
5966 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5967 else
5968 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5969 fi
5970
5971 else
5972
5973 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5974 if test "x$LINE" != x ; then
5975 eval "DEFAULT_$LINE"
5976 else
5977 no_cache=1
5978 fi
5979
5980 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5981
5982 fi;
5983
5984 eval "$ac_cv_use_mdi"
5985 if test "$no_cache" != 1; then
5986 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5987 fi
5988
5989 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5990 echo "$as_me:$LINENO: result: yes" >&5
5991 echo "${ECHO_T}yes" >&6
5992 else
5993 echo "$as_me:$LINENO: result: no" >&5
5994 echo "${ECHO_T}no" >&6
5995 fi
5996
5997
5998 enablestring=
5999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6000 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6001 no_cache=0
6002 # Check whether --enable-loggui or --disable-loggui was given.
6003 if test "${enable_loggui+set}" = set; then
6004 enableval="$enable_loggui"
6005
6006 if test "$enableval" = yes; then
6007 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6008 else
6009 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6010 fi
6011
6012 else
6013
6014 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x ; then
6016 eval "DEFAULT_$LINE"
6017 else
6018 no_cache=1
6019 fi
6020
6021 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6022
6023 fi;
6024
6025 eval "$ac_cv_use_loggui"
6026 if test "$no_cache" != 1; then
6027 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6028 fi
6029
6030 if test "$wxUSE_LOGGUI" = yes; then
6031 echo "$as_me:$LINENO: result: yes" >&5
6032 echo "${ECHO_T}yes" >&6
6033 else
6034 echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6
6036 fi
6037
6038
6039 enablestring=
6040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6041 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6042 no_cache=0
6043 # Check whether --enable-logwin or --disable-logwin was given.
6044 if test "${enable_logwin+set}" = set; then
6045 enableval="$enable_logwin"
6046
6047 if test "$enableval" = yes; then
6048 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6049 else
6050 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6051 fi
6052
6053 else
6054
6055 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6056 if test "x$LINE" != x ; then
6057 eval "DEFAULT_$LINE"
6058 else
6059 no_cache=1
6060 fi
6061
6062 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6063
6064 fi;
6065
6066 eval "$ac_cv_use_logwin"
6067 if test "$no_cache" != 1; then
6068 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6069 fi
6070
6071 if test "$wxUSE_LOGWINDOW" = yes; then
6072 echo "$as_me:$LINENO: result: yes" >&5
6073 echo "${ECHO_T}yes" >&6
6074 else
6075 echo "$as_me:$LINENO: result: no" >&5
6076 echo "${ECHO_T}no" >&6
6077 fi
6078
6079
6080 enablestring=
6081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6082 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6083 no_cache=0
6084 # Check whether --enable-logdialog or --disable-logdialog was given.
6085 if test "${enable_logdialog+set}" = set; then
6086 enableval="$enable_logdialog"
6087
6088 if test "$enableval" = yes; then
6089 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6090 else
6091 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6092 fi
6093
6094 else
6095
6096 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x ; then
6098 eval "DEFAULT_$LINE"
6099 else
6100 no_cache=1
6101 fi
6102
6103 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6104
6105 fi;
6106
6107 eval "$ac_cv_use_logdialog"
6108 if test "$no_cache" != 1; then
6109 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6110 fi
6111
6112 if test "$wxUSE_LOGDIALOG" = yes; then
6113 echo "$as_me:$LINENO: result: yes" >&5
6114 echo "${ECHO_T}yes" >&6
6115 else
6116 echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6
6118 fi
6119
6120
6121
6122 enablestring=
6123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6125 no_cache=0
6126 # Check whether --enable-postscript or --disable-postscript was given.
6127 if test "${enable_postscript+set}" = set; then
6128 enableval="$enable_postscript"
6129
6130 if test "$enableval" = yes; then
6131 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6132 else
6133 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6134 fi
6135
6136 else
6137
6138 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x ; then
6140 eval "DEFAULT_$LINE"
6141 else
6142 no_cache=1
6143 fi
6144
6145 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6146
6147 fi;
6148
6149 eval "$ac_cv_use_postscript"
6150 if test "$no_cache" != 1; then
6151 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6152 fi
6153
6154 if test "$wxUSE_POSTSCRIPT" = yes; then
6155 echo "$as_me:$LINENO: result: yes" >&5
6156 echo "${ECHO_T}yes" >&6
6157 else
6158 echo "$as_me:$LINENO: result: no" >&5
6159 echo "${ECHO_T}no" >&6
6160 fi
6161
6162
6163
6164
6165
6166 enablestring=
6167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6168 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6169 no_cache=0
6170 # Check whether --enable-prologio or --disable-prologio was given.
6171 if test "${enable_prologio+set}" = set; then
6172 enableval="$enable_prologio"
6173
6174 if test "$enableval" = yes; then
6175 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6176 else
6177 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6178 fi
6179
6180 else
6181
6182 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6183 if test "x$LINE" != x ; then
6184 eval "DEFAULT_$LINE"
6185 else
6186 no_cache=1
6187 fi
6188
6189 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6190
6191 fi;
6192
6193 eval "$ac_cv_use_prologio"
6194 if test "$no_cache" != 1; then
6195 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6196 fi
6197
6198 if test "$wxUSE_PROLOGIO" = yes; then
6199 echo "$as_me:$LINENO: result: yes" >&5
6200 echo "${ECHO_T}yes" >&6
6201 else
6202 echo "$as_me:$LINENO: result: no" >&5
6203 echo "${ECHO_T}no" >&6
6204 fi
6205
6206
6207 enablestring=
6208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6209 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6210 no_cache=0
6211 # Check whether --enable-resources or --disable-resources was given.
6212 if test "${enable_resources+set}" = set; then
6213 enableval="$enable_resources"
6214
6215 if test "$enableval" = yes; then
6216 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6217 else
6218 ac_cv_use_resources='wxUSE_RESOURCES=no'
6219 fi
6220
6221 else
6222
6223 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6224 if test "x$LINE" != x ; then
6225 eval "DEFAULT_$LINE"
6226 else
6227 no_cache=1
6228 fi
6229
6230 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6231
6232 fi;
6233
6234 eval "$ac_cv_use_resources"
6235 if test "$no_cache" != 1; then
6236 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6237 fi
6238
6239 if test "$wxUSE_RESOURCES" = yes; then
6240 echo "$as_me:$LINENO: result: yes" >&5
6241 echo "${ECHO_T}yes" >&6
6242 else
6243 echo "$as_me:$LINENO: result: no" >&5
6244 echo "${ECHO_T}no" >&6
6245 fi
6246
6247
6248
6249
6250 enablestring=
6251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6253 no_cache=0
6254 # Check whether --enable-clipboard or --disable-clipboard was given.
6255 if test "${enable_clipboard+set}" = set; then
6256 enableval="$enable_clipboard"
6257
6258 if test "$enableval" = yes; then
6259 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6260 else
6261 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6262 fi
6263
6264 else
6265
6266 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6267 if test "x$LINE" != x ; then
6268 eval "DEFAULT_$LINE"
6269 else
6270 no_cache=1
6271 fi
6272
6273 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6274
6275 fi;
6276
6277 eval "$ac_cv_use_clipboard"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6280 fi
6281
6282 if test "$wxUSE_CLIPBOARD" = yes; then
6283 echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6
6285 else
6286 echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6
6288 fi
6289
6290
6291 enablestring=
6292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6294 no_cache=0
6295 # Check whether --enable-dnd or --disable-dnd was given.
6296 if test "${enable_dnd+set}" = set; then
6297 enableval="$enable_dnd"
6298
6299 if test "$enableval" = yes; then
6300 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6301 else
6302 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6303 fi
6304
6305 else
6306
6307 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6308 if test "x$LINE" != x ; then
6309 eval "DEFAULT_$LINE"
6310 else
6311 no_cache=1
6312 fi
6313
6314 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6315
6316 fi;
6317
6318 eval "$ac_cv_use_dnd"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6321 fi
6322
6323 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6324 echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6
6326 else
6327 echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6
6329 fi
6330
6331
6332 enablestring=
6333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6335 no_cache=0
6336 # Check whether --enable-metafile or --disable-metafile was given.
6337 if test "${enable_metafile+set}" = set; then
6338 enableval="$enable_metafile"
6339
6340 if test "$enableval" = yes; then
6341 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6342 else
6343 ac_cv_use_metafile='wxUSE_METAFILE=no'
6344 fi
6345
6346 else
6347
6348 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x ; then
6350 eval "DEFAULT_$LINE"
6351 else
6352 no_cache=1
6353 fi
6354
6355 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6356
6357 fi;
6358
6359 eval "$ac_cv_use_metafile"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6362 fi
6363
6364 if test "$wxUSE_METAFILE" = yes; then
6365 echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6
6367 else
6368 echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6
6370 fi
6371
6372
6373
6374
6375
6376 enablestring=
6377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6378 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6379 no_cache=0
6380 # Check whether --enable-controls or --disable-controls was given.
6381 if test "${enable_controls+set}" = set; then
6382 enableval="$enable_controls"
6383
6384 if test "$enableval" = yes; then
6385 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6386 else
6387 ac_cv_use_controls='wxUSE_CONTROLS=no'
6388 fi
6389
6390 else
6391
6392 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x ; then
6394 eval "DEFAULT_$LINE"
6395 else
6396 no_cache=1
6397 fi
6398
6399 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6400
6401 fi;
6402
6403 eval "$ac_cv_use_controls"
6404 if test "$no_cache" != 1; then
6405 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6406 fi
6407
6408 if test "$wxUSE_CONTROLS" = yes; then
6409 echo "$as_me:$LINENO: result: yes" >&5
6410 echo "${ECHO_T}yes" >&6
6411 else
6412 echo "$as_me:$LINENO: result: no" >&5
6413 echo "${ECHO_T}no" >&6
6414 fi
6415
6416
6417 if test "$wxUSE_CONTROLS" = "yes"; then
6418 DEFAULT_wxUSE_ACCEL=yes
6419 DEFAULT_wxUSE_BMPBUTTON=yes
6420 DEFAULT_wxUSE_BUTTON=yes
6421 DEFAULT_wxUSE_CALCTRL=no
6422 DEFAULT_wxUSE_CARET=yes
6423 DEFAULT_wxUSE_COMBOBOX=yes
6424 DEFAULT_wxUSE_CHECKBOX=yes
6425 DEFAULT_wxUSE_CHECKLISTBOX=yes
6426 DEFAULT_wxUSE_CHOICE=yes
6427 DEFAULT_wxUSE_GAUGE=yes
6428 DEFAULT_wxUSE_GRID=yes
6429 DEFAULT_wxUSE_IMAGLIST=yes
6430 DEFAULT_wxUSE_LISTBOX=yes
6431 DEFAULT_wxUSE_LISTCTRL=yes
6432 DEFAULT_wxUSE_NOTEBOOK=yes
6433 DEFAULT_wxUSE_RADIOBOX=yes
6434 DEFAULT_wxUSE_RADIOBTN=yes
6435 DEFAULT_wxUSE_SASH=yes
6436 DEFAULT_wxUSE_SCROLLBAR=yes
6437 DEFAULT_wxUSE_SLIDER=yes
6438 DEFAULT_wxUSE_SPINBTN=yes
6439 DEFAULT_wxUSE_SPINCTRL=yes
6440 DEFAULT_wxUSE_SPLITTER=yes
6441 DEFAULT_wxUSE_STATBMP=yes
6442 DEFAULT_wxUSE_STATBOX=yes
6443 DEFAULT_wxUSE_STATLINE=yes
6444 DEFAULT_wxUSE_STATUSBAR=yes
6445 DEFAULT_wxUSE_TAB_DIALOG=yes
6446 DEFAULT_wxUSE_TOGGLEBTN=yes
6447 DEFAULT_wxUSE_TOOLBAR=yes
6448 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6449 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6450 DEFAULT_wxUSE_TOOLTIPS=yes
6451 DEFAULT_wxUSE_TREECTRL=yes
6452 DEFAULT_wxUSE_POPUPWIN=yes
6453 DEFAULT_wxUSE_TIPWINDOW=yes
6454 elif test "$wxUSE_CONTROLS" = "no"; then
6455 DEFAULT_wxUSE_ACCEL=no
6456 DEFAULT_wxUSE_BMPBUTTON=no
6457 DEFAULT_wxUSE_BUTTON=no
6458 DEFAULT_wxUSE_CALCTRL=no
6459 DEFAULT_wxUSE_CARET=no
6460 DEFAULT_wxUSE_COMBOBOX=no
6461 DEFAULT_wxUSE_CHECKBOX=no
6462 DEFAULT_wxUSE_CHECKLISTBOX=no
6463 DEFAULT_wxUSE_CHOICE=no
6464 DEFAULT_wxUSE_GAUGE=no
6465 DEFAULT_wxUSE_GRID=no
6466 DEFAULT_wxUSE_IMAGLIST=no
6467 DEFAULT_wxUSE_LISTBOX=no
6468 DEFAULT_wxUSE_LISTCTRL=no
6469 DEFAULT_wxUSE_NOTEBOOK=no
6470 DEFAULT_wxUSE_RADIOBOX=no
6471 DEFAULT_wxUSE_RADIOBTN=no
6472 DEFAULT_wxUSE_SASH=no
6473 DEFAULT_wxUSE_SCROLLBAR=no
6474 DEFAULT_wxUSE_SLIDER=no
6475 DEFAULT_wxUSE_SPINBTN=no
6476 DEFAULT_wxUSE_SPINCTRL=no
6477 DEFAULT_wxUSE_SPLITTER=no
6478 DEFAULT_wxUSE_STATBMP=no
6479 DEFAULT_wxUSE_STATBOX=no
6480 DEFAULT_wxUSE_STATLINE=no
6481 DEFAULT_wxUSE_STATUSBAR=no
6482 DEFAULT_wxUSE_TAB_DIALOG=no
6483 DEFAULT_wxUSE_TOGGLEBTN=no
6484 DEFAULT_wxUSE_TOOLBAR=no
6485 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6486 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6487 DEFAULT_wxUSE_TOOLTIPS=no
6488 DEFAULT_wxUSE_TREECTRL=no
6489 DEFAULT_wxUSE_POPUPWIN=no
6490 DEFAULT_wxUSE_TIPWINDOW=no
6491 fi
6492
6493 ## FIXME: This is a blatant hack
6494 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6495 wxUSE_PRINTING_ARCHITECTURE=no
6496 wxUSE_HELP=no
6497 wxUSE_CLIPBOARD=no
6498 wxUSE_DRAG_AND_DROP=no
6499 wxUSE_DATAOBJ=no
6500 # Generic notebook requires tab dialog
6501 DEFAULT_wxUSE_TABDIALOG=yes
6502 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6503 DEFAULT_wxUSE_GAUGE=no
6504 DEFAULT_wxUSE_SCROLLBAR=no
6505 DEFAULT_wxUSE_COMBOBOX=no
6506 DEFAULT_wxUSE_CALCTRL=no
6507 DEFAULT_wxUSE_SPINBTN=no
6508 DEFAULT_wxUSE_SPINCTRL=no
6509 DEFAULT_wxUSE_TOOLTIPS=no
6510 DEFAULT_wxUSE_DRAGIMAGE=no
6511 DEFAULT_wxUSE_FINDREPLDLG=no
6512 DEFAULT_wxUSE_FONTDLG=no
6513 DEFAULT_wxUSE_GRID=no
6514 DEFAULT_wxUSE_NUMBERDLG=no
6515 DEFAULT_wxUSE_PROGRESSDLG=no
6516 DEFAULT_wxUSE_SASH=no
6517 DEFAULT_wxUSE_SPLITTER=no
6518 DEFAULT_wxUSE_WIZARDDLG=no
6519 DEFAULT_wxUSE_SPLITTER=no
6520 DEFAULT_wxUSE_STARTUP_TIPS=no
6521 fi
6522
6523
6524 enablestring=
6525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6526 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6527 no_cache=0
6528 # Check whether --enable-accel or --disable-accel was given.
6529 if test "${enable_accel+set}" = set; then
6530 enableval="$enable_accel"
6531
6532 if test "$enableval" = yes; then
6533 ac_cv_use_accel='wxUSE_ACCEL=yes'
6534 else
6535 ac_cv_use_accel='wxUSE_ACCEL=no'
6536 fi
6537
6538 else
6539
6540 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6543 else
6544 no_cache=1
6545 fi
6546
6547 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6548
6549 fi;
6550
6551 eval "$ac_cv_use_accel"
6552 if test "$no_cache" != 1; then
6553 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6554 fi
6555
6556 if test "$wxUSE_ACCEL" = yes; then
6557 echo "$as_me:$LINENO: result: yes" >&5
6558 echo "${ECHO_T}yes" >&6
6559 else
6560 echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6
6562 fi
6563
6564
6565 enablestring=
6566 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6567 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6568 no_cache=0
6569 # Check whether --enable-button or --disable-button was given.
6570 if test "${enable_button+set}" = set; then
6571 enableval="$enable_button"
6572
6573 if test "$enableval" = yes; then
6574 ac_cv_use_button='wxUSE_BUTTON=yes'
6575 else
6576 ac_cv_use_button='wxUSE_BUTTON=no'
6577 fi
6578
6579 else
6580
6581 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6584 else
6585 no_cache=1
6586 fi
6587
6588 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6589
6590 fi;
6591
6592 eval "$ac_cv_use_button"
6593 if test "$no_cache" != 1; then
6594 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6595 fi
6596
6597 if test "$wxUSE_BUTTON" = yes; then
6598 echo "$as_me:$LINENO: result: yes" >&5
6599 echo "${ECHO_T}yes" >&6
6600 else
6601 echo "$as_me:$LINENO: result: no" >&5
6602 echo "${ECHO_T}no" >&6
6603 fi
6604
6605
6606 enablestring=
6607 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6608 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6609 no_cache=0
6610 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6611 if test "${enable_bmpbutton+set}" = set; then
6612 enableval="$enable_bmpbutton"
6613
6614 if test "$enableval" = yes; then
6615 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6616 else
6617 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6618 fi
6619
6620 else
6621
6622 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6625 else
6626 no_cache=1
6627 fi
6628
6629 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6630
6631 fi;
6632
6633 eval "$ac_cv_use_bmpbutton"
6634 if test "$no_cache" != 1; then
6635 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6636 fi
6637
6638 if test "$wxUSE_BMPBUTTON" = yes; then
6639 echo "$as_me:$LINENO: result: yes" >&5
6640 echo "${ECHO_T}yes" >&6
6641 else
6642 echo "$as_me:$LINENO: result: no" >&5
6643 echo "${ECHO_T}no" >&6
6644 fi
6645
6646
6647 enablestring=
6648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6650 no_cache=0
6651 # Check whether --enable-calendar or --disable-calendar was given.
6652 if test "${enable_calendar+set}" = set; then
6653 enableval="$enable_calendar"
6654
6655 if test "$enableval" = yes; then
6656 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6657 else
6658 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6659 fi
6660
6661 else
6662
6663 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6666 else
6667 no_cache=1
6668 fi
6669
6670 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6671
6672 fi;
6673
6674 eval "$ac_cv_use_calendar"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6677 fi
6678
6679 if test "$wxUSE_CALCTRL" = yes; then
6680 echo "$as_me:$LINENO: result: yes" >&5
6681 echo "${ECHO_T}yes" >&6
6682 else
6683 echo "$as_me:$LINENO: result: no" >&5
6684 echo "${ECHO_T}no" >&6
6685 fi
6686
6687
6688 enablestring=
6689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6691 no_cache=0
6692 # Check whether --enable-caret or --disable-caret was given.
6693 if test "${enable_caret+set}" = set; then
6694 enableval="$enable_caret"
6695
6696 if test "$enableval" = yes; then
6697 ac_cv_use_caret='wxUSE_CARET=yes'
6698 else
6699 ac_cv_use_caret='wxUSE_CARET=no'
6700 fi
6701
6702 else
6703
6704 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6712
6713 fi;
6714
6715 eval "$ac_cv_use_caret"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6718 fi
6719
6720 if test "$wxUSE_CARET" = yes; then
6721 echo "$as_me:$LINENO: result: yes" >&5
6722 echo "${ECHO_T}yes" >&6
6723 else
6724 echo "$as_me:$LINENO: result: no" >&5
6725 echo "${ECHO_T}no" >&6
6726 fi
6727
6728
6729 enablestring=
6730 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6731 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6732 no_cache=0
6733 # Check whether --enable-checkbox or --disable-checkbox was given.
6734 if test "${enable_checkbox+set}" = set; then
6735 enableval="$enable_checkbox"
6736
6737 if test "$enableval" = yes; then
6738 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6739 else
6740 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6741 fi
6742
6743 else
6744
6745 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6748 else
6749 no_cache=1
6750 fi
6751
6752 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6753
6754 fi;
6755
6756 eval "$ac_cv_use_checkbox"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6759 fi
6760
6761 if test "$wxUSE_CHECKBOX" = yes; then
6762 echo "$as_me:$LINENO: result: yes" >&5
6763 echo "${ECHO_T}yes" >&6
6764 else
6765 echo "$as_me:$LINENO: result: no" >&5
6766 echo "${ECHO_T}no" >&6
6767 fi
6768
6769
6770 enablestring=
6771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6772 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6773 no_cache=0
6774 # Check whether --enable-checklst or --disable-checklst was given.
6775 if test "${enable_checklst+set}" = set; then
6776 enableval="$enable_checklst"
6777
6778 if test "$enableval" = yes; then
6779 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6780 else
6781 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6782 fi
6783
6784 else
6785
6786 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6789 else
6790 no_cache=1
6791 fi
6792
6793 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6794
6795 fi;
6796
6797 eval "$ac_cv_use_checklst"
6798 if test "$no_cache" != 1; then
6799 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6800 fi
6801
6802 if test "$wxUSE_CHECKLST" = yes; then
6803 echo "$as_me:$LINENO: result: yes" >&5
6804 echo "${ECHO_T}yes" >&6
6805 else
6806 echo "$as_me:$LINENO: result: no" >&5
6807 echo "${ECHO_T}no" >&6
6808 fi
6809
6810
6811 enablestring=
6812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6814 no_cache=0
6815 # Check whether --enable-choice or --disable-choice was given.
6816 if test "${enable_choice+set}" = set; then
6817 enableval="$enable_choice"
6818
6819 if test "$enableval" = yes; then
6820 ac_cv_use_choice='wxUSE_CHOICE=yes'
6821 else
6822 ac_cv_use_choice='wxUSE_CHOICE=no'
6823 fi
6824
6825 else
6826
6827 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6830 else
6831 no_cache=1
6832 fi
6833
6834 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6835
6836 fi;
6837
6838 eval "$ac_cv_use_choice"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6841 fi
6842
6843 if test "$wxUSE_CHOICE" = yes; then
6844 echo "$as_me:$LINENO: result: yes" >&5
6845 echo "${ECHO_T}yes" >&6
6846 else
6847 echo "$as_me:$LINENO: result: no" >&5
6848 echo "${ECHO_T}no" >&6
6849 fi
6850
6851
6852 enablestring=
6853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6854 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6855 no_cache=0
6856 # Check whether --enable-combobox or --disable-combobox was given.
6857 if test "${enable_combobox+set}" = set; then
6858 enableval="$enable_combobox"
6859
6860 if test "$enableval" = yes; then
6861 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6862 else
6863 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6864 fi
6865
6866 else
6867
6868 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 else
6872 no_cache=1
6873 fi
6874
6875 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6876
6877 fi;
6878
6879 eval "$ac_cv_use_combobox"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6882 fi
6883
6884 if test "$wxUSE_COMBOBOX" = yes; then
6885 echo "$as_me:$LINENO: result: yes" >&5
6886 echo "${ECHO_T}yes" >&6
6887 else
6888 echo "$as_me:$LINENO: result: no" >&5
6889 echo "${ECHO_T}no" >&6
6890 fi
6891
6892
6893 enablestring=
6894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6895 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6896 no_cache=0
6897 # Check whether --enable-display or --disable-display was given.
6898 if test "${enable_display+set}" = set; then
6899 enableval="$enable_display"
6900
6901 if test "$enableval" = yes; then
6902 ac_cv_use_display='wxUSE_DISPLAY=yes'
6903 else
6904 ac_cv_use_display='wxUSE_DISPLAY=no'
6905 fi
6906
6907 else
6908
6909 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6912 else
6913 no_cache=1
6914 fi
6915
6916 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6917
6918 fi;
6919
6920 eval "$ac_cv_use_display"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6923 fi
6924
6925 if test "$wxUSE_DISPLAY" = yes; then
6926 echo "$as_me:$LINENO: result: yes" >&5
6927 echo "${ECHO_T}yes" >&6
6928 else
6929 echo "$as_me:$LINENO: result: no" >&5
6930 echo "${ECHO_T}no" >&6
6931 fi
6932
6933
6934 enablestring=
6935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6936 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6937 no_cache=0
6938 # Check whether --enable-gauge or --disable-gauge was given.
6939 if test "${enable_gauge+set}" = set; then
6940 enableval="$enable_gauge"
6941
6942 if test "$enableval" = yes; then
6943 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6944 else
6945 ac_cv_use_gauge='wxUSE_GAUGE=no'
6946 fi
6947
6948 else
6949
6950 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6953 else
6954 no_cache=1
6955 fi
6956
6957 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6958
6959 fi;
6960
6961 eval "$ac_cv_use_gauge"
6962 if test "$no_cache" != 1; then
6963 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6964 fi
6965
6966 if test "$wxUSE_GAUGE" = yes; then
6967 echo "$as_me:$LINENO: result: yes" >&5
6968 echo "${ECHO_T}yes" >&6
6969 else
6970 echo "$as_me:$LINENO: result: no" >&5
6971 echo "${ECHO_T}no" >&6
6972 fi
6973
6974
6975 enablestring=
6976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6977 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6978 no_cache=0
6979 # Check whether --enable-grid or --disable-grid was given.
6980 if test "${enable_grid+set}" = set; then
6981 enableval="$enable_grid"
6982
6983 if test "$enableval" = yes; then
6984 ac_cv_use_grid='wxUSE_GRID=yes'
6985 else
6986 ac_cv_use_grid='wxUSE_GRID=no'
6987 fi
6988
6989 else
6990
6991 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6994 else
6995 no_cache=1
6996 fi
6997
6998 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6999
7000 fi;
7001
7002 eval "$ac_cv_use_grid"
7003 if test "$no_cache" != 1; then
7004 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7005 fi
7006
7007 if test "$wxUSE_GRID" = yes; then
7008 echo "$as_me:$LINENO: result: yes" >&5
7009 echo "${ECHO_T}yes" >&6
7010 else
7011 echo "$as_me:$LINENO: result: no" >&5
7012 echo "${ECHO_T}no" >&6
7013 fi
7014
7015
7016 enablestring=
7017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7019 no_cache=0
7020 # Check whether --enable-imaglist or --disable-imaglist was given.
7021 if test "${enable_imaglist+set}" = set; then
7022 enableval="$enable_imaglist"
7023
7024 if test "$enableval" = yes; then
7025 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7026 else
7027 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7028 fi
7029
7030 else
7031
7032 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 else
7036 no_cache=1
7037 fi
7038
7039 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7040
7041 fi;
7042
7043 eval "$ac_cv_use_imaglist"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7046 fi
7047
7048 if test "$wxUSE_IMAGLIST" = yes; then
7049 echo "$as_me:$LINENO: result: yes" >&5
7050 echo "${ECHO_T}yes" >&6
7051 else
7052 echo "$as_me:$LINENO: result: no" >&5
7053 echo "${ECHO_T}no" >&6
7054 fi
7055
7056
7057 enablestring=
7058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7059 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7060 no_cache=0
7061 # Check whether --enable-listbox or --disable-listbox was given.
7062 if test "${enable_listbox+set}" = set; then
7063 enableval="$enable_listbox"
7064
7065 if test "$enableval" = yes; then
7066 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7067 else
7068 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7069 fi
7070
7071 else
7072
7073 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7076 else
7077 no_cache=1
7078 fi
7079
7080 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7081
7082 fi;
7083
7084 eval "$ac_cv_use_listbox"
7085 if test "$no_cache" != 1; then
7086 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7087 fi
7088
7089 if test "$wxUSE_LISTBOX" = yes; then
7090 echo "$as_me:$LINENO: result: yes" >&5
7091 echo "${ECHO_T}yes" >&6
7092 else
7093 echo "$as_me:$LINENO: result: no" >&5
7094 echo "${ECHO_T}no" >&6
7095 fi
7096
7097
7098 enablestring=
7099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7100 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7101 no_cache=0
7102 # Check whether --enable-listctrl or --disable-listctrl was given.
7103 if test "${enable_listctrl+set}" = set; then
7104 enableval="$enable_listctrl"
7105
7106 if test "$enableval" = yes; then
7107 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7108 else
7109 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7110 fi
7111
7112 else
7113
7114 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7115 if test "x$LINE" != x ; then
7116 eval "DEFAULT_$LINE"
7117 else
7118 no_cache=1
7119 fi
7120
7121 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7122
7123 fi;
7124
7125 eval "$ac_cv_use_listctrl"
7126 if test "$no_cache" != 1; then
7127 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7128 fi
7129
7130 if test "$wxUSE_LISTCTRL" = yes; then
7131 echo "$as_me:$LINENO: result: yes" >&5
7132 echo "${ECHO_T}yes" >&6
7133 else
7134 echo "$as_me:$LINENO: result: no" >&5
7135 echo "${ECHO_T}no" >&6
7136 fi
7137
7138
7139 enablestring=
7140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7141 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7142 no_cache=0
7143 # Check whether --enable-notebook or --disable-notebook was given.
7144 if test "${enable_notebook+set}" = set; then
7145 enableval="$enable_notebook"
7146
7147 if test "$enableval" = yes; then
7148 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7149 else
7150 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7151 fi
7152
7153 else
7154
7155 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 else
7159 no_cache=1
7160 fi
7161
7162 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7163
7164 fi;
7165
7166 eval "$ac_cv_use_notebook"
7167 if test "$no_cache" != 1; then
7168 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7169 fi
7170
7171 if test "$wxUSE_NOTEBOOK" = yes; then
7172 echo "$as_me:$LINENO: result: yes" >&5
7173 echo "${ECHO_T}yes" >&6
7174 else
7175 echo "$as_me:$LINENO: result: no" >&5
7176 echo "${ECHO_T}no" >&6
7177 fi
7178
7179
7180 enablestring=
7181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7183 no_cache=0
7184 # Check whether --enable-radiobox or --disable-radiobox was given.
7185 if test "${enable_radiobox+set}" = set; then
7186 enableval="$enable_radiobox"
7187
7188 if test "$enableval" = yes; then
7189 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7190 else
7191 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7192 fi
7193
7194 else
7195
7196 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7199 else
7200 no_cache=1
7201 fi
7202
7203 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7204
7205 fi;
7206
7207 eval "$ac_cv_use_radiobox"
7208 if test "$no_cache" != 1; then
7209 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7210 fi
7211
7212 if test "$wxUSE_RADIOBOX" = yes; then
7213 echo "$as_me:$LINENO: result: yes" >&5
7214 echo "${ECHO_T}yes" >&6
7215 else
7216 echo "$as_me:$LINENO: result: no" >&5
7217 echo "${ECHO_T}no" >&6
7218 fi
7219
7220
7221 enablestring=
7222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7224 no_cache=0
7225 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7226 if test "${enable_radiobtn+set}" = set; then
7227 enableval="$enable_radiobtn"
7228
7229 if test "$enableval" = yes; then
7230 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7231 else
7232 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7233 fi
7234
7235 else
7236
7237 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7240 else
7241 no_cache=1
7242 fi
7243
7244 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7245
7246 fi;
7247
7248 eval "$ac_cv_use_radiobtn"
7249 if test "$no_cache" != 1; then
7250 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7251 fi
7252
7253 if test "$wxUSE_RADIOBTN" = yes; then
7254 echo "$as_me:$LINENO: result: yes" >&5
7255 echo "${ECHO_T}yes" >&6
7256 else
7257 echo "$as_me:$LINENO: result: no" >&5
7258 echo "${ECHO_T}no" >&6
7259 fi
7260
7261
7262 enablestring=
7263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7265 no_cache=0
7266 # Check whether --enable-sash or --disable-sash was given.
7267 if test "${enable_sash+set}" = set; then
7268 enableval="$enable_sash"
7269
7270 if test "$enableval" = yes; then
7271 ac_cv_use_sash='wxUSE_SASH=yes'
7272 else
7273 ac_cv_use_sash='wxUSE_SASH=no'
7274 fi
7275
7276 else
7277
7278 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7281 else
7282 no_cache=1
7283 fi
7284
7285 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7286
7287 fi;
7288
7289 eval "$ac_cv_use_sash"
7290 if test "$no_cache" != 1; then
7291 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7292 fi
7293
7294 if test "$wxUSE_SASH" = yes; then
7295 echo "$as_me:$LINENO: result: yes" >&5
7296 echo "${ECHO_T}yes" >&6
7297 else
7298 echo "$as_me:$LINENO: result: no" >&5
7299 echo "${ECHO_T}no" >&6
7300 fi
7301
7302
7303 enablestring=
7304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7305 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7306 no_cache=0
7307 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7308 if test "${enable_scrollbar+set}" = set; then
7309 enableval="$enable_scrollbar"
7310
7311 if test "$enableval" = yes; then
7312 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7313 else
7314 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7315 fi
7316
7317 else
7318
7319 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x ; then
7321 eval "DEFAULT_$LINE"
7322 else
7323 no_cache=1
7324 fi
7325
7326 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7327
7328 fi;
7329
7330 eval "$ac_cv_use_scrollbar"
7331 if test "$no_cache" != 1; then
7332 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7333 fi
7334
7335 if test "$wxUSE_SCROLLBAR" = yes; then
7336 echo "$as_me:$LINENO: result: yes" >&5
7337 echo "${ECHO_T}yes" >&6
7338 else
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7341 fi
7342
7343
7344 enablestring=
7345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7346 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7347 no_cache=0
7348 # Check whether --enable-slider or --disable-slider was given.
7349 if test "${enable_slider+set}" = set; then
7350 enableval="$enable_slider"
7351
7352 if test "$enableval" = yes; then
7353 ac_cv_use_slider='wxUSE_SLIDER=yes'
7354 else
7355 ac_cv_use_slider='wxUSE_SLIDER=no'
7356 fi
7357
7358 else
7359
7360 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x ; then
7362 eval "DEFAULT_$LINE"
7363 else
7364 no_cache=1
7365 fi
7366
7367 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7368
7369 fi;
7370
7371 eval "$ac_cv_use_slider"
7372 if test "$no_cache" != 1; then
7373 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7374 fi
7375
7376 if test "$wxUSE_SLIDER" = yes; then
7377 echo "$as_me:$LINENO: result: yes" >&5
7378 echo "${ECHO_T}yes" >&6
7379 else
7380 echo "$as_me:$LINENO: result: no" >&5
7381 echo "${ECHO_T}no" >&6
7382 fi
7383
7384
7385 enablestring=
7386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7388 no_cache=0
7389 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7390 if test "${enable_spinbtn+set}" = set; then
7391 enableval="$enable_spinbtn"
7392
7393 if test "$enableval" = yes; then
7394 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7395 else
7396 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7397 fi
7398
7399 else
7400
7401 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x ; then
7403 eval "DEFAULT_$LINE"
7404 else
7405 no_cache=1
7406 fi
7407
7408 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7409
7410 fi;
7411
7412 eval "$ac_cv_use_spinbtn"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7415 fi
7416
7417 if test "$wxUSE_SPINBTN" = yes; then
7418 echo "$as_me:$LINENO: result: yes" >&5
7419 echo "${ECHO_T}yes" >&6
7420 else
7421 echo "$as_me:$LINENO: result: no" >&5
7422 echo "${ECHO_T}no" >&6
7423 fi
7424
7425
7426 enablestring=
7427 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7428 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7429 no_cache=0
7430 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7431 if test "${enable_spinctrl+set}" = set; then
7432 enableval="$enable_spinctrl"
7433
7434 if test "$enableval" = yes; then
7435 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7436 else
7437 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7438 fi
7439
7440 else
7441
7442 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x ; then
7444 eval "DEFAULT_$LINE"
7445 else
7446 no_cache=1
7447 fi
7448
7449 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7450
7451 fi;
7452
7453 eval "$ac_cv_use_spinctrl"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7456 fi
7457
7458 if test "$wxUSE_SPINCTRL" = yes; then
7459 echo "$as_me:$LINENO: result: yes" >&5
7460 echo "${ECHO_T}yes" >&6
7461 else
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7464 fi
7465
7466
7467 enablestring=
7468 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7469 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7470 no_cache=0
7471 # Check whether --enable-splitter or --disable-splitter was given.
7472 if test "${enable_splitter+set}" = set; then
7473 enableval="$enable_splitter"
7474
7475 if test "$enableval" = yes; then
7476 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7477 else
7478 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7479 fi
7480
7481 else
7482
7483 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x ; then
7485 eval "DEFAULT_$LINE"
7486 else
7487 no_cache=1
7488 fi
7489
7490 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7491
7492 fi;
7493
7494 eval "$ac_cv_use_splitter"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7497 fi
7498
7499 if test "$wxUSE_SPLITTER" = yes; then
7500 echo "$as_me:$LINENO: result: yes" >&5
7501 echo "${ECHO_T}yes" >&6
7502 else
7503 echo "$as_me:$LINENO: result: no" >&5
7504 echo "${ECHO_T}no" >&6
7505 fi
7506
7507
7508 enablestring=
7509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7510 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7511 no_cache=0
7512 # Check whether --enable-statbmp or --disable-statbmp was given.
7513 if test "${enable_statbmp+set}" = set; then
7514 enableval="$enable_statbmp"
7515
7516 if test "$enableval" = yes; then
7517 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7518 else
7519 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7520 fi
7521
7522 else
7523
7524 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x ; then
7526 eval "DEFAULT_$LINE"
7527 else
7528 no_cache=1
7529 fi
7530
7531 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7532
7533 fi;
7534
7535 eval "$ac_cv_use_statbmp"
7536 if test "$no_cache" != 1; then
7537 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7538 fi
7539
7540 if test "$wxUSE_STATBMP" = yes; then
7541 echo "$as_me:$LINENO: result: yes" >&5
7542 echo "${ECHO_T}yes" >&6
7543 else
7544 echo "$as_me:$LINENO: result: no" >&5
7545 echo "${ECHO_T}no" >&6
7546 fi
7547
7548
7549 enablestring=
7550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7551 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7552 no_cache=0
7553 # Check whether --enable-statbox or --disable-statbox was given.
7554 if test "${enable_statbox+set}" = set; then
7555 enableval="$enable_statbox"
7556
7557 if test "$enableval" = yes; then
7558 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7559 else
7560 ac_cv_use_statbox='wxUSE_STATBOX=no'
7561 fi
7562
7563 else
7564
7565 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x ; then
7567 eval "DEFAULT_$LINE"
7568 else
7569 no_cache=1
7570 fi
7571
7572 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7573
7574 fi;
7575
7576 eval "$ac_cv_use_statbox"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7579 fi
7580
7581 if test "$wxUSE_STATBOX" = yes; then
7582 echo "$as_me:$LINENO: result: yes" >&5
7583 echo "${ECHO_T}yes" >&6
7584 else
7585 echo "$as_me:$LINENO: result: no" >&5
7586 echo "${ECHO_T}no" >&6
7587 fi
7588
7589
7590 enablestring=
7591 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7592 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7593 no_cache=0
7594 # Check whether --enable-statline or --disable-statline was given.
7595 if test "${enable_statline+set}" = set; then
7596 enableval="$enable_statline"
7597
7598 if test "$enableval" = yes; then
7599 ac_cv_use_statline='wxUSE_STATLINE=yes'
7600 else
7601 ac_cv_use_statline='wxUSE_STATLINE=no'
7602 fi
7603
7604 else
7605
7606 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7607 if test "x$LINE" != x ; then
7608 eval "DEFAULT_$LINE"
7609 else
7610 no_cache=1
7611 fi
7612
7613 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7614
7615 fi;
7616
7617 eval "$ac_cv_use_statline"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7620 fi
7621
7622 if test "$wxUSE_STATLINE" = yes; then
7623 echo "$as_me:$LINENO: result: yes" >&5
7624 echo "${ECHO_T}yes" >&6
7625 else
7626 echo "$as_me:$LINENO: result: no" >&5
7627 echo "${ECHO_T}no" >&6
7628 fi
7629
7630
7631 enablestring=
7632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7633 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7634 no_cache=0
7635 # Check whether --enable-stattext or --disable-stattext was given.
7636 if test "${enable_stattext+set}" = set; then
7637 enableval="$enable_stattext"
7638
7639 if test "$enableval" = yes; then
7640 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7641 else
7642 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7643 fi
7644
7645 else
7646
7647 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7648 if test "x$LINE" != x ; then
7649 eval "DEFAULT_$LINE"
7650 else
7651 no_cache=1
7652 fi
7653
7654 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7655
7656 fi;
7657
7658 eval "$ac_cv_use_stattext"
7659 if test "$no_cache" != 1; then
7660 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7661 fi
7662
7663 if test "$wxUSE_STATTEXT" = yes; then
7664 echo "$as_me:$LINENO: result: yes" >&5
7665 echo "${ECHO_T}yes" >&6
7666 else
7667 echo "$as_me:$LINENO: result: no" >&5
7668 echo "${ECHO_T}no" >&6
7669 fi
7670
7671
7672 enablestring=
7673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7674 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7675 no_cache=0
7676 # Check whether --enable-statusbar or --disable-statusbar was given.
7677 if test "${enable_statusbar+set}" = set; then
7678 enableval="$enable_statusbar"
7679
7680 if test "$enableval" = yes; then
7681 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7682 else
7683 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7684 fi
7685
7686 else
7687
7688 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x ; then
7690 eval "DEFAULT_$LINE"
7691 else
7692 no_cache=1
7693 fi
7694
7695 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7696
7697 fi;
7698
7699 eval "$ac_cv_use_statusbar"
7700 if test "$no_cache" != 1; then
7701 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7702 fi
7703
7704 if test "$wxUSE_STATUSBAR" = yes; then
7705 echo "$as_me:$LINENO: result: yes" >&5
7706 echo "${ECHO_T}yes" >&6
7707 else
7708 echo "$as_me:$LINENO: result: no" >&5
7709 echo "${ECHO_T}no" >&6
7710 fi
7711
7712
7713 enablestring=
7714 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7715 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7716 no_cache=0
7717 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7718 if test "${enable_tabdialog+set}" = set; then
7719 enableval="$enable_tabdialog"
7720
7721 if test "$enableval" = yes; then
7722 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7723 else
7724 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7725 fi
7726
7727 else
7728
7729 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7730 if test "x$LINE" != x ; then
7731 eval "DEFAULT_$LINE"
7732 else
7733 no_cache=1
7734 fi
7735
7736 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7737
7738 fi;
7739
7740 eval "$ac_cv_use_tabdialog"
7741 if test "$no_cache" != 1; then
7742 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7743 fi
7744
7745 if test "$wxUSE_TABDIALOG" = yes; then
7746 echo "$as_me:$LINENO: result: yes" >&5
7747 echo "${ECHO_T}yes" >&6
7748 else
7749 echo "$as_me:$LINENO: result: no" >&5
7750 echo "${ECHO_T}no" >&6
7751 fi
7752
7753
7754 enablestring=
7755 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7756 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7757 no_cache=0
7758 # Check whether --enable-textctrl or --disable-textctrl was given.
7759 if test "${enable_textctrl+set}" = set; then
7760 enableval="$enable_textctrl"
7761
7762 if test "$enableval" = yes; then
7763 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7764 else
7765 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7766 fi
7767
7768 else
7769
7770 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7771 if test "x$LINE" != x ; then
7772 eval "DEFAULT_$LINE"
7773 else
7774 no_cache=1
7775 fi
7776
7777 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7778
7779 fi;
7780
7781 eval "$ac_cv_use_textctrl"
7782 if test "$no_cache" != 1; then
7783 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7784 fi
7785
7786 if test "$wxUSE_TEXTCTRL" = yes; then
7787 echo "$as_me:$LINENO: result: yes" >&5
7788 echo "${ECHO_T}yes" >&6
7789 else
7790 echo "$as_me:$LINENO: result: no" >&5
7791 echo "${ECHO_T}no" >&6
7792 fi
7793
7794
7795 enablestring=
7796 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7797 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7798 no_cache=0
7799 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7800 if test "${enable_togglebtn+set}" = set; then
7801 enableval="$enable_togglebtn"
7802
7803 if test "$enableval" = yes; then
7804 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7805 else
7806 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7807 fi
7808
7809 else
7810
7811 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7812 if test "x$LINE" != x ; then
7813 eval "DEFAULT_$LINE"
7814 else
7815 no_cache=1
7816 fi
7817
7818 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7819
7820 fi;
7821
7822 eval "$ac_cv_use_togglebtn"
7823 if test "$no_cache" != 1; then
7824 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7825 fi
7826
7827 if test "$wxUSE_TOGGLEBTN" = yes; then
7828 echo "$as_me:$LINENO: result: yes" >&5
7829 echo "${ECHO_T}yes" >&6
7830 else
7831 echo "$as_me:$LINENO: result: no" >&5
7832 echo "${ECHO_T}no" >&6
7833 fi
7834
7835
7836 enablestring=
7837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7839 no_cache=0
7840 # Check whether --enable-toolbar or --disable-toolbar was given.
7841 if test "${enable_toolbar+set}" = set; then
7842 enableval="$enable_toolbar"
7843
7844 if test "$enableval" = yes; then
7845 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7846 else
7847 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7848 fi
7849
7850 else
7851
7852 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7855 else
7856 no_cache=1
7857 fi
7858
7859 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7860
7861 fi;
7862
7863 eval "$ac_cv_use_toolbar"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7866 fi
7867
7868 if test "$wxUSE_TOOLBAR" = yes; then
7869 echo "$as_me:$LINENO: result: yes" >&5
7870 echo "${ECHO_T}yes" >&6
7871 else
7872 echo "$as_me:$LINENO: result: no" >&5
7873 echo "${ECHO_T}no" >&6
7874 fi
7875
7876
7877 enablestring=
7878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7880 no_cache=0
7881 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7882 if test "${enable_tbarnative+set}" = set; then
7883 enableval="$enable_tbarnative"
7884
7885 if test "$enableval" = yes; then
7886 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7887 else
7888 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7889 fi
7890
7891 else
7892
7893 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7894 if test "x$LINE" != x ; then
7895 eval "DEFAULT_$LINE"
7896 else
7897 no_cache=1
7898 fi
7899
7900 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7901
7902 fi;
7903
7904 eval "$ac_cv_use_tbarnative"
7905 if test "$no_cache" != 1; then
7906 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7907 fi
7908
7909 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7910 echo "$as_me:$LINENO: result: yes" >&5
7911 echo "${ECHO_T}yes" >&6
7912 else
7913 echo "$as_me:$LINENO: result: no" >&5
7914 echo "${ECHO_T}no" >&6
7915 fi
7916
7917
7918 enablestring=
7919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7920 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7921 no_cache=0
7922 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7923 if test "${enable_tbarsmpl+set}" = set; then
7924 enableval="$enable_tbarsmpl"
7925
7926 if test "$enableval" = yes; then
7927 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7928 else
7929 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7930 fi
7931
7932 else
7933
7934 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7935 if test "x$LINE" != x ; then
7936 eval "DEFAULT_$LINE"
7937 else
7938 no_cache=1
7939 fi
7940
7941 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7942
7943 fi;
7944
7945 eval "$ac_cv_use_tbarsmpl"
7946 if test "$no_cache" != 1; then
7947 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7948 fi
7949
7950 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7951 echo "$as_me:$LINENO: result: yes" >&5
7952 echo "${ECHO_T}yes" >&6
7953 else
7954 echo "$as_me:$LINENO: result: no" >&5
7955 echo "${ECHO_T}no" >&6
7956 fi
7957
7958
7959 enablestring=
7960 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7962 no_cache=0
7963 # Check whether --enable-treectrl or --disable-treectrl was given.
7964 if test "${enable_treectrl+set}" = set; then
7965 enableval="$enable_treectrl"
7966
7967 if test "$enableval" = yes; then
7968 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7969 else
7970 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7971 fi
7972
7973 else
7974
7975 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x ; then
7977 eval "DEFAULT_$LINE"
7978 else
7979 no_cache=1
7980 fi
7981
7982 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7983
7984 fi;
7985
7986 eval "$ac_cv_use_treectrl"
7987 if test "$no_cache" != 1; then
7988 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7989 fi
7990
7991 if test "$wxUSE_TREECTRL" = yes; then
7992 echo "$as_me:$LINENO: result: yes" >&5
7993 echo "${ECHO_T}yes" >&6
7994 else
7995 echo "$as_me:$LINENO: result: no" >&5
7996 echo "${ECHO_T}no" >&6
7997 fi
7998
7999
8000 enablestring=
8001 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8003 no_cache=0
8004 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8005 if test "${enable_tipwindow+set}" = set; then
8006 enableval="$enable_tipwindow"
8007
8008 if test "$enableval" = yes; then
8009 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8010 else
8011 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8012 fi
8013
8014 else
8015
8016 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x ; then
8018 eval "DEFAULT_$LINE"
8019 else
8020 no_cache=1
8021 fi
8022
8023 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8024
8025 fi;
8026
8027 eval "$ac_cv_use_tipwindow"
8028 if test "$no_cache" != 1; then
8029 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8030 fi
8031
8032 if test "$wxUSE_TIPWINDOW" = yes; then
8033 echo "$as_me:$LINENO: result: yes" >&5
8034 echo "${ECHO_T}yes" >&6
8035 else
8036 echo "$as_me:$LINENO: result: no" >&5
8037 echo "${ECHO_T}no" >&6
8038 fi
8039
8040
8041 enablestring=
8042 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8044 no_cache=0
8045 # Check whether --enable-popupwin or --disable-popupwin was given.
8046 if test "${enable_popupwin+set}" = set; then
8047 enableval="$enable_popupwin"
8048
8049 if test "$enableval" = yes; then
8050 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8051 else
8052 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8053 fi
8054
8055 else
8056
8057 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8058 if test "x$LINE" != x ; then
8059 eval "DEFAULT_$LINE"
8060 else
8061 no_cache=1
8062 fi
8063
8064 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8065
8066 fi;
8067
8068 eval "$ac_cv_use_popupwin"
8069 if test "$no_cache" != 1; then
8070 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8071 fi
8072
8073 if test "$wxUSE_POPUPWIN" = yes; then
8074 echo "$as_me:$LINENO: result: yes" >&5
8075 echo "${ECHO_T}yes" >&6
8076 else
8077 echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6
8079 fi
8080
8081
8082
8083
8084 enablestring=
8085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8086 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8087 no_cache=0
8088 # Check whether --enable-commondlg or --disable-commondlg was given.
8089 if test "${enable_commondlg+set}" = set; then
8090 enableval="$enable_commondlg"
8091
8092 if test "$enableval" = yes; then
8093 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8094 else
8095 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8096 fi
8097
8098 else
8099
8100 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x ; then
8102 eval "DEFAULT_$LINE"
8103 else
8104 no_cache=1
8105 fi
8106
8107 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8108
8109 fi;
8110
8111 eval "$ac_cv_use_commondlg"
8112 if test "$no_cache" != 1; then
8113 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8114 fi
8115
8116 if test "$wxUSE_COMMONDLGS" = yes; then
8117 echo "$as_me:$LINENO: result: yes" >&5
8118 echo "${ECHO_T}yes" >&6
8119 else
8120 echo "$as_me:$LINENO: result: no" >&5
8121 echo "${ECHO_T}no" >&6
8122 fi
8123
8124
8125 enablestring=
8126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8127 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8128 no_cache=0
8129 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8130 if test "${enable_choicedlg+set}" = set; then
8131 enableval="$enable_choicedlg"
8132
8133 if test "$enableval" = yes; then
8134 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8135 else
8136 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8137 fi
8138
8139 else
8140
8141 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8142 if test "x$LINE" != x ; then
8143 eval "DEFAULT_$LINE"
8144 else
8145 no_cache=1
8146 fi
8147
8148 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8149
8150 fi;
8151
8152 eval "$ac_cv_use_choicedlg"
8153 if test "$no_cache" != 1; then
8154 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8155 fi
8156
8157 if test "$wxUSE_CHOICEDLG" = yes; then
8158 echo "$as_me:$LINENO: result: yes" >&5
8159 echo "${ECHO_T}yes" >&6
8160 else
8161 echo "$as_me:$LINENO: result: no" >&5
8162 echo "${ECHO_T}no" >&6
8163 fi
8164
8165
8166 enablestring=
8167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8168 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8169 no_cache=0
8170 # Check whether --enable-coldlg or --disable-coldlg was given.
8171 if test "${enable_coldlg+set}" = set; then
8172 enableval="$enable_coldlg"
8173
8174 if test "$enableval" = yes; then
8175 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8176 else
8177 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8178 fi
8179
8180 else
8181
8182 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8183 if test "x$LINE" != x ; then
8184 eval "DEFAULT_$LINE"
8185 else
8186 no_cache=1
8187 fi
8188
8189 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8190
8191 fi;
8192
8193 eval "$ac_cv_use_coldlg"
8194 if test "$no_cache" != 1; then
8195 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8196 fi
8197
8198 if test "$wxUSE_COLOURDLG" = yes; then
8199 echo "$as_me:$LINENO: result: yes" >&5
8200 echo "${ECHO_T}yes" >&6
8201 else
8202 echo "$as_me:$LINENO: result: no" >&5
8203 echo "${ECHO_T}no" >&6
8204 fi
8205
8206
8207 enablestring=
8208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8209 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8210 no_cache=0
8211 # Check whether --enable-filedlg or --disable-filedlg was given.
8212 if test "${enable_filedlg+set}" = set; then
8213 enableval="$enable_filedlg"
8214
8215 if test "$enableval" = yes; then
8216 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8217 else
8218 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8219 fi
8220
8221 else
8222
8223 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8224 if test "x$LINE" != x ; then
8225 eval "DEFAULT_$LINE"
8226 else
8227 no_cache=1
8228 fi
8229
8230 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8231
8232 fi;
8233
8234 eval "$ac_cv_use_filedlg"
8235 if test "$no_cache" != 1; then
8236 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8237 fi
8238
8239 if test "$wxUSE_FILEDLG" = yes; then
8240 echo "$as_me:$LINENO: result: yes" >&5
8241 echo "${ECHO_T}yes" >&6
8242 else
8243 echo "$as_me:$LINENO: result: no" >&5
8244 echo "${ECHO_T}no" >&6
8245 fi
8246
8247
8248 enablestring=
8249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8250 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8251 no_cache=0
8252 # Check whether --enable-finddlg or --disable-finddlg was given.
8253 if test "${enable_finddlg+set}" = set; then
8254 enableval="$enable_finddlg"
8255
8256 if test "$enableval" = yes; then
8257 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8258 else
8259 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8260 fi
8261
8262 else
8263
8264 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8265 if test "x$LINE" != x ; then
8266 eval "DEFAULT_$LINE"
8267 else
8268 no_cache=1
8269 fi
8270
8271 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8272
8273 fi;
8274
8275 eval "$ac_cv_use_finddlg"
8276 if test "$no_cache" != 1; then
8277 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8278 fi
8279
8280 if test "$wxUSE_FINDREPLDLG" = yes; then
8281 echo "$as_me:$LINENO: result: yes" >&5
8282 echo "${ECHO_T}yes" >&6
8283 else
8284 echo "$as_me:$LINENO: result: no" >&5
8285 echo "${ECHO_T}no" >&6
8286 fi
8287
8288
8289 enablestring=
8290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8291 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8292 no_cache=0
8293 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8294 if test "${enable_fontdlg+set}" = set; then
8295 enableval="$enable_fontdlg"
8296
8297 if test "$enableval" = yes; then
8298 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8299 else
8300 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8301 fi
8302
8303 else
8304
8305 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x ; then
8307 eval "DEFAULT_$LINE"
8308 else
8309 no_cache=1
8310 fi
8311
8312 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8313
8314 fi;
8315
8316 eval "$ac_cv_use_fontdlg"
8317 if test "$no_cache" != 1; then
8318 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8319 fi
8320
8321 if test "$wxUSE_FONTDLG" = yes; then
8322 echo "$as_me:$LINENO: result: yes" >&5
8323 echo "${ECHO_T}yes" >&6
8324 else
8325 echo "$as_me:$LINENO: result: no" >&5
8326 echo "${ECHO_T}no" >&6
8327 fi
8328
8329
8330 enablestring=
8331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8332 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8333 no_cache=0
8334 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8335 if test "${enable_dirdlg+set}" = set; then
8336 enableval="$enable_dirdlg"
8337
8338 if test "$enableval" = yes; then
8339 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8340 else
8341 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8342 fi
8343
8344 else
8345
8346 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8347 if test "x$LINE" != x ; then
8348 eval "DEFAULT_$LINE"
8349 else
8350 no_cache=1
8351 fi
8352
8353 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8354
8355 fi;
8356
8357 eval "$ac_cv_use_dirdlg"
8358 if test "$no_cache" != 1; then
8359 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8360 fi
8361
8362 if test "$wxUSE_DIRDLG" = yes; then
8363 echo "$as_me:$LINENO: result: yes" >&5
8364 echo "${ECHO_T}yes" >&6
8365 else
8366 echo "$as_me:$LINENO: result: no" >&5
8367 echo "${ECHO_T}no" >&6
8368 fi
8369
8370
8371 enablestring=
8372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8373 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8374 no_cache=0
8375 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8376 if test "${enable_msgdlg+set}" = set; then
8377 enableval="$enable_msgdlg"
8378
8379 if test "$enableval" = yes; then
8380 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8381 else
8382 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8383 fi
8384
8385 else
8386
8387 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x ; then
8389 eval "DEFAULT_$LINE"
8390 else
8391 no_cache=1
8392 fi
8393
8394 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8395
8396 fi;
8397
8398 eval "$ac_cv_use_msgdlg"
8399 if test "$no_cache" != 1; then
8400 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8401 fi
8402
8403 if test "$wxUSE_MSGDLG" = yes; then
8404 echo "$as_me:$LINENO: result: yes" >&5
8405 echo "${ECHO_T}yes" >&6
8406 else
8407 echo "$as_me:$LINENO: result: no" >&5
8408 echo "${ECHO_T}no" >&6
8409 fi
8410
8411
8412 enablestring=
8413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8415 no_cache=0
8416 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8417 if test "${enable_numberdlg+set}" = set; then
8418 enableval="$enable_numberdlg"
8419
8420 if test "$enableval" = yes; then
8421 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8422 else
8423 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8424 fi
8425
8426 else
8427
8428 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8429 if test "x$LINE" != x ; then
8430 eval "DEFAULT_$LINE"
8431 else
8432 no_cache=1
8433 fi
8434
8435 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8436
8437 fi;
8438
8439 eval "$ac_cv_use_numberdlg"
8440 if test "$no_cache" != 1; then
8441 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8442 fi
8443
8444 if test "$wxUSE_NUMBERDLG" = yes; then
8445 echo "$as_me:$LINENO: result: yes" >&5
8446 echo "${ECHO_T}yes" >&6
8447 else
8448 echo "$as_me:$LINENO: result: no" >&5
8449 echo "${ECHO_T}no" >&6
8450 fi
8451
8452
8453 enablestring=
8454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8455 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8456 no_cache=0
8457 # Check whether --enable-splash or --disable-splash was given.
8458 if test "${enable_splash+set}" = set; then
8459 enableval="$enable_splash"
8460
8461 if test "$enableval" = yes; then
8462 ac_cv_use_splash='wxUSE_SPLASH=yes'
8463 else
8464 ac_cv_use_splash='wxUSE_SPLASH=no'
8465 fi
8466
8467 else
8468
8469 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8470 if test "x$LINE" != x ; then
8471 eval "DEFAULT_$LINE"
8472 else
8473 no_cache=1
8474 fi
8475
8476 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8477
8478 fi;
8479
8480 eval "$ac_cv_use_splash"
8481 if test "$no_cache" != 1; then
8482 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8483 fi
8484
8485 if test "$wxUSE_SPLASH" = yes; then
8486 echo "$as_me:$LINENO: result: yes" >&5
8487 echo "${ECHO_T}yes" >&6
8488 else
8489 echo "$as_me:$LINENO: result: no" >&5
8490 echo "${ECHO_T}no" >&6
8491 fi
8492
8493
8494 enablestring=
8495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8496 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8497 no_cache=0
8498 # Check whether --enable-textdlg or --disable-textdlg was given.
8499 if test "${enable_textdlg+set}" = set; then
8500 enableval="$enable_textdlg"
8501
8502 if test "$enableval" = yes; then
8503 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8504 else
8505 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8506 fi
8507
8508 else
8509
8510 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x ; then
8512 eval "DEFAULT_$LINE"
8513 else
8514 no_cache=1
8515 fi
8516
8517 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8518
8519 fi;
8520
8521 eval "$ac_cv_use_textdlg"
8522 if test "$no_cache" != 1; then
8523 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8524 fi
8525
8526 if test "$wxUSE_TEXTDLG" = yes; then
8527 echo "$as_me:$LINENO: result: yes" >&5
8528 echo "${ECHO_T}yes" >&6
8529 else
8530 echo "$as_me:$LINENO: result: no" >&5
8531 echo "${ECHO_T}no" >&6
8532 fi
8533
8534
8535 enablestring=
8536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8537 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8538 no_cache=0
8539 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8540 if test "${enable_tipdlg+set}" = set; then
8541 enableval="$enable_tipdlg"
8542
8543 if test "$enableval" = yes; then
8544 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8545 else
8546 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8547 fi
8548
8549 else
8550
8551 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8552 if test "x$LINE" != x ; then
8553 eval "DEFAULT_$LINE"
8554 else
8555 no_cache=1
8556 fi
8557
8558 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8559
8560 fi;
8561
8562 eval "$ac_cv_use_tipdlg"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8565 fi
8566
8567 if test "$wxUSE_STARTUP_TIPS" = yes; then
8568 echo "$as_me:$LINENO: result: yes" >&5
8569 echo "${ECHO_T}yes" >&6
8570 else
8571 echo "$as_me:$LINENO: result: no" >&5
8572 echo "${ECHO_T}no" >&6
8573 fi
8574
8575
8576 enablestring=
8577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8578 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8579 no_cache=0
8580 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8581 if test "${enable_progressdlg+set}" = set; then
8582 enableval="$enable_progressdlg"
8583
8584 if test "$enableval" = yes; then
8585 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8586 else
8587 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8588 fi
8589
8590 else
8591
8592 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8593 if test "x$LINE" != x ; then
8594 eval "DEFAULT_$LINE"
8595 else
8596 no_cache=1
8597 fi
8598
8599 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8600
8601 fi;
8602
8603 eval "$ac_cv_use_progressdlg"
8604 if test "$no_cache" != 1; then
8605 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8606 fi
8607
8608 if test "$wxUSE_PROGRESSDLG" = yes; then
8609 echo "$as_me:$LINENO: result: yes" >&5
8610 echo "${ECHO_T}yes" >&6
8611 else
8612 echo "$as_me:$LINENO: result: no" >&5
8613 echo "${ECHO_T}no" >&6
8614 fi
8615
8616
8617 enablestring=
8618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8619 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8620 no_cache=0
8621 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8622 if test "${enable_wizarddlg+set}" = set; then
8623 enableval="$enable_wizarddlg"
8624
8625 if test "$enableval" = yes; then
8626 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8627 else
8628 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8629 fi
8630
8631 else
8632
8633 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8634 if test "x$LINE" != x ; then
8635 eval "DEFAULT_$LINE"
8636 else
8637 no_cache=1
8638 fi
8639
8640 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8641
8642 fi;
8643
8644 eval "$ac_cv_use_wizarddlg"
8645 if test "$no_cache" != 1; then
8646 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8647 fi
8648
8649 if test "$wxUSE_WIZARDDLG" = yes; then
8650 echo "$as_me:$LINENO: result: yes" >&5
8651 echo "${ECHO_T}yes" >&6
8652 else
8653 echo "$as_me:$LINENO: result: no" >&5
8654 echo "${ECHO_T}no" >&6
8655 fi
8656
8657
8658
8659
8660 enablestring=
8661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8662 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8663 no_cache=0
8664 # Check whether --enable-menus or --disable-menus was given.
8665 if test "${enable_menus+set}" = set; then
8666 enableval="$enable_menus"
8667
8668 if test "$enableval" = yes; then
8669 ac_cv_use_menus='wxUSE_MENUS=yes'
8670 else
8671 ac_cv_use_menus='wxUSE_MENUS=no'
8672 fi
8673
8674 else
8675
8676 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8677 if test "x$LINE" != x ; then
8678 eval "DEFAULT_$LINE"
8679 else
8680 no_cache=1
8681 fi
8682
8683 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8684
8685 fi;
8686
8687 eval "$ac_cv_use_menus"
8688 if test "$no_cache" != 1; then
8689 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8690 fi
8691
8692 if test "$wxUSE_MENUS" = yes; then
8693 echo "$as_me:$LINENO: result: yes" >&5
8694 echo "${ECHO_T}yes" >&6
8695 else
8696 echo "$as_me:$LINENO: result: no" >&5
8697 echo "${ECHO_T}no" >&6
8698 fi
8699
8700
8701 enablestring=
8702 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8704 no_cache=0
8705 # Check whether --enable-miniframe or --disable-miniframe was given.
8706 if test "${enable_miniframe+set}" = set; then
8707 enableval="$enable_miniframe"
8708
8709 if test "$enableval" = yes; then
8710 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8711 else
8712 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8713 fi
8714
8715 else
8716
8717 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8718 if test "x$LINE" != x ; then
8719 eval "DEFAULT_$LINE"
8720 else
8721 no_cache=1
8722 fi
8723
8724 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8725
8726 fi;
8727
8728 eval "$ac_cv_use_miniframe"
8729 if test "$no_cache" != 1; then
8730 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8731 fi
8732
8733 if test "$wxUSE_MINIFRAME" = yes; then
8734 echo "$as_me:$LINENO: result: yes" >&5
8735 echo "${ECHO_T}yes" >&6
8736 else
8737 echo "$as_me:$LINENO: result: no" >&5
8738 echo "${ECHO_T}no" >&6
8739 fi
8740
8741
8742 enablestring=
8743 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8744 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8745 no_cache=0
8746 # Check whether --enable-tooltips or --disable-tooltips was given.
8747 if test "${enable_tooltips+set}" = set; then
8748 enableval="$enable_tooltips"
8749
8750 if test "$enableval" = yes; then
8751 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8752 else
8753 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8754 fi
8755
8756 else
8757
8758 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8759 if test "x$LINE" != x ; then
8760 eval "DEFAULT_$LINE"
8761 else
8762 no_cache=1
8763 fi
8764
8765 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8766
8767 fi;
8768
8769 eval "$ac_cv_use_tooltips"
8770 if test "$no_cache" != 1; then
8771 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8772 fi
8773
8774 if test "$wxUSE_TOOLTIPS" = yes; then
8775 echo "$as_me:$LINENO: result: yes" >&5
8776 echo "${ECHO_T}yes" >&6
8777 else
8778 echo "$as_me:$LINENO: result: no" >&5
8779 echo "${ECHO_T}no" >&6
8780 fi
8781
8782
8783 enablestring=
8784 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8786 no_cache=0
8787 # Check whether --enable-splines or --disable-splines was given.
8788 if test "${enable_splines+set}" = set; then
8789 enableval="$enable_splines"
8790
8791 if test "$enableval" = yes; then
8792 ac_cv_use_splines='wxUSE_SPLINES=yes'
8793 else
8794 ac_cv_use_splines='wxUSE_SPLINES=no'
8795 fi
8796
8797 else
8798
8799 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8800 if test "x$LINE" != x ; then
8801 eval "DEFAULT_$LINE"
8802 else
8803 no_cache=1
8804 fi
8805
8806 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8807
8808 fi;
8809
8810 eval "$ac_cv_use_splines"
8811 if test "$no_cache" != 1; then
8812 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8813 fi
8814
8815 if test "$wxUSE_SPLINES" = yes; then
8816 echo "$as_me:$LINENO: result: yes" >&5
8817 echo "${ECHO_T}yes" >&6
8818 else
8819 echo "$as_me:$LINENO: result: no" >&5
8820 echo "${ECHO_T}no" >&6
8821 fi
8822
8823
8824 enablestring=
8825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8826 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8827 no_cache=0
8828 # Check whether --enable-validators or --disable-validators was given.
8829 if test "${enable_validators+set}" = set; then
8830 enableval="$enable_validators"
8831
8832 if test "$enableval" = yes; then
8833 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8834 else
8835 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8836 fi
8837
8838 else
8839
8840 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8841 if test "x$LINE" != x ; then
8842 eval "DEFAULT_$LINE"
8843 else
8844 no_cache=1
8845 fi
8846
8847 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8848
8849 fi;
8850
8851 eval "$ac_cv_use_validators"
8852 if test "$no_cache" != 1; then
8853 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8854 fi
8855
8856 if test "$wxUSE_VALIDATORS" = yes; then
8857 echo "$as_me:$LINENO: result: yes" >&5
8858 echo "${ECHO_T}yes" >&6
8859 else
8860 echo "$as_me:$LINENO: result: no" >&5
8861 echo "${ECHO_T}no" >&6
8862 fi
8863
8864
8865 enablestring=
8866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8867 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8868 no_cache=0
8869 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8870 if test "${enable_busyinfo+set}" = set; then
8871 enableval="$enable_busyinfo"
8872
8873 if test "$enableval" = yes; then
8874 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8875 else
8876 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8877 fi
8878
8879 else
8880
8881 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8882 if test "x$LINE" != x ; then
8883 eval "DEFAULT_$LINE"
8884 else
8885 no_cache=1
8886 fi
8887
8888 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8889
8890 fi;
8891
8892 eval "$ac_cv_use_busyinfo"
8893 if test "$no_cache" != 1; then
8894 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8895 fi
8896
8897 if test "$wxUSE_BUSYINFO" = yes; then
8898 echo "$as_me:$LINENO: result: yes" >&5
8899 echo "${ECHO_T}yes" >&6
8900 else
8901 echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6
8903 fi
8904
8905
8906 enablestring=
8907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8908 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8909 no_cache=0
8910 # Check whether --enable-joystick or --disable-joystick was given.
8911 if test "${enable_joystick+set}" = set; then
8912 enableval="$enable_joystick"
8913
8914 if test "$enableval" = yes; then
8915 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8916 else
8917 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8918 fi
8919
8920 else
8921
8922 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8923 if test "x$LINE" != x ; then
8924 eval "DEFAULT_$LINE"
8925 else
8926 no_cache=1
8927 fi
8928
8929 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8930
8931 fi;
8932
8933 eval "$ac_cv_use_joystick"
8934 if test "$no_cache" != 1; then
8935 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8936 fi
8937
8938 if test "$wxUSE_JOYSTICK" = yes; then
8939 echo "$as_me:$LINENO: result: yes" >&5
8940 echo "${ECHO_T}yes" >&6
8941 else
8942 echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6
8944 fi
8945
8946
8947 enablestring=
8948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8950 no_cache=0
8951 # Check whether --enable-metafile or --disable-metafile was given.
8952 if test "${enable_metafile+set}" = set; then
8953 enableval="$enable_metafile"
8954
8955 if test "$enableval" = yes; then
8956 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8957 else
8958 ac_cv_use_metafile='wxUSE_METAFILE=no'
8959 fi
8960
8961 else
8962
8963 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8964 if test "x$LINE" != x ; then
8965 eval "DEFAULT_$LINE"
8966 else
8967 no_cache=1
8968 fi
8969
8970 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8971
8972 fi;
8973
8974 eval "$ac_cv_use_metafile"
8975 if test "$no_cache" != 1; then
8976 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8977 fi
8978
8979 if test "$wxUSE_METAFILE" = yes; then
8980 echo "$as_me:$LINENO: result: yes" >&5
8981 echo "${ECHO_T}yes" >&6
8982 else
8983 echo "$as_me:$LINENO: result: no" >&5
8984 echo "${ECHO_T}no" >&6
8985 fi
8986
8987
8988 enablestring=
8989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8991 no_cache=0
8992 # Check whether --enable-dragimage or --disable-dragimage was given.
8993 if test "${enable_dragimage+set}" = set; then
8994 enableval="$enable_dragimage"
8995
8996 if test "$enableval" = yes; then
8997 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8998 else
8999 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9000 fi
9001
9002 else
9003
9004 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9005 if test "x$LINE" != x ; then
9006 eval "DEFAULT_$LINE"
9007 else
9008 no_cache=1
9009 fi
9010
9011 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9012
9013 fi;
9014
9015 eval "$ac_cv_use_dragimage"
9016 if test "$no_cache" != 1; then
9017 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9018 fi
9019
9020 if test "$wxUSE_DRAGIMAGE" = yes; then
9021 echo "$as_me:$LINENO: result: yes" >&5
9022 echo "${ECHO_T}yes" >&6
9023 else
9024 echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6
9026 fi
9027
9028
9029 enablestring=
9030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9032 no_cache=0
9033 # Check whether --enable-accessibility or --disable-accessibility was given.
9034 if test "${enable_accessibility+set}" = set; then
9035 enableval="$enable_accessibility"
9036
9037 if test "$enableval" = yes; then
9038 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9039 else
9040 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9041 fi
9042
9043 else
9044
9045 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9046 if test "x$LINE" != x ; then
9047 eval "DEFAULT_$LINE"
9048 else
9049 no_cache=1
9050 fi
9051
9052 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9053
9054 fi;
9055
9056 eval "$ac_cv_use_accessibility"
9057 if test "$no_cache" != 1; then
9058 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9059 fi
9060
9061 if test "$wxUSE_ACCESSIBILITY" = yes; then
9062 echo "$as_me:$LINENO: result: yes" >&5
9063 echo "${ECHO_T}yes" >&6
9064 else
9065 echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6
9067 fi
9068
9069
9070
9071
9072 enablestring=
9073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9075 no_cache=0
9076 # Check whether --enable-palette or --disable-palette was given.
9077 if test "${enable_palette+set}" = set; then
9078 enableval="$enable_palette"
9079
9080 if test "$enableval" = yes; then
9081 ac_cv_use_palette='wxUSE_PALETTE=yes'
9082 else
9083 ac_cv_use_palette='wxUSE_PALETTE=no'
9084 fi
9085
9086 else
9087
9088 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9089 if test "x$LINE" != x ; then
9090 eval "DEFAULT_$LINE"
9091 else
9092 no_cache=1
9093 fi
9094
9095 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9096
9097 fi;
9098
9099 eval "$ac_cv_use_palette"
9100 if test "$no_cache" != 1; then
9101 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9102 fi
9103
9104 if test "$wxUSE_PALETTE" = yes; then
9105 echo "$as_me:$LINENO: result: yes" >&5
9106 echo "${ECHO_T}yes" >&6
9107 else
9108 echo "$as_me:$LINENO: result: no" >&5
9109 echo "${ECHO_T}no" >&6
9110 fi
9111
9112
9113 enablestring=
9114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9115 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9116 no_cache=0
9117 # Check whether --enable-image or --disable-image was given.
9118 if test "${enable_image+set}" = set; then
9119 enableval="$enable_image"
9120
9121 if test "$enableval" = yes; then
9122 ac_cv_use_image='wxUSE_IMAGE=yes'
9123 else
9124 ac_cv_use_image='wxUSE_IMAGE=no'
9125 fi
9126
9127 else
9128
9129 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9130 if test "x$LINE" != x ; then
9131 eval "DEFAULT_$LINE"
9132 else
9133 no_cache=1
9134 fi
9135
9136 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9137
9138 fi;
9139
9140 eval "$ac_cv_use_image"
9141 if test "$no_cache" != 1; then
9142 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9143 fi
9144
9145 if test "$wxUSE_IMAGE" = yes; then
9146 echo "$as_me:$LINENO: result: yes" >&5
9147 echo "${ECHO_T}yes" >&6
9148 else
9149 echo "$as_me:$LINENO: result: no" >&5
9150 echo "${ECHO_T}no" >&6
9151 fi
9152
9153
9154 enablestring=
9155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9157 no_cache=0
9158 # Check whether --enable-gif or --disable-gif was given.
9159 if test "${enable_gif+set}" = set; then
9160 enableval="$enable_gif"
9161
9162 if test "$enableval" = yes; then
9163 ac_cv_use_gif='wxUSE_GIF=yes'
9164 else
9165 ac_cv_use_gif='wxUSE_GIF=no'
9166 fi
9167
9168 else
9169
9170 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x ; then
9172 eval "DEFAULT_$LINE"
9173 else
9174 no_cache=1
9175 fi
9176
9177 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9178
9179 fi;
9180
9181 eval "$ac_cv_use_gif"
9182 if test "$no_cache" != 1; then
9183 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9184 fi
9185
9186 if test "$wxUSE_GIF" = yes; then
9187 echo "$as_me:$LINENO: result: yes" >&5
9188 echo "${ECHO_T}yes" >&6
9189 else
9190 echo "$as_me:$LINENO: result: no" >&5
9191 echo "${ECHO_T}no" >&6
9192 fi
9193
9194
9195 enablestring=
9196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9197 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9198 no_cache=0
9199 # Check whether --enable-pcx or --disable-pcx was given.
9200 if test "${enable_pcx+set}" = set; then
9201 enableval="$enable_pcx"
9202
9203 if test "$enableval" = yes; then
9204 ac_cv_use_pcx='wxUSE_PCX=yes'
9205 else
9206 ac_cv_use_pcx='wxUSE_PCX=no'
9207 fi
9208
9209 else
9210
9211 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9214 else
9215 no_cache=1
9216 fi
9217
9218 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9219
9220 fi;
9221
9222 eval "$ac_cv_use_pcx"
9223 if test "$no_cache" != 1; then
9224 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9225 fi
9226
9227 if test "$wxUSE_PCX" = yes; then
9228 echo "$as_me:$LINENO: result: yes" >&5
9229 echo "${ECHO_T}yes" >&6
9230 else
9231 echo "$as_me:$LINENO: result: no" >&5
9232 echo "${ECHO_T}no" >&6
9233 fi
9234
9235
9236 enablestring=
9237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9238 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9239 no_cache=0
9240 # Check whether --enable-iff or --disable-iff was given.
9241 if test "${enable_iff+set}" = set; then
9242 enableval="$enable_iff"
9243
9244 if test "$enableval" = yes; then
9245 ac_cv_use_iff='wxUSE_IFF=yes'
9246 else
9247 ac_cv_use_iff='wxUSE_IFF=no'
9248 fi
9249
9250 else
9251
9252 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9253 if test "x$LINE" != x ; then
9254 eval "DEFAULT_$LINE"
9255 else
9256 no_cache=1
9257 fi
9258
9259 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9260
9261 fi;
9262
9263 eval "$ac_cv_use_iff"
9264 if test "$no_cache" != 1; then
9265 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9266 fi
9267
9268 if test "$wxUSE_IFF" = yes; then
9269 echo "$as_me:$LINENO: result: yes" >&5
9270 echo "${ECHO_T}yes" >&6
9271 else
9272 echo "$as_me:$LINENO: result: no" >&5
9273 echo "${ECHO_T}no" >&6
9274 fi
9275
9276
9277 enablestring=
9278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9279 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9280 no_cache=0
9281 # Check whether --enable-pnm or --disable-pnm was given.
9282 if test "${enable_pnm+set}" = set; then
9283 enableval="$enable_pnm"
9284
9285 if test "$enableval" = yes; then
9286 ac_cv_use_pnm='wxUSE_PNM=yes'
9287 else
9288 ac_cv_use_pnm='wxUSE_PNM=no'
9289 fi
9290
9291 else
9292
9293 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9294 if test "x$LINE" != x ; then
9295 eval "DEFAULT_$LINE"
9296 else
9297 no_cache=1
9298 fi
9299
9300 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9301
9302 fi;
9303
9304 eval "$ac_cv_use_pnm"
9305 if test "$no_cache" != 1; then
9306 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9307 fi
9308
9309 if test "$wxUSE_PNM" = yes; then
9310 echo "$as_me:$LINENO: result: yes" >&5
9311 echo "${ECHO_T}yes" >&6
9312 else
9313 echo "$as_me:$LINENO: result: no" >&5
9314 echo "${ECHO_T}no" >&6
9315 fi
9316
9317
9318 enablestring=
9319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9320 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9321 no_cache=0
9322 # Check whether --enable-xpm or --disable-xpm was given.
9323 if test "${enable_xpm+set}" = set; then
9324 enableval="$enable_xpm"
9325
9326 if test "$enableval" = yes; then
9327 ac_cv_use_xpm='wxUSE_XPM=yes'
9328 else
9329 ac_cv_use_xpm='wxUSE_XPM=no'
9330 fi
9331
9332 else
9333
9334 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x ; then
9336 eval "DEFAULT_$LINE"
9337 else
9338 no_cache=1
9339 fi
9340
9341 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9342
9343 fi;
9344
9345 eval "$ac_cv_use_xpm"
9346 if test "$no_cache" != 1; then
9347 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9348 fi
9349
9350 if test "$wxUSE_XPM" = yes; then
9351 echo "$as_me:$LINENO: result: yes" >&5
9352 echo "${ECHO_T}yes" >&6
9353 else
9354 echo "$as_me:$LINENO: result: no" >&5
9355 echo "${ECHO_T}no" >&6
9356 fi
9357
9358
9359 enablestring=
9360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9361 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9362 no_cache=0
9363 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9364 if test "${enable_ico_cur+set}" = set; then
9365 enableval="$enable_ico_cur"
9366
9367 if test "$enableval" = yes; then
9368 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9369 else
9370 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9371 fi
9372
9373 else
9374
9375 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9376 if test "x$LINE" != x ; then
9377 eval "DEFAULT_$LINE"
9378 else
9379 no_cache=1
9380 fi
9381
9382 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9383
9384 fi;
9385
9386 eval "$ac_cv_use_ico_cur"
9387 if test "$no_cache" != 1; then
9388 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9389 fi
9390
9391 if test "$wxUSE_ICO_CUR" = yes; then
9392 echo "$as_me:$LINENO: result: yes" >&5
9393 echo "${ECHO_T}yes" >&6
9394 else
9395 echo "$as_me:$LINENO: result: no" >&5
9396 echo "${ECHO_T}no" >&6
9397 fi
9398
9399
9400 fi
9401
9402 case "${host}" in
9403 *-pc-os2_emx | *-pc-os2-emx )
9404 PATH_IFS=';'
9405 LEX_STEM="lexyy"
9406 ;;
9407 *)
9408 PATH_IFS=':'
9409 LEX_STEM="lex.yy"
9410 ;;
9411 esac
9412
9413
9414
9415 echo "saving argument cache $wx_arg_cache_file"
9416 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9417
9418
9419
9420 echo "$as_me:$LINENO: checking for toolkit" >&5
9421 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9422
9423 # In Wine, we need to default to MSW, not GTK or MOTIF
9424 if test "$wxUSE_WINE" = "yes"; then
9425 DEFAULT_DEFAULT_wxUSE_GTK=0
9426 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9427 DEFAULT_DEFAULT_wxUSE_MSW=1
9428 fi
9429
9430 if test "$wxUSE_GUI" = "yes"; then
9431
9432 if test "$USE_BEOS" = 1; then
9433 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9434 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9435 { (exit 1); exit 1; }; }
9436 fi
9437
9438 if test "$TOOLKIT_GIVEN" = 1; then
9439 for toolkit in `echo $ALL_TOOLKITS`; do
9440 var=wxUSE_$toolkit
9441 eval "value=\$${var}"
9442 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9443 done
9444 else
9445 for toolkit in `echo $ALL_TOOLKITS`; do
9446 if test "$has_toolkit_in_cache" != 1; then
9447 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9448 else
9449 var=DEFAULT_wxUSE_$toolkit
9450 fi
9451 eval "wxUSE_$toolkit=\$${var}"
9452 done
9453 fi
9454
9455 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9456 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9457 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9458
9459 case "${host}" in
9460 *-pc-os2_emx | *-pc-os2-emx )
9461 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9462 esac
9463
9464 case "$NUM_TOOLKITS" in
9465 1)
9466 ;;
9467 0)
9468 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9469 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9470 { (exit 1); exit 1; }; }
9471 ;;
9472 *)
9473 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9474 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9475 { (exit 1); exit 1; }; }
9476 esac
9477
9478 for toolkit in `echo $ALL_TOOLKITS`; do
9479 var=wxUSE_$toolkit
9480 eval "value=\$${var}"
9481 if test "x$value" != x; then
9482 cache_var=CACHE_$toolkit
9483 eval "cache=\$${cache_var}"
9484 if test "$cache" = 1; then
9485 echo "$var=$value" >> ${wx_arg_cache_file}
9486 fi
9487 if test "$value" = 1; then
9488 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9489 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9490 echo "${ECHO_T}$toolkit_echo" >&6
9491 fi
9492 fi
9493 done
9494 else
9495 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9496 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9497 fi
9498
9499 wants_win32=0
9500 doesnt_want_win32=0
9501 case "${host}" in
9502 *-*-cygwin*)
9503 if test "$wxUSE_MSW" = 1 ; then
9504 wants_win32=1
9505 else
9506 doesnt_want_win32=1
9507 fi
9508 ;;
9509 *-*-mingw*)
9510 wants_win32=1
9511 ;;
9512 esac
9513
9514 if test "$wxUSE_WINE" = "yes"; then
9515 wants_win32=1
9516 CC=winegcc
9517 CXX=wineg++
9518 RESCOMP=wrc
9519 fi
9520
9521 if test "$wants_win32" = 1 ; then
9522 USE_UNIX=0
9523 USE_WIN32=1
9524 cat >>confdefs.h <<\_ACEOF
9525 #define __WIN32__ 1
9526 _ACEOF
9527
9528 cat >>confdefs.h <<\_ACEOF
9529 #define __WIN95__ 1
9530 _ACEOF
9531
9532 cat >>confdefs.h <<\_ACEOF
9533 #define __WINDOWS__ 1
9534 _ACEOF
9535
9536 cat >>confdefs.h <<\_ACEOF
9537 #define __GNUWIN32__ 1
9538 _ACEOF
9539
9540 cat >>confdefs.h <<\_ACEOF
9541 #define STRICT 1
9542 _ACEOF
9543
9544 cat >>confdefs.h <<\_ACEOF
9545 #define WINVER 0x0400
9546 _ACEOF
9547
9548 fi
9549 if test "$doesnt_want_win32" = 1 ; then
9550 USE_UNIX=1
9551 USE_WIN32=0
9552 fi
9553
9554 if test "$USE_UNIX" = 1 ; then
9555 wxUSE_UNIX=yes
9556 cat >>confdefs.h <<\_ACEOF
9557 #define __UNIX__ 1
9558 _ACEOF
9559
9560 fi
9561
9562
9563 cat >confcache <<\_ACEOF
9564 # This file is a shell script that caches the results of configure
9565 # tests run on this system so they can be shared between configure
9566 # scripts and configure runs, see configure's option --config-cache.
9567 # It is not useful on other systems. If it contains results you don't
9568 # want to keep, you may remove or edit it.
9569 #
9570 # config.status only pays attention to the cache file if you give it
9571 # the --recheck option to rerun configure.
9572 #
9573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9575 # following values.
9576
9577 _ACEOF
9578
9579 # The following way of writing the cache mishandles newlines in values,
9580 # but we know of no workaround that is simple, portable, and efficient.
9581 # So, don't put newlines in cache variables' values.
9582 # Ultrix sh set writes to stderr and can't be redirected directly,
9583 # and sets the high bit in the cache file unless we assign to the vars.
9584 {
9585 (set) 2>&1 |
9586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9587 *ac_space=\ *)
9588 # `set' does not quote correctly, so add quotes (double-quote
9589 # substitution turns \\\\ into \\, and sed turns \\ into \).
9590 sed -n \
9591 "s/'/'\\\\''/g;
9592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9593 ;;
9594 *)
9595 # `set' quotes correctly as required by POSIX, so do not add quotes.
9596 sed -n \
9597 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9598 ;;
9599 esac;
9600 } |
9601 sed '
9602 t clear
9603 : clear
9604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9605 t end
9606 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9607 : end' >>confcache
9608 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9609 if test -w $cache_file; then
9610 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9611 cat confcache >$cache_file
9612 else
9613 echo "not updating unwritable cache $cache_file"
9614 fi
9615 fi
9616 rm -f confcache
9617
9618 if test "$build" != "$host" ; then
9619 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9620 CC=$host_alias-gcc
9621 CXX=$host_alias-c++
9622 AR=$host_alias-ar
9623 RANLIB=$host_alias-ranlib
9624 DLLTOOL=$host_alias-dlltool
9625 RESCOMP=$host_alias-windres
9626 LD=$host_alias-ld
9627 NM=$host_alias-nm
9628 STRIP=$host_alias-strip
9629 else
9630 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9631 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9632 { (exit 1); exit 1; }; }
9633 fi
9634 fi
9635
9636 CFLAGS=${CFLAGS:=}
9637 ac_ext=c
9638 ac_cpp='$CPP $CPPFLAGS'
9639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9642 if test -n "$ac_tool_prefix"; then
9643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9645 echo "$as_me:$LINENO: checking for $ac_word" >&5
9646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9647 if test "${ac_cv_prog_CC+set}" = set; then
9648 echo $ECHO_N "(cached) $ECHO_C" >&6
9649 else
9650 if test -n "$CC"; then
9651 ac_cv_prog_CC="$CC" # Let the user override the test.
9652 else
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9654 for as_dir in $PATH
9655 do
9656 IFS=$as_save_IFS
9657 test -z "$as_dir" && as_dir=.
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9660 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9662 break 2
9663 fi
9664 done
9665 done
9666
9667 fi
9668 fi
9669 CC=$ac_cv_prog_CC
9670 if test -n "$CC"; then
9671 echo "$as_me:$LINENO: result: $CC" >&5
9672 echo "${ECHO_T}$CC" >&6
9673 else
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9676 fi
9677
9678 fi
9679 if test -z "$ac_cv_prog_CC"; then
9680 ac_ct_CC=$CC
9681 # Extract the first word of "gcc", so it can be a program name with args.
9682 set dummy gcc; ac_word=$2
9683 echo "$as_me:$LINENO: checking for $ac_word" >&5
9684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9686 echo $ECHO_N "(cached) $ECHO_C" >&6
9687 else
9688 if test -n "$ac_ct_CC"; then
9689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9690 else
9691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9692 for as_dir in $PATH
9693 do
9694 IFS=$as_save_IFS
9695 test -z "$as_dir" && as_dir=.
9696 for ac_exec_ext in '' $ac_executable_extensions; do
9697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9698 ac_cv_prog_ac_ct_CC="gcc"
9699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9700 break 2
9701 fi
9702 done
9703 done
9704
9705 fi
9706 fi
9707 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9708 if test -n "$ac_ct_CC"; then
9709 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9710 echo "${ECHO_T}$ac_ct_CC" >&6
9711 else
9712 echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6
9714 fi
9715
9716 CC=$ac_ct_CC
9717 else
9718 CC="$ac_cv_prog_CC"
9719 fi
9720
9721 if test -z "$CC"; then
9722 if test -n "$ac_tool_prefix"; then
9723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9724 set dummy ${ac_tool_prefix}cc; ac_word=$2
9725 echo "$as_me:$LINENO: checking for $ac_word" >&5
9726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9727 if test "${ac_cv_prog_CC+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9729 else
9730 if test -n "$CC"; then
9731 ac_cv_prog_CC="$CC" # Let the user override the test.
9732 else
9733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9734 for as_dir in $PATH
9735 do
9736 IFS=$as_save_IFS
9737 test -z "$as_dir" && as_dir=.
9738 for ac_exec_ext in '' $ac_executable_extensions; do
9739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9740 ac_cv_prog_CC="${ac_tool_prefix}cc"
9741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9742 break 2
9743 fi
9744 done
9745 done
9746
9747 fi
9748 fi
9749 CC=$ac_cv_prog_CC
9750 if test -n "$CC"; then
9751 echo "$as_me:$LINENO: result: $CC" >&5
9752 echo "${ECHO_T}$CC" >&6
9753 else
9754 echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6
9756 fi
9757
9758 fi
9759 if test -z "$ac_cv_prog_CC"; then
9760 ac_ct_CC=$CC
9761 # Extract the first word of "cc", so it can be a program name with args.
9762 set dummy cc; ac_word=$2
9763 echo "$as_me:$LINENO: checking for $ac_word" >&5
9764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 else
9768 if test -n "$ac_ct_CC"; then
9769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9770 else
9771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9772 for as_dir in $PATH
9773 do
9774 IFS=$as_save_IFS
9775 test -z "$as_dir" && as_dir=.
9776 for ac_exec_ext in '' $ac_executable_extensions; do
9777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9778 ac_cv_prog_ac_ct_CC="cc"
9779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9780 break 2
9781 fi
9782 done
9783 done
9784
9785 fi
9786 fi
9787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9788 if test -n "$ac_ct_CC"; then
9789 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9790 echo "${ECHO_T}$ac_ct_CC" >&6
9791 else
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9794 fi
9795
9796 CC=$ac_ct_CC
9797 else
9798 CC="$ac_cv_prog_CC"
9799 fi
9800
9801 fi
9802 if test -z "$CC"; then
9803 # Extract the first word of "cc", so it can be a program name with args.
9804 set dummy cc; ac_word=$2
9805 echo "$as_me:$LINENO: checking for $ac_word" >&5
9806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9807 if test "${ac_cv_prog_CC+set}" = set; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9809 else
9810 if test -n "$CC"; then
9811 ac_cv_prog_CC="$CC" # Let the user override the test.
9812 else
9813 ac_prog_rejected=no
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 for as_dir in $PATH
9816 do
9817 IFS=$as_save_IFS
9818 test -z "$as_dir" && as_dir=.
9819 for ac_exec_ext in '' $ac_executable_extensions; do
9820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9822 ac_prog_rejected=yes
9823 continue
9824 fi
9825 ac_cv_prog_CC="cc"
9826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 break 2
9828 fi
9829 done
9830 done
9831
9832 if test $ac_prog_rejected = yes; then
9833 # We found a bogon in the path, so make sure we never use it.
9834 set dummy $ac_cv_prog_CC
9835 shift
9836 if test $# != 0; then
9837 # We chose a different compiler from the bogus one.
9838 # However, it has the same basename, so the bogon will be chosen
9839 # first if we set CC to just the basename; use the full file name.
9840 shift
9841 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9842 fi
9843 fi
9844 fi
9845 fi
9846 CC=$ac_cv_prog_CC
9847 if test -n "$CC"; then
9848 echo "$as_me:$LINENO: result: $CC" >&5
9849 echo "${ECHO_T}$CC" >&6
9850 else
9851 echo "$as_me:$LINENO: result: no" >&5
9852 echo "${ECHO_T}no" >&6
9853 fi
9854
9855 fi
9856 if test -z "$CC"; then
9857 if test -n "$ac_tool_prefix"; then
9858 for ac_prog in cl
9859 do
9860 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9862 echo "$as_me:$LINENO: checking for $ac_word" >&5
9863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9864 if test "${ac_cv_prog_CC+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 else
9867 if test -n "$CC"; then
9868 ac_cv_prog_CC="$CC" # Let the user override the test.
9869 else
9870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9871 for as_dir in $PATH
9872 do
9873 IFS=$as_save_IFS
9874 test -z "$as_dir" && as_dir=.
9875 for ac_exec_ext in '' $ac_executable_extensions; do
9876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9877 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9879 break 2
9880 fi
9881 done
9882 done
9883
9884 fi
9885 fi
9886 CC=$ac_cv_prog_CC
9887 if test -n "$CC"; then
9888 echo "$as_me:$LINENO: result: $CC" >&5
9889 echo "${ECHO_T}$CC" >&6
9890 else
9891 echo "$as_me:$LINENO: result: no" >&5
9892 echo "${ECHO_T}no" >&6
9893 fi
9894
9895 test -n "$CC" && break
9896 done
9897 fi
9898 if test -z "$CC"; then
9899 ac_ct_CC=$CC
9900 for ac_prog in cl
9901 do
9902 # Extract the first word of "$ac_prog", so it can be a program name with args.
9903 set dummy $ac_prog; ac_word=$2
9904 echo "$as_me:$LINENO: checking for $ac_word" >&5
9905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9906 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 else
9909 if test -n "$ac_ct_CC"; then
9910 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9911 else
9912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9913 for as_dir in $PATH
9914 do
9915 IFS=$as_save_IFS
9916 test -z "$as_dir" && as_dir=.
9917 for ac_exec_ext in '' $ac_executable_extensions; do
9918 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9919 ac_cv_prog_ac_ct_CC="$ac_prog"
9920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9921 break 2
9922 fi
9923 done
9924 done
9925
9926 fi
9927 fi
9928 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9929 if test -n "$ac_ct_CC"; then
9930 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9931 echo "${ECHO_T}$ac_ct_CC" >&6
9932 else
9933 echo "$as_me:$LINENO: result: no" >&5
9934 echo "${ECHO_T}no" >&6
9935 fi
9936
9937 test -n "$ac_ct_CC" && break
9938 done
9939
9940 CC=$ac_ct_CC
9941 fi
9942
9943 fi
9944
9945
9946 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9947 See \`config.log' for more details." >&5
9948 echo "$as_me: error: no acceptable C compiler found in \$PATH
9949 See \`config.log' for more details." >&2;}
9950 { (exit 1); exit 1; }; }
9951
9952 # Provide some information about the compiler.
9953 echo "$as_me:$LINENO:" \
9954 "checking for C compiler version" >&5
9955 ac_compiler=`set X $ac_compile; echo $2`
9956 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9957 (eval $ac_compiler --version </dev/null >&5) 2>&5
9958 ac_status=$?
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }
9961 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9962 (eval $ac_compiler -v </dev/null >&5) 2>&5
9963 ac_status=$?
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }
9966 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9967 (eval $ac_compiler -V </dev/null >&5) 2>&5
9968 ac_status=$?
9969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970 (exit $ac_status); }
9971
9972 cat >conftest.$ac_ext <<_ACEOF
9973 #line $LINENO "configure"
9974 /* confdefs.h. */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9979
9980 int
9981 main ()
9982 {
9983
9984 ;
9985 return 0;
9986 }
9987 _ACEOF
9988 ac_clean_files_save=$ac_clean_files
9989 ac_clean_files="$ac_clean_files a.out a.exe b.out"
9990 # Try to create an executable without -o first, disregard a.out.
9991 # It will help us diagnose broken compilers, and finding out an intuition
9992 # of exeext.
9993 echo "$as_me:$LINENO: checking for C compiler default output" >&5
9994 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9995 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9996 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9997 (eval $ac_link_default) 2>&5
9998 ac_status=$?
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; then
10001 # Find the output, starting from the most likely. This scheme is
10002 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10003 # resort.
10004
10005 # Be careful to initialize this variable, since it used to be cached.
10006 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10007 ac_cv_exeext=
10008 # b.out is created by i960 compilers.
10009 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10010 do
10011 test -f "$ac_file" || continue
10012 case $ac_file in
10013 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10014 ;;
10015 conftest.$ac_ext )
10016 # This is the source file.
10017 ;;
10018 [ab].out )
10019 # We found the default executable, but exeext='' is most
10020 # certainly right.
10021 break;;
10022 *.* )
10023 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10024 # FIXME: I believe we export ac_cv_exeext for Libtool,
10025 # but it would be cool to find out if it's true. Does anybody
10026 # maintain Libtool? --akim.
10027 export ac_cv_exeext
10028 break;;
10029 * )
10030 break;;
10031 esac
10032 done
10033 else
10034 echo "$as_me: failed program was:" >&5
10035 sed 's/^/| /' conftest.$ac_ext >&5
10036
10037 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10038 See \`config.log' for more details." >&5
10039 echo "$as_me: error: C compiler cannot create executables
10040 See \`config.log' for more details." >&2;}
10041 { (exit 77); exit 77; }; }
10042 fi
10043
10044 ac_exeext=$ac_cv_exeext
10045 echo "$as_me:$LINENO: result: $ac_file" >&5
10046 echo "${ECHO_T}$ac_file" >&6
10047
10048 # Check the compiler produces executables we can run. If not, either
10049 # the compiler is broken, or we cross compile.
10050 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10051 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10052 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10053 # If not cross compiling, check that we can run a simple program.
10054 if test "$cross_compiling" != yes; then
10055 if { ac_try='./$ac_file'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10058 ac_status=$?
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 cross_compiling=no
10062 else
10063 if test "$cross_compiling" = maybe; then
10064 cross_compiling=yes
10065 else
10066 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10067 If you meant to cross compile, use \`--host'.
10068 See \`config.log' for more details." >&5
10069 echo "$as_me: error: cannot run C compiled programs.
10070 If you meant to cross compile, use \`--host'.
10071 See \`config.log' for more details." >&2;}
10072 { (exit 1); exit 1; }; }
10073 fi
10074 fi
10075 fi
10076 echo "$as_me:$LINENO: result: yes" >&5
10077 echo "${ECHO_T}yes" >&6
10078
10079 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10080 ac_clean_files=$ac_clean_files_save
10081 # Check the compiler produces executables we can run. If not, either
10082 # the compiler is broken, or we cross compile.
10083 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10084 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10085 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10086 echo "${ECHO_T}$cross_compiling" >&6
10087
10088 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10089 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10091 (eval $ac_link) 2>&5
10092 ac_status=$?
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; then
10095 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10096 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10097 # work properly (i.e., refer to `conftest.exe'), while it won't with
10098 # `rm'.
10099 for ac_file in conftest.exe conftest conftest.*; do
10100 test -f "$ac_file" || continue
10101 case $ac_file in
10102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10103 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10104 export ac_cv_exeext
10105 break;;
10106 * ) break;;
10107 esac
10108 done
10109 else
10110 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10111 See \`config.log' for more details." >&5
10112 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10113 See \`config.log' for more details." >&2;}
10114 { (exit 1); exit 1; }; }
10115 fi
10116
10117 rm -f conftest$ac_cv_exeext
10118 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10119 echo "${ECHO_T}$ac_cv_exeext" >&6
10120
10121 rm -f conftest.$ac_ext
10122 EXEEXT=$ac_cv_exeext
10123 ac_exeext=$EXEEXT
10124 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10125 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10126 if test "${ac_cv_objext+set}" = set; then
10127 echo $ECHO_N "(cached) $ECHO_C" >&6
10128 else
10129 cat >conftest.$ac_ext <<_ACEOF
10130 #line $LINENO "configure"
10131 /* confdefs.h. */
10132 _ACEOF
10133 cat confdefs.h >>conftest.$ac_ext
10134 cat >>conftest.$ac_ext <<_ACEOF
10135 /* end confdefs.h. */
10136
10137 int
10138 main ()
10139 {
10140
10141 ;
10142 return 0;
10143 }
10144 _ACEOF
10145 rm -f conftest.o conftest.obj
10146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10147 (eval $ac_compile) 2>&5
10148 ac_status=$?
10149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10150 (exit $ac_status); }; then
10151 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10152 case $ac_file in
10153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10154 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10155 break;;
10156 esac
10157 done
10158 else
10159 echo "$as_me: failed program was:" >&5
10160 sed 's/^/| /' conftest.$ac_ext >&5
10161
10162 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10163 See \`config.log' for more details." >&5
10164 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10165 See \`config.log' for more details." >&2;}
10166 { (exit 1); exit 1; }; }
10167 fi
10168
10169 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10170 fi
10171 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10172 echo "${ECHO_T}$ac_cv_objext" >&6
10173 OBJEXT=$ac_cv_objext
10174 ac_objext=$OBJEXT
10175 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10176 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10177 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180 cat >conftest.$ac_ext <<_ACEOF
10181 #line $LINENO "configure"
10182 /* confdefs.h. */
10183 _ACEOF
10184 cat confdefs.h >>conftest.$ac_ext
10185 cat >>conftest.$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10187
10188 int
10189 main ()
10190 {
10191 #ifndef __GNUC__
10192 choke me
10193 #endif
10194
10195 ;
10196 return 0;
10197 }
10198 _ACEOF
10199 rm -f conftest.$ac_objext
10200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10201 (eval $ac_compile) 2>&5
10202 ac_status=$?
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); } &&
10205 { ac_try='test -s conftest.$ac_objext'
10206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10207 (eval $ac_try) 2>&5
10208 ac_status=$?
10209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10210 (exit $ac_status); }; }; then
10211 ac_compiler_gnu=yes
10212 else
10213 echo "$as_me: failed program was:" >&5
10214 sed 's/^/| /' conftest.$ac_ext >&5
10215
10216 ac_compiler_gnu=no
10217 fi
10218 rm -f conftest.$ac_objext conftest.$ac_ext
10219 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10220
10221 fi
10222 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10223 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10224 GCC=`test $ac_compiler_gnu = yes && echo yes`
10225 ac_test_CFLAGS=${CFLAGS+set}
10226 ac_save_CFLAGS=$CFLAGS
10227 CFLAGS="-g"
10228 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10229 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10230 if test "${ac_cv_prog_cc_g+set}" = set; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 else
10233 cat >conftest.$ac_ext <<_ACEOF
10234 #line $LINENO "configure"
10235 /* confdefs.h. */
10236 _ACEOF
10237 cat confdefs.h >>conftest.$ac_ext
10238 cat >>conftest.$ac_ext <<_ACEOF
10239 /* end confdefs.h. */
10240
10241 int
10242 main ()
10243 {
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_cv_prog_cc_g=yes
10262 else
10263 echo "$as_me: failed program was:" >&5
10264 sed 's/^/| /' conftest.$ac_ext >&5
10265
10266 ac_cv_prog_cc_g=no
10267 fi
10268 rm -f conftest.$ac_objext conftest.$ac_ext
10269 fi
10270 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10271 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10272 if test "$ac_test_CFLAGS" = set; then
10273 CFLAGS=$ac_save_CFLAGS
10274 elif test $ac_cv_prog_cc_g = yes; then
10275 if test "$GCC" = yes; then
10276 CFLAGS="-g -O2"
10277 else
10278 CFLAGS="-g"
10279 fi
10280 else
10281 if test "$GCC" = yes; then
10282 CFLAGS="-O2"
10283 else
10284 CFLAGS=
10285 fi
10286 fi
10287 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10288 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10289 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10290 echo $ECHO_N "(cached) $ECHO_C" >&6
10291 else
10292 ac_cv_prog_cc_stdc=no
10293 ac_save_CC=$CC
10294 cat >conftest.$ac_ext <<_ACEOF
10295 #line $LINENO "configure"
10296 /* confdefs.h. */
10297 _ACEOF
10298 cat confdefs.h >>conftest.$ac_ext
10299 cat >>conftest.$ac_ext <<_ACEOF
10300 /* end confdefs.h. */
10301 #include <stdarg.h>
10302 #include <stdio.h>
10303 #include <sys/types.h>
10304 #include <sys/stat.h>
10305 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10306 struct buf { int x; };
10307 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10308 static char *e (p, i)
10309 char **p;
10310 int i;
10311 {
10312 return p[i];
10313 }
10314 static char *f (char * (*g) (char **, int), char **p, ...)
10315 {
10316 char *s;
10317 va_list v;
10318 va_start (v,p);
10319 s = g (p, va_arg (v,int));
10320 va_end (v);
10321 return s;
10322 }
10323 int test (int i, double x);
10324 struct s1 {int (*f) (int a);};
10325 struct s2 {int (*f) (double a);};
10326 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10327 int argc;
10328 char **argv;
10329 int
10330 main ()
10331 {
10332 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10333 ;
10334 return 0;
10335 }
10336 _ACEOF
10337 # Don't try gcc -ansi; that turns off useful extensions and
10338 # breaks some systems' header files.
10339 # AIX -qlanglvl=ansi
10340 # Ultrix and OSF/1 -std1
10341 # HP-UX 10.20 and later -Ae
10342 # HP-UX older versions -Aa -D_HPUX_SOURCE
10343 # SVR4 -Xc -D__EXTENSIONS__
10344 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10345 do
10346 CC="$ac_save_CC $ac_arg"
10347 rm -f conftest.$ac_objext
10348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10349 (eval $ac_compile) 2>&5
10350 ac_status=$?
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } &&
10353 { ac_try='test -s conftest.$ac_objext'
10354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10355 (eval $ac_try) 2>&5
10356 ac_status=$?
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); }; }; then
10359 ac_cv_prog_cc_stdc=$ac_arg
10360 break
10361 else
10362 echo "$as_me: failed program was:" >&5
10363 sed 's/^/| /' conftest.$ac_ext >&5
10364
10365 fi
10366 rm -f conftest.$ac_objext
10367 done
10368 rm -f conftest.$ac_ext conftest.$ac_objext
10369 CC=$ac_save_CC
10370
10371 fi
10372
10373 case "x$ac_cv_prog_cc_stdc" in
10374 x|xno)
10375 echo "$as_me:$LINENO: result: none needed" >&5
10376 echo "${ECHO_T}none needed" >&6 ;;
10377 *)
10378 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10379 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10380 CC="$CC $ac_cv_prog_cc_stdc" ;;
10381 esac
10382
10383 # Some people use a C++ compiler to compile C. Since we use `exit',
10384 # in C++ we need to declare it. In case someone uses the same compiler
10385 # for both compiling C and C++ we need to have the C++ compiler decide
10386 # the declaration of exit, since it's the most demanding environment.
10387 cat >conftest.$ac_ext <<_ACEOF
10388 #ifndef __cplusplus
10389 choke me
10390 #endif
10391 _ACEOF
10392 rm -f conftest.$ac_objext
10393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10394 (eval $ac_compile) 2>&5
10395 ac_status=$?
10396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397 (exit $ac_status); } &&
10398 { ac_try='test -s conftest.$ac_objext'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10401 ac_status=$?
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; }; then
10404 for ac_declaration in \
10405 ''\
10406 '#include <stdlib.h>' \
10407 'extern "C" void std::exit (int) throw (); using std::exit;' \
10408 'extern "C" void std::exit (int); using std::exit;' \
10409 'extern "C" void exit (int) throw ();' \
10410 'extern "C" void exit (int);' \
10411 'void exit (int);'
10412 do
10413 cat >conftest.$ac_ext <<_ACEOF
10414 #line $LINENO "configure"
10415 /* confdefs.h. */
10416 _ACEOF
10417 cat confdefs.h >>conftest.$ac_ext
10418 cat >>conftest.$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10420 #include <stdlib.h>
10421 $ac_declaration
10422 int
10423 main ()
10424 {
10425 exit (42);
10426 ;
10427 return 0;
10428 }
10429 _ACEOF
10430 rm -f conftest.$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>&5
10433 ac_status=$?
10434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10435 (exit $ac_status); } &&
10436 { ac_try='test -s conftest.$ac_objext'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10439 ac_status=$?
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; }; then
10442 :
10443 else
10444 echo "$as_me: failed program was:" >&5
10445 sed 's/^/| /' conftest.$ac_ext >&5
10446
10447 continue
10448 fi
10449 rm -f conftest.$ac_objext conftest.$ac_ext
10450 cat >conftest.$ac_ext <<_ACEOF
10451 #line $LINENO "configure"
10452 /* confdefs.h. */
10453 _ACEOF
10454 cat confdefs.h >>conftest.$ac_ext
10455 cat >>conftest.$ac_ext <<_ACEOF
10456 /* end confdefs.h. */
10457 $ac_declaration
10458 int
10459 main ()
10460 {
10461 exit (42);
10462 ;
10463 return 0;
10464 }
10465 _ACEOF
10466 rm -f conftest.$ac_objext
10467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10468 (eval $ac_compile) 2>&5
10469 ac_status=$?
10470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471 (exit $ac_status); } &&
10472 { ac_try='test -s conftest.$ac_objext'
10473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474 (eval $ac_try) 2>&5
10475 ac_status=$?
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); }; }; then
10478 break
10479 else
10480 echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.$ac_ext >&5
10482
10483 fi
10484 rm -f conftest.$ac_objext conftest.$ac_ext
10485 done
10486 rm -f conftest*
10487 if test -n "$ac_declaration"; then
10488 echo '#ifdef __cplusplus' >>confdefs.h
10489 echo $ac_declaration >>confdefs.h
10490 echo '#endif' >>confdefs.h
10491 fi
10492
10493 else
10494 echo "$as_me: failed program was:" >&5
10495 sed 's/^/| /' conftest.$ac_ext >&5
10496
10497 fi
10498 rm -f conftest.$ac_objext conftest.$ac_ext
10499 ac_ext=c
10500 ac_cpp='$CPP $CPPFLAGS'
10501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10504
10505
10506
10507 ac_ext=c
10508 ac_cpp='$CPP $CPPFLAGS'
10509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10512 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10513 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10514 # On Suns, sometimes $CPP names a directory.
10515 if test -n "$CPP" && test -d "$CPP"; then
10516 CPP=
10517 fi
10518 if test -z "$CPP"; then
10519 if test "${ac_cv_prog_CPP+set}" = set; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 else
10522 # Double quotes because CPP needs to be expanded
10523 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10524 do
10525 ac_preproc_ok=false
10526 for ac_c_preproc_warn_flag in '' yes
10527 do
10528 # Use a header file that comes with gcc, so configuring glibc
10529 # with a fresh cross-compiler works.
10530 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10531 # <limits.h> exists even on freestanding compilers.
10532 # On the NeXT, cc -E runs the code through the compiler's parser,
10533 # not just through cpp. "Syntax error" is here to catch this case.
10534 cat >conftest.$ac_ext <<_ACEOF
10535 #line $LINENO "configure"
10536 /* confdefs.h. */
10537 _ACEOF
10538 cat confdefs.h >>conftest.$ac_ext
10539 cat >>conftest.$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10541 #ifdef __STDC__
10542 # include <limits.h>
10543 #else
10544 # include <assert.h>
10545 #endif
10546 Syntax error
10547 _ACEOF
10548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10550 ac_status=$?
10551 grep -v '^ *+' conftest.er1 >conftest.err
10552 rm -f conftest.er1
10553 cat conftest.err >&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); } >/dev/null; then
10556 if test -s conftest.err; then
10557 ac_cpp_err=$ac_c_preproc_warn_flag
10558 else
10559 ac_cpp_err=
10560 fi
10561 else
10562 ac_cpp_err=yes
10563 fi
10564 if test -z "$ac_cpp_err"; then
10565 :
10566 else
10567 echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.$ac_ext >&5
10569
10570 # Broken: fails on valid input.
10571 continue
10572 fi
10573 rm -f conftest.err conftest.$ac_ext
10574
10575 # OK, works on sane cases. Now check whether non-existent headers
10576 # can be detected and how.
10577 cat >conftest.$ac_ext <<_ACEOF
10578 #line $LINENO "configure"
10579 /* confdefs.h. */
10580 _ACEOF
10581 cat confdefs.h >>conftest.$ac_ext
10582 cat >>conftest.$ac_ext <<_ACEOF
10583 /* end confdefs.h. */
10584 #include <ac_nonexistent.h>
10585 _ACEOF
10586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10588 ac_status=$?
10589 grep -v '^ *+' conftest.er1 >conftest.err
10590 rm -f conftest.er1
10591 cat conftest.err >&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); } >/dev/null; then
10594 if test -s conftest.err; then
10595 ac_cpp_err=$ac_c_preproc_warn_flag
10596 else
10597 ac_cpp_err=
10598 fi
10599 else
10600 ac_cpp_err=yes
10601 fi
10602 if test -z "$ac_cpp_err"; then
10603 # Broken: success on invalid input.
10604 continue
10605 else
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.$ac_ext >&5
10608
10609 # Passes both tests.
10610 ac_preproc_ok=:
10611 break
10612 fi
10613 rm -f conftest.err conftest.$ac_ext
10614
10615 done
10616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10617 rm -f conftest.err conftest.$ac_ext
10618 if $ac_preproc_ok; then
10619 break
10620 fi
10621
10622 done
10623 ac_cv_prog_CPP=$CPP
10624
10625 fi
10626 CPP=$ac_cv_prog_CPP
10627 else
10628 ac_cv_prog_CPP=$CPP
10629 fi
10630 echo "$as_me:$LINENO: result: $CPP" >&5
10631 echo "${ECHO_T}$CPP" >&6
10632 ac_preproc_ok=false
10633 for ac_c_preproc_warn_flag in '' yes
10634 do
10635 # Use a header file that comes with gcc, so configuring glibc
10636 # with a fresh cross-compiler works.
10637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10638 # <limits.h> exists even on freestanding compilers.
10639 # On the NeXT, cc -E runs the code through the compiler's parser,
10640 # not just through cpp. "Syntax error" is here to catch this case.
10641 cat >conftest.$ac_ext <<_ACEOF
10642 #line $LINENO "configure"
10643 /* confdefs.h. */
10644 _ACEOF
10645 cat confdefs.h >>conftest.$ac_ext
10646 cat >>conftest.$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10648 #ifdef __STDC__
10649 # include <limits.h>
10650 #else
10651 # include <assert.h>
10652 #endif
10653 Syntax error
10654 _ACEOF
10655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10657 ac_status=$?
10658 grep -v '^ *+' conftest.er1 >conftest.err
10659 rm -f conftest.er1
10660 cat conftest.err >&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); } >/dev/null; then
10663 if test -s conftest.err; then
10664 ac_cpp_err=$ac_c_preproc_warn_flag
10665 else
10666 ac_cpp_err=
10667 fi
10668 else
10669 ac_cpp_err=yes
10670 fi
10671 if test -z "$ac_cpp_err"; then
10672 :
10673 else
10674 echo "$as_me: failed program was:" >&5
10675 sed 's/^/| /' conftest.$ac_ext >&5
10676
10677 # Broken: fails on valid input.
10678 continue
10679 fi
10680 rm -f conftest.err conftest.$ac_ext
10681
10682 # OK, works on sane cases. Now check whether non-existent headers
10683 # can be detected and how.
10684 cat >conftest.$ac_ext <<_ACEOF
10685 #line $LINENO "configure"
10686 /* confdefs.h. */
10687 _ACEOF
10688 cat confdefs.h >>conftest.$ac_ext
10689 cat >>conftest.$ac_ext <<_ACEOF
10690 /* end confdefs.h. */
10691 #include <ac_nonexistent.h>
10692 _ACEOF
10693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10695 ac_status=$?
10696 grep -v '^ *+' conftest.er1 >conftest.err
10697 rm -f conftest.er1
10698 cat conftest.err >&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } >/dev/null; then
10701 if test -s conftest.err; then
10702 ac_cpp_err=$ac_c_preproc_warn_flag
10703 else
10704 ac_cpp_err=
10705 fi
10706 else
10707 ac_cpp_err=yes
10708 fi
10709 if test -z "$ac_cpp_err"; then
10710 # Broken: success on invalid input.
10711 continue
10712 else
10713 echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.$ac_ext >&5
10715
10716 # Passes both tests.
10717 ac_preproc_ok=:
10718 break
10719 fi
10720 rm -f conftest.err conftest.$ac_ext
10721
10722 done
10723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10724 rm -f conftest.err conftest.$ac_ext
10725 if $ac_preproc_ok; then
10726 :
10727 else
10728 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10729 See \`config.log' for more details." >&5
10730 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10731 See \`config.log' for more details." >&2;}
10732 { (exit 1); exit 1; }; }
10733 fi
10734
10735 ac_ext=c
10736 ac_cpp='$CPP $CPPFLAGS'
10737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10740
10741
10742 echo "$as_me:$LINENO: checking for egrep" >&5
10743 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10744 if test "${ac_cv_prog_egrep+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 else
10747 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10748 then ac_cv_prog_egrep='grep -E'
10749 else ac_cv_prog_egrep='egrep'
10750 fi
10751 fi
10752 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10753 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10754 EGREP=$ac_cv_prog_egrep
10755
10756
10757 if test $ac_cv_c_compiler_gnu = yes; then
10758 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10759 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10760 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10761 echo $ECHO_N "(cached) $ECHO_C" >&6
10762 else
10763 ac_pattern="Autoconf.*'x'"
10764 cat >conftest.$ac_ext <<_ACEOF
10765 #line $LINENO "configure"
10766 /* confdefs.h. */
10767 _ACEOF
10768 cat confdefs.h >>conftest.$ac_ext
10769 cat >>conftest.$ac_ext <<_ACEOF
10770 /* end confdefs.h. */
10771 #include <sgtty.h>
10772 Autoconf TIOCGETP
10773 _ACEOF
10774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10775 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10776 ac_cv_prog_gcc_traditional=yes
10777 else
10778 ac_cv_prog_gcc_traditional=no
10779 fi
10780 rm -f conftest*
10781
10782
10783 if test $ac_cv_prog_gcc_traditional = no; then
10784 cat >conftest.$ac_ext <<_ACEOF
10785 #line $LINENO "configure"
10786 /* confdefs.h. */
10787 _ACEOF
10788 cat confdefs.h >>conftest.$ac_ext
10789 cat >>conftest.$ac_ext <<_ACEOF
10790 /* end confdefs.h. */
10791 #include <termio.h>
10792 Autoconf TCGETA
10793 _ACEOF
10794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10795 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10796 ac_cv_prog_gcc_traditional=yes
10797 fi
10798 rm -f conftest*
10799
10800 fi
10801 fi
10802 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10803 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10804 if test $ac_cv_prog_gcc_traditional = yes; then
10805 CC="$CC -traditional"
10806 fi
10807 fi
10808
10809
10810
10811
10812 ac_ext=cc
10813 ac_cpp='$CXXCPP $CPPFLAGS'
10814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10817
10818
10819 CXXFLAGS=${CXXFLAGS:=}
10820 ac_ext=cc
10821 ac_cpp='$CXXCPP $CPPFLAGS'
10822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10825 if test -n "$ac_tool_prefix"; then
10826 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10827 do
10828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10830 echo "$as_me:$LINENO: checking for $ac_word" >&5
10831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10832 if test "${ac_cv_prog_CXX+set}" = set; then
10833 echo $ECHO_N "(cached) $ECHO_C" >&6
10834 else
10835 if test -n "$CXX"; then
10836 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10837 else
10838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10839 for as_dir in $PATH
10840 do
10841 IFS=$as_save_IFS
10842 test -z "$as_dir" && as_dir=.
10843 for ac_exec_ext in '' $ac_executable_extensions; do
10844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10845 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10847 break 2
10848 fi
10849 done
10850 done
10851
10852 fi
10853 fi
10854 CXX=$ac_cv_prog_CXX
10855 if test -n "$CXX"; then
10856 echo "$as_me:$LINENO: result: $CXX" >&5
10857 echo "${ECHO_T}$CXX" >&6
10858 else
10859 echo "$as_me:$LINENO: result: no" >&5
10860 echo "${ECHO_T}no" >&6
10861 fi
10862
10863 test -n "$CXX" && break
10864 done
10865 fi
10866 if test -z "$CXX"; then
10867 ac_ct_CXX=$CXX
10868 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10869 do
10870 # Extract the first word of "$ac_prog", so it can be a program name with args.
10871 set dummy $ac_prog; ac_word=$2
10872 echo "$as_me:$LINENO: checking for $ac_word" >&5
10873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10874 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10876 else
10877 if test -n "$ac_ct_CXX"; then
10878 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10879 else
10880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10881 for as_dir in $PATH
10882 do
10883 IFS=$as_save_IFS
10884 test -z "$as_dir" && as_dir=.
10885 for ac_exec_ext in '' $ac_executable_extensions; do
10886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10887 ac_cv_prog_ac_ct_CXX="$ac_prog"
10888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10889 break 2
10890 fi
10891 done
10892 done
10893
10894 fi
10895 fi
10896 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10897 if test -n "$ac_ct_CXX"; then
10898 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10899 echo "${ECHO_T}$ac_ct_CXX" >&6
10900 else
10901 echo "$as_me:$LINENO: result: no" >&5
10902 echo "${ECHO_T}no" >&6
10903 fi
10904
10905 test -n "$ac_ct_CXX" && break
10906 done
10907 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10908
10909 CXX=$ac_ct_CXX
10910 fi
10911
10912
10913 # Provide some information about the compiler.
10914 echo "$as_me:$LINENO:" \
10915 "checking for C++ compiler version" >&5
10916 ac_compiler=`set X $ac_compile; echo $2`
10917 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10918 (eval $ac_compiler --version </dev/null >&5) 2>&5
10919 ac_status=$?
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); }
10922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10923 (eval $ac_compiler -v </dev/null >&5) 2>&5
10924 ac_status=$?
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }
10927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10928 (eval $ac_compiler -V </dev/null >&5) 2>&5
10929 ac_status=$?
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); }
10932
10933 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10934 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10935 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 else
10938 cat >conftest.$ac_ext <<_ACEOF
10939 #line $LINENO "configure"
10940 /* confdefs.h. */
10941 _ACEOF
10942 cat confdefs.h >>conftest.$ac_ext
10943 cat >>conftest.$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945
10946 int
10947 main ()
10948 {
10949 #ifndef __GNUC__
10950 choke me
10951 #endif
10952
10953 ;
10954 return 0;
10955 }
10956 _ACEOF
10957 rm -f conftest.$ac_objext
10958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10959 (eval $ac_compile) 2>&5
10960 ac_status=$?
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } &&
10963 { ac_try='test -s conftest.$ac_objext'
10964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10965 (eval $ac_try) 2>&5
10966 ac_status=$?
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); }; }; then
10969 ac_compiler_gnu=yes
10970 else
10971 echo "$as_me: failed program was:" >&5
10972 sed 's/^/| /' conftest.$ac_ext >&5
10973
10974 ac_compiler_gnu=no
10975 fi
10976 rm -f conftest.$ac_objext conftest.$ac_ext
10977 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10978
10979 fi
10980 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10981 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10982 GXX=`test $ac_compiler_gnu = yes && echo yes`
10983 ac_test_CXXFLAGS=${CXXFLAGS+set}
10984 ac_save_CXXFLAGS=$CXXFLAGS
10985 CXXFLAGS="-g"
10986 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10987 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10988 if test "${ac_cv_prog_cxx_g+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 else
10991 cat >conftest.$ac_ext <<_ACEOF
10992 #line $LINENO "configure"
10993 /* confdefs.h. */
10994 _ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998
10999 int
11000 main ()
11001 {
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_cv_prog_cxx_g=yes
11020 else
11021 echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.$ac_ext >&5
11023
11024 ac_cv_prog_cxx_g=no
11025 fi
11026 rm -f conftest.$ac_objext conftest.$ac_ext
11027 fi
11028 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11029 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11030 if test "$ac_test_CXXFLAGS" = set; then
11031 CXXFLAGS=$ac_save_CXXFLAGS
11032 elif test $ac_cv_prog_cxx_g = yes; then
11033 if test "$GXX" = yes; then
11034 CXXFLAGS="-g -O2"
11035 else
11036 CXXFLAGS="-g"
11037 fi
11038 else
11039 if test "$GXX" = yes; then
11040 CXXFLAGS="-O2"
11041 else
11042 CXXFLAGS=
11043 fi
11044 fi
11045 for ac_declaration in \
11046 ''\
11047 '#include <stdlib.h>' \
11048 'extern "C" void std::exit (int) throw (); using std::exit;' \
11049 'extern "C" void std::exit (int); using std::exit;' \
11050 'extern "C" void exit (int) throw ();' \
11051 'extern "C" void exit (int);' \
11052 'void exit (int);'
11053 do
11054 cat >conftest.$ac_ext <<_ACEOF
11055 #line $LINENO "configure"
11056 /* confdefs.h. */
11057 _ACEOF
11058 cat confdefs.h >>conftest.$ac_ext
11059 cat >>conftest.$ac_ext <<_ACEOF
11060 /* end confdefs.h. */
11061 #include <stdlib.h>
11062 $ac_declaration
11063 int
11064 main ()
11065 {
11066 exit (42);
11067 ;
11068 return 0;
11069 }
11070 _ACEOF
11071 rm -f conftest.$ac_objext
11072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11073 (eval $ac_compile) 2>&5
11074 ac_status=$?
11075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11076 (exit $ac_status); } &&
11077 { ac_try='test -s conftest.$ac_objext'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11080 ac_status=$?
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; }; then
11083 :
11084 else
11085 echo "$as_me: failed program was:" >&5
11086 sed 's/^/| /' conftest.$ac_ext >&5
11087
11088 continue
11089 fi
11090 rm -f conftest.$ac_objext conftest.$ac_ext
11091 cat >conftest.$ac_ext <<_ACEOF
11092 #line $LINENO "configure"
11093 /* confdefs.h. */
11094 _ACEOF
11095 cat confdefs.h >>conftest.$ac_ext
11096 cat >>conftest.$ac_ext <<_ACEOF
11097 /* end confdefs.h. */
11098 $ac_declaration
11099 int
11100 main ()
11101 {
11102 exit (42);
11103 ;
11104 return 0;
11105 }
11106 _ACEOF
11107 rm -f conftest.$ac_objext
11108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11109 (eval $ac_compile) 2>&5
11110 ac_status=$?
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); } &&
11113 { ac_try='test -s conftest.$ac_objext'
11114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 (eval $ac_try) 2>&5
11116 ac_status=$?
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); }; }; then
11119 break
11120 else
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.$ac_ext >&5
11123
11124 fi
11125 rm -f conftest.$ac_objext conftest.$ac_ext
11126 done
11127 rm -f conftest*
11128 if test -n "$ac_declaration"; then
11129 echo '#ifdef __cplusplus' >>confdefs.h
11130 echo $ac_declaration >>confdefs.h
11131 echo '#endif' >>confdefs.h
11132 fi
11133
11134 ac_ext=cc
11135 ac_cpp='$CXXCPP $CPPFLAGS'
11136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11139
11140
11141 ac_ext=c
11142 ac_cpp='$CPP $CPPFLAGS'
11143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11146
11147
11148 if test -n "$ac_tool_prefix"; then
11149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11151 echo "$as_me:$LINENO: checking for $ac_word" >&5
11152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11153 if test "${ac_cv_prog_RANLIB+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11155 else
11156 if test -n "$RANLIB"; then
11157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11158 else
11159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11160 for as_dir in $PATH
11161 do
11162 IFS=$as_save_IFS
11163 test -z "$as_dir" && as_dir=.
11164 for ac_exec_ext in '' $ac_executable_extensions; do
11165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11166 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11168 break 2
11169 fi
11170 done
11171 done
11172
11173 fi
11174 fi
11175 RANLIB=$ac_cv_prog_RANLIB
11176 if test -n "$RANLIB"; then
11177 echo "$as_me:$LINENO: result: $RANLIB" >&5
11178 echo "${ECHO_T}$RANLIB" >&6
11179 else
11180 echo "$as_me:$LINENO: result: no" >&5
11181 echo "${ECHO_T}no" >&6
11182 fi
11183
11184 fi
11185 if test -z "$ac_cv_prog_RANLIB"; then
11186 ac_ct_RANLIB=$RANLIB
11187 # Extract the first word of "ranlib", so it can be a program name with args.
11188 set dummy ranlib; ac_word=$2
11189 echo "$as_me:$LINENO: checking for $ac_word" >&5
11190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11191 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11192 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 else
11194 if test -n "$ac_ct_RANLIB"; then
11195 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11196 else
11197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11198 for as_dir in $PATH
11199 do
11200 IFS=$as_save_IFS
11201 test -z "$as_dir" && as_dir=.
11202 for ac_exec_ext in '' $ac_executable_extensions; do
11203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11204 ac_cv_prog_ac_ct_RANLIB="ranlib"
11205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11206 break 2
11207 fi
11208 done
11209 done
11210
11211 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11212 fi
11213 fi
11214 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11215 if test -n "$ac_ct_RANLIB"; then
11216 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11217 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11218 else
11219 echo "$as_me:$LINENO: result: no" >&5
11220 echo "${ECHO_T}no" >&6
11221 fi
11222
11223 RANLIB=$ac_ct_RANLIB
11224 else
11225 RANLIB="$ac_cv_prog_RANLIB"
11226 fi
11227
11228
11229 # Extract the first word of "ar", so it can be a program name with args.
11230 set dummy ar; ac_word=$2
11231 echo "$as_me:$LINENO: checking for $ac_word" >&5
11232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11233 if test "${ac_cv_prog_AR+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 else
11236 if test -n "$AR"; then
11237 ac_cv_prog_AR="$AR" # Let the user override the test.
11238 else
11239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11240 for as_dir in $PATH
11241 do
11242 IFS=$as_save_IFS
11243 test -z "$as_dir" && as_dir=.
11244 for ac_exec_ext in '' $ac_executable_extensions; do
11245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11246 ac_cv_prog_AR="ar"
11247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11248 break 2
11249 fi
11250 done
11251 done
11252
11253 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11254 fi
11255 fi
11256 AR=$ac_cv_prog_AR
11257 if test -n "$AR"; then
11258 echo "$as_me:$LINENO: result: $AR" >&5
11259 echo "${ECHO_T}$AR" >&6
11260 else
11261 echo "$as_me:$LINENO: result: no" >&5
11262 echo "${ECHO_T}no" >&6
11263 fi
11264
11265
11266 # Find a good install program. We prefer a C program (faster),
11267 # so one script is as good as another. But avoid the broken or
11268 # incompatible versions:
11269 # SysV /etc/install, /usr/sbin/install
11270 # SunOS /usr/etc/install
11271 # IRIX /sbin/install
11272 # AIX /bin/install
11273 # AmigaOS /C/install, which installs bootblocks on floppy discs
11274 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11275 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11276 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11277 # ./install, which can be erroneously created by make from ./install.sh.
11278 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11279 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11280 if test -z "$INSTALL"; then
11281 if test "${ac_cv_path_install+set}" = set; then
11282 echo $ECHO_N "(cached) $ECHO_C" >&6
11283 else
11284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11285 for as_dir in $PATH
11286 do
11287 IFS=$as_save_IFS
11288 test -z "$as_dir" && as_dir=.
11289 # Account for people who put trailing slashes in PATH elements.
11290 case $as_dir/ in
11291 ./ | .// | /cC/* | \
11292 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11293 /usr/ucb/* ) ;;
11294 *)
11295 # OSF1 and SCO ODT 3.0 have their own names for install.
11296 # Don't use installbsd from OSF since it installs stuff as root
11297 # by default.
11298 for ac_prog in ginstall scoinst install; do
11299 for ac_exec_ext in '' $ac_executable_extensions; do
11300 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11301 if test $ac_prog = install &&
11302 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11303 # AIX install. It has an incompatible calling convention.
11304 :
11305 elif test $ac_prog = install &&
11306 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11307 # program-specific install script used by HP pwplus--don't use.
11308 :
11309 else
11310 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11311 break 3
11312 fi
11313 fi
11314 done
11315 done
11316 ;;
11317 esac
11318 done
11319
11320
11321 fi
11322 if test "${ac_cv_path_install+set}" = set; then
11323 INSTALL=$ac_cv_path_install
11324 else
11325 # As a last resort, use the slow shell script. We don't cache a
11326 # path for INSTALL within a source directory, because that will
11327 # break other packages using the cache if that directory is
11328 # removed, or if the path is relative.
11329 INSTALL=$ac_install_sh
11330 fi
11331 fi
11332 echo "$as_me:$LINENO: result: $INSTALL" >&5
11333 echo "${ECHO_T}$INSTALL" >&6
11334
11335 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11336 # It thinks the first close brace ends the variable substitution.
11337 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11338
11339 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11340
11341 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11342
11343
11344 case ${INSTALL} in
11345 /* ) # Absolute
11346 ;;
11347 ?:* ) # Drive letter, considered as absolute.
11348 ;;
11349 *)
11350 INSTALL=`pwd`/${INSTALL} ;;
11351 esac
11352
11353 case ${host} in
11354 *-hp-hpux* )
11355 INSTALL_DIR="mkdir"
11356 ;;
11357
11358 *) INSTALL_DIR="$INSTALL -d"
11359 ;;
11360 esac
11361
11362
11363 case "${host}" in
11364
11365 powerpc-*-darwin* )
11366 INSTALL_PROGRAM="cp -fp"
11367 INSTALL_DATA="cp -fp"
11368 ;;
11369 *)
11370 ;;
11371 esac
11372
11373 # Extract the first word of "strip", so it can be a program name with args.
11374 set dummy strip; ac_word=$2
11375 echo "$as_me:$LINENO: checking for $ac_word" >&5
11376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11377 if test "${ac_cv_prog_STRIP+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11379 else
11380 if test -n "$STRIP"; then
11381 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11382 else
11383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11384 for as_dir in $PATH
11385 do
11386 IFS=$as_save_IFS
11387 test -z "$as_dir" && as_dir=.
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11390 ac_cv_prog_STRIP="strip"
11391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 break 2
11393 fi
11394 done
11395 done
11396
11397 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11398 fi
11399 fi
11400 STRIP=$ac_cv_prog_STRIP
11401 if test -n "$STRIP"; then
11402 echo "$as_me:$LINENO: result: $STRIP" >&5
11403 echo "${ECHO_T}$STRIP" >&6
11404 else
11405 echo "$as_me:$LINENO: result: no" >&5
11406 echo "${ECHO_T}no" >&6
11407 fi
11408
11409
11410 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11411 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11412 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11414 else
11415
11416 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11417 egrep -s GNU > /dev/null); then
11418 wx_cv_prog_makeisgnu="yes"
11419 else
11420 wx_cv_prog_makeisgnu="no"
11421 fi
11422
11423 fi
11424 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11425 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11426
11427 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11428 IF_GNU_MAKE=""
11429 else
11430 IF_GNU_MAKE="#"
11431 fi
11432
11433
11434
11435 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11436 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11437 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11438 if test "${wx_cv_prog_makevpath+set}" = set; then
11439 echo $ECHO_N "(cached) $ECHO_C" >&6
11440 else
11441
11442 cat - << EOF > confMake
11443 check : file
11444 cp \$? \$@
11445 cp \$? final_file
11446 EOF
11447
11448 if test ! -d sub ; then
11449 mkdir sub
11450 fi
11451 echo dummy > sub/file
11452 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11453 RESULT=$?
11454 rm -f sub/file check final_file confMake
11455 rmdir sub
11456 if test "$RESULT" = 0; then
11457 wx_cv_prog_makevpath="yes"
11458 else
11459 wx_cv_prog_makevpath="no"
11460 fi
11461
11462 fi
11463 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11464 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11465
11466 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11467 { { echo "$as_me:$LINENO: error:
11468 You need a make-utility that is able to use the variable
11469 VPATH correctly.
11470 If your version of make does not support VPATH correctly,
11471 please install GNU-make (possibly as gmake), and start
11472 configure with the following command:
11473 export MAKE=gmake; ./configure for sh-type shells
11474 setenv MAKE gmake; ./configure for csh-type shells
11475 Also please do remember to use gmake in this case every time
11476 you are trying to compile.
11477 " >&5
11478 echo "$as_me: error:
11479 You need a make-utility that is able to use the variable
11480 VPATH correctly.
11481 If your version of make does not support VPATH correctly,
11482 please install GNU-make (possibly as gmake), and start
11483 configure with the following command:
11484 export MAKE=gmake; ./configure for sh-type shells
11485 setenv MAKE gmake; ./configure for csh-type shells
11486 Also please do remember to use gmake in this case every time
11487 you are trying to compile.
11488 " >&2;}
11489 { (exit 1); exit 1; }; }
11490 fi fi
11491 for ac_prog in 'bison -y' byacc
11492 do
11493 # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy $ac_prog; ac_word=$2
11495 echo "$as_me:$LINENO: checking for $ac_word" >&5
11496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11497 if test "${ac_cv_prog_YACC+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11499 else
11500 if test -n "$YACC"; then
11501 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11502 else
11503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11504 for as_dir in $PATH
11505 do
11506 IFS=$as_save_IFS
11507 test -z "$as_dir" && as_dir=.
11508 for ac_exec_ext in '' $ac_executable_extensions; do
11509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11510 ac_cv_prog_YACC="$ac_prog"
11511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11512 break 2
11513 fi
11514 done
11515 done
11516
11517 fi
11518 fi
11519 YACC=$ac_cv_prog_YACC
11520 if test -n "$YACC"; then
11521 echo "$as_me:$LINENO: result: $YACC" >&5
11522 echo "${ECHO_T}$YACC" >&6
11523 else
11524 echo "$as_me:$LINENO: result: no" >&5
11525 echo "${ECHO_T}no" >&6
11526 fi
11527
11528 test -n "$YACC" && break
11529 done
11530 test -n "$YACC" || YACC="yacc"
11531
11532
11533 for ac_prog in flex lex
11534 do
11535 # Extract the first word of "$ac_prog", so it can be a program name with args.
11536 set dummy $ac_prog; ac_word=$2
11537 echo "$as_me:$LINENO: checking for $ac_word" >&5
11538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11539 if test "${ac_cv_prog_LEX+set}" = set; then
11540 echo $ECHO_N "(cached) $ECHO_C" >&6
11541 else
11542 if test -n "$LEX"; then
11543 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11544 else
11545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11546 for as_dir in $PATH
11547 do
11548 IFS=$as_save_IFS
11549 test -z "$as_dir" && as_dir=.
11550 for ac_exec_ext in '' $ac_executable_extensions; do
11551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11552 ac_cv_prog_LEX="$ac_prog"
11553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11554 break 2
11555 fi
11556 done
11557 done
11558
11559 fi
11560 fi
11561 LEX=$ac_cv_prog_LEX
11562 if test -n "$LEX"; then
11563 echo "$as_me:$LINENO: result: $LEX" >&5
11564 echo "${ECHO_T}$LEX" >&6
11565 else
11566 echo "$as_me:$LINENO: result: no" >&5
11567 echo "${ECHO_T}no" >&6
11568 fi
11569
11570 test -n "$LEX" && break
11571 done
11572 test -n "$LEX" || LEX=":"
11573
11574 if test -z "$LEXLIB"
11575 then
11576 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11577 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11578 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11579 echo $ECHO_N "(cached) $ECHO_C" >&6
11580 else
11581 ac_check_lib_save_LIBS=$LIBS
11582 LIBS="-lfl $LIBS"
11583 cat >conftest.$ac_ext <<_ACEOF
11584 #line $LINENO "configure"
11585 /* confdefs.h. */
11586 _ACEOF
11587 cat confdefs.h >>conftest.$ac_ext
11588 cat >>conftest.$ac_ext <<_ACEOF
11589 /* end confdefs.h. */
11590
11591 /* Override any gcc2 internal prototype to avoid an error. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 /* We use char because int might match the return type of a gcc2
11596 builtin and then its argument prototype would still apply. */
11597 char yywrap ();
11598 int
11599 main ()
11600 {
11601 yywrap ();
11602 ;
11603 return 0;
11604 }
11605 _ACEOF
11606 rm -f conftest.$ac_objext conftest$ac_exeext
11607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11608 (eval $ac_link) 2>&5
11609 ac_status=$?
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); } &&
11612 { ac_try='test -s conftest$ac_exeext'
11613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11614 (eval $ac_try) 2>&5
11615 ac_status=$?
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); }; }; then
11618 ac_cv_lib_fl_yywrap=yes
11619 else
11620 echo "$as_me: failed program was:" >&5
11621 sed 's/^/| /' conftest.$ac_ext >&5
11622
11623 ac_cv_lib_fl_yywrap=no
11624 fi
11625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11627 fi
11628 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11629 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11630 if test $ac_cv_lib_fl_yywrap = yes; then
11631 LEXLIB="-lfl"
11632 else
11633 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11634 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11635 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11637 else
11638 ac_check_lib_save_LIBS=$LIBS
11639 LIBS="-ll $LIBS"
11640 cat >conftest.$ac_ext <<_ACEOF
11641 #line $LINENO "configure"
11642 /* confdefs.h. */
11643 _ACEOF
11644 cat confdefs.h >>conftest.$ac_ext
11645 cat >>conftest.$ac_ext <<_ACEOF
11646 /* end confdefs.h. */
11647
11648 /* Override any gcc2 internal prototype to avoid an error. */
11649 #ifdef __cplusplus
11650 extern "C"
11651 #endif
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11654 char yywrap ();
11655 int
11656 main ()
11657 {
11658 yywrap ();
11659 ;
11660 return 0;
11661 }
11662 _ACEOF
11663 rm -f conftest.$ac_objext conftest$ac_exeext
11664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11665 (eval $ac_link) 2>&5
11666 ac_status=$?
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); } &&
11669 { ac_try='test -s conftest$ac_exeext'
11670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 (eval $ac_try) 2>&5
11672 ac_status=$?
11673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 (exit $ac_status); }; }; then
11675 ac_cv_lib_l_yywrap=yes
11676 else
11677 echo "$as_me: failed program was:" >&5
11678 sed 's/^/| /' conftest.$ac_ext >&5
11679
11680 ac_cv_lib_l_yywrap=no
11681 fi
11682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11683 LIBS=$ac_check_lib_save_LIBS
11684 fi
11685 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11686 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11687 if test $ac_cv_lib_l_yywrap = yes; then
11688 LEXLIB="-ll"
11689 fi
11690
11691 fi
11692
11693 fi
11694
11695 if test "x$LEX" != "x:"; then
11696 echo "$as_me:$LINENO: checking lex output file root" >&5
11697 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11698 if test "${ac_cv_prog_lex_root+set}" = set; then
11699 echo $ECHO_N "(cached) $ECHO_C" >&6
11700 else
11701 # The minimal lex program is just a single line: %%. But some broken lexes
11702 # (Solaris, I think it was) want two %% lines, so accommodate them.
11703 cat >conftest.l <<_ACEOF
11704 %%
11705 %%
11706 _ACEOF
11707 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11708 (eval $LEX conftest.l) 2>&5
11709 ac_status=$?
11710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 (exit $ac_status); }
11712 if test -f lex.yy.c; then
11713 ac_cv_prog_lex_root=lex.yy
11714 elif test -f lexyy.c; then
11715 ac_cv_prog_lex_root=lexyy
11716 else
11717 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11718 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11719 { (exit 1); exit 1; }; }
11720 fi
11721 fi
11722 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11723 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11724 rm -f conftest.l
11725 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11726
11727 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11728 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11729 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11730 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 else
11732 # POSIX says lex can declare yytext either as a pointer or an array; the
11733 # default is implementation-dependent. Figure out which it is, since
11734 # not all implementations provide the %pointer and %array declarations.
11735 ac_cv_prog_lex_yytext_pointer=no
11736 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11737 ac_save_LIBS=$LIBS
11738 LIBS="$LIBS $LEXLIB"
11739 cat >conftest.$ac_ext <<_ACEOF
11740 `cat $LEX_OUTPUT_ROOT.c`
11741 _ACEOF
11742 rm -f conftest.$ac_objext conftest$ac_exeext
11743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11744 (eval $ac_link) 2>&5
11745 ac_status=$?
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } &&
11748 { ac_try='test -s conftest$ac_exeext'
11749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11750 (eval $ac_try) 2>&5
11751 ac_status=$?
11752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); }; }; then
11754 ac_cv_prog_lex_yytext_pointer=yes
11755 else
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11758
11759 fi
11760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_save_LIBS
11762 rm -f "${LEX_OUTPUT_ROOT}.c"
11763
11764 fi
11765 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11766 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11767 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11768
11769 cat >>confdefs.h <<\_ACEOF
11770 #define YYTEXT_POINTER 1
11771 _ACEOF
11772
11773 fi
11774
11775 fi
11776
11777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11779 LN_S=$as_ln_s
11780 if test "$LN_S" = "ln -s"; then
11781 echo "$as_me:$LINENO: result: yes" >&5
11782 echo "${ECHO_T}yes" >&6
11783 else
11784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11785 echo "${ECHO_T}no, using $LN_S" >&6
11786 fi
11787
11788
11789 case "${host}" in
11790 *-pc-os2_emx | *-pc-os2-emx )
11791 LIBS="$LIBS -lstdcpp"
11792 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11793 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11794 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11795 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
11797 else
11798 ac_check_lib_save_LIBS=$LIBS
11799 LIBS="-lcExt $LIBS"
11800 cat >conftest.$ac_ext <<_ACEOF
11801 #line $LINENO "configure"
11802 /* confdefs.h. */
11803 _ACEOF
11804 cat confdefs.h >>conftest.$ac_ext
11805 cat >>conftest.$ac_ext <<_ACEOF
11806 /* end confdefs.h. */
11807
11808 /* Override any gcc2 internal prototype to avoid an error. */
11809 #ifdef __cplusplus
11810 extern "C"
11811 #endif
11812 /* We use char because int might match the return type of a gcc2
11813 builtin and then its argument prototype would still apply. */
11814 char drand48 ();
11815 int
11816 main ()
11817 {
11818 drand48 ();
11819 ;
11820 return 0;
11821 }
11822 _ACEOF
11823 rm -f conftest.$ac_objext conftest$ac_exeext
11824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11825 (eval $ac_link) 2>&5
11826 ac_status=$?
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try='test -s conftest$ac_exeext'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11832 ac_status=$?
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; }; then
11835 ac_cv_lib_cExt_drand48=yes
11836 else
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.$ac_ext >&5
11839
11840 ac_cv_lib_cExt_drand48=no
11841 fi
11842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11843 LIBS=$ac_check_lib_save_LIBS
11844 fi
11845 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11846 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11847 if test $ac_cv_lib_cExt_drand48 = yes; then
11848 LIBS="$LIBS -lcExt"
11849 fi
11850
11851 else
11852 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11853 fi
11854 ;;
11855 esac
11856
11857
11858 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
11859 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11861 if test "${ac_cv_header_stdc+set}" = set; then
11862 echo $ECHO_N "(cached) $ECHO_C" >&6
11863 else
11864 cat >conftest.$ac_ext <<_ACEOF
11865 #line $LINENO "configure"
11866 /* confdefs.h. */
11867 _ACEOF
11868 cat confdefs.h >>conftest.$ac_ext
11869 cat >>conftest.$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11871 #include <stdlib.h>
11872 #include <stdarg.h>
11873 #include <string.h>
11874 #include <float.h>
11875
11876 int
11877 main ()
11878 {
11879
11880 ;
11881 return 0;
11882 }
11883 _ACEOF
11884 rm -f conftest.$ac_objext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11886 (eval $ac_compile) 2>&5
11887 ac_status=$?
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } &&
11890 { ac_try='test -s conftest.$ac_objext'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11893 ac_status=$?
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; }; then
11896 ac_cv_header_stdc=yes
11897 else
11898 echo "$as_me: failed program was:" >&5
11899 sed 's/^/| /' conftest.$ac_ext >&5
11900
11901 ac_cv_header_stdc=no
11902 fi
11903 rm -f conftest.$ac_objext conftest.$ac_ext
11904
11905 if test $ac_cv_header_stdc = yes; then
11906 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11907 cat >conftest.$ac_ext <<_ACEOF
11908 #line $LINENO "configure"
11909 /* confdefs.h. */
11910 _ACEOF
11911 cat confdefs.h >>conftest.$ac_ext
11912 cat >>conftest.$ac_ext <<_ACEOF
11913 /* end confdefs.h. */
11914 #include <string.h>
11915
11916 _ACEOF
11917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11918 $EGREP "memchr" >/dev/null 2>&1; then
11919 :
11920 else
11921 ac_cv_header_stdc=no
11922 fi
11923 rm -f conftest*
11924
11925 fi
11926
11927 if test $ac_cv_header_stdc = yes; then
11928 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11929 cat >conftest.$ac_ext <<_ACEOF
11930 #line $LINENO "configure"
11931 /* confdefs.h. */
11932 _ACEOF
11933 cat confdefs.h >>conftest.$ac_ext
11934 cat >>conftest.$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11936 #include <stdlib.h>
11937
11938 _ACEOF
11939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11940 $EGREP "free" >/dev/null 2>&1; then
11941 :
11942 else
11943 ac_cv_header_stdc=no
11944 fi
11945 rm -f conftest*
11946
11947 fi
11948
11949 if test $ac_cv_header_stdc = yes; then
11950 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11951 if test "$cross_compiling" = yes; then
11952 :
11953 else
11954 cat >conftest.$ac_ext <<_ACEOF
11955 #line $LINENO "configure"
11956 /* confdefs.h. */
11957 _ACEOF
11958 cat confdefs.h >>conftest.$ac_ext
11959 cat >>conftest.$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11961 #include <ctype.h>
11962 #if ((' ' & 0x0FF) == 0x020)
11963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11965 #else
11966 # define ISLOWER(c) \
11967 (('a' <= (c) && (c) <= 'i') \
11968 || ('j' <= (c) && (c) <= 'r') \
11969 || ('s' <= (c) && (c) <= 'z'))
11970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11971 #endif
11972
11973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11974 int
11975 main ()
11976 {
11977 int i;
11978 for (i = 0; i < 256; i++)
11979 if (XOR (islower (i), ISLOWER (i))
11980 || toupper (i) != TOUPPER (i))
11981 exit(2);
11982 exit (0);
11983 }
11984 _ACEOF
11985 rm -f conftest$ac_exeext
11986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11987 (eval $ac_link) 2>&5
11988 ac_status=$?
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 (eval $ac_try) 2>&5
11993 ac_status=$?
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11996 :
11997 else
11998 echo "$as_me: program exited with status $ac_status" >&5
11999 echo "$as_me: failed program was:" >&5
12000 sed 's/^/| /' conftest.$ac_ext >&5
12001
12002 ( exit $ac_status )
12003 ac_cv_header_stdc=no
12004 fi
12005 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12006 fi
12007 fi
12008 fi
12009 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12010 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12011 if test $ac_cv_header_stdc = yes; then
12012
12013 cat >>confdefs.h <<\_ACEOF
12014 #define STDC_HEADERS 1
12015 _ACEOF
12016
12017 fi
12018
12019 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12030 inttypes.h stdint.h unistd.h
12031 do
12032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12033 echo "$as_me:$LINENO: checking for $ac_header" >&5
12034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 else
12038 cat >conftest.$ac_ext <<_ACEOF
12039 #line $LINENO "configure"
12040 /* confdefs.h. */
12041 _ACEOF
12042 cat confdefs.h >>conftest.$ac_ext
12043 cat >>conftest.$ac_ext <<_ACEOF
12044 /* end confdefs.h. */
12045 $ac_includes_default
12046
12047 #include <$ac_header>
12048 _ACEOF
12049 rm -f conftest.$ac_objext
12050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12051 (eval $ac_compile) 2>&5
12052 ac_status=$?
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } &&
12055 { ac_try='test -s conftest.$ac_objext'
12056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12057 (eval $ac_try) 2>&5
12058 ac_status=$?
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); }; }; then
12061 eval "$as_ac_Header=yes"
12062 else
12063 echo "$as_me: failed program was:" >&5
12064 sed 's/^/| /' conftest.$ac_ext >&5
12065
12066 eval "$as_ac_Header=no"
12067 fi
12068 rm -f conftest.$ac_objext conftest.$ac_ext
12069 fi
12070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12071 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12072 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12073 cat >>confdefs.h <<_ACEOF
12074 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12075 _ACEOF
12076
12077 fi
12078
12079 done
12080
12081
12082
12083 for ac_header in strings.h
12084 do
12085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12087 echo "$as_me:$LINENO: checking for $ac_header" >&5
12088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12090 echo $ECHO_N "(cached) $ECHO_C" >&6
12091 fi
12092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12094 else
12095 # Is the header compilable?
12096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12098 cat >conftest.$ac_ext <<_ACEOF
12099 #line $LINENO "configure"
12100 /* confdefs.h. */
12101 _ACEOF
12102 cat confdefs.h >>conftest.$ac_ext
12103 cat >>conftest.$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12105 $ac_includes_default
12106 #include <$ac_header>
12107 _ACEOF
12108 rm -f conftest.$ac_objext
12109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12110 (eval $ac_compile) 2>&5
12111 ac_status=$?
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); } &&
12114 { ac_try='test -s conftest.$ac_objext'
12115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116 (eval $ac_try) 2>&5
12117 ac_status=$?
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); }; }; then
12120 ac_header_compiler=yes
12121 else
12122 echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.$ac_ext >&5
12124
12125 ac_header_compiler=no
12126 fi
12127 rm -f conftest.$ac_objext conftest.$ac_ext
12128 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12129 echo "${ECHO_T}$ac_header_compiler" >&6
12130
12131 # Is the header present?
12132 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12133 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12134 cat >conftest.$ac_ext <<_ACEOF
12135 #line $LINENO "configure"
12136 /* confdefs.h. */
12137 _ACEOF
12138 cat confdefs.h >>conftest.$ac_ext
12139 cat >>conftest.$ac_ext <<_ACEOF
12140 /* end confdefs.h. */
12141 #include <$ac_header>
12142 _ACEOF
12143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12145 ac_status=$?
12146 grep -v '^ *+' conftest.er1 >conftest.err
12147 rm -f conftest.er1
12148 cat conftest.err >&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } >/dev/null; then
12151 if test -s conftest.err; then
12152 ac_cpp_err=$ac_c_preproc_warn_flag
12153 else
12154 ac_cpp_err=
12155 fi
12156 else
12157 ac_cpp_err=yes
12158 fi
12159 if test -z "$ac_cpp_err"; then
12160 ac_header_preproc=yes
12161 else
12162 echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.$ac_ext >&5
12164
12165 ac_header_preproc=no
12166 fi
12167 rm -f conftest.err conftest.$ac_ext
12168 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12169 echo "${ECHO_T}$ac_header_preproc" >&6
12170
12171 # So? What about this header?
12172 case $ac_header_compiler:$ac_header_preproc in
12173 yes:no )
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12175 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12178 (
12179 cat <<\_ASBOX
12180 ## ------------------------------------ ##
12181 ## Report this to bug-autoconf@gnu.org. ##
12182 ## ------------------------------------ ##
12183 _ASBOX
12184 ) |
12185 sed "s/^/$as_me: WARNING: /" >&2
12186 ;;
12187 no:yes )
12188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12193 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12194 (
12195 cat <<\_ASBOX
12196 ## ------------------------------------ ##
12197 ## Report this to bug-autoconf@gnu.org. ##
12198 ## ------------------------------------ ##
12199 _ASBOX
12200 ) |
12201 sed "s/^/$as_me: WARNING: /" >&2
12202 ;;
12203 esac
12204 echo "$as_me:$LINENO: checking for $ac_header" >&5
12205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12207 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 else
12209 eval "$as_ac_Header=$ac_header_preproc"
12210 fi
12211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12213
12214 fi
12215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12216 cat >>confdefs.h <<_ACEOF
12217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12218 _ACEOF
12219
12220 fi
12221
12222 done
12223
12224 fi
12225
12226
12227 for ac_header in stdlib.h
12228 do
12229 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12231 echo "$as_me:$LINENO: checking for $ac_header" >&5
12232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12234 echo $ECHO_N "(cached) $ECHO_C" >&6
12235 fi
12236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12238 else
12239 # Is the header compilable?
12240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12242 cat >conftest.$ac_ext <<_ACEOF
12243 #line $LINENO "configure"
12244 /* confdefs.h. */
12245 _ACEOF
12246 cat confdefs.h >>conftest.$ac_ext
12247 cat >>conftest.$ac_ext <<_ACEOF
12248 /* end confdefs.h. */
12249 $ac_includes_default
12250 #include <$ac_header>
12251 _ACEOF
12252 rm -f conftest.$ac_objext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12254 (eval $ac_compile) 2>&5
12255 ac_status=$?
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } &&
12258 { ac_try='test -s conftest.$ac_objext'
12259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12260 (eval $ac_try) 2>&5
12261 ac_status=$?
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); }; }; then
12264 ac_header_compiler=yes
12265 else
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.$ac_ext >&5
12268
12269 ac_header_compiler=no
12270 fi
12271 rm -f conftest.$ac_objext conftest.$ac_ext
12272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12273 echo "${ECHO_T}$ac_header_compiler" >&6
12274
12275 # Is the header present?
12276 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12277 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12278 cat >conftest.$ac_ext <<_ACEOF
12279 #line $LINENO "configure"
12280 /* confdefs.h. */
12281 _ACEOF
12282 cat confdefs.h >>conftest.$ac_ext
12283 cat >>conftest.$ac_ext <<_ACEOF
12284 /* end confdefs.h. */
12285 #include <$ac_header>
12286 _ACEOF
12287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12289 ac_status=$?
12290 grep -v '^ *+' conftest.er1 >conftest.err
12291 rm -f conftest.er1
12292 cat conftest.err >&5
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); } >/dev/null; then
12295 if test -s conftest.err; then
12296 ac_cpp_err=$ac_c_preproc_warn_flag
12297 else
12298 ac_cpp_err=
12299 fi
12300 else
12301 ac_cpp_err=yes
12302 fi
12303 if test -z "$ac_cpp_err"; then
12304 ac_header_preproc=yes
12305 else
12306 echo "$as_me: failed program was:" >&5
12307 sed 's/^/| /' conftest.$ac_ext >&5
12308
12309 ac_header_preproc=no
12310 fi
12311 rm -f conftest.err conftest.$ac_ext
12312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12313 echo "${ECHO_T}$ac_header_preproc" >&6
12314
12315 # So? What about this header?
12316 case $ac_header_compiler:$ac_header_preproc in
12317 yes:no )
12318 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12319 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12320 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12322 (
12323 cat <<\_ASBOX
12324 ## ------------------------------------ ##
12325 ## Report this to bug-autoconf@gnu.org. ##
12326 ## ------------------------------------ ##
12327 _ASBOX
12328 ) |
12329 sed "s/^/$as_me: WARNING: /" >&2
12330 ;;
12331 no:yes )
12332 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12333 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12334 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12335 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12337 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12338 (
12339 cat <<\_ASBOX
12340 ## ------------------------------------ ##
12341 ## Report this to bug-autoconf@gnu.org. ##
12342 ## ------------------------------------ ##
12343 _ASBOX
12344 ) |
12345 sed "s/^/$as_me: WARNING: /" >&2
12346 ;;
12347 esac
12348 echo "$as_me:$LINENO: checking for $ac_header" >&5
12349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12351 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 else
12353 eval "$as_ac_Header=$ac_header_preproc"
12354 fi
12355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12356 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12357
12358 fi
12359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12360 cat >>confdefs.h <<_ACEOF
12361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12362 _ACEOF
12363
12364 fi
12365
12366 done
12367
12368
12369 for ac_header in malloc.h
12370 do
12371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12373 echo "$as_me:$LINENO: checking for $ac_header" >&5
12374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12376 echo $ECHO_N "(cached) $ECHO_C" >&6
12377 fi
12378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12380 else
12381 # Is the header compilable?
12382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12384 cat >conftest.$ac_ext <<_ACEOF
12385 #line $LINENO "configure"
12386 /* confdefs.h. */
12387 _ACEOF
12388 cat confdefs.h >>conftest.$ac_ext
12389 cat >>conftest.$ac_ext <<_ACEOF
12390 /* end confdefs.h. */
12391 $ac_includes_default
12392 #include <$ac_header>
12393 _ACEOF
12394 rm -f conftest.$ac_objext
12395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12396 (eval $ac_compile) 2>&5
12397 ac_status=$?
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); } &&
12400 { ac_try='test -s conftest.$ac_objext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_header_compiler=yes
12407 else
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12410
12411 ac_header_compiler=no
12412 fi
12413 rm -f conftest.$ac_objext conftest.$ac_ext
12414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12415 echo "${ECHO_T}$ac_header_compiler" >&6
12416
12417 # Is the header present?
12418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12420 cat >conftest.$ac_ext <<_ACEOF
12421 #line $LINENO "configure"
12422 /* confdefs.h. */
12423 _ACEOF
12424 cat confdefs.h >>conftest.$ac_ext
12425 cat >>conftest.$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 #include <$ac_header>
12428 _ACEOF
12429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12431 ac_status=$?
12432 grep -v '^ *+' conftest.er1 >conftest.err
12433 rm -f conftest.er1
12434 cat conftest.err >&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } >/dev/null; then
12437 if test -s conftest.err; then
12438 ac_cpp_err=$ac_c_preproc_warn_flag
12439 else
12440 ac_cpp_err=
12441 fi
12442 else
12443 ac_cpp_err=yes
12444 fi
12445 if test -z "$ac_cpp_err"; then
12446 ac_header_preproc=yes
12447 else
12448 echo "$as_me: failed program was:" >&5
12449 sed 's/^/| /' conftest.$ac_ext >&5
12450
12451 ac_header_preproc=no
12452 fi
12453 rm -f conftest.err conftest.$ac_ext
12454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12455 echo "${ECHO_T}$ac_header_preproc" >&6
12456
12457 # So? What about this header?
12458 case $ac_header_compiler:$ac_header_preproc in
12459 yes:no )
12460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12464 (
12465 cat <<\_ASBOX
12466 ## ------------------------------------ ##
12467 ## Report this to bug-autoconf@gnu.org. ##
12468 ## ------------------------------------ ##
12469 _ASBOX
12470 ) |
12471 sed "s/^/$as_me: WARNING: /" >&2
12472 ;;
12473 no:yes )
12474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12479 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12480 (
12481 cat <<\_ASBOX
12482 ## ------------------------------------ ##
12483 ## Report this to bug-autoconf@gnu.org. ##
12484 ## ------------------------------------ ##
12485 _ASBOX
12486 ) |
12487 sed "s/^/$as_me: WARNING: /" >&2
12488 ;;
12489 esac
12490 echo "$as_me:$LINENO: checking for $ac_header" >&5
12491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 else
12495 eval "$as_ac_Header=$ac_header_preproc"
12496 fi
12497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12499
12500 fi
12501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12502 cat >>confdefs.h <<_ACEOF
12503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12504 _ACEOF
12505
12506 fi
12507
12508 done
12509
12510
12511 for ac_header in unistd.h
12512 do
12513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12515 echo "$as_me:$LINENO: checking for $ac_header" >&5
12516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 fi
12520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12522 else
12523 # Is the header compilable?
12524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12526 cat >conftest.$ac_ext <<_ACEOF
12527 #line $LINENO "configure"
12528 /* confdefs.h. */
12529 _ACEOF
12530 cat confdefs.h >>conftest.$ac_ext
12531 cat >>conftest.$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12533 $ac_includes_default
12534 #include <$ac_header>
12535 _ACEOF
12536 rm -f conftest.$ac_objext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12538 (eval $ac_compile) 2>&5
12539 ac_status=$?
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); } &&
12542 { ac_try='test -s conftest.$ac_objext'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12545 ac_status=$?
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; }; then
12548 ac_header_compiler=yes
12549 else
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.$ac_ext >&5
12552
12553 ac_header_compiler=no
12554 fi
12555 rm -f conftest.$ac_objext conftest.$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12557 echo "${ECHO_T}$ac_header_compiler" >&6
12558
12559 # Is the header present?
12560 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12561 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12562 cat >conftest.$ac_ext <<_ACEOF
12563 #line $LINENO "configure"
12564 /* confdefs.h. */
12565 _ACEOF
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12569 #include <$ac_header>
12570 _ACEOF
12571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12572 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12573 ac_status=$?
12574 grep -v '^ *+' conftest.er1 >conftest.err
12575 rm -f conftest.er1
12576 cat conftest.err >&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } >/dev/null; then
12579 if test -s conftest.err; then
12580 ac_cpp_err=$ac_c_preproc_warn_flag
12581 else
12582 ac_cpp_err=
12583 fi
12584 else
12585 ac_cpp_err=yes
12586 fi
12587 if test -z "$ac_cpp_err"; then
12588 ac_header_preproc=yes
12589 else
12590 echo "$as_me: failed program was:" >&5
12591 sed 's/^/| /' conftest.$ac_ext >&5
12592
12593 ac_header_preproc=no
12594 fi
12595 rm -f conftest.err conftest.$ac_ext
12596 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12597 echo "${ECHO_T}$ac_header_preproc" >&6
12598
12599 # So? What about this header?
12600 case $ac_header_compiler:$ac_header_preproc in
12601 yes:no )
12602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12606 (
12607 cat <<\_ASBOX
12608 ## ------------------------------------ ##
12609 ## Report this to bug-autoconf@gnu.org. ##
12610 ## ------------------------------------ ##
12611 _ASBOX
12612 ) |
12613 sed "s/^/$as_me: WARNING: /" >&2
12614 ;;
12615 no:yes )
12616 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12617 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12618 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12619 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12622 (
12623 cat <<\_ASBOX
12624 ## ------------------------------------ ##
12625 ## Report this to bug-autoconf@gnu.org. ##
12626 ## ------------------------------------ ##
12627 _ASBOX
12628 ) |
12629 sed "s/^/$as_me: WARNING: /" >&2
12630 ;;
12631 esac
12632 echo "$as_me:$LINENO: checking for $ac_header" >&5
12633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12635 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 else
12637 eval "$as_ac_Header=$ac_header_preproc"
12638 fi
12639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12641
12642 fi
12643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12644 cat >>confdefs.h <<_ACEOF
12645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12646 _ACEOF
12647
12648 fi
12649
12650 done
12651
12652
12653 for ac_header in wchar.h
12654 do
12655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12657 echo "$as_me:$LINENO: checking for $ac_header" >&5
12658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 fi
12662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12664 else
12665 # Is the header compilable?
12666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12668 cat >conftest.$ac_ext <<_ACEOF
12669 #line $LINENO "configure"
12670 /* confdefs.h. */
12671 _ACEOF
12672 cat confdefs.h >>conftest.$ac_ext
12673 cat >>conftest.$ac_ext <<_ACEOF
12674 /* end confdefs.h. */
12675 $ac_includes_default
12676 #include <$ac_header>
12677 _ACEOF
12678 rm -f conftest.$ac_objext
12679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12680 (eval $ac_compile) 2>&5
12681 ac_status=$?
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } &&
12684 { ac_try='test -s conftest.$ac_objext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12687 ac_status=$?
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 ac_header_compiler=yes
12691 else
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.$ac_ext >&5
12694
12695 ac_header_compiler=no
12696 fi
12697 rm -f conftest.$ac_objext conftest.$ac_ext
12698 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12699 echo "${ECHO_T}$ac_header_compiler" >&6
12700
12701 # Is the header present?
12702 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12703 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12704 cat >conftest.$ac_ext <<_ACEOF
12705 #line $LINENO "configure"
12706 /* confdefs.h. */
12707 _ACEOF
12708 cat confdefs.h >>conftest.$ac_ext
12709 cat >>conftest.$ac_ext <<_ACEOF
12710 /* end confdefs.h. */
12711 #include <$ac_header>
12712 _ACEOF
12713 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12714 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12715 ac_status=$?
12716 grep -v '^ *+' conftest.er1 >conftest.err
12717 rm -f conftest.er1
12718 cat conftest.err >&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } >/dev/null; then
12721 if test -s conftest.err; then
12722 ac_cpp_err=$ac_c_preproc_warn_flag
12723 else
12724 ac_cpp_err=
12725 fi
12726 else
12727 ac_cpp_err=yes
12728 fi
12729 if test -z "$ac_cpp_err"; then
12730 ac_header_preproc=yes
12731 else
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.$ac_ext >&5
12734
12735 ac_header_preproc=no
12736 fi
12737 rm -f conftest.err conftest.$ac_ext
12738 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12739 echo "${ECHO_T}$ac_header_preproc" >&6
12740
12741 # So? What about this header?
12742 case $ac_header_compiler:$ac_header_preproc in
12743 yes:no )
12744 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12745 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12748 (
12749 cat <<\_ASBOX
12750 ## ------------------------------------ ##
12751 ## Report this to bug-autoconf@gnu.org. ##
12752 ## ------------------------------------ ##
12753 _ASBOX
12754 ) |
12755 sed "s/^/$as_me: WARNING: /" >&2
12756 ;;
12757 no:yes )
12758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12762 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12764 (
12765 cat <<\_ASBOX
12766 ## ------------------------------------ ##
12767 ## Report this to bug-autoconf@gnu.org. ##
12768 ## ------------------------------------ ##
12769 _ASBOX
12770 ) |
12771 sed "s/^/$as_me: WARNING: /" >&2
12772 ;;
12773 esac
12774 echo "$as_me:$LINENO: checking for $ac_header" >&5
12775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12778 else
12779 eval "$as_ac_Header=$ac_header_preproc"
12780 fi
12781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12783
12784 fi
12785 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12786 cat >>confdefs.h <<_ACEOF
12787 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12788 _ACEOF
12789
12790 fi
12791
12792 done
12793
12794
12795 if test "$ac_cv_header_wchar_h" != "yes"; then
12796
12797 for ac_header in wcstr.h
12798 do
12799 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12801 echo "$as_me:$LINENO: checking for $ac_header" >&5
12802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12804 echo $ECHO_N "(cached) $ECHO_C" >&6
12805 fi
12806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12808 else
12809 # Is the header compilable?
12810 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12811 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12812 cat >conftest.$ac_ext <<_ACEOF
12813 #line $LINENO "configure"
12814 /* confdefs.h. */
12815 _ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819 $ac_includes_default
12820 #include <$ac_header>
12821 _ACEOF
12822 rm -f conftest.$ac_objext
12823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12824 (eval $ac_compile) 2>&5
12825 ac_status=$?
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); } &&
12828 { ac_try='test -s conftest.$ac_objext'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12831 ac_status=$?
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; }; then
12834 ac_header_compiler=yes
12835 else
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.$ac_ext >&5
12838
12839 ac_header_compiler=no
12840 fi
12841 rm -f conftest.$ac_objext conftest.$ac_ext
12842 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12843 echo "${ECHO_T}$ac_header_compiler" >&6
12844
12845 # Is the header present?
12846 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12848 cat >conftest.$ac_ext <<_ACEOF
12849 #line $LINENO "configure"
12850 /* confdefs.h. */
12851 _ACEOF
12852 cat confdefs.h >>conftest.$ac_ext
12853 cat >>conftest.$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12855 #include <$ac_header>
12856 _ACEOF
12857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12858 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12859 ac_status=$?
12860 grep -v '^ *+' conftest.er1 >conftest.err
12861 rm -f conftest.er1
12862 cat conftest.err >&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } >/dev/null; then
12865 if test -s conftest.err; then
12866 ac_cpp_err=$ac_c_preproc_warn_flag
12867 else
12868 ac_cpp_err=
12869 fi
12870 else
12871 ac_cpp_err=yes
12872 fi
12873 if test -z "$ac_cpp_err"; then
12874 ac_header_preproc=yes
12875 else
12876 echo "$as_me: failed program was:" >&5
12877 sed 's/^/| /' conftest.$ac_ext >&5
12878
12879 ac_header_preproc=no
12880 fi
12881 rm -f conftest.err conftest.$ac_ext
12882 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12883 echo "${ECHO_T}$ac_header_preproc" >&6
12884
12885 # So? What about this header?
12886 case $ac_header_compiler:$ac_header_preproc in
12887 yes:no )
12888 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12889 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12892 (
12893 cat <<\_ASBOX
12894 ## ------------------------------------ ##
12895 ## Report this to bug-autoconf@gnu.org. ##
12896 ## ------------------------------------ ##
12897 _ASBOX
12898 ) |
12899 sed "s/^/$as_me: WARNING: /" >&2
12900 ;;
12901 no:yes )
12902 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12903 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12904 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12905 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12906 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12907 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12908 (
12909 cat <<\_ASBOX
12910 ## ------------------------------------ ##
12911 ## Report this to bug-autoconf@gnu.org. ##
12912 ## ------------------------------------ ##
12913 _ASBOX
12914 ) |
12915 sed "s/^/$as_me: WARNING: /" >&2
12916 ;;
12917 esac
12918 echo "$as_me:$LINENO: checking for $ac_header" >&5
12919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 else
12923 eval "$as_ac_Header=$ac_header_preproc"
12924 fi
12925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12927
12928 fi
12929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12930 cat >>confdefs.h <<_ACEOF
12931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12932 _ACEOF
12933
12934 fi
12935
12936 done
12937
12938 fi
12939
12940
12941 for ac_header in fnmatch.h
12942 do
12943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12945 echo "$as_me:$LINENO: checking for $ac_header" >&5
12946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 fi
12950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12952 else
12953 # Is the header compilable?
12954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12956 cat >conftest.$ac_ext <<_ACEOF
12957 #line $LINENO "configure"
12958 /* confdefs.h. */
12959 _ACEOF
12960 cat confdefs.h >>conftest.$ac_ext
12961 cat >>conftest.$ac_ext <<_ACEOF
12962 /* end confdefs.h. */
12963 $ac_includes_default
12964 #include <$ac_header>
12965 _ACEOF
12966 rm -f conftest.$ac_objext
12967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12968 (eval $ac_compile) 2>&5
12969 ac_status=$?
12970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); } &&
12972 { ac_try='test -s conftest.$ac_objext'
12973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12974 (eval $ac_try) 2>&5
12975 ac_status=$?
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); }; }; then
12978 ac_header_compiler=yes
12979 else
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12982
12983 ac_header_compiler=no
12984 fi
12985 rm -f conftest.$ac_objext conftest.$ac_ext
12986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12987 echo "${ECHO_T}$ac_header_compiler" >&6
12988
12989 # Is the header present?
12990 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12992 cat >conftest.$ac_ext <<_ACEOF
12993 #line $LINENO "configure"
12994 /* confdefs.h. */
12995 _ACEOF
12996 cat confdefs.h >>conftest.$ac_ext
12997 cat >>conftest.$ac_ext <<_ACEOF
12998 /* end confdefs.h. */
12999 #include <$ac_header>
13000 _ACEOF
13001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13003 ac_status=$?
13004 grep -v '^ *+' conftest.er1 >conftest.err
13005 rm -f conftest.er1
13006 cat conftest.err >&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); } >/dev/null; then
13009 if test -s conftest.err; then
13010 ac_cpp_err=$ac_c_preproc_warn_flag
13011 else
13012 ac_cpp_err=
13013 fi
13014 else
13015 ac_cpp_err=yes
13016 fi
13017 if test -z "$ac_cpp_err"; then
13018 ac_header_preproc=yes
13019 else
13020 echo "$as_me: failed program was:" >&5
13021 sed 's/^/| /' conftest.$ac_ext >&5
13022
13023 ac_header_preproc=no
13024 fi
13025 rm -f conftest.err conftest.$ac_ext
13026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13027 echo "${ECHO_T}$ac_header_preproc" >&6
13028
13029 # So? What about this header?
13030 case $ac_header_compiler:$ac_header_preproc in
13031 yes:no )
13032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13036 (
13037 cat <<\_ASBOX
13038 ## ------------------------------------ ##
13039 ## Report this to bug-autoconf@gnu.org. ##
13040 ## ------------------------------------ ##
13041 _ASBOX
13042 ) |
13043 sed "s/^/$as_me: WARNING: /" >&2
13044 ;;
13045 no:yes )
13046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13052 (
13053 cat <<\_ASBOX
13054 ## ------------------------------------ ##
13055 ## Report this to bug-autoconf@gnu.org. ##
13056 ## ------------------------------------ ##
13057 _ASBOX
13058 ) |
13059 sed "s/^/$as_me: WARNING: /" >&2
13060 ;;
13061 esac
13062 echo "$as_me:$LINENO: checking for $ac_header" >&5
13063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13065 echo $ECHO_N "(cached) $ECHO_C" >&6
13066 else
13067 eval "$as_ac_Header=$ac_header_preproc"
13068 fi
13069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13071
13072 fi
13073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13074 cat >>confdefs.h <<_ACEOF
13075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13076 _ACEOF
13077
13078 fi
13079
13080 done
13081
13082
13083 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13084
13085 for ac_func in fnmatch
13086 do
13087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13088 echo "$as_me:$LINENO: checking for $ac_func" >&5
13089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13090 if eval "test \"\${$as_ac_var+set}\" = set"; then
13091 echo $ECHO_N "(cached) $ECHO_C" >&6
13092 else
13093 cat >conftest.$ac_ext <<_ACEOF
13094 #line $LINENO "configure"
13095 /* confdefs.h. */
13096 _ACEOF
13097 cat confdefs.h >>conftest.$ac_ext
13098 cat >>conftest.$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13100 /* System header to define __stub macros and hopefully few prototypes,
13101 which can conflict with char $ac_func (); below.
13102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13103 <limits.h> exists even on freestanding compilers. */
13104 #ifdef __STDC__
13105 # include <limits.h>
13106 #else
13107 # include <assert.h>
13108 #endif
13109 /* Override any gcc2 internal prototype to avoid an error. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 {
13113 #endif
13114 /* We use char because int might match the return type of a gcc2
13115 builtin and then its argument prototype would still apply. */
13116 char $ac_func ();
13117 /* The GNU C library defines this for functions which it implements
13118 to always fail with ENOSYS. Some functions are actually named
13119 something starting with __ and the normal name is an alias. */
13120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13121 choke me
13122 #else
13123 char (*f) () = $ac_func;
13124 #endif
13125 #ifdef __cplusplus
13126 }
13127 #endif
13128
13129 int
13130 main ()
13131 {
13132 return f != $ac_func;
13133 ;
13134 return 0;
13135 }
13136 _ACEOF
13137 rm -f conftest.$ac_objext conftest$ac_exeext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13139 (eval $ac_link) 2>&5
13140 ac_status=$?
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); } &&
13143 { ac_try='test -s conftest$ac_exeext'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13146 ac_status=$?
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; }; then
13149 eval "$as_ac_var=yes"
13150 else
13151 echo "$as_me: failed program was:" >&5
13152 sed 's/^/| /' conftest.$ac_ext >&5
13153
13154 eval "$as_ac_var=no"
13155 fi
13156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13157 fi
13158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13160 if test `eval echo '${'$as_ac_var'}'` = yes; then
13161 cat >>confdefs.h <<_ACEOF
13162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13163 _ACEOF
13164
13165 fi
13166 done
13167
13168 fi
13169
13170
13171 for ac_header in langinfo.h
13172 do
13173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13175 echo "$as_me:$LINENO: checking for $ac_header" >&5
13176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13178 echo $ECHO_N "(cached) $ECHO_C" >&6
13179 fi
13180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13182 else
13183 # Is the header compilable?
13184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13186 cat >conftest.$ac_ext <<_ACEOF
13187 #line $LINENO "configure"
13188 /* confdefs.h. */
13189 _ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193 $ac_includes_default
13194 #include <$ac_header>
13195 _ACEOF
13196 rm -f conftest.$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>&5
13199 ac_status=$?
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } &&
13202 { ac_try='test -s conftest.$ac_objext'
13203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204 (eval $ac_try) 2>&5
13205 ac_status=$?
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); }; }; then
13208 ac_header_compiler=yes
13209 else
13210 echo "$as_me: failed program was:" >&5
13211 sed 's/^/| /' conftest.$ac_ext >&5
13212
13213 ac_header_compiler=no
13214 fi
13215 rm -f conftest.$ac_objext conftest.$ac_ext
13216 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13217 echo "${ECHO_T}$ac_header_compiler" >&6
13218
13219 # Is the header present?
13220 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13221 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13222 cat >conftest.$ac_ext <<_ACEOF
13223 #line $LINENO "configure"
13224 /* confdefs.h. */
13225 _ACEOF
13226 cat confdefs.h >>conftest.$ac_ext
13227 cat >>conftest.$ac_ext <<_ACEOF
13228 /* end confdefs.h. */
13229 #include <$ac_header>
13230 _ACEOF
13231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13233 ac_status=$?
13234 grep -v '^ *+' conftest.er1 >conftest.err
13235 rm -f conftest.er1
13236 cat conftest.err >&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } >/dev/null; then
13239 if test -s conftest.err; then
13240 ac_cpp_err=$ac_c_preproc_warn_flag
13241 else
13242 ac_cpp_err=
13243 fi
13244 else
13245 ac_cpp_err=yes
13246 fi
13247 if test -z "$ac_cpp_err"; then
13248 ac_header_preproc=yes
13249 else
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.$ac_ext >&5
13252
13253 ac_header_preproc=no
13254 fi
13255 rm -f conftest.err conftest.$ac_ext
13256 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13257 echo "${ECHO_T}$ac_header_preproc" >&6
13258
13259 # So? What about this header?
13260 case $ac_header_compiler:$ac_header_preproc in
13261 yes:no )
13262 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13263 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13266 (
13267 cat <<\_ASBOX
13268 ## ------------------------------------ ##
13269 ## Report this to bug-autoconf@gnu.org. ##
13270 ## ------------------------------------ ##
13271 _ASBOX
13272 ) |
13273 sed "s/^/$as_me: WARNING: /" >&2
13274 ;;
13275 no:yes )
13276 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13277 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13278 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13279 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13282 (
13283 cat <<\_ASBOX
13284 ## ------------------------------------ ##
13285 ## Report this to bug-autoconf@gnu.org. ##
13286 ## ------------------------------------ ##
13287 _ASBOX
13288 ) |
13289 sed "s/^/$as_me: WARNING: /" >&2
13290 ;;
13291 esac
13292 echo "$as_me:$LINENO: checking for $ac_header" >&5
13293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 else
13297 eval "$as_ac_Header=$ac_header_preproc"
13298 fi
13299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13301
13302 fi
13303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13304 cat >>confdefs.h <<_ACEOF
13305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13306 _ACEOF
13307
13308 fi
13309
13310 done
13311
13312
13313 case "${host}" in
13314 *-pc-os2_emx | *-pc-os2-emx )
13315 if test $ac_cv_header_langinfo_h = "yes"; then
13316 LIBS="$LIBS -lintl"
13317 fi
13318 ;;
13319 esac
13320
13321 if test "$wxUSE_GUI" = "yes"; then
13322 if test "$wxUSE_UNIX" = "yes"; then
13323
13324 for ac_header in X11/XKBlib.h
13325 do
13326 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13328 echo "$as_me:$LINENO: checking for $ac_header" >&5
13329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13331 echo $ECHO_N "(cached) $ECHO_C" >&6
13332 fi
13333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13335 else
13336 # Is the header compilable?
13337 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13338 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13339 cat >conftest.$ac_ext <<_ACEOF
13340 #line $LINENO "configure"
13341 /* confdefs.h. */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 $ac_includes_default
13347 #include <$ac_header>
13348 _ACEOF
13349 rm -f conftest.$ac_objext
13350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13351 (eval $ac_compile) 2>&5
13352 ac_status=$?
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } &&
13355 { ac_try='test -s conftest.$ac_objext'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13358 ac_status=$?
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; }; then
13361 ac_header_compiler=yes
13362 else
13363 echo "$as_me: failed program was:" >&5
13364 sed 's/^/| /' conftest.$ac_ext >&5
13365
13366 ac_header_compiler=no
13367 fi
13368 rm -f conftest.$ac_objext conftest.$ac_ext
13369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13370 echo "${ECHO_T}$ac_header_compiler" >&6
13371
13372 # Is the header present?
13373 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13374 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13375 cat >conftest.$ac_ext <<_ACEOF
13376 #line $LINENO "configure"
13377 /* confdefs.h. */
13378 _ACEOF
13379 cat confdefs.h >>conftest.$ac_ext
13380 cat >>conftest.$ac_ext <<_ACEOF
13381 /* end confdefs.h. */
13382 #include <$ac_header>
13383 _ACEOF
13384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13386 ac_status=$?
13387 grep -v '^ *+' conftest.er1 >conftest.err
13388 rm -f conftest.er1
13389 cat conftest.err >&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); } >/dev/null; then
13392 if test -s conftest.err; then
13393 ac_cpp_err=$ac_c_preproc_warn_flag
13394 else
13395 ac_cpp_err=
13396 fi
13397 else
13398 ac_cpp_err=yes
13399 fi
13400 if test -z "$ac_cpp_err"; then
13401 ac_header_preproc=yes
13402 else
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.$ac_ext >&5
13405
13406 ac_header_preproc=no
13407 fi
13408 rm -f conftest.err conftest.$ac_ext
13409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13410 echo "${ECHO_T}$ac_header_preproc" >&6
13411
13412 # So? What about this header?
13413 case $ac_header_compiler:$ac_header_preproc in
13414 yes:no )
13415 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13416 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13417 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13418 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13419 (
13420 cat <<\_ASBOX
13421 ## ------------------------------------ ##
13422 ## Report this to bug-autoconf@gnu.org. ##
13423 ## ------------------------------------ ##
13424 _ASBOX
13425 ) |
13426 sed "s/^/$as_me: WARNING: /" >&2
13427 ;;
13428 no:yes )
13429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13435 (
13436 cat <<\_ASBOX
13437 ## ------------------------------------ ##
13438 ## Report this to bug-autoconf@gnu.org. ##
13439 ## ------------------------------------ ##
13440 _ASBOX
13441 ) |
13442 sed "s/^/$as_me: WARNING: /" >&2
13443 ;;
13444 esac
13445 echo "$as_me:$LINENO: checking for $ac_header" >&5
13446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 else
13450 eval "$as_ac_Header=$ac_header_preproc"
13451 fi
13452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13454
13455 fi
13456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13457 cat >>confdefs.h <<_ACEOF
13458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13459 _ACEOF
13460
13461 fi
13462
13463 done
13464
13465 fi
13466 fi
13467
13468
13469 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13470 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13471 if test "${ac_cv_c_const+set}" = set; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13473 else
13474 cat >conftest.$ac_ext <<_ACEOF
13475 #line $LINENO "configure"
13476 /* confdefs.h. */
13477 _ACEOF
13478 cat confdefs.h >>conftest.$ac_ext
13479 cat >>conftest.$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13481
13482 int
13483 main ()
13484 {
13485 /* FIXME: Include the comments suggested by Paul. */
13486 #ifndef __cplusplus
13487 /* Ultrix mips cc rejects this. */
13488 typedef int charset[2];
13489 const charset x;
13490 /* SunOS 4.1.1 cc rejects this. */
13491 char const *const *ccp;
13492 char **p;
13493 /* NEC SVR4.0.2 mips cc rejects this. */
13494 struct point {int x, y;};
13495 static struct point const zero = {0,0};
13496 /* AIX XL C 1.02.0.0 rejects this.
13497 It does not let you subtract one const X* pointer from another in
13498 an arm of an if-expression whose if-part is not a constant
13499 expression */
13500 const char *g = "string";
13501 ccp = &g + (g ? g-g : 0);
13502 /* HPUX 7.0 cc rejects these. */
13503 ++ccp;
13504 p = (char**) ccp;
13505 ccp = (char const *const *) p;
13506 { /* SCO 3.2v4 cc rejects this. */
13507 char *t;
13508 char const *s = 0 ? (char *) 0 : (char const *) 0;
13509
13510 *t++ = 0;
13511 }
13512 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13513 int x[] = {25, 17};
13514 const int *foo = &x[0];
13515 ++foo;
13516 }
13517 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13518 typedef const int *iptr;
13519 iptr p = 0;
13520 ++p;
13521 }
13522 { /* AIX XL C 1.02.0.0 rejects this saying
13523 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13524 struct s { int j; const int *ap[3]; };
13525 struct s *b; b->j = 5;
13526 }
13527 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13528 const int foo = 10;
13529 }
13530 #endif
13531
13532 ;
13533 return 0;
13534 }
13535 _ACEOF
13536 rm -f conftest.$ac_objext
13537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13538 (eval $ac_compile) 2>&5
13539 ac_status=$?
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try='test -s conftest.$ac_objext'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13545 ac_status=$?
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; }; then
13548 ac_cv_c_const=yes
13549 else
13550 echo "$as_me: failed program was:" >&5
13551 sed 's/^/| /' conftest.$ac_ext >&5
13552
13553 ac_cv_c_const=no
13554 fi
13555 rm -f conftest.$ac_objext conftest.$ac_ext
13556 fi
13557 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13558 echo "${ECHO_T}$ac_cv_c_const" >&6
13559 if test $ac_cv_c_const = no; then
13560
13561 cat >>confdefs.h <<\_ACEOF
13562 #define const
13563 _ACEOF
13564
13565 fi
13566
13567 echo "$as_me:$LINENO: checking for inline" >&5
13568 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13569 if test "${ac_cv_c_inline+set}" = set; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 else
13572 ac_cv_c_inline=no
13573 for ac_kw in inline __inline__ __inline; do
13574 cat >conftest.$ac_ext <<_ACEOF
13575 #line $LINENO "configure"
13576 /* confdefs.h. */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581 #ifndef __cplusplus
13582 typedef int foo_t;
13583 static $ac_kw foo_t static_foo () {return 0; }
13584 $ac_kw foo_t foo () {return 0; }
13585 #endif
13586
13587 _ACEOF
13588 rm -f conftest.$ac_objext
13589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13590 (eval $ac_compile) 2>&5
13591 ac_status=$?
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } &&
13594 { ac_try='test -s conftest.$ac_objext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13597 ac_status=$?
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_cv_c_inline=$ac_kw; break
13601 else
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.$ac_ext >&5
13604
13605 fi
13606 rm -f conftest.$ac_objext conftest.$ac_ext
13607 done
13608
13609 fi
13610 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13611 echo "${ECHO_T}$ac_cv_c_inline" >&6
13612 case $ac_cv_c_inline in
13613 inline | yes) ;;
13614 no)
13615 cat >>confdefs.h <<\_ACEOF
13616 #define inline
13617 _ACEOF
13618 ;;
13619 *) cat >>confdefs.h <<_ACEOF
13620 #define inline $ac_cv_c_inline
13621 _ACEOF
13622 ;;
13623 esac
13624
13625
13626 echo "$as_me:$LINENO: checking for char" >&5
13627 echo $ECHO_N "checking for char... $ECHO_C" >&6
13628 if test "${ac_cv_type_char+set}" = set; then
13629 echo $ECHO_N "(cached) $ECHO_C" >&6
13630 else
13631 cat >conftest.$ac_ext <<_ACEOF
13632 #line $LINENO "configure"
13633 /* confdefs.h. */
13634 _ACEOF
13635 cat confdefs.h >>conftest.$ac_ext
13636 cat >>conftest.$ac_ext <<_ACEOF
13637 /* end confdefs.h. */
13638 $ac_includes_default
13639 int
13640 main ()
13641 {
13642 if ((char *) 0)
13643 return 0;
13644 if (sizeof (char))
13645 return 0;
13646 ;
13647 return 0;
13648 }
13649 _ACEOF
13650 rm -f conftest.$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652 (eval $ac_compile) 2>&5
13653 ac_status=$?
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); } &&
13656 { ac_try='test -s conftest.$ac_objext'
13657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13658 (eval $ac_try) 2>&5
13659 ac_status=$?
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); }; }; then
13662 ac_cv_type_char=yes
13663 else
13664 echo "$as_me: failed program was:" >&5
13665 sed 's/^/| /' conftest.$ac_ext >&5
13666
13667 ac_cv_type_char=no
13668 fi
13669 rm -f conftest.$ac_objext conftest.$ac_ext
13670 fi
13671 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13672 echo "${ECHO_T}$ac_cv_type_char" >&6
13673
13674 echo "$as_me:$LINENO: checking size of char" >&5
13675 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13676 if test "${ac_cv_sizeof_char+set}" = set; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13678 else
13679 if test "$ac_cv_type_char" = yes; then
13680 # The cast to unsigned long works around a bug in the HP C Compiler
13681 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13682 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13683 # This bug is HP SR number 8606223364.
13684 if test "$cross_compiling" = yes; then
13685 # Depending upon the size, compute the lo and hi bounds.
13686 cat >conftest.$ac_ext <<_ACEOF
13687 #line $LINENO "configure"
13688 /* confdefs.h. */
13689 _ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 $ac_includes_default
13694 int
13695 main ()
13696 {
13697 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13698 test_array [0] = 0
13699
13700 ;
13701 return 0;
13702 }
13703 _ACEOF
13704 rm -f conftest.$ac_objext
13705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13706 (eval $ac_compile) 2>&5
13707 ac_status=$?
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try='test -s conftest.$ac_objext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13713 ac_status=$?
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13716 ac_lo=0 ac_mid=0
13717 while :; do
13718 cat >conftest.$ac_ext <<_ACEOF
13719 #line $LINENO "configure"
13720 /* confdefs.h. */
13721 _ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 $ac_includes_default
13726 int
13727 main ()
13728 {
13729 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13730 test_array [0] = 0
13731
13732 ;
13733 return 0;
13734 }
13735 _ACEOF
13736 rm -f conftest.$ac_objext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>&5
13739 ac_status=$?
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try='test -s conftest.$ac_objext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_hi=$ac_mid; break
13749 else
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.$ac_ext >&5
13752
13753 ac_lo=`expr $ac_mid + 1`
13754 if test $ac_lo -le $ac_mid; then
13755 ac_lo= ac_hi=
13756 break
13757 fi
13758 ac_mid=`expr 2 '*' $ac_mid + 1`
13759 fi
13760 rm -f conftest.$ac_objext conftest.$ac_ext
13761 done
13762 else
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.$ac_ext >&5
13765
13766 cat >conftest.$ac_ext <<_ACEOF
13767 #line $LINENO "configure"
13768 /* confdefs.h. */
13769 _ACEOF
13770 cat confdefs.h >>conftest.$ac_ext
13771 cat >>conftest.$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 $ac_includes_default
13774 int
13775 main ()
13776 {
13777 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13778 test_array [0] = 0
13779
13780 ;
13781 return 0;
13782 }
13783 _ACEOF
13784 rm -f conftest.$ac_objext
13785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13786 (eval $ac_compile) 2>&5
13787 ac_status=$?
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } &&
13790 { ac_try='test -s conftest.$ac_objext'
13791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13792 (eval $ac_try) 2>&5
13793 ac_status=$?
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); }; }; then
13796 ac_hi=-1 ac_mid=-1
13797 while :; do
13798 cat >conftest.$ac_ext <<_ACEOF
13799 #line $LINENO "configure"
13800 /* confdefs.h. */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 $ac_includes_default
13806 int
13807 main ()
13808 {
13809 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13810 test_array [0] = 0
13811
13812 ;
13813 return 0;
13814 }
13815 _ACEOF
13816 rm -f conftest.$ac_objext
13817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13818 (eval $ac_compile) 2>&5
13819 ac_status=$?
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try='test -s conftest.$ac_objext'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; }; then
13828 ac_lo=$ac_mid; break
13829 else
13830 echo "$as_me: failed program was:" >&5
13831 sed 's/^/| /' conftest.$ac_ext >&5
13832
13833 ac_hi=`expr '(' $ac_mid ')' - 1`
13834 if test $ac_mid -le $ac_hi; then
13835 ac_lo= ac_hi=
13836 break
13837 fi
13838 ac_mid=`expr 2 '*' $ac_mid`
13839 fi
13840 rm -f conftest.$ac_objext conftest.$ac_ext
13841 done
13842 else
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13845
13846 ac_lo= ac_hi=
13847 fi
13848 rm -f conftest.$ac_objext conftest.$ac_ext
13849 fi
13850 rm -f conftest.$ac_objext conftest.$ac_ext
13851 # Binary search between lo and hi bounds.
13852 while test "x$ac_lo" != "x$ac_hi"; do
13853 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13854 cat >conftest.$ac_ext <<_ACEOF
13855 #line $LINENO "configure"
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861 $ac_includes_default
13862 int
13863 main ()
13864 {
13865 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13866 test_array [0] = 0
13867
13868 ;
13869 return 0;
13870 }
13871 _ACEOF
13872 rm -f conftest.$ac_objext
13873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13874 (eval $ac_compile) 2>&5
13875 ac_status=$?
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } &&
13878 { ac_try='test -s conftest.$ac_objext'
13879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13880 (eval $ac_try) 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_hi=$ac_mid
13885 else
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13888
13889 ac_lo=`expr '(' $ac_mid ')' + 1`
13890 fi
13891 rm -f conftest.$ac_objext conftest.$ac_ext
13892 done
13893 case $ac_lo in
13894 ?*) ac_cv_sizeof_char=$ac_lo;;
13895 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13896 See \`config.log' for more details." >&5
13897 echo "$as_me: error: cannot compute sizeof (char), 77
13898 See \`config.log' for more details." >&2;}
13899 { (exit 1); exit 1; }; } ;;
13900 esac
13901 else
13902 if test "$cross_compiling" = yes; then
13903 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13904 See \`config.log' for more details." >&5
13905 echo "$as_me: error: cannot run test program while cross compiling
13906 See \`config.log' for more details." >&2;}
13907 { (exit 1); exit 1; }; }
13908 else
13909 cat >conftest.$ac_ext <<_ACEOF
13910 #line $LINENO "configure"
13911 /* confdefs.h. */
13912 _ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13916 $ac_includes_default
13917 long longval () { return (long) (sizeof (char)); }
13918 unsigned long ulongval () { return (long) (sizeof (char)); }
13919 #include <stdio.h>
13920 #include <stdlib.h>
13921 int
13922 main ()
13923 {
13924
13925 FILE *f = fopen ("conftest.val", "w");
13926 if (! f)
13927 exit (1);
13928 if (((long) (sizeof (char))) < 0)
13929 {
13930 long i = longval ();
13931 if (i != ((long) (sizeof (char))))
13932 exit (1);
13933 fprintf (f, "%ld\n", i);
13934 }
13935 else
13936 {
13937 unsigned long i = ulongval ();
13938 if (i != ((long) (sizeof (char))))
13939 exit (1);
13940 fprintf (f, "%lu\n", i);
13941 }
13942 exit (ferror (f) || fclose (f) != 0);
13943
13944 ;
13945 return 0;
13946 }
13947 _ACEOF
13948 rm -f conftest$ac_exeext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13950 (eval $ac_link) 2>&5
13951 ac_status=$?
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13956 ac_status=$?
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; }; then
13959 ac_cv_sizeof_char=`cat conftest.val`
13960 else
13961 echo "$as_me: program exited with status $ac_status" >&5
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.$ac_ext >&5
13964
13965 ( exit $ac_status )
13966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13967 See \`config.log' for more details." >&5
13968 echo "$as_me: error: cannot compute sizeof (char), 77
13969 See \`config.log' for more details." >&2;}
13970 { (exit 1); exit 1; }; }
13971 fi
13972 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13973 fi
13974 fi
13975 rm -f conftest.val
13976 else
13977 ac_cv_sizeof_char=0
13978 fi
13979 fi
13980 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13981 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13982 cat >>confdefs.h <<_ACEOF
13983 #define SIZEOF_CHAR $ac_cv_sizeof_char
13984 _ACEOF
13985
13986
13987 echo "$as_me:$LINENO: checking for short" >&5
13988 echo $ECHO_N "checking for short... $ECHO_C" >&6
13989 if test "${ac_cv_type_short+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 else
13992 cat >conftest.$ac_ext <<_ACEOF
13993 #line $LINENO "configure"
13994 /* confdefs.h. */
13995 _ACEOF
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
13999 $ac_includes_default
14000 int
14001 main ()
14002 {
14003 if ((short *) 0)
14004 return 0;
14005 if (sizeof (short))
14006 return 0;
14007 ;
14008 return 0;
14009 }
14010 _ACEOF
14011 rm -f conftest.$ac_objext
14012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14013 (eval $ac_compile) 2>&5
14014 ac_status=$?
14015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14016 (exit $ac_status); } &&
14017 { ac_try='test -s conftest.$ac_objext'
14018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14019 (eval $ac_try) 2>&5
14020 ac_status=$?
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); }; }; then
14023 ac_cv_type_short=yes
14024 else
14025 echo "$as_me: failed program was:" >&5
14026 sed 's/^/| /' conftest.$ac_ext >&5
14027
14028 ac_cv_type_short=no
14029 fi
14030 rm -f conftest.$ac_objext conftest.$ac_ext
14031 fi
14032 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14033 echo "${ECHO_T}$ac_cv_type_short" >&6
14034
14035 echo "$as_me:$LINENO: checking size of short" >&5
14036 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14037 if test "${ac_cv_sizeof_short+set}" = set; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14039 else
14040 if test "$ac_cv_type_short" = yes; then
14041 # The cast to unsigned long works around a bug in the HP C Compiler
14042 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14043 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14044 # This bug is HP SR number 8606223364.
14045 if test "$cross_compiling" = yes; then
14046 # Depending upon the size, compute the lo and hi bounds.
14047 cat >conftest.$ac_ext <<_ACEOF
14048 #line $LINENO "configure"
14049 /* confdefs.h. */
14050 _ACEOF
14051 cat confdefs.h >>conftest.$ac_ext
14052 cat >>conftest.$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 $ac_includes_default
14055 int
14056 main ()
14057 {
14058 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14059 test_array [0] = 0
14060
14061 ;
14062 return 0;
14063 }
14064 _ACEOF
14065 rm -f conftest.$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067 (eval $ac_compile) 2>&5
14068 ac_status=$?
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try='test -s conftest.$ac_objext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14074 ac_status=$?
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14077 ac_lo=0 ac_mid=0
14078 while :; do
14079 cat >conftest.$ac_ext <<_ACEOF
14080 #line $LINENO "configure"
14081 /* confdefs.h. */
14082 _ACEOF
14083 cat confdefs.h >>conftest.$ac_ext
14084 cat >>conftest.$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14086 $ac_includes_default
14087 int
14088 main ()
14089 {
14090 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14091 test_array [0] = 0
14092
14093 ;
14094 return 0;
14095 }
14096 _ACEOF
14097 rm -f conftest.$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); } &&
14103 { ac_try='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_hi=$ac_mid; break
14110 else
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14113
14114 ac_lo=`expr $ac_mid + 1`
14115 if test $ac_lo -le $ac_mid; then
14116 ac_lo= ac_hi=
14117 break
14118 fi
14119 ac_mid=`expr 2 '*' $ac_mid + 1`
14120 fi
14121 rm -f conftest.$ac_objext conftest.$ac_ext
14122 done
14123 else
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.$ac_ext >&5
14126
14127 cat >conftest.$ac_ext <<_ACEOF
14128 #line $LINENO "configure"
14129 /* confdefs.h. */
14130 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14135 int
14136 main ()
14137 {
14138 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14139 test_array [0] = 0
14140
14141 ;
14142 return 0;
14143 }
14144 _ACEOF
14145 rm -f conftest.$ac_objext
14146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14147 (eval $ac_compile) 2>&5
14148 ac_status=$?
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); } &&
14151 { ac_try='test -s conftest.$ac_objext'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14154 ac_status=$?
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; }; then
14157 ac_hi=-1 ac_mid=-1
14158 while :; do
14159 cat >conftest.$ac_ext <<_ACEOF
14160 #line $LINENO "configure"
14161 /* confdefs.h. */
14162 _ACEOF
14163 cat confdefs.h >>conftest.$ac_ext
14164 cat >>conftest.$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166 $ac_includes_default
14167 int
14168 main ()
14169 {
14170 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14171 test_array [0] = 0
14172
14173 ;
14174 return 0;
14175 }
14176 _ACEOF
14177 rm -f conftest.$ac_objext
14178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14179 (eval $ac_compile) 2>&5
14180 ac_status=$?
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } &&
14183 { ac_try='test -s conftest.$ac_objext'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14189 ac_lo=$ac_mid; break
14190 else
14191 echo "$as_me: failed program was:" >&5
14192 sed 's/^/| /' conftest.$ac_ext >&5
14193
14194 ac_hi=`expr '(' $ac_mid ')' - 1`
14195 if test $ac_mid -le $ac_hi; then
14196 ac_lo= ac_hi=
14197 break
14198 fi
14199 ac_mid=`expr 2 '*' $ac_mid`
14200 fi
14201 rm -f conftest.$ac_objext conftest.$ac_ext
14202 done
14203 else
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14206
14207 ac_lo= ac_hi=
14208 fi
14209 rm -f conftest.$ac_objext conftest.$ac_ext
14210 fi
14211 rm -f conftest.$ac_objext conftest.$ac_ext
14212 # Binary search between lo and hi bounds.
14213 while test "x$ac_lo" != "x$ac_hi"; do
14214 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14215 cat >conftest.$ac_ext <<_ACEOF
14216 #line $LINENO "configure"
14217 /* confdefs.h. */
14218 _ACEOF
14219 cat confdefs.h >>conftest.$ac_ext
14220 cat >>conftest.$ac_ext <<_ACEOF
14221 /* end confdefs.h. */
14222 $ac_includes_default
14223 int
14224 main ()
14225 {
14226 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14227 test_array [0] = 0
14228
14229 ;
14230 return 0;
14231 }
14232 _ACEOF
14233 rm -f conftest.$ac_objext
14234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14235 (eval $ac_compile) 2>&5
14236 ac_status=$?
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); } &&
14239 { ac_try='test -s conftest.$ac_objext'
14240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14241 (eval $ac_try) 2>&5
14242 ac_status=$?
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); }; }; then
14245 ac_hi=$ac_mid
14246 else
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.$ac_ext >&5
14249
14250 ac_lo=`expr '(' $ac_mid ')' + 1`
14251 fi
14252 rm -f conftest.$ac_objext conftest.$ac_ext
14253 done
14254 case $ac_lo in
14255 ?*) ac_cv_sizeof_short=$ac_lo;;
14256 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14257 See \`config.log' for more details." >&5
14258 echo "$as_me: error: cannot compute sizeof (short), 77
14259 See \`config.log' for more details." >&2;}
14260 { (exit 1); exit 1; }; } ;;
14261 esac
14262 else
14263 if test "$cross_compiling" = yes; then
14264 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14265 See \`config.log' for more details." >&5
14266 echo "$as_me: error: cannot run test program while cross compiling
14267 See \`config.log' for more details." >&2;}
14268 { (exit 1); exit 1; }; }
14269 else
14270 cat >conftest.$ac_ext <<_ACEOF
14271 #line $LINENO "configure"
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 $ac_includes_default
14278 long longval () { return (long) (sizeof (short)); }
14279 unsigned long ulongval () { return (long) (sizeof (short)); }
14280 #include <stdio.h>
14281 #include <stdlib.h>
14282 int
14283 main ()
14284 {
14285
14286 FILE *f = fopen ("conftest.val", "w");
14287 if (! f)
14288 exit (1);
14289 if (((long) (sizeof (short))) < 0)
14290 {
14291 long i = longval ();
14292 if (i != ((long) (sizeof (short))))
14293 exit (1);
14294 fprintf (f, "%ld\n", i);
14295 }
14296 else
14297 {
14298 unsigned long i = ulongval ();
14299 if (i != ((long) (sizeof (short))))
14300 exit (1);
14301 fprintf (f, "%lu\n", i);
14302 }
14303 exit (ferror (f) || fclose (f) != 0);
14304
14305 ;
14306 return 0;
14307 }
14308 _ACEOF
14309 rm -f conftest$ac_exeext
14310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14311 (eval $ac_link) 2>&5
14312 ac_status=$?
14313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14316 (eval $ac_try) 2>&5
14317 ac_status=$?
14318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319 (exit $ac_status); }; }; then
14320 ac_cv_sizeof_short=`cat conftest.val`
14321 else
14322 echo "$as_me: program exited with status $ac_status" >&5
14323 echo "$as_me: failed program was:" >&5
14324 sed 's/^/| /' conftest.$ac_ext >&5
14325
14326 ( exit $ac_status )
14327 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14328 See \`config.log' for more details." >&5
14329 echo "$as_me: error: cannot compute sizeof (short), 77
14330 See \`config.log' for more details." >&2;}
14331 { (exit 1); exit 1; }; }
14332 fi
14333 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14334 fi
14335 fi
14336 rm -f conftest.val
14337 else
14338 ac_cv_sizeof_short=0
14339 fi
14340 fi
14341 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14342 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14343 cat >>confdefs.h <<_ACEOF
14344 #define SIZEOF_SHORT $ac_cv_sizeof_short
14345 _ACEOF
14346
14347
14348 echo "$as_me:$LINENO: checking for void *" >&5
14349 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14350 if test "${ac_cv_type_void_p+set}" = set; then
14351 echo $ECHO_N "(cached) $ECHO_C" >&6
14352 else
14353 cat >conftest.$ac_ext <<_ACEOF
14354 #line $LINENO "configure"
14355 /* confdefs.h. */
14356 _ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14360 $ac_includes_default
14361 int
14362 main ()
14363 {
14364 if ((void * *) 0)
14365 return 0;
14366 if (sizeof (void *))
14367 return 0;
14368 ;
14369 return 0;
14370 }
14371 _ACEOF
14372 rm -f conftest.$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>&5
14375 ac_status=$?
14376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14377 (exit $ac_status); } &&
14378 { ac_try='test -s conftest.$ac_objext'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14381 ac_status=$?
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; }; then
14384 ac_cv_type_void_p=yes
14385 else
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.$ac_ext >&5
14388
14389 ac_cv_type_void_p=no
14390 fi
14391 rm -f conftest.$ac_objext conftest.$ac_ext
14392 fi
14393 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14394 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14395
14396 echo "$as_me:$LINENO: checking size of void *" >&5
14397 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14398 if test "${ac_cv_sizeof_void_p+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14400 else
14401 if test "$ac_cv_type_void_p" = yes; then
14402 # The cast to unsigned long works around a bug in the HP C Compiler
14403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14405 # This bug is HP SR number 8606223364.
14406 if test "$cross_compiling" = yes; then
14407 # Depending upon the size, compute the lo and hi bounds.
14408 cat >conftest.$ac_ext <<_ACEOF
14409 #line $LINENO "configure"
14410 /* confdefs.h. */
14411 _ACEOF
14412 cat confdefs.h >>conftest.$ac_ext
14413 cat >>conftest.$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14415 $ac_includes_default
14416 int
14417 main ()
14418 {
14419 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14420 test_array [0] = 0
14421
14422 ;
14423 return 0;
14424 }
14425 _ACEOF
14426 rm -f conftest.$ac_objext
14427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14428 (eval $ac_compile) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 ac_lo=0 ac_mid=0
14439 while :; do
14440 cat >conftest.$ac_ext <<_ACEOF
14441 #line $LINENO "configure"
14442 /* confdefs.h. */
14443 _ACEOF
14444 cat confdefs.h >>conftest.$ac_ext
14445 cat >>conftest.$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14447 $ac_includes_default
14448 int
14449 main ()
14450 {
14451 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14452 test_array [0] = 0
14453
14454 ;
14455 return 0;
14456 }
14457 _ACEOF
14458 rm -f conftest.$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>&5
14461 ac_status=$?
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 ac_hi=$ac_mid; break
14471 else
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.$ac_ext >&5
14474
14475 ac_lo=`expr $ac_mid + 1`
14476 if test $ac_lo -le $ac_mid; then
14477 ac_lo= ac_hi=
14478 break
14479 fi
14480 ac_mid=`expr 2 '*' $ac_mid + 1`
14481 fi
14482 rm -f conftest.$ac_objext conftest.$ac_ext
14483 done
14484 else
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14487
14488 cat >conftest.$ac_ext <<_ACEOF
14489 #line $LINENO "configure"
14490 /* confdefs.h. */
14491 _ACEOF
14492 cat confdefs.h >>conftest.$ac_ext
14493 cat >>conftest.$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14495 $ac_includes_default
14496 int
14497 main ()
14498 {
14499 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14500 test_array [0] = 0
14501
14502 ;
14503 return 0;
14504 }
14505 _ACEOF
14506 rm -f conftest.$ac_objext
14507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14508 (eval $ac_compile) 2>&5
14509 ac_status=$?
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try='test -s conftest.$ac_objext'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; }; then
14518 ac_hi=-1 ac_mid=-1
14519 while :; do
14520 cat >conftest.$ac_ext <<_ACEOF
14521 #line $LINENO "configure"
14522 /* confdefs.h. */
14523 _ACEOF
14524 cat confdefs.h >>conftest.$ac_ext
14525 cat >>conftest.$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527 $ac_includes_default
14528 int
14529 main ()
14530 {
14531 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14532 test_array [0] = 0
14533
14534 ;
14535 return 0;
14536 }
14537 _ACEOF
14538 rm -f conftest.$ac_objext
14539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14540 (eval $ac_compile) 2>&5
14541 ac_status=$?
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } &&
14544 { ac_try='test -s conftest.$ac_objext'
14545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 (eval $ac_try) 2>&5
14547 ac_status=$?
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); }; }; then
14550 ac_lo=$ac_mid; break
14551 else
14552 echo "$as_me: failed program was:" >&5
14553 sed 's/^/| /' conftest.$ac_ext >&5
14554
14555 ac_hi=`expr '(' $ac_mid ')' - 1`
14556 if test $ac_mid -le $ac_hi; then
14557 ac_lo= ac_hi=
14558 break
14559 fi
14560 ac_mid=`expr 2 '*' $ac_mid`
14561 fi
14562 rm -f conftest.$ac_objext conftest.$ac_ext
14563 done
14564 else
14565 echo "$as_me: failed program was:" >&5
14566 sed 's/^/| /' conftest.$ac_ext >&5
14567
14568 ac_lo= ac_hi=
14569 fi
14570 rm -f conftest.$ac_objext conftest.$ac_ext
14571 fi
14572 rm -f conftest.$ac_objext conftest.$ac_ext
14573 # Binary search between lo and hi bounds.
14574 while test "x$ac_lo" != "x$ac_hi"; do
14575 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14576 cat >conftest.$ac_ext <<_ACEOF
14577 #line $LINENO "configure"
14578 /* confdefs.h. */
14579 _ACEOF
14580 cat confdefs.h >>conftest.$ac_ext
14581 cat >>conftest.$ac_ext <<_ACEOF
14582 /* end confdefs.h. */
14583 $ac_includes_default
14584 int
14585 main ()
14586 {
14587 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14588 test_array [0] = 0
14589
14590 ;
14591 return 0;
14592 }
14593 _ACEOF
14594 rm -f conftest.$ac_objext
14595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14596 (eval $ac_compile) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); } &&
14600 { ac_try='test -s conftest.$ac_objext'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14603 ac_status=$?
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; }; then
14606 ac_hi=$ac_mid
14607 else
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.$ac_ext >&5
14610
14611 ac_lo=`expr '(' $ac_mid ')' + 1`
14612 fi
14613 rm -f conftest.$ac_objext conftest.$ac_ext
14614 done
14615 case $ac_lo in
14616 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14617 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14618 See \`config.log' for more details." >&5
14619 echo "$as_me: error: cannot compute sizeof (void *), 77
14620 See \`config.log' for more details." >&2;}
14621 { (exit 1); exit 1; }; } ;;
14622 esac
14623 else
14624 if test "$cross_compiling" = yes; then
14625 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14626 See \`config.log' for more details." >&5
14627 echo "$as_me: error: cannot run test program while cross compiling
14628 See \`config.log' for more details." >&2;}
14629 { (exit 1); exit 1; }; }
14630 else
14631 cat >conftest.$ac_ext <<_ACEOF
14632 #line $LINENO "configure"
14633 /* confdefs.h. */
14634 _ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638 $ac_includes_default
14639 long longval () { return (long) (sizeof (void *)); }
14640 unsigned long ulongval () { return (long) (sizeof (void *)); }
14641 #include <stdio.h>
14642 #include <stdlib.h>
14643 int
14644 main ()
14645 {
14646
14647 FILE *f = fopen ("conftest.val", "w");
14648 if (! f)
14649 exit (1);
14650 if (((long) (sizeof (void *))) < 0)
14651 {
14652 long i = longval ();
14653 if (i != ((long) (sizeof (void *))))
14654 exit (1);
14655 fprintf (f, "%ld\n", i);
14656 }
14657 else
14658 {
14659 unsigned long i = ulongval ();
14660 if (i != ((long) (sizeof (void *))))
14661 exit (1);
14662 fprintf (f, "%lu\n", i);
14663 }
14664 exit (ferror (f) || fclose (f) != 0);
14665
14666 ;
14667 return 0;
14668 }
14669 _ACEOF
14670 rm -f conftest$ac_exeext
14671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14672 (eval $ac_link) 2>&5
14673 ac_status=$?
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14677 (eval $ac_try) 2>&5
14678 ac_status=$?
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); }; }; then
14681 ac_cv_sizeof_void_p=`cat conftest.val`
14682 else
14683 echo "$as_me: program exited with status $ac_status" >&5
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.$ac_ext >&5
14686
14687 ( exit $ac_status )
14688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14689 See \`config.log' for more details." >&5
14690 echo "$as_me: error: cannot compute sizeof (void *), 77
14691 See \`config.log' for more details." >&2;}
14692 { (exit 1); exit 1; }; }
14693 fi
14694 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14695 fi
14696 fi
14697 rm -f conftest.val
14698 else
14699 ac_cv_sizeof_void_p=0
14700 fi
14701 fi
14702 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14703 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14704 cat >>confdefs.h <<_ACEOF
14705 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14706 _ACEOF
14707
14708
14709 echo "$as_me:$LINENO: checking for int" >&5
14710 echo $ECHO_N "checking for int... $ECHO_C" >&6
14711 if test "${ac_cv_type_int+set}" = set; then
14712 echo $ECHO_N "(cached) $ECHO_C" >&6
14713 else
14714 cat >conftest.$ac_ext <<_ACEOF
14715 #line $LINENO "configure"
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 $ac_includes_default
14722 int
14723 main ()
14724 {
14725 if ((int *) 0)
14726 return 0;
14727 if (sizeof (int))
14728 return 0;
14729 ;
14730 return 0;
14731 }
14732 _ACEOF
14733 rm -f conftest.$ac_objext
14734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14735 (eval $ac_compile) 2>&5
14736 ac_status=$?
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); } &&
14739 { ac_try='test -s conftest.$ac_objext'
14740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 (eval $ac_try) 2>&5
14742 ac_status=$?
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); }; }; then
14745 ac_cv_type_int=yes
14746 else
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14749
14750 ac_cv_type_int=no
14751 fi
14752 rm -f conftest.$ac_objext conftest.$ac_ext
14753 fi
14754 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14755 echo "${ECHO_T}$ac_cv_type_int" >&6
14756
14757 echo "$as_me:$LINENO: checking size of int" >&5
14758 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14759 if test "${ac_cv_sizeof_int+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14761 else
14762 if test "$ac_cv_type_int" = yes; then
14763 # The cast to unsigned long works around a bug in the HP C Compiler
14764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14766 # This bug is HP SR number 8606223364.
14767 if test "$cross_compiling" = yes; then
14768 # Depending upon the size, compute the lo and hi bounds.
14769 cat >conftest.$ac_ext <<_ACEOF
14770 #line $LINENO "configure"
14771 /* confdefs.h. */
14772 _ACEOF
14773 cat confdefs.h >>conftest.$ac_ext
14774 cat >>conftest.$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 $ac_includes_default
14777 int
14778 main ()
14779 {
14780 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14781 test_array [0] = 0
14782
14783 ;
14784 return 0;
14785 }
14786 _ACEOF
14787 rm -f conftest.$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789 (eval $ac_compile) 2>&5
14790 ac_status=$?
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } &&
14793 { ac_try='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14796 ac_status=$?
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14799 ac_lo=0 ac_mid=0
14800 while :; do
14801 cat >conftest.$ac_ext <<_ACEOF
14802 #line $LINENO "configure"
14803 /* confdefs.h. */
14804 _ACEOF
14805 cat confdefs.h >>conftest.$ac_ext
14806 cat >>conftest.$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 $ac_includes_default
14809 int
14810 main ()
14811 {
14812 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14813 test_array [0] = 0
14814
14815 ;
14816 return 0;
14817 }
14818 _ACEOF
14819 rm -f conftest.$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14828 ac_status=$?
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_hi=$ac_mid; break
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836 ac_lo=`expr $ac_mid + 1`
14837 if test $ac_lo -le $ac_mid; then
14838 ac_lo= ac_hi=
14839 break
14840 fi
14841 ac_mid=`expr 2 '*' $ac_mid + 1`
14842 fi
14843 rm -f conftest.$ac_objext conftest.$ac_ext
14844 done
14845 else
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14848
14849 cat >conftest.$ac_ext <<_ACEOF
14850 #line $LINENO "configure"
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14856 $ac_includes_default
14857 int
14858 main ()
14859 {
14860 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14861 test_array [0] = 0
14862
14863 ;
14864 return 0;
14865 }
14866 _ACEOF
14867 rm -f conftest.$ac_objext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14869 (eval $ac_compile) 2>&5
14870 ac_status=$?
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } &&
14873 { ac_try='test -s conftest.$ac_objext'
14874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875 (eval $ac_try) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); }; }; then
14879 ac_hi=-1 ac_mid=-1
14880 while :; do
14881 cat >conftest.$ac_ext <<_ACEOF
14882 #line $LINENO "configure"
14883 /* confdefs.h. */
14884 _ACEOF
14885 cat confdefs.h >>conftest.$ac_ext
14886 cat >>conftest.$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 $ac_includes_default
14889 int
14890 main ()
14891 {
14892 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14893 test_array [0] = 0
14894
14895 ;
14896 return 0;
14897 }
14898 _ACEOF
14899 rm -f conftest.$ac_objext
14900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14901 (eval $ac_compile) 2>&5
14902 ac_status=$?
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); } &&
14905 { ac_try='test -s conftest.$ac_objext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14911 ac_lo=$ac_mid; break
14912 else
14913 echo "$as_me: failed program was:" >&5
14914 sed 's/^/| /' conftest.$ac_ext >&5
14915
14916 ac_hi=`expr '(' $ac_mid ')' - 1`
14917 if test $ac_mid -le $ac_hi; then
14918 ac_lo= ac_hi=
14919 break
14920 fi
14921 ac_mid=`expr 2 '*' $ac_mid`
14922 fi
14923 rm -f conftest.$ac_objext conftest.$ac_ext
14924 done
14925 else
14926 echo "$as_me: failed program was:" >&5
14927 sed 's/^/| /' conftest.$ac_ext >&5
14928
14929 ac_lo= ac_hi=
14930 fi
14931 rm -f conftest.$ac_objext conftest.$ac_ext
14932 fi
14933 rm -f conftest.$ac_objext conftest.$ac_ext
14934 # Binary search between lo and hi bounds.
14935 while test "x$ac_lo" != "x$ac_hi"; do
14936 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14937 cat >conftest.$ac_ext <<_ACEOF
14938 #line $LINENO "configure"
14939 /* confdefs.h. */
14940 _ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14944 $ac_includes_default
14945 int
14946 main ()
14947 {
14948 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14949 test_array [0] = 0
14950
14951 ;
14952 return 0;
14953 }
14954 _ACEOF
14955 rm -f conftest.$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>&5
14958 ac_status=$?
14959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960 (exit $ac_status); } &&
14961 { ac_try='test -s conftest.$ac_objext'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; }; then
14967 ac_hi=$ac_mid
14968 else
14969 echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 ac_lo=`expr '(' $ac_mid ')' + 1`
14973 fi
14974 rm -f conftest.$ac_objext conftest.$ac_ext
14975 done
14976 case $ac_lo in
14977 ?*) ac_cv_sizeof_int=$ac_lo;;
14978 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14979 See \`config.log' for more details." >&5
14980 echo "$as_me: error: cannot compute sizeof (int), 77
14981 See \`config.log' for more details." >&2;}
14982 { (exit 1); exit 1; }; } ;;
14983 esac
14984 else
14985 if test "$cross_compiling" = yes; then
14986 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14987 See \`config.log' for more details." >&5
14988 echo "$as_me: error: cannot run test program while cross compiling
14989 See \`config.log' for more details." >&2;}
14990 { (exit 1); exit 1; }; }
14991 else
14992 cat >conftest.$ac_ext <<_ACEOF
14993 #line $LINENO "configure"
14994 /* confdefs.h. */
14995 _ACEOF
14996 cat confdefs.h >>conftest.$ac_ext
14997 cat >>conftest.$ac_ext <<_ACEOF
14998 /* end confdefs.h. */
14999 $ac_includes_default
15000 long longval () { return (long) (sizeof (int)); }
15001 unsigned long ulongval () { return (long) (sizeof (int)); }
15002 #include <stdio.h>
15003 #include <stdlib.h>
15004 int
15005 main ()
15006 {
15007
15008 FILE *f = fopen ("conftest.val", "w");
15009 if (! f)
15010 exit (1);
15011 if (((long) (sizeof (int))) < 0)
15012 {
15013 long i = longval ();
15014 if (i != ((long) (sizeof (int))))
15015 exit (1);
15016 fprintf (f, "%ld\n", i);
15017 }
15018 else
15019 {
15020 unsigned long i = ulongval ();
15021 if (i != ((long) (sizeof (int))))
15022 exit (1);
15023 fprintf (f, "%lu\n", i);
15024 }
15025 exit (ferror (f) || fclose (f) != 0);
15026
15027 ;
15028 return 0;
15029 }
15030 _ACEOF
15031 rm -f conftest$ac_exeext
15032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15033 (eval $ac_link) 2>&5
15034 ac_status=$?
15035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15038 (eval $ac_try) 2>&5
15039 ac_status=$?
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); }; }; then
15042 ac_cv_sizeof_int=`cat conftest.val`
15043 else
15044 echo "$as_me: program exited with status $ac_status" >&5
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15047
15048 ( exit $ac_status )
15049 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15050 See \`config.log' for more details." >&5
15051 echo "$as_me: error: cannot compute sizeof (int), 77
15052 See \`config.log' for more details." >&2;}
15053 { (exit 1); exit 1; }; }
15054 fi
15055 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15056 fi
15057 fi
15058 rm -f conftest.val
15059 else
15060 ac_cv_sizeof_int=0
15061 fi
15062 fi
15063 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15064 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15065 cat >>confdefs.h <<_ACEOF
15066 #define SIZEOF_INT $ac_cv_sizeof_int
15067 _ACEOF
15068
15069
15070 echo "$as_me:$LINENO: checking for long" >&5
15071 echo $ECHO_N "checking for long... $ECHO_C" >&6
15072 if test "${ac_cv_type_long+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15074 else
15075 cat >conftest.$ac_ext <<_ACEOF
15076 #line $LINENO "configure"
15077 /* confdefs.h. */
15078 _ACEOF
15079 cat confdefs.h >>conftest.$ac_ext
15080 cat >>conftest.$ac_ext <<_ACEOF
15081 /* end confdefs.h. */
15082 $ac_includes_default
15083 int
15084 main ()
15085 {
15086 if ((long *) 0)
15087 return 0;
15088 if (sizeof (long))
15089 return 0;
15090 ;
15091 return 0;
15092 }
15093 _ACEOF
15094 rm -f conftest.$ac_objext
15095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15096 (eval $ac_compile) 2>&5
15097 ac_status=$?
15098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15099 (exit $ac_status); } &&
15100 { ac_try='test -s conftest.$ac_objext'
15101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15102 (eval $ac_try) 2>&5
15103 ac_status=$?
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); }; }; then
15106 ac_cv_type_long=yes
15107 else
15108 echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.$ac_ext >&5
15110
15111 ac_cv_type_long=no
15112 fi
15113 rm -f conftest.$ac_objext conftest.$ac_ext
15114 fi
15115 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15116 echo "${ECHO_T}$ac_cv_type_long" >&6
15117
15118 echo "$as_me:$LINENO: checking size of long" >&5
15119 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15120 if test "${ac_cv_sizeof_long+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15122 else
15123 if test "$ac_cv_type_long" = yes; then
15124 # The cast to unsigned long works around a bug in the HP C Compiler
15125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15127 # This bug is HP SR number 8606223364.
15128 if test "$cross_compiling" = yes; then
15129 # Depending upon the size, compute the lo and hi bounds.
15130 cat >conftest.$ac_ext <<_ACEOF
15131 #line $LINENO "configure"
15132 /* confdefs.h. */
15133 _ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137 $ac_includes_default
15138 int
15139 main ()
15140 {
15141 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15142 test_array [0] = 0
15143
15144 ;
15145 return 0;
15146 }
15147 _ACEOF
15148 rm -f conftest.$ac_objext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15150 (eval $ac_compile) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } &&
15154 { ac_try='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_lo=0 ac_mid=0
15161 while :; do
15162 cat >conftest.$ac_ext <<_ACEOF
15163 #line $LINENO "configure"
15164 /* confdefs.h. */
15165 _ACEOF
15166 cat confdefs.h >>conftest.$ac_ext
15167 cat >>conftest.$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 $ac_includes_default
15170 int
15171 main ()
15172 {
15173 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15174 test_array [0] = 0
15175
15176 ;
15177 return 0;
15178 }
15179 _ACEOF
15180 rm -f conftest.$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>&5
15183 ac_status=$?
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } &&
15186 { ac_try='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15189 ac_status=$?
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_hi=$ac_mid; break
15193 else
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15196
15197 ac_lo=`expr $ac_mid + 1`
15198 if test $ac_lo -le $ac_mid; then
15199 ac_lo= ac_hi=
15200 break
15201 fi
15202 ac_mid=`expr 2 '*' $ac_mid + 1`
15203 fi
15204 rm -f conftest.$ac_objext conftest.$ac_ext
15205 done
15206 else
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15209
15210 cat >conftest.$ac_ext <<_ACEOF
15211 #line $LINENO "configure"
15212 /* confdefs.h. */
15213 _ACEOF
15214 cat confdefs.h >>conftest.$ac_ext
15215 cat >>conftest.$ac_ext <<_ACEOF
15216 /* end confdefs.h. */
15217 $ac_includes_default
15218 int
15219 main ()
15220 {
15221 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15222 test_array [0] = 0
15223
15224 ;
15225 return 0;
15226 }
15227 _ACEOF
15228 rm -f conftest.$ac_objext
15229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15230 (eval $ac_compile) 2>&5
15231 ac_status=$?
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } &&
15234 { ac_try='test -s conftest.$ac_objext'
15235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15236 (eval $ac_try) 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); }; }; then
15240 ac_hi=-1 ac_mid=-1
15241 while :; do
15242 cat >conftest.$ac_ext <<_ACEOF
15243 #line $LINENO "configure"
15244 /* confdefs.h. */
15245 _ACEOF
15246 cat confdefs.h >>conftest.$ac_ext
15247 cat >>conftest.$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15249 $ac_includes_default
15250 int
15251 main ()
15252 {
15253 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15254 test_array [0] = 0
15255
15256 ;
15257 return 0;
15258 }
15259 _ACEOF
15260 rm -f conftest.$ac_objext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15262 (eval $ac_compile) 2>&5
15263 ac_status=$?
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try='test -s conftest.$ac_objext'
15267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15268 (eval $ac_try) 2>&5
15269 ac_status=$?
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); }; }; then
15272 ac_lo=$ac_mid; break
15273 else
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15276
15277 ac_hi=`expr '(' $ac_mid ')' - 1`
15278 if test $ac_mid -le $ac_hi; then
15279 ac_lo= ac_hi=
15280 break
15281 fi
15282 ac_mid=`expr 2 '*' $ac_mid`
15283 fi
15284 rm -f conftest.$ac_objext conftest.$ac_ext
15285 done
15286 else
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.$ac_ext >&5
15289
15290 ac_lo= ac_hi=
15291 fi
15292 rm -f conftest.$ac_objext conftest.$ac_ext
15293 fi
15294 rm -f conftest.$ac_objext conftest.$ac_ext
15295 # Binary search between lo and hi bounds.
15296 while test "x$ac_lo" != "x$ac_hi"; do
15297 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15298 cat >conftest.$ac_ext <<_ACEOF
15299 #line $LINENO "configure"
15300 /* confdefs.h. */
15301 _ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 $ac_includes_default
15306 int
15307 main ()
15308 {
15309 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15310 test_array [0] = 0
15311
15312 ;
15313 return 0;
15314 }
15315 _ACEOF
15316 rm -f conftest.$ac_objext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15318 (eval $ac_compile) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } &&
15322 { ac_try='test -s conftest.$ac_objext'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then
15328 ac_hi=$ac_mid
15329 else
15330 echo "$as_me: failed program was:" >&5
15331 sed 's/^/| /' conftest.$ac_ext >&5
15332
15333 ac_lo=`expr '(' $ac_mid ')' + 1`
15334 fi
15335 rm -f conftest.$ac_objext conftest.$ac_ext
15336 done
15337 case $ac_lo in
15338 ?*) ac_cv_sizeof_long=$ac_lo;;
15339 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15340 See \`config.log' for more details." >&5
15341 echo "$as_me: error: cannot compute sizeof (long), 77
15342 See \`config.log' for more details." >&2;}
15343 { (exit 1); exit 1; }; } ;;
15344 esac
15345 else
15346 if test "$cross_compiling" = yes; then
15347 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15348 See \`config.log' for more details." >&5
15349 echo "$as_me: error: cannot run test program while cross compiling
15350 See \`config.log' for more details." >&2;}
15351 { (exit 1); exit 1; }; }
15352 else
15353 cat >conftest.$ac_ext <<_ACEOF
15354 #line $LINENO "configure"
15355 /* confdefs.h. */
15356 _ACEOF
15357 cat confdefs.h >>conftest.$ac_ext
15358 cat >>conftest.$ac_ext <<_ACEOF
15359 /* end confdefs.h. */
15360 $ac_includes_default
15361 long longval () { return (long) (sizeof (long)); }
15362 unsigned long ulongval () { return (long) (sizeof (long)); }
15363 #include <stdio.h>
15364 #include <stdlib.h>
15365 int
15366 main ()
15367 {
15368
15369 FILE *f = fopen ("conftest.val", "w");
15370 if (! f)
15371 exit (1);
15372 if (((long) (sizeof (long))) < 0)
15373 {
15374 long i = longval ();
15375 if (i != ((long) (sizeof (long))))
15376 exit (1);
15377 fprintf (f, "%ld\n", i);
15378 }
15379 else
15380 {
15381 unsigned long i = ulongval ();
15382 if (i != ((long) (sizeof (long))))
15383 exit (1);
15384 fprintf (f, "%lu\n", i);
15385 }
15386 exit (ferror (f) || fclose (f) != 0);
15387
15388 ;
15389 return 0;
15390 }
15391 _ACEOF
15392 rm -f conftest$ac_exeext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15394 (eval $ac_link) 2>&5
15395 ac_status=$?
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15400 ac_status=$?
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; }; then
15403 ac_cv_sizeof_long=`cat conftest.val`
15404 else
15405 echo "$as_me: program exited with status $ac_status" >&5
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.$ac_ext >&5
15408
15409 ( exit $ac_status )
15410 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15411 See \`config.log' for more details." >&5
15412 echo "$as_me: error: cannot compute sizeof (long), 77
15413 See \`config.log' for more details." >&2;}
15414 { (exit 1); exit 1; }; }
15415 fi
15416 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15417 fi
15418 fi
15419 rm -f conftest.val
15420 else
15421 ac_cv_sizeof_long=0
15422 fi
15423 fi
15424 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15425 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15426 cat >>confdefs.h <<_ACEOF
15427 #define SIZEOF_LONG $ac_cv_sizeof_long
15428 _ACEOF
15429
15430
15431
15432 case "${host}" in
15433 arm-*-linux* )
15434 echo "$as_me:$LINENO: checking for long long" >&5
15435 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15436 if test "${ac_cv_type_long_long+set}" = set; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15438 else
15439 cat >conftest.$ac_ext <<_ACEOF
15440 #line $LINENO "configure"
15441 /* confdefs.h. */
15442 _ACEOF
15443 cat confdefs.h >>conftest.$ac_ext
15444 cat >>conftest.$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446 $ac_includes_default
15447 int
15448 main ()
15449 {
15450 if ((long long *) 0)
15451 return 0;
15452 if (sizeof (long long))
15453 return 0;
15454 ;
15455 return 0;
15456 }
15457 _ACEOF
15458 rm -f conftest.$ac_objext
15459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15460 (eval $ac_compile) 2>&5
15461 ac_status=$?
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } &&
15464 { ac_try='test -s conftest.$ac_objext'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15467 ac_status=$?
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; }; then
15470 ac_cv_type_long_long=yes
15471 else
15472 echo "$as_me: failed program was:" >&5
15473 sed 's/^/| /' conftest.$ac_ext >&5
15474
15475 ac_cv_type_long_long=no
15476 fi
15477 rm -f conftest.$ac_objext conftest.$ac_ext
15478 fi
15479 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15480 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15481
15482 echo "$as_me:$LINENO: checking size of long long" >&5
15483 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15484 if test "${ac_cv_sizeof_long_long+set}" = set; then
15485 echo $ECHO_N "(cached) $ECHO_C" >&6
15486 else
15487 if test "$ac_cv_type_long_long" = yes; then
15488 # The cast to unsigned long works around a bug in the HP C Compiler
15489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15491 # This bug is HP SR number 8606223364.
15492 if test "$cross_compiling" = yes; then
15493 # Depending upon the size, compute the lo and hi bounds.
15494 cat >conftest.$ac_ext <<_ACEOF
15495 #line $LINENO "configure"
15496 /* confdefs.h. */
15497 _ACEOF
15498 cat confdefs.h >>conftest.$ac_ext
15499 cat >>conftest.$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15501 $ac_includes_default
15502 int
15503 main ()
15504 {
15505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15506 test_array [0] = 0
15507
15508 ;
15509 return 0;
15510 }
15511 _ACEOF
15512 rm -f conftest.$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514 (eval $ac_compile) 2>&5
15515 ac_status=$?
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try='test -s conftest.$ac_objext'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15524 ac_lo=0 ac_mid=0
15525 while :; do
15526 cat >conftest.$ac_ext <<_ACEOF
15527 #line $LINENO "configure"
15528 /* confdefs.h. */
15529 _ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 $ac_includes_default
15534 int
15535 main ()
15536 {
15537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15538 test_array [0] = 0
15539
15540 ;
15541 return 0;
15542 }
15543 _ACEOF
15544 rm -f conftest.$ac_objext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>&5
15547 ac_status=$?
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15553 ac_status=$?
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_hi=$ac_mid; break
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15560
15561 ac_lo=`expr $ac_mid + 1`
15562 if test $ac_lo -le $ac_mid; then
15563 ac_lo= ac_hi=
15564 break
15565 fi
15566 ac_mid=`expr 2 '*' $ac_mid + 1`
15567 fi
15568 rm -f conftest.$ac_objext conftest.$ac_ext
15569 done
15570 else
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15573
15574 cat >conftest.$ac_ext <<_ACEOF
15575 #line $LINENO "configure"
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 $ac_includes_default
15582 int
15583 main ()
15584 {
15585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15586 test_array [0] = 0
15587
15588 ;
15589 return 0;
15590 }
15591 _ACEOF
15592 rm -f conftest.$ac_objext
15593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15594 (eval $ac_compile) 2>&5
15595 ac_status=$?
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); } &&
15598 { ac_try='test -s conftest.$ac_objext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15604 ac_hi=-1 ac_mid=-1
15605 while :; do
15606 cat >conftest.$ac_ext <<_ACEOF
15607 #line $LINENO "configure"
15608 /* confdefs.h. */
15609 _ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 $ac_includes_default
15614 int
15615 main ()
15616 {
15617 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15618 test_array [0] = 0
15619
15620 ;
15621 return 0;
15622 }
15623 _ACEOF
15624 rm -f conftest.$ac_objext
15625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15626 (eval $ac_compile) 2>&5
15627 ac_status=$?
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try='test -s conftest.$ac_objext'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; }; then
15636 ac_lo=$ac_mid; break
15637 else
15638 echo "$as_me: failed program was:" >&5
15639 sed 's/^/| /' conftest.$ac_ext >&5
15640
15641 ac_hi=`expr '(' $ac_mid ')' - 1`
15642 if test $ac_mid -le $ac_hi; then
15643 ac_lo= ac_hi=
15644 break
15645 fi
15646 ac_mid=`expr 2 '*' $ac_mid`
15647 fi
15648 rm -f conftest.$ac_objext conftest.$ac_ext
15649 done
15650 else
15651 echo "$as_me: failed program was:" >&5
15652 sed 's/^/| /' conftest.$ac_ext >&5
15653
15654 ac_lo= ac_hi=
15655 fi
15656 rm -f conftest.$ac_objext conftest.$ac_ext
15657 fi
15658 rm -f conftest.$ac_objext conftest.$ac_ext
15659 # Binary search between lo and hi bounds.
15660 while test "x$ac_lo" != "x$ac_hi"; do
15661 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15662 cat >conftest.$ac_ext <<_ACEOF
15663 #line $LINENO "configure"
15664 /* confdefs.h. */
15665 _ACEOF
15666 cat confdefs.h >>conftest.$ac_ext
15667 cat >>conftest.$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 $ac_includes_default
15670 int
15671 main ()
15672 {
15673 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15674 test_array [0] = 0
15675
15676 ;
15677 return 0;
15678 }
15679 _ACEOF
15680 rm -f conftest.$ac_objext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15682 (eval $ac_compile) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try='test -s conftest.$ac_objext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 ac_hi=$ac_mid
15693 else
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15696
15697 ac_lo=`expr '(' $ac_mid ')' + 1`
15698 fi
15699 rm -f conftest.$ac_objext conftest.$ac_ext
15700 done
15701 case $ac_lo in
15702 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15703 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15704 See \`config.log' for more details." >&5
15705 echo "$as_me: error: cannot compute sizeof (long long), 77
15706 See \`config.log' for more details." >&2;}
15707 { (exit 1); exit 1; }; } ;;
15708 esac
15709 else
15710 if test "$cross_compiling" = yes; then
15711 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15712 See \`config.log' for more details." >&5
15713 echo "$as_me: error: cannot run test program while cross compiling
15714 See \`config.log' for more details." >&2;}
15715 { (exit 1); exit 1; }; }
15716 else
15717 cat >conftest.$ac_ext <<_ACEOF
15718 #line $LINENO "configure"
15719 /* confdefs.h. */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15725 long longval () { return (long) (sizeof (long long)); }
15726 unsigned long ulongval () { return (long) (sizeof (long long)); }
15727 #include <stdio.h>
15728 #include <stdlib.h>
15729 int
15730 main ()
15731 {
15732
15733 FILE *f = fopen ("conftest.val", "w");
15734 if (! f)
15735 exit (1);
15736 if (((long) (sizeof (long long))) < 0)
15737 {
15738 long i = longval ();
15739 if (i != ((long) (sizeof (long long))))
15740 exit (1);
15741 fprintf (f, "%ld\n", i);
15742 }
15743 else
15744 {
15745 unsigned long i = ulongval ();
15746 if (i != ((long) (sizeof (long long))))
15747 exit (1);
15748 fprintf (f, "%lu\n", i);
15749 }
15750 exit (ferror (f) || fclose (f) != 0);
15751
15752 ;
15753 return 0;
15754 }
15755 _ACEOF
15756 rm -f conftest$ac_exeext
15757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15758 (eval $ac_link) 2>&5
15759 ac_status=$?
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15764 ac_status=$?
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 ac_cv_sizeof_long_long=`cat conftest.val`
15768 else
15769 echo "$as_me: program exited with status $ac_status" >&5
15770 echo "$as_me: failed program was:" >&5
15771 sed 's/^/| /' conftest.$ac_ext >&5
15772
15773 ( exit $ac_status )
15774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15775 See \`config.log' for more details." >&5
15776 echo "$as_me: error: cannot compute sizeof (long long), 77
15777 See \`config.log' for more details." >&2;}
15778 { (exit 1); exit 1; }; }
15779 fi
15780 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15781 fi
15782 fi
15783 rm -f conftest.val
15784 else
15785 ac_cv_sizeof_long_long=0
15786 fi
15787 fi
15788 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15789 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15790 cat >>confdefs.h <<_ACEOF
15791 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15792 _ACEOF
15793
15794
15795 ;;
15796 *-hp-hpux* )
15797 echo "$as_me:$LINENO: checking for long long" >&5
15798 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15799 if test "${ac_cv_type_long_long+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 else
15802 cat >conftest.$ac_ext <<_ACEOF
15803 #line $LINENO "configure"
15804 /* confdefs.h. */
15805 _ACEOF
15806 cat confdefs.h >>conftest.$ac_ext
15807 cat >>conftest.$ac_ext <<_ACEOF
15808 /* end confdefs.h. */
15809 $ac_includes_default
15810 int
15811 main ()
15812 {
15813 if ((long long *) 0)
15814 return 0;
15815 if (sizeof (long long))
15816 return 0;
15817 ;
15818 return 0;
15819 }
15820 _ACEOF
15821 rm -f conftest.$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823 (eval $ac_compile) 2>&5
15824 ac_status=$?
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); } &&
15827 { ac_try='test -s conftest.$ac_objext'
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_type_long_long=yes
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15837
15838 ac_cv_type_long_long=no
15839 fi
15840 rm -f conftest.$ac_objext conftest.$ac_ext
15841 fi
15842 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15843 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15844
15845 echo "$as_me:$LINENO: checking size of long long" >&5
15846 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15847 if test "${ac_cv_sizeof_long_long+set}" = set; then
15848 echo $ECHO_N "(cached) $ECHO_C" >&6
15849 else
15850 if test "$ac_cv_type_long_long" = yes; then
15851 # The cast to unsigned long works around a bug in the HP C Compiler
15852 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15853 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15854 # This bug is HP SR number 8606223364.
15855 if test "$cross_compiling" = yes; then
15856 # Depending upon the size, compute the lo and hi bounds.
15857 cat >conftest.$ac_ext <<_ACEOF
15858 #line $LINENO "configure"
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 $ac_includes_default
15865 int
15866 main ()
15867 {
15868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15869 test_array [0] = 0
15870
15871 ;
15872 return 0;
15873 }
15874 _ACEOF
15875 rm -f conftest.$ac_objext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15877 (eval $ac_compile) 2>&5
15878 ac_status=$?
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } &&
15881 { ac_try='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_lo=0 ac_mid=0
15888 while :; do
15889 cat >conftest.$ac_ext <<_ACEOF
15890 #line $LINENO "configure"
15891 /* confdefs.h. */
15892 _ACEOF
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 $ac_includes_default
15897 int
15898 main ()
15899 {
15900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15901 test_array [0] = 0
15902
15903 ;
15904 return 0;
15905 }
15906 _ACEOF
15907 rm -f conftest.$ac_objext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15909 (eval $ac_compile) 2>&5
15910 ac_status=$?
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try='test -s conftest.$ac_objext'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15916 ac_status=$?
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 ac_hi=$ac_mid; break
15920 else
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15923
15924 ac_lo=`expr $ac_mid + 1`
15925 if test $ac_lo -le $ac_mid; then
15926 ac_lo= ac_hi=
15927 break
15928 fi
15929 ac_mid=`expr 2 '*' $ac_mid + 1`
15930 fi
15931 rm -f conftest.$ac_objext conftest.$ac_ext
15932 done
15933 else
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15936
15937 cat >conftest.$ac_ext <<_ACEOF
15938 #line $LINENO "configure"
15939 /* confdefs.h. */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h. */
15944 $ac_includes_default
15945 int
15946 main ()
15947 {
15948 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15949 test_array [0] = 0
15950
15951 ;
15952 return 0;
15953 }
15954 _ACEOF
15955 rm -f conftest.$ac_objext
15956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15957 (eval $ac_compile) 2>&5
15958 ac_status=$?
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } &&
15961 { ac_try='test -s conftest.$ac_objext'
15962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15963 (eval $ac_try) 2>&5
15964 ac_status=$?
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); }; }; then
15967 ac_hi=-1 ac_mid=-1
15968 while :; do
15969 cat >conftest.$ac_ext <<_ACEOF
15970 #line $LINENO "configure"
15971 /* confdefs.h. */
15972 _ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976 $ac_includes_default
15977 int
15978 main ()
15979 {
15980 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15981 test_array [0] = 0
15982
15983 ;
15984 return 0;
15985 }
15986 _ACEOF
15987 rm -f conftest.$ac_objext
15988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989 (eval $ac_compile) 2>&5
15990 ac_status=$?
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } &&
15993 { ac_try='test -s conftest.$ac_objext'
15994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15995 (eval $ac_try) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); }; }; then
15999 ac_lo=$ac_mid; break
16000 else
16001 echo "$as_me: failed program was:" >&5
16002 sed 's/^/| /' conftest.$ac_ext >&5
16003
16004 ac_hi=`expr '(' $ac_mid ')' - 1`
16005 if test $ac_mid -le $ac_hi; then
16006 ac_lo= ac_hi=
16007 break
16008 fi
16009 ac_mid=`expr 2 '*' $ac_mid`
16010 fi
16011 rm -f conftest.$ac_objext conftest.$ac_ext
16012 done
16013 else
16014 echo "$as_me: failed program was:" >&5
16015 sed 's/^/| /' conftest.$ac_ext >&5
16016
16017 ac_lo= ac_hi=
16018 fi
16019 rm -f conftest.$ac_objext conftest.$ac_ext
16020 fi
16021 rm -f conftest.$ac_objext conftest.$ac_ext
16022 # Binary search between lo and hi bounds.
16023 while test "x$ac_lo" != "x$ac_hi"; do
16024 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16025 cat >conftest.$ac_ext <<_ACEOF
16026 #line $LINENO "configure"
16027 /* confdefs.h. */
16028 _ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 $ac_includes_default
16033 int
16034 main ()
16035 {
16036 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16037 test_array [0] = 0
16038
16039 ;
16040 return 0;
16041 }
16042 _ACEOF
16043 rm -f conftest.$ac_objext
16044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16045 (eval $ac_compile) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); } &&
16049 { ac_try='test -s conftest.$ac_objext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16055 ac_hi=$ac_mid
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16059
16060 ac_lo=`expr '(' $ac_mid ')' + 1`
16061 fi
16062 rm -f conftest.$ac_objext conftest.$ac_ext
16063 done
16064 case $ac_lo in
16065 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16066 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16067 See \`config.log' for more details." >&5
16068 echo "$as_me: error: cannot compute sizeof (long long), 77
16069 See \`config.log' for more details." >&2;}
16070 { (exit 1); exit 1; }; } ;;
16071 esac
16072 else
16073 if test "$cross_compiling" = yes; then
16074 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16075 See \`config.log' for more details." >&5
16076 echo "$as_me: error: cannot run test program while cross compiling
16077 See \`config.log' for more details." >&2;}
16078 { (exit 1); exit 1; }; }
16079 else
16080 cat >conftest.$ac_ext <<_ACEOF
16081 #line $LINENO "configure"
16082 /* confdefs.h. */
16083 _ACEOF
16084 cat confdefs.h >>conftest.$ac_ext
16085 cat >>conftest.$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16087 $ac_includes_default
16088 long longval () { return (long) (sizeof (long long)); }
16089 unsigned long ulongval () { return (long) (sizeof (long long)); }
16090 #include <stdio.h>
16091 #include <stdlib.h>
16092 int
16093 main ()
16094 {
16095
16096 FILE *f = fopen ("conftest.val", "w");
16097 if (! f)
16098 exit (1);
16099 if (((long) (sizeof (long long))) < 0)
16100 {
16101 long i = longval ();
16102 if (i != ((long) (sizeof (long long))))
16103 exit (1);
16104 fprintf (f, "%ld\n", i);
16105 }
16106 else
16107 {
16108 unsigned long i = ulongval ();
16109 if (i != ((long) (sizeof (long long))))
16110 exit (1);
16111 fprintf (f, "%lu\n", i);
16112 }
16113 exit (ferror (f) || fclose (f) != 0);
16114
16115 ;
16116 return 0;
16117 }
16118 _ACEOF
16119 rm -f conftest$ac_exeext
16120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16121 (eval $ac_link) 2>&5
16122 ac_status=$?
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16126 (eval $ac_try) 2>&5
16127 ac_status=$?
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); }; }; then
16130 ac_cv_sizeof_long_long=`cat conftest.val`
16131 else
16132 echo "$as_me: program exited with status $ac_status" >&5
16133 echo "$as_me: failed program was:" >&5
16134 sed 's/^/| /' conftest.$ac_ext >&5
16135
16136 ( exit $ac_status )
16137 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16138 See \`config.log' for more details." >&5
16139 echo "$as_me: error: cannot compute sizeof (long long), 77
16140 See \`config.log' for more details." >&2;}
16141 { (exit 1); exit 1; }; }
16142 fi
16143 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16144 fi
16145 fi
16146 rm -f conftest.val
16147 else
16148 ac_cv_sizeof_long_long=0
16149 fi
16150 fi
16151 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16152 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16153 cat >>confdefs.h <<_ACEOF
16154 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16155 _ACEOF
16156
16157
16158 if test "$ac_cv_sizeof_long_long" != "0"; then
16159 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16160 fi
16161 ;;
16162 * )
16163 echo "$as_me:$LINENO: checking for long long" >&5
16164 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16165 if test "${ac_cv_type_long_long+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16167 else
16168 cat >conftest.$ac_ext <<_ACEOF
16169 #line $LINENO "configure"
16170 /* confdefs.h. */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175 $ac_includes_default
16176 int
16177 main ()
16178 {
16179 if ((long long *) 0)
16180 return 0;
16181 if (sizeof (long long))
16182 return 0;
16183 ;
16184 return 0;
16185 }
16186 _ACEOF
16187 rm -f conftest.$ac_objext
16188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16189 (eval $ac_compile) 2>&5
16190 ac_status=$?
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } &&
16193 { ac_try='test -s conftest.$ac_objext'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16196 ac_status=$?
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; }; then
16199 ac_cv_type_long_long=yes
16200 else
16201 echo "$as_me: failed program was:" >&5
16202 sed 's/^/| /' conftest.$ac_ext >&5
16203
16204 ac_cv_type_long_long=no
16205 fi
16206 rm -f conftest.$ac_objext conftest.$ac_ext
16207 fi
16208 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16209 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16210
16211 echo "$as_me:$LINENO: checking size of long long" >&5
16212 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16213 if test "${ac_cv_sizeof_long_long+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216 if test "$ac_cv_type_long_long" = yes; then
16217 # The cast to unsigned long works around a bug in the HP C Compiler
16218 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16219 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16220 # This bug is HP SR number 8606223364.
16221 if test "$cross_compiling" = yes; then
16222 # Depending upon the size, compute the lo and hi bounds.
16223 cat >conftest.$ac_ext <<_ACEOF
16224 #line $LINENO "configure"
16225 /* confdefs.h. */
16226 _ACEOF
16227 cat confdefs.h >>conftest.$ac_ext
16228 cat >>conftest.$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16231 int
16232 main ()
16233 {
16234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16235 test_array [0] = 0
16236
16237 ;
16238 return 0;
16239 }
16240 _ACEOF
16241 rm -f conftest.$ac_objext
16242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16243 (eval $ac_compile) 2>&5
16244 ac_status=$?
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } &&
16247 { ac_try='test -s conftest.$ac_objext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 ac_lo=0 ac_mid=0
16254 while :; do
16255 cat >conftest.$ac_ext <<_ACEOF
16256 #line $LINENO "configure"
16257 /* confdefs.h. */
16258 _ACEOF
16259 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16263 int
16264 main ()
16265 {
16266 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16267 test_array [0] = 0
16268
16269 ;
16270 return 0;
16271 }
16272 _ACEOF
16273 rm -f conftest.$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>&5
16276 ac_status=$?
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } &&
16279 { ac_try='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16282 ac_status=$?
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16285 ac_hi=$ac_mid; break
16286 else
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 ac_lo=`expr $ac_mid + 1`
16291 if test $ac_lo -le $ac_mid; then
16292 ac_lo= ac_hi=
16293 break
16294 fi
16295 ac_mid=`expr 2 '*' $ac_mid + 1`
16296 fi
16297 rm -f conftest.$ac_objext conftest.$ac_ext
16298 done
16299 else
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16302
16303 cat >conftest.$ac_ext <<_ACEOF
16304 #line $LINENO "configure"
16305 /* confdefs.h. */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16310 $ac_includes_default
16311 int
16312 main ()
16313 {
16314 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16315 test_array [0] = 0
16316
16317 ;
16318 return 0;
16319 }
16320 _ACEOF
16321 rm -f conftest.$ac_objext
16322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16323 (eval $ac_compile) 2>&5
16324 ac_status=$?
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } &&
16327 { ac_try='test -s conftest.$ac_objext'
16328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16329 (eval $ac_try) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); }; }; then
16333 ac_hi=-1 ac_mid=-1
16334 while :; do
16335 cat >conftest.$ac_ext <<_ACEOF
16336 #line $LINENO "configure"
16337 /* confdefs.h. */
16338 _ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16342 $ac_includes_default
16343 int
16344 main ()
16345 {
16346 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16347 test_array [0] = 0
16348
16349 ;
16350 return 0;
16351 }
16352 _ACEOF
16353 rm -f conftest.$ac_objext
16354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16355 (eval $ac_compile) 2>&5
16356 ac_status=$?
16357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } &&
16359 { ac_try='test -s conftest.$ac_objext'
16360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16361 (eval $ac_try) 2>&5
16362 ac_status=$?
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); }; }; then
16365 ac_lo=$ac_mid; break
16366 else
16367 echo "$as_me: failed program was:" >&5
16368 sed 's/^/| /' conftest.$ac_ext >&5
16369
16370 ac_hi=`expr '(' $ac_mid ')' - 1`
16371 if test $ac_mid -le $ac_hi; then
16372 ac_lo= ac_hi=
16373 break
16374 fi
16375 ac_mid=`expr 2 '*' $ac_mid`
16376 fi
16377 rm -f conftest.$ac_objext conftest.$ac_ext
16378 done
16379 else
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16382
16383 ac_lo= ac_hi=
16384 fi
16385 rm -f conftest.$ac_objext conftest.$ac_ext
16386 fi
16387 rm -f conftest.$ac_objext conftest.$ac_ext
16388 # Binary search between lo and hi bounds.
16389 while test "x$ac_lo" != "x$ac_hi"; do
16390 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16391 cat >conftest.$ac_ext <<_ACEOF
16392 #line $LINENO "configure"
16393 /* confdefs.h. */
16394 _ACEOF
16395 cat confdefs.h >>conftest.$ac_ext
16396 cat >>conftest.$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16399 int
16400 main ()
16401 {
16402 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16403 test_array [0] = 0
16404
16405 ;
16406 return 0;
16407 }
16408 _ACEOF
16409 rm -f conftest.$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>&5
16412 ac_status=$?
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); } &&
16415 { ac_try='test -s conftest.$ac_objext'
16416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16417 (eval $ac_try) 2>&5
16418 ac_status=$?
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); }; }; then
16421 ac_hi=$ac_mid
16422 else
16423 echo "$as_me: failed program was:" >&5
16424 sed 's/^/| /' conftest.$ac_ext >&5
16425
16426 ac_lo=`expr '(' $ac_mid ')' + 1`
16427 fi
16428 rm -f conftest.$ac_objext conftest.$ac_ext
16429 done
16430 case $ac_lo in
16431 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16432 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16433 See \`config.log' for more details." >&5
16434 echo "$as_me: error: cannot compute sizeof (long long), 77
16435 See \`config.log' for more details." >&2;}
16436 { (exit 1); exit 1; }; } ;;
16437 esac
16438 else
16439 if test "$cross_compiling" = yes; then
16440 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16441 See \`config.log' for more details." >&5
16442 echo "$as_me: error: cannot run test program while cross compiling
16443 See \`config.log' for more details." >&2;}
16444 { (exit 1); exit 1; }; }
16445 else
16446 cat >conftest.$ac_ext <<_ACEOF
16447 #line $LINENO "configure"
16448 /* confdefs.h. */
16449 _ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 $ac_includes_default
16454 long longval () { return (long) (sizeof (long long)); }
16455 unsigned long ulongval () { return (long) (sizeof (long long)); }
16456 #include <stdio.h>
16457 #include <stdlib.h>
16458 int
16459 main ()
16460 {
16461
16462 FILE *f = fopen ("conftest.val", "w");
16463 if (! f)
16464 exit (1);
16465 if (((long) (sizeof (long long))) < 0)
16466 {
16467 long i = longval ();
16468 if (i != ((long) (sizeof (long long))))
16469 exit (1);
16470 fprintf (f, "%ld\n", i);
16471 }
16472 else
16473 {
16474 unsigned long i = ulongval ();
16475 if (i != ((long) (sizeof (long long))))
16476 exit (1);
16477 fprintf (f, "%lu\n", i);
16478 }
16479 exit (ferror (f) || fclose (f) != 0);
16480
16481 ;
16482 return 0;
16483 }
16484 _ACEOF
16485 rm -f conftest$ac_exeext
16486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16487 (eval $ac_link) 2>&5
16488 ac_status=$?
16489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16493 ac_status=$?
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; }; then
16496 ac_cv_sizeof_long_long=`cat conftest.val`
16497 else
16498 echo "$as_me: program exited with status $ac_status" >&5
16499 echo "$as_me: failed program was:" >&5
16500 sed 's/^/| /' conftest.$ac_ext >&5
16501
16502 ( exit $ac_status )
16503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16504 See \`config.log' for more details." >&5
16505 echo "$as_me: error: cannot compute sizeof (long long), 77
16506 See \`config.log' for more details." >&2;}
16507 { (exit 1); exit 1; }; }
16508 fi
16509 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16510 fi
16511 fi
16512 rm -f conftest.val
16513 else
16514 ac_cv_sizeof_long_long=0
16515 fi
16516 fi
16517 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16518 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16519 cat >>confdefs.h <<_ACEOF
16520 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16521 _ACEOF
16522
16523
16524 esac
16525
16526 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16527 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16528 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16529 echo $ECHO_N "(cached) $ECHO_C" >&6
16530 else
16531
16532 if test "$cross_compiling" = yes; then
16533
16534 case "${host}" in
16535 *-pc-msdosdjgpp )
16536 wx_cv_sizeof_wchar_t=0
16537 ;;
16538 * )
16539 wx_cv_sizeof_wchar_t=4
16540 ;;
16541 esac
16542
16543
16544 else
16545 cat >conftest.$ac_ext <<_ACEOF
16546 #line $LINENO "configure"
16547 /* confdefs.h. */
16548 _ACEOF
16549 cat confdefs.h >>conftest.$ac_ext
16550 cat >>conftest.$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16552
16553 /* DJGPP only has fake wchar_t: */
16554 #ifdef __DJGPP__
16555 # error "fake wchar_t"
16556 #endif
16557 #ifdef HAVE_WCHAR_H
16558 # ifdef __CYGWIN__
16559 # include <stddef.h>
16560 # endif
16561 # include <wchar.h>
16562 #endif
16563 #ifdef HAVE_STDLIB_H
16564 # include <stdlib.h>
16565 #endif
16566 #include <stdio.h>
16567 int main()
16568 {
16569 FILE *f=fopen("conftestval", "w");
16570 if (!f) exit(1);
16571 fprintf(f, "%i", sizeof(wchar_t));
16572 exit(0);
16573 }
16574
16575 _ACEOF
16576 rm -f conftest$ac_exeext
16577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16578 (eval $ac_link) 2>&5
16579 ac_status=$?
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16583 (eval $ac_try) 2>&5
16584 ac_status=$?
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); }; }; then
16587 wx_cv_sizeof_wchar_t=`cat conftestval`
16588 else
16589 echo "$as_me: program exited with status $ac_status" >&5
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16592
16593 ( exit $ac_status )
16594 wx_cv_sizeof_wchar_t=0
16595 fi
16596 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16597 fi
16598
16599 fi
16600 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16601 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16602
16603 cat >>confdefs.h <<_ACEOF
16604 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16605 _ACEOF
16606
16607
16608 # Check whether --enable-largefile or --disable-largefile was given.
16609 if test "${enable_largefile+set}" = set; then
16610 enableval="$enable_largefile"
16611
16612 fi;
16613 if test "$enable_largefile" != no; then
16614 wx_largefile=no
16615
16616 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16617 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16618 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16620 else
16621
16622 cat >conftest.$ac_ext <<_ACEOF
16623 #line $LINENO "configure"
16624 /* confdefs.h. */
16625 _ACEOF
16626 cat confdefs.h >>conftest.$ac_ext
16627 cat >>conftest.$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 #define _FILE_OFFSET_BITS 64
16630 #include <sys/types.h>
16631 int
16632 main ()
16633 {
16634 typedef struct {
16635 unsigned int field: sizeof(off_t) == 8;
16636 } wxlf;
16637
16638 ;
16639 return 0;
16640 }
16641 _ACEOF
16642 rm -f conftest.$ac_objext
16643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16644 (eval $ac_compile) 2>&5
16645 ac_status=$?
16646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16647 (exit $ac_status); } &&
16648 { ac_try='test -s conftest.$ac_objext'
16649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16650 (eval $ac_try) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); }; }; then
16654 ac_cv_sys_file_offset_bits=64
16655 else
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.$ac_ext >&5
16658
16659 ac_cv_sys_file_offset_bits=no
16660 fi
16661 rm -f conftest.$ac_objext conftest.$ac_ext
16662
16663
16664 fi
16665 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16666 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16667
16668 if test "$ac_cv_sys_file_offset_bits" != no; then
16669 wx_largefile=yes
16670 cat >>confdefs.h <<_ACEOF
16671 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16672 _ACEOF
16673
16674 fi
16675
16676 if test "x$wx_largefile" != "xyes"; then
16677
16678 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16679 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16680 if test "${ac_cv_sys_large_files+set}" = set; then
16681 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 else
16683
16684 cat >conftest.$ac_ext <<_ACEOF
16685 #line $LINENO "configure"
16686 /* confdefs.h. */
16687 _ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 #define _LARGE_FILES 1
16692 #include <sys/types.h>
16693 int
16694 main ()
16695 {
16696 typedef struct {
16697 unsigned int field: sizeof(off_t) == 8;
16698 } wxlf;
16699
16700 ;
16701 return 0;
16702 }
16703 _ACEOF
16704 rm -f conftest.$ac_objext
16705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16706 (eval $ac_compile) 2>&5
16707 ac_status=$?
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -s conftest.$ac_objext'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; }; then
16716 ac_cv_sys_large_files=1
16717 else
16718 echo "$as_me: failed program was:" >&5
16719 sed 's/^/| /' conftest.$ac_ext >&5
16720
16721 ac_cv_sys_large_files=no
16722 fi
16723 rm -f conftest.$ac_objext conftest.$ac_ext
16724
16725
16726 fi
16727 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16728 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16729
16730 if test "$ac_cv_sys_large_files" != no; then
16731 wx_largefile=yes
16732 cat >>confdefs.h <<_ACEOF
16733 #define _LARGE_FILES $ac_cv_sys_large_files
16734 _ACEOF
16735
16736 fi
16737
16738 fi
16739
16740 echo "$as_me:$LINENO: checking if large file support is available" >&5
16741 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16742 if test "x$wx_largefile" = "xyes"; then
16743 cat >>confdefs.h <<\_ACEOF
16744 #define HAVE_LARGEFILE_SUPPORT 1
16745 _ACEOF
16746
16747 fi
16748 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16749 echo "${ECHO_T}$wx_largefile" >&6
16750 fi
16751
16752
16753 if test "x$wx_largefile" = "xyes"; then
16754 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16755 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16756 else
16757 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16758 fi
16759 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16760 fi
16761
16762 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16763 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16764 if test "${ac_cv_c_bigendian+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767 ac_cv_c_bigendian=unknown
16768 # See if sys/param.h defines the BYTE_ORDER macro.
16769 cat >conftest.$ac_ext <<_ACEOF
16770 #line $LINENO "configure"
16771 /* confdefs.h. */
16772 _ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776 #include <sys/types.h>
16777 #include <sys/param.h>
16778 int
16779 main ()
16780 {
16781
16782 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16783 bogus endian macros
16784 #endif
16785 ;
16786 return 0;
16787 }
16788 _ACEOF
16789 rm -f conftest.$ac_objext
16790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16791 (eval $ac_compile) 2>&5
16792 ac_status=$?
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try='test -s conftest.$ac_objext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16798 ac_status=$?
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 # It does; now see whether it defined to BIG_ENDIAN or not.
16802 cat >conftest.$ac_ext <<_ACEOF
16803 #line $LINENO "configure"
16804 /* confdefs.h. */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 #include <sys/types.h>
16810 #include <sys/param.h>
16811 int
16812 main ()
16813 {
16814
16815 #if BYTE_ORDER != BIG_ENDIAN
16816 not big endian
16817 #endif
16818 ;
16819 return 0;
16820 }
16821 _ACEOF
16822 rm -f conftest.$ac_objext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16824 (eval $ac_compile) 2>&5
16825 ac_status=$?
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try='test -s conftest.$ac_objext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 ac_cv_c_bigendian=yes
16835 else
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.$ac_ext >&5
16838
16839 ac_cv_c_bigendian=no
16840 fi
16841 rm -f conftest.$ac_objext conftest.$ac_ext
16842 else
16843 echo "$as_me: failed program was:" >&5
16844 sed 's/^/| /' conftest.$ac_ext >&5
16845
16846 fi
16847 rm -f conftest.$ac_objext conftest.$ac_ext
16848 if test $ac_cv_c_bigendian = unknown; then
16849 if test "$cross_compiling" = yes; then
16850 ac_cv_c_bigendian=unknown
16851 else
16852 cat >conftest.$ac_ext <<_ACEOF
16853 #line $LINENO "configure"
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 main () {
16860 /* Are we little or big endian? From Harbison&Steele. */
16861 union
16862 {
16863 long l;
16864 char c[sizeof (long)];
16865 } u;
16866 u.l = 1;
16867 exit (u.c[sizeof (long) - 1] == 1);
16868 }
16869 _ACEOF
16870 rm -f conftest$ac_exeext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16872 (eval $ac_link) 2>&5
16873 ac_status=$?
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16877 (eval $ac_try) 2>&5
16878 ac_status=$?
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); }; }; then
16881 ac_cv_c_bigendian=no
16882 else
16883 echo "$as_me: program exited with status $ac_status" >&5
16884 echo "$as_me: failed program was:" >&5
16885 sed 's/^/| /' conftest.$ac_ext >&5
16886
16887 ( exit $ac_status )
16888 ac_cv_c_bigendian=yes
16889 fi
16890 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16891 fi
16892 fi
16893 fi
16894 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16895 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16896 if test $ac_cv_c_bigendian = unknown; then
16897 { 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
16898 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;}
16899 fi
16900 if test $ac_cv_c_bigendian = yes; then
16901 cat >>confdefs.h <<\_ACEOF
16902 #define WORDS_BIGENDIAN 1
16903 _ACEOF
16904
16905 fi
16906
16907
16908
16909 ac_ext=cc
16910 ac_cpp='$CXXCPP $CPPFLAGS'
16911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16914 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16915 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16916 if test -z "$CXXCPP"; then
16917 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16918 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 else
16920 # Double quotes because CXXCPP needs to be expanded
16921 for CXXCPP in "$CXX -E" "/lib/cpp"
16922 do
16923 ac_preproc_ok=false
16924 for ac_cxx_preproc_warn_flag in '' yes
16925 do
16926 # Use a header file that comes with gcc, so configuring glibc
16927 # with a fresh cross-compiler works.
16928 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16929 # <limits.h> exists even on freestanding compilers.
16930 # On the NeXT, cc -E runs the code through the compiler's parser,
16931 # not just through cpp. "Syntax error" is here to catch this case.
16932 cat >conftest.$ac_ext <<_ACEOF
16933 #line $LINENO "configure"
16934 /* confdefs.h. */
16935 _ACEOF
16936 cat confdefs.h >>conftest.$ac_ext
16937 cat >>conftest.$ac_ext <<_ACEOF
16938 /* end confdefs.h. */
16939 #ifdef __STDC__
16940 # include <limits.h>
16941 #else
16942 # include <assert.h>
16943 #endif
16944 Syntax error
16945 _ACEOF
16946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16948 ac_status=$?
16949 grep -v '^ *+' conftest.er1 >conftest.err
16950 rm -f conftest.er1
16951 cat conftest.err >&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } >/dev/null; then
16954 if test -s conftest.err; then
16955 ac_cpp_err=$ac_cxx_preproc_warn_flag
16956 else
16957 ac_cpp_err=
16958 fi
16959 else
16960 ac_cpp_err=yes
16961 fi
16962 if test -z "$ac_cpp_err"; then
16963 :
16964 else
16965 echo "$as_me: failed program was:" >&5
16966 sed 's/^/| /' conftest.$ac_ext >&5
16967
16968 # Broken: fails on valid input.
16969 continue
16970 fi
16971 rm -f conftest.err conftest.$ac_ext
16972
16973 # OK, works on sane cases. Now check whether non-existent headers
16974 # can be detected and how.
16975 cat >conftest.$ac_ext <<_ACEOF
16976 #line $LINENO "configure"
16977 /* confdefs.h. */
16978 _ACEOF
16979 cat confdefs.h >>conftest.$ac_ext
16980 cat >>conftest.$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 #include <ac_nonexistent.h>
16983 _ACEOF
16984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16986 ac_status=$?
16987 grep -v '^ *+' conftest.er1 >conftest.err
16988 rm -f conftest.er1
16989 cat conftest.err >&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } >/dev/null; then
16992 if test -s conftest.err; then
16993 ac_cpp_err=$ac_cxx_preproc_warn_flag
16994 else
16995 ac_cpp_err=
16996 fi
16997 else
16998 ac_cpp_err=yes
16999 fi
17000 if test -z "$ac_cpp_err"; then
17001 # Broken: success on invalid input.
17002 continue
17003 else
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.$ac_ext >&5
17006
17007 # Passes both tests.
17008 ac_preproc_ok=:
17009 break
17010 fi
17011 rm -f conftest.err conftest.$ac_ext
17012
17013 done
17014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17015 rm -f conftest.err conftest.$ac_ext
17016 if $ac_preproc_ok; then
17017 break
17018 fi
17019
17020 done
17021 ac_cv_prog_CXXCPP=$CXXCPP
17022
17023 fi
17024 CXXCPP=$ac_cv_prog_CXXCPP
17025 else
17026 ac_cv_prog_CXXCPP=$CXXCPP
17027 fi
17028 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17029 echo "${ECHO_T}$CXXCPP" >&6
17030 ac_preproc_ok=false
17031 for ac_cxx_preproc_warn_flag in '' yes
17032 do
17033 # Use a header file that comes with gcc, so configuring glibc
17034 # with a fresh cross-compiler works.
17035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17036 # <limits.h> exists even on freestanding compilers.
17037 # On the NeXT, cc -E runs the code through the compiler's parser,
17038 # not just through cpp. "Syntax error" is here to catch this case.
17039 cat >conftest.$ac_ext <<_ACEOF
17040 #line $LINENO "configure"
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 #ifdef __STDC__
17047 # include <limits.h>
17048 #else
17049 # include <assert.h>
17050 #endif
17051 Syntax error
17052 _ACEOF
17053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17055 ac_status=$?
17056 grep -v '^ *+' conftest.er1 >conftest.err
17057 rm -f conftest.er1
17058 cat conftest.err >&5
17059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17060 (exit $ac_status); } >/dev/null; then
17061 if test -s conftest.err; then
17062 ac_cpp_err=$ac_cxx_preproc_warn_flag
17063 else
17064 ac_cpp_err=
17065 fi
17066 else
17067 ac_cpp_err=yes
17068 fi
17069 if test -z "$ac_cpp_err"; then
17070 :
17071 else
17072 echo "$as_me: failed program was:" >&5
17073 sed 's/^/| /' conftest.$ac_ext >&5
17074
17075 # Broken: fails on valid input.
17076 continue
17077 fi
17078 rm -f conftest.err conftest.$ac_ext
17079
17080 # OK, works on sane cases. Now check whether non-existent headers
17081 # can be detected and how.
17082 cat >conftest.$ac_ext <<_ACEOF
17083 #line $LINENO "configure"
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <ac_nonexistent.h>
17090 _ACEOF
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17093 ac_status=$?
17094 grep -v '^ *+' conftest.er1 >conftest.err
17095 rm -f conftest.er1
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev/null; then
17099 if test -s conftest.err; then
17100 ac_cpp_err=$ac_cxx_preproc_warn_flag
17101 else
17102 ac_cpp_err=
17103 fi
17104 else
17105 ac_cpp_err=yes
17106 fi
17107 if test -z "$ac_cpp_err"; then
17108 # Broken: success on invalid input.
17109 continue
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 # Passes both tests.
17115 ac_preproc_ok=:
17116 break
17117 fi
17118 rm -f conftest.err conftest.$ac_ext
17119
17120 done
17121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17122 rm -f conftest.err conftest.$ac_ext
17123 if $ac_preproc_ok; then
17124 :
17125 else
17126 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17127 See \`config.log' for more details." >&5
17128 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17129 See \`config.log' for more details." >&2;}
17130 { (exit 1); exit 1; }; }
17131 fi
17132
17133 ac_ext=cc
17134 ac_cpp='$CXXCPP $CPPFLAGS'
17135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17138
17139
17140
17141 if test "$cross_compiling" = "yes"; then
17142 cat >>confdefs.h <<\_ACEOF
17143 #define wxUSE_IOSTREAMH 1
17144 _ACEOF
17145
17146 else
17147
17148
17149 ac_ext=cc
17150 ac_cpp='$CXXCPP $CPPFLAGS'
17151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17154
17155
17156
17157 for ac_header in iostream
17158 do
17159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17161 echo "$as_me:$LINENO: checking for $ac_header" >&5
17162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 fi
17166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17168 else
17169 # Is the header compilable?
17170 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17172 cat >conftest.$ac_ext <<_ACEOF
17173 #line $LINENO "configure"
17174 /* confdefs.h. */
17175 _ACEOF
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179 $ac_includes_default
17180 #include <$ac_header>
17181 _ACEOF
17182 rm -f conftest.$ac_objext
17183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17184 (eval $ac_compile) 2>&5
17185 ac_status=$?
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } &&
17188 { ac_try='test -s conftest.$ac_objext'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; }; then
17194 ac_header_compiler=yes
17195 else
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.$ac_ext >&5
17198
17199 ac_header_compiler=no
17200 fi
17201 rm -f conftest.$ac_objext conftest.$ac_ext
17202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17203 echo "${ECHO_T}$ac_header_compiler" >&6
17204
17205 # Is the header present?
17206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17208 cat >conftest.$ac_ext <<_ACEOF
17209 #line $LINENO "configure"
17210 /* confdefs.h. */
17211 _ACEOF
17212 cat confdefs.h >>conftest.$ac_ext
17213 cat >>conftest.$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215 #include <$ac_header>
17216 _ACEOF
17217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17219 ac_status=$?
17220 grep -v '^ *+' conftest.er1 >conftest.err
17221 rm -f conftest.er1
17222 cat conftest.err >&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); } >/dev/null; then
17225 if test -s conftest.err; then
17226 ac_cpp_err=$ac_cxx_preproc_warn_flag
17227 else
17228 ac_cpp_err=
17229 fi
17230 else
17231 ac_cpp_err=yes
17232 fi
17233 if test -z "$ac_cpp_err"; then
17234 ac_header_preproc=yes
17235 else
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17238
17239 ac_header_preproc=no
17240 fi
17241 rm -f conftest.err conftest.$ac_ext
17242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17243 echo "${ECHO_T}$ac_header_preproc" >&6
17244
17245 # So? What about this header?
17246 case $ac_header_compiler:$ac_header_preproc in
17247 yes:no )
17248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17252 (
17253 cat <<\_ASBOX
17254 ## ------------------------------------ ##
17255 ## Report this to bug-autoconf@gnu.org. ##
17256 ## ------------------------------------ ##
17257 _ASBOX
17258 ) |
17259 sed "s/^/$as_me: WARNING: /" >&2
17260 ;;
17261 no:yes )
17262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17268 (
17269 cat <<\_ASBOX
17270 ## ------------------------------------ ##
17271 ## Report this to bug-autoconf@gnu.org. ##
17272 ## ------------------------------------ ##
17273 _ASBOX
17274 ) |
17275 sed "s/^/$as_me: WARNING: /" >&2
17276 ;;
17277 esac
17278 echo "$as_me:$LINENO: checking for $ac_header" >&5
17279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 else
17283 eval "$as_ac_Header=$ac_header_preproc"
17284 fi
17285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17287
17288 fi
17289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17290 cat >>confdefs.h <<_ACEOF
17291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17292 _ACEOF
17293
17294 fi
17295
17296 done
17297
17298
17299 if test "$ac_cv_header_iostream" = "yes" ; then
17300 :
17301 else
17302 cat >>confdefs.h <<\_ACEOF
17303 #define wxUSE_IOSTREAMH 1
17304 _ACEOF
17305
17306 fi
17307
17308 ac_ext=c
17309 ac_cpp='$CPP $CPPFLAGS'
17310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17313
17314 fi
17315
17316
17317
17318 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17319 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17320 if test "${wx_cv_cpp_bool+set}" = set; then
17321 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 else
17323
17324
17325
17326 ac_ext=cc
17327 ac_cpp='$CXXCPP $CPPFLAGS'
17328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17331
17332
17333 cat >conftest.$ac_ext <<_ACEOF
17334 #line $LINENO "configure"
17335 /* confdefs.h. */
17336 _ACEOF
17337 cat confdefs.h >>conftest.$ac_ext
17338 cat >>conftest.$ac_ext <<_ACEOF
17339 /* end confdefs.h. */
17340
17341
17342 int
17343 main ()
17344 {
17345
17346 bool b = true;
17347
17348 return 0;
17349
17350 ;
17351 return 0;
17352 }
17353 _ACEOF
17354 rm -f conftest.$ac_objext
17355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); } &&
17360 { ac_try='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366
17367 wx_cv_cpp_bool=yes
17368
17369 else
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17372
17373
17374 wx_cv_cpp_bool=no
17375
17376
17377 fi
17378 rm -f conftest.$ac_objext conftest.$ac_ext
17379
17380 ac_ext=c
17381 ac_cpp='$CPP $CPPFLAGS'
17382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17385
17386
17387 fi
17388 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17389 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17390
17391 if test "$wx_cv_cpp_bool" = "yes"; then
17392 cat >>confdefs.h <<\_ACEOF
17393 #define HAVE_BOOL 1
17394 _ACEOF
17395
17396 fi
17397
17398
17399
17400 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17401 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17402 if test "${wx_cv_explicit+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17404 else
17405
17406
17407
17408 ac_ext=cc
17409 ac_cpp='$CXXCPP $CPPFLAGS'
17410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17413
17414
17415 cat >conftest.$ac_ext <<_ACEOF
17416 #line $LINENO "configure"
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422
17423 class Foo { public: explicit Foo(int) {} };
17424
17425 int
17426 main ()
17427 {
17428
17429 return 0;
17430
17431 ;
17432 return 0;
17433 }
17434 _ACEOF
17435 rm -f conftest.$ac_objext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17437 (eval $ac_compile) 2>&5
17438 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } &&
17441 { ac_try='test -s conftest.$ac_objext'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; }; then
17447
17448 cat >conftest.$ac_ext <<_ACEOF
17449 #line $LINENO "configure"
17450 /* confdefs.h. */
17451 _ACEOF
17452 cat confdefs.h >>conftest.$ac_ext
17453 cat >>conftest.$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17455
17456 class Foo { public: explicit Foo(int) {} };
17457 static void TakeFoo(const Foo& foo) { }
17458
17459 int
17460 main ()
17461 {
17462
17463 TakeFoo(17);
17464 return 0;
17465
17466 ;
17467 return 0;
17468 }
17469 _ACEOF
17470 rm -f conftest.$ac_objext
17471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17472 (eval $ac_compile) 2>&5
17473 ac_status=$?
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } &&
17476 { ac_try='test -s conftest.$ac_objext'
17477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17478 (eval $ac_try) 2>&5
17479 ac_status=$?
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); }; }; then
17482 wx_cv_explicit=no
17483 else
17484 echo "$as_me: failed program was:" >&5
17485 sed 's/^/| /' conftest.$ac_ext >&5
17486
17487 wx_cv_explicit=yes
17488
17489 fi
17490 rm -f conftest.$ac_objext conftest.$ac_ext
17491
17492 else
17493 echo "$as_me: failed program was:" >&5
17494 sed 's/^/| /' conftest.$ac_ext >&5
17495
17496 wx_cv_explicit=no
17497
17498 fi
17499 rm -f conftest.$ac_objext conftest.$ac_ext
17500
17501 ac_ext=c
17502 ac_cpp='$CPP $CPPFLAGS'
17503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17506
17507
17508 fi
17509 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17510 echo "${ECHO_T}$wx_cv_explicit" >&6
17511
17512 if test "$wx_cv_explicit" = "yes"; then
17513 cat >>confdefs.h <<\_ACEOF
17514 #define HAVE_EXPLICIT 1
17515 _ACEOF
17516
17517 fi
17518
17519
17520 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17521 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17522 if test "${ac_cv_cxx_const_cast+set}" = set; then
17523 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 else
17525
17526
17527 ac_ext=cc
17528 ac_cpp='$CXXCPP $CPPFLAGS'
17529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17532
17533 cat >conftest.$ac_ext <<_ACEOF
17534 #line $LINENO "configure"
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540
17541 int
17542 main ()
17543 {
17544 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17545 ;
17546 return 0;
17547 }
17548 _ACEOF
17549 rm -f conftest.$ac_objext
17550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17551 (eval $ac_compile) 2>&5
17552 ac_status=$?
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); } &&
17555 { ac_try='test -s conftest.$ac_objext'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17558 ac_status=$?
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; }; then
17561 ac_cv_cxx_const_cast=yes
17562 else
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.$ac_ext >&5
17565
17566 ac_cv_cxx_const_cast=no
17567 fi
17568 rm -f conftest.$ac_objext conftest.$ac_ext
17569 ac_ext=c
17570 ac_cpp='$CPP $CPPFLAGS'
17571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17574
17575
17576 fi
17577 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17578 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17579 if test "$ac_cv_cxx_const_cast" = yes; then
17580
17581 cat >>confdefs.h <<\_ACEOF
17582 #define HAVE_CONST_CAST
17583 _ACEOF
17584
17585 fi
17586
17587
17588
17589 SEARCH_INCLUDE="\
17590 /usr/local/include \
17591 \
17592 /usr/Motif-1.2/include \
17593 /usr/Motif-2.1/include \
17594 \
17595 /usr/include/Motif1.2 \
17596 /opt/xpm/include/X11 \
17597 /opt/GBxpm/include/ \
17598 /opt/GBxpm/X11/include/ \
17599 \
17600 /usr/Motif1.2/include \
17601 /usr/dt/include \
17602 /usr/openwin/include \
17603 \
17604 /usr/include/Xm \
17605 \
17606 /usr/X11R6/include \
17607 /usr/X11R6.4/include \
17608 /usr/X11R5/include \
17609 /usr/X11R4/include \
17610 \
17611 /usr/include/X11R6 \
17612 /usr/include/X11R5 \
17613 /usr/include/X11R4 \
17614 \
17615 /usr/local/X11R6/include \
17616 /usr/local/X11R5/include \
17617 /usr/local/X11R4/include \
17618 \
17619 /usr/local/include/X11R6 \
17620 /usr/local/include/X11R5 \
17621 /usr/local/include/X11R4 \
17622 \
17623 /usr/X11/include \
17624 /usr/include/X11 \
17625 /usr/local/X11/include \
17626 /usr/local/include/X11 \
17627 \
17628 /usr/X386/include \
17629 /usr/x386/include \
17630 /usr/XFree86/include/X11 \
17631 \
17632 X:/XFree86/include \
17633 X:/XFree86/include/X11 \
17634 \
17635 /usr/include/gtk \
17636 /usr/local/include/gtk \
17637 /usr/include/glib \
17638 /usr/local/include/glib \
17639 \
17640 /usr/include/qt \
17641 /usr/local/include/qt \
17642 \
17643 /usr/include/windows \
17644 /usr/include/wine \
17645 /usr/local/include/wine \
17646 \
17647 /usr/unsupported/include \
17648 /usr/athena/include \
17649 /usr/local/x11r5/include \
17650 /usr/lpp/Xamples/include \
17651 \
17652 /usr/openwin/share/include"
17653
17654 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17655
17656
17657 cat >confcache <<\_ACEOF
17658 # This file is a shell script that caches the results of configure
17659 # tests run on this system so they can be shared between configure
17660 # scripts and configure runs, see configure's option --config-cache.
17661 # It is not useful on other systems. If it contains results you don't
17662 # want to keep, you may remove or edit it.
17663 #
17664 # config.status only pays attention to the cache file if you give it
17665 # the --recheck option to rerun configure.
17666 #
17667 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17668 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17669 # following values.
17670
17671 _ACEOF
17672
17673 # The following way of writing the cache mishandles newlines in values,
17674 # but we know of no workaround that is simple, portable, and efficient.
17675 # So, don't put newlines in cache variables' values.
17676 # Ultrix sh set writes to stderr and can't be redirected directly,
17677 # and sets the high bit in the cache file unless we assign to the vars.
17678 {
17679 (set) 2>&1 |
17680 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17681 *ac_space=\ *)
17682 # `set' does not quote correctly, so add quotes (double-quote
17683 # substitution turns \\\\ into \\, and sed turns \\ into \).
17684 sed -n \
17685 "s/'/'\\\\''/g;
17686 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17687 ;;
17688 *)
17689 # `set' quotes correctly as required by POSIX, so do not add quotes.
17690 sed -n \
17691 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17692 ;;
17693 esac;
17694 } |
17695 sed '
17696 t clear
17697 : clear
17698 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17699 t end
17700 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17701 : end' >>confcache
17702 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17703 if test -w $cache_file; then
17704 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17705 cat confcache >$cache_file
17706 else
17707 echo "not updating unwritable cache $cache_file"
17708 fi
17709 fi
17710 rm -f confcache
17711
17712 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17713 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17714 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17715 if test "${wx_cv_lib_glibc21+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 else
17718
17719 cat >conftest.$ac_ext <<_ACEOF
17720 #line $LINENO "configure"
17721 /* confdefs.h. */
17722 _ACEOF
17723 cat confdefs.h >>conftest.$ac_ext
17724 cat >>conftest.$ac_ext <<_ACEOF
17725 /* end confdefs.h. */
17726 #include <features.h>
17727 int
17728 main ()
17729 {
17730
17731 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17732 #error not glibc2.1
17733 #endif
17734
17735 ;
17736 return 0;
17737 }
17738 _ACEOF
17739 rm -f conftest.$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>&5
17742 ac_status=$?
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try='test -s conftest.$ac_objext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17751
17752 wx_cv_lib_glibc21=yes
17753
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758
17759 wx_cv_lib_glibc21=no
17760
17761
17762 fi
17763 rm -f conftest.$ac_objext conftest.$ac_ext
17764
17765 fi
17766 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17767 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17768 if test "$wx_cv_lib_glibc21" = "yes"; then
17769 cat >>confdefs.h <<\_ACEOF
17770 #define wxHAVE_GLIBC2 1
17771 _ACEOF
17772
17773 fi
17774 fi
17775
17776 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17777 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17778 cat >>confdefs.h <<\_ACEOF
17779 #define _GNU_SOURCE 1
17780 _ACEOF
17781
17782 fi
17783 fi
17784
17785
17786
17787 REGEX_INCLUDE=
17788 if test "$wxUSE_REGEX" != "no"; then
17789 cat >>confdefs.h <<\_ACEOF
17790 #define wxUSE_REGEX 1
17791 _ACEOF
17792
17793
17794 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17795 if test "${ac_cv_header_regex_h+set}" = set; then
17796 echo "$as_me:$LINENO: checking for regex.h" >&5
17797 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17798 if test "${ac_cv_header_regex_h+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 fi
17801 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17802 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17803 else
17804 # Is the header compilable?
17805 echo "$as_me:$LINENO: checking regex.h usability" >&5
17806 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17807 cat >conftest.$ac_ext <<_ACEOF
17808 #line $LINENO "configure"
17809 /* confdefs.h. */
17810 _ACEOF
17811 cat confdefs.h >>conftest.$ac_ext
17812 cat >>conftest.$ac_ext <<_ACEOF
17813 /* end confdefs.h. */
17814 $ac_includes_default
17815 #include <regex.h>
17816 _ACEOF
17817 rm -f conftest.$ac_objext
17818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17819 (eval $ac_compile) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); } &&
17823 { ac_try='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_header_compiler=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 ac_header_compiler=no
17835 fi
17836 rm -f conftest.$ac_objext conftest.$ac_ext
17837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17838 echo "${ECHO_T}$ac_header_compiler" >&6
17839
17840 # Is the header present?
17841 echo "$as_me:$LINENO: checking regex.h presence" >&5
17842 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17843 cat >conftest.$ac_ext <<_ACEOF
17844 #line $LINENO "configure"
17845 /* confdefs.h. */
17846 _ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 #include <regex.h>
17851 _ACEOF
17852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } >/dev/null; then
17860 if test -s conftest.err; then
17861 ac_cpp_err=$ac_c_preproc_warn_flag
17862 else
17863 ac_cpp_err=
17864 fi
17865 else
17866 ac_cpp_err=yes
17867 fi
17868 if test -z "$ac_cpp_err"; then
17869 ac_header_preproc=yes
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17873
17874 ac_header_preproc=no
17875 fi
17876 rm -f conftest.err conftest.$ac_ext
17877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17878 echo "${ECHO_T}$ac_header_preproc" >&6
17879
17880 # So? What about this header?
17881 case $ac_header_compiler:$ac_header_preproc in
17882 yes:no )
17883 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17884 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17885 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17886 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17887 (
17888 cat <<\_ASBOX
17889 ## ------------------------------------ ##
17890 ## Report this to bug-autoconf@gnu.org. ##
17891 ## ------------------------------------ ##
17892 _ASBOX
17893 ) |
17894 sed "s/^/$as_me: WARNING: /" >&2
17895 ;;
17896 no:yes )
17897 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17898 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17899 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17900 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17901 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17902 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17903 (
17904 cat <<\_ASBOX
17905 ## ------------------------------------ ##
17906 ## Report this to bug-autoconf@gnu.org. ##
17907 ## ------------------------------------ ##
17908 _ASBOX
17909 ) |
17910 sed "s/^/$as_me: WARNING: /" >&2
17911 ;;
17912 esac
17913 echo "$as_me:$LINENO: checking for regex.h" >&5
17914 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17915 if test "${ac_cv_header_regex_h+set}" = set; then
17916 echo $ECHO_N "(cached) $ECHO_C" >&6
17917 else
17918 ac_cv_header_regex_h=$ac_header_preproc
17919 fi
17920 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17921 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17922
17923 fi
17924 if test $ac_cv_header_regex_h = yes; then
17925
17926 for ac_func in regcomp
17927 do
17928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17929 echo "$as_me:$LINENO: checking for $ac_func" >&5
17930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17931 if eval "test \"\${$as_ac_var+set}\" = set"; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 else
17934 cat >conftest.$ac_ext <<_ACEOF
17935 #line $LINENO "configure"
17936 /* confdefs.h. */
17937 _ACEOF
17938 cat confdefs.h >>conftest.$ac_ext
17939 cat >>conftest.$ac_ext <<_ACEOF
17940 /* end confdefs.h. */
17941 /* System header to define __stub macros and hopefully few prototypes,
17942 which can conflict with char $ac_func (); below.
17943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17944 <limits.h> exists even on freestanding compilers. */
17945 #ifdef __STDC__
17946 # include <limits.h>
17947 #else
17948 # include <assert.h>
17949 #endif
17950 /* Override any gcc2 internal prototype to avoid an error. */
17951 #ifdef __cplusplus
17952 extern "C"
17953 {
17954 #endif
17955 /* We use char because int might match the return type of a gcc2
17956 builtin and then its argument prototype would still apply. */
17957 char $ac_func ();
17958 /* The GNU C library defines this for functions which it implements
17959 to always fail with ENOSYS. Some functions are actually named
17960 something starting with __ and the normal name is an alias. */
17961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17962 choke me
17963 #else
17964 char (*f) () = $ac_func;
17965 #endif
17966 #ifdef __cplusplus
17967 }
17968 #endif
17969
17970 int
17971 main ()
17972 {
17973 return f != $ac_func;
17974 ;
17975 return 0;
17976 }
17977 _ACEOF
17978 rm -f conftest.$ac_objext conftest$ac_exeext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17980 (eval $ac_link) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); } &&
17984 { ac_try='test -s conftest$ac_exeext'
17985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17986 (eval $ac_try) 2>&5
17987 ac_status=$?
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); }; }; then
17990 eval "$as_ac_var=yes"
17991 else
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17994
17995 eval "$as_ac_var=no"
17996 fi
17997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17998 fi
17999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18001 if test `eval echo '${'$as_ac_var'}'` = yes; then
18002 cat >>confdefs.h <<_ACEOF
18003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18004 _ACEOF
18005
18006 fi
18007 done
18008
18009 fi
18010
18011
18012
18013 if test "x$ac_cv_func_regcomp" != "xyes"; then
18014 if test "$wxUSE_REGEX" = "sys" ; then
18015 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18016 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18017 { (exit 1); exit 1; }; }
18018 else
18019 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18020 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18021 wxUSE_REGEX=builtin
18022 fi
18023 else
18024 wxUSE_REGEX=sys
18025 fi
18026 fi
18027
18028 if test "$wxUSE_REGEX" = "builtin" ; then
18029 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18030 fi
18031 fi
18032
18033
18034 ZLIB_INCLUDE=
18035 ZLIB_LINK=
18036 if test "$wxUSE_ZLIB" != "no" ; then
18037 cat >>confdefs.h <<\_ACEOF
18038 #define wxUSE_ZLIB 1
18039 _ACEOF
18040
18041
18042 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18043 if test "$USE_DARWIN" = 1; then
18044 system_zlib_h_ok="yes"
18045 else
18046 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18047 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18048 if test "${ac_cv_header_zlib_h+set}" = set; then
18049 echo $ECHO_N "(cached) $ECHO_C" >&6
18050 else
18051 if test "$cross_compiling" = yes; then
18052 unset ac_cv_header_zlib_h
18053
18054 else
18055 cat >conftest.$ac_ext <<_ACEOF
18056 #line $LINENO "configure"
18057 /* confdefs.h. */
18058 _ACEOF
18059 cat confdefs.h >>conftest.$ac_ext
18060 cat >>conftest.$ac_ext <<_ACEOF
18061 /* end confdefs.h. */
18062
18063 #include <zlib.h>
18064 #include <stdio.h>
18065
18066 int main()
18067 {
18068 FILE *f=fopen("conftestval", "w");
18069 if (!f) exit(1);
18070 fprintf(f, "%s",
18071 ZLIB_VERSION[0] == '1' &&
18072 (ZLIB_VERSION[2] > '1' ||
18073 (ZLIB_VERSION[2] == '1' &&
18074 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18075 exit(0);
18076 }
18077
18078 _ACEOF
18079 rm -f conftest$ac_exeext
18080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18081 (eval $ac_link) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18087 ac_status=$?
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18090 ac_cv_header_zlib_h=`cat conftestval`
18091 else
18092 echo "$as_me: program exited with status $ac_status" >&5
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18095
18096 ( exit $ac_status )
18097 ac_cv_header_zlib_h=no
18098 fi
18099 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18100 fi
18101
18102 fi
18103 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18104 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18105 if test "${ac_cv_header_zlib_h+set}" = set; then
18106 echo "$as_me:$LINENO: checking for zlib.h" >&5
18107 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18108 if test "${ac_cv_header_zlib_h+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18110 fi
18111 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18112 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18113 else
18114 # Is the header compilable?
18115 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18116 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18117 cat >conftest.$ac_ext <<_ACEOF
18118 #line $LINENO "configure"
18119 /* confdefs.h. */
18120 _ACEOF
18121 cat confdefs.h >>conftest.$ac_ext
18122 cat >>conftest.$ac_ext <<_ACEOF
18123 /* end confdefs.h. */
18124 $ac_includes_default
18125 #include <zlib.h>
18126 _ACEOF
18127 rm -f conftest.$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>&5
18130 ac_status=$?
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 ac_header_compiler=yes
18140 else
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18143
18144 ac_header_compiler=no
18145 fi
18146 rm -f conftest.$ac_objext conftest.$ac_ext
18147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18148 echo "${ECHO_T}$ac_header_compiler" >&6
18149
18150 # Is the header present?
18151 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18152 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18153 cat >conftest.$ac_ext <<_ACEOF
18154 #line $LINENO "configure"
18155 /* confdefs.h. */
18156 _ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 #include <zlib.h>
18161 _ACEOF
18162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18164 ac_status=$?
18165 grep -v '^ *+' conftest.er1 >conftest.err
18166 rm -f conftest.er1
18167 cat conftest.err >&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } >/dev/null; then
18170 if test -s conftest.err; then
18171 ac_cpp_err=$ac_c_preproc_warn_flag
18172 else
18173 ac_cpp_err=
18174 fi
18175 else
18176 ac_cpp_err=yes
18177 fi
18178 if test -z "$ac_cpp_err"; then
18179 ac_header_preproc=yes
18180 else
18181 echo "$as_me: failed program was:" >&5
18182 sed 's/^/| /' conftest.$ac_ext >&5
18183
18184 ac_header_preproc=no
18185 fi
18186 rm -f conftest.err conftest.$ac_ext
18187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18188 echo "${ECHO_T}$ac_header_preproc" >&6
18189
18190 # So? What about this header?
18191 case $ac_header_compiler:$ac_header_preproc in
18192 yes:no )
18193 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18194 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18195 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18196 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18197 (
18198 cat <<\_ASBOX
18199 ## ------------------------------------ ##
18200 ## Report this to bug-autoconf@gnu.org. ##
18201 ## ------------------------------------ ##
18202 _ASBOX
18203 ) |
18204 sed "s/^/$as_me: WARNING: /" >&2
18205 ;;
18206 no:yes )
18207 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18208 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18209 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18210 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18211 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18212 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18213 (
18214 cat <<\_ASBOX
18215 ## ------------------------------------ ##
18216 ## Report this to bug-autoconf@gnu.org. ##
18217 ## ------------------------------------ ##
18218 _ASBOX
18219 ) |
18220 sed "s/^/$as_me: WARNING: /" >&2
18221 ;;
18222 esac
18223 echo "$as_me:$LINENO: checking for zlib.h" >&5
18224 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18225 if test "${ac_cv_header_zlib_h+set}" = set; then
18226 echo $ECHO_N "(cached) $ECHO_C" >&6
18227 else
18228 ac_cv_header_zlib_h=$ac_header_preproc
18229 fi
18230 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18231 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18232
18233 fi
18234
18235
18236
18237 system_zlib_h_ok=$ac_cv_header_zlib_h
18238 fi
18239
18240 if test "$system_zlib_h_ok" = "yes"; then
18241 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18242 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18243 if test "${ac_cv_lib_z_deflate+set}" = set; then
18244 echo $ECHO_N "(cached) $ECHO_C" >&6
18245 else
18246 ac_check_lib_save_LIBS=$LIBS
18247 LIBS="-lz $LIBS"
18248 cat >conftest.$ac_ext <<_ACEOF
18249 #line $LINENO "configure"
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255
18256 /* Override any gcc2 internal prototype to avoid an error. */
18257 #ifdef __cplusplus
18258 extern "C"
18259 #endif
18260 /* We use char because int might match the return type of a gcc2
18261 builtin and then its argument prototype would still apply. */
18262 char deflate ();
18263 int
18264 main ()
18265 {
18266 deflate ();
18267 ;
18268 return 0;
18269 }
18270 _ACEOF
18271 rm -f conftest.$ac_objext conftest$ac_exeext
18272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18273 (eval $ac_link) 2>&5
18274 ac_status=$?
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try='test -s conftest$ac_exeext'
18278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18279 (eval $ac_try) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); }; }; then
18283 ac_cv_lib_z_deflate=yes
18284 else
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18287
18288 ac_cv_lib_z_deflate=no
18289 fi
18290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18291 LIBS=$ac_check_lib_save_LIBS
18292 fi
18293 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18294 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18295 if test $ac_cv_lib_z_deflate = yes; then
18296 ZLIB_LINK=" -lz"
18297 fi
18298
18299 fi
18300
18301 if test "x$ZLIB_LINK" = "x" ; then
18302 if test "$wxUSE_ZLIB" = "sys" ; then
18303 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18304 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18305 { (exit 1); exit 1; }; }
18306 else
18307 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18308 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18309 wxUSE_ZLIB=builtin
18310 fi
18311 else
18312 wxUSE_ZLIB=sys
18313 fi
18314 fi
18315
18316 if test "$wxUSE_ZLIB" = "builtin" ; then
18317 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18318 fi
18319 fi
18320
18321
18322 PNG_INCLUDE=
18323 PNG_LINK=
18324 if test "$wxUSE_LIBPNG" != "no" ; then
18325 cat >>confdefs.h <<\_ACEOF
18326 #define wxUSE_LIBPNG 1
18327 _ACEOF
18328
18329
18330 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18331 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18332 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18333 wxUSE_LIBPNG=sys
18334 fi
18335
18336 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18337 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18338 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18339 wxUSE_LIBPNG=builtin
18340 fi
18341
18342 if test "$wxUSE_MGL" != 1 ; then
18343 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18344 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18345 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18346 if test "${ac_cv_header_png_h+set}" = set; then
18347 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 else
18349 if test "$cross_compiling" = yes; then
18350 unset ac_cv_header_png_h
18351
18352 else
18353 cat >conftest.$ac_ext <<_ACEOF
18354 #line $LINENO "configure"
18355 /* confdefs.h. */
18356 _ACEOF
18357 cat confdefs.h >>conftest.$ac_ext
18358 cat >>conftest.$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360
18361 #include <png.h>
18362 #include <stdio.h>
18363
18364 int main()
18365 {
18366 FILE *f=fopen("conftestval", "w");
18367 if (!f) exit(1);
18368 fprintf(f, "%s",
18369 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18370 exit(0);
18371 }
18372
18373 _ACEOF
18374 rm -f conftest$ac_exeext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18376 (eval $ac_link) 2>&5
18377 ac_status=$?
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18382 ac_status=$?
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; }; then
18385 ac_cv_header_png_h=`cat conftestval`
18386 else
18387 echo "$as_me: program exited with status $ac_status" >&5
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.$ac_ext >&5
18390
18391 ( exit $ac_status )
18392 ac_cv_header_png_h=no
18393 fi
18394 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18395 fi
18396
18397 fi
18398 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18399 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18400 if test "${ac_cv_header_png_h+set}" = set; then
18401 echo "$as_me:$LINENO: checking for png.h" >&5
18402 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18403 if test "${ac_cv_header_png_h+set}" = set; then
18404 echo $ECHO_N "(cached) $ECHO_C" >&6
18405 fi
18406 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18407 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18408 else
18409 # Is the header compilable?
18410 echo "$as_me:$LINENO: checking png.h usability" >&5
18411 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18412 cat >conftest.$ac_ext <<_ACEOF
18413 #line $LINENO "configure"
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 #include <png.h>
18421 _ACEOF
18422 rm -f conftest.$ac_objext
18423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18424 (eval $ac_compile) 2>&5
18425 ac_status=$?
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); } &&
18428 { ac_try='test -s conftest.$ac_objext'
18429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430 (eval $ac_try) 2>&5
18431 ac_status=$?
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); }; }; then
18434 ac_header_compiler=yes
18435 else
18436 echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.$ac_ext >&5
18438
18439 ac_header_compiler=no
18440 fi
18441 rm -f conftest.$ac_objext conftest.$ac_ext
18442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18443 echo "${ECHO_T}$ac_header_compiler" >&6
18444
18445 # Is the header present?
18446 echo "$as_me:$LINENO: checking png.h presence" >&5
18447 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18448 cat >conftest.$ac_ext <<_ACEOF
18449 #line $LINENO "configure"
18450 /* confdefs.h. */
18451 _ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 #include <png.h>
18456 _ACEOF
18457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18459 ac_status=$?
18460 grep -v '^ *+' conftest.er1 >conftest.err
18461 rm -f conftest.er1
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } >/dev/null; then
18465 if test -s conftest.err; then
18466 ac_cpp_err=$ac_c_preproc_warn_flag
18467 else
18468 ac_cpp_err=
18469 fi
18470 else
18471 ac_cpp_err=yes
18472 fi
18473 if test -z "$ac_cpp_err"; then
18474 ac_header_preproc=yes
18475 else
18476 echo "$as_me: failed program was:" >&5
18477 sed 's/^/| /' conftest.$ac_ext >&5
18478
18479 ac_header_preproc=no
18480 fi
18481 rm -f conftest.err conftest.$ac_ext
18482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18483 echo "${ECHO_T}$ac_header_preproc" >&6
18484
18485 # So? What about this header?
18486 case $ac_header_compiler:$ac_header_preproc in
18487 yes:no )
18488 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18489 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18490 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18491 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18492 (
18493 cat <<\_ASBOX
18494 ## ------------------------------------ ##
18495 ## Report this to bug-autoconf@gnu.org. ##
18496 ## ------------------------------------ ##
18497 _ASBOX
18498 ) |
18499 sed "s/^/$as_me: WARNING: /" >&2
18500 ;;
18501 no:yes )
18502 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18503 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18504 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18505 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18506 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18507 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18508 (
18509 cat <<\_ASBOX
18510 ## ------------------------------------ ##
18511 ## Report this to bug-autoconf@gnu.org. ##
18512 ## ------------------------------------ ##
18513 _ASBOX
18514 ) |
18515 sed "s/^/$as_me: WARNING: /" >&2
18516 ;;
18517 esac
18518 echo "$as_me:$LINENO: checking for png.h" >&5
18519 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18520 if test "${ac_cv_header_png_h+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 else
18523 ac_cv_header_png_h=$ac_header_preproc
18524 fi
18525 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18526 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18527
18528 fi
18529
18530
18531
18532 if test "$ac_cv_header_png_h" = "yes"; then
18533 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18534 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18535 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 else
18538 ac_check_lib_save_LIBS=$LIBS
18539 LIBS="-lpng -lz -lm $LIBS"
18540 cat >conftest.$ac_ext <<_ACEOF
18541 #line $LINENO "configure"
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547
18548 /* Override any gcc2 internal prototype to avoid an error. */
18549 #ifdef __cplusplus
18550 extern "C"
18551 #endif
18552 /* We use char because int might match the return type of a gcc2
18553 builtin and then its argument prototype would still apply. */
18554 char png_check_sig ();
18555 int
18556 main ()
18557 {
18558 png_check_sig ();
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 rm -f conftest.$ac_objext conftest$ac_exeext
18564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18565 (eval $ac_link) 2>&5
18566 ac_status=$?
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); } &&
18569 { ac_try='test -s conftest$ac_exeext'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18572 ac_status=$?
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; }; then
18575 ac_cv_lib_png_png_check_sig=yes
18576 else
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18579
18580 ac_cv_lib_png_png_check_sig=no
18581 fi
18582 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18583 LIBS=$ac_check_lib_save_LIBS
18584 fi
18585 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18586 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18587 if test $ac_cv_lib_png_png_check_sig = yes; then
18588 PNG_LINK=" -lpng"
18589 fi
18590
18591 fi
18592
18593 if test "x$PNG_LINK" = "x" ; then
18594 if test "$wxUSE_LIBPNG" = "sys" ; then
18595 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18596 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18597 { (exit 1); exit 1; }; }
18598 else
18599 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18600 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18601 wxUSE_LIBPNG=builtin
18602 fi
18603 else
18604 wxUSE_LIBPNG=sys
18605 fi
18606 fi
18607 fi
18608
18609 if test "$wxUSE_LIBPNG" = "builtin" ; then
18610 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18611 fi
18612
18613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18614 fi
18615
18616
18617 JPEG_INCLUDE=
18618 JPEG_LINK=
18619 if test "$wxUSE_LIBJPEG" != "no" ; then
18620 cat >>confdefs.h <<\_ACEOF
18621 #define wxUSE_LIBJPEG 1
18622 _ACEOF
18623
18624
18625 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18626 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18627 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18628 wxUSE_LIBJPEG=sys
18629 fi
18630
18631 if test "$wxUSE_MGL" != 1 ; then
18632 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18633 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18634 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18635 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 else
18638 cat >conftest.$ac_ext <<_ACEOF
18639 #line $LINENO "configure"
18640 /* confdefs.h. */
18641 _ACEOF
18642 cat confdefs.h >>conftest.$ac_ext
18643 cat >>conftest.$ac_ext <<_ACEOF
18644 /* end confdefs.h. */
18645
18646 #undef HAVE_STDLIB_H
18647 #include <stdio.h>
18648 #include <jpeglib.h>
18649
18650 int
18651 main ()
18652 {
18653
18654
18655 ;
18656 return 0;
18657 }
18658 _ACEOF
18659 rm -f conftest.$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>&5
18662 ac_status=$?
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try='test -s conftest.$ac_objext'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; }; then
18671 ac_cv_header_jpeglib_h=yes
18672 else
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.$ac_ext >&5
18675
18676 ac_cv_header_jpeglib_h=no
18677
18678 fi
18679 rm -f conftest.$ac_objext conftest.$ac_ext
18680
18681 fi
18682
18683 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18684 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18685
18686 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18687 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18688 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18689 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18691 else
18692 ac_check_lib_save_LIBS=$LIBS
18693 LIBS="-ljpeg $LIBS"
18694 cat >conftest.$ac_ext <<_ACEOF
18695 #line $LINENO "configure"
18696 /* confdefs.h. */
18697 _ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701
18702 /* Override any gcc2 internal prototype to avoid an error. */
18703 #ifdef __cplusplus
18704 extern "C"
18705 #endif
18706 /* We use char because int might match the return type of a gcc2
18707 builtin and then its argument prototype would still apply. */
18708 char jpeg_read_header ();
18709 int
18710 main ()
18711 {
18712 jpeg_read_header ();
18713 ;
18714 return 0;
18715 }
18716 _ACEOF
18717 rm -f conftest.$ac_objext conftest$ac_exeext
18718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18719 (eval $ac_link) 2>&5
18720 ac_status=$?
18721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18722 (exit $ac_status); } &&
18723 { ac_try='test -s conftest$ac_exeext'
18724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 (eval $ac_try) 2>&5
18726 ac_status=$?
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_cv_lib_jpeg_jpeg_read_header=yes
18730 else
18731 echo "$as_me: failed program was:" >&5
18732 sed 's/^/| /' conftest.$ac_ext >&5
18733
18734 ac_cv_lib_jpeg_jpeg_read_header=no
18735 fi
18736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18737 LIBS=$ac_check_lib_save_LIBS
18738 fi
18739 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18740 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18741 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18742 JPEG_LINK=" -ljpeg"
18743 fi
18744
18745 fi
18746
18747 if test "x$JPEG_LINK" = "x" ; then
18748 if test "$wxUSE_LIBJPEG" = "sys" ; then
18749 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18750 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18751 { (exit 1); exit 1; }; }
18752 else
18753 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18754 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18755 wxUSE_LIBJPEG=builtin
18756 fi
18757 else
18758 wxUSE_LIBJPEG=sys
18759 fi
18760 fi
18761 fi
18762
18763 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18764 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18765 fi
18766 fi
18767
18768
18769 TIFF_INCLUDE=
18770 TIFF_LINK=
18771 TIFF_PREREQ_LINKS=-lm
18772 if test "$wxUSE_LIBTIFF" != "no" ; then
18773 cat >>confdefs.h <<\_ACEOF
18774 #define wxUSE_LIBTIFF 1
18775 _ACEOF
18776
18777
18778 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18779 if test "$wxUSE_LIBJPEG" = "sys"; then
18780 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18781 fi
18782 if test "$wxUSE_ZLIB" = "sys"; then
18783 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18784 fi
18785 if test "${ac_cv_header_tiffio_h+set}" = set; then
18786 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18787 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18788 if test "${ac_cv_header_tiffio_h+set}" = set; then
18789 echo $ECHO_N "(cached) $ECHO_C" >&6
18790 fi
18791 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18792 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18793 else
18794 # Is the header compilable?
18795 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18796 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18797 cat >conftest.$ac_ext <<_ACEOF
18798 #line $LINENO "configure"
18799 /* confdefs.h. */
18800 _ACEOF
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 $ac_includes_default
18805 #include <tiffio.h>
18806 _ACEOF
18807 rm -f conftest.$ac_objext
18808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18809 (eval $ac_compile) 2>&5
18810 ac_status=$?
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } &&
18813 { ac_try='test -s conftest.$ac_objext'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18816 ac_status=$?
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; }; then
18819 ac_header_compiler=yes
18820 else
18821 echo "$as_me: failed program was:" >&5
18822 sed 's/^/| /' conftest.$ac_ext >&5
18823
18824 ac_header_compiler=no
18825 fi
18826 rm -f conftest.$ac_objext conftest.$ac_ext
18827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18828 echo "${ECHO_T}$ac_header_compiler" >&6
18829
18830 # Is the header present?
18831 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18832 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18833 cat >conftest.$ac_ext <<_ACEOF
18834 #line $LINENO "configure"
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 #include <tiffio.h>
18841 _ACEOF
18842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } >/dev/null; then
18850 if test -s conftest.err; then
18851 ac_cpp_err=$ac_c_preproc_warn_flag
18852 else
18853 ac_cpp_err=
18854 fi
18855 else
18856 ac_cpp_err=yes
18857 fi
18858 if test -z "$ac_cpp_err"; then
18859 ac_header_preproc=yes
18860 else
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.$ac_ext >&5
18863
18864 ac_header_preproc=no
18865 fi
18866 rm -f conftest.err conftest.$ac_ext
18867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18868 echo "${ECHO_T}$ac_header_preproc" >&6
18869
18870 # So? What about this header?
18871 case $ac_header_compiler:$ac_header_preproc in
18872 yes:no )
18873 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18874 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18875 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18876 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18877 (
18878 cat <<\_ASBOX
18879 ## ------------------------------------ ##
18880 ## Report this to bug-autoconf@gnu.org. ##
18881 ## ------------------------------------ ##
18882 _ASBOX
18883 ) |
18884 sed "s/^/$as_me: WARNING: /" >&2
18885 ;;
18886 no:yes )
18887 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18888 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18889 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18890 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18891 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18892 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18893 (
18894 cat <<\_ASBOX
18895 ## ------------------------------------ ##
18896 ## Report this to bug-autoconf@gnu.org. ##
18897 ## ------------------------------------ ##
18898 _ASBOX
18899 ) |
18900 sed "s/^/$as_me: WARNING: /" >&2
18901 ;;
18902 esac
18903 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18904 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18905 if test "${ac_cv_header_tiffio_h+set}" = set; then
18906 echo $ECHO_N "(cached) $ECHO_C" >&6
18907 else
18908 ac_cv_header_tiffio_h=$ac_header_preproc
18909 fi
18910 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18911 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18912
18913 fi
18914 if test $ac_cv_header_tiffio_h = yes; then
18915 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18916 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18917 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18918 echo $ECHO_N "(cached) $ECHO_C" >&6
18919 else
18920 ac_check_lib_save_LIBS=$LIBS
18921 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18922 cat >conftest.$ac_ext <<_ACEOF
18923 #line $LINENO "configure"
18924 /* confdefs.h. */
18925 _ACEOF
18926 cat confdefs.h >>conftest.$ac_ext
18927 cat >>conftest.$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18929
18930 /* Override any gcc2 internal prototype to avoid an error. */
18931 #ifdef __cplusplus
18932 extern "C"
18933 #endif
18934 /* We use char because int might match the return type of a gcc2
18935 builtin and then its argument prototype would still apply. */
18936 char TIFFError ();
18937 int
18938 main ()
18939 {
18940 TIFFError ();
18941 ;
18942 return 0;
18943 }
18944 _ACEOF
18945 rm -f conftest.$ac_objext conftest$ac_exeext
18946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18947 (eval $ac_link) 2>&5
18948 ac_status=$?
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try='test -s conftest$ac_exeext'
18952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18953 (eval $ac_try) 2>&5
18954 ac_status=$?
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); }; }; then
18957 ac_cv_lib_tiff_TIFFError=yes
18958 else
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.$ac_ext >&5
18961
18962 ac_cv_lib_tiff_TIFFError=no
18963 fi
18964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18965 LIBS=$ac_check_lib_save_LIBS
18966 fi
18967 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18968 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18969 if test $ac_cv_lib_tiff_TIFFError = yes; then
18970 TIFF_LINK=" -ltiff"
18971 fi
18972
18973
18974 fi
18975
18976
18977
18978 if test "x$TIFF_LINK" = "x" ; then
18979 if test "$wxUSE_LIBTIFF" = "sys" ; then
18980 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
18981 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
18982 { (exit 1); exit 1; }; }
18983 else
18984 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
18985 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
18986 wxUSE_LIBTIFF=builtin
18987 fi
18988 else
18989 wxUSE_LIBTIFF=sys
18990 fi
18991 fi
18992
18993 if test "$wxUSE_LIBTIFF" = "builtin" ; then
18994 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
18995 fi
18996 fi
18997
18998
18999 AFMINSTALL=
19000 WIN32INSTALL=
19001
19002 TOOLKIT=
19003 TOOLKIT_INCLUDE=
19004 WIDGET_SET=
19005
19006 if test "$USE_WIN32" = 1 ; then
19007
19008 for ac_header in w32api.h
19009 do
19010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19012 echo "$as_me:$LINENO: checking for $ac_header" >&5
19013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19015 echo $ECHO_N "(cached) $ECHO_C" >&6
19016 fi
19017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19019 else
19020 # Is the header compilable?
19021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19023 cat >conftest.$ac_ext <<_ACEOF
19024 #line $LINENO "configure"
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 $ac_includes_default
19031 #include <$ac_header>
19032 _ACEOF
19033 rm -f conftest.$ac_objext
19034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19035 (eval $ac_compile) 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_header_compiler=yes
19046 else
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.$ac_ext >&5
19049
19050 ac_header_compiler=no
19051 fi
19052 rm -f conftest.$ac_objext conftest.$ac_ext
19053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19054 echo "${ECHO_T}$ac_header_compiler" >&6
19055
19056 # Is the header present?
19057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19059 cat >conftest.$ac_ext <<_ACEOF
19060 #line $LINENO "configure"
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 #include <$ac_header>
19067 _ACEOF
19068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19069 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19070 ac_status=$?
19071 grep -v '^ *+' conftest.er1 >conftest.err
19072 rm -f conftest.er1
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19075 (exit $ac_status); } >/dev/null; then
19076 if test -s conftest.err; then
19077 ac_cpp_err=$ac_c_preproc_warn_flag
19078 else
19079 ac_cpp_err=
19080 fi
19081 else
19082 ac_cpp_err=yes
19083 fi
19084 if test -z "$ac_cpp_err"; then
19085 ac_header_preproc=yes
19086 else
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19089
19090 ac_header_preproc=no
19091 fi
19092 rm -f conftest.err conftest.$ac_ext
19093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19094 echo "${ECHO_T}$ac_header_preproc" >&6
19095
19096 # So? What about this header?
19097 case $ac_header_compiler:$ac_header_preproc in
19098 yes:no )
19099 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19103 (
19104 cat <<\_ASBOX
19105 ## ------------------------------------ ##
19106 ## Report this to bug-autoconf@gnu.org. ##
19107 ## ------------------------------------ ##
19108 _ASBOX
19109 ) |
19110 sed "s/^/$as_me: WARNING: /" >&2
19111 ;;
19112 no:yes )
19113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19119 (
19120 cat <<\_ASBOX
19121 ## ------------------------------------ ##
19122 ## Report this to bug-autoconf@gnu.org. ##
19123 ## ------------------------------------ ##
19124 _ASBOX
19125 ) |
19126 sed "s/^/$as_me: WARNING: /" >&2
19127 ;;
19128 esac
19129 echo "$as_me:$LINENO: checking for $ac_header" >&5
19130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19132 echo $ECHO_N "(cached) $ECHO_C" >&6
19133 else
19134 eval "$as_ac_Header=$ac_header_preproc"
19135 fi
19136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19138
19139 fi
19140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19141 cat >>confdefs.h <<_ACEOF
19142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19143 _ACEOF
19144
19145 fi
19146
19147 done
19148
19149 if test "${ac_cv_header_windows_h+set}" = set; then
19150 echo "$as_me:$LINENO: checking for windows.h" >&5
19151 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19152 if test "${ac_cv_header_windows_h+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 fi
19155 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19156 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19157 else
19158 # Is the header compilable?
19159 echo "$as_me:$LINENO: checking windows.h usability" >&5
19160 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19161 cat >conftest.$ac_ext <<_ACEOF
19162 #line $LINENO "configure"
19163 /* confdefs.h. */
19164 _ACEOF
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19168 $ac_includes_default
19169 #include <windows.h>
19170 _ACEOF
19171 rm -f conftest.$ac_objext
19172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19173 (eval $ac_compile) 2>&5
19174 ac_status=$?
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } &&
19177 { ac_try='test -s conftest.$ac_objext'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; }; then
19183 ac_header_compiler=yes
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19187
19188 ac_header_compiler=no
19189 fi
19190 rm -f conftest.$ac_objext conftest.$ac_ext
19191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19192 echo "${ECHO_T}$ac_header_compiler" >&6
19193
19194 # Is the header present?
19195 echo "$as_me:$LINENO: checking windows.h presence" >&5
19196 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19197 cat >conftest.$ac_ext <<_ACEOF
19198 #line $LINENO "configure"
19199 /* confdefs.h. */
19200 _ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 #include <windows.h>
19205 _ACEOF
19206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19208 ac_status=$?
19209 grep -v '^ *+' conftest.er1 >conftest.err
19210 rm -f conftest.er1
19211 cat conftest.err >&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); } >/dev/null; then
19214 if test -s conftest.err; then
19215 ac_cpp_err=$ac_c_preproc_warn_flag
19216 else
19217 ac_cpp_err=
19218 fi
19219 else
19220 ac_cpp_err=yes
19221 fi
19222 if test -z "$ac_cpp_err"; then
19223 ac_header_preproc=yes
19224 else
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19227
19228 ac_header_preproc=no
19229 fi
19230 rm -f conftest.err conftest.$ac_ext
19231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19232 echo "${ECHO_T}$ac_header_preproc" >&6
19233
19234 # So? What about this header?
19235 case $ac_header_compiler:$ac_header_preproc in
19236 yes:no )
19237 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19238 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19239 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19240 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19241 (
19242 cat <<\_ASBOX
19243 ## ------------------------------------ ##
19244 ## Report this to bug-autoconf@gnu.org. ##
19245 ## ------------------------------------ ##
19246 _ASBOX
19247 ) |
19248 sed "s/^/$as_me: WARNING: /" >&2
19249 ;;
19250 no:yes )
19251 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19252 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19253 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19254 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19255 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19256 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19257 (
19258 cat <<\_ASBOX
19259 ## ------------------------------------ ##
19260 ## Report this to bug-autoconf@gnu.org. ##
19261 ## ------------------------------------ ##
19262 _ASBOX
19263 ) |
19264 sed "s/^/$as_me: WARNING: /" >&2
19265 ;;
19266 esac
19267 echo "$as_me:$LINENO: checking for windows.h" >&5
19268 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19269 if test "${ac_cv_header_windows_h+set}" = set; then
19270 echo $ECHO_N "(cached) $ECHO_C" >&6
19271 else
19272 ac_cv_header_windows_h=$ac_header_preproc
19273 fi
19274 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19275 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19276
19277 fi
19278 if test $ac_cv_header_windows_h = yes; then
19279 :
19280 else
19281
19282 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19283 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19284 { (exit 1); exit 1; }; }
19285
19286 fi
19287
19288
19289
19290 echo "$as_me:$LINENO: checking if w32api has good enough MSIE support" >&5
19291 echo $ECHO_N "checking if w32api has good enough MSIE support... $ECHO_C" >&6
19292 if test "${wx_cv_w32api_win32_ie+set}" = set; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 else
19295
19296 cat >conftest.$ac_ext <<_ACEOF
19297 #line $LINENO "configure"
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 #include <w32api.h>
19304 int
19305 main ()
19306 {
19307
19308 #define wxCHECK_W32API_VERSION( major, minor ) \
19309 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
19310 && ( ( __W32API_MAJOR_VERSION > (major) ) \
19311 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
19312
19313 #if !wxCHECK_W32API_VERSION(1,1)
19314 #error You need w32api 1.1 or newer
19315 #endif
19316
19317 ;
19318 return 0;
19319 }
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>&5
19324 ac_status=$?
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try='test -s conftest.$ac_objext'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; }; then
19333
19334 wx_cv_w32api_win32_ie=yes
19335
19336 else
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19339
19340
19341 wx_cv_w32api_win32_ie=no
19342
19343 fi
19344 rm -f conftest.$ac_objext conftest.$ac_ext
19345
19346 fi
19347 echo "$as_me:$LINENO: result: $wx_cv_w32api_win32_ie" >&5
19348 echo "${ECHO_T}$wx_cv_w32api_win32_ie" >&6
19349 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
19350 CPPFLAGS="$CPPFLAGS -D_WIN32_IE=0x400"
19351 fi
19352
19353 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
19354
19355 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19356 LIBS="$LIBS -loleacc"
19357 fi
19358
19359 case "${host}" in
19360 *-*-cygwin* )
19361 LIBS="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
19362 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19363 esac
19364
19365 if test "$wxUSE_ODBC" = "sys" ; then
19366 wxUSE_ODBC = "yes"
19367 fi
19368 if test "$wxUSE_ODBC" = "yes" ; then
19369 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19370 cat >>confdefs.h <<\_ACEOF
19371 #define wxUSE_ODBC 1
19372 _ACEOF
19373
19374 fi
19375
19376 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19377 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19378
19379 WIN32INSTALL=win32install
19380 fi
19381
19382 if test "$USE_DARWIN" = 1; then
19383 if test "$wxUSE_PRECOMP" = "yes"; then
19384 CPPFLAGS="$CPPFLAGS -cpp-precomp"
19385 else
19386 CPPFLAGS="$CPPFLAGS -no-cpp-precomp"
19387 fi
19388 fi
19389
19390 if test "$wxUSE_GUI" = "yes"; then
19391 USE_GUI=1
19392
19393 GUI_TK_LIBRARY=
19394
19395 WXGTK12=
19396 WXGTK127=
19397 WXGTK20=
19398
19399 if test "$wxUSE_MSW" = 1 ; then
19400 TOOLKIT=MSW
19401 GUIDIST=MSW_DIST
19402
19403 LDFLAGS="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19404 fi
19405
19406 if test "$wxUSE_GTK" = 1; then
19407 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19408 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19409
19410 gtk_version_cached=1
19411 if test "${wx_cv_lib_gtk+set}" = set; then
19412 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 else
19414
19415 gtk_version_cached=0
19416 echo "$as_me:$LINENO: result: " >&5
19417 echo "${ECHO_T}" >&6
19418
19419 GTK_MODULES=
19420 if test "$wxUSE_THREADS" = "yes"; then
19421 GTK_MODULES=gthread
19422 fi
19423
19424 wx_cv_lib_gtk=
19425 if test "x$wxUSE_GTK2" = "xyes"; then
19426 # Check whether --enable-gtktest or --disable-gtktest was given.
19427 if test "${enable_gtktest+set}" = set; then
19428 enableval="$enable_gtktest"
19429
19430 else
19431 enable_gtktest=yes
19432 fi;
19433
19434 pkg_config_args=gtk+-2.0
19435 for module in . $GTK_MODULES
19436 do
19437 case "$module" in
19438 gthread)
19439 pkg_config_args="$pkg_config_args gthread-2.0"
19440 ;;
19441 esac
19442 done
19443
19444 no_gtk=""
19445
19446 # Extract the first word of "pkg-config", so it can be a program name with args.
19447 set dummy pkg-config; ac_word=$2
19448 echo "$as_me:$LINENO: checking for $ac_word" >&5
19449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19450 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19452 else
19453 case $PKG_CONFIG in
19454 [\\/]* | ?:[\\/]*)
19455 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19456 ;;
19457 *)
19458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19459 for as_dir in $PATH
19460 do
19461 IFS=$as_save_IFS
19462 test -z "$as_dir" && as_dir=.
19463 for ac_exec_ext in '' $ac_executable_extensions; do
19464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19465 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19467 break 2
19468 fi
19469 done
19470 done
19471
19472 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19473 ;;
19474 esac
19475 fi
19476 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19477
19478 if test -n "$PKG_CONFIG"; then
19479 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19480 echo "${ECHO_T}$PKG_CONFIG" >&6
19481 else
19482 echo "$as_me:$LINENO: result: no" >&5
19483 echo "${ECHO_T}no" >&6
19484 fi
19485
19486
19487 if test x$PKG_CONFIG != xno ; then
19488 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19489 :
19490 else
19491 echo *** pkg-config too old; version 0.7 or better required.
19492 no_gtk=yes
19493 PKG_CONFIG=no
19494 fi
19495 else
19496 no_gtk=yes
19497 fi
19498
19499 min_gtk_version=2.0.0
19500 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19501 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19502
19503 if test x$PKG_CONFIG != xno ; then
19504 ## don't try to run the test against uninstalled libtool libs
19505 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19506 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19507 enable_gtktest=no
19508 fi
19509
19510 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19511 :
19512 else
19513 no_gtk=yes
19514 fi
19515 fi
19516
19517 if test x"$no_gtk" = x ; then
19518 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19519 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19520 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19522 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19524 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19526 if test "x$enable_gtktest" = "xyes" ; then
19527 ac_save_CFLAGS="$CFLAGS"
19528 ac_save_LIBS="$LIBS"
19529 CFLAGS="$CFLAGS $GTK_CFLAGS"
19530 LIBS="$GTK_LIBS $LIBS"
19531 rm -f conf.gtktest
19532 if test "$cross_compiling" = yes; then
19533 echo $ac_n "cross compiling; assumed OK... $ac_c"
19534 else
19535 cat >conftest.$ac_ext <<_ACEOF
19536 #line $LINENO "configure"
19537 /* confdefs.h. */
19538 _ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542
19543 #include <gtk/gtk.h>
19544 #include <stdio.h>
19545 #include <stdlib.h>
19546
19547 int
19548 main ()
19549 {
19550 int major, minor, micro;
19551 char *tmp_version;
19552
19553 system ("touch conf.gtktest");
19554
19555 /* HP/UX 9 (%@#!) writes to sscanf strings */
19556 tmp_version = g_strdup("$min_gtk_version");
19557 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19558 printf("%s, bad version string\n", "$min_gtk_version");
19559 exit(1);
19560 }
19561
19562 if ((gtk_major_version != $gtk_config_major_version) ||
19563 (gtk_minor_version != $gtk_config_minor_version) ||
19564 (gtk_micro_version != $gtk_config_micro_version))
19565 {
19566 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19567 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19568 gtk_major_version, gtk_minor_version, gtk_micro_version);
19569 printf ("*** was found! If pkg-config was correct, then it is best\n");
19570 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19571 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19572 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19573 printf("*** required on your system.\n");
19574 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19575 printf("*** to point to the correct configuration files\n");
19576 }
19577 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19578 (gtk_minor_version != GTK_MINOR_VERSION) ||
19579 (gtk_micro_version != GTK_MICRO_VERSION))
19580 {
19581 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19582 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19583 printf("*** library (version %d.%d.%d)\n",
19584 gtk_major_version, gtk_minor_version, gtk_micro_version);
19585 }
19586 else
19587 {
19588 if ((gtk_major_version > major) ||
19589 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19590 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19591 {
19592 return 0;
19593 }
19594 else
19595 {
19596 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19597 gtk_major_version, gtk_minor_version, gtk_micro_version);
19598 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19599 major, minor, micro);
19600 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19601 printf("***\n");
19602 printf("*** If you have already installed a sufficiently new version, this error\n");
19603 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19604 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19605 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19606 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19607 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19608 printf("*** so that the correct libraries are found at run-time))\n");
19609 }
19610 }
19611 return 1;
19612 }
19613
19614 _ACEOF
19615 rm -f conftest$ac_exeext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617 (eval $ac_link) 2>&5
19618 ac_status=$?
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19622 (eval $ac_try) 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); }; }; then
19626 :
19627 else
19628 echo "$as_me: program exited with status $ac_status" >&5
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.$ac_ext >&5
19631
19632 ( exit $ac_status )
19633 no_gtk=yes
19634 fi
19635 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19636 fi
19637 CFLAGS="$ac_save_CFLAGS"
19638 LIBS="$ac_save_LIBS"
19639 fi
19640 fi
19641 if test "x$no_gtk" = x ; then
19642 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19643 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19644 wx_cv_lib_gtk=2.0
19645 else
19646 echo "$as_me:$LINENO: result: no" >&5
19647 echo "${ECHO_T}no" >&6
19648 if test "$PKG_CONFIG" = "no" ; then
19649 echo "*** A new enough version of pkg-config was not found."
19650 echo "*** See http://pkgconfig.sourceforge.net"
19651 else
19652 if test -f conf.gtktest ; then
19653 :
19654 else
19655 echo "*** Could not run GTK+ test program, checking why..."
19656 ac_save_CFLAGS="$CFLAGS"
19657 ac_save_LIBS="$LIBS"
19658 CFLAGS="$CFLAGS $GTK_CFLAGS"
19659 LIBS="$LIBS $GTK_LIBS"
19660 cat >conftest.$ac_ext <<_ACEOF
19661 #line $LINENO "configure"
19662 /* confdefs.h. */
19663 _ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667
19668 #include <gtk/gtk.h>
19669 #include <stdio.h>
19670
19671 int
19672 main ()
19673 {
19674 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19675 ;
19676 return 0;
19677 }
19678 _ACEOF
19679 rm -f conftest.$ac_objext 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); } &&
19685 { ac_try='test -s conftest$ac_exeext'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; }; then
19691 echo "*** The test program compiled, but did not run. This usually means"
19692 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19693 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19694 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19695 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19696 echo "*** is required on your system"
19697 echo "***"
19698 echo "*** If you have an old version installed, it is best to remove it, although"
19699 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19700 else
19701 echo "$as_me: failed program was:" >&5
19702 sed 's/^/| /' conftest.$ac_ext >&5
19703
19704 echo "*** The test program failed to compile or link. See the file config.log for the"
19705 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19706 fi
19707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19708 CFLAGS="$ac_save_CFLAGS"
19709 LIBS="$ac_save_LIBS"
19710 fi
19711 fi
19712 GTK_CFLAGS=""
19713 GTK_LIBS=""
19714 :
19715 fi
19716
19717
19718 rm -f conf.gtktest
19719
19720 else
19721
19722 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19723 if test "${with_gtk_prefix+set}" = set; then
19724 withval="$with_gtk_prefix"
19725 gtk_config_prefix="$withval"
19726 else
19727 gtk_config_prefix=""
19728 fi;
19729
19730 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19731 if test "${with_gtk_exec_prefix+set}" = set; then
19732 withval="$with_gtk_exec_prefix"
19733 gtk_config_exec_prefix="$withval"
19734 else
19735 gtk_config_exec_prefix=""
19736 fi;
19737 # Check whether --enable-gtktest or --disable-gtktest was given.
19738 if test "${enable_gtktest+set}" = set; then
19739 enableval="$enable_gtktest"
19740
19741 else
19742 enable_gtktest=yes
19743 fi;
19744
19745 for module in . $GTK_MODULES
19746 do
19747 case "$module" in
19748 gthread)
19749 gtk_config_args="$gtk_config_args gthread"
19750 ;;
19751 esac
19752 done
19753
19754 if test x$gtk_config_exec_prefix != x ; then
19755 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19756 if test x${GTK_CONFIG+set} != xset ; then
19757 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19758 fi
19759 fi
19760 if test x$gtk_config_prefix != x ; then
19761 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19762 if test x${GTK_CONFIG+set} != xset ; then
19763 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19764 fi
19765 fi
19766
19767 # Extract the first word of "gtk-config", so it can be a program name with args.
19768 set dummy gtk-config; ac_word=$2
19769 echo "$as_me:$LINENO: checking for $ac_word" >&5
19770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19771 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 else
19774 case $GTK_CONFIG in
19775 [\\/]* | ?:[\\/]*)
19776 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19777 ;;
19778 *)
19779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19780 for as_dir in $PATH
19781 do
19782 IFS=$as_save_IFS
19783 test -z "$as_dir" && as_dir=.
19784 for ac_exec_ext in '' $ac_executable_extensions; do
19785 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19786 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19788 break 2
19789 fi
19790 done
19791 done
19792
19793 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19794 ;;
19795 esac
19796 fi
19797 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19798
19799 if test -n "$GTK_CONFIG"; then
19800 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19801 echo "${ECHO_T}$GTK_CONFIG" >&6
19802 else
19803 echo "$as_me:$LINENO: result: no" >&5
19804 echo "${ECHO_T}no" >&6
19805 fi
19806
19807 min_gtk_version=1.2.7
19808 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19809 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19810 no_gtk=""
19811 if test "$GTK_CONFIG" = "no" ; then
19812 no_gtk=yes
19813 else
19814 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19815 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19816 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19817 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19818 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19819 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19820 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19821 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19822 if test "x$enable_gtktest" = "xyes" ; then
19823 ac_save_CFLAGS="$CFLAGS"
19824 ac_save_LIBS="$LIBS"
19825 CFLAGS="$CFLAGS $GTK_CFLAGS"
19826 LIBS="$GTK_LIBS $LIBS"
19827 rm -f conf.gtktest
19828 if test "$cross_compiling" = yes; then
19829 echo $ac_n "cross compiling; assumed OK... $ac_c"
19830 else
19831 cat >conftest.$ac_ext <<_ACEOF
19832 #line $LINENO "configure"
19833 /* confdefs.h. */
19834 _ACEOF
19835 cat confdefs.h >>conftest.$ac_ext
19836 cat >>conftest.$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19838
19839 #include <gtk/gtk.h>
19840 #include <stdio.h>
19841 #include <stdlib.h>
19842
19843 int
19844 main ()
19845 {
19846 int major, minor, micro;
19847 char *tmp_version;
19848
19849 system ("touch conf.gtktest");
19850
19851 /* HP/UX 9 (%@#!) writes to sscanf strings */
19852 tmp_version = g_strdup("$min_gtk_version");
19853 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19854 printf("%s, bad version string\n", "$min_gtk_version");
19855 exit(1);
19856 }
19857
19858 if ((gtk_major_version != $gtk_config_major_version) ||
19859 (gtk_minor_version != $gtk_config_minor_version) ||
19860 (gtk_micro_version != $gtk_config_micro_version))
19861 {
19862 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19863 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19864 gtk_major_version, gtk_minor_version, gtk_micro_version);
19865 printf ("*** was found! If gtk-config was correct, then it is best\n");
19866 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19867 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19868 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19869 printf("*** required on your system.\n");
19870 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19871 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19872 printf("*** before re-running configure\n");
19873 }
19874 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19875 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19876 (gtk_minor_version != GTK_MINOR_VERSION) ||
19877 (gtk_micro_version != GTK_MICRO_VERSION))
19878 {
19879 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19880 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19881 printf("*** library (version %d.%d.%d)\n",
19882 gtk_major_version, gtk_minor_version, gtk_micro_version);
19883 }
19884 #endif /* defined (GTK_MAJOR_VERSION) ... */
19885 else
19886 {
19887 if ((gtk_major_version > major) ||
19888 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19889 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19890 {
19891 return 0;
19892 }
19893 else
19894 {
19895 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19896 gtk_major_version, gtk_minor_version, gtk_micro_version);
19897 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19898 major, minor, micro);
19899 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19900 printf("***\n");
19901 printf("*** If you have already installed a sufficiently new version, this error\n");
19902 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19903 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19904 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19905 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19906 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19907 printf("*** so that the correct libraries are found at run-time))\n");
19908 }
19909 }
19910 return 1;
19911 }
19912
19913 _ACEOF
19914 rm -f conftest$ac_exeext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19916 (eval $ac_link) 2>&5
19917 ac_status=$?
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19921 (eval $ac_try) 2>&5
19922 ac_status=$?
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); }; }; then
19925 :
19926 else
19927 echo "$as_me: program exited with status $ac_status" >&5
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.$ac_ext >&5
19930
19931 ( exit $ac_status )
19932 no_gtk=yes
19933 fi
19934 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19935 fi
19936 CFLAGS="$ac_save_CFLAGS"
19937 LIBS="$ac_save_LIBS"
19938 fi
19939 fi
19940 if test "x$no_gtk" = x ; then
19941 echo "$as_me:$LINENO: result: yes" >&5
19942 echo "${ECHO_T}yes" >&6
19943 wx_cv_lib_gtk=1.2.7
19944 else
19945 echo "$as_me:$LINENO: result: no" >&5
19946 echo "${ECHO_T}no" >&6
19947 if test "$GTK_CONFIG" = "no" ; then
19948 echo "*** The gtk-config script installed by GTK could not be found"
19949 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19950 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19951 echo "*** full path to gtk-config."
19952 else
19953 if test -f conf.gtktest ; then
19954 :
19955 else
19956 echo "*** Could not run GTK test program, checking why..."
19957 CFLAGS="$CFLAGS $GTK_CFLAGS"
19958 LIBS="$LIBS $GTK_LIBS"
19959 cat >conftest.$ac_ext <<_ACEOF
19960 #line $LINENO "configure"
19961 /* confdefs.h. */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966
19967 #include <gtk/gtk.h>
19968 #include <stdio.h>
19969
19970 int
19971 main ()
19972 {
19973 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19974 ;
19975 return 0;
19976 }
19977 _ACEOF
19978 rm -f conftest.$ac_objext 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); } &&
19984 { ac_try='test -s conftest$ac_exeext'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; }; then
19990 echo "*** The test program compiled, but did not run. This usually means"
19991 echo "*** that the run-time linker is not finding GTK or finding the wrong"
19992 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
19993 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19994 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19995 echo "*** is required on your system"
19996 echo "***"
19997 echo "*** If you have an old version installed, it is best to remove it, although"
19998 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19999 echo "***"
20000 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20001 echo "*** came with the system with the command"
20002 echo "***"
20003 echo "*** rpm --erase --nodeps gtk gtk-devel"
20004 else
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20007
20008 echo "*** The test program failed to compile or link. See the file config.log for the"
20009 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20010 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20011 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20012 fi
20013 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20014 CFLAGS="$ac_save_CFLAGS"
20015 LIBS="$ac_save_LIBS"
20016 fi
20017 fi
20018 GTK_CFLAGS=""
20019 GTK_LIBS=""
20020 :
20021 fi
20022
20023
20024 rm -f conf.gtktest
20025
20026
20027 if test -z "$wx_cv_lib_gtk"; then
20028
20029 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20030 if test "${with_gtk_prefix+set}" = set; then
20031 withval="$with_gtk_prefix"
20032 gtk_config_prefix="$withval"
20033 else
20034 gtk_config_prefix=""
20035 fi;
20036
20037 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20038 if test "${with_gtk_exec_prefix+set}" = set; then
20039 withval="$with_gtk_exec_prefix"
20040 gtk_config_exec_prefix="$withval"
20041 else
20042 gtk_config_exec_prefix=""
20043 fi;
20044 # Check whether --enable-gtktest or --disable-gtktest was given.
20045 if test "${enable_gtktest+set}" = set; then
20046 enableval="$enable_gtktest"
20047
20048 else
20049 enable_gtktest=yes
20050 fi;
20051
20052 for module in . $GTK_MODULES
20053 do
20054 case "$module" in
20055 gthread)
20056 gtk_config_args="$gtk_config_args gthread"
20057 ;;
20058 esac
20059 done
20060
20061 if test x$gtk_config_exec_prefix != x ; then
20062 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20063 if test x${GTK_CONFIG+set} != xset ; then
20064 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20065 fi
20066 fi
20067 if test x$gtk_config_prefix != x ; then
20068 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20069 if test x${GTK_CONFIG+set} != xset ; then
20070 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20071 fi
20072 fi
20073
20074 # Extract the first word of "gtk-config", so it can be a program name with args.
20075 set dummy gtk-config; ac_word=$2
20076 echo "$as_me:$LINENO: checking for $ac_word" >&5
20077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20078 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20080 else
20081 case $GTK_CONFIG in
20082 [\\/]* | ?:[\\/]*)
20083 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20084 ;;
20085 *)
20086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20087 for as_dir in $PATH
20088 do
20089 IFS=$as_save_IFS
20090 test -z "$as_dir" && as_dir=.
20091 for ac_exec_ext in '' $ac_executable_extensions; do
20092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20093 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20095 break 2
20096 fi
20097 done
20098 done
20099
20100 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20101 ;;
20102 esac
20103 fi
20104 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20105
20106 if test -n "$GTK_CONFIG"; then
20107 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20108 echo "${ECHO_T}$GTK_CONFIG" >&6
20109 else
20110 echo "$as_me:$LINENO: result: no" >&5
20111 echo "${ECHO_T}no" >&6
20112 fi
20113
20114 min_gtk_version=1.2.3
20115 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20116 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20117 no_gtk=""
20118 if test "$GTK_CONFIG" = "no" ; then
20119 no_gtk=yes
20120 else
20121 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20122 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20123 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20125 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20127 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20129 if test "x$enable_gtktest" = "xyes" ; then
20130 ac_save_CFLAGS="$CFLAGS"
20131 ac_save_LIBS="$LIBS"
20132 CFLAGS="$CFLAGS $GTK_CFLAGS"
20133 LIBS="$GTK_LIBS $LIBS"
20134 rm -f conf.gtktest
20135 if test "$cross_compiling" = yes; then
20136 echo $ac_n "cross compiling; assumed OK... $ac_c"
20137 else
20138 cat >conftest.$ac_ext <<_ACEOF
20139 #line $LINENO "configure"
20140 /* confdefs.h. */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h. */
20145
20146 #include <gtk/gtk.h>
20147 #include <stdio.h>
20148 #include <stdlib.h>
20149
20150 int
20151 main ()
20152 {
20153 int major, minor, micro;
20154 char *tmp_version;
20155
20156 system ("touch conf.gtktest");
20157
20158 /* HP/UX 9 (%@#!) writes to sscanf strings */
20159 tmp_version = g_strdup("$min_gtk_version");
20160 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20161 printf("%s, bad version string\n", "$min_gtk_version");
20162 exit(1);
20163 }
20164
20165 if ((gtk_major_version != $gtk_config_major_version) ||
20166 (gtk_minor_version != $gtk_config_minor_version) ||
20167 (gtk_micro_version != $gtk_config_micro_version))
20168 {
20169 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20170 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20171 gtk_major_version, gtk_minor_version, gtk_micro_version);
20172 printf ("*** was found! If gtk-config was correct, then it is best\n");
20173 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20174 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20175 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20176 printf("*** required on your system.\n");
20177 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20178 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20179 printf("*** before re-running configure\n");
20180 }
20181 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20182 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20183 (gtk_minor_version != GTK_MINOR_VERSION) ||
20184 (gtk_micro_version != GTK_MICRO_VERSION))
20185 {
20186 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20187 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20188 printf("*** library (version %d.%d.%d)\n",
20189 gtk_major_version, gtk_minor_version, gtk_micro_version);
20190 }
20191 #endif /* defined (GTK_MAJOR_VERSION) ... */
20192 else
20193 {
20194 if ((gtk_major_version > major) ||
20195 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20196 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20197 {
20198 return 0;
20199 }
20200 else
20201 {
20202 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20203 gtk_major_version, gtk_minor_version, gtk_micro_version);
20204 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20205 major, minor, micro);
20206 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20207 printf("***\n");
20208 printf("*** If you have already installed a sufficiently new version, this error\n");
20209 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20210 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20211 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20212 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20213 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20214 printf("*** so that the correct libraries are found at run-time))\n");
20215 }
20216 }
20217 return 1;
20218 }
20219
20220 _ACEOF
20221 rm -f conftest$ac_exeext
20222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20223 (eval $ac_link) 2>&5
20224 ac_status=$?
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; }; then
20232 :
20233 else
20234 echo "$as_me: program exited with status $ac_status" >&5
20235 echo "$as_me: failed program was:" >&5
20236 sed 's/^/| /' conftest.$ac_ext >&5
20237
20238 ( exit $ac_status )
20239 no_gtk=yes
20240 fi
20241 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20242 fi
20243 CFLAGS="$ac_save_CFLAGS"
20244 LIBS="$ac_save_LIBS"
20245 fi
20246 fi
20247 if test "x$no_gtk" = x ; then
20248 echo "$as_me:$LINENO: result: yes" >&5
20249 echo "${ECHO_T}yes" >&6
20250 wx_cv_lib_gtk=1.2.3
20251 else
20252 echo "$as_me:$LINENO: result: no" >&5
20253 echo "${ECHO_T}no" >&6
20254 if test "$GTK_CONFIG" = "no" ; then
20255 echo "*** The gtk-config script installed by GTK could not be found"
20256 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20257 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20258 echo "*** full path to gtk-config."
20259 else
20260 if test -f conf.gtktest ; then
20261 :
20262 else
20263 echo "*** Could not run GTK test program, checking why..."
20264 CFLAGS="$CFLAGS $GTK_CFLAGS"
20265 LIBS="$LIBS $GTK_LIBS"
20266 cat >conftest.$ac_ext <<_ACEOF
20267 #line $LINENO "configure"
20268 /* confdefs.h. */
20269 _ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273
20274 #include <gtk/gtk.h>
20275 #include <stdio.h>
20276
20277 int
20278 main ()
20279 {
20280 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20281 ;
20282 return 0;
20283 }
20284 _ACEOF
20285 rm -f conftest.$ac_objext 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); } &&
20291 { ac_try='test -s conftest$ac_exeext'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20294 ac_status=$?
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; }; then
20297 echo "*** The test program compiled, but did not run. This usually means"
20298 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20299 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20300 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20301 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20302 echo "*** is required on your system"
20303 echo "***"
20304 echo "*** If you have an old version installed, it is best to remove it, although"
20305 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20306 echo "***"
20307 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20308 echo "*** came with the system with the command"
20309 echo "***"
20310 echo "*** rpm --erase --nodeps gtk gtk-devel"
20311 else
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20314
20315 echo "*** The test program failed to compile or link. See the file config.log for the"
20316 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20317 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20318 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20319 fi
20320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20321 CFLAGS="$ac_save_CFLAGS"
20322 LIBS="$ac_save_LIBS"
20323 fi
20324 fi
20325 GTK_CFLAGS=""
20326 GTK_LIBS=""
20327 :
20328 fi
20329
20330
20331 rm -f conf.gtktest
20332
20333 fi
20334 fi
20335
20336 if test -z "$wx_cv_lib_gtk"; then
20337 wx_cv_lib_gtk=none
20338 else
20339 wx_cv_cflags_gtk=$GTK_CFLAGS
20340 wx_cv_libs_gtk=$GTK_LIBS
20341 fi
20342
20343
20344 fi
20345
20346
20347 if test "$gtk_version_cached" = 1; then
20348 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20349 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20350 fi
20351
20352 case "$wx_cv_lib_gtk" in
20353 2.0) WXGTK20=1
20354 TOOLKIT_VERSION=2
20355 ;;
20356 1.2.7) WXGTK127=1
20357 WXGTK12=1
20358 ;;
20359 1.2.3) WXGTK12=1
20360 ;;
20361 *) { { echo "$as_me:$LINENO: error:
20362 Please check that gtk-config is in path, the directory
20363 where GTK+ libraries are installed (returned by
20364 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20365 equivalent variable and GTK+ is version 1.2.3 or above.
20366 " >&5
20367 echo "$as_me: error:
20368 Please check that gtk-config is in path, the directory
20369 where GTK+ libraries are installed (returned by
20370 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20371 equivalent variable and GTK+ is version 1.2.3 or above.
20372 " >&2;}
20373 { (exit 1); exit 1; }; }
20374 ;;
20375 esac
20376
20377 if test "$WXGTK20" = 1; then
20378 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20379
20380 succeeded=no
20381
20382 if test -z "$PKG_CONFIG"; then
20383 # Extract the first word of "pkg-config", so it can be a program name with args.
20384 set dummy pkg-config; ac_word=$2
20385 echo "$as_me:$LINENO: checking for $ac_word" >&5
20386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20387 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 else
20390 case $PKG_CONFIG in
20391 [\\/]* | ?:[\\/]*)
20392 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20393 ;;
20394 *)
20395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20396 for as_dir in $PATH
20397 do
20398 IFS=$as_save_IFS
20399 test -z "$as_dir" && as_dir=.
20400 for ac_exec_ext in '' $ac_executable_extensions; do
20401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20402 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20404 break 2
20405 fi
20406 done
20407 done
20408
20409 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20410 ;;
20411 esac
20412 fi
20413 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20414
20415 if test -n "$PKG_CONFIG"; then
20416 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20417 echo "${ECHO_T}$PKG_CONFIG" >&6
20418 else
20419 echo "$as_me:$LINENO: result: no" >&5
20420 echo "${ECHO_T}no" >&6
20421 fi
20422
20423 fi
20424
20425 if test "$PKG_CONFIG" = "no" ; then
20426 echo "*** The pkg-config script could not be found. Make sure it is"
20427 echo "*** in your path, or set the PKG_CONFIG environment variable"
20428 echo "*** to the full path to pkg-config."
20429 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20430 else
20431 PKG_CONFIG_MIN_VERSION=0.9.0
20432 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20433 echo "$as_me:$LINENO: checking for pangoft2" >&5
20434 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20435
20436 if $PKG_CONFIG --exists "pangoft2" ; then
20437 echo "$as_me:$LINENO: result: yes" >&5
20438 echo "${ECHO_T}yes" >&6
20439 succeeded=yes
20440
20441 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20442 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20443 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20444 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20445 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20446
20447 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20448 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20449 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20450 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20451 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20452 else
20453 PANGOFT2_CFLAGS=""
20454 PANGOFT2_LIBS=""
20455 ## If we have a custom action on failure, don't print errors, but
20456 ## do set a variable so people can do so.
20457 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20458
20459 fi
20460
20461
20462
20463 else
20464 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20465 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20466 fi
20467 fi
20468
20469 if test $succeeded = yes; then
20470
20471 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20472 LIBS="$LIBS $PANGOFT2_LIBS"
20473
20474 else
20475
20476 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20477 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20478 wxUSE_PRINTING_ARCHITECTURE="no"
20479
20480
20481 fi
20482
20483 fi
20484 else
20485 if test "$wxUSE_UNICODE" = "yes"; then
20486 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20487 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20488 wxUSE_UNICODE=no
20489 fi
20490 fi
20491
20492 if test "$USE_DARWIN" != 1; then
20493
20494 for ac_func in poll
20495 do
20496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20497 echo "$as_me:$LINENO: checking for $ac_func" >&5
20498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20499 if eval "test \"\${$as_ac_var+set}\" = set"; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20501 else
20502 cat >conftest.$ac_ext <<_ACEOF
20503 #line $LINENO "configure"
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 /* System header to define __stub macros and hopefully few prototypes,
20510 which can conflict with char $ac_func (); below.
20511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20512 <limits.h> exists even on freestanding compilers. */
20513 #ifdef __STDC__
20514 # include <limits.h>
20515 #else
20516 # include <assert.h>
20517 #endif
20518 /* Override any gcc2 internal prototype to avoid an error. */
20519 #ifdef __cplusplus
20520 extern "C"
20521 {
20522 #endif
20523 /* We use char because int might match the return type of a gcc2
20524 builtin and then its argument prototype would still apply. */
20525 char $ac_func ();
20526 /* The GNU C library defines this for functions which it implements
20527 to always fail with ENOSYS. Some functions are actually named
20528 something starting with __ and the normal name is an alias. */
20529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20530 choke me
20531 #else
20532 char (*f) () = $ac_func;
20533 #endif
20534 #ifdef __cplusplus
20535 }
20536 #endif
20537
20538 int
20539 main ()
20540 {
20541 return f != $ac_func;
20542 ;
20543 return 0;
20544 }
20545 _ACEOF
20546 rm -f conftest.$ac_objext conftest$ac_exeext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20548 (eval $ac_link) 2>&5
20549 ac_status=$?
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } &&
20552 { ac_try='test -s conftest$ac_exeext'
20553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20554 (eval $ac_try) 2>&5
20555 ac_status=$?
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 eval "$as_ac_var=yes"
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 eval "$as_ac_var=no"
20564 fi
20565 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20566 fi
20567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20569 if test `eval echo '${'$as_ac_var'}'` = yes; then
20570 cat >>confdefs.h <<_ACEOF
20571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20572 _ACEOF
20573
20574 fi
20575 done
20576
20577 fi
20578
20579 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20580 GUI_TK_LIBRARY="$wx_cv_libs_gtk"
20581
20582 AFMINSTALL=afminstall
20583 TOOLKIT=GTK
20584 GUIDIST=GTK_DIST
20585
20586 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20587 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20588 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20590 else
20591 ac_check_lib_save_LIBS=$LIBS
20592 LIBS="-lgdk $LIBS"
20593 cat >conftest.$ac_ext <<_ACEOF
20594 #line $LINENO "configure"
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600
20601 /* Override any gcc2 internal prototype to avoid an error. */
20602 #ifdef __cplusplus
20603 extern "C"
20604 #endif
20605 /* We use char because int might match the return type of a gcc2
20606 builtin and then its argument prototype would still apply. */
20607 char gdk_im_open ();
20608 int
20609 main ()
20610 {
20611 gdk_im_open ();
20612 ;
20613 return 0;
20614 }
20615 _ACEOF
20616 rm -f conftest.$ac_objext conftest$ac_exeext
20617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20618 (eval $ac_link) 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } &&
20622 { ac_try='test -s conftest$ac_exeext'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20625 ac_status=$?
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 ac_cv_lib_gdk_gdk_im_open=yes
20629 else
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20632
20633 ac_cv_lib_gdk_gdk_im_open=no
20634 fi
20635 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20636 LIBS=$ac_check_lib_save_LIBS
20637 fi
20638 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20639 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20640 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20641 cat >>confdefs.h <<\_ACEOF
20642 #define HAVE_XIM 1
20643 _ACEOF
20644
20645 fi
20646
20647 fi
20648
20649 if test "$wxUSE_MGL" = 1; then
20650 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20651 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20652 if test "x$MGL_ROOT" = x ; then
20653 echo "$as_me:$LINENO: result: not found" >&5
20654 echo "${ECHO_T}not found" >&6
20655 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20656 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20657 { (exit 1); exit 1; }; }
20658 else
20659 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20660 echo "${ECHO_T}$MGL_ROOT" >&6
20661 fi
20662
20663 echo "$as_me:$LINENO: checking for libmgl location" >&5
20664 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20665 case "${host}" in
20666 *-*-linux* )
20667 if test "x$wxUSE_SHARED" = xyes ; then
20668 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20669 else
20670 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20671 fi
20672 ;;
20673 *-pc-msdosdjgpp )
20674 mgl_os_candidates="dos32/dj2"
20675 ;;
20676 *)
20677 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20678 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20679 { (exit 1); exit 1; }; }
20680 esac
20681
20682 mgl_lib_type=""
20683 mgl_os=""
20684
20685 for mgl_os_i in $mgl_os_candidates ; do
20686 if test "x$mgl_os" = x ; then
20687 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20688 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20689 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20690 mgl_lib_type=debug
20691 mgl_os=$mgl_os_i
20692 fi
20693 fi
20694 if test "x$mgl_lib_type" = x ; then
20695 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20696 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20697 mgl_lib_type=release
20698 mgl_os=$mgl_os_i
20699 fi
20700 fi
20701 fi
20702 done
20703
20704 if test "x$mgl_os" = x ; then
20705 echo "$as_me:$LINENO: result: not found" >&5
20706 echo "${ECHO_T}not found" >&6
20707 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20708 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20709 { (exit 1); exit 1; }; }
20710 fi
20711 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20712 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20713
20714 wxUSE_UNIVERSAL="yes"
20715
20716 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20717 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20718
20719 AFMINSTALL=afminstall
20720 TOOLKIT=MGL
20721 GUIDIST=MGL_DIST
20722 fi
20723
20724 if test "$wxUSE_MICROWIN" = 1; then
20725 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20726 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20727 if test "x$MICROWINDOWS" = x ; then
20728 echo "$as_me:$LINENO: result: not found" >&5
20729 echo "${ECHO_T}not found" >&6
20730 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20731 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20732 { (exit 1); exit 1; }; }
20733 else
20734 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20735 echo "${ECHO_T}$MICROWINDOWS" >&6
20736 fi
20737
20738 if test -f $MICROWINDOWS/lib/libmwin.a; then
20739 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20740 echo "${ECHO_T}MicroWindows' libraries found." >&6
20741 else
20742 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20743 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20744 { (exit 1); exit 1; }; }
20745 fi
20746
20747 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20748 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20749
20750 wxUSE_UNIVERSAL="yes"
20751
20752 AFMINSTALL=afminstall
20753 TOOLKIT=MICROWIN
20754 GUIDIST=MICROWIN_DIST
20755
20756 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20757 fi
20758
20759 if test "$wxUSE_X11" = 1; then
20760 echo "$as_me:$LINENO: checking for X" >&5
20761 echo $ECHO_N "checking for X... $ECHO_C" >&6
20762
20763
20764 # Check whether --with-x or --without-x was given.
20765 if test "${with_x+set}" = set; then
20766 withval="$with_x"
20767
20768 fi;
20769 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20770 if test "x$with_x" = xno; then
20771 # The user explicitly disabled X.
20772 have_x=disabled
20773 else
20774 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20775 # Both variables are already set.
20776 have_x=yes
20777 else
20778 if test "${ac_cv_have_x+set}" = set; then
20779 echo $ECHO_N "(cached) $ECHO_C" >&6
20780 else
20781 # One or both of the vars are not set, and there is no cached value.
20782 ac_x_includes=no ac_x_libraries=no
20783 rm -fr conftest.dir
20784 if mkdir conftest.dir; then
20785 cd conftest.dir
20786 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20787 cat >Imakefile <<'_ACEOF'
20788 acfindx:
20789 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20790 _ACEOF
20791 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20792 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20793 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20794 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20795 for ac_extension in a so sl; do
20796 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20797 test -f $ac_im_libdir/libX11.$ac_extension; then
20798 ac_im_usrlibdir=$ac_im_libdir; break
20799 fi
20800 done
20801 # Screen out bogus values from the imake configuration. They are
20802 # bogus both because they are the default anyway, and because
20803 # using them would break gcc on systems where it needs fixed includes.
20804 case $ac_im_incroot in
20805 /usr/include) ;;
20806 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20807 esac
20808 case $ac_im_usrlibdir in
20809 /usr/lib | /lib) ;;
20810 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20811 esac
20812 fi
20813 cd ..
20814 rm -fr conftest.dir
20815 fi
20816
20817 # Standard set of common directories for X headers.
20818 # Check X11 before X11Rn because it is often a symlink to the current release.
20819 ac_x_header_dirs='
20820 /usr/X11/include
20821 /usr/X11R6/include
20822 /usr/X11R5/include
20823 /usr/X11R4/include
20824
20825 /usr/include/X11
20826 /usr/include/X11R6
20827 /usr/include/X11R5
20828 /usr/include/X11R4
20829
20830 /usr/local/X11/include
20831 /usr/local/X11R6/include
20832 /usr/local/X11R5/include
20833 /usr/local/X11R4/include
20834
20835 /usr/local/include/X11
20836 /usr/local/include/X11R6
20837 /usr/local/include/X11R5
20838 /usr/local/include/X11R4
20839
20840 /usr/X386/include
20841 /usr/x386/include
20842 /usr/XFree86/include/X11
20843
20844 /usr/include
20845 /usr/local/include
20846 /usr/unsupported/include
20847 /usr/athena/include
20848 /usr/local/x11r5/include
20849 /usr/lpp/Xamples/include
20850
20851 /usr/openwin/include
20852 /usr/openwin/share/include'
20853
20854 if test "$ac_x_includes" = no; then
20855 # Guess where to find include files, by looking for Intrinsic.h.
20856 # First, try using that file with no special directory specified.
20857 cat >conftest.$ac_ext <<_ACEOF
20858 #line $LINENO "configure"
20859 /* confdefs.h. */
20860 _ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 #include <X11/Intrinsic.h>
20865 _ACEOF
20866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20868 ac_status=$?
20869 grep -v '^ *+' conftest.er1 >conftest.err
20870 rm -f conftest.er1
20871 cat conftest.err >&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } >/dev/null; then
20874 if test -s conftest.err; then
20875 ac_cpp_err=$ac_c_preproc_warn_flag
20876 else
20877 ac_cpp_err=
20878 fi
20879 else
20880 ac_cpp_err=yes
20881 fi
20882 if test -z "$ac_cpp_err"; then
20883 # We can compile using X headers with no special include directory.
20884 ac_x_includes=
20885 else
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.$ac_ext >&5
20888
20889 for ac_dir in $ac_x_header_dirs; do
20890 if test -r "$ac_dir/X11/Intrinsic.h"; then
20891 ac_x_includes=$ac_dir
20892 break
20893 fi
20894 done
20895 fi
20896 rm -f conftest.err conftest.$ac_ext
20897 fi # $ac_x_includes = no
20898
20899 if test "$ac_x_libraries" = no; then
20900 # Check for the libraries.
20901 # See if we find them without any special options.
20902 # Don't add to $LIBS permanently.
20903 ac_save_LIBS=$LIBS
20904 LIBS="-lXt $LIBS"
20905 cat >conftest.$ac_ext <<_ACEOF
20906 #line $LINENO "configure"
20907 /* confdefs.h. */
20908 _ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 #include <X11/Intrinsic.h>
20913 int
20914 main ()
20915 {
20916 XtMalloc (0)
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 rm -f conftest.$ac_objext conftest$ac_exeext
20922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20923 (eval $ac_link) 2>&5
20924 ac_status=$?
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); } &&
20927 { ac_try='test -s conftest$ac_exeext'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20930 ac_status=$?
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20933 LIBS=$ac_save_LIBS
20934 # We can link X programs with no special library path.
20935 ac_x_libraries=
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20939
20940 LIBS=$ac_save_LIBS
20941 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20942 do
20943 # Don't even attempt the hair of trying to link an X program!
20944 for ac_extension in a so sl; do
20945 if test -r $ac_dir/libXt.$ac_extension; then
20946 ac_x_libraries=$ac_dir
20947 break 2
20948 fi
20949 done
20950 done
20951 fi
20952 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20953 fi # $ac_x_libraries = no
20954
20955 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20956 # Didn't find X anywhere. Cache the known absence of X.
20957 ac_cv_have_x="have_x=no"
20958 else
20959 # Record where we found X for the cache.
20960 ac_cv_have_x="have_x=yes \
20961 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20962 fi
20963 fi
20964
20965 fi
20966 eval "$ac_cv_have_x"
20967 fi # $with_x != no
20968
20969 if test "$have_x" != yes; then
20970 echo "$as_me:$LINENO: result: $have_x" >&5
20971 echo "${ECHO_T}$have_x" >&6
20972 no_x=yes
20973 else
20974 # If each of the values was on the command line, it overrides each guess.
20975 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20976 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20977 # Update the cache value to reflect the command line values.
20978 ac_cv_have_x="have_x=yes \
20979 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20980 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20981 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20982 fi
20983
20984 if test "$no_x" = yes; then
20985 # Not all programs may use this symbol, but it does not hurt to define it.
20986
20987 cat >>confdefs.h <<\_ACEOF
20988 #define X_DISPLAY_MISSING 1
20989 _ACEOF
20990
20991 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20992 else
20993 if test -n "$x_includes"; then
20994 X_CFLAGS="$X_CFLAGS -I$x_includes"
20995 fi
20996
20997 # It would also be nice to do this for all -L options, not just this one.
20998 if test -n "$x_libraries"; then
20999 X_LIBS="$X_LIBS -L$x_libraries"
21000 # For Solaris; some versions of Sun CC require a space after -R and
21001 # others require no space. Words are not sufficient . . . .
21002 case `(uname -sr) 2>/dev/null` in
21003 "SunOS 5"*)
21004 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21005 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21006 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21007 cat >conftest.$ac_ext <<_ACEOF
21008 #line $LINENO "configure"
21009 /* confdefs.h. */
21010 _ACEOF
21011 cat confdefs.h >>conftest.$ac_ext
21012 cat >>conftest.$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21014
21015 int
21016 main ()
21017 {
21018
21019 ;
21020 return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext conftest$ac_exeext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21025 (eval $ac_link) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try='test -s conftest$ac_exeext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21032 ac_status=$?
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_R_nospace=yes
21036 else
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ac_R_nospace=no
21041 fi
21042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21043 if test $ac_R_nospace = yes; then
21044 echo "$as_me:$LINENO: result: no" >&5
21045 echo "${ECHO_T}no" >&6
21046 X_LIBS="$X_LIBS -R$x_libraries"
21047 else
21048 LIBS="$ac_xsave_LIBS -R $x_libraries"
21049 cat >conftest.$ac_ext <<_ACEOF
21050 #line $LINENO "configure"
21051 /* confdefs.h. */
21052 _ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056
21057 int
21058 main ()
21059 {
21060
21061 ;
21062 return 0;
21063 }
21064 _ACEOF
21065 rm -f conftest.$ac_objext conftest$ac_exeext
21066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21067 (eval $ac_link) 2>&5
21068 ac_status=$?
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } &&
21071 { ac_try='test -s conftest$ac_exeext'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21074 ac_status=$?
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; }; then
21077 ac_R_space=yes
21078 else
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21081
21082 ac_R_space=no
21083 fi
21084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21085 if test $ac_R_space = yes; then
21086 echo "$as_me:$LINENO: result: yes" >&5
21087 echo "${ECHO_T}yes" >&6
21088 X_LIBS="$X_LIBS -R $x_libraries"
21089 else
21090 echo "$as_me:$LINENO: result: neither works" >&5
21091 echo "${ECHO_T}neither works" >&6
21092 fi
21093 fi
21094 LIBS=$ac_xsave_LIBS
21095 esac
21096 fi
21097
21098 # Check for system-dependent libraries X programs must link with.
21099 # Do this before checking for the system-independent R6 libraries
21100 # (-lICE), since we may need -lsocket or whatever for X linking.
21101
21102 if test "$ISC" = yes; then
21103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21104 else
21105 # Martyn Johnson says this is needed for Ultrix, if the X
21106 # libraries were built with DECnet support. And Karl Berry says
21107 # the Alpha needs dnet_stub (dnet does not exist).
21108 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21109 cat >conftest.$ac_ext <<_ACEOF
21110 #line $LINENO "configure"
21111 /* confdefs.h. */
21112 _ACEOF
21113 cat confdefs.h >>conftest.$ac_ext
21114 cat >>conftest.$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21116
21117 /* Override any gcc2 internal prototype to avoid an error. */
21118 #ifdef __cplusplus
21119 extern "C"
21120 #endif
21121 /* We use char because int might match the return type of a gcc2
21122 builtin and then its argument prototype would still apply. */
21123 char XOpenDisplay ();
21124 int
21125 main ()
21126 {
21127 XOpenDisplay ();
21128 ;
21129 return 0;
21130 }
21131 _ACEOF
21132 rm -f conftest.$ac_objext conftest$ac_exeext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21134 (eval $ac_link) 2>&5
21135 ac_status=$?
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } &&
21138 { ac_try='test -s conftest$ac_exeext'
21139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21140 (eval $ac_try) 2>&5
21141 ac_status=$?
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; }; then
21144 :
21145 else
21146 echo "$as_me: failed program was:" >&5
21147 sed 's/^/| /' conftest.$ac_ext >&5
21148
21149 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21150 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21151 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21153 else
21154 ac_check_lib_save_LIBS=$LIBS
21155 LIBS="-ldnet $LIBS"
21156 cat >conftest.$ac_ext <<_ACEOF
21157 #line $LINENO "configure"
21158 /* confdefs.h. */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21163
21164 /* Override any gcc2 internal prototype to avoid an error. */
21165 #ifdef __cplusplus
21166 extern "C"
21167 #endif
21168 /* We use char because int might match the return type of a gcc2
21169 builtin and then its argument prototype would still apply. */
21170 char dnet_ntoa ();
21171 int
21172 main ()
21173 {
21174 dnet_ntoa ();
21175 ;
21176 return 0;
21177 }
21178 _ACEOF
21179 rm -f conftest.$ac_objext conftest$ac_exeext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21181 (eval $ac_link) 2>&5
21182 ac_status=$?
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } &&
21185 { ac_try='test -s conftest$ac_exeext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21188 ac_status=$?
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 ac_cv_lib_dnet_dnet_ntoa=yes
21192 else
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21195
21196 ac_cv_lib_dnet_dnet_ntoa=no
21197 fi
21198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21199 LIBS=$ac_check_lib_save_LIBS
21200 fi
21201 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21202 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21203 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21204 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21205 fi
21206
21207 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21208 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21209 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21210 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213 ac_check_lib_save_LIBS=$LIBS
21214 LIBS="-ldnet_stub $LIBS"
21215 cat >conftest.$ac_ext <<_ACEOF
21216 #line $LINENO "configure"
21217 /* confdefs.h. */
21218 _ACEOF
21219 cat confdefs.h >>conftest.$ac_ext
21220 cat >>conftest.$ac_ext <<_ACEOF
21221 /* end confdefs.h. */
21222
21223 /* Override any gcc2 internal prototype to avoid an error. */
21224 #ifdef __cplusplus
21225 extern "C"
21226 #endif
21227 /* We use char because int might match the return type of a gcc2
21228 builtin and then its argument prototype would still apply. */
21229 char dnet_ntoa ();
21230 int
21231 main ()
21232 {
21233 dnet_ntoa ();
21234 ;
21235 return 0;
21236 }
21237 _ACEOF
21238 rm -f conftest.$ac_objext conftest$ac_exeext
21239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21240 (eval $ac_link) 2>&5
21241 ac_status=$?
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } &&
21244 { ac_try='test -s conftest$ac_exeext'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21247 ac_status=$?
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21251 else
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.$ac_ext >&5
21254
21255 ac_cv_lib_dnet_stub_dnet_ntoa=no
21256 fi
21257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21258 LIBS=$ac_check_lib_save_LIBS
21259 fi
21260 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21261 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21262 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21263 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21264 fi
21265
21266 fi
21267 fi
21268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21269 LIBS="$ac_xsave_LIBS"
21270
21271 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21272 # to get the SysV transport functions.
21273 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21274 # needs -lnsl.
21275 # The nsl library prevents programs from opening the X display
21276 # on Irix 5.2, according to T.E. Dickey.
21277 # The functions gethostbyname, getservbyname, and inet_addr are
21278 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21279 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21280 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21281 if test "${ac_cv_func_gethostbyname+set}" = set; then
21282 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 else
21284 cat >conftest.$ac_ext <<_ACEOF
21285 #line $LINENO "configure"
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 /* System header to define __stub macros and hopefully few prototypes,
21292 which can conflict with char gethostbyname (); below.
21293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21294 <limits.h> exists even on freestanding compilers. */
21295 #ifdef __STDC__
21296 # include <limits.h>
21297 #else
21298 # include <assert.h>
21299 #endif
21300 /* Override any gcc2 internal prototype to avoid an error. */
21301 #ifdef __cplusplus
21302 extern "C"
21303 {
21304 #endif
21305 /* We use char because int might match the return type of a gcc2
21306 builtin and then its argument prototype would still apply. */
21307 char gethostbyname ();
21308 /* The GNU C library defines this for functions which it implements
21309 to always fail with ENOSYS. Some functions are actually named
21310 something starting with __ and the normal name is an alias. */
21311 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21312 choke me
21313 #else
21314 char (*f) () = gethostbyname;
21315 #endif
21316 #ifdef __cplusplus
21317 }
21318 #endif
21319
21320 int
21321 main ()
21322 {
21323 return f != gethostbyname;
21324 ;
21325 return 0;
21326 }
21327 _ACEOF
21328 rm -f conftest.$ac_objext conftest$ac_exeext
21329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21330 (eval $ac_link) 2>&5
21331 ac_status=$?
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try='test -s conftest$ac_exeext'
21335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21336 (eval $ac_try) 2>&5
21337 ac_status=$?
21338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21339 (exit $ac_status); }; }; then
21340 ac_cv_func_gethostbyname=yes
21341 else
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21344
21345 ac_cv_func_gethostbyname=no
21346 fi
21347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21348 fi
21349 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21351
21352 if test $ac_cv_func_gethostbyname = no; then
21353 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21354 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21355 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21356 echo $ECHO_N "(cached) $ECHO_C" >&6
21357 else
21358 ac_check_lib_save_LIBS=$LIBS
21359 LIBS="-lnsl $LIBS"
21360 cat >conftest.$ac_ext <<_ACEOF
21361 #line $LINENO "configure"
21362 /* confdefs.h. */
21363 _ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367
21368 /* Override any gcc2 internal prototype to avoid an error. */
21369 #ifdef __cplusplus
21370 extern "C"
21371 #endif
21372 /* We use char because int might match the return type of a gcc2
21373 builtin and then its argument prototype would still apply. */
21374 char gethostbyname ();
21375 int
21376 main ()
21377 {
21378 gethostbyname ();
21379 ;
21380 return 0;
21381 }
21382 _ACEOF
21383 rm -f conftest.$ac_objext conftest$ac_exeext
21384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21385 (eval $ac_link) 2>&5
21386 ac_status=$?
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } &&
21389 { ac_try='test -s conftest$ac_exeext'
21390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21391 (eval $ac_try) 2>&5
21392 ac_status=$?
21393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21394 (exit $ac_status); }; }; then
21395 ac_cv_lib_nsl_gethostbyname=yes
21396 else
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.$ac_ext >&5
21399
21400 ac_cv_lib_nsl_gethostbyname=no
21401 fi
21402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21403 LIBS=$ac_check_lib_save_LIBS
21404 fi
21405 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21406 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21407 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21409 fi
21410
21411 if test $ac_cv_lib_nsl_gethostbyname = no; then
21412 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21413 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21414 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21415 echo $ECHO_N "(cached) $ECHO_C" >&6
21416 else
21417 ac_check_lib_save_LIBS=$LIBS
21418 LIBS="-lbsd $LIBS"
21419 cat >conftest.$ac_ext <<_ACEOF
21420 #line $LINENO "configure"
21421 /* confdefs.h. */
21422 _ACEOF
21423 cat confdefs.h >>conftest.$ac_ext
21424 cat >>conftest.$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426
21427 /* Override any gcc2 internal prototype to avoid an error. */
21428 #ifdef __cplusplus
21429 extern "C"
21430 #endif
21431 /* We use char because int might match the return type of a gcc2
21432 builtin and then its argument prototype would still apply. */
21433 char gethostbyname ();
21434 int
21435 main ()
21436 {
21437 gethostbyname ();
21438 ;
21439 return 0;
21440 }
21441 _ACEOF
21442 rm -f conftest.$ac_objext conftest$ac_exeext
21443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21444 (eval $ac_link) 2>&5
21445 ac_status=$?
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } &&
21448 { ac_try='test -s conftest$ac_exeext'
21449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21450 (eval $ac_try) 2>&5
21451 ac_status=$?
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); }; }; then
21454 ac_cv_lib_bsd_gethostbyname=yes
21455 else
21456 echo "$as_me: failed program was:" >&5
21457 sed 's/^/| /' conftest.$ac_ext >&5
21458
21459 ac_cv_lib_bsd_gethostbyname=no
21460 fi
21461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21462 LIBS=$ac_check_lib_save_LIBS
21463 fi
21464 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21465 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21466 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21467 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21468 fi
21469
21470 fi
21471 fi
21472
21473 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21474 # socket/setsockopt and other routines are undefined under SCO ODT
21475 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21476 # on later versions), says Simon Leinen: it contains gethostby*
21477 # variants that don't use the name server (or something). -lsocket
21478 # must be given before -lnsl if both are needed. We assume that
21479 # if connect needs -lnsl, so does gethostbyname.
21480 echo "$as_me:$LINENO: checking for connect" >&5
21481 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21482 if test "${ac_cv_func_connect+set}" = set; then
21483 echo $ECHO_N "(cached) $ECHO_C" >&6
21484 else
21485 cat >conftest.$ac_ext <<_ACEOF
21486 #line $LINENO "configure"
21487 /* confdefs.h. */
21488 _ACEOF
21489 cat confdefs.h >>conftest.$ac_ext
21490 cat >>conftest.$ac_ext <<_ACEOF
21491 /* end confdefs.h. */
21492 /* System header to define __stub macros and hopefully few prototypes,
21493 which can conflict with char connect (); below.
21494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21495 <limits.h> exists even on freestanding compilers. */
21496 #ifdef __STDC__
21497 # include <limits.h>
21498 #else
21499 # include <assert.h>
21500 #endif
21501 /* Override any gcc2 internal prototype to avoid an error. */
21502 #ifdef __cplusplus
21503 extern "C"
21504 {
21505 #endif
21506 /* We use char because int might match the return type of a gcc2
21507 builtin and then its argument prototype would still apply. */
21508 char connect ();
21509 /* The GNU C library defines this for functions which it implements
21510 to always fail with ENOSYS. Some functions are actually named
21511 something starting with __ and the normal name is an alias. */
21512 #if defined (__stub_connect) || defined (__stub___connect)
21513 choke me
21514 #else
21515 char (*f) () = connect;
21516 #endif
21517 #ifdef __cplusplus
21518 }
21519 #endif
21520
21521 int
21522 main ()
21523 {
21524 return f != connect;
21525 ;
21526 return 0;
21527 }
21528 _ACEOF
21529 rm -f conftest.$ac_objext conftest$ac_exeext
21530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21531 (eval $ac_link) 2>&5
21532 ac_status=$?
21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21534 (exit $ac_status); } &&
21535 { ac_try='test -s conftest$ac_exeext'
21536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21537 (eval $ac_try) 2>&5
21538 ac_status=$?
21539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21540 (exit $ac_status); }; }; then
21541 ac_cv_func_connect=yes
21542 else
21543 echo "$as_me: failed program was:" >&5
21544 sed 's/^/| /' conftest.$ac_ext >&5
21545
21546 ac_cv_func_connect=no
21547 fi
21548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21549 fi
21550 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21551 echo "${ECHO_T}$ac_cv_func_connect" >&6
21552
21553 if test $ac_cv_func_connect = no; then
21554 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21555 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21556 if test "${ac_cv_lib_socket_connect+set}" = set; then
21557 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 else
21559 ac_check_lib_save_LIBS=$LIBS
21560 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21561 cat >conftest.$ac_ext <<_ACEOF
21562 #line $LINENO "configure"
21563 /* confdefs.h. */
21564 _ACEOF
21565 cat confdefs.h >>conftest.$ac_ext
21566 cat >>conftest.$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21568
21569 /* Override any gcc2 internal prototype to avoid an error. */
21570 #ifdef __cplusplus
21571 extern "C"
21572 #endif
21573 /* We use char because int might match the return type of a gcc2
21574 builtin and then its argument prototype would still apply. */
21575 char connect ();
21576 int
21577 main ()
21578 {
21579 connect ();
21580 ;
21581 return 0;
21582 }
21583 _ACEOF
21584 rm -f conftest.$ac_objext conftest$ac_exeext
21585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21586 (eval $ac_link) 2>&5
21587 ac_status=$?
21588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589 (exit $ac_status); } &&
21590 { ac_try='test -s conftest$ac_exeext'
21591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592 (eval $ac_try) 2>&5
21593 ac_status=$?
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); }; }; then
21596 ac_cv_lib_socket_connect=yes
21597 else
21598 echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.$ac_ext >&5
21600
21601 ac_cv_lib_socket_connect=no
21602 fi
21603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21604 LIBS=$ac_check_lib_save_LIBS
21605 fi
21606 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21607 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21608 if test $ac_cv_lib_socket_connect = yes; then
21609 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21610 fi
21611
21612 fi
21613
21614 # Guillermo Gomez says -lposix is necessary on A/UX.
21615 echo "$as_me:$LINENO: checking for remove" >&5
21616 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21617 if test "${ac_cv_func_remove+set}" = set; then
21618 echo $ECHO_N "(cached) $ECHO_C" >&6
21619 else
21620 cat >conftest.$ac_ext <<_ACEOF
21621 #line $LINENO "configure"
21622 /* confdefs.h. */
21623 _ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21627 /* System header to define __stub macros and hopefully few prototypes,
21628 which can conflict with char remove (); below.
21629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21630 <limits.h> exists even on freestanding compilers. */
21631 #ifdef __STDC__
21632 # include <limits.h>
21633 #else
21634 # include <assert.h>
21635 #endif
21636 /* Override any gcc2 internal prototype to avoid an error. */
21637 #ifdef __cplusplus
21638 extern "C"
21639 {
21640 #endif
21641 /* We use char because int might match the return type of a gcc2
21642 builtin and then its argument prototype would still apply. */
21643 char remove ();
21644 /* The GNU C library defines this for functions which it implements
21645 to always fail with ENOSYS. Some functions are actually named
21646 something starting with __ and the normal name is an alias. */
21647 #if defined (__stub_remove) || defined (__stub___remove)
21648 choke me
21649 #else
21650 char (*f) () = remove;
21651 #endif
21652 #ifdef __cplusplus
21653 }
21654 #endif
21655
21656 int
21657 main ()
21658 {
21659 return f != remove;
21660 ;
21661 return 0;
21662 }
21663 _ACEOF
21664 rm -f conftest.$ac_objext conftest$ac_exeext
21665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21666 (eval $ac_link) 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } &&
21670 { ac_try='test -s conftest$ac_exeext'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21673 ac_status=$?
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; }; then
21676 ac_cv_func_remove=yes
21677 else
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21680
21681 ac_cv_func_remove=no
21682 fi
21683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21684 fi
21685 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21686 echo "${ECHO_T}$ac_cv_func_remove" >&6
21687
21688 if test $ac_cv_func_remove = no; then
21689 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21690 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21691 if test "${ac_cv_lib_posix_remove+set}" = set; then
21692 echo $ECHO_N "(cached) $ECHO_C" >&6
21693 else
21694 ac_check_lib_save_LIBS=$LIBS
21695 LIBS="-lposix $LIBS"
21696 cat >conftest.$ac_ext <<_ACEOF
21697 #line $LINENO "configure"
21698 /* confdefs.h. */
21699 _ACEOF
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703
21704 /* Override any gcc2 internal prototype to avoid an error. */
21705 #ifdef __cplusplus
21706 extern "C"
21707 #endif
21708 /* We use char because int might match the return type of a gcc2
21709 builtin and then its argument prototype would still apply. */
21710 char remove ();
21711 int
21712 main ()
21713 {
21714 remove ();
21715 ;
21716 return 0;
21717 }
21718 _ACEOF
21719 rm -f conftest.$ac_objext conftest$ac_exeext
21720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21721 (eval $ac_link) 2>&5
21722 ac_status=$?
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); } &&
21725 { ac_try='test -s conftest$ac_exeext'
21726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21727 (eval $ac_try) 2>&5
21728 ac_status=$?
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); }; }; then
21731 ac_cv_lib_posix_remove=yes
21732 else
21733 echo "$as_me: failed program was:" >&5
21734 sed 's/^/| /' conftest.$ac_ext >&5
21735
21736 ac_cv_lib_posix_remove=no
21737 fi
21738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21739 LIBS=$ac_check_lib_save_LIBS
21740 fi
21741 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21742 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21743 if test $ac_cv_lib_posix_remove = yes; then
21744 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21745 fi
21746
21747 fi
21748
21749 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21750 echo "$as_me:$LINENO: checking for shmat" >&5
21751 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21752 if test "${ac_cv_func_shmat+set}" = set; then
21753 echo $ECHO_N "(cached) $ECHO_C" >&6
21754 else
21755 cat >conftest.$ac_ext <<_ACEOF
21756 #line $LINENO "configure"
21757 /* confdefs.h. */
21758 _ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 /* System header to define __stub macros and hopefully few prototypes,
21763 which can conflict with char shmat (); below.
21764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21765 <limits.h> exists even on freestanding compilers. */
21766 #ifdef __STDC__
21767 # include <limits.h>
21768 #else
21769 # include <assert.h>
21770 #endif
21771 /* Override any gcc2 internal prototype to avoid an error. */
21772 #ifdef __cplusplus
21773 extern "C"
21774 {
21775 #endif
21776 /* We use char because int might match the return type of a gcc2
21777 builtin and then its argument prototype would still apply. */
21778 char shmat ();
21779 /* The GNU C library defines this for functions which it implements
21780 to always fail with ENOSYS. Some functions are actually named
21781 something starting with __ and the normal name is an alias. */
21782 #if defined (__stub_shmat) || defined (__stub___shmat)
21783 choke me
21784 #else
21785 char (*f) () = shmat;
21786 #endif
21787 #ifdef __cplusplus
21788 }
21789 #endif
21790
21791 int
21792 main ()
21793 {
21794 return f != shmat;
21795 ;
21796 return 0;
21797 }
21798 _ACEOF
21799 rm -f conftest.$ac_objext conftest$ac_exeext
21800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21801 (eval $ac_link) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); } &&
21805 { ac_try='test -s conftest$ac_exeext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21811 ac_cv_func_shmat=yes
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 ac_cv_func_shmat=no
21817 fi
21818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21819 fi
21820 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21821 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21822
21823 if test $ac_cv_func_shmat = no; then
21824 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21825 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21826 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6
21828 else
21829 ac_check_lib_save_LIBS=$LIBS
21830 LIBS="-lipc $LIBS"
21831 cat >conftest.$ac_ext <<_ACEOF
21832 #line $LINENO "configure"
21833 /* confdefs.h. */
21834 _ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838
21839 /* Override any gcc2 internal prototype to avoid an error. */
21840 #ifdef __cplusplus
21841 extern "C"
21842 #endif
21843 /* We use char because int might match the return type of a gcc2
21844 builtin and then its argument prototype would still apply. */
21845 char shmat ();
21846 int
21847 main ()
21848 {
21849 shmat ();
21850 ;
21851 return 0;
21852 }
21853 _ACEOF
21854 rm -f conftest.$ac_objext conftest$ac_exeext
21855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21856 (eval $ac_link) 2>&5
21857 ac_status=$?
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); } &&
21860 { ac_try='test -s conftest$ac_exeext'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; }; then
21866 ac_cv_lib_ipc_shmat=yes
21867 else
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21870
21871 ac_cv_lib_ipc_shmat=no
21872 fi
21873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21874 LIBS=$ac_check_lib_save_LIBS
21875 fi
21876 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21877 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21878 if test $ac_cv_lib_ipc_shmat = yes; then
21879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21880 fi
21881
21882 fi
21883 fi
21884
21885 # Check for libraries that X11R6 Xt/Xaw programs need.
21886 ac_save_LDFLAGS=$LDFLAGS
21887 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21888 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21889 # check for ICE first), but we must link in the order -lSM -lICE or
21890 # we get undefined symbols. So assume we have SM if we have ICE.
21891 # These have to be linked with before -lX11, unlike the other
21892 # libraries we check for below, so use a different variable.
21893 # John Interrante, Karl Berry
21894 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21895 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21896 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21897 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 else
21899 ac_check_lib_save_LIBS=$LIBS
21900 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21901 cat >conftest.$ac_ext <<_ACEOF
21902 #line $LINENO "configure"
21903 /* confdefs.h. */
21904 _ACEOF
21905 cat confdefs.h >>conftest.$ac_ext
21906 cat >>conftest.$ac_ext <<_ACEOF
21907 /* end confdefs.h. */
21908
21909 /* Override any gcc2 internal prototype to avoid an error. */
21910 #ifdef __cplusplus
21911 extern "C"
21912 #endif
21913 /* We use char because int might match the return type of a gcc2
21914 builtin and then its argument prototype would still apply. */
21915 char IceConnectionNumber ();
21916 int
21917 main ()
21918 {
21919 IceConnectionNumber ();
21920 ;
21921 return 0;
21922 }
21923 _ACEOF
21924 rm -f conftest.$ac_objext conftest$ac_exeext
21925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21926 (eval $ac_link) 2>&5
21927 ac_status=$?
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } &&
21930 { ac_try='test -s conftest$ac_exeext'
21931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21932 (eval $ac_try) 2>&5
21933 ac_status=$?
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); }; }; then
21936 ac_cv_lib_ICE_IceConnectionNumber=yes
21937 else
21938 echo "$as_me: failed program was:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21940
21941 ac_cv_lib_ICE_IceConnectionNumber=no
21942 fi
21943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21944 LIBS=$ac_check_lib_save_LIBS
21945 fi
21946 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21947 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21948 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21949 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21950 fi
21951
21952 LDFLAGS=$ac_save_LDFLAGS
21953
21954 fi
21955
21956
21957 if test "$no_x" = "yes"; then
21958 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21959 echo "$as_me: error: X11 not found" >&2;}
21960 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
21961 fi
21962
21963 GUI_TK_LIBRARY="$X_LIBS"
21964 TOOLKIT_INCLUDE="$X_CFLAGS"
21965 AFMINSTALL=afminstall
21966 COMPILED_X_PROGRAM=0
21967
21968 if test "$wxUSE_NANOX" = "yes"; then
21969 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21970 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21971 if test "x$MICROWIN" = x ; then
21972 echo "$as_me:$LINENO: result: not found" >&5
21973 echo "${ECHO_T}not found" >&6
21974 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21975 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21976 { (exit 1); exit 1; }; }
21977 else
21978 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21979 echo "${ECHO_T}$MICROWIN" >&6
21980 cat >>confdefs.h <<\_ACEOF
21981 #define wxUSE_NANOX 1
21982 _ACEOF
21983
21984 fi
21985 fi
21986
21987 xpm_link=
21988 echo "$as_me:$LINENO: checking for Xpm library" >&5
21989 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
21990
21991 ac_find_libraries=
21992 for ac_dir in $SEARCH_LIB /usr/lib;
21993 do
21994 for ac_extension in a so sl dylib; do
21995 if test -f "$ac_dir/libXpm.$ac_extension"; then
21996 ac_find_libraries=$ac_dir
21997 break 2
21998 fi
21999 done
22000 done
22001
22002 if test "$ac_find_libraries" != "" ; then
22003
22004 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22005 result=$?
22006 if test $result = 0; then
22007 ac_path_to_link=""
22008 else
22009 ac_path_to_link=" -L$ac_find_libraries"
22010 fi
22011
22012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22013 xpm_link=" -lXpm"
22014 cat >>confdefs.h <<\_ACEOF
22015 #define wxHAVE_LIB_XPM 1
22016 _ACEOF
22017
22018 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22019 echo "${ECHO_T}found at $ac_find_libraries" >&6
22020 else
22021 cat >conftest.$ac_ext <<_ACEOF
22022 #line $LINENO "configure"
22023 /* confdefs.h. */
22024 _ACEOF
22025 cat confdefs.h >>conftest.$ac_ext
22026 cat >>conftest.$ac_ext <<_ACEOF
22027 /* end confdefs.h. */
22028
22029 #include <X11/xpm.h>
22030
22031 int
22032 main ()
22033 {
22034
22035 int version;
22036 version = XpmLibraryVersion();
22037
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 rm -f conftest.$ac_objext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22044 (eval $ac_compile) 2>&5
22045 ac_status=$?
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -s conftest.$ac_objext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22051 ac_status=$?
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054
22055 xpm_link=" -lXpm"
22056 cat >>confdefs.h <<\_ACEOF
22057 #define wxHAVE_LIB_XPM 1
22058 _ACEOF
22059
22060 echo "$as_me:$LINENO: result: found in default search path" >&5
22061 echo "${ECHO_T}found in default search path" >&6
22062 COMPILED_X_PROGRAM=0
22063
22064 else
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22067
22068
22069 echo "$as_me:$LINENO: result: no" >&5
22070 echo "${ECHO_T}no" >&6
22071 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22072 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22073
22074
22075 fi
22076 rm -f conftest.$ac_objext conftest.$ac_ext
22077 fi
22078
22079 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22080 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22081 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22082 echo $ECHO_N "(cached) $ECHO_C" >&6
22083 else
22084 ac_check_lib_save_LIBS=$LIBS
22085 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22086 cat >conftest.$ac_ext <<_ACEOF
22087 #line $LINENO "configure"
22088 /* confdefs.h. */
22089 _ACEOF
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22093
22094 /* Override any gcc2 internal prototype to avoid an error. */
22095 #ifdef __cplusplus
22096 extern "C"
22097 #endif
22098 /* We use char because int might match the return type of a gcc2
22099 builtin and then its argument prototype would still apply. */
22100 char XShapeQueryExtension ();
22101 int
22102 main ()
22103 {
22104 XShapeQueryExtension ();
22105 ;
22106 return 0;
22107 }
22108 _ACEOF
22109 rm -f conftest.$ac_objext conftest$ac_exeext
22110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22111 (eval $ac_link) 2>&5
22112 ac_status=$?
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -s conftest$ac_exeext'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; }; then
22121 ac_cv_lib_Xext_XShapeQueryExtension=yes
22122 else
22123 echo "$as_me: failed program was:" >&5
22124 sed 's/^/| /' conftest.$ac_ext >&5
22125
22126 ac_cv_lib_Xext_XShapeQueryExtension=no
22127 fi
22128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22129 LIBS=$ac_check_lib_save_LIBS
22130 fi
22131 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22132 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22133 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22134
22135 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22136 wxHAVE_XEXT_LIB=1
22137
22138 fi
22139
22140
22141 if test "$wxUSE_UNICODE" = "yes"; then
22142
22143 succeeded=no
22144
22145 if test -z "$PKG_CONFIG"; then
22146 # Extract the first word of "pkg-config", so it can be a program name with args.
22147 set dummy pkg-config; ac_word=$2
22148 echo "$as_me:$LINENO: checking for $ac_word" >&5
22149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22151 echo $ECHO_N "(cached) $ECHO_C" >&6
22152 else
22153 case $PKG_CONFIG in
22154 [\\/]* | ?:[\\/]*)
22155 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22156 ;;
22157 *)
22158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22159 for as_dir in $PATH
22160 do
22161 IFS=$as_save_IFS
22162 test -z "$as_dir" && as_dir=.
22163 for ac_exec_ext in '' $ac_executable_extensions; do
22164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22165 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22167 break 2
22168 fi
22169 done
22170 done
22171
22172 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22173 ;;
22174 esac
22175 fi
22176 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22177
22178 if test -n "$PKG_CONFIG"; then
22179 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22180 echo "${ECHO_T}$PKG_CONFIG" >&6
22181 else
22182 echo "$as_me:$LINENO: result: no" >&5
22183 echo "${ECHO_T}no" >&6
22184 fi
22185
22186 fi
22187
22188 if test "$PKG_CONFIG" = "no" ; then
22189 echo "*** The pkg-config script could not be found. Make sure it is"
22190 echo "*** in your path, or set the PKG_CONFIG environment variable"
22191 echo "*** to the full path to pkg-config."
22192 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22193 else
22194 PKG_CONFIG_MIN_VERSION=0.9.0
22195 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22196 echo "$as_me:$LINENO: checking for pangox" >&5
22197 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22198
22199 if $PKG_CONFIG --exists "pangox" ; then
22200 echo "$as_me:$LINENO: result: yes" >&5
22201 echo "${ECHO_T}yes" >&6
22202 succeeded=yes
22203
22204 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22205 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22206 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22207 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22208 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22209
22210 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22211 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22212 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22213 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22214 echo "${ECHO_T}$PANGOX_LIBS" >&6
22215 else
22216 PANGOX_CFLAGS=""
22217 PANGOX_LIBS=""
22218 ## If we have a custom action on failure, don't print errors, but
22219 ## do set a variable so people can do so.
22220 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22221
22222 fi
22223
22224
22225
22226 else
22227 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22228 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22229 fi
22230 fi
22231
22232 if test $succeeded = yes; then
22233
22234 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22235 LIBS="$LIBS $PANGOX_LIBS"
22236
22237 else
22238
22239 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22240 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22241 { (exit 1); exit 1; }; }
22242
22243
22244 fi
22245
22246
22247 succeeded=no
22248
22249 if test -z "$PKG_CONFIG"; then
22250 # Extract the first word of "pkg-config", so it can be a program name with args.
22251 set dummy pkg-config; ac_word=$2
22252 echo "$as_me:$LINENO: checking for $ac_word" >&5
22253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22254 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22255 echo $ECHO_N "(cached) $ECHO_C" >&6
22256 else
22257 case $PKG_CONFIG in
22258 [\\/]* | ?:[\\/]*)
22259 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22260 ;;
22261 *)
22262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22263 for as_dir in $PATH
22264 do
22265 IFS=$as_save_IFS
22266 test -z "$as_dir" && as_dir=.
22267 for ac_exec_ext in '' $ac_executable_extensions; do
22268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22269 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22271 break 2
22272 fi
22273 done
22274 done
22275
22276 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22277 ;;
22278 esac
22279 fi
22280 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22281
22282 if test -n "$PKG_CONFIG"; then
22283 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22284 echo "${ECHO_T}$PKG_CONFIG" >&6
22285 else
22286 echo "$as_me:$LINENO: result: no" >&5
22287 echo "${ECHO_T}no" >&6
22288 fi
22289
22290 fi
22291
22292 if test "$PKG_CONFIG" = "no" ; then
22293 echo "*** The pkg-config script could not be found. Make sure it is"
22294 echo "*** in your path, or set the PKG_CONFIG environment variable"
22295 echo "*** to the full path to pkg-config."
22296 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22297 else
22298 PKG_CONFIG_MIN_VERSION=0.9.0
22299 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22300 echo "$as_me:$LINENO: checking for pangoft2" >&5
22301 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22302
22303 if $PKG_CONFIG --exists "pangoft2" ; then
22304 echo "$as_me:$LINENO: result: yes" >&5
22305 echo "${ECHO_T}yes" >&6
22306 succeeded=yes
22307
22308 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22309 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22310 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22311 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22312 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22313
22314 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22315 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22316 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22317 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22318 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22319 else
22320 PANGOFT2_CFLAGS=""
22321 PANGOFT2_LIBS=""
22322 ## If we have a custom action on failure, don't print errors, but
22323 ## do set a variable so people can do so.
22324 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22325
22326 fi
22327
22328
22329
22330 else
22331 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22332 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22333 fi
22334 fi
22335
22336 if test $succeeded = yes; then
22337
22338 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22339 LIBS="$LIBS $PANGOFT2_LIBS"
22340
22341 else
22342
22343 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22344 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22345 wxUSE_PRINTING_ARCHITECTURE="no"
22346
22347
22348 fi
22349
22350
22351 succeeded=no
22352
22353 if test -z "$PKG_CONFIG"; then
22354 # Extract the first word of "pkg-config", so it can be a program name with args.
22355 set dummy pkg-config; ac_word=$2
22356 echo "$as_me:$LINENO: checking for $ac_word" >&5
22357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22358 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22359 echo $ECHO_N "(cached) $ECHO_C" >&6
22360 else
22361 case $PKG_CONFIG in
22362 [\\/]* | ?:[\\/]*)
22363 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22364 ;;
22365 *)
22366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22367 for as_dir in $PATH
22368 do
22369 IFS=$as_save_IFS
22370 test -z "$as_dir" && as_dir=.
22371 for ac_exec_ext in '' $ac_executable_extensions; do
22372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22373 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22375 break 2
22376 fi
22377 done
22378 done
22379
22380 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22381 ;;
22382 esac
22383 fi
22384 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22385
22386 if test -n "$PKG_CONFIG"; then
22387 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22388 echo "${ECHO_T}$PKG_CONFIG" >&6
22389 else
22390 echo "$as_me:$LINENO: result: no" >&5
22391 echo "${ECHO_T}no" >&6
22392 fi
22393
22394 fi
22395
22396 if test "$PKG_CONFIG" = "no" ; then
22397 echo "*** The pkg-config script could not be found. Make sure it is"
22398 echo "*** in your path, or set the PKG_CONFIG environment variable"
22399 echo "*** to the full path to pkg-config."
22400 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22401 else
22402 PKG_CONFIG_MIN_VERSION=0.9.0
22403 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22404 echo "$as_me:$LINENO: checking for pangoxft" >&5
22405 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22406
22407 if $PKG_CONFIG --exists "pangoxft" ; then
22408 echo "$as_me:$LINENO: result: yes" >&5
22409 echo "${ECHO_T}yes" >&6
22410 succeeded=yes
22411
22412 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22413 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22414 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22415 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22416 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22417
22418 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22419 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22420 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22421 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22422 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22423 else
22424 PANGOXFT_CFLAGS=""
22425 PANGOXFT_LIBS=""
22426 ## If we have a custom action on failure, don't print errors, but
22427 ## do set a variable so people can do so.
22428 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22429
22430 fi
22431
22432
22433
22434 else
22435 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22436 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22437 fi
22438 fi
22439
22440 if test $succeeded = yes; then
22441
22442 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22443 LIBS="$LIBS $PANGOXFT_LIBS"
22444
22445 else
22446
22447 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22448 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22449
22450
22451 fi
22452
22453 fi
22454
22455 wxUSE_UNIVERSAL="yes"
22456
22457 if test "$wxUSE_NANOX" = "yes"; then
22458 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22459 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"
22460 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22461 else
22462 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22463 fi
22464
22465 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22466 TOOLKIT=X11
22467 GUIDIST=X11_DIST
22468 fi
22469
22470 if test "$wxUSE_MOTIF" = 1; then
22471 if test "$no_x" = yes; then
22472 # Not all programs may use this symbol, but it does not hurt to define it.
22473
22474 cat >>confdefs.h <<\_ACEOF
22475 #define X_DISPLAY_MISSING 1
22476 _ACEOF
22477
22478 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22479 else
22480 if test -n "$x_includes"; then
22481 X_CFLAGS="$X_CFLAGS -I$x_includes"
22482 fi
22483
22484 # It would also be nice to do this for all -L options, not just this one.
22485 if test -n "$x_libraries"; then
22486 X_LIBS="$X_LIBS -L$x_libraries"
22487 # For Solaris; some versions of Sun CC require a space after -R and
22488 # others require no space. Words are not sufficient . . . .
22489 case `(uname -sr) 2>/dev/null` in
22490 "SunOS 5"*)
22491 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22492 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22493 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22494 cat >conftest.$ac_ext <<_ACEOF
22495 #line $LINENO "configure"
22496 /* confdefs.h. */
22497 _ACEOF
22498 cat confdefs.h >>conftest.$ac_ext
22499 cat >>conftest.$ac_ext <<_ACEOF
22500 /* end confdefs.h. */
22501
22502 int
22503 main ()
22504 {
22505
22506 ;
22507 return 0;
22508 }
22509 _ACEOF
22510 rm -f conftest.$ac_objext conftest$ac_exeext
22511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22512 (eval $ac_link) 2>&5
22513 ac_status=$?
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } &&
22516 { ac_try='test -s conftest$ac_exeext'
22517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518 (eval $ac_try) 2>&5
22519 ac_status=$?
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; }; then
22522 ac_R_nospace=yes
22523 else
22524 echo "$as_me: failed program was:" >&5
22525 sed 's/^/| /' conftest.$ac_ext >&5
22526
22527 ac_R_nospace=no
22528 fi
22529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22530 if test $ac_R_nospace = yes; then
22531 echo "$as_me:$LINENO: result: no" >&5
22532 echo "${ECHO_T}no" >&6
22533 X_LIBS="$X_LIBS -R$x_libraries"
22534 else
22535 LIBS="$ac_xsave_LIBS -R $x_libraries"
22536 cat >conftest.$ac_ext <<_ACEOF
22537 #line $LINENO "configure"
22538 /* confdefs.h. */
22539 _ACEOF
22540 cat confdefs.h >>conftest.$ac_ext
22541 cat >>conftest.$ac_ext <<_ACEOF
22542 /* end confdefs.h. */
22543
22544 int
22545 main ()
22546 {
22547
22548 ;
22549 return 0;
22550 }
22551 _ACEOF
22552 rm -f conftest.$ac_objext conftest$ac_exeext
22553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22554 (eval $ac_link) 2>&5
22555 ac_status=$?
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -s conftest$ac_exeext'
22559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22560 (eval $ac_try) 2>&5
22561 ac_status=$?
22562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563 (exit $ac_status); }; }; then
22564 ac_R_space=yes
22565 else
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.$ac_ext >&5
22568
22569 ac_R_space=no
22570 fi
22571 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22572 if test $ac_R_space = yes; then
22573 echo "$as_me:$LINENO: result: yes" >&5
22574 echo "${ECHO_T}yes" >&6
22575 X_LIBS="$X_LIBS -R $x_libraries"
22576 else
22577 echo "$as_me:$LINENO: result: neither works" >&5
22578 echo "${ECHO_T}neither works" >&6
22579 fi
22580 fi
22581 LIBS=$ac_xsave_LIBS
22582 esac
22583 fi
22584
22585 # Check for system-dependent libraries X programs must link with.
22586 # Do this before checking for the system-independent R6 libraries
22587 # (-lICE), since we may need -lsocket or whatever for X linking.
22588
22589 if test "$ISC" = yes; then
22590 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22591 else
22592 # Martyn Johnson says this is needed for Ultrix, if the X
22593 # libraries were built with DECnet support. And Karl Berry says
22594 # the Alpha needs dnet_stub (dnet does not exist).
22595 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22596 cat >conftest.$ac_ext <<_ACEOF
22597 #line $LINENO "configure"
22598 /* confdefs.h. */
22599 _ACEOF
22600 cat confdefs.h >>conftest.$ac_ext
22601 cat >>conftest.$ac_ext <<_ACEOF
22602 /* end confdefs.h. */
22603
22604 /* Override any gcc2 internal prototype to avoid an error. */
22605 #ifdef __cplusplus
22606 extern "C"
22607 #endif
22608 /* We use char because int might match the return type of a gcc2
22609 builtin and then its argument prototype would still apply. */
22610 char XOpenDisplay ();
22611 int
22612 main ()
22613 {
22614 XOpenDisplay ();
22615 ;
22616 return 0;
22617 }
22618 _ACEOF
22619 rm -f conftest.$ac_objext conftest$ac_exeext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22621 (eval $ac_link) 2>&5
22622 ac_status=$?
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } &&
22625 { ac_try='test -s conftest$ac_exeext'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; }; then
22631 :
22632 else
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.$ac_ext >&5
22635
22636 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22637 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22638 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22639 echo $ECHO_N "(cached) $ECHO_C" >&6
22640 else
22641 ac_check_lib_save_LIBS=$LIBS
22642 LIBS="-ldnet $LIBS"
22643 cat >conftest.$ac_ext <<_ACEOF
22644 #line $LINENO "configure"
22645 /* confdefs.h. */
22646 _ACEOF
22647 cat confdefs.h >>conftest.$ac_ext
22648 cat >>conftest.$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22650
22651 /* Override any gcc2 internal prototype to avoid an error. */
22652 #ifdef __cplusplus
22653 extern "C"
22654 #endif
22655 /* We use char because int might match the return type of a gcc2
22656 builtin and then its argument prototype would still apply. */
22657 char dnet_ntoa ();
22658 int
22659 main ()
22660 {
22661 dnet_ntoa ();
22662 ;
22663 return 0;
22664 }
22665 _ACEOF
22666 rm -f conftest.$ac_objext conftest$ac_exeext
22667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22668 (eval $ac_link) 2>&5
22669 ac_status=$?
22670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 (exit $ac_status); } &&
22672 { ac_try='test -s conftest$ac_exeext'
22673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22674 (eval $ac_try) 2>&5
22675 ac_status=$?
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); }; }; then
22678 ac_cv_lib_dnet_dnet_ntoa=yes
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 ac_cv_lib_dnet_dnet_ntoa=no
22684 fi
22685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22686 LIBS=$ac_check_lib_save_LIBS
22687 fi
22688 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22689 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22690 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22691 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22692 fi
22693
22694 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22695 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22696 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22697 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22698 echo $ECHO_N "(cached) $ECHO_C" >&6
22699 else
22700 ac_check_lib_save_LIBS=$LIBS
22701 LIBS="-ldnet_stub $LIBS"
22702 cat >conftest.$ac_ext <<_ACEOF
22703 #line $LINENO "configure"
22704 /* confdefs.h. */
22705 _ACEOF
22706 cat confdefs.h >>conftest.$ac_ext
22707 cat >>conftest.$ac_ext <<_ACEOF
22708 /* end confdefs.h. */
22709
22710 /* Override any gcc2 internal prototype to avoid an error. */
22711 #ifdef __cplusplus
22712 extern "C"
22713 #endif
22714 /* We use char because int might match the return type of a gcc2
22715 builtin and then its argument prototype would still apply. */
22716 char dnet_ntoa ();
22717 int
22718 main ()
22719 {
22720 dnet_ntoa ();
22721 ;
22722 return 0;
22723 }
22724 _ACEOF
22725 rm -f conftest.$ac_objext conftest$ac_exeext
22726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22727 (eval $ac_link) 2>&5
22728 ac_status=$?
22729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22730 (exit $ac_status); } &&
22731 { ac_try='test -s conftest$ac_exeext'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22734 ac_status=$?
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; }; then
22737 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22738 else
22739 echo "$as_me: failed program was:" >&5
22740 sed 's/^/| /' conftest.$ac_ext >&5
22741
22742 ac_cv_lib_dnet_stub_dnet_ntoa=no
22743 fi
22744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22745 LIBS=$ac_check_lib_save_LIBS
22746 fi
22747 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22748 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22749 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22750 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22751 fi
22752
22753 fi
22754 fi
22755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22756 LIBS="$ac_xsave_LIBS"
22757
22758 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22759 # to get the SysV transport functions.
22760 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22761 # needs -lnsl.
22762 # The nsl library prevents programs from opening the X display
22763 # on Irix 5.2, according to T.E. Dickey.
22764 # The functions gethostbyname, getservbyname, and inet_addr are
22765 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22766 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22767 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22768 if test "${ac_cv_func_gethostbyname+set}" = set; then
22769 echo $ECHO_N "(cached) $ECHO_C" >&6
22770 else
22771 cat >conftest.$ac_ext <<_ACEOF
22772 #line $LINENO "configure"
22773 /* confdefs.h. */
22774 _ACEOF
22775 cat confdefs.h >>conftest.$ac_ext
22776 cat >>conftest.$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22778 /* System header to define __stub macros and hopefully few prototypes,
22779 which can conflict with char gethostbyname (); below.
22780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22781 <limits.h> exists even on freestanding compilers. */
22782 #ifdef __STDC__
22783 # include <limits.h>
22784 #else
22785 # include <assert.h>
22786 #endif
22787 /* Override any gcc2 internal prototype to avoid an error. */
22788 #ifdef __cplusplus
22789 extern "C"
22790 {
22791 #endif
22792 /* We use char because int might match the return type of a gcc2
22793 builtin and then its argument prototype would still apply. */
22794 char gethostbyname ();
22795 /* The GNU C library defines this for functions which it implements
22796 to always fail with ENOSYS. Some functions are actually named
22797 something starting with __ and the normal name is an alias. */
22798 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22799 choke me
22800 #else
22801 char (*f) () = gethostbyname;
22802 #endif
22803 #ifdef __cplusplus
22804 }
22805 #endif
22806
22807 int
22808 main ()
22809 {
22810 return f != gethostbyname;
22811 ;
22812 return 0;
22813 }
22814 _ACEOF
22815 rm -f conftest.$ac_objext conftest$ac_exeext
22816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22817 (eval $ac_link) 2>&5
22818 ac_status=$?
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); } &&
22821 { ac_try='test -s conftest$ac_exeext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22824 ac_status=$?
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 ac_cv_func_gethostbyname=yes
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 ac_cv_func_gethostbyname=no
22833 fi
22834 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22835 fi
22836 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22837 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22838
22839 if test $ac_cv_func_gethostbyname = no; then
22840 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22841 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22842 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22843 echo $ECHO_N "(cached) $ECHO_C" >&6
22844 else
22845 ac_check_lib_save_LIBS=$LIBS
22846 LIBS="-lnsl $LIBS"
22847 cat >conftest.$ac_ext <<_ACEOF
22848 #line $LINENO "configure"
22849 /* confdefs.h. */
22850 _ACEOF
22851 cat confdefs.h >>conftest.$ac_ext
22852 cat >>conftest.$ac_ext <<_ACEOF
22853 /* end confdefs.h. */
22854
22855 /* Override any gcc2 internal prototype to avoid an error. */
22856 #ifdef __cplusplus
22857 extern "C"
22858 #endif
22859 /* We use char because int might match the return type of a gcc2
22860 builtin and then its argument prototype would still apply. */
22861 char gethostbyname ();
22862 int
22863 main ()
22864 {
22865 gethostbyname ();
22866 ;
22867 return 0;
22868 }
22869 _ACEOF
22870 rm -f conftest.$ac_objext conftest$ac_exeext
22871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22872 (eval $ac_link) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } &&
22876 { ac_try='test -s conftest$ac_exeext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 ac_cv_lib_nsl_gethostbyname=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22886
22887 ac_cv_lib_nsl_gethostbyname=no
22888 fi
22889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22890 LIBS=$ac_check_lib_save_LIBS
22891 fi
22892 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22893 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22894 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22895 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22896 fi
22897
22898 if test $ac_cv_lib_nsl_gethostbyname = no; then
22899 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22900 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22901 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22902 echo $ECHO_N "(cached) $ECHO_C" >&6
22903 else
22904 ac_check_lib_save_LIBS=$LIBS
22905 LIBS="-lbsd $LIBS"
22906 cat >conftest.$ac_ext <<_ACEOF
22907 #line $LINENO "configure"
22908 /* confdefs.h. */
22909 _ACEOF
22910 cat confdefs.h >>conftest.$ac_ext
22911 cat >>conftest.$ac_ext <<_ACEOF
22912 /* end confdefs.h. */
22913
22914 /* Override any gcc2 internal prototype to avoid an error. */
22915 #ifdef __cplusplus
22916 extern "C"
22917 #endif
22918 /* We use char because int might match the return type of a gcc2
22919 builtin and then its argument prototype would still apply. */
22920 char gethostbyname ();
22921 int
22922 main ()
22923 {
22924 gethostbyname ();
22925 ;
22926 return 0;
22927 }
22928 _ACEOF
22929 rm -f conftest.$ac_objext conftest$ac_exeext
22930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22931 (eval $ac_link) 2>&5
22932 ac_status=$?
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); } &&
22935 { ac_try='test -s conftest$ac_exeext'
22936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22937 (eval $ac_try) 2>&5
22938 ac_status=$?
22939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22940 (exit $ac_status); }; }; then
22941 ac_cv_lib_bsd_gethostbyname=yes
22942 else
22943 echo "$as_me: failed program was:" >&5
22944 sed 's/^/| /' conftest.$ac_ext >&5
22945
22946 ac_cv_lib_bsd_gethostbyname=no
22947 fi
22948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22949 LIBS=$ac_check_lib_save_LIBS
22950 fi
22951 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22952 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22953 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22954 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22955 fi
22956
22957 fi
22958 fi
22959
22960 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22961 # socket/setsockopt and other routines are undefined under SCO ODT
22962 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22963 # on later versions), says Simon Leinen: it contains gethostby*
22964 # variants that don't use the name server (or something). -lsocket
22965 # must be given before -lnsl if both are needed. We assume that
22966 # if connect needs -lnsl, so does gethostbyname.
22967 echo "$as_me:$LINENO: checking for connect" >&5
22968 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22969 if test "${ac_cv_func_connect+set}" = set; then
22970 echo $ECHO_N "(cached) $ECHO_C" >&6
22971 else
22972 cat >conftest.$ac_ext <<_ACEOF
22973 #line $LINENO "configure"
22974 /* confdefs.h. */
22975 _ACEOF
22976 cat confdefs.h >>conftest.$ac_ext
22977 cat >>conftest.$ac_ext <<_ACEOF
22978 /* end confdefs.h. */
22979 /* System header to define __stub macros and hopefully few prototypes,
22980 which can conflict with char connect (); below.
22981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22982 <limits.h> exists even on freestanding compilers. */
22983 #ifdef __STDC__
22984 # include <limits.h>
22985 #else
22986 # include <assert.h>
22987 #endif
22988 /* Override any gcc2 internal prototype to avoid an error. */
22989 #ifdef __cplusplus
22990 extern "C"
22991 {
22992 #endif
22993 /* We use char because int might match the return type of a gcc2
22994 builtin and then its argument prototype would still apply. */
22995 char connect ();
22996 /* The GNU C library defines this for functions which it implements
22997 to always fail with ENOSYS. Some functions are actually named
22998 something starting with __ and the normal name is an alias. */
22999 #if defined (__stub_connect) || defined (__stub___connect)
23000 choke me
23001 #else
23002 char (*f) () = connect;
23003 #endif
23004 #ifdef __cplusplus
23005 }
23006 #endif
23007
23008 int
23009 main ()
23010 {
23011 return f != connect;
23012 ;
23013 return 0;
23014 }
23015 _ACEOF
23016 rm -f conftest.$ac_objext conftest$ac_exeext
23017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23018 (eval $ac_link) 2>&5
23019 ac_status=$?
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); } &&
23022 { ac_try='test -s conftest$ac_exeext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 ac_cv_func_connect=yes
23029 else
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.$ac_ext >&5
23032
23033 ac_cv_func_connect=no
23034 fi
23035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23036 fi
23037 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23038 echo "${ECHO_T}$ac_cv_func_connect" >&6
23039
23040 if test $ac_cv_func_connect = no; then
23041 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23042 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23043 if test "${ac_cv_lib_socket_connect+set}" = set; then
23044 echo $ECHO_N "(cached) $ECHO_C" >&6
23045 else
23046 ac_check_lib_save_LIBS=$LIBS
23047 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23048 cat >conftest.$ac_ext <<_ACEOF
23049 #line $LINENO "configure"
23050 /* confdefs.h. */
23051 _ACEOF
23052 cat confdefs.h >>conftest.$ac_ext
23053 cat >>conftest.$ac_ext <<_ACEOF
23054 /* end confdefs.h. */
23055
23056 /* Override any gcc2 internal prototype to avoid an error. */
23057 #ifdef __cplusplus
23058 extern "C"
23059 #endif
23060 /* We use char because int might match the return type of a gcc2
23061 builtin and then its argument prototype would still apply. */
23062 char connect ();
23063 int
23064 main ()
23065 {
23066 connect ();
23067 ;
23068 return 0;
23069 }
23070 _ACEOF
23071 rm -f conftest.$ac_objext conftest$ac_exeext
23072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23073 (eval $ac_link) 2>&5
23074 ac_status=$?
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); } &&
23077 { ac_try='test -s conftest$ac_exeext'
23078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23079 (eval $ac_try) 2>&5
23080 ac_status=$?
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); }; }; then
23083 ac_cv_lib_socket_connect=yes
23084 else
23085 echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.$ac_ext >&5
23087
23088 ac_cv_lib_socket_connect=no
23089 fi
23090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23091 LIBS=$ac_check_lib_save_LIBS
23092 fi
23093 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23094 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23095 if test $ac_cv_lib_socket_connect = yes; then
23096 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23097 fi
23098
23099 fi
23100
23101 # Guillermo Gomez says -lposix is necessary on A/UX.
23102 echo "$as_me:$LINENO: checking for remove" >&5
23103 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23104 if test "${ac_cv_func_remove+set}" = set; then
23105 echo $ECHO_N "(cached) $ECHO_C" >&6
23106 else
23107 cat >conftest.$ac_ext <<_ACEOF
23108 #line $LINENO "configure"
23109 /* confdefs.h. */
23110 _ACEOF
23111 cat confdefs.h >>conftest.$ac_ext
23112 cat >>conftest.$ac_ext <<_ACEOF
23113 /* end confdefs.h. */
23114 /* System header to define __stub macros and hopefully few prototypes,
23115 which can conflict with char remove (); below.
23116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23117 <limits.h> exists even on freestanding compilers. */
23118 #ifdef __STDC__
23119 # include <limits.h>
23120 #else
23121 # include <assert.h>
23122 #endif
23123 /* Override any gcc2 internal prototype to avoid an error. */
23124 #ifdef __cplusplus
23125 extern "C"
23126 {
23127 #endif
23128 /* We use char because int might match the return type of a gcc2
23129 builtin and then its argument prototype would still apply. */
23130 char remove ();
23131 /* The GNU C library defines this for functions which it implements
23132 to always fail with ENOSYS. Some functions are actually named
23133 something starting with __ and the normal name is an alias. */
23134 #if defined (__stub_remove) || defined (__stub___remove)
23135 choke me
23136 #else
23137 char (*f) () = remove;
23138 #endif
23139 #ifdef __cplusplus
23140 }
23141 #endif
23142
23143 int
23144 main ()
23145 {
23146 return f != remove;
23147 ;
23148 return 0;
23149 }
23150 _ACEOF
23151 rm -f conftest.$ac_objext conftest$ac_exeext
23152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23153 (eval $ac_link) 2>&5
23154 ac_status=$?
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } &&
23157 { ac_try='test -s conftest$ac_exeext'
23158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23159 (eval $ac_try) 2>&5
23160 ac_status=$?
23161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23162 (exit $ac_status); }; }; then
23163 ac_cv_func_remove=yes
23164 else
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 ac_cv_func_remove=no
23169 fi
23170 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23171 fi
23172 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23173 echo "${ECHO_T}$ac_cv_func_remove" >&6
23174
23175 if test $ac_cv_func_remove = no; then
23176 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23177 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23178 if test "${ac_cv_lib_posix_remove+set}" = set; then
23179 echo $ECHO_N "(cached) $ECHO_C" >&6
23180 else
23181 ac_check_lib_save_LIBS=$LIBS
23182 LIBS="-lposix $LIBS"
23183 cat >conftest.$ac_ext <<_ACEOF
23184 #line $LINENO "configure"
23185 /* confdefs.h. */
23186 _ACEOF
23187 cat confdefs.h >>conftest.$ac_ext
23188 cat >>conftest.$ac_ext <<_ACEOF
23189 /* end confdefs.h. */
23190
23191 /* Override any gcc2 internal prototype to avoid an error. */
23192 #ifdef __cplusplus
23193 extern "C"
23194 #endif
23195 /* We use char because int might match the return type of a gcc2
23196 builtin and then its argument prototype would still apply. */
23197 char remove ();
23198 int
23199 main ()
23200 {
23201 remove ();
23202 ;
23203 return 0;
23204 }
23205 _ACEOF
23206 rm -f conftest.$ac_objext conftest$ac_exeext
23207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23208 (eval $ac_link) 2>&5
23209 ac_status=$?
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); } &&
23212 { ac_try='test -s conftest$ac_exeext'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23215 ac_status=$?
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_lib_posix_remove=yes
23219 else
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23222
23223 ac_cv_lib_posix_remove=no
23224 fi
23225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23226 LIBS=$ac_check_lib_save_LIBS
23227 fi
23228 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23229 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23230 if test $ac_cv_lib_posix_remove = yes; then
23231 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23232 fi
23233
23234 fi
23235
23236 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23237 echo "$as_me:$LINENO: checking for shmat" >&5
23238 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23239 if test "${ac_cv_func_shmat+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23241 else
23242 cat >conftest.$ac_ext <<_ACEOF
23243 #line $LINENO "configure"
23244 /* confdefs.h. */
23245 _ACEOF
23246 cat confdefs.h >>conftest.$ac_ext
23247 cat >>conftest.$ac_ext <<_ACEOF
23248 /* end confdefs.h. */
23249 /* System header to define __stub macros and hopefully few prototypes,
23250 which can conflict with char shmat (); below.
23251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23252 <limits.h> exists even on freestanding compilers. */
23253 #ifdef __STDC__
23254 # include <limits.h>
23255 #else
23256 # include <assert.h>
23257 #endif
23258 /* Override any gcc2 internal prototype to avoid an error. */
23259 #ifdef __cplusplus
23260 extern "C"
23261 {
23262 #endif
23263 /* We use char because int might match the return type of a gcc2
23264 builtin and then its argument prototype would still apply. */
23265 char shmat ();
23266 /* The GNU C library defines this for functions which it implements
23267 to always fail with ENOSYS. Some functions are actually named
23268 something starting with __ and the normal name is an alias. */
23269 #if defined (__stub_shmat) || defined (__stub___shmat)
23270 choke me
23271 #else
23272 char (*f) () = shmat;
23273 #endif
23274 #ifdef __cplusplus
23275 }
23276 #endif
23277
23278 int
23279 main ()
23280 {
23281 return f != shmat;
23282 ;
23283 return 0;
23284 }
23285 _ACEOF
23286 rm -f conftest.$ac_objext conftest$ac_exeext
23287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23288 (eval $ac_link) 2>&5
23289 ac_status=$?
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); } &&
23292 { ac_try='test -s conftest$ac_exeext'
23293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23294 (eval $ac_try) 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); }; }; then
23298 ac_cv_func_shmat=yes
23299 else
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5
23302
23303 ac_cv_func_shmat=no
23304 fi
23305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23306 fi
23307 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23308 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23309
23310 if test $ac_cv_func_shmat = no; then
23311 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23312 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23313 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23314 echo $ECHO_N "(cached) $ECHO_C" >&6
23315 else
23316 ac_check_lib_save_LIBS=$LIBS
23317 LIBS="-lipc $LIBS"
23318 cat >conftest.$ac_ext <<_ACEOF
23319 #line $LINENO "configure"
23320 /* confdefs.h. */
23321 _ACEOF
23322 cat confdefs.h >>conftest.$ac_ext
23323 cat >>conftest.$ac_ext <<_ACEOF
23324 /* end confdefs.h. */
23325
23326 /* Override any gcc2 internal prototype to avoid an error. */
23327 #ifdef __cplusplus
23328 extern "C"
23329 #endif
23330 /* We use char because int might match the return type of a gcc2
23331 builtin and then its argument prototype would still apply. */
23332 char shmat ();
23333 int
23334 main ()
23335 {
23336 shmat ();
23337 ;
23338 return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext conftest$ac_exeext
23342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23343 (eval $ac_link) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); } &&
23347 { ac_try='test -s conftest$ac_exeext'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23350 ac_status=$?
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; }; then
23353 ac_cv_lib_ipc_shmat=yes
23354 else
23355 echo "$as_me: failed program was:" >&5
23356 sed 's/^/| /' conftest.$ac_ext >&5
23357
23358 ac_cv_lib_ipc_shmat=no
23359 fi
23360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23361 LIBS=$ac_check_lib_save_LIBS
23362 fi
23363 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23364 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23365 if test $ac_cv_lib_ipc_shmat = yes; then
23366 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23367 fi
23368
23369 fi
23370 fi
23371
23372 # Check for libraries that X11R6 Xt/Xaw programs need.
23373 ac_save_LDFLAGS=$LDFLAGS
23374 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23375 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23376 # check for ICE first), but we must link in the order -lSM -lICE or
23377 # we get undefined symbols. So assume we have SM if we have ICE.
23378 # These have to be linked with before -lX11, unlike the other
23379 # libraries we check for below, so use a different variable.
23380 # John Interrante, Karl Berry
23381 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23382 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23383 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23384 echo $ECHO_N "(cached) $ECHO_C" >&6
23385 else
23386 ac_check_lib_save_LIBS=$LIBS
23387 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23388 cat >conftest.$ac_ext <<_ACEOF
23389 #line $LINENO "configure"
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395
23396 /* Override any gcc2 internal prototype to avoid an error. */
23397 #ifdef __cplusplus
23398 extern "C"
23399 #endif
23400 /* We use char because int might match the return type of a gcc2
23401 builtin and then its argument prototype would still apply. */
23402 char IceConnectionNumber ();
23403 int
23404 main ()
23405 {
23406 IceConnectionNumber ();
23407 ;
23408 return 0;
23409 }
23410 _ACEOF
23411 rm -f conftest.$ac_objext conftest$ac_exeext
23412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23413 (eval $ac_link) 2>&5
23414 ac_status=$?
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try='test -s conftest$ac_exeext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 ac_cv_lib_ICE_IceConnectionNumber=yes
23424 else
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.$ac_ext >&5
23427
23428 ac_cv_lib_ICE_IceConnectionNumber=no
23429 fi
23430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23431 LIBS=$ac_check_lib_save_LIBS
23432 fi
23433 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23434 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23435 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23436 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23437 fi
23438
23439 LDFLAGS=$ac_save_LDFLAGS
23440
23441 fi
23442
23443
23444 if test "$no_x" = "yes"; then
23445 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23446 echo "$as_me: error: X11 not found" >&2;}
23447 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23448 fi
23449
23450 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23451 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23452 AFMINSTALL=afminstall
23453 COMPILED_X_PROGRAM=0
23454
23455 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23456 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23457
23458 ac_find_includes=
23459 for ac_dir in $SEARCH_INCLUDE /usr/include;
23460 do
23461 if test -f "$ac_dir/Xm/Xm.h"; then
23462 ac_find_includes=$ac_dir
23463 break
23464 fi
23465 done
23466
23467 if test "$ac_find_includes" != "" ; then
23468 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23469 echo "${ECHO_T}found in $ac_find_includes" >&6
23470
23471 if test "x$ac_find_includes" = "x/usr/include"; then
23472 ac_path_to_include=""
23473 else
23474 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23475 result=$?
23476 if test $result = 0; then
23477 ac_path_to_include=""
23478 else
23479 ac_path_to_include=" -I$ac_find_includes"
23480 fi
23481 fi
23482
23483 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23484 else
23485 cat >conftest.$ac_ext <<_ACEOF
23486 #line $LINENO "configure"
23487 /* confdefs.h. */
23488 _ACEOF
23489 cat confdefs.h >>conftest.$ac_ext
23490 cat >>conftest.$ac_ext <<_ACEOF
23491 /* end confdefs.h. */
23492
23493 #include <Xm/Xm.h>
23494
23495 int
23496 main ()
23497 {
23498
23499 int version;
23500 version = xmUseVersion;
23501
23502 ;
23503 return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23508 (eval $ac_compile) 2>&5
23509 ac_status=$?
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try='test -s conftest.$ac_objext'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23515 ac_status=$?
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23518
23519 echo "$as_me:$LINENO: result: found in default search path" >&5
23520 echo "${ECHO_T}found in default search path" >&6
23521 COMPILED_X_PROGRAM=1
23522
23523 else
23524 echo "$as_me: failed program was:" >&5
23525 sed 's/^/| /' conftest.$ac_ext >&5
23526
23527
23528 echo "$as_me:$LINENO: result: no" >&5
23529 echo "${ECHO_T}no" >&6
23530 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23531 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23532 { (exit 1); exit 1; }; }
23533
23534
23535 fi
23536 rm -f conftest.$ac_objext conftest.$ac_ext
23537 fi
23538
23539 if test "$COMPILED_X_PROGRAM" = 0; then
23540 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23541 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23542
23543 ac_find_libraries=
23544 for ac_dir in $SEARCH_LIB /usr/lib;
23545 do
23546 for ac_extension in a so sl dylib; do
23547 if test -f "$ac_dir/libXm.$ac_extension"; then
23548 ac_find_libraries=$ac_dir
23549 break 2
23550 fi
23551 done
23552 done
23553
23554 if test "$ac_find_libraries" != "" ; then
23555 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23556 echo "${ECHO_T}found at $ac_find_libraries" >&6
23557
23558
23559 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23560 result=$?
23561 if test $result = 0; then
23562 ac_path_to_link=""
23563 else
23564 ac_path_to_link=" -L$ac_find_libraries"
23565 fi
23566
23567 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23568 else
23569 save_CFLAGS=$CFLAGS
23570 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23571
23572 cat >conftest.$ac_ext <<_ACEOF
23573 #line $LINENO "configure"
23574 /* confdefs.h. */
23575 _ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579
23580 #include <Xm/Xm.h>
23581
23582 int
23583 main ()
23584 {
23585
23586 int version;
23587 version = xmUseVersion;
23588
23589 ;
23590 return 0;
23591 }
23592 _ACEOF
23593 rm -f conftest.$ac_objext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23595 (eval $ac_compile) 2>&5
23596 ac_status=$?
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try='test -s conftest.$ac_objext'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23602 ac_status=$?
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605
23606 echo "$as_me:$LINENO: result: found in default search path" >&5
23607 echo "${ECHO_T}found in default search path" >&6
23608 COMPILED_X_PROGRAM=1
23609
23610 else
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.$ac_ext >&5
23613
23614
23615 echo "$as_me:$LINENO: result: no" >&5
23616 echo "${ECHO_T}no" >&6
23617 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23618 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23619 { (exit 1); exit 1; }; }
23620
23621
23622 fi
23623 rm -f conftest.$ac_objext conftest.$ac_ext
23624
23625 CFLAGS=$save_CFLAGS
23626 fi
23627 fi
23628
23629 xpm_link=
23630 echo "$as_me:$LINENO: checking for Xpm library" >&5
23631 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23632
23633 ac_find_libraries=
23634 for ac_dir in $SEARCH_LIB /usr/lib;
23635 do
23636 for ac_extension in a so sl dylib; do
23637 if test -f "$ac_dir/libXpm.$ac_extension"; then
23638 ac_find_libraries=$ac_dir
23639 break 2
23640 fi
23641 done
23642 done
23643
23644 if test "$ac_find_libraries" != "" ; then
23645
23646 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23647 result=$?
23648 if test $result = 0; then
23649 ac_path_to_link=""
23650 else
23651 ac_path_to_link=" -L$ac_find_libraries"
23652 fi
23653
23654 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23655
23656 xpm_link=" -lXpm"
23657 cat >>confdefs.h <<\_ACEOF
23658 #define wxHAVE_LIB_XPM 1
23659 _ACEOF
23660
23661 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23662 echo "${ECHO_T}found at $ac_find_libraries" >&6
23663 else
23664 save_CFLAGS=$CFLAGS
23665 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23666
23667 cat >conftest.$ac_ext <<_ACEOF
23668 #line $LINENO "configure"
23669 /* confdefs.h. */
23670 _ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674
23675 #include <X11/xpm.h>
23676
23677 int
23678 main ()
23679 {
23680
23681 int version;
23682 version = XpmLibraryVersion();
23683
23684 ;
23685 return 0;
23686 }
23687 _ACEOF
23688 rm -f conftest.$ac_objext
23689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23690 (eval $ac_compile) 2>&5
23691 ac_status=$?
23692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23693 (exit $ac_status); } &&
23694 { ac_try='test -s conftest.$ac_objext'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23697 ac_status=$?
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; }; then
23700
23701 xpm_link=" -lXpm"
23702 cat >>confdefs.h <<\_ACEOF
23703 #define wxHAVE_LIB_XPM 1
23704 _ACEOF
23705
23706 echo "$as_me:$LINENO: result: found in default search path" >&5
23707 echo "${ECHO_T}found in default search path" >&6
23708 COMPILED_X_PROGRAM=0
23709
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23713
23714
23715 echo "$as_me:$LINENO: result: no" >&5
23716 echo "${ECHO_T}no" >&6
23717 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23718 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23719
23720
23721 fi
23722 rm -f conftest.$ac_objext conftest.$ac_ext
23723
23724 CFLAGS=$save_CFLAGS
23725 fi
23726
23727 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23728 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23729 libp_link=""
23730 libsm_ice_link=""
23731 libs_found=0
23732 for libp in "" " -lXp"; do
23733 if test "$libs_found" = "0"; then
23734 for libsm_ice in " -lSM -lICE"; do
23735 if test "$libs_found" = "0"; then
23736 save_LIBS="$LIBS"
23737 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23738 save_CFLAGS=$CFLAGS
23739 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23740
23741 cat >conftest.$ac_ext <<_ACEOF
23742 #line $LINENO "configure"
23743 /* confdefs.h. */
23744 _ACEOF
23745 cat confdefs.h >>conftest.$ac_ext
23746 cat >>conftest.$ac_ext <<_ACEOF
23747 /* end confdefs.h. */
23748
23749 #include <Xm/Xm.h>
23750 #include <Xm/List.h>
23751
23752 int
23753 main ()
23754 {
23755
23756 XmString string = NULL;
23757 Widget w = NULL;
23758 int position = 0;
23759 XmListAddItem(w, string, position);
23760
23761 ;
23762 return 0;
23763 }
23764 _ACEOF
23765 rm -f conftest.$ac_objext conftest$ac_exeext
23766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23767 (eval $ac_link) 2>&5
23768 ac_status=$?
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try='test -s conftest$ac_exeext'
23772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23773 (eval $ac_try) 2>&5
23774 ac_status=$?
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); }; }; then
23777
23778 libp_link="$libp"
23779 libsm_ice_link="$libsm_ice"
23780 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23781 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23782 libs_found=1
23783
23784 else
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.$ac_ext >&5
23787
23788
23789
23790 fi
23791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23792
23793 LIBS="$save_LIBS"
23794 CFLAGS=$save_CFLAGS
23795 fi
23796 done
23797 fi
23798 done
23799
23800 if test "$libs_found" = "0"; then
23801 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23802 echo "${ECHO_T}can't find the right libraries" >&6
23803 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23804 echo "$as_me: error: can't link a simple motif program" >&2;}
23805 { (exit 1); exit 1; }; }
23806 fi
23807
23808 save_CFLAGS=$CFLAGS
23809 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23810 echo "$as_me:$LINENO: checking for Motif 2" >&5
23811 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23812 cat >conftest.$ac_ext <<_ACEOF
23813 #line $LINENO "configure"
23814 /* confdefs.h. */
23815 _ACEOF
23816 cat confdefs.h >>conftest.$ac_ext
23817 cat >>conftest.$ac_ext <<_ACEOF
23818 /* end confdefs.h. */
23819
23820 #include <Xm/Xm.h>
23821
23822 int
23823 main ()
23824 {
23825
23826 #if XmVersion < 2000
23827 #error "Not Motif 2"
23828 #endif
23829
23830 ;
23831 return 0;
23832 }
23833 _ACEOF
23834 rm -f conftest.$ac_objext
23835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23836 (eval $ac_compile) 2>&5
23837 ac_status=$?
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } &&
23840 { ac_try='test -s conftest.$ac_objext'
23841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23842 (eval $ac_try) 2>&5
23843 ac_status=$?
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); }; }; then
23846
23847 cat >>confdefs.h <<\_ACEOF
23848 #define __WXMOTIF20__ 1
23849 _ACEOF
23850
23851 echo "$as_me:$LINENO: result: found" >&5
23852 echo "${ECHO_T}found" >&6
23853
23854 else
23855 echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.$ac_ext >&5
23857
23858
23859 cat >>confdefs.h <<\_ACEOF
23860 #define __WXMOTIF20__ 0
23861 _ACEOF
23862
23863 echo "$as_me:$LINENO: result: not found" >&5
23864 echo "${ECHO_T}not found" >&6
23865
23866 fi
23867 rm -f conftest.$ac_objext conftest.$ac_ext
23868 CFLAGS=$save_CFLAGS
23869
23870 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23871 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23872 TOOLKIT=MOTIF
23873 GUIDIST=MOTIF_DIST
23874 wxHAVE_XEXT_LIB=1
23875 fi
23876
23877 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23878 test "$wxHAVE_XEXT_LIB" = 1; then
23879 save_CFLAGS="$CFLAGS"
23880 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23881
23882 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23883 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23884 cat >conftest.$ac_ext <<_ACEOF
23885 #line $LINENO "configure"
23886 /* confdefs.h. */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891
23892 #include <X11/Xlib.h>
23893 #include <X11/extensions/shape.h>
23894
23895 int
23896 main ()
23897 {
23898
23899 int dummy1, dummy2;
23900 XShapeQueryExtension((Display*)NULL,
23901 (int*)NULL, (int*)NULL);
23902
23903 ;
23904 return 0;
23905 }
23906 _ACEOF
23907 rm -f conftest.$ac_objext
23908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23909 (eval $ac_compile) 2>&5
23910 ac_status=$?
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } &&
23913 { ac_try='test -s conftest.$ac_objext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23916 ac_status=$?
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919
23920 cat >>confdefs.h <<\_ACEOF
23921 #define HAVE_XSHAPE 1
23922 _ACEOF
23923
23924 echo "$as_me:$LINENO: result: found" >&5
23925 echo "${ECHO_T}found" >&6
23926
23927 else
23928 echo "$as_me: failed program was:" >&5
23929 sed 's/^/| /' conftest.$ac_ext >&5
23930
23931
23932 echo "$as_me:$LINENO: result: not found" >&5
23933 echo "${ECHO_T}not found" >&6
23934
23935 fi
23936 rm -f conftest.$ac_objext conftest.$ac_ext
23937 CFLAGS="$save_CFLAGS"
23938 fi
23939
23940 if test "$wxUSE_MAC" = 1; then
23941 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23942
23943 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23944 TOOLKIT=MAC
23945 GUIDIST=MACX_DIST
23946 fi
23947
23948 if test "$wxUSE_COCOA" = 1; then
23949 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
23950 TOOLKIT=COCOA
23951 GUIDIST=COCOA_DIST
23952 fi
23953
23954 if test "$wxUSE_PM" = 1; then
23955 TOOLKIT=PM
23956 GUIDIST=GTK_DIST
23957 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23958 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23959 wxUSE_THREADS="no"
23960 fi
23961
23962 if test "$TOOLKIT" = "PM" ; then
23963 TOOLKIT_DIR="os2"
23964 else
23965 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23966 fi
23967
23968 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23969
23970 if test "$wxUSE_UNIVERSAL" = "yes"; then
23971 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23972
23973 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23974 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23975
23976 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23977 if test "$wxUSE_X11" = 1; then
23978 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23979 else
23980 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
23981 fi
23982 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
23983 WIDGET_SET=univ
23984 else
23985 ALL_OBJECTS="\$(GUIOBJS)"
23986 ALL_SOURCES="\$(ALL_SOURCES)"
23987 ALL_HEADERS="\$(ALL_HEADERS)"
23988 fi
23989
23990 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
23991
23992 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
23993 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
23994 fi
23995
23996 if test "$wxUSE_HTML" = "yes"; then
23997 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
23998 fi
23999
24000 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24001 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24002 fi
24003 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24004 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24005 fi
24006 if test "$wxUSE_LIBPNG" = "builtin" ; then
24007 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24008 fi
24009
24010 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24011 DISTDIR="wx\$(TOOLKIT)"
24012 else
24013 USE_GUI=0
24014
24015 TOOLKIT_DIR="base"
24016
24017 if test "$USE_WIN32" = 1 ; then
24018 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24019 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24020
24021 TOOLKIT="MSW"
24022 else
24023 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24024 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24025 fi
24026
24027 ALL_SOURCES="\$(ALL_SOURCES)"
24028 ALL_HEADERS="\$(ALL_HEADERS)"
24029
24030 PORT_FILES="\${top_srcdir}/src/files.lst"
24031
24032 GUIDIST="BASE_DIST"
24033 DISTDIR="wxBase"
24034 fi
24035
24036
24037
24038
24039 IODBC_C_SRC=""
24040
24041
24042 if test "$TOOLKIT" != "MSW" ; then
24043
24044 if test "$wxUSE_ODBC" != "no" ; then
24045 cat >>confdefs.h <<\_ACEOF
24046 #define wxUSE_ODBC 1
24047 _ACEOF
24048
24049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24050
24051 WXODBCFLAG="-D_IODBC_"
24052
24053
24054 if test "$wxUSE_ODBC" = "sys" ; then
24055
24056 if test "${ac_cv_header_sql_h+set}" = set; then
24057 echo "$as_me:$LINENO: checking for sql.h" >&5
24058 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24059 if test "${ac_cv_header_sql_h+set}" = set; then
24060 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 fi
24062 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24063 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24064 else
24065 # Is the header compilable?
24066 echo "$as_me:$LINENO: checking sql.h usability" >&5
24067 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24068 cat >conftest.$ac_ext <<_ACEOF
24069 #line $LINENO "configure"
24070 /* confdefs.h. */
24071 _ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24075 $ac_includes_default
24076 #include <sql.h>
24077 _ACEOF
24078 rm -f conftest.$ac_objext
24079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24080 (eval $ac_compile) 2>&5
24081 ac_status=$?
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); } &&
24084 { ac_try='test -s conftest.$ac_objext'
24085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24086 (eval $ac_try) 2>&5
24087 ac_status=$?
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); }; }; then
24090 ac_header_compiler=yes
24091 else
24092 echo "$as_me: failed program was:" >&5
24093 sed 's/^/| /' conftest.$ac_ext >&5
24094
24095 ac_header_compiler=no
24096 fi
24097 rm -f conftest.$ac_objext conftest.$ac_ext
24098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24099 echo "${ECHO_T}$ac_header_compiler" >&6
24100
24101 # Is the header present?
24102 echo "$as_me:$LINENO: checking sql.h presence" >&5
24103 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24104 cat >conftest.$ac_ext <<_ACEOF
24105 #line $LINENO "configure"
24106 /* confdefs.h. */
24107 _ACEOF
24108 cat confdefs.h >>conftest.$ac_ext
24109 cat >>conftest.$ac_ext <<_ACEOF
24110 /* end confdefs.h. */
24111 #include <sql.h>
24112 _ACEOF
24113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24115 ac_status=$?
24116 grep -v '^ *+' conftest.er1 >conftest.err
24117 rm -f conftest.er1
24118 cat conftest.err >&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } >/dev/null; then
24121 if test -s conftest.err; then
24122 ac_cpp_err=$ac_c_preproc_warn_flag
24123 else
24124 ac_cpp_err=
24125 fi
24126 else
24127 ac_cpp_err=yes
24128 fi
24129 if test -z "$ac_cpp_err"; then
24130 ac_header_preproc=yes
24131 else
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.$ac_ext >&5
24134
24135 ac_header_preproc=no
24136 fi
24137 rm -f conftest.err conftest.$ac_ext
24138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24139 echo "${ECHO_T}$ac_header_preproc" >&6
24140
24141 # So? What about this header?
24142 case $ac_header_compiler:$ac_header_preproc in
24143 yes:no )
24144 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24145 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24146 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24147 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24148 (
24149 cat <<\_ASBOX
24150 ## ------------------------------------ ##
24151 ## Report this to bug-autoconf@gnu.org. ##
24152 ## ------------------------------------ ##
24153 _ASBOX
24154 ) |
24155 sed "s/^/$as_me: WARNING: /" >&2
24156 ;;
24157 no:yes )
24158 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24159 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24160 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24161 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24162 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24163 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24164 (
24165 cat <<\_ASBOX
24166 ## ------------------------------------ ##
24167 ## Report this to bug-autoconf@gnu.org. ##
24168 ## ------------------------------------ ##
24169 _ASBOX
24170 ) |
24171 sed "s/^/$as_me: WARNING: /" >&2
24172 ;;
24173 esac
24174 echo "$as_me:$LINENO: checking for sql.h" >&5
24175 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24176 if test "${ac_cv_header_sql_h+set}" = set; then
24177 echo $ECHO_N "(cached) $ECHO_C" >&6
24178 else
24179 ac_cv_header_sql_h=$ac_header_preproc
24180 fi
24181 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24182 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24183
24184 fi
24185
24186
24187 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24188 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24189 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 else
24192 ac_func_search_save_LIBS=$LIBS
24193 ac_cv_search_SQLAllocEnv=no
24194 cat >conftest.$ac_ext <<_ACEOF
24195 #line $LINENO "configure"
24196 /* confdefs.h. */
24197 _ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201
24202 /* Override any gcc2 internal prototype to avoid an error. */
24203 #ifdef __cplusplus
24204 extern "C"
24205 #endif
24206 /* We use char because int might match the return type of a gcc2
24207 builtin and then its argument prototype would still apply. */
24208 char SQLAllocEnv ();
24209 int
24210 main ()
24211 {
24212 SQLAllocEnv ();
24213 ;
24214 return 0;
24215 }
24216 _ACEOF
24217 rm -f conftest.$ac_objext conftest$ac_exeext
24218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24219 (eval $ac_link) 2>&5
24220 ac_status=$?
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } &&
24223 { ac_try='test -s conftest$ac_exeext'
24224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24225 (eval $ac_try) 2>&5
24226 ac_status=$?
24227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24228 (exit $ac_status); }; }; then
24229 ac_cv_search_SQLAllocEnv="none required"
24230 else
24231 echo "$as_me: failed program was:" >&5
24232 sed 's/^/| /' conftest.$ac_ext >&5
24233
24234 fi
24235 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24236 if test "$ac_cv_search_SQLAllocEnv" = no; then
24237 for ac_lib in iodbc unixodbc odbc ; do
24238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24239 cat >conftest.$ac_ext <<_ACEOF
24240 #line $LINENO "configure"
24241 /* confdefs.h. */
24242 _ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246
24247 /* Override any gcc2 internal prototype to avoid an error. */
24248 #ifdef __cplusplus
24249 extern "C"
24250 #endif
24251 /* We use char because int might match the return type of a gcc2
24252 builtin and then its argument prototype would still apply. */
24253 char SQLAllocEnv ();
24254 int
24255 main ()
24256 {
24257 SQLAllocEnv ();
24258 ;
24259 return 0;
24260 }
24261 _ACEOF
24262 rm -f conftest.$ac_objext conftest$ac_exeext
24263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24264 (eval $ac_link) 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); } &&
24268 { ac_try='test -s conftest$ac_exeext'
24269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24270 (eval $ac_try) 2>&5
24271 ac_status=$?
24272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24273 (exit $ac_status); }; }; then
24274 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24275 break
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280 fi
24281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24282 done
24283 fi
24284 LIBS=$ac_func_search_save_LIBS
24285 fi
24286 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24287 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24288 if test "$ac_cv_search_SQLAllocEnv" != no; then
24289 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24290
24291 else
24292
24293 wxUSE_ODBC=builtin;
24294 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24295 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24296
24297 fi
24298
24299 fi
24300 if test "$wxUSE_ODBC" != "sys" ; then
24301 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24302 fi
24303
24304 fi
24305
24306 fi
24307
24308 if test "$wxUSE_REGEX" = "builtin" ; then
24309 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24310 fi
24311 if test "$wxUSE_ZLIB" = "builtin" ; then
24312 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24313 fi
24314
24315
24316 if test "$wxUSE_OPENGL" = "yes"; then
24317 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24318 OPENGL_LIBS="-framework OpenGL -framework AGL"
24319 elif test "$wxUSE_MSW" = 1; then
24320 OPENGL_LIBS="-lopengl32 -lglu32"
24321 else
24322 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24323 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24324 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24325 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24327 fi
24328 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24329 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24330 else
24331 # Is the header compilable?
24332 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24333 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24334 cat >conftest.$ac_ext <<_ACEOF
24335 #line $LINENO "configure"
24336 /* confdefs.h. */
24337 _ACEOF
24338 cat confdefs.h >>conftest.$ac_ext
24339 cat >>conftest.$ac_ext <<_ACEOF
24340 /* end confdefs.h. */
24341 $ac_includes_default
24342 #include <GL/gl.h>
24343 _ACEOF
24344 rm -f conftest.$ac_objext
24345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24346 (eval $ac_compile) 2>&5
24347 ac_status=$?
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } &&
24350 { ac_try='test -s conftest.$ac_objext'
24351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24352 (eval $ac_try) 2>&5
24353 ac_status=$?
24354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24355 (exit $ac_status); }; }; then
24356 ac_header_compiler=yes
24357 else
24358 echo "$as_me: failed program was:" >&5
24359 sed 's/^/| /' conftest.$ac_ext >&5
24360
24361 ac_header_compiler=no
24362 fi
24363 rm -f conftest.$ac_objext conftest.$ac_ext
24364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24365 echo "${ECHO_T}$ac_header_compiler" >&6
24366
24367 # Is the header present?
24368 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24369 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24370 cat >conftest.$ac_ext <<_ACEOF
24371 #line $LINENO "configure"
24372 /* confdefs.h. */
24373 _ACEOF
24374 cat confdefs.h >>conftest.$ac_ext
24375 cat >>conftest.$ac_ext <<_ACEOF
24376 /* end confdefs.h. */
24377 #include <GL/gl.h>
24378 _ACEOF
24379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24380 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24381 ac_status=$?
24382 grep -v '^ *+' conftest.er1 >conftest.err
24383 rm -f conftest.er1
24384 cat conftest.err >&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } >/dev/null; then
24387 if test -s conftest.err; then
24388 ac_cpp_err=$ac_c_preproc_warn_flag
24389 else
24390 ac_cpp_err=
24391 fi
24392 else
24393 ac_cpp_err=yes
24394 fi
24395 if test -z "$ac_cpp_err"; then
24396 ac_header_preproc=yes
24397 else
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.$ac_ext >&5
24400
24401 ac_header_preproc=no
24402 fi
24403 rm -f conftest.err conftest.$ac_ext
24404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24405 echo "${ECHO_T}$ac_header_preproc" >&6
24406
24407 # So? What about this header?
24408 case $ac_header_compiler:$ac_header_preproc in
24409 yes:no )
24410 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24411 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24412 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24413 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24414 (
24415 cat <<\_ASBOX
24416 ## ------------------------------------ ##
24417 ## Report this to bug-autoconf@gnu.org. ##
24418 ## ------------------------------------ ##
24419 _ASBOX
24420 ) |
24421 sed "s/^/$as_me: WARNING: /" >&2
24422 ;;
24423 no:yes )
24424 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24425 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24426 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24427 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24428 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24429 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24430 (
24431 cat <<\_ASBOX
24432 ## ------------------------------------ ##
24433 ## Report this to bug-autoconf@gnu.org. ##
24434 ## ------------------------------------ ##
24435 _ASBOX
24436 ) |
24437 sed "s/^/$as_me: WARNING: /" >&2
24438 ;;
24439 esac
24440 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24441 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24442 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24443 echo $ECHO_N "(cached) $ECHO_C" >&6
24444 else
24445 ac_cv_header_GL_gl_h=$ac_header_preproc
24446 fi
24447 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24448 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24449
24450 fi
24451 if test $ac_cv_header_GL_gl_h = yes; then
24452
24453 found_gl=0
24454
24455 echo "$as_me:$LINENO: checking for -lGL" >&5
24456 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24457
24458 ac_find_libraries=
24459 for ac_dir in $SEARCH_LIB /usr/lib;
24460 do
24461 for ac_extension in a so sl dylib; do
24462 if test -f "$ac_dir/libGL.$ac_extension"; then
24463 ac_find_libraries=$ac_dir
24464 break 2
24465 fi
24466 done
24467 done
24468
24469 if test "$ac_find_libraries" != "" ; then
24470
24471 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24472 result=$?
24473 if test $result = 0; then
24474 ac_path_to_link=""
24475 else
24476 ac_path_to_link=" -L$ac_find_libraries"
24477 fi
24478
24479 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24480 LDFLAGS_GL="$ac_path_to_link"
24481 fi
24482
24483
24484 ac_find_libraries=
24485 for ac_dir in $SEARCH_LIB /usr/lib;
24486 do
24487 for ac_extension in a so sl dylib; do
24488 if test -f "$ac_dir/libGLU.$ac_extension"; then
24489 ac_find_libraries=$ac_dir
24490 break 2
24491 fi
24492 done
24493 done
24494
24495 if test "$ac_find_libraries" != "" ; then
24496
24497 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24498 result=$?
24499 if test $result = 0; then
24500 ac_path_to_link=""
24501 else
24502 ac_path_to_link=" -L$ac_find_libraries"
24503 fi
24504
24505 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24506 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24507 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24508 fi
24509
24510 found_gl=1
24511 OPENGL_LIBS="-lGL -lGLU"
24512 echo "$as_me:$LINENO: result: yes" >&5
24513 echo "${ECHO_T}yes" >&6
24514 fi
24515 fi
24516
24517 if "$found_gl" != 1; then
24518 echo "$as_me:$LINENO: result: no" >&5
24519 echo "${ECHO_T}no" >&6
24520 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24521 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24522
24523 ac_find_libraries=
24524 for ac_dir in $SEARCH_LIB /usr/lib;
24525 do
24526 for ac_extension in a so sl dylib; do
24527 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24528 ac_find_libraries=$ac_dir
24529 break 2
24530 fi
24531 done
24532 done
24533
24534 if test "$ac_find_libraries" != "" ; then
24535
24536 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24537 result=$?
24538 if test $result = 0; then
24539 ac_path_to_link=""
24540 else
24541 ac_path_to_link=" -L$ac_find_libraries"
24542 fi
24543
24544 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24545 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24546 echo "$as_me:$LINENO: result: yes" >&5
24547 echo "${ECHO_T}yes" >&6
24548 else
24549 echo "$as_me:$LINENO: result: no" >&5
24550 echo "${ECHO_T}no" >&6
24551 fi
24552 fi
24553
24554 fi
24555
24556
24557
24558 if test "x$OPENGL_LIBS" = "x"; then
24559 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24560 echo "$as_me: error: OpenGL libraries not available" >&2;}
24561 { (exit 1); exit 1; }; }
24562 fi
24563 fi
24564
24565 if test "$wxUSE_OPENGL" = "yes"; then
24566 cat >>confdefs.h <<\_ACEOF
24567 #define wxUSE_OPENGL 1
24568 _ACEOF
24569
24570 cat >>confdefs.h <<\_ACEOF
24571 #define wxUSE_GLCANVAS 1
24572 _ACEOF
24573
24574 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24575 fi
24576 fi
24577
24578 if test -z "$TOOLKIT_VPATH" ; then
24579 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24580 fi
24581
24582 if test -n "$TOOLKIT" ; then
24583 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24584 fi
24585
24586 UNICODE=0
24587 lib_unicode_suffix=
24588 if test "$wxUSE_UNICODE" = "yes"; then
24589 lib_unicode_suffix=u
24590 UNICODE=1
24591 fi
24592
24593 lib_debug_suffix=
24594 BUILD=release
24595 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24596 lib_debug_suffix=d
24597 BUILD=debug
24598 fi
24599
24600 WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24601
24602 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24603 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24604
24605 if test "$cross_compiling" = "yes"; then
24606 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24607 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24608 fi
24609
24610 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24611 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24612 WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24613
24614 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24615 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24616
24617 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24618 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24619 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24620 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24621
24622 case "${host}" in
24623 *-*-cygwin* | *-*-mingw32* )
24624
24625
24626
24627 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24628 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24629 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24630 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24631 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24632 else
24633 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24634 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24635 fi
24636 ;;
24637
24638 *-*-darwin* )
24639
24640 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24641 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24642
24643 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24644 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24645 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24646 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24647
24648 if test "$wxUSE_MAC" = 1; then
24649 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24650 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24651 fi
24652 ;;
24653 esac
24654
24655 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24656 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24657
24658 WXCONFIG_LIBS="-l${WX_LIBRARY}"
24659 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24660
24661 if test "$wxUSE_OPENGL" = "yes"; then
24662 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24663 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24664 fi
24665
24666
24667
24668 if test "$wxUSE_SHARED" = "yes"; then
24669 case "${host}" in
24670 *-pc-os2_emx | *-pc-os2-emx | \
24671 *-pc-msdosdjgpp )
24672 wxUSE_SHARED=no
24673 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24674 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24675 ;;
24676 esac
24677 fi
24678
24679 SHARED=0
24680 if test "$wxUSE_SHARED" = "yes"; then
24681 SHARED=1
24682
24683 if test "$wxUSE_OPENGL" = "yes"; then
24684 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
24685 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
24686 else
24687 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24688 WX_ALL="\$(build_libdir)/${WX_LIBRARY_LINK1}"
24689 fi
24690
24691 if test "$GCC" = "yes"; then
24692 PIC_FLAG="-fPIC"
24693 fi
24694
24695
24696
24697 found_versioning=no
24698
24699
24700 if test $found_versioning = no ; then
24701 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24702 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24703 if test "${wx_cv_version_script+set}" = set; then
24704 echo $ECHO_N "(cached) $ECHO_C" >&6
24705 else
24706
24707 echo "VER_1 { *; };" >conftest.sym
24708 echo "int main() { return 0; }" >conftest.cpp
24709
24710 if { ac_try='
24711 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24712 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24714 (eval $ac_try) 2>&5
24715 ac_status=$?
24716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24717 (exit $ac_status); }; } ; then
24718 if test -s conftest.stderr ; then
24719 wx_cv_version_script=no
24720 else
24721 wx_cv_version_script=yes
24722 fi
24723 else
24724 wx_cv_version_script=no
24725 fi
24726 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24727
24728 fi
24729 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24730 echo "${ECHO_T}$wx_cv_version_script" >&6
24731 if test $wx_cv_version_script = yes ; then
24732 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24733 fi
24734 fi
24735
24736
24737 SHARED_LD="${CXX} -shared -o"
24738
24739 case "${host}" in
24740 *-hp-hpux* )
24741 if test "$GCC" = "yes"; then
24742 SHARED_LD="${CXX} -shared ${PIC_FLAG} -o"
24743 else
24744 LDFLAGS="$LDFLAGS -L/usr/lib"
24745
24746 SHARED_LD="${CXX} -b -o"
24747 PIC_FLAG="+Z"
24748 fi
24749
24750 if test "$wxUSE_OPENGL" = "yes"; then
24751 WX_ALL_INSTALLED="preinstall_gl"
24752 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
24753 else
24754 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24755 fi
24756 ;;
24757
24758 *-*-linux* | *-*-gnu* )
24759 if test "$GCC" != "yes"; then
24760 echo "$as_me:$LINENO: checking for Intel compiler" >&5
24761 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
24762 if test "${wx_cv_prog_icc+set}" = set; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 else
24765
24766 cat >conftest.$ac_ext <<_ACEOF
24767 #line $LINENO "configure"
24768 /* confdefs.h. */
24769 _ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24773
24774 int
24775 main ()
24776 {
24777
24778 #ifndef __INTEL_COMPILER
24779 #error Not icc
24780 #endif
24781
24782 ;
24783 return 0;
24784 }
24785 _ACEOF
24786 rm -f conftest.$ac_objext
24787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24788 (eval $ac_compile) 2>&5
24789 ac_status=$?
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); } &&
24792 { ac_try='test -s conftest.$ac_objext'
24793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24794 (eval $ac_try) 2>&5
24795 ac_status=$?
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); }; }; then
24798 wx_cv_prog_icc=yes
24799 else
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.$ac_ext >&5
24802
24803 wx_cv_prog_icc=no
24804
24805 fi
24806 rm -f conftest.$ac_objext conftest.$ac_ext
24807
24808 fi
24809 echo "$as_me:$LINENO: result: $wx_cv_prog_icc" >&5
24810 echo "${ECHO_T}$wx_cv_prog_icc" >&6
24811 if test "$wx_cv_prog_icc" = "yes"; then
24812 PIC_FLAG="-KPIC"
24813 fi
24814 fi
24815
24816 if test "$wxUSE_SONAME" = "yes" ; then
24817 SONAME_FLAGS="-Wl,-soname,${WX_LIBRARY_LINK1}"
24818 SONAME_FLAGS_GL="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
24819 WX_TARGET_LIBRARY_SONAME="-Wl,-soname,\$(TARGETLIB_LINK1)"
24820 fi
24821 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24822 ;;
24823
24824 *-*-solaris2* )
24825 if test "$GCC" = yes ; then
24826 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24827
24828 saveLdflags="$LDFLAGS"
24829 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24830 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24831 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24832 cat >conftest.$ac_ext <<_ACEOF
24833 #line $LINENO "configure"
24834 /* confdefs.h. */
24835 _ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839
24840 int
24841 main ()
24842 {
24843
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 rm -f conftest.$ac_objext conftest$ac_exeext
24849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24850 (eval $ac_link) 2>&5
24851 ac_status=$?
24852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); } &&
24854 { ac_try='test -s conftest$ac_exeext'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24857 ac_status=$?
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; }; then
24860
24861 echo "$as_me:$LINENO: result: yes" >&5
24862 echo "${ECHO_T}yes" >&6
24863 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24864
24865 else
24866 echo "$as_me: failed program was:" >&5
24867 sed 's/^/| /' conftest.$ac_ext >&5
24868
24869
24870 echo "$as_me:$LINENO: result: no" >&5
24871 echo "${ECHO_T}no" >&6
24872 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24873 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24874 LDFLAGS="$saveLdflags -Wl,-R,/"
24875 cat >conftest.$ac_ext <<_ACEOF
24876 #line $LINENO "configure"
24877 /* confdefs.h. */
24878 _ACEOF
24879 cat confdefs.h >>conftest.$ac_ext
24880 cat >>conftest.$ac_ext <<_ACEOF
24881 /* end confdefs.h. */
24882
24883 int
24884 main ()
24885 {
24886
24887 ;
24888 return 0;
24889 }
24890 _ACEOF
24891 rm -f conftest.$ac_objext conftest$ac_exeext
24892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24893 (eval $ac_link) 2>&5
24894 ac_status=$?
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } &&
24897 { ac_try='test -s conftest$ac_exeext'
24898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24899 (eval $ac_try) 2>&5
24900 ac_status=$?
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); }; }; then
24903
24904 echo "$as_me:$LINENO: result: yes" >&5
24905 echo "${ECHO_T}yes" >&6
24906 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24907 else
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.$ac_ext >&5
24910
24911
24912 echo "$as_me:$LINENO: result: no" >&5
24913 echo "${ECHO_T}no" >&6
24914
24915 fi
24916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24917
24918 fi
24919 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24920 LDFLAGS="$saveLdflags"
24921 else
24922 SHARED_LD="${CXX} -G -o"
24923 PIC_FLAG="-KPIC"
24924 SONAME_FLAGS="-h ${WX_LIBRARY_NAME_SHARED}"
24925 SONAME_FLAGS_GL="-h ${WX_LIBRARY_NAME_SHARED_GL}"
24926 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24927 fi
24928 ;;
24929
24930 *-*-darwin* )
24931 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
24932 CFLAGS="$CFLAGS -fno-common"
24933 CXXFLAGS="$CXXFLAGS -fno-common"
24934 SHARED_LD="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
24935 PIC_FLAG="-dynamic -fPIC"
24936 SONAME_FLAGS="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
24937 SONAME_FLAGS_GL="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
24938 ;;
24939
24940 *-*-aix* )
24941 if test "$GCC" != "yes"; then
24942 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
24943 set dummy makeC++SharedLib; ac_word=$2
24944 echo "$as_me:$LINENO: checking for $ac_word" >&5
24945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24946 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
24947 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 else
24949 if test -n "$AIX_CXX_LD"; then
24950 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
24951 else
24952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24953 for as_dir in $PATH
24954 do
24955 IFS=$as_save_IFS
24956 test -z "$as_dir" && as_dir=.
24957 for ac_exec_ext in '' $ac_executable_extensions; do
24958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24959 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
24960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24961 break 2
24962 fi
24963 done
24964 done
24965
24966 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
24967 fi
24968 fi
24969 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
24970 if test -n "$AIX_CXX_LD"; then
24971 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
24972 echo "${ECHO_T}$AIX_CXX_LD" >&6
24973 else
24974 echo "$as_me:$LINENO: result: no" >&5
24975 echo "${ECHO_T}no" >&6
24976 fi
24977
24978
24979 SHARED_LD="$(AIX_CXX_LD) -p 0 -o"
24980 fi
24981 ;;
24982
24983 *-*-cygwin* | *-*-mingw32* )
24984 WX_LIBRARY_IMPORTLIB="${WX_LIBRARY_NAME_SHARED}.a"
24985
24986 SHARED_LD="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
24987 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
24988
24989 PIC_FLAG="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
24990
24991 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24992 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24993
24994 if test "$wxUSE_OPENGL" = "yes"; then
24995 LIBS="${LIBS} ${OPENGL_LIBS}"
24996 fi
24997 ;;
24998
24999 *-*-beos* )
25000 SHARED_LD="${LD} -shared -o"
25001 ;;
25002
25003 *-*-irix* )
25004 if test "$GCC" != "yes"; then
25005 PIC_FLAG="-KPIC"
25006 fi
25007 ;;
25008
25009 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
25010 *-*-sunos4* | \
25011 *-*-osf* | \
25012 *-*-dgux5* | \
25013 *-*-sysv5* )
25014 ;;
25015
25016 *)
25017 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
25018 echo "$as_me: error: unknown system type $host." >&2;}
25019 { (exit 1); exit 1; }; }
25020 esac
25021
25022 if test "x$WX_TARGET_LIBRARY" = "x"; then
25023 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25024 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25025 fi
25026
25027 WX_TARGET_LIBRARY_TYPE="so"
25028 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25029 fi
25030
25031 if test "$wxUSE_SHARED" = "no"; then
25032
25033 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25034 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25035 fi
25036
25037 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25038 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25039 fi
25040
25041 if test "$wxUSE_OPENGL" = "yes"; then
25042 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25043 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25044 else
25045 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25046 fi
25047
25048 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25049 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25050
25051 WX_TARGET_LIBRARY_TYPE="a"
25052 INSTALL_LIBRARY='$(INSTALL_DATA)'
25053
25054 STATIC_FLAG="yes"
25055 else
25056 STATIC_FLAG="no"
25057 fi
25058
25059 MACRESCOMP="@#"
25060 MACSETFILE="@#"
25061 MACRESWXCONFIG="#"
25062 if test "$wxUSE_MAC" = 1; then
25063 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25064 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25065 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25066 # Extract the first word of "Rez", so it can be a program name with args.
25067 set dummy Rez; ac_word=$2
25068 echo "$as_me:$LINENO: checking for $ac_word" >&5
25069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25070 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25071 echo $ECHO_N "(cached) $ECHO_C" >&6
25072 else
25073 if test -n "$RESCOMP"; then
25074 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25075 else
25076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25077 for as_dir in $PATH
25078 do
25079 IFS=$as_save_IFS
25080 test -z "$as_dir" && as_dir=.
25081 for ac_exec_ext in '' $ac_executable_extensions; do
25082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25083 ac_cv_prog_RESCOMP="Rez"
25084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25085 break 2
25086 fi
25087 done
25088 done
25089
25090 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25091 fi
25092 fi
25093 RESCOMP=$ac_cv_prog_RESCOMP
25094 if test -n "$RESCOMP"; then
25095 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25096 echo "${ECHO_T}$RESCOMP" >&6
25097 else
25098 echo "$as_me:$LINENO: result: no" >&5
25099 echo "${ECHO_T}no" >&6
25100 fi
25101
25102 # Extract the first word of "DeRez", so it can be a program name with args.
25103 set dummy DeRez; ac_word=$2
25104 echo "$as_me:$LINENO: checking for $ac_word" >&5
25105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25106 if test "${ac_cv_prog_DEREZ+set}" = set; then
25107 echo $ECHO_N "(cached) $ECHO_C" >&6
25108 else
25109 if test -n "$DEREZ"; then
25110 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25111 else
25112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25113 for as_dir in $PATH
25114 do
25115 IFS=$as_save_IFS
25116 test -z "$as_dir" && as_dir=.
25117 for ac_exec_ext in '' $ac_executable_extensions; do
25118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25119 ac_cv_prog_DEREZ="DeRez"
25120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25121 break 2
25122 fi
25123 done
25124 done
25125
25126 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25127 fi
25128 fi
25129 DEREZ=$ac_cv_prog_DEREZ
25130 if test -n "$DEREZ"; then
25131 echo "$as_me:$LINENO: result: $DEREZ" >&5
25132 echo "${ECHO_T}$DEREZ" >&6
25133 else
25134 echo "$as_me:$LINENO: result: no" >&5
25135 echo "${ECHO_T}no" >&6
25136 fi
25137
25138 # Extract the first word of "SetFile", so it can be a program name with args.
25139 set dummy SetFile; ac_word=$2
25140 echo "$as_me:$LINENO: checking for $ac_word" >&5
25141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25142 if test "${ac_cv_prog_SETFILE+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25144 else
25145 if test -n "$SETFILE"; then
25146 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25147 else
25148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25149 for as_dir in $PATH
25150 do
25151 IFS=$as_save_IFS
25152 test -z "$as_dir" && as_dir=.
25153 for ac_exec_ext in '' $ac_executable_extensions; do
25154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25155 ac_cv_prog_SETFILE="SetFile"
25156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25157 break 2
25158 fi
25159 done
25160 done
25161
25162 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25163 fi
25164 fi
25165 SETFILE=$ac_cv_prog_SETFILE
25166 if test -n "$SETFILE"; then
25167 echo "$as_me:$LINENO: result: $SETFILE" >&5
25168 echo "${ECHO_T}$SETFILE" >&6
25169 else
25170 echo "$as_me:$LINENO: result: no" >&5
25171 echo "${ECHO_T}no" >&6
25172 fi
25173
25174 MACOSX_BUNDLE="bundle"
25175 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25176 MACSETFILE="\$(SETFILE)"
25177 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25178 elif test "$wxUSE_COCOA" = 1; then
25179 # Extract the first word of "Rez", so it can be a program name with args.
25180 set dummy Rez; ac_word=$2
25181 echo "$as_me:$LINENO: checking for $ac_word" >&5
25182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25183 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 else
25186 if test -n "$RESCOMP"; then
25187 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25188 else
25189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25190 for as_dir in $PATH
25191 do
25192 IFS=$as_save_IFS
25193 test -z "$as_dir" && as_dir=.
25194 for ac_exec_ext in '' $ac_executable_extensions; do
25195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25196 ac_cv_prog_RESCOMP="Rez"
25197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25198 break 2
25199 fi
25200 done
25201 done
25202
25203 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25204 fi
25205 fi
25206 RESCOMP=$ac_cv_prog_RESCOMP
25207 if test -n "$RESCOMP"; then
25208 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25209 echo "${ECHO_T}$RESCOMP" >&6
25210 else
25211 echo "$as_me:$LINENO: result: no" >&5
25212 echo "${ECHO_T}no" >&6
25213 fi
25214
25215 # Extract the first word of "DeRez", so it can be a program name with args.
25216 set dummy DeRez; ac_word=$2
25217 echo "$as_me:$LINENO: checking for $ac_word" >&5
25218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25219 if test "${ac_cv_prog_DEREZ+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25221 else
25222 if test -n "$DEREZ"; then
25223 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25224 else
25225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25226 for as_dir in $PATH
25227 do
25228 IFS=$as_save_IFS
25229 test -z "$as_dir" && as_dir=.
25230 for ac_exec_ext in '' $ac_executable_extensions; do
25231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25232 ac_cv_prog_DEREZ="DeRez"
25233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25234 break 2
25235 fi
25236 done
25237 done
25238
25239 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25240 fi
25241 fi
25242 DEREZ=$ac_cv_prog_DEREZ
25243 if test -n "$DEREZ"; then
25244 echo "$as_me:$LINENO: result: $DEREZ" >&5
25245 echo "${ECHO_T}$DEREZ" >&6
25246 else
25247 echo "$as_me:$LINENO: result: no" >&5
25248 echo "${ECHO_T}no" >&6
25249 fi
25250
25251 # Extract the first word of "SetFile", so it can be a program name with args.
25252 set dummy SetFile; ac_word=$2
25253 echo "$as_me:$LINENO: checking for $ac_word" >&5
25254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25255 if test "${ac_cv_prog_SETFILE+set}" = set; then
25256 echo $ECHO_N "(cached) $ECHO_C" >&6
25257 else
25258 if test -n "$SETFILE"; then
25259 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25260 else
25261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25262 for as_dir in $PATH
25263 do
25264 IFS=$as_save_IFS
25265 test -z "$as_dir" && as_dir=.
25266 for ac_exec_ext in '' $ac_executable_extensions; do
25267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25268 ac_cv_prog_SETFILE="SetFile"
25269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25270 break 2
25271 fi
25272 done
25273 done
25274
25275 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25276 fi
25277 fi
25278 SETFILE=$ac_cv_prog_SETFILE
25279 if test -n "$SETFILE"; then
25280 echo "$as_me:$LINENO: result: $SETFILE" >&5
25281 echo "${ECHO_T}$SETFILE" >&6
25282 else
25283 echo "$as_me:$LINENO: result: no" >&5
25284 echo "${ECHO_T}no" >&6
25285 fi
25286
25287 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25288 MACSETFILE="\$(SETFILE)"
25289 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25290 else
25291 if test "$wxUSE_PM" = 1; then
25292 MACRESCOMP="emxbind -ep"
25293 fi
25294 fi
25295
25296
25297 echo "$as_me:$LINENO: checking for mode_t" >&5
25298 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25299 if test "${ac_cv_type_mode_t+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 else
25302 cat >conftest.$ac_ext <<_ACEOF
25303 #line $LINENO "configure"
25304 /* confdefs.h. */
25305 _ACEOF
25306 cat confdefs.h >>conftest.$ac_ext
25307 cat >>conftest.$ac_ext <<_ACEOF
25308 /* end confdefs.h. */
25309 $ac_includes_default
25310 int
25311 main ()
25312 {
25313 if ((mode_t *) 0)
25314 return 0;
25315 if (sizeof (mode_t))
25316 return 0;
25317 ;
25318 return 0;
25319 }
25320 _ACEOF
25321 rm -f conftest.$ac_objext
25322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25323 (eval $ac_compile) 2>&5
25324 ac_status=$?
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } &&
25327 { ac_try='test -s conftest.$ac_objext'
25328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25329 (eval $ac_try) 2>&5
25330 ac_status=$?
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); }; }; then
25333 ac_cv_type_mode_t=yes
25334 else
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.$ac_ext >&5
25337
25338 ac_cv_type_mode_t=no
25339 fi
25340 rm -f conftest.$ac_objext conftest.$ac_ext
25341 fi
25342 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25343 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25344 if test $ac_cv_type_mode_t = yes; then
25345 :
25346 else
25347
25348 cat >>confdefs.h <<_ACEOF
25349 #define mode_t int
25350 _ACEOF
25351
25352 fi
25353
25354 echo "$as_me:$LINENO: checking for off_t" >&5
25355 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25356 if test "${ac_cv_type_off_t+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 else
25359 cat >conftest.$ac_ext <<_ACEOF
25360 #line $LINENO "configure"
25361 /* confdefs.h. */
25362 _ACEOF
25363 cat confdefs.h >>conftest.$ac_ext
25364 cat >>conftest.$ac_ext <<_ACEOF
25365 /* end confdefs.h. */
25366 $ac_includes_default
25367 int
25368 main ()
25369 {
25370 if ((off_t *) 0)
25371 return 0;
25372 if (sizeof (off_t))
25373 return 0;
25374 ;
25375 return 0;
25376 }
25377 _ACEOF
25378 rm -f conftest.$ac_objext
25379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25380 (eval $ac_compile) 2>&5
25381 ac_status=$?
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); } &&
25384 { ac_try='test -s conftest.$ac_objext'
25385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25386 (eval $ac_try) 2>&5
25387 ac_status=$?
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); }; }; then
25390 ac_cv_type_off_t=yes
25391 else
25392 echo "$as_me: failed program was:" >&5
25393 sed 's/^/| /' conftest.$ac_ext >&5
25394
25395 ac_cv_type_off_t=no
25396 fi
25397 rm -f conftest.$ac_objext conftest.$ac_ext
25398 fi
25399 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25400 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25401 if test $ac_cv_type_off_t = yes; then
25402 :
25403 else
25404
25405 cat >>confdefs.h <<_ACEOF
25406 #define off_t long
25407 _ACEOF
25408
25409 fi
25410
25411 echo "$as_me:$LINENO: checking for pid_t" >&5
25412 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25413 if test "${ac_cv_type_pid_t+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25415 else
25416 cat >conftest.$ac_ext <<_ACEOF
25417 #line $LINENO "configure"
25418 /* confdefs.h. */
25419 _ACEOF
25420 cat confdefs.h >>conftest.$ac_ext
25421 cat >>conftest.$ac_ext <<_ACEOF
25422 /* end confdefs.h. */
25423 $ac_includes_default
25424 int
25425 main ()
25426 {
25427 if ((pid_t *) 0)
25428 return 0;
25429 if (sizeof (pid_t))
25430 return 0;
25431 ;
25432 return 0;
25433 }
25434 _ACEOF
25435 rm -f conftest.$ac_objext
25436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25437 (eval $ac_compile) 2>&5
25438 ac_status=$?
25439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25440 (exit $ac_status); } &&
25441 { ac_try='test -s conftest.$ac_objext'
25442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25443 (eval $ac_try) 2>&5
25444 ac_status=$?
25445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25446 (exit $ac_status); }; }; then
25447 ac_cv_type_pid_t=yes
25448 else
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.$ac_ext >&5
25451
25452 ac_cv_type_pid_t=no
25453 fi
25454 rm -f conftest.$ac_objext conftest.$ac_ext
25455 fi
25456 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25457 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25458 if test $ac_cv_type_pid_t = yes; then
25459 :
25460 else
25461
25462 cat >>confdefs.h <<_ACEOF
25463 #define pid_t int
25464 _ACEOF
25465
25466 fi
25467
25468 echo "$as_me:$LINENO: checking for size_t" >&5
25469 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25470 if test "${ac_cv_type_size_t+set}" = set; then
25471 echo $ECHO_N "(cached) $ECHO_C" >&6
25472 else
25473 cat >conftest.$ac_ext <<_ACEOF
25474 #line $LINENO "configure"
25475 /* confdefs.h. */
25476 _ACEOF
25477 cat confdefs.h >>conftest.$ac_ext
25478 cat >>conftest.$ac_ext <<_ACEOF
25479 /* end confdefs.h. */
25480 $ac_includes_default
25481 int
25482 main ()
25483 {
25484 if ((size_t *) 0)
25485 return 0;
25486 if (sizeof (size_t))
25487 return 0;
25488 ;
25489 return 0;
25490 }
25491 _ACEOF
25492 rm -f conftest.$ac_objext
25493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25494 (eval $ac_compile) 2>&5
25495 ac_status=$?
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } &&
25498 { ac_try='test -s conftest.$ac_objext'
25499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25500 (eval $ac_try) 2>&5
25501 ac_status=$?
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); }; }; then
25504 ac_cv_type_size_t=yes
25505 else
25506 echo "$as_me: failed program was:" >&5
25507 sed 's/^/| /' conftest.$ac_ext >&5
25508
25509 ac_cv_type_size_t=no
25510 fi
25511 rm -f conftest.$ac_objext conftest.$ac_ext
25512 fi
25513 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25514 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25515 if test $ac_cv_type_size_t = yes; then
25516 :
25517 else
25518
25519 cat >>confdefs.h <<_ACEOF
25520 #define size_t unsigned
25521 _ACEOF
25522
25523 fi
25524
25525 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25526 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25527 if test "${ac_cv_type_uid_t+set}" = set; then
25528 echo $ECHO_N "(cached) $ECHO_C" >&6
25529 else
25530 cat >conftest.$ac_ext <<_ACEOF
25531 #line $LINENO "configure"
25532 /* confdefs.h. */
25533 _ACEOF
25534 cat confdefs.h >>conftest.$ac_ext
25535 cat >>conftest.$ac_ext <<_ACEOF
25536 /* end confdefs.h. */
25537 #include <sys/types.h>
25538
25539 _ACEOF
25540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25541 $EGREP "uid_t" >/dev/null 2>&1; then
25542 ac_cv_type_uid_t=yes
25543 else
25544 ac_cv_type_uid_t=no
25545 fi
25546 rm -f conftest*
25547
25548 fi
25549 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25550 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25551 if test $ac_cv_type_uid_t = no; then
25552
25553 cat >>confdefs.h <<\_ACEOF
25554 #define uid_t int
25555 _ACEOF
25556
25557
25558 cat >>confdefs.h <<\_ACEOF
25559 #define gid_t int
25560 _ACEOF
25561
25562 fi
25563
25564
25565
25566
25567 ac_ext=cc
25568 ac_cpp='$CXXCPP $CPPFLAGS'
25569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25572
25573 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25574 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25575 if test "${wx_cv_size_t_is_uint+set}" = set; then
25576 echo $ECHO_N "(cached) $ECHO_C" >&6
25577 else
25578
25579 cat >conftest.$ac_ext <<_ACEOF
25580 #line $LINENO "configure"
25581 /* confdefs.h. */
25582 _ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25586 #include <stddef.h>
25587 int
25588 main ()
25589 {
25590
25591 return 0; }
25592
25593 struct Foo { void foo(size_t); void foo(unsigned int); };
25594
25595 int bar() {
25596
25597 ;
25598 return 0;
25599 }
25600 _ACEOF
25601 rm -f conftest.$ac_objext
25602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25603 (eval $ac_compile) 2>&5
25604 ac_status=$?
25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606 (exit $ac_status); } &&
25607 { ac_try='test -s conftest.$ac_objext'
25608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25609 (eval $ac_try) 2>&5
25610 ac_status=$?
25611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612 (exit $ac_status); }; }; then
25613 wx_cv_size_t_is_uint=no
25614 else
25615 echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.$ac_ext >&5
25617
25618 wx_cv_size_t_is_uint=yes
25619
25620 fi
25621 rm -f conftest.$ac_objext conftest.$ac_ext
25622
25623
25624 fi
25625 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25626 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25627
25628 if test "$wx_cv_size_t_is_uint" = "yes"; then
25629 cat >>confdefs.h <<\_ACEOF
25630 #define wxSIZE_T_IS_UINT 1
25631 _ACEOF
25632
25633 else
25634 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25635 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25636 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 else
25639 cat >conftest.$ac_ext <<_ACEOF
25640 #line $LINENO "configure"
25641 /* confdefs.h. */
25642 _ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646 #include <stddef.h>
25647 int
25648 main ()
25649 {
25650
25651 return 0; }
25652
25653 struct Foo { void foo(size_t); void foo(unsigned long); };
25654
25655 int bar() {
25656
25657 ;
25658 return 0;
25659 }
25660 _ACEOF
25661 rm -f conftest.$ac_objext
25662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25663 (eval $ac_compile) 2>&5
25664 ac_status=$?
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } &&
25667 { ac_try='test -s conftest.$ac_objext'
25668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669 (eval $ac_try) 2>&5
25670 ac_status=$?
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; }; then
25673 wx_cv_size_t_is_ulong=no
25674 else
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.$ac_ext >&5
25677
25678 wx_cv_size_t_is_ulong=yes
25679
25680 fi
25681 rm -f conftest.$ac_objext conftest.$ac_ext
25682
25683 fi
25684 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25685 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25686
25687 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25688 cat >>confdefs.h <<\_ACEOF
25689 #define wxSIZE_T_IS_ULONG 1
25690 _ACEOF
25691
25692 fi
25693 fi
25694
25695 ac_ext=c
25696 ac_cpp='$CPP $CPPFLAGS'
25697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25700
25701
25702
25703 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25704 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25705 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25706 echo $ECHO_N "(cached) $ECHO_C" >&6
25707 else
25708
25709 cat >conftest.$ac_ext <<_ACEOF
25710 #line $LINENO "configure"
25711 /* confdefs.h. */
25712 _ACEOF
25713 cat confdefs.h >>conftest.$ac_ext
25714 cat >>conftest.$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25716 #include <pwd.h>
25717 int
25718 main ()
25719 {
25720
25721 char *p;
25722 struct passwd *pw;
25723 p = pw->pw_gecos;
25724
25725 ;
25726 return 0;
25727 }
25728 _ACEOF
25729 rm -f conftest.$ac_objext
25730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25731 (eval $ac_compile) 2>&5
25732 ac_status=$?
25733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734 (exit $ac_status); } &&
25735 { ac_try='test -s conftest.$ac_objext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25738 ac_status=$?
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741
25742 wx_cv_struct_pw_gecos=yes
25743
25744 else
25745 echo "$as_me: failed program was:" >&5
25746 sed 's/^/| /' conftest.$ac_ext >&5
25747
25748
25749 wx_cv_struct_pw_gecos=no
25750
25751
25752 fi
25753 rm -f conftest.$ac_objext conftest.$ac_ext
25754
25755
25756 fi
25757 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25758 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25759
25760 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25761 cat >>confdefs.h <<\_ACEOF
25762 #define HAVE_PW_GECOS 1
25763 _ACEOF
25764
25765 fi
25766
25767
25768 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25769 cat >>confdefs.h <<\_ACEOF
25770 #define wxUSE_WCHAR_T 1
25771 _ACEOF
25772
25773
25774 WCSLEN_FOUND=0
25775 WCHAR_LINK=
25776
25777 for ac_func in wcslen
25778 do
25779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25780 echo "$as_me:$LINENO: checking for $ac_func" >&5
25781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25782 if eval "test \"\${$as_ac_var+set}\" = set"; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 else
25785 cat >conftest.$ac_ext <<_ACEOF
25786 #line $LINENO "configure"
25787 /* confdefs.h. */
25788 _ACEOF
25789 cat confdefs.h >>conftest.$ac_ext
25790 cat >>conftest.$ac_ext <<_ACEOF
25791 /* end confdefs.h. */
25792 /* System header to define __stub macros and hopefully few prototypes,
25793 which can conflict with char $ac_func (); below.
25794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25795 <limits.h> exists even on freestanding compilers. */
25796 #ifdef __STDC__
25797 # include <limits.h>
25798 #else
25799 # include <assert.h>
25800 #endif
25801 /* Override any gcc2 internal prototype to avoid an error. */
25802 #ifdef __cplusplus
25803 extern "C"
25804 {
25805 #endif
25806 /* We use char because int might match the return type of a gcc2
25807 builtin and then its argument prototype would still apply. */
25808 char $ac_func ();
25809 /* The GNU C library defines this for functions which it implements
25810 to always fail with ENOSYS. Some functions are actually named
25811 something starting with __ and the normal name is an alias. */
25812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25813 choke me
25814 #else
25815 char (*f) () = $ac_func;
25816 #endif
25817 #ifdef __cplusplus
25818 }
25819 #endif
25820
25821 int
25822 main ()
25823 {
25824 return f != $ac_func;
25825 ;
25826 return 0;
25827 }
25828 _ACEOF
25829 rm -f conftest.$ac_objext conftest$ac_exeext
25830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25831 (eval $ac_link) 2>&5
25832 ac_status=$?
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); } &&
25835 { ac_try='test -s conftest$ac_exeext'
25836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25837 (eval $ac_try) 2>&5
25838 ac_status=$?
25839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25840 (exit $ac_status); }; }; then
25841 eval "$as_ac_var=yes"
25842 else
25843 echo "$as_me: failed program was:" >&5
25844 sed 's/^/| /' conftest.$ac_ext >&5
25845
25846 eval "$as_ac_var=no"
25847 fi
25848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25849 fi
25850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25852 if test `eval echo '${'$as_ac_var'}'` = yes; then
25853 cat >>confdefs.h <<_ACEOF
25854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25855 _ACEOF
25856 WCSLEN_FOUND=1
25857 fi
25858 done
25859
25860
25861 if test "$WCSLEN_FOUND" = 0; then
25862 if test "$TOOLKIT" = "MSW"; then
25863 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25864 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25865 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25866 echo $ECHO_N "(cached) $ECHO_C" >&6
25867 else
25868 ac_check_lib_save_LIBS=$LIBS
25869 LIBS="-lmsvcrt $LIBS"
25870 cat >conftest.$ac_ext <<_ACEOF
25871 #line $LINENO "configure"
25872 /* confdefs.h. */
25873 _ACEOF
25874 cat confdefs.h >>conftest.$ac_ext
25875 cat >>conftest.$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877
25878 /* Override any gcc2 internal prototype to avoid an error. */
25879 #ifdef __cplusplus
25880 extern "C"
25881 #endif
25882 /* We use char because int might match the return type of a gcc2
25883 builtin and then its argument prototype would still apply. */
25884 char wcslen ();
25885 int
25886 main ()
25887 {
25888 wcslen ();
25889 ;
25890 return 0;
25891 }
25892 _ACEOF
25893 rm -f conftest.$ac_objext conftest$ac_exeext
25894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25895 (eval $ac_link) 2>&5
25896 ac_status=$?
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try='test -s conftest$ac_exeext'
25900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25901 (eval $ac_try) 2>&5
25902 ac_status=$?
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); }; }; then
25905 ac_cv_lib_msvcrt_wcslen=yes
25906 else
25907 echo "$as_me: failed program was:" >&5
25908 sed 's/^/| /' conftest.$ac_ext >&5
25909
25910 ac_cv_lib_msvcrt_wcslen=no
25911 fi
25912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25913 LIBS=$ac_check_lib_save_LIBS
25914 fi
25915 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25916 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25917 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25918 WCHAR_OK=1
25919 fi
25920
25921 else
25922 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25923 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25924 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 else
25927 ac_check_lib_save_LIBS=$LIBS
25928 LIBS="-lw $LIBS"
25929 cat >conftest.$ac_ext <<_ACEOF
25930 #line $LINENO "configure"
25931 /* confdefs.h. */
25932 _ACEOF
25933 cat confdefs.h >>conftest.$ac_ext
25934 cat >>conftest.$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25936
25937 /* Override any gcc2 internal prototype to avoid an error. */
25938 #ifdef __cplusplus
25939 extern "C"
25940 #endif
25941 /* We use char because int might match the return type of a gcc2
25942 builtin and then its argument prototype would still apply. */
25943 char wcslen ();
25944 int
25945 main ()
25946 {
25947 wcslen ();
25948 ;
25949 return 0;
25950 }
25951 _ACEOF
25952 rm -f conftest.$ac_objext conftest$ac_exeext
25953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25954 (eval $ac_link) 2>&5
25955 ac_status=$?
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } &&
25958 { ac_try='test -s conftest$ac_exeext'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25961 ac_status=$?
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; }; then
25964 ac_cv_lib_w_wcslen=yes
25965 else
25966 echo "$as_me: failed program was:" >&5
25967 sed 's/^/| /' conftest.$ac_ext >&5
25968
25969 ac_cv_lib_w_wcslen=no
25970 fi
25971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25972 LIBS=$ac_check_lib_save_LIBS
25973 fi
25974 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25975 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25976 if test $ac_cv_lib_w_wcslen = yes; then
25977
25978 WCHAR_LINK=" -lw"
25979 WCSLEN_FOUND=1
25980
25981 fi
25982
25983 fi
25984 fi
25985
25986 if test "$WCSLEN_FOUND" = 1; then
25987 cat >>confdefs.h <<\_ACEOF
25988 #define HAVE_WCSLEN 1
25989 _ACEOF
25990
25991 fi
25992
25993
25994 for ac_func in wcsrtombs
25995 do
25996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25997 echo "$as_me:$LINENO: checking for $ac_func" >&5
25998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25999 if eval "test \"\${$as_ac_var+set}\" = set"; then
26000 echo $ECHO_N "(cached) $ECHO_C" >&6
26001 else
26002 cat >conftest.$ac_ext <<_ACEOF
26003 #line $LINENO "configure"
26004 /* confdefs.h. */
26005 _ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009 /* System header to define __stub macros and hopefully few prototypes,
26010 which can conflict with char $ac_func (); below.
26011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26012 <limits.h> exists even on freestanding compilers. */
26013 #ifdef __STDC__
26014 # include <limits.h>
26015 #else
26016 # include <assert.h>
26017 #endif
26018 /* Override any gcc2 internal prototype to avoid an error. */
26019 #ifdef __cplusplus
26020 extern "C"
26021 {
26022 #endif
26023 /* We use char because int might match the return type of a gcc2
26024 builtin and then its argument prototype would still apply. */
26025 char $ac_func ();
26026 /* The GNU C library defines this for functions which it implements
26027 to always fail with ENOSYS. Some functions are actually named
26028 something starting with __ and the normal name is an alias. */
26029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26030 choke me
26031 #else
26032 char (*f) () = $ac_func;
26033 #endif
26034 #ifdef __cplusplus
26035 }
26036 #endif
26037
26038 int
26039 main ()
26040 {
26041 return f != $ac_func;
26042 ;
26043 return 0;
26044 }
26045 _ACEOF
26046 rm -f conftest.$ac_objext conftest$ac_exeext
26047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26048 (eval $ac_link) 2>&5
26049 ac_status=$?
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); } &&
26052 { ac_try='test -s conftest$ac_exeext'
26053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26054 (eval $ac_try) 2>&5
26055 ac_status=$?
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); }; }; then
26058 eval "$as_ac_var=yes"
26059 else
26060 echo "$as_me: failed program was:" >&5
26061 sed 's/^/| /' conftest.$ac_ext >&5
26062
26063 eval "$as_ac_var=no"
26064 fi
26065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26066 fi
26067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26069 if test `eval echo '${'$as_ac_var'}'` = yes; then
26070 cat >>confdefs.h <<_ACEOF
26071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26072 _ACEOF
26073
26074 fi
26075 done
26076
26077 else
26078 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26079 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26080 fi
26081
26082
26083
26084 ac_ext=cc
26085 ac_cpp='$CXXCPP $CPPFLAGS'
26086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26089
26090
26091
26092 for ac_func in vsnprintf
26093 do
26094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26095 echo "$as_me:$LINENO: checking for $ac_func" >&5
26096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26097 if eval "test \"\${$as_ac_var+set}\" = set"; then
26098 echo $ECHO_N "(cached) $ECHO_C" >&6
26099 else
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 /* System header to define __stub macros and hopefully few prototypes,
26108 which can conflict with char $ac_func (); below.
26109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26110 <limits.h> exists even on freestanding compilers. */
26111 #ifdef __STDC__
26112 # include <limits.h>
26113 #else
26114 # include <assert.h>
26115 #endif
26116 /* Override any gcc2 internal prototype to avoid an error. */
26117 #ifdef __cplusplus
26118 extern "C"
26119 {
26120 #endif
26121 /* We use char because int might match the return type of a gcc2
26122 builtin and then its argument prototype would still apply. */
26123 char $ac_func ();
26124 /* The GNU C library defines this for functions which it implements
26125 to always fail with ENOSYS. Some functions are actually named
26126 something starting with __ and the normal name is an alias. */
26127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26128 choke me
26129 #else
26130 char (*f) () = $ac_func;
26131 #endif
26132 #ifdef __cplusplus
26133 }
26134 #endif
26135
26136 int
26137 main ()
26138 {
26139 return f != $ac_func;
26140 ;
26141 return 0;
26142 }
26143 _ACEOF
26144 rm -f conftest.$ac_objext conftest$ac_exeext
26145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26146 (eval $ac_link) 2>&5
26147 ac_status=$?
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); } &&
26150 { ac_try='test -s conftest$ac_exeext'
26151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26152 (eval $ac_try) 2>&5
26153 ac_status=$?
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); }; }; then
26156 eval "$as_ac_var=yes"
26157 else
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.$ac_ext >&5
26160
26161 eval "$as_ac_var=no"
26162 fi
26163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26164 fi
26165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26167 if test `eval echo '${'$as_ac_var'}'` = yes; then
26168 cat >>confdefs.h <<_ACEOF
26169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26170 _ACEOF
26171
26172 fi
26173 done
26174
26175
26176 if test "$ac_cv_func_vsnprintf" = "yes"; then
26177 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26178 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26179 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26180 echo $ECHO_N "(cached) $ECHO_C" >&6
26181 else
26182
26183 cat >conftest.$ac_ext <<_ACEOF
26184 #line $LINENO "configure"
26185 /* confdefs.h. */
26186 _ACEOF
26187 cat confdefs.h >>conftest.$ac_ext
26188 cat >>conftest.$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26190
26191 #include <stdio.h>
26192 #include <stdarg.h>
26193
26194 int
26195 main ()
26196 {
26197
26198 char *buf;
26199 va_list ap;
26200 vsnprintf(buf, 10u, "%s", ap);
26201
26202 ;
26203 return 0;
26204 }
26205 _ACEOF
26206 rm -f conftest.$ac_objext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26208 (eval $ac_compile) 2>&5
26209 ac_status=$?
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try='test -s conftest.$ac_objext'
26213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214 (eval $ac_try) 2>&5
26215 ac_status=$?
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); }; }; then
26218 wx_cv_func_vsnprintf_decl=yes
26219 else
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 wx_cv_func_vsnprintf_decl=no
26224
26225 fi
26226 rm -f conftest.$ac_objext conftest.$ac_ext
26227
26228
26229 fi
26230 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26231 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26232
26233 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26234 cat >>confdefs.h <<\_ACEOF
26235 #define HAVE_VSNPRINTF_DECL 1
26236 _ACEOF
26237
26238 fi
26239 fi
26240
26241 if test "$wxUSE_UNICODE" = yes; then
26242
26243
26244
26245 for ac_func in fputwc wprintf vswprintf
26246 do
26247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26248 echo "$as_me:$LINENO: checking for $ac_func" >&5
26249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26250 if eval "test \"\${$as_ac_var+set}\" = set"; then
26251 echo $ECHO_N "(cached) $ECHO_C" >&6
26252 else
26253 cat >conftest.$ac_ext <<_ACEOF
26254 #line $LINENO "configure"
26255 /* confdefs.h. */
26256 _ACEOF
26257 cat confdefs.h >>conftest.$ac_ext
26258 cat >>conftest.$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26260 /* System header to define __stub macros and hopefully few prototypes,
26261 which can conflict with char $ac_func (); below.
26262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26263 <limits.h> exists even on freestanding compilers. */
26264 #ifdef __STDC__
26265 # include <limits.h>
26266 #else
26267 # include <assert.h>
26268 #endif
26269 /* Override any gcc2 internal prototype to avoid an error. */
26270 #ifdef __cplusplus
26271 extern "C"
26272 {
26273 #endif
26274 /* We use char because int might match the return type of a gcc2
26275 builtin and then its argument prototype would still apply. */
26276 char $ac_func ();
26277 /* The GNU C library defines this for functions which it implements
26278 to always fail with ENOSYS. Some functions are actually named
26279 something starting with __ and the normal name is an alias. */
26280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26281 choke me
26282 #else
26283 char (*f) () = $ac_func;
26284 #endif
26285 #ifdef __cplusplus
26286 }
26287 #endif
26288
26289 int
26290 main ()
26291 {
26292 return f != $ac_func;
26293 ;
26294 return 0;
26295 }
26296 _ACEOF
26297 rm -f conftest.$ac_objext conftest$ac_exeext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26299 (eval $ac_link) 2>&5
26300 ac_status=$?
26301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26302 (exit $ac_status); } &&
26303 { ac_try='test -s conftest$ac_exeext'
26304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26305 (eval $ac_try) 2>&5
26306 ac_status=$?
26307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26308 (exit $ac_status); }; }; then
26309 eval "$as_ac_var=yes"
26310 else
26311 echo "$as_me: failed program was:" >&5
26312 sed 's/^/| /' conftest.$ac_ext >&5
26313
26314 eval "$as_ac_var=no"
26315 fi
26316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26317 fi
26318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26320 if test `eval echo '${'$as_ac_var'}'` = yes; then
26321 cat >>confdefs.h <<_ACEOF
26322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26323 _ACEOF
26324
26325 fi
26326 done
26327
26328
26329 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26330 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26331 cat >conftest.$ac_ext <<_ACEOF
26332 #line $LINENO "configure"
26333 /* confdefs.h. */
26334 _ACEOF
26335 cat confdefs.h >>conftest.$ac_ext
26336 cat >>conftest.$ac_ext <<_ACEOF
26337 /* end confdefs.h. */
26338 #include <wchar.h>
26339 int
26340 main ()
26341 {
26342 &_vsnwprintf;
26343 ;
26344 return 0;
26345 }
26346 _ACEOF
26347 rm -f conftest.$ac_objext
26348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26349 (eval $ac_compile) 2>&5
26350 ac_status=$?
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } &&
26353 { ac_try='test -s conftest.$ac_objext'
26354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26355 (eval $ac_try) 2>&5
26356 ac_status=$?
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); }; }; then
26359 echo "$as_me:$LINENO: result: yes" >&5
26360 echo "${ECHO_T}yes" >&6
26361 cat >>confdefs.h <<\_ACEOF
26362 #define HAVE__VSNWPRINTF 1
26363 _ACEOF
26364
26365 else
26366 echo "$as_me: failed program was:" >&5
26367 sed 's/^/| /' conftest.$ac_ext >&5
26368
26369 echo "$as_me:$LINENO: result: no" >&5
26370 echo "${ECHO_T}no" >&6
26371 fi
26372 rm -f conftest.$ac_objext conftest.$ac_ext;
26373 fi
26374
26375 ac_ext=c
26376 ac_cpp='$CPP $CPPFLAGS'
26377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26380
26381
26382
26383
26384 if test "$TOOLKIT" != "MSW"; then
26385
26386
26387
26388
26389 ac_ext=cc
26390 ac_cpp='$CXXCPP $CPPFLAGS'
26391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26394
26395
26396
26397
26398 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26399 if test "${with_libiconv_prefix+set}" = set; then
26400 withval="$with_libiconv_prefix"
26401
26402 for dir in `echo "$withval" | tr : ' '`; do
26403 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26404 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26405 done
26406
26407 fi;
26408
26409 echo "$as_me:$LINENO: checking for iconv" >&5
26410 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26411 if test "${am_cv_func_iconv+set}" = set; then
26412 echo $ECHO_N "(cached) $ECHO_C" >&6
26413 else
26414
26415 am_cv_func_iconv="no, consider installing GNU libiconv"
26416 am_cv_lib_iconv=no
26417 cat >conftest.$ac_ext <<_ACEOF
26418 #line $LINENO "configure"
26419 /* confdefs.h. */
26420 _ACEOF
26421 cat confdefs.h >>conftest.$ac_ext
26422 cat >>conftest.$ac_ext <<_ACEOF
26423 /* end confdefs.h. */
26424 #include <stdlib.h>
26425 #include <iconv.h>
26426 int
26427 main ()
26428 {
26429 iconv_t cd = iconv_open("","");
26430 iconv(cd,NULL,NULL,NULL,NULL);
26431 iconv_close(cd);
26432 ;
26433 return 0;
26434 }
26435 _ACEOF
26436 rm -f conftest.$ac_objext conftest$ac_exeext
26437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26438 (eval $ac_link) 2>&5
26439 ac_status=$?
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); } &&
26442 { ac_try='test -s conftest$ac_exeext'
26443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26444 (eval $ac_try) 2>&5
26445 ac_status=$?
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); }; }; then
26448 am_cv_func_iconv=yes
26449 else
26450 echo "$as_me: failed program was:" >&5
26451 sed 's/^/| /' conftest.$ac_ext >&5
26452
26453 fi
26454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26455 if test "$am_cv_func_iconv" != yes; then
26456 am_save_LIBS="$LIBS"
26457 LIBS="$LIBS -liconv"
26458 cat >conftest.$ac_ext <<_ACEOF
26459 #line $LINENO "configure"
26460 /* confdefs.h. */
26461 _ACEOF
26462 cat confdefs.h >>conftest.$ac_ext
26463 cat >>conftest.$ac_ext <<_ACEOF
26464 /* end confdefs.h. */
26465 #include <stdlib.h>
26466 #include <iconv.h>
26467 int
26468 main ()
26469 {
26470 iconv_t cd = iconv_open("","");
26471 iconv(cd,NULL,NULL,NULL,NULL);
26472 iconv_close(cd);
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26479 (eval $ac_link) 2>&5
26480 ac_status=$?
26481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482 (exit $ac_status); } &&
26483 { ac_try='test -s conftest$ac_exeext'
26484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26485 (eval $ac_try) 2>&5
26486 ac_status=$?
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); }; }; then
26489 am_cv_lib_iconv=yes
26490 am_cv_func_iconv=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 fi
26496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26497 LIBS="$am_save_LIBS"
26498 fi
26499
26500 fi
26501 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26502 echo "${ECHO_T}$am_cv_func_iconv" >&6
26503 if test "$am_cv_func_iconv" = yes; then
26504
26505 cat >>confdefs.h <<\_ACEOF
26506 #define HAVE_ICONV 1
26507 _ACEOF
26508
26509 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26510 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26511 if test "${wx_cv_func_iconv_const+set}" = set; then
26512 echo $ECHO_N "(cached) $ECHO_C" >&6
26513 else
26514 cat >conftest.$ac_ext <<_ACEOF
26515 #line $LINENO "configure"
26516 /* confdefs.h. */
26517 _ACEOF
26518 cat confdefs.h >>conftest.$ac_ext
26519 cat >>conftest.$ac_ext <<_ACEOF
26520 /* end confdefs.h. */
26521
26522 #include <stdlib.h>
26523 #include <iconv.h>
26524 extern
26525 #ifdef __cplusplus
26526 "C"
26527 #endif
26528 #if defined(__STDC__) || defined(__cplusplus)
26529 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26530 #else
26531 size_t iconv();
26532 #endif
26533
26534 int
26535 main ()
26536 {
26537
26538 ;
26539 return 0;
26540 }
26541 _ACEOF
26542 rm -f conftest.$ac_objext
26543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26544 (eval $ac_compile) 2>&5
26545 ac_status=$?
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); } &&
26548 { ac_try='test -s conftest.$ac_objext'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26551 ac_status=$?
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; }; then
26554 wx_cv_func_iconv_const="no"
26555 else
26556 echo "$as_me: failed program was:" >&5
26557 sed 's/^/| /' conftest.$ac_ext >&5
26558
26559 wx_cv_func_iconv_const="yes"
26560
26561 fi
26562 rm -f conftest.$ac_objext conftest.$ac_ext
26563
26564 fi
26565 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26566 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26567
26568 iconv_const=
26569 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26570 iconv_const="const"
26571 fi
26572
26573
26574 cat >>confdefs.h <<_ACEOF
26575 #define ICONV_CONST $iconv_const
26576 _ACEOF
26577
26578 fi
26579 LIBICONV=
26580 if test "$am_cv_lib_iconv" = yes; then
26581 LIBICONV="-liconv"
26582 fi
26583
26584
26585 LIBS="$LIBICONV $LIBS"
26586 ac_ext=c
26587 ac_cpp='$CPP $CPPFLAGS'
26588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26591
26592
26593 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26594
26595 for ac_func in sigaction
26596 do
26597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26598 echo "$as_me:$LINENO: checking for $ac_func" >&5
26599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26600 if eval "test \"\${$as_ac_var+set}\" = set"; then
26601 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 else
26603 cat >conftest.$ac_ext <<_ACEOF
26604 #line $LINENO "configure"
26605 /* confdefs.h. */
26606 _ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610 /* System header to define __stub macros and hopefully few prototypes,
26611 which can conflict with char $ac_func (); below.
26612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26613 <limits.h> exists even on freestanding compilers. */
26614 #ifdef __STDC__
26615 # include <limits.h>
26616 #else
26617 # include <assert.h>
26618 #endif
26619 /* Override any gcc2 internal prototype to avoid an error. */
26620 #ifdef __cplusplus
26621 extern "C"
26622 {
26623 #endif
26624 /* We use char because int might match the return type of a gcc2
26625 builtin and then its argument prototype would still apply. */
26626 char $ac_func ();
26627 /* The GNU C library defines this for functions which it implements
26628 to always fail with ENOSYS. Some functions are actually named
26629 something starting with __ and the normal name is an alias. */
26630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26631 choke me
26632 #else
26633 char (*f) () = $ac_func;
26634 #endif
26635 #ifdef __cplusplus
26636 }
26637 #endif
26638
26639 int
26640 main ()
26641 {
26642 return f != $ac_func;
26643 ;
26644 return 0;
26645 }
26646 _ACEOF
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649 (eval $ac_link) 2>&5
26650 ac_status=$?
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); } &&
26653 { ac_try='test -s conftest$ac_exeext'
26654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26655 (eval $ac_try) 2>&5
26656 ac_status=$?
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); }; }; then
26659 eval "$as_ac_var=yes"
26660 else
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26663
26664 eval "$as_ac_var=no"
26665 fi
26666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26667 fi
26668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26670 if test `eval echo '${'$as_ac_var'}'` = yes; then
26671 cat >>confdefs.h <<_ACEOF
26672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26673 _ACEOF
26674
26675 fi
26676 done
26677
26678
26679 if test "$ac_cv_func_sigaction" = "no"; then
26680 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26681 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26682 wxUSE_ON_FATAL_EXCEPTION=no
26683 fi
26684
26685 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26686
26687
26688 ac_ext=cc
26689 ac_cpp='$CXXCPP $CPPFLAGS'
26690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26693
26694
26695 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26696 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26697 if test "${wx_cv_type_sa_handler+set}" = set; then
26698 echo $ECHO_N "(cached) $ECHO_C" >&6
26699 else
26700
26701 cat >conftest.$ac_ext <<_ACEOF
26702 #line $LINENO "configure"
26703 /* confdefs.h. */
26704 _ACEOF
26705 cat confdefs.h >>conftest.$ac_ext
26706 cat >>conftest.$ac_ext <<_ACEOF
26707 /* end confdefs.h. */
26708 #include <signal.h>
26709 int
26710 main ()
26711 {
26712
26713 extern void testSigHandler(int);
26714
26715 struct sigaction sa;
26716 sa.sa_handler = testSigHandler;
26717
26718 ;
26719 return 0;
26720 }
26721 _ACEOF
26722 rm -f conftest.$ac_objext
26723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26724 (eval $ac_compile) 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); } &&
26728 { ac_try='test -s conftest.$ac_objext'
26729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26730 (eval $ac_try) 2>&5
26731 ac_status=$?
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); }; }; then
26734
26735 wx_cv_type_sa_handler=int
26736
26737 else
26738 echo "$as_me: failed program was:" >&5
26739 sed 's/^/| /' conftest.$ac_ext >&5
26740
26741
26742 wx_cv_type_sa_handler=void
26743
26744 fi
26745 rm -f conftest.$ac_objext conftest.$ac_ext
26746
26747 fi
26748 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26749 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26750
26751 ac_ext=c
26752 ac_cpp='$CPP $CPPFLAGS'
26753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26756
26757
26758 cat >>confdefs.h <<_ACEOF
26759 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26760 _ACEOF
26761
26762 fi
26763 fi
26764
26765
26766
26767 for ac_func in mkstemp mktemp
26768 do
26769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26770 echo "$as_me:$LINENO: checking for $ac_func" >&5
26771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26772 if eval "test \"\${$as_ac_var+set}\" = set"; then
26773 echo $ECHO_N "(cached) $ECHO_C" >&6
26774 else
26775 cat >conftest.$ac_ext <<_ACEOF
26776 #line $LINENO "configure"
26777 /* confdefs.h. */
26778 _ACEOF
26779 cat confdefs.h >>conftest.$ac_ext
26780 cat >>conftest.$ac_ext <<_ACEOF
26781 /* end confdefs.h. */
26782 /* System header to define __stub macros and hopefully few prototypes,
26783 which can conflict with char $ac_func (); below.
26784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26785 <limits.h> exists even on freestanding compilers. */
26786 #ifdef __STDC__
26787 # include <limits.h>
26788 #else
26789 # include <assert.h>
26790 #endif
26791 /* Override any gcc2 internal prototype to avoid an error. */
26792 #ifdef __cplusplus
26793 extern "C"
26794 {
26795 #endif
26796 /* We use char because int might match the return type of a gcc2
26797 builtin and then its argument prototype would still apply. */
26798 char $ac_func ();
26799 /* The GNU C library defines this for functions which it implements
26800 to always fail with ENOSYS. Some functions are actually named
26801 something starting with __ and the normal name is an alias. */
26802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26803 choke me
26804 #else
26805 char (*f) () = $ac_func;
26806 #endif
26807 #ifdef __cplusplus
26808 }
26809 #endif
26810
26811 int
26812 main ()
26813 {
26814 return f != $ac_func;
26815 ;
26816 return 0;
26817 }
26818 _ACEOF
26819 rm -f conftest.$ac_objext conftest$ac_exeext
26820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26821 (eval $ac_link) 2>&5
26822 ac_status=$?
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); } &&
26825 { ac_try='test -s conftest$ac_exeext'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26828 ac_status=$?
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; }; then
26831 eval "$as_ac_var=yes"
26832 else
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.$ac_ext >&5
26835
26836 eval "$as_ac_var=no"
26837 fi
26838 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26839 fi
26840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26842 if test `eval echo '${'$as_ac_var'}'` = yes; then
26843 cat >>confdefs.h <<_ACEOF
26844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26845 _ACEOF
26846 break
26847 fi
26848 done
26849
26850
26851 echo "$as_me:$LINENO: checking for statfs" >&5
26852 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26853 if test "${wx_cv_func_statfs+set}" = set; then
26854 echo $ECHO_N "(cached) $ECHO_C" >&6
26855 else
26856 cat >conftest.$ac_ext <<_ACEOF
26857 #line $LINENO "configure"
26858 /* confdefs.h. */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863
26864 #if defined(__BSD__)
26865 #include <sys/param.h>
26866 #include <sys/mount.h>
26867 #else
26868 #include <sys/vfs.h>
26869 #endif
26870
26871 int
26872 main ()
26873 {
26874
26875 long l;
26876 struct statfs fs;
26877 statfs("/", &fs);
26878 l = fs.f_bsize;
26879 l += fs.f_blocks;
26880 l += fs.f_bavail;
26881
26882 ;
26883 return 0;
26884 }
26885 _ACEOF
26886 rm -f conftest.$ac_objext
26887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26888 (eval $ac_compile) 2>&5
26889 ac_status=$?
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } &&
26892 { ac_try='test -s conftest.$ac_objext'
26893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26894 (eval $ac_try) 2>&5
26895 ac_status=$?
26896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26897 (exit $ac_status); }; }; then
26898
26899 wx_cv_func_statfs=yes
26900
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905
26906 wx_cv_func_statfs=no
26907
26908
26909 fi
26910 rm -f conftest.$ac_objext conftest.$ac_ext
26911
26912 fi
26913 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26914 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26915
26916 if test "$wx_cv_func_statfs" = "yes"; then
26917 wx_cv_type_statvfs_t="struct statfs"
26918 cat >>confdefs.h <<\_ACEOF
26919 #define HAVE_STATFS 1
26920 _ACEOF
26921
26922 else
26923 echo "$as_me:$LINENO: checking for statvfs" >&5
26924 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26925 if test "${wx_cv_func_statvfs+set}" = set; then
26926 echo $ECHO_N "(cached) $ECHO_C" >&6
26927 else
26928 cat >conftest.$ac_ext <<_ACEOF
26929 #line $LINENO "configure"
26930 /* confdefs.h. */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935
26936 #include <stddef.h>
26937 #include <sys/statvfs.h>
26938
26939 int
26940 main ()
26941 {
26942
26943 statvfs("/", NULL);
26944
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>&5
26952 ac_status=$?
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try='test -s conftest.$ac_objext'
26956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26957 (eval $ac_try) 2>&5
26958 ac_status=$?
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); }; }; then
26961 wx_cv_func_statvfs=yes
26962 else
26963 echo "$as_me: failed program was:" >&5
26964 sed 's/^/| /' conftest.$ac_ext >&5
26965
26966 wx_cv_func_statvfs=no
26967
26968 fi
26969 rm -f conftest.$ac_objext conftest.$ac_ext
26970
26971 fi
26972 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26973 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26974
26975 if test "$wx_cv_func_statvfs" = "yes"; then
26976
26977
26978 ac_ext=cc
26979 ac_cpp='$CXXCPP $CPPFLAGS'
26980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26983
26984
26985 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26986 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26987 if test "${wx_cv_type_statvfs_t+set}" = set; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26989 else
26990 cat >conftest.$ac_ext <<_ACEOF
26991 #line $LINENO "configure"
26992 /* confdefs.h. */
26993 _ACEOF
26994 cat confdefs.h >>conftest.$ac_ext
26995 cat >>conftest.$ac_ext <<_ACEOF
26996 /* end confdefs.h. */
26997
26998 #include <sys/statvfs.h>
26999
27000 int
27001 main ()
27002 {
27003
27004 long l;
27005 statvfs_t fs;
27006 statvfs("/", &fs);
27007 l = fs.f_bsize;
27008 l += fs.f_blocks;
27009 l += fs.f_bavail;
27010
27011 ;
27012 return 0;
27013 }
27014 _ACEOF
27015 rm -f conftest.$ac_objext
27016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27017 (eval $ac_compile) 2>&5
27018 ac_status=$?
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); } &&
27021 { ac_try='test -s conftest.$ac_objext'
27022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27023 (eval $ac_try) 2>&5
27024 ac_status=$?
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); }; }; then
27027 wx_cv_type_statvfs_t=statvfs_t
27028 else
27029 echo "$as_me: failed program was:" >&5
27030 sed 's/^/| /' conftest.$ac_ext >&5
27031
27032
27033 cat >conftest.$ac_ext <<_ACEOF
27034 #line $LINENO "configure"
27035 /* confdefs.h. */
27036 _ACEOF
27037 cat confdefs.h >>conftest.$ac_ext
27038 cat >>conftest.$ac_ext <<_ACEOF
27039 /* end confdefs.h. */
27040
27041 #include <sys/statvfs.h>
27042
27043 int
27044 main ()
27045 {
27046
27047 long l;
27048 struct statvfs fs;
27049 statvfs("/", &fs);
27050 l = fs.f_bsize;
27051 l += fs.f_blocks;
27052 l += fs.f_bavail;
27053
27054 ;
27055 return 0;
27056 }
27057 _ACEOF
27058 rm -f conftest.$ac_objext
27059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27060 (eval $ac_compile) 2>&5
27061 ac_status=$?
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } &&
27064 { ac_try='test -s conftest.$ac_objext'
27065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066 (eval $ac_try) 2>&5
27067 ac_status=$?
27068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069 (exit $ac_status); }; }; then
27070 wx_cv_type_statvfs_t="struct statvfs"
27071 else
27072 echo "$as_me: failed program was:" >&5
27073 sed 's/^/| /' conftest.$ac_ext >&5
27074
27075 wx_cv_type_statvfs_t="unknown"
27076
27077 fi
27078 rm -f conftest.$ac_objext conftest.$ac_ext
27079
27080
27081 fi
27082 rm -f conftest.$ac_objext conftest.$ac_ext
27083
27084 fi
27085 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27086 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27087
27088 ac_ext=c
27089 ac_cpp='$CPP $CPPFLAGS'
27090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27093
27094
27095 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27096 cat >>confdefs.h <<\_ACEOF
27097 #define HAVE_STATVFS 1
27098 _ACEOF
27099
27100 fi
27101 else
27102 wx_cv_type_statvfs_t="unknown"
27103 fi
27104 fi
27105
27106 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27107 cat >>confdefs.h <<_ACEOF
27108 #define WX_STATFS_T $wx_cv_type_statvfs_t
27109 _ACEOF
27110
27111 else
27112 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27113 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27114 fi
27115
27116 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27117
27118
27119 for ac_func in fcntl flock
27120 do
27121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27122 echo "$as_me:$LINENO: checking for $ac_func" >&5
27123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27124 if eval "test \"\${$as_ac_var+set}\" = set"; then
27125 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 else
27127 cat >conftest.$ac_ext <<_ACEOF
27128 #line $LINENO "configure"
27129 /* confdefs.h. */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134 /* System header to define __stub macros and hopefully few prototypes,
27135 which can conflict with char $ac_func (); below.
27136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27137 <limits.h> exists even on freestanding compilers. */
27138 #ifdef __STDC__
27139 # include <limits.h>
27140 #else
27141 # include <assert.h>
27142 #endif
27143 /* Override any gcc2 internal prototype to avoid an error. */
27144 #ifdef __cplusplus
27145 extern "C"
27146 {
27147 #endif
27148 /* We use char because int might match the return type of a gcc2
27149 builtin and then its argument prototype would still apply. */
27150 char $ac_func ();
27151 /* The GNU C library defines this for functions which it implements
27152 to always fail with ENOSYS. Some functions are actually named
27153 something starting with __ and the normal name is an alias. */
27154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27155 choke me
27156 #else
27157 char (*f) () = $ac_func;
27158 #endif
27159 #ifdef __cplusplus
27160 }
27161 #endif
27162
27163 int
27164 main ()
27165 {
27166 return f != $ac_func;
27167 ;
27168 return 0;
27169 }
27170 _ACEOF
27171 rm -f conftest.$ac_objext conftest$ac_exeext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27173 (eval $ac_link) 2>&5
27174 ac_status=$?
27175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27176 (exit $ac_status); } &&
27177 { ac_try='test -s conftest$ac_exeext'
27178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27179 (eval $ac_try) 2>&5
27180 ac_status=$?
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); }; }; then
27183 eval "$as_ac_var=yes"
27184 else
27185 echo "$as_me: failed program was:" >&5
27186 sed 's/^/| /' conftest.$ac_ext >&5
27187
27188 eval "$as_ac_var=no"
27189 fi
27190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27191 fi
27192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27194 if test `eval echo '${'$as_ac_var'}'` = yes; then
27195 cat >>confdefs.h <<_ACEOF
27196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27197 _ACEOF
27198 break
27199 fi
27200 done
27201
27202
27203 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27204 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27205 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27206 wxUSE_SNGLINST_CHECKER=no
27207 fi
27208 fi
27209
27210
27211 for ac_func in timegm
27212 do
27213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27214 echo "$as_me:$LINENO: checking for $ac_func" >&5
27215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27216 if eval "test \"\${$as_ac_var+set}\" = set"; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 else
27219 cat >conftest.$ac_ext <<_ACEOF
27220 #line $LINENO "configure"
27221 /* confdefs.h. */
27222 _ACEOF
27223 cat confdefs.h >>conftest.$ac_ext
27224 cat >>conftest.$ac_ext <<_ACEOF
27225 /* end confdefs.h. */
27226 /* System header to define __stub macros and hopefully few prototypes,
27227 which can conflict with char $ac_func (); below.
27228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27229 <limits.h> exists even on freestanding compilers. */
27230 #ifdef __STDC__
27231 # include <limits.h>
27232 #else
27233 # include <assert.h>
27234 #endif
27235 /* Override any gcc2 internal prototype to avoid an error. */
27236 #ifdef __cplusplus
27237 extern "C"
27238 {
27239 #endif
27240 /* We use char because int might match the return type of a gcc2
27241 builtin and then its argument prototype would still apply. */
27242 char $ac_func ();
27243 /* The GNU C library defines this for functions which it implements
27244 to always fail with ENOSYS. Some functions are actually named
27245 something starting with __ and the normal name is an alias. */
27246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27247 choke me
27248 #else
27249 char (*f) () = $ac_func;
27250 #endif
27251 #ifdef __cplusplus
27252 }
27253 #endif
27254
27255 int
27256 main ()
27257 {
27258 return f != $ac_func;
27259 ;
27260 return 0;
27261 }
27262 _ACEOF
27263 rm -f conftest.$ac_objext conftest$ac_exeext
27264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27265 (eval $ac_link) 2>&5
27266 ac_status=$?
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); } &&
27269 { ac_try='test -s conftest$ac_exeext'
27270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27271 (eval $ac_try) 2>&5
27272 ac_status=$?
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); }; }; then
27275 eval "$as_ac_var=yes"
27276 else
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27279
27280 eval "$as_ac_var=no"
27281 fi
27282 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27283 fi
27284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27286 if test `eval echo '${'$as_ac_var'}'` = yes; then
27287 cat >>confdefs.h <<_ACEOF
27288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27289 _ACEOF
27290
27291 fi
27292 done
27293
27294
27295
27296
27297 for ac_func in putenv setenv
27298 do
27299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27300 echo "$as_me:$LINENO: checking for $ac_func" >&5
27301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27302 if eval "test \"\${$as_ac_var+set}\" = set"; then
27303 echo $ECHO_N "(cached) $ECHO_C" >&6
27304 else
27305 cat >conftest.$ac_ext <<_ACEOF
27306 #line $LINENO "configure"
27307 /* confdefs.h. */
27308 _ACEOF
27309 cat confdefs.h >>conftest.$ac_ext
27310 cat >>conftest.$ac_ext <<_ACEOF
27311 /* end confdefs.h. */
27312 /* System header to define __stub macros and hopefully few prototypes,
27313 which can conflict with char $ac_func (); below.
27314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27315 <limits.h> exists even on freestanding compilers. */
27316 #ifdef __STDC__
27317 # include <limits.h>
27318 #else
27319 # include <assert.h>
27320 #endif
27321 /* Override any gcc2 internal prototype to avoid an error. */
27322 #ifdef __cplusplus
27323 extern "C"
27324 {
27325 #endif
27326 /* We use char because int might match the return type of a gcc2
27327 builtin and then its argument prototype would still apply. */
27328 char $ac_func ();
27329 /* The GNU C library defines this for functions which it implements
27330 to always fail with ENOSYS. Some functions are actually named
27331 something starting with __ and the normal name is an alias. */
27332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27333 choke me
27334 #else
27335 char (*f) () = $ac_func;
27336 #endif
27337 #ifdef __cplusplus
27338 }
27339 #endif
27340
27341 int
27342 main ()
27343 {
27344 return f != $ac_func;
27345 ;
27346 return 0;
27347 }
27348 _ACEOF
27349 rm -f conftest.$ac_objext conftest$ac_exeext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27351 (eval $ac_link) 2>&5
27352 ac_status=$?
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try='test -s conftest$ac_exeext'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27358 ac_status=$?
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; }; then
27361 eval "$as_ac_var=yes"
27362 else
27363 echo "$as_me: failed program was:" >&5
27364 sed 's/^/| /' conftest.$ac_ext >&5
27365
27366 eval "$as_ac_var=no"
27367 fi
27368 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27369 fi
27370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27372 if test `eval echo '${'$as_ac_var'}'` = yes; then
27373 cat >>confdefs.h <<_ACEOF
27374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27375 _ACEOF
27376 break
27377 fi
27378 done
27379
27380
27381 HAVE_SOME_SLEEP_FUNC=0
27382 if test "$USE_BEOS" = 1; then
27383 cat >>confdefs.h <<\_ACEOF
27384 #define HAVE_SLEEP 1
27385 _ACEOF
27386
27387 HAVE_SOME_SLEEP_FUNC=1
27388 fi
27389
27390 if test "$USE_DARWIN" = 1; then
27391 cat >>confdefs.h <<\_ACEOF
27392 #define HAVE_USLEEP 1
27393 _ACEOF
27394
27395 HAVE_SOME_SLEEP_FUNC=1
27396 fi
27397
27398 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27399 POSIX4_LINK=
27400
27401 for ac_func in nanosleep
27402 do
27403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27404 echo "$as_me:$LINENO: checking for $ac_func" >&5
27405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27406 if eval "test \"\${$as_ac_var+set}\" = set"; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 else
27409 cat >conftest.$ac_ext <<_ACEOF
27410 #line $LINENO "configure"
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416 /* System header to define __stub macros and hopefully few prototypes,
27417 which can conflict with char $ac_func (); below.
27418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27419 <limits.h> exists even on freestanding compilers. */
27420 #ifdef __STDC__
27421 # include <limits.h>
27422 #else
27423 # include <assert.h>
27424 #endif
27425 /* Override any gcc2 internal prototype to avoid an error. */
27426 #ifdef __cplusplus
27427 extern "C"
27428 {
27429 #endif
27430 /* We use char because int might match the return type of a gcc2
27431 builtin and then its argument prototype would still apply. */
27432 char $ac_func ();
27433 /* The GNU C library defines this for functions which it implements
27434 to always fail with ENOSYS. Some functions are actually named
27435 something starting with __ and the normal name is an alias. */
27436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27437 choke me
27438 #else
27439 char (*f) () = $ac_func;
27440 #endif
27441 #ifdef __cplusplus
27442 }
27443 #endif
27444
27445 int
27446 main ()
27447 {
27448 return f != $ac_func;
27449 ;
27450 return 0;
27451 }
27452 _ACEOF
27453 rm -f conftest.$ac_objext conftest$ac_exeext
27454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27455 (eval $ac_link) 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } &&
27459 { ac_try='test -s conftest$ac_exeext'
27460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27461 (eval $ac_try) 2>&5
27462 ac_status=$?
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); }; }; then
27465 eval "$as_ac_var=yes"
27466 else
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27469
27470 eval "$as_ac_var=no"
27471 fi
27472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27473 fi
27474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27476 if test `eval echo '${'$as_ac_var'}'` = yes; then
27477 cat >>confdefs.h <<_ACEOF
27478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27479 _ACEOF
27480 cat >>confdefs.h <<\_ACEOF
27481 #define HAVE_NANOSLEEP 1
27482 _ACEOF
27483
27484 else
27485
27486 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27487 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27488 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27489 echo $ECHO_N "(cached) $ECHO_C" >&6
27490 else
27491 ac_check_lib_save_LIBS=$LIBS
27492 LIBS="-lposix4 $LIBS"
27493 cat >conftest.$ac_ext <<_ACEOF
27494 #line $LINENO "configure"
27495 /* confdefs.h. */
27496 _ACEOF
27497 cat confdefs.h >>conftest.$ac_ext
27498 cat >>conftest.$ac_ext <<_ACEOF
27499 /* end confdefs.h. */
27500
27501 /* Override any gcc2 internal prototype to avoid an error. */
27502 #ifdef __cplusplus
27503 extern "C"
27504 #endif
27505 /* We use char because int might match the return type of a gcc2
27506 builtin and then its argument prototype would still apply. */
27507 char nanosleep ();
27508 int
27509 main ()
27510 {
27511 nanosleep ();
27512 ;
27513 return 0;
27514 }
27515 _ACEOF
27516 rm -f conftest.$ac_objext conftest$ac_exeext
27517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27518 (eval $ac_link) 2>&5
27519 ac_status=$?
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); } &&
27522 { ac_try='test -s conftest$ac_exeext'
27523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524 (eval $ac_try) 2>&5
27525 ac_status=$?
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; }; then
27528 ac_cv_lib_posix4_nanosleep=yes
27529 else
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.$ac_ext >&5
27532
27533 ac_cv_lib_posix4_nanosleep=no
27534 fi
27535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27536 LIBS=$ac_check_lib_save_LIBS
27537 fi
27538 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27539 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27540 if test $ac_cv_lib_posix4_nanosleep = yes; then
27541
27542 cat >>confdefs.h <<\_ACEOF
27543 #define HAVE_NANOSLEEP 1
27544 _ACEOF
27545
27546 POSIX4_LINK=" -lposix4"
27547
27548 else
27549
27550
27551 for ac_func in usleep
27552 do
27553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27554 echo "$as_me:$LINENO: checking for $ac_func" >&5
27555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27556 if eval "test \"\${$as_ac_var+set}\" = set"; then
27557 echo $ECHO_N "(cached) $ECHO_C" >&6
27558 else
27559 cat >conftest.$ac_ext <<_ACEOF
27560 #line $LINENO "configure"
27561 /* confdefs.h. */
27562 _ACEOF
27563 cat confdefs.h >>conftest.$ac_ext
27564 cat >>conftest.$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27566 /* System header to define __stub macros and hopefully few prototypes,
27567 which can conflict with char $ac_func (); below.
27568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27569 <limits.h> exists even on freestanding compilers. */
27570 #ifdef __STDC__
27571 # include <limits.h>
27572 #else
27573 # include <assert.h>
27574 #endif
27575 /* Override any gcc2 internal prototype to avoid an error. */
27576 #ifdef __cplusplus
27577 extern "C"
27578 {
27579 #endif
27580 /* We use char because int might match the return type of a gcc2
27581 builtin and then its argument prototype would still apply. */
27582 char $ac_func ();
27583 /* The GNU C library defines this for functions which it implements
27584 to always fail with ENOSYS. Some functions are actually named
27585 something starting with __ and the normal name is an alias. */
27586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27587 choke me
27588 #else
27589 char (*f) () = $ac_func;
27590 #endif
27591 #ifdef __cplusplus
27592 }
27593 #endif
27594
27595 int
27596 main ()
27597 {
27598 return f != $ac_func;
27599 ;
27600 return 0;
27601 }
27602 _ACEOF
27603 rm -f conftest.$ac_objext conftest$ac_exeext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 (eval $ac_link) 2>&5
27606 ac_status=$?
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } &&
27609 { ac_try='test -s conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27612 ac_status=$?
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 eval "$as_ac_var=yes"
27616 else
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.$ac_ext >&5
27619
27620 eval "$as_ac_var=no"
27621 fi
27622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27623 fi
27624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27626 if test `eval echo '${'$as_ac_var'}'` = yes; then
27627 cat >>confdefs.h <<_ACEOF
27628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27629 _ACEOF
27630 cat >>confdefs.h <<\_ACEOF
27631 #define HAVE_USLEEP 1
27632 _ACEOF
27633
27634 else
27635 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27636 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27637
27638 fi
27639 done
27640
27641
27642
27643 fi
27644
27645
27646
27647 fi
27648 done
27649
27650 fi
27651
27652
27653
27654 for ac_func in uname gethostname
27655 do
27656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27657 echo "$as_me:$LINENO: checking for $ac_func" >&5
27658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27659 if eval "test \"\${$as_ac_var+set}\" = set"; then
27660 echo $ECHO_N "(cached) $ECHO_C" >&6
27661 else
27662 cat >conftest.$ac_ext <<_ACEOF
27663 #line $LINENO "configure"
27664 /* confdefs.h. */
27665 _ACEOF
27666 cat confdefs.h >>conftest.$ac_ext
27667 cat >>conftest.$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27669 /* System header to define __stub macros and hopefully few prototypes,
27670 which can conflict with char $ac_func (); below.
27671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27672 <limits.h> exists even on freestanding compilers. */
27673 #ifdef __STDC__
27674 # include <limits.h>
27675 #else
27676 # include <assert.h>
27677 #endif
27678 /* Override any gcc2 internal prototype to avoid an error. */
27679 #ifdef __cplusplus
27680 extern "C"
27681 {
27682 #endif
27683 /* We use char because int might match the return type of a gcc2
27684 builtin and then its argument prototype would still apply. */
27685 char $ac_func ();
27686 /* The GNU C library defines this for functions which it implements
27687 to always fail with ENOSYS. Some functions are actually named
27688 something starting with __ and the normal name is an alias. */
27689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27690 choke me
27691 #else
27692 char (*f) () = $ac_func;
27693 #endif
27694 #ifdef __cplusplus
27695 }
27696 #endif
27697
27698 int
27699 main ()
27700 {
27701 return f != $ac_func;
27702 ;
27703 return 0;
27704 }
27705 _ACEOF
27706 rm -f conftest.$ac_objext conftest$ac_exeext
27707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27708 (eval $ac_link) 2>&5
27709 ac_status=$?
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); } &&
27712 { ac_try='test -s conftest$ac_exeext'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27715 ac_status=$?
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; }; then
27718 eval "$as_ac_var=yes"
27719 else
27720 echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.$ac_ext >&5
27722
27723 eval "$as_ac_var=no"
27724 fi
27725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27726 fi
27727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27729 if test `eval echo '${'$as_ac_var'}'` = yes; then
27730 cat >>confdefs.h <<_ACEOF
27731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27732 _ACEOF
27733 break
27734 fi
27735 done
27736
27737
27738
27739
27740 ac_ext=cc
27741 ac_cpp='$CXXCPP $CPPFLAGS'
27742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27745
27746
27747
27748 for ac_func in strtok_r
27749 do
27750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27751 echo "$as_me:$LINENO: checking for $ac_func" >&5
27752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27753 if eval "test \"\${$as_ac_var+set}\" = set"; then
27754 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 else
27756 cat >conftest.$ac_ext <<_ACEOF
27757 #line $LINENO "configure"
27758 /* confdefs.h. */
27759 _ACEOF
27760 cat confdefs.h >>conftest.$ac_ext
27761 cat >>conftest.$ac_ext <<_ACEOF
27762 /* end confdefs.h. */
27763 /* System header to define __stub macros and hopefully few prototypes,
27764 which can conflict with char $ac_func (); below.
27765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27766 <limits.h> exists even on freestanding compilers. */
27767 #ifdef __STDC__
27768 # include <limits.h>
27769 #else
27770 # include <assert.h>
27771 #endif
27772 /* Override any gcc2 internal prototype to avoid an error. */
27773 #ifdef __cplusplus
27774 extern "C"
27775 {
27776 #endif
27777 /* We use char because int might match the return type of a gcc2
27778 builtin and then its argument prototype would still apply. */
27779 char $ac_func ();
27780 /* The GNU C library defines this for functions which it implements
27781 to always fail with ENOSYS. Some functions are actually named
27782 something starting with __ and the normal name is an alias. */
27783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27784 choke me
27785 #else
27786 char (*f) () = $ac_func;
27787 #endif
27788 #ifdef __cplusplus
27789 }
27790 #endif
27791
27792 int
27793 main ()
27794 {
27795 return f != $ac_func;
27796 ;
27797 return 0;
27798 }
27799 _ACEOF
27800 rm -f conftest.$ac_objext conftest$ac_exeext
27801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27802 (eval $ac_link) 2>&5
27803 ac_status=$?
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } &&
27806 { ac_try='test -s conftest$ac_exeext'
27807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808 (eval $ac_try) 2>&5
27809 ac_status=$?
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); }; }; then
27812 eval "$as_ac_var=yes"
27813 else
27814 echo "$as_me: failed program was:" >&5
27815 sed 's/^/| /' conftest.$ac_ext >&5
27816
27817 eval "$as_ac_var=no"
27818 fi
27819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27820 fi
27821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27823 if test `eval echo '${'$as_ac_var'}'` = yes; then
27824 cat >>confdefs.h <<_ACEOF
27825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27826 _ACEOF
27827
27828 fi
27829 done
27830
27831
27832 ac_ext=c
27833 ac_cpp='$CPP $CPPFLAGS'
27834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27837
27838
27839 INET_LINK=
27840
27841 for ac_func in inet_addr
27842 do
27843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27844 echo "$as_me:$LINENO: checking for $ac_func" >&5
27845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27846 if eval "test \"\${$as_ac_var+set}\" = set"; then
27847 echo $ECHO_N "(cached) $ECHO_C" >&6
27848 else
27849 cat >conftest.$ac_ext <<_ACEOF
27850 #line $LINENO "configure"
27851 /* confdefs.h. */
27852 _ACEOF
27853 cat confdefs.h >>conftest.$ac_ext
27854 cat >>conftest.$ac_ext <<_ACEOF
27855 /* end confdefs.h. */
27856 /* System header to define __stub macros and hopefully few prototypes,
27857 which can conflict with char $ac_func (); below.
27858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27859 <limits.h> exists even on freestanding compilers. */
27860 #ifdef __STDC__
27861 # include <limits.h>
27862 #else
27863 # include <assert.h>
27864 #endif
27865 /* Override any gcc2 internal prototype to avoid an error. */
27866 #ifdef __cplusplus
27867 extern "C"
27868 {
27869 #endif
27870 /* We use char because int might match the return type of a gcc2
27871 builtin and then its argument prototype would still apply. */
27872 char $ac_func ();
27873 /* The GNU C library defines this for functions which it implements
27874 to always fail with ENOSYS. Some functions are actually named
27875 something starting with __ and the normal name is an alias. */
27876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27877 choke me
27878 #else
27879 char (*f) () = $ac_func;
27880 #endif
27881 #ifdef __cplusplus
27882 }
27883 #endif
27884
27885 int
27886 main ()
27887 {
27888 return f != $ac_func;
27889 ;
27890 return 0;
27891 }
27892 _ACEOF
27893 rm -f conftest.$ac_objext conftest$ac_exeext
27894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27895 (eval $ac_link) 2>&5
27896 ac_status=$?
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); } &&
27899 { ac_try='test -s conftest$ac_exeext'
27900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27901 (eval $ac_try) 2>&5
27902 ac_status=$?
27903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27904 (exit $ac_status); }; }; then
27905 eval "$as_ac_var=yes"
27906 else
27907 echo "$as_me: failed program was:" >&5
27908 sed 's/^/| /' conftest.$ac_ext >&5
27909
27910 eval "$as_ac_var=no"
27911 fi
27912 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27913 fi
27914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27916 if test `eval echo '${'$as_ac_var'}'` = yes; then
27917 cat >>confdefs.h <<_ACEOF
27918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27919 _ACEOF
27920 cat >>confdefs.h <<\_ACEOF
27921 #define HAVE_INET_ADDR 1
27922 _ACEOF
27923
27924 else
27925
27926 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27927 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27928 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27929 echo $ECHO_N "(cached) $ECHO_C" >&6
27930 else
27931 ac_check_lib_save_LIBS=$LIBS
27932 LIBS="-lnsl $LIBS"
27933 cat >conftest.$ac_ext <<_ACEOF
27934 #line $LINENO "configure"
27935 /* confdefs.h. */
27936 _ACEOF
27937 cat confdefs.h >>conftest.$ac_ext
27938 cat >>conftest.$ac_ext <<_ACEOF
27939 /* end confdefs.h. */
27940
27941 /* Override any gcc2 internal prototype to avoid an error. */
27942 #ifdef __cplusplus
27943 extern "C"
27944 #endif
27945 /* We use char because int might match the return type of a gcc2
27946 builtin and then its argument prototype would still apply. */
27947 char inet_addr ();
27948 int
27949 main ()
27950 {
27951 inet_addr ();
27952 ;
27953 return 0;
27954 }
27955 _ACEOF
27956 rm -f conftest.$ac_objext conftest$ac_exeext
27957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27958 (eval $ac_link) 2>&5
27959 ac_status=$?
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); } &&
27962 { ac_try='test -s conftest$ac_exeext'
27963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27964 (eval $ac_try) 2>&5
27965 ac_status=$?
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); }; }; then
27968 ac_cv_lib_nsl_inet_addr=yes
27969 else
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.$ac_ext >&5
27972
27973 ac_cv_lib_nsl_inet_addr=no
27974 fi
27975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27976 LIBS=$ac_check_lib_save_LIBS
27977 fi
27978 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27979 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27980 if test $ac_cv_lib_nsl_inet_addr = yes; then
27981 INET_LINK="nsl"
27982 else
27983 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27984 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27985 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27986 echo $ECHO_N "(cached) $ECHO_C" >&6
27987 else
27988 ac_check_lib_save_LIBS=$LIBS
27989 LIBS="-lresolv $LIBS"
27990 cat >conftest.$ac_ext <<_ACEOF
27991 #line $LINENO "configure"
27992 /* confdefs.h. */
27993 _ACEOF
27994 cat confdefs.h >>conftest.$ac_ext
27995 cat >>conftest.$ac_ext <<_ACEOF
27996 /* end confdefs.h. */
27997
27998 /* Override any gcc2 internal prototype to avoid an error. */
27999 #ifdef __cplusplus
28000 extern "C"
28001 #endif
28002 /* We use char because int might match the return type of a gcc2
28003 builtin and then its argument prototype would still apply. */
28004 char inet_addr ();
28005 int
28006 main ()
28007 {
28008 inet_addr ();
28009 ;
28010 return 0;
28011 }
28012 _ACEOF
28013 rm -f conftest.$ac_objext conftest$ac_exeext
28014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28015 (eval $ac_link) 2>&5
28016 ac_status=$?
28017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28018 (exit $ac_status); } &&
28019 { ac_try='test -s conftest$ac_exeext'
28020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021 (eval $ac_try) 2>&5
28022 ac_status=$?
28023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024 (exit $ac_status); }; }; then
28025 ac_cv_lib_resolv_inet_addr=yes
28026 else
28027 echo "$as_me: failed program was:" >&5
28028 sed 's/^/| /' conftest.$ac_ext >&5
28029
28030 ac_cv_lib_resolv_inet_addr=no
28031 fi
28032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28033 LIBS=$ac_check_lib_save_LIBS
28034 fi
28035 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28036 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28037 if test $ac_cv_lib_resolv_inet_addr = yes; then
28038 INET_LINK="resolv"
28039 else
28040 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28041 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28042 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28043 echo $ECHO_N "(cached) $ECHO_C" >&6
28044 else
28045 ac_check_lib_save_LIBS=$LIBS
28046 LIBS="-lsocket $LIBS"
28047 cat >conftest.$ac_ext <<_ACEOF
28048 #line $LINENO "configure"
28049 /* confdefs.h. */
28050 _ACEOF
28051 cat confdefs.h >>conftest.$ac_ext
28052 cat >>conftest.$ac_ext <<_ACEOF
28053 /* end confdefs.h. */
28054
28055 /* Override any gcc2 internal prototype to avoid an error. */
28056 #ifdef __cplusplus
28057 extern "C"
28058 #endif
28059 /* We use char because int might match the return type of a gcc2
28060 builtin and then its argument prototype would still apply. */
28061 char inet_addr ();
28062 int
28063 main ()
28064 {
28065 inet_addr ();
28066 ;
28067 return 0;
28068 }
28069 _ACEOF
28070 rm -f conftest.$ac_objext conftest$ac_exeext
28071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28072 (eval $ac_link) 2>&5
28073 ac_status=$?
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); } &&
28076 { ac_try='test -s conftest$ac_exeext'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28079 ac_status=$?
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; }; then
28082 ac_cv_lib_socket_inet_addr=yes
28083 else
28084 echo "$as_me: failed program was:" >&5
28085 sed 's/^/| /' conftest.$ac_ext >&5
28086
28087 ac_cv_lib_socket_inet_addr=no
28088 fi
28089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28090 LIBS=$ac_check_lib_save_LIBS
28091 fi
28092 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28093 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28094 if test $ac_cv_lib_socket_inet_addr = yes; then
28095 INET_LINK="socket"
28096
28097 fi
28098
28099
28100 fi
28101
28102
28103 fi
28104
28105
28106
28107 fi
28108 done
28109
28110
28111
28112 for ac_func in inet_aton
28113 do
28114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28115 echo "$as_me:$LINENO: checking for $ac_func" >&5
28116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28117 if eval "test \"\${$as_ac_var+set}\" = set"; then
28118 echo $ECHO_N "(cached) $ECHO_C" >&6
28119 else
28120 cat >conftest.$ac_ext <<_ACEOF
28121 #line $LINENO "configure"
28122 /* confdefs.h. */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127 /* System header to define __stub macros and hopefully few prototypes,
28128 which can conflict with char $ac_func (); below.
28129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28130 <limits.h> exists even on freestanding compilers. */
28131 #ifdef __STDC__
28132 # include <limits.h>
28133 #else
28134 # include <assert.h>
28135 #endif
28136 /* Override any gcc2 internal prototype to avoid an error. */
28137 #ifdef __cplusplus
28138 extern "C"
28139 {
28140 #endif
28141 /* We use char because int might match the return type of a gcc2
28142 builtin and then its argument prototype would still apply. */
28143 char $ac_func ();
28144 /* The GNU C library defines this for functions which it implements
28145 to always fail with ENOSYS. Some functions are actually named
28146 something starting with __ and the normal name is an alias. */
28147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28148 choke me
28149 #else
28150 char (*f) () = $ac_func;
28151 #endif
28152 #ifdef __cplusplus
28153 }
28154 #endif
28155
28156 int
28157 main ()
28158 {
28159 return f != $ac_func;
28160 ;
28161 return 0;
28162 }
28163 _ACEOF
28164 rm -f conftest.$ac_objext conftest$ac_exeext
28165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28166 (eval $ac_link) 2>&5
28167 ac_status=$?
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } &&
28170 { ac_try='test -s conftest$ac_exeext'
28171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28172 (eval $ac_try) 2>&5
28173 ac_status=$?
28174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28175 (exit $ac_status); }; }; then
28176 eval "$as_ac_var=yes"
28177 else
28178 echo "$as_me: failed program was:" >&5
28179 sed 's/^/| /' conftest.$ac_ext >&5
28180
28181 eval "$as_ac_var=no"
28182 fi
28183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28184 fi
28185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28187 if test `eval echo '${'$as_ac_var'}'` = yes; then
28188 cat >>confdefs.h <<_ACEOF
28189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28190 _ACEOF
28191 cat >>confdefs.h <<\_ACEOF
28192 #define HAVE_INET_ATON 1
28193 _ACEOF
28194
28195 else
28196
28197 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28198 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28199 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28200 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28201 echo $ECHO_N "(cached) $ECHO_C" >&6
28202 else
28203 ac_check_lib_save_LIBS=$LIBS
28204 LIBS="-l$INET_LINK $LIBS"
28205 cat >conftest.$ac_ext <<_ACEOF
28206 #line $LINENO "configure"
28207 /* confdefs.h. */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28212
28213 /* Override any gcc2 internal prototype to avoid an error. */
28214 #ifdef __cplusplus
28215 extern "C"
28216 #endif
28217 /* We use char because int might match the return type of a gcc2
28218 builtin and then its argument prototype would still apply. */
28219 char inet_aton ();
28220 int
28221 main ()
28222 {
28223 inet_aton ();
28224 ;
28225 return 0;
28226 }
28227 _ACEOF
28228 rm -f conftest.$ac_objext conftest$ac_exeext
28229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28230 (eval $ac_link) 2>&5
28231 ac_status=$?
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try='test -s conftest$ac_exeext'
28235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28236 (eval $ac_try) 2>&5
28237 ac_status=$?
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); }; }; then
28240 eval "$as_ac_Lib=yes"
28241 else
28242 echo "$as_me: failed program was:" >&5
28243 sed 's/^/| /' conftest.$ac_ext >&5
28244
28245 eval "$as_ac_Lib=no"
28246 fi
28247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28248 LIBS=$ac_check_lib_save_LIBS
28249 fi
28250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28251 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28252 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28253 cat >>confdefs.h <<\_ACEOF
28254 #define HAVE_INET_ATON 1
28255 _ACEOF
28256
28257 fi
28258
28259
28260 fi
28261 done
28262
28263
28264 if test "x$INET_LINK" != "x"; then
28265 cat >>confdefs.h <<\_ACEOF
28266 #define HAVE_INET_ADDR 1
28267 _ACEOF
28268
28269 INET_LINK=" -l$INET_LINK"
28270 fi
28271
28272 fi
28273
28274
28275
28276 ESD_LINK=
28277 if test "${ac_cv_header_esd_h+set}" = set; then
28278 echo "$as_me:$LINENO: checking for esd.h" >&5
28279 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28280 if test "${ac_cv_header_esd_h+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28282 fi
28283 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28284 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28285 else
28286 # Is the header compilable?
28287 echo "$as_me:$LINENO: checking esd.h usability" >&5
28288 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28289 cat >conftest.$ac_ext <<_ACEOF
28290 #line $LINENO "configure"
28291 /* confdefs.h. */
28292 _ACEOF
28293 cat confdefs.h >>conftest.$ac_ext
28294 cat >>conftest.$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28296 $ac_includes_default
28297 #include <esd.h>
28298 _ACEOF
28299 rm -f conftest.$ac_objext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28301 (eval $ac_compile) 2>&5
28302 ac_status=$?
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } &&
28305 { ac_try='test -s conftest.$ac_objext'
28306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28307 (eval $ac_try) 2>&5
28308 ac_status=$?
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; }; then
28311 ac_header_compiler=yes
28312 else
28313 echo "$as_me: failed program was:" >&5
28314 sed 's/^/| /' conftest.$ac_ext >&5
28315
28316 ac_header_compiler=no
28317 fi
28318 rm -f conftest.$ac_objext conftest.$ac_ext
28319 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28320 echo "${ECHO_T}$ac_header_compiler" >&6
28321
28322 # Is the header present?
28323 echo "$as_me:$LINENO: checking esd.h presence" >&5
28324 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28325 cat >conftest.$ac_ext <<_ACEOF
28326 #line $LINENO "configure"
28327 /* confdefs.h. */
28328 _ACEOF
28329 cat confdefs.h >>conftest.$ac_ext
28330 cat >>conftest.$ac_ext <<_ACEOF
28331 /* end confdefs.h. */
28332 #include <esd.h>
28333 _ACEOF
28334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28336 ac_status=$?
28337 grep -v '^ *+' conftest.er1 >conftest.err
28338 rm -f conftest.er1
28339 cat conftest.err >&5
28340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341 (exit $ac_status); } >/dev/null; then
28342 if test -s conftest.err; then
28343 ac_cpp_err=$ac_c_preproc_warn_flag
28344 else
28345 ac_cpp_err=
28346 fi
28347 else
28348 ac_cpp_err=yes
28349 fi
28350 if test -z "$ac_cpp_err"; then
28351 ac_header_preproc=yes
28352 else
28353 echo "$as_me: failed program was:" >&5
28354 sed 's/^/| /' conftest.$ac_ext >&5
28355
28356 ac_header_preproc=no
28357 fi
28358 rm -f conftest.err conftest.$ac_ext
28359 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28360 echo "${ECHO_T}$ac_header_preproc" >&6
28361
28362 # So? What about this header?
28363 case $ac_header_compiler:$ac_header_preproc in
28364 yes:no )
28365 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28366 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28367 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28368 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28369 (
28370 cat <<\_ASBOX
28371 ## ------------------------------------ ##
28372 ## Report this to bug-autoconf@gnu.org. ##
28373 ## ------------------------------------ ##
28374 _ASBOX
28375 ) |
28376 sed "s/^/$as_me: WARNING: /" >&2
28377 ;;
28378 no:yes )
28379 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28380 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28381 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28382 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28383 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28384 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28385 (
28386 cat <<\_ASBOX
28387 ## ------------------------------------ ##
28388 ## Report this to bug-autoconf@gnu.org. ##
28389 ## ------------------------------------ ##
28390 _ASBOX
28391 ) |
28392 sed "s/^/$as_me: WARNING: /" >&2
28393 ;;
28394 esac
28395 echo "$as_me:$LINENO: checking for esd.h" >&5
28396 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28397 if test "${ac_cv_header_esd_h+set}" = set; then
28398 echo $ECHO_N "(cached) $ECHO_C" >&6
28399 else
28400 ac_cv_header_esd_h=$ac_header_preproc
28401 fi
28402 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28403 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28404
28405 fi
28406 if test $ac_cv_header_esd_h = yes; then
28407
28408 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28409 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28410 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28411 echo $ECHO_N "(cached) $ECHO_C" >&6
28412 else
28413 ac_check_lib_save_LIBS=$LIBS
28414 LIBS="-lesd $LIBS"
28415 cat >conftest.$ac_ext <<_ACEOF
28416 #line $LINENO "configure"
28417 /* confdefs.h. */
28418 _ACEOF
28419 cat confdefs.h >>conftest.$ac_ext
28420 cat >>conftest.$ac_ext <<_ACEOF
28421 /* end confdefs.h. */
28422
28423 /* Override any gcc2 internal prototype to avoid an error. */
28424 #ifdef __cplusplus
28425 extern "C"
28426 #endif
28427 /* We use char because int might match the return type of a gcc2
28428 builtin and then its argument prototype would still apply. */
28429 char esd_close ();
28430 int
28431 main ()
28432 {
28433 esd_close ();
28434 ;
28435 return 0;
28436 }
28437 _ACEOF
28438 rm -f conftest.$ac_objext conftest$ac_exeext
28439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28440 (eval $ac_link) 2>&5
28441 ac_status=$?
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } &&
28444 { ac_try='test -s conftest$ac_exeext'
28445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28446 (eval $ac_try) 2>&5
28447 ac_status=$?
28448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28449 (exit $ac_status); }; }; then
28450 ac_cv_lib_esd_esd_close=yes
28451 else
28452 echo "$as_me: failed program was:" >&5
28453 sed 's/^/| /' conftest.$ac_ext >&5
28454
28455 ac_cv_lib_esd_esd_close=no
28456 fi
28457 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28458 LIBS=$ac_check_lib_save_LIBS
28459 fi
28460 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28461 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28462 if test $ac_cv_lib_esd_esd_close = yes; then
28463
28464 ESD_LINK="-lesd"
28465
28466 fi
28467
28468
28469 fi
28470
28471
28472
28473
28474
28475 cat >confcache <<\_ACEOF
28476 # This file is a shell script that caches the results of configure
28477 # tests run on this system so they can be shared between configure
28478 # scripts and configure runs, see configure's option --config-cache.
28479 # It is not useful on other systems. If it contains results you don't
28480 # want to keep, you may remove or edit it.
28481 #
28482 # config.status only pays attention to the cache file if you give it
28483 # the --recheck option to rerun configure.
28484 #
28485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28487 # following values.
28488
28489 _ACEOF
28490
28491 # The following way of writing the cache mishandles newlines in values,
28492 # but we know of no workaround that is simple, portable, and efficient.
28493 # So, don't put newlines in cache variables' values.
28494 # Ultrix sh set writes to stderr and can't be redirected directly,
28495 # and sets the high bit in the cache file unless we assign to the vars.
28496 {
28497 (set) 2>&1 |
28498 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28499 *ac_space=\ *)
28500 # `set' does not quote correctly, so add quotes (double-quote
28501 # substitution turns \\\\ into \\, and sed turns \\ into \).
28502 sed -n \
28503 "s/'/'\\\\''/g;
28504 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28505 ;;
28506 *)
28507 # `set' quotes correctly as required by POSIX, so do not add quotes.
28508 sed -n \
28509 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28510 ;;
28511 esac;
28512 } |
28513 sed '
28514 t clear
28515 : clear
28516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28517 t end
28518 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28519 : end' >>confcache
28520 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28521 if test -w $cache_file; then
28522 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28523 cat confcache >$cache_file
28524 else
28525 echo "not updating unwritable cache $cache_file"
28526 fi
28527 fi
28528 rm -f confcache
28529
28530
28531 CPP_MT_FLAG=
28532 if test "$TOOLKIT" != "MSW"; then
28533
28534
28535 THREADS_LINK=
28536 THREADS_CFLAGS=
28537
28538 if test "$wxUSE_THREADS" = "yes" ; then
28539 if test "$USE_BEOS" = 1; then
28540 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28541 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28542 wxUSE_THREADS="no"
28543 fi
28544 fi
28545
28546 if test "$wxUSE_THREADS" = "yes" ; then
28547
28548
28549 THREAD_OPTS="-pthread"
28550 case "${host}" in
28551 *-*-solaris2* | *-*-sunos4* )
28552 if test "x$GCC" = "xyes"; then
28553 THREAD_OPTS="-pthreads $THREAD_OPTS"
28554 else
28555 THREAD_OPTS="-mt $THREAD_OPTS"
28556 fi
28557 ;;
28558 *-*-freebsd*)
28559 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28560 ;;
28561 *-*-darwin* | *-*-cygwin* )
28562 THREAD_OPTS=""
28563 ;;
28564 *-*-aix*)
28565 THREAD_OPTS="pthreads"
28566 ;;
28567 *-hp-hpux* )
28568 if test "x$GCC" != "xyes"; then
28569 THREAD_OPTS=""
28570 fi
28571 ;;
28572
28573 *-*-irix* )
28574 if test "x$GCC" = "xyes"; then
28575 THREAD_OPTS=""
28576 fi
28577 ;;
28578
28579 *-*-*UnixWare*)
28580 if test "x$GCC" != "xyes"; then
28581 THREAD_OPTS="-Ethread"
28582 fi
28583 ;;
28584 esac
28585
28586 THREAD_OPTS="$THREAD_OPTS pthread none"
28587
28588 THREADS_OK=no
28589 for flag in $THREAD_OPTS; do
28590 case $flag in
28591 none)
28592 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28593 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28594 ;;
28595
28596 -*)
28597 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28598 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28599 THREADS_CFLAGS="$flag"
28600 ;;
28601
28602 *)
28603 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28604 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28605 THREADS_LINK="-l$flag"
28606 ;;
28607 esac
28608
28609 save_LIBS="$LIBS"
28610 save_CFLAGS="$CFLAGS"
28611 LIBS="$THREADS_LINK $LIBS"
28612 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28613
28614 cat >conftest.$ac_ext <<_ACEOF
28615 #line $LINENO "configure"
28616 /* confdefs.h. */
28617 _ACEOF
28618 cat confdefs.h >>conftest.$ac_ext
28619 cat >>conftest.$ac_ext <<_ACEOF
28620 /* end confdefs.h. */
28621 #include <pthread.h>
28622 int
28623 main ()
28624 {
28625 pthread_create(0,0,0,0);
28626 ;
28627 return 0;
28628 }
28629 _ACEOF
28630 rm -f conftest.$ac_objext conftest$ac_exeext
28631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28632 (eval $ac_link) 2>&5
28633 ac_status=$?
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); } &&
28636 { ac_try='test -s conftest$ac_exeext'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28639 ac_status=$?
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; }; then
28642 THREADS_OK=yes
28643 else
28644 echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.$ac_ext >&5
28646
28647 fi
28648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28649
28650 LIBS="$save_LIBS"
28651 CFLAGS="$save_CFLAGS"
28652
28653 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28654 echo "${ECHO_T}$THREADS_OK" >&6
28655 if test "x$THREADS_OK" = "xyes"; then
28656 break;
28657 fi
28658
28659 THREADS_LINK=""
28660 THREADS_CFLAGS=""
28661 done
28662
28663 if test "x$THREADS_OK" != "xyes"; then
28664 wxUSE_THREADS=no
28665 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28666 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28667 else
28668 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28669 LIBS="$THREADS_LINK $LIBS"
28670
28671 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28672 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28673 flag=no
28674 case "${host}" in
28675 *-aix*)
28676 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28677 flag="-D_THREAD_SAFE"
28678 ;;
28679 *-freebsd*)
28680 flag="-D_THREAD_SAFE"
28681 ;;
28682 *-hp-hpux* )
28683 flag="-D_REENTRANT"
28684 if test "x$GCC" != "xyes"; then
28685 flag="$flag -D_RWSTD_MULTI_THREAD"
28686 fi
28687 ;;
28688 *solaris* | alpha*-osf*)
28689 flag="-D_REENTRANT"
28690 ;;
28691 esac
28692 echo "$as_me:$LINENO: result: ${flag}" >&5
28693 echo "${ECHO_T}${flag}" >&6
28694 if test "x$flag" != xno; then
28695 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28696 fi
28697
28698 if test "x$THREADS_CFLAGS" != "x"; then
28699 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28700 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28701 fi
28702 fi
28703 fi
28704
28705 if test "$wxUSE_THREADS" = "yes" ; then
28706
28707 for ac_func in thr_setconcurrency
28708 do
28709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28710 echo "$as_me:$LINENO: checking for $ac_func" >&5
28711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28712 if eval "test \"\${$as_ac_var+set}\" = set"; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28714 else
28715 cat >conftest.$ac_ext <<_ACEOF
28716 #line $LINENO "configure"
28717 /* confdefs.h. */
28718 _ACEOF
28719 cat confdefs.h >>conftest.$ac_ext
28720 cat >>conftest.$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 /* System header to define __stub macros and hopefully few prototypes,
28723 which can conflict with char $ac_func (); below.
28724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28725 <limits.h> exists even on freestanding compilers. */
28726 #ifdef __STDC__
28727 # include <limits.h>
28728 #else
28729 # include <assert.h>
28730 #endif
28731 /* Override any gcc2 internal prototype to avoid an error. */
28732 #ifdef __cplusplus
28733 extern "C"
28734 {
28735 #endif
28736 /* We use char because int might match the return type of a gcc2
28737 builtin and then its argument prototype would still apply. */
28738 char $ac_func ();
28739 /* The GNU C library defines this for functions which it implements
28740 to always fail with ENOSYS. Some functions are actually named
28741 something starting with __ and the normal name is an alias. */
28742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28743 choke me
28744 #else
28745 char (*f) () = $ac_func;
28746 #endif
28747 #ifdef __cplusplus
28748 }
28749 #endif
28750
28751 int
28752 main ()
28753 {
28754 return f != $ac_func;
28755 ;
28756 return 0;
28757 }
28758 _ACEOF
28759 rm -f conftest.$ac_objext conftest$ac_exeext
28760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28761 (eval $ac_link) 2>&5
28762 ac_status=$?
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); } &&
28765 { ac_try='test -s conftest$ac_exeext'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28768 ac_status=$?
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; }; then
28771 eval "$as_ac_var=yes"
28772 else
28773 echo "$as_me: failed program was:" >&5
28774 sed 's/^/| /' conftest.$ac_ext >&5
28775
28776 eval "$as_ac_var=no"
28777 fi
28778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28779 fi
28780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28782 if test `eval echo '${'$as_ac_var'}'` = yes; then
28783 cat >>confdefs.h <<_ACEOF
28784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28785 _ACEOF
28786
28787 fi
28788 done
28789
28790
28791
28792 for ac_header in sched.h
28793 do
28794 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28796 echo "$as_me:$LINENO: checking for $ac_header" >&5
28797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28799 echo $ECHO_N "(cached) $ECHO_C" >&6
28800 fi
28801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28803 else
28804 # Is the header compilable?
28805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28807 cat >conftest.$ac_ext <<_ACEOF
28808 #line $LINENO "configure"
28809 /* confdefs.h. */
28810 _ACEOF
28811 cat confdefs.h >>conftest.$ac_ext
28812 cat >>conftest.$ac_ext <<_ACEOF
28813 /* end confdefs.h. */
28814 $ac_includes_default
28815 #include <$ac_header>
28816 _ACEOF
28817 rm -f conftest.$ac_objext
28818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28819 (eval $ac_compile) 2>&5
28820 ac_status=$?
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } &&
28823 { ac_try='test -s conftest.$ac_objext'
28824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 (eval $ac_try) 2>&5
28826 ac_status=$?
28827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 (exit $ac_status); }; }; then
28829 ac_header_compiler=yes
28830 else
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.$ac_ext >&5
28833
28834 ac_header_compiler=no
28835 fi
28836 rm -f conftest.$ac_objext conftest.$ac_ext
28837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28838 echo "${ECHO_T}$ac_header_compiler" >&6
28839
28840 # Is the header present?
28841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28843 cat >conftest.$ac_ext <<_ACEOF
28844 #line $LINENO "configure"
28845 /* confdefs.h. */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850 #include <$ac_header>
28851 _ACEOF
28852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28854 ac_status=$?
28855 grep -v '^ *+' conftest.er1 >conftest.err
28856 rm -f conftest.er1
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } >/dev/null; then
28860 if test -s conftest.err; then
28861 ac_cpp_err=$ac_c_preproc_warn_flag
28862 else
28863 ac_cpp_err=
28864 fi
28865 else
28866 ac_cpp_err=yes
28867 fi
28868 if test -z "$ac_cpp_err"; then
28869 ac_header_preproc=yes
28870 else
28871 echo "$as_me: failed program was:" >&5
28872 sed 's/^/| /' conftest.$ac_ext >&5
28873
28874 ac_header_preproc=no
28875 fi
28876 rm -f conftest.err conftest.$ac_ext
28877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28878 echo "${ECHO_T}$ac_header_preproc" >&6
28879
28880 # So? What about this header?
28881 case $ac_header_compiler:$ac_header_preproc in
28882 yes:no )
28883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28887 (
28888 cat <<\_ASBOX
28889 ## ------------------------------------ ##
28890 ## Report this to bug-autoconf@gnu.org. ##
28891 ## ------------------------------------ ##
28892 _ASBOX
28893 ) |
28894 sed "s/^/$as_me: WARNING: /" >&2
28895 ;;
28896 no:yes )
28897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28903 (
28904 cat <<\_ASBOX
28905 ## ------------------------------------ ##
28906 ## Report this to bug-autoconf@gnu.org. ##
28907 ## ------------------------------------ ##
28908 _ASBOX
28909 ) |
28910 sed "s/^/$as_me: WARNING: /" >&2
28911 ;;
28912 esac
28913 echo "$as_me:$LINENO: checking for $ac_header" >&5
28914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28916 echo $ECHO_N "(cached) $ECHO_C" >&6
28917 else
28918 eval "$as_ac_Header=$ac_header_preproc"
28919 fi
28920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28922
28923 fi
28924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28925 cat >>confdefs.h <<_ACEOF
28926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28927 _ACEOF
28928
28929 fi
28930
28931 done
28932
28933 if test "$ac_cv_header_sched_h" = "yes"; then
28934 echo "$as_me:$LINENO: checking for sched_yield" >&5
28935 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28936 if test "${ac_cv_func_sched_yield+set}" = set; then
28937 echo $ECHO_N "(cached) $ECHO_C" >&6
28938 else
28939 cat >conftest.$ac_ext <<_ACEOF
28940 #line $LINENO "configure"
28941 /* confdefs.h. */
28942 _ACEOF
28943 cat confdefs.h >>conftest.$ac_ext
28944 cat >>conftest.$ac_ext <<_ACEOF
28945 /* end confdefs.h. */
28946 /* System header to define __stub macros and hopefully few prototypes,
28947 which can conflict with char sched_yield (); below.
28948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28949 <limits.h> exists even on freestanding compilers. */
28950 #ifdef __STDC__
28951 # include <limits.h>
28952 #else
28953 # include <assert.h>
28954 #endif
28955 /* Override any gcc2 internal prototype to avoid an error. */
28956 #ifdef __cplusplus
28957 extern "C"
28958 {
28959 #endif
28960 /* We use char because int might match the return type of a gcc2
28961 builtin and then its argument prototype would still apply. */
28962 char sched_yield ();
28963 /* The GNU C library defines this for functions which it implements
28964 to always fail with ENOSYS. Some functions are actually named
28965 something starting with __ and the normal name is an alias. */
28966 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28967 choke me
28968 #else
28969 char (*f) () = sched_yield;
28970 #endif
28971 #ifdef __cplusplus
28972 }
28973 #endif
28974
28975 int
28976 main ()
28977 {
28978 return f != sched_yield;
28979 ;
28980 return 0;
28981 }
28982 _ACEOF
28983 rm -f conftest.$ac_objext conftest$ac_exeext
28984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28985 (eval $ac_link) 2>&5
28986 ac_status=$?
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); } &&
28989 { ac_try='test -s conftest$ac_exeext'
28990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28991 (eval $ac_try) 2>&5
28992 ac_status=$?
28993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28994 (exit $ac_status); }; }; then
28995 ac_cv_func_sched_yield=yes
28996 else
28997 echo "$as_me: failed program was:" >&5
28998 sed 's/^/| /' conftest.$ac_ext >&5
28999
29000 ac_cv_func_sched_yield=no
29001 fi
29002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29003 fi
29004 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29005 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29006 if test $ac_cv_func_sched_yield = yes; then
29007 cat >>confdefs.h <<\_ACEOF
29008 #define HAVE_SCHED_YIELD 1
29009 _ACEOF
29010
29011 else
29012
29013 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29014 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29015 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29016 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 else
29018 ac_check_lib_save_LIBS=$LIBS
29019 LIBS="-lposix4 $LIBS"
29020 cat >conftest.$ac_ext <<_ACEOF
29021 #line $LINENO "configure"
29022 /* confdefs.h. */
29023 _ACEOF
29024 cat confdefs.h >>conftest.$ac_ext
29025 cat >>conftest.$ac_ext <<_ACEOF
29026 /* end confdefs.h. */
29027
29028 /* Override any gcc2 internal prototype to avoid an error. */
29029 #ifdef __cplusplus
29030 extern "C"
29031 #endif
29032 /* We use char because int might match the return type of a gcc2
29033 builtin and then its argument prototype would still apply. */
29034 char sched_yield ();
29035 int
29036 main ()
29037 {
29038 sched_yield ();
29039 ;
29040 return 0;
29041 }
29042 _ACEOF
29043 rm -f conftest.$ac_objext conftest$ac_exeext
29044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29045 (eval $ac_link) 2>&5
29046 ac_status=$?
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); } &&
29049 { ac_try='test -s conftest$ac_exeext'
29050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29051 (eval $ac_try) 2>&5
29052 ac_status=$?
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; }; then
29055 ac_cv_lib_posix4_sched_yield=yes
29056 else
29057 echo "$as_me: failed program was:" >&5
29058 sed 's/^/| /' conftest.$ac_ext >&5
29059
29060 ac_cv_lib_posix4_sched_yield=no
29061 fi
29062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29063 LIBS=$ac_check_lib_save_LIBS
29064 fi
29065 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29066 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29067 if test $ac_cv_lib_posix4_sched_yield = yes; then
29068 cat >>confdefs.h <<\_ACEOF
29069 #define HAVE_SCHED_YIELD 1
29070 _ACEOF
29071 POSIX4_LINK=" -lposix4"
29072 else
29073 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29074 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29075
29076 fi
29077
29078
29079
29080 fi
29081
29082 fi
29083
29084 HAVE_PRIOR_FUNCS=0
29085 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29086 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29087 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29089 else
29090 cat >conftest.$ac_ext <<_ACEOF
29091 #line $LINENO "configure"
29092 /* confdefs.h. */
29093 _ACEOF
29094 cat confdefs.h >>conftest.$ac_ext
29095 cat >>conftest.$ac_ext <<_ACEOF
29096 /* end confdefs.h. */
29097 /* System header to define __stub macros and hopefully few prototypes,
29098 which can conflict with char pthread_attr_getschedpolicy (); below.
29099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29100 <limits.h> exists even on freestanding compilers. */
29101 #ifdef __STDC__
29102 # include <limits.h>
29103 #else
29104 # include <assert.h>
29105 #endif
29106 /* Override any gcc2 internal prototype to avoid an error. */
29107 #ifdef __cplusplus
29108 extern "C"
29109 {
29110 #endif
29111 /* We use char because int might match the return type of a gcc2
29112 builtin and then its argument prototype would still apply. */
29113 char pthread_attr_getschedpolicy ();
29114 /* The GNU C library defines this for functions which it implements
29115 to always fail with ENOSYS. Some functions are actually named
29116 something starting with __ and the normal name is an alias. */
29117 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29118 choke me
29119 #else
29120 char (*f) () = pthread_attr_getschedpolicy;
29121 #endif
29122 #ifdef __cplusplus
29123 }
29124 #endif
29125
29126 int
29127 main ()
29128 {
29129 return f != pthread_attr_getschedpolicy;
29130 ;
29131 return 0;
29132 }
29133 _ACEOF
29134 rm -f conftest.$ac_objext conftest$ac_exeext
29135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29136 (eval $ac_link) 2>&5
29137 ac_status=$?
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } &&
29140 { ac_try='test -s conftest$ac_exeext'
29141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29142 (eval $ac_try) 2>&5
29143 ac_status=$?
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); }; }; then
29146 ac_cv_func_pthread_attr_getschedpolicy=yes
29147 else
29148 echo "$as_me: failed program was:" >&5
29149 sed 's/^/| /' conftest.$ac_ext >&5
29150
29151 ac_cv_func_pthread_attr_getschedpolicy=no
29152 fi
29153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29154 fi
29155 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29156 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29157 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29158 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29159 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29160 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29161 echo $ECHO_N "(cached) $ECHO_C" >&6
29162 else
29163 cat >conftest.$ac_ext <<_ACEOF
29164 #line $LINENO "configure"
29165 /* confdefs.h. */
29166 _ACEOF
29167 cat confdefs.h >>conftest.$ac_ext
29168 cat >>conftest.$ac_ext <<_ACEOF
29169 /* end confdefs.h. */
29170 /* System header to define __stub macros and hopefully few prototypes,
29171 which can conflict with char pthread_attr_setschedparam (); below.
29172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29173 <limits.h> exists even on freestanding compilers. */
29174 #ifdef __STDC__
29175 # include <limits.h>
29176 #else
29177 # include <assert.h>
29178 #endif
29179 /* Override any gcc2 internal prototype to avoid an error. */
29180 #ifdef __cplusplus
29181 extern "C"
29182 {
29183 #endif
29184 /* We use char because int might match the return type of a gcc2
29185 builtin and then its argument prototype would still apply. */
29186 char pthread_attr_setschedparam ();
29187 /* The GNU C library defines this for functions which it implements
29188 to always fail with ENOSYS. Some functions are actually named
29189 something starting with __ and the normal name is an alias. */
29190 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29191 choke me
29192 #else
29193 char (*f) () = pthread_attr_setschedparam;
29194 #endif
29195 #ifdef __cplusplus
29196 }
29197 #endif
29198
29199 int
29200 main ()
29201 {
29202 return f != pthread_attr_setschedparam;
29203 ;
29204 return 0;
29205 }
29206 _ACEOF
29207 rm -f conftest.$ac_objext conftest$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>&5
29210 ac_status=$?
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); } &&
29213 { ac_try='test -s conftest$ac_exeext'
29214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29215 (eval $ac_try) 2>&5
29216 ac_status=$?
29217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29218 (exit $ac_status); }; }; then
29219 ac_cv_func_pthread_attr_setschedparam=yes
29220 else
29221 echo "$as_me: failed program was:" >&5
29222 sed 's/^/| /' conftest.$ac_ext >&5
29223
29224 ac_cv_func_pthread_attr_setschedparam=no
29225 fi
29226 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29227 fi
29228 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29229 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29230 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29231 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29232 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29233 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29234 echo $ECHO_N "(cached) $ECHO_C" >&6
29235 else
29236 cat >conftest.$ac_ext <<_ACEOF
29237 #line $LINENO "configure"
29238 /* confdefs.h. */
29239 _ACEOF
29240 cat confdefs.h >>conftest.$ac_ext
29241 cat >>conftest.$ac_ext <<_ACEOF
29242 /* end confdefs.h. */
29243 /* System header to define __stub macros and hopefully few prototypes,
29244 which can conflict with char sched_get_priority_max (); below.
29245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29246 <limits.h> exists even on freestanding compilers. */
29247 #ifdef __STDC__
29248 # include <limits.h>
29249 #else
29250 # include <assert.h>
29251 #endif
29252 /* Override any gcc2 internal prototype to avoid an error. */
29253 #ifdef __cplusplus
29254 extern "C"
29255 {
29256 #endif
29257 /* We use char because int might match the return type of a gcc2
29258 builtin and then its argument prototype would still apply. */
29259 char sched_get_priority_max ();
29260 /* The GNU C library defines this for functions which it implements
29261 to always fail with ENOSYS. Some functions are actually named
29262 something starting with __ and the normal name is an alias. */
29263 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29264 choke me
29265 #else
29266 char (*f) () = sched_get_priority_max;
29267 #endif
29268 #ifdef __cplusplus
29269 }
29270 #endif
29271
29272 int
29273 main ()
29274 {
29275 return f != sched_get_priority_max;
29276 ;
29277 return 0;
29278 }
29279 _ACEOF
29280 rm -f conftest.$ac_objext conftest$ac_exeext
29281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29282 (eval $ac_link) 2>&5
29283 ac_status=$?
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } &&
29286 { ac_try='test -s conftest$ac_exeext'
29287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29288 (eval $ac_try) 2>&5
29289 ac_status=$?
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); }; }; then
29292 ac_cv_func_sched_get_priority_max=yes
29293 else
29294 echo "$as_me: failed program was:" >&5
29295 sed 's/^/| /' conftest.$ac_ext >&5
29296
29297 ac_cv_func_sched_get_priority_max=no
29298 fi
29299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29300 fi
29301 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29302 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29303 if test $ac_cv_func_sched_get_priority_max = yes; then
29304 HAVE_PRIOR_FUNCS=1
29305 else
29306 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29307 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29308 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 else
29311 ac_check_lib_save_LIBS=$LIBS
29312 LIBS="-lposix4 $LIBS"
29313 cat >conftest.$ac_ext <<_ACEOF
29314 #line $LINENO "configure"
29315 /* confdefs.h. */
29316 _ACEOF
29317 cat confdefs.h >>conftest.$ac_ext
29318 cat >>conftest.$ac_ext <<_ACEOF
29319 /* end confdefs.h. */
29320
29321 /* Override any gcc2 internal prototype to avoid an error. */
29322 #ifdef __cplusplus
29323 extern "C"
29324 #endif
29325 /* We use char because int might match the return type of a gcc2
29326 builtin and then its argument prototype would still apply. */
29327 char sched_get_priority_max ();
29328 int
29329 main ()
29330 {
29331 sched_get_priority_max ();
29332 ;
29333 return 0;
29334 }
29335 _ACEOF
29336 rm -f conftest.$ac_objext conftest$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>&5
29339 ac_status=$?
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29345 ac_status=$?
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 ac_cv_lib_posix4_sched_get_priority_max=yes
29349 else
29350 echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.$ac_ext >&5
29352
29353 ac_cv_lib_posix4_sched_get_priority_max=no
29354 fi
29355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29356 LIBS=$ac_check_lib_save_LIBS
29357 fi
29358 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29359 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29360 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29361
29362 HAVE_PRIOR_FUNCS=1
29363 POSIX4_LINK=" -lposix4"
29364
29365 fi
29366
29367
29368 fi
29369
29370
29371 fi
29372
29373
29374 fi
29375
29376
29377 if test "$HAVE_PRIOR_FUNCS" = 1; then
29378 cat >>confdefs.h <<\_ACEOF
29379 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29380 _ACEOF
29381
29382 else
29383 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29384 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29385 fi
29386
29387 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29388 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29389 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 else
29392 cat >conftest.$ac_ext <<_ACEOF
29393 #line $LINENO "configure"
29394 /* confdefs.h. */
29395 _ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29399 /* System header to define __stub macros and hopefully few prototypes,
29400 which can conflict with char pthread_cancel (); below.
29401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29402 <limits.h> exists even on freestanding compilers. */
29403 #ifdef __STDC__
29404 # include <limits.h>
29405 #else
29406 # include <assert.h>
29407 #endif
29408 /* Override any gcc2 internal prototype to avoid an error. */
29409 #ifdef __cplusplus
29410 extern "C"
29411 {
29412 #endif
29413 /* We use char because int might match the return type of a gcc2
29414 builtin and then its argument prototype would still apply. */
29415 char pthread_cancel ();
29416 /* The GNU C library defines this for functions which it implements
29417 to always fail with ENOSYS. Some functions are actually named
29418 something starting with __ and the normal name is an alias. */
29419 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29420 choke me
29421 #else
29422 char (*f) () = pthread_cancel;
29423 #endif
29424 #ifdef __cplusplus
29425 }
29426 #endif
29427
29428 int
29429 main ()
29430 {
29431 return f != pthread_cancel;
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 rm -f conftest.$ac_objext conftest$ac_exeext
29437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29438 (eval $ac_link) 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); } &&
29442 { ac_try='test -s conftest$ac_exeext'
29443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29444 (eval $ac_try) 2>&5
29445 ac_status=$?
29446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29447 (exit $ac_status); }; }; then
29448 ac_cv_func_pthread_cancel=yes
29449 else
29450 echo "$as_me: failed program was:" >&5
29451 sed 's/^/| /' conftest.$ac_ext >&5
29452
29453 ac_cv_func_pthread_cancel=no
29454 fi
29455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29456 fi
29457 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29458 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29459 if test $ac_cv_func_pthread_cancel = yes; then
29460 cat >>confdefs.h <<\_ACEOF
29461 #define HAVE_PTHREAD_CANCEL 1
29462 _ACEOF
29463
29464 else
29465 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29466 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29467 fi
29468
29469
29470 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29471 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29472 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29473 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 else
29475
29476 cat >conftest.$ac_ext <<_ACEOF
29477 #line $LINENO "configure"
29478 /* confdefs.h. */
29479 _ACEOF
29480 cat confdefs.h >>conftest.$ac_ext
29481 cat >>conftest.$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483 #include <pthread.h>
29484 int
29485 main ()
29486 {
29487
29488 pthread_cleanup_push(NULL, NULL);
29489 pthread_cleanup_pop(0);
29490
29491 ;
29492 return 0;
29493 }
29494 _ACEOF
29495 rm -f conftest.$ac_objext
29496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29497 (eval $ac_compile) 2>&5
29498 ac_status=$?
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); } &&
29501 { ac_try='test -s conftest.$ac_objext'
29502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29503 (eval $ac_try) 2>&5
29504 ac_status=$?
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }; }; then
29507
29508 wx_cv_func_pthread_cleanup_push=yes
29509
29510 else
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.$ac_ext >&5
29513
29514
29515 wx_cv_func_pthread_cleanup_push=no
29516
29517 fi
29518 rm -f conftest.$ac_objext conftest.$ac_ext
29519
29520 fi
29521 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29522 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29523
29524 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29525 cat >>confdefs.h <<\_ACEOF
29526 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29527 _ACEOF
29528
29529 fi
29530
29531
29532 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29533 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29534 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29535 echo $ECHO_N "(cached) $ECHO_C" >&6
29536 else
29537
29538 cat >conftest.$ac_ext <<_ACEOF
29539 #line $LINENO "configure"
29540 /* confdefs.h. */
29541 _ACEOF
29542 cat confdefs.h >>conftest.$ac_ext
29543 cat >>conftest.$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29545 #include <pthread.h>
29546 int
29547 main ()
29548 {
29549
29550 pthread_mutexattr_t attr;
29551 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29552
29553 ;
29554 return 0;
29555 }
29556 _ACEOF
29557 rm -f conftest.$ac_objext
29558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29559 (eval $ac_compile) 2>&5
29560 ac_status=$?
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); } &&
29563 { ac_try='test -s conftest.$ac_objext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29566 ac_status=$?
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569
29570 wx_cv_type_pthread_mutexattr_t=yes
29571
29572 else
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29575
29576
29577 wx_cv_type_pthread_mutexattr_t=no
29578
29579
29580 fi
29581 rm -f conftest.$ac_objext conftest.$ac_ext
29582
29583 fi
29584 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29585 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29586
29587 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29588 cat >>confdefs.h <<\_ACEOF
29589 #define HAVE_PTHREAD_MUTEXATTR_T 1
29590 _ACEOF
29591
29592 else
29593 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29594 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29595 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29596 echo $ECHO_N "(cached) $ECHO_C" >&6
29597 else
29598
29599 cat >conftest.$ac_ext <<_ACEOF
29600 #line $LINENO "configure"
29601 /* confdefs.h. */
29602 _ACEOF
29603 cat confdefs.h >>conftest.$ac_ext
29604 cat >>conftest.$ac_ext <<_ACEOF
29605 /* end confdefs.h. */
29606 #include <pthread.h>
29607 int
29608 main ()
29609 {
29610
29611 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29612
29613 ;
29614 return 0;
29615 }
29616 _ACEOF
29617 rm -f conftest.$ac_objext
29618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29619 (eval $ac_compile) 2>&5
29620 ac_status=$?
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } &&
29623 { ac_try='test -s conftest.$ac_objext'
29624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29625 (eval $ac_try) 2>&5
29626 ac_status=$?
29627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29628 (exit $ac_status); }; }; then
29629
29630 wx_cv_type_pthread_rec_mutex_init=yes
29631
29632 else
29633 echo "$as_me: failed program was:" >&5
29634 sed 's/^/| /' conftest.$ac_ext >&5
29635
29636
29637 wx_cv_type_pthread_rec_mutex_init=no
29638
29639
29640 fi
29641 rm -f conftest.$ac_objext conftest.$ac_ext
29642
29643 fi
29644 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29645 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29646 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29647 cat >>confdefs.h <<\_ACEOF
29648 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29649 _ACEOF
29650
29651 else
29652 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29653 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29654 fi
29655 fi
29656 fi
29657
29658 else
29659 if test "$wxUSE_THREADS" = "yes" ; then
29660 case "${host}" in
29661 *-*-mingw32* )
29662 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29663 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29664 if test "${wx_cv_cflags_mthread+set}" = set; then
29665 echo $ECHO_N "(cached) $ECHO_C" >&6
29666 else
29667
29668 CFLAGS_OLD="$CFLAGS"
29669 CFLAGS="$CFLAGS -mthreads"
29670 cat >conftest.$ac_ext <<_ACEOF
29671 #line $LINENO "configure"
29672 /* confdefs.h. */
29673 _ACEOF
29674 cat confdefs.h >>conftest.$ac_ext
29675 cat >>conftest.$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29677
29678 int
29679 main ()
29680 {
29681
29682 ;
29683 return 0;
29684 }
29685 _ACEOF
29686 rm -f conftest.$ac_objext
29687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29688 (eval $ac_compile) 2>&5
29689 ac_status=$?
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); } &&
29692 { ac_try='test -s conftest.$ac_objext'
29693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694 (eval $ac_try) 2>&5
29695 ac_status=$?
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; }; then
29698 wx_cv_cflags_mthread=yes
29699 else
29700 echo "$as_me: failed program was:" >&5
29701 sed 's/^/| /' conftest.$ac_ext >&5
29702
29703 wx_cv_cflags_mthread=no
29704
29705 fi
29706 rm -f conftest.$ac_objext conftest.$ac_ext
29707
29708
29709 fi
29710 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29711 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29712
29713 if test "$wx_cv_cflags_mthread" = "yes"; then
29714 CXXFLAGS="$CXXFLAGS -mthreads"
29715 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29716 LDFLAGS="$LDFLAGS -mthreads"
29717 else
29718 CFLAGS="$CFLAGS_OLD"
29719 fi
29720 ;;
29721 esac
29722 fi
29723 fi
29724
29725 if test "$wxUSE_THREADS" = "yes"; then
29726 cat >>confdefs.h <<\_ACEOF
29727 #define wxUSE_THREADS 1
29728 _ACEOF
29729
29730
29731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29732 else
29733 if test "$ac_cv_func_strtok_r" = "yes"; then
29734 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29735 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29736 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29737 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29738 echo "$as_me:$LINENO: result: yes" >&5
29739 echo "${ECHO_T}yes" >&6
29740 else
29741 echo "$as_me:$LINENO: result: no" >&5
29742 echo "${ECHO_T}no" >&6
29743 fi
29744 fi
29745 fi
29746
29747 if test "$WXGTK20" = 1 ; then
29748 cat >>confdefs.h <<_ACEOF
29749 #define __WXGTK20__ $WXGTK20
29750 _ACEOF
29751
29752 WXGTK12=1
29753 fi
29754
29755 if test "$WXGTK12" = 1 ; then
29756 cat >>confdefs.h <<_ACEOF
29757 #define __WXGTK12__ $WXGTK12
29758 _ACEOF
29759
29760 fi
29761
29762 if test "$WXGTK127" = 1 ; then
29763 cat >>confdefs.h <<_ACEOF
29764 #define __WXGTK127__ $WXGTK127
29765 _ACEOF
29766
29767 fi
29768
29769 WXDEBUG=
29770
29771 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29772 WXDEBUG="-g"
29773 wxUSE_OPTIMISE=no
29774 fi
29775
29776 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29777 wxUSE_DEBUG_INFO=yes
29778 WXDEBUG="-ggdb"
29779 fi
29780
29781 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29782 cat >>confdefs.h <<\_ACEOF
29783 #define WXDEBUG 1
29784 _ACEOF
29785
29786 WXDEBUG_DEFINE="-D__WXDEBUG__"
29787 else
29788 if test "$wxUSE_GTK" = 1 ; then
29789 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29790 fi
29791 fi
29792
29793 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29794 cat >>confdefs.h <<\_ACEOF
29795 #define wxUSE_MEMORY_TRACING 1
29796 _ACEOF
29797
29798 cat >>confdefs.h <<\_ACEOF
29799 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29800 _ACEOF
29801
29802 cat >>confdefs.h <<\_ACEOF
29803 #define wxUSE_DEBUG_NEW_ALWAYS 1
29804 _ACEOF
29805
29806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29807 fi
29808
29809 if test "$wxUSE_DMALLOC" = "yes" ; then
29810 DMALLOC_LIBS="-ldmalloc"
29811 fi
29812
29813 PROFILE=
29814 if test "$wxUSE_PROFILE" = "yes" ; then
29815 PROFILE=" -pg"
29816 fi
29817
29818 CODE_GEN_FLAGS=
29819 CODE_GEN_FLAGS_CXX=
29820 if test "$GCC" = "yes" ; then
29821 if test "$wxUSE_NO_RTTI" = "yes" ; then
29822 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29823 fi
29824 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29825 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29826 fi
29827 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29828 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29829 fi
29830 if test "$USE_WIN32" = 1 ; then
29831 # I'm not even really sure what this was ever added to solve,
29832 # but someone added it for mingw native builds, so I guess
29833 # they had a reason, right??
29834 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fno-pcc-struct-return"
29835 fi
29836
29837 case "${host}" in
29838 powerpc*-*-aix* )
29839 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29840 ;;
29841 *-hppa* )
29842 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29843 ;;
29844 esac
29845 fi
29846
29847 OPTIMISE=
29848 if test "$wxUSE_OPTIMISE" = "no" ; then
29849 if test "$GCC" = yes ; then
29850 OPTIMISE="-O0"
29851 fi
29852 else
29853 if test "$GCC" = yes ; then
29854 OPTIMISE="-O2"
29855
29856 case "${host}" in
29857 i586-*-*|i686-*-* )
29858 OPTIMISE="${OPTIMISE} "
29859 ;;
29860 esac
29861 else
29862 OPTIMISE="-O"
29863 fi
29864 fi
29865
29866
29867 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29868 cat >>confdefs.h <<\_ACEOF
29869 #define WXWIN_COMPATIBILITY_2 1
29870 _ACEOF
29871
29872
29873 WXWIN_COMPATIBILITY_2_2="yes"
29874 fi
29875
29876 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29877 cat >>confdefs.h <<\_ACEOF
29878 #define WXWIN_COMPATIBILITY_2_2 1
29879 _ACEOF
29880
29881
29882 WXWIN_COMPATIBILITY_2_4="yes"
29883 fi
29884
29885 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29886 cat >>confdefs.h <<\_ACEOF
29887 #define WXWIN_COMPATIBILITY_2_4 1
29888 _ACEOF
29889
29890 fi
29891
29892
29893 if test "$wxUSE_GUI" = "yes"; then
29894 cat >>confdefs.h <<\_ACEOF
29895 #define wxUSE_GUI 1
29896 _ACEOF
29897
29898
29899 else
29900 cat >>confdefs.h <<\_ACEOF
29901 #define wxUSE_NOGUI 1
29902 _ACEOF
29903
29904 fi
29905
29906
29907 if test "$wxUSE_UNIX" = "yes"; then
29908 cat >>confdefs.h <<\_ACEOF
29909 #define wxUSE_UNIX 1
29910 _ACEOF
29911
29912 fi
29913
29914
29915 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29916 cat >>confdefs.h <<\_ACEOF
29917 #define wxUSE_APPLE_IEEE 1
29918 _ACEOF
29919
29920 fi
29921
29922 if test "$wxUSE_TIMER" = "yes"; then
29923 cat >>confdefs.h <<\_ACEOF
29924 #define wxUSE_TIMER 1
29925 _ACEOF
29926
29927 fi
29928
29929 if test "$wxUSE_WAVE" = "yes"; then
29930 cat >>confdefs.h <<\_ACEOF
29931 #define wxUSE_WAVE 1
29932 _ACEOF
29933
29934 fi
29935
29936 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29937 cat >>confdefs.h <<\_ACEOF
29938 #define wxUSE_CMDLINE_PARSER 1
29939 _ACEOF
29940
29941 fi
29942
29943 if test "$wxUSE_STOPWATCH" = "yes"; then
29944 cat >>confdefs.h <<\_ACEOF
29945 #define wxUSE_STOPWATCH 1
29946 _ACEOF
29947
29948 fi
29949
29950 if test "$wxUSE_DATETIME" = "yes"; then
29951 cat >>confdefs.h <<\_ACEOF
29952 #define wxUSE_DATETIME 1
29953 _ACEOF
29954
29955 fi
29956
29957 if test "$wxUSE_FILE" = "yes"; then
29958 cat >>confdefs.h <<\_ACEOF
29959 #define wxUSE_FILE 1
29960 _ACEOF
29961
29962 fi
29963
29964 if test "$wxUSE_FFILE" = "yes"; then
29965 cat >>confdefs.h <<\_ACEOF
29966 #define wxUSE_FFILE 1
29967 _ACEOF
29968
29969 fi
29970
29971 if test "$wxUSE_FILESYSTEM" = "yes"; then
29972 cat >>confdefs.h <<\_ACEOF
29973 #define wxUSE_FILESYSTEM 1
29974 _ACEOF
29975
29976 fi
29977
29978 if test "$wxUSE_FS_INET" = "yes"; then
29979 cat >>confdefs.h <<\_ACEOF
29980 #define wxUSE_FS_INET 1
29981 _ACEOF
29982
29983 fi
29984
29985 if test "$wxUSE_FS_ZIP" = "yes"; then
29986 cat >>confdefs.h <<\_ACEOF
29987 #define wxUSE_FS_ZIP 1
29988 _ACEOF
29989
29990 fi
29991
29992 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29993 cat >>confdefs.h <<\_ACEOF
29994 #define wxUSE_ZIPSTREAM 1
29995 _ACEOF
29996
29997 fi
29998
29999 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30000 cat >>confdefs.h <<\_ACEOF
30001 #define wxUSE_ON_FATAL_EXCEPTION 1
30002 _ACEOF
30003
30004 fi
30005
30006 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30007 cat >>confdefs.h <<\_ACEOF
30008 #define wxUSE_SNGLINST_CHECKER 1
30009 _ACEOF
30010
30011 fi
30012
30013 if test "$wxUSE_BUSYINFO" = "yes"; then
30014 cat >>confdefs.h <<\_ACEOF
30015 #define wxUSE_BUSYINFO 1
30016 _ACEOF
30017
30018 fi
30019
30020 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30021 cat >>confdefs.h <<\_ACEOF
30022 #define wxUSE_STD_IOSTREAM 1
30023 _ACEOF
30024
30025 fi
30026
30027 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30028 cat >>confdefs.h <<\_ACEOF
30029 #define wxUSE_TEXTBUFFER 1
30030 _ACEOF
30031
30032 fi
30033
30034 if test "$wxUSE_TEXTFILE" = "yes"; then
30035 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30036 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30037 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30038 else
30039 cat >>confdefs.h <<\_ACEOF
30040 #define wxUSE_TEXTFILE 1
30041 _ACEOF
30042
30043 fi
30044 fi
30045
30046 if test "$wxUSE_CONFIG" = "yes" ; then
30047 if test "$wxUSE_TEXTFILE" != "yes"; then
30048 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30049 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30050 else
30051 cat >>confdefs.h <<\_ACEOF
30052 #define wxUSE_CONFIG 1
30053 _ACEOF
30054
30055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30056 fi
30057 fi
30058
30059 if test "$wxUSE_INTL" = "yes" ; then
30060 if test "$wxUSE_FILE" != "yes"; then
30061 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30062 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30063 else
30064 cat >>confdefs.h <<\_ACEOF
30065 #define wxUSE_INTL 1
30066 _ACEOF
30067
30068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30069 GUIDIST="$GUIDIST INTL_DIST"
30070 fi
30071 fi
30072
30073 if test "$wxUSE_LOG" = "yes"; then
30074 cat >>confdefs.h <<\_ACEOF
30075 #define wxUSE_LOG 1
30076 _ACEOF
30077
30078
30079 if test "$wxUSE_LOGGUI" = "yes"; then
30080 cat >>confdefs.h <<\_ACEOF
30081 #define wxUSE_LOGGUI 1
30082 _ACEOF
30083
30084 fi
30085
30086 if test "$wxUSE_LOGWINDOW" = "yes"; then
30087 cat >>confdefs.h <<\_ACEOF
30088 #define wxUSE_LOGWINDOW 1
30089 _ACEOF
30090
30091 fi
30092
30093 if test "$wxUSE_LOGDIALOG" = "yes"; then
30094 cat >>confdefs.h <<\_ACEOF
30095 #define wxUSE_LOG_DIALOG 1
30096 _ACEOF
30097
30098 fi
30099 fi
30100
30101 if test "$wxUSE_LONGLONG" = "yes"; then
30102 cat >>confdefs.h <<\_ACEOF
30103 #define wxUSE_LONGLONG 1
30104 _ACEOF
30105
30106 fi
30107
30108 if test "$wxUSE_GEOMETRY" = "yes"; then
30109 cat >>confdefs.h <<\_ACEOF
30110 #define wxUSE_GEOMETRY 1
30111 _ACEOF
30112
30113 fi
30114
30115 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30116 cat >>confdefs.h <<\_ACEOF
30117 #define wxUSE_DIALUP_MANAGER 1
30118 _ACEOF
30119
30120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30121 fi
30122
30123 if test "$wxUSE_STREAMS" = "yes" ; then
30124 cat >>confdefs.h <<\_ACEOF
30125 #define wxUSE_STREAMS 1
30126 _ACEOF
30127
30128 fi
30129
30130
30131 if test "$wxUSE_DATETIME" = "yes"; then
30132
30133 for ac_func in strptime
30134 do
30135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30136 echo "$as_me:$LINENO: checking for $ac_func" >&5
30137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30138 if eval "test \"\${$as_ac_var+set}\" = set"; then
30139 echo $ECHO_N "(cached) $ECHO_C" >&6
30140 else
30141 cat >conftest.$ac_ext <<_ACEOF
30142 #line $LINENO "configure"
30143 /* confdefs.h. */
30144 _ACEOF
30145 cat confdefs.h >>conftest.$ac_ext
30146 cat >>conftest.$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148 /* System header to define __stub macros and hopefully few prototypes,
30149 which can conflict with char $ac_func (); below.
30150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30151 <limits.h> exists even on freestanding compilers. */
30152 #ifdef __STDC__
30153 # include <limits.h>
30154 #else
30155 # include <assert.h>
30156 #endif
30157 /* Override any gcc2 internal prototype to avoid an error. */
30158 #ifdef __cplusplus
30159 extern "C"
30160 {
30161 #endif
30162 /* We use char because int might match the return type of a gcc2
30163 builtin and then its argument prototype would still apply. */
30164 char $ac_func ();
30165 /* The GNU C library defines this for functions which it implements
30166 to always fail with ENOSYS. Some functions are actually named
30167 something starting with __ and the normal name is an alias. */
30168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30169 choke me
30170 #else
30171 char (*f) () = $ac_func;
30172 #endif
30173 #ifdef __cplusplus
30174 }
30175 #endif
30176
30177 int
30178 main ()
30179 {
30180 return f != $ac_func;
30181 ;
30182 return 0;
30183 }
30184 _ACEOF
30185 rm -f conftest.$ac_objext conftest$ac_exeext
30186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30187 (eval $ac_link) 2>&5
30188 ac_status=$?
30189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30190 (exit $ac_status); } &&
30191 { ac_try='test -s conftest$ac_exeext'
30192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30193 (eval $ac_try) 2>&5
30194 ac_status=$?
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); }; }; then
30197 eval "$as_ac_var=yes"
30198 else
30199 echo "$as_me: failed program was:" >&5
30200 sed 's/^/| /' conftest.$ac_ext >&5
30201
30202 eval "$as_ac_var=no"
30203 fi
30204 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30205 fi
30206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30208 if test `eval echo '${'$as_ac_var'}'` = yes; then
30209 cat >>confdefs.h <<_ACEOF
30210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30211 _ACEOF
30212
30213 fi
30214 done
30215
30216
30217 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30218 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30219 if test "${wx_cv_var_timezone+set}" = set; then
30220 echo $ECHO_N "(cached) $ECHO_C" >&6
30221 else
30222
30223 cat >conftest.$ac_ext <<_ACEOF
30224 #line $LINENO "configure"
30225 /* confdefs.h. */
30226 _ACEOF
30227 cat confdefs.h >>conftest.$ac_ext
30228 cat >>conftest.$ac_ext <<_ACEOF
30229 /* end confdefs.h. */
30230
30231 #include <time.h>
30232
30233 int
30234 main ()
30235 {
30236
30237 int tz;
30238 tz = timezone;
30239
30240 ;
30241 return 0;
30242 }
30243 _ACEOF
30244 rm -f conftest.$ac_objext
30245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30246 (eval $ac_compile) 2>&5
30247 ac_status=$?
30248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30249 (exit $ac_status); } &&
30250 { ac_try='test -s conftest.$ac_objext'
30251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30252 (eval $ac_try) 2>&5
30253 ac_status=$?
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); }; }; then
30256
30257 wx_cv_var_timezone=timezone
30258
30259 else
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.$ac_ext >&5
30262
30263
30264 cat >conftest.$ac_ext <<_ACEOF
30265 #line $LINENO "configure"
30266 /* confdefs.h. */
30267 _ACEOF
30268 cat confdefs.h >>conftest.$ac_ext
30269 cat >>conftest.$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271
30272 #include <time.h>
30273
30274 int
30275 main ()
30276 {
30277
30278 int tz;
30279 tz = _timezone;
30280
30281 ;
30282 return 0;
30283 }
30284 _ACEOF
30285 rm -f conftest.$ac_objext
30286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30287 (eval $ac_compile) 2>&5
30288 ac_status=$?
30289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30290 (exit $ac_status); } &&
30291 { ac_try='test -s conftest.$ac_objext'
30292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30293 (eval $ac_try) 2>&5
30294 ac_status=$?
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); }; }; then
30297
30298 wx_cv_var_timezone=_timezone
30299
30300 else
30301 echo "$as_me: failed program was:" >&5
30302 sed 's/^/| /' conftest.$ac_ext >&5
30303
30304
30305 cat >conftest.$ac_ext <<_ACEOF
30306 #line $LINENO "configure"
30307 /* confdefs.h. */
30308 _ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30312
30313 #include <time.h>
30314
30315 int
30316 main ()
30317 {
30318
30319 int tz;
30320 tz = __timezone;
30321
30322 ;
30323 return 0;
30324 }
30325 _ACEOF
30326 rm -f conftest.$ac_objext
30327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30328 (eval $ac_compile) 2>&5
30329 ac_status=$?
30330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30331 (exit $ac_status); } &&
30332 { ac_try='test -s conftest.$ac_objext'
30333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30334 (eval $ac_try) 2>&5
30335 ac_status=$?
30336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30337 (exit $ac_status); }; }; then
30338
30339 wx_cv_var_timezone=__timezone
30340
30341 else
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30344
30345
30346 if test "$USE_DOS" = 0 ; then
30347 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30348 echo "$as_me: WARNING: no timezone variable" >&2;}
30349 fi
30350
30351
30352 fi
30353 rm -f conftest.$ac_objext conftest.$ac_ext
30354
30355
30356 fi
30357 rm -f conftest.$ac_objext conftest.$ac_ext
30358
30359
30360 fi
30361 rm -f conftest.$ac_objext conftest.$ac_ext
30362
30363
30364 fi
30365 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30366 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30367
30368 if test "x$wx_cv_var_timezone" != x ; then
30369 cat >>confdefs.h <<_ACEOF
30370 #define WX_TIMEZONE $wx_cv_var_timezone
30371 _ACEOF
30372
30373 fi
30374
30375
30376 for ac_func in localtime
30377 do
30378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30379 echo "$as_me:$LINENO: checking for $ac_func" >&5
30380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30381 if eval "test \"\${$as_ac_var+set}\" = set"; then
30382 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 else
30384 cat >conftest.$ac_ext <<_ACEOF
30385 #line $LINENO "configure"
30386 /* confdefs.h. */
30387 _ACEOF
30388 cat confdefs.h >>conftest.$ac_ext
30389 cat >>conftest.$ac_ext <<_ACEOF
30390 /* end confdefs.h. */
30391 /* System header to define __stub macros and hopefully few prototypes,
30392 which can conflict with char $ac_func (); below.
30393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30394 <limits.h> exists even on freestanding compilers. */
30395 #ifdef __STDC__
30396 # include <limits.h>
30397 #else
30398 # include <assert.h>
30399 #endif
30400 /* Override any gcc2 internal prototype to avoid an error. */
30401 #ifdef __cplusplus
30402 extern "C"
30403 {
30404 #endif
30405 /* We use char because int might match the return type of a gcc2
30406 builtin and then its argument prototype would still apply. */
30407 char $ac_func ();
30408 /* The GNU C library defines this for functions which it implements
30409 to always fail with ENOSYS. Some functions are actually named
30410 something starting with __ and the normal name is an alias. */
30411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30412 choke me
30413 #else
30414 char (*f) () = $ac_func;
30415 #endif
30416 #ifdef __cplusplus
30417 }
30418 #endif
30419
30420 int
30421 main ()
30422 {
30423 return f != $ac_func;
30424 ;
30425 return 0;
30426 }
30427 _ACEOF
30428 rm -f conftest.$ac_objext conftest$ac_exeext
30429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30430 (eval $ac_link) 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); } &&
30434 { ac_try='test -s conftest$ac_exeext'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30437 ac_status=$?
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; }; then
30440 eval "$as_ac_var=yes"
30441 else
30442 echo "$as_me: failed program was:" >&5
30443 sed 's/^/| /' conftest.$ac_ext >&5
30444
30445 eval "$as_ac_var=no"
30446 fi
30447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30448 fi
30449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30451 if test `eval echo '${'$as_ac_var'}'` = yes; then
30452 cat >>confdefs.h <<_ACEOF
30453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30454 _ACEOF
30455
30456 fi
30457 done
30458
30459
30460 if test "$ac_cv_func_localtime" = "yes"; then
30461 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30462 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30463 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30464 echo $ECHO_N "(cached) $ECHO_C" >&6
30465 else
30466
30467 cat >conftest.$ac_ext <<_ACEOF
30468 #line $LINENO "configure"
30469 /* confdefs.h. */
30470 _ACEOF
30471 cat confdefs.h >>conftest.$ac_ext
30472 cat >>conftest.$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474
30475 #include <time.h>
30476
30477 int
30478 main ()
30479 {
30480
30481 struct tm tm;
30482 tm.tm_gmtoff++;
30483
30484 ;
30485 return 0;
30486 }
30487 _ACEOF
30488 rm -f conftest.$ac_objext
30489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30490 (eval $ac_compile) 2>&5
30491 ac_status=$?
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } &&
30494 { ac_try='test -s conftest.$ac_objext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30497 ac_status=$?
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30500
30501 wx_cv_struct_tm_has_gmtoff=yes
30502
30503 else
30504 echo "$as_me: failed program was:" >&5
30505 sed 's/^/| /' conftest.$ac_ext >&5
30506
30507 wx_cv_struct_tm_has_gmtoff=no
30508
30509 fi
30510 rm -f conftest.$ac_objext conftest.$ac_ext
30511
30512 fi
30513 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30514 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30515 fi
30516
30517 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30518 cat >>confdefs.h <<\_ACEOF
30519 #define WX_GMTOFF_IN_TM 1
30520 _ACEOF
30521
30522 fi
30523
30524
30525
30526 for ac_func in gettimeofday ftime
30527 do
30528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30529 echo "$as_me:$LINENO: checking for $ac_func" >&5
30530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30531 if eval "test \"\${$as_ac_var+set}\" = set"; then
30532 echo $ECHO_N "(cached) $ECHO_C" >&6
30533 else
30534 cat >conftest.$ac_ext <<_ACEOF
30535 #line $LINENO "configure"
30536 /* confdefs.h. */
30537 _ACEOF
30538 cat confdefs.h >>conftest.$ac_ext
30539 cat >>conftest.$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541 /* System header to define __stub macros and hopefully few prototypes,
30542 which can conflict with char $ac_func (); below.
30543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30544 <limits.h> exists even on freestanding compilers. */
30545 #ifdef __STDC__
30546 # include <limits.h>
30547 #else
30548 # include <assert.h>
30549 #endif
30550 /* Override any gcc2 internal prototype to avoid an error. */
30551 #ifdef __cplusplus
30552 extern "C"
30553 {
30554 #endif
30555 /* We use char because int might match the return type of a gcc2
30556 builtin and then its argument prototype would still apply. */
30557 char $ac_func ();
30558 /* The GNU C library defines this for functions which it implements
30559 to always fail with ENOSYS. Some functions are actually named
30560 something starting with __ and the normal name is an alias. */
30561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30562 choke me
30563 #else
30564 char (*f) () = $ac_func;
30565 #endif
30566 #ifdef __cplusplus
30567 }
30568 #endif
30569
30570 int
30571 main ()
30572 {
30573 return f != $ac_func;
30574 ;
30575 return 0;
30576 }
30577 _ACEOF
30578 rm -f conftest.$ac_objext conftest$ac_exeext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30580 (eval $ac_link) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } &&
30584 { ac_try='test -s conftest$ac_exeext'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30587 ac_status=$?
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590 eval "$as_ac_var=yes"
30591 else
30592 echo "$as_me: failed program was:" >&5
30593 sed 's/^/| /' conftest.$ac_ext >&5
30594
30595 eval "$as_ac_var=no"
30596 fi
30597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30598 fi
30599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30601 if test `eval echo '${'$as_ac_var'}'` = yes; then
30602 cat >>confdefs.h <<_ACEOF
30603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30604 _ACEOF
30605 break
30606 fi
30607 done
30608
30609
30610 if test "$ac_cv_func_gettimeofday" = "yes"; then
30611 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30612 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30613 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30614 echo $ECHO_N "(cached) $ECHO_C" >&6
30615 else
30616
30617
30618
30619 ac_ext=cc
30620 ac_cpp='$CXXCPP $CPPFLAGS'
30621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30624
30625
30626 cat >conftest.$ac_ext <<_ACEOF
30627 #line $LINENO "configure"
30628 /* confdefs.h. */
30629 _ACEOF
30630 cat confdefs.h >>conftest.$ac_ext
30631 cat >>conftest.$ac_ext <<_ACEOF
30632 /* end confdefs.h. */
30633
30634 #include <sys/time.h>
30635 #include <unistd.h>
30636
30637 int
30638 main ()
30639 {
30640
30641 struct timeval tv;
30642 gettimeofday(&tv, NULL);
30643
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 rm -f conftest.$ac_objext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30650 (eval $ac_compile) 2>&5
30651 ac_status=$?
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); } &&
30654 { ac_try='test -s conftest.$ac_objext'
30655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30656 (eval $ac_try) 2>&5
30657 ac_status=$?
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); }; }; then
30660 wx_cv_func_gettimeofday_has_2_args=yes
30661 else
30662 echo "$as_me: failed program was:" >&5
30663 sed 's/^/| /' conftest.$ac_ext >&5
30664
30665 cat >conftest.$ac_ext <<_ACEOF
30666 #line $LINENO "configure"
30667 /* confdefs.h. */
30668 _ACEOF
30669 cat confdefs.h >>conftest.$ac_ext
30670 cat >>conftest.$ac_ext <<_ACEOF
30671 /* end confdefs.h. */
30672
30673 #include <sys/time.h>
30674 #include <unistd.h>
30675
30676 int
30677 main ()
30678 {
30679
30680 struct timeval tv;
30681 gettimeofday(&tv);
30682
30683 ;
30684 return 0;
30685 }
30686 _ACEOF
30687 rm -f conftest.$ac_objext
30688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30689 (eval $ac_compile) 2>&5
30690 ac_status=$?
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); } &&
30693 { ac_try='test -s conftest.$ac_objext'
30694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30695 (eval $ac_try) 2>&5
30696 ac_status=$?
30697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30698 (exit $ac_status); }; }; then
30699 wx_cv_func_gettimeofday_has_2_args=no
30700 else
30701 echo "$as_me: failed program was:" >&5
30702 sed 's/^/| /' conftest.$ac_ext >&5
30703
30704
30705 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30706 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30707 wx_cv_func_gettimeofday_has_2_args=unknown
30708
30709
30710 fi
30711 rm -f conftest.$ac_objext conftest.$ac_ext
30712
30713 fi
30714 rm -f conftest.$ac_objext conftest.$ac_ext
30715 ac_ext=c
30716 ac_cpp='$CPP $CPPFLAGS'
30717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30720
30721
30722 fi
30723 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30724 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30725
30726 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30727 cat >>confdefs.h <<\_ACEOF
30728 #define WX_GETTIMEOFDAY_NO_TZ 1
30729 _ACEOF
30730
30731 fi
30732 fi
30733
30734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30735 fi
30736
30737
30738 if test "$wxUSE_SOCKETS" = "yes"; then
30739 if test "$wxUSE_MGL" = "1"; then
30740 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30741 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30742 wxUSE_SOCKETS="no"
30743 fi
30744 fi
30745
30746 if test "$wxUSE_SOCKETS" = "yes"; then
30747 if test "$TOOLKIT" != "MSW"; then
30748 echo "$as_me:$LINENO: checking for socket" >&5
30749 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30750 if test "${ac_cv_func_socket+set}" = set; then
30751 echo $ECHO_N "(cached) $ECHO_C" >&6
30752 else
30753 cat >conftest.$ac_ext <<_ACEOF
30754 #line $LINENO "configure"
30755 /* confdefs.h. */
30756 _ACEOF
30757 cat confdefs.h >>conftest.$ac_ext
30758 cat >>conftest.$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30760 /* System header to define __stub macros and hopefully few prototypes,
30761 which can conflict with char socket (); below.
30762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30763 <limits.h> exists even on freestanding compilers. */
30764 #ifdef __STDC__
30765 # include <limits.h>
30766 #else
30767 # include <assert.h>
30768 #endif
30769 /* Override any gcc2 internal prototype to avoid an error. */
30770 #ifdef __cplusplus
30771 extern "C"
30772 {
30773 #endif
30774 /* We use char because int might match the return type of a gcc2
30775 builtin and then its argument prototype would still apply. */
30776 char socket ();
30777 /* The GNU C library defines this for functions which it implements
30778 to always fail with ENOSYS. Some functions are actually named
30779 something starting with __ and the normal name is an alias. */
30780 #if defined (__stub_socket) || defined (__stub___socket)
30781 choke me
30782 #else
30783 char (*f) () = socket;
30784 #endif
30785 #ifdef __cplusplus
30786 }
30787 #endif
30788
30789 int
30790 main ()
30791 {
30792 return f != socket;
30793 ;
30794 return 0;
30795 }
30796 _ACEOF
30797 rm -f conftest.$ac_objext conftest$ac_exeext
30798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30799 (eval $ac_link) 2>&5
30800 ac_status=$?
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } &&
30803 { ac_try='test -s conftest$ac_exeext'
30804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30805 (eval $ac_try) 2>&5
30806 ac_status=$?
30807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30808 (exit $ac_status); }; }; then
30809 ac_cv_func_socket=yes
30810 else
30811 echo "$as_me: failed program was:" >&5
30812 sed 's/^/| /' conftest.$ac_ext >&5
30813
30814 ac_cv_func_socket=no
30815 fi
30816 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30817 fi
30818 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30819 echo "${ECHO_T}$ac_cv_func_socket" >&6
30820 if test $ac_cv_func_socket = yes; then
30821 :
30822 else
30823 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30824 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30825 if test "${ac_cv_lib_socket_socket+set}" = set; then
30826 echo $ECHO_N "(cached) $ECHO_C" >&6
30827 else
30828 ac_check_lib_save_LIBS=$LIBS
30829 LIBS="-lsocket $LIBS"
30830 cat >conftest.$ac_ext <<_ACEOF
30831 #line $LINENO "configure"
30832 /* confdefs.h. */
30833 _ACEOF
30834 cat confdefs.h >>conftest.$ac_ext
30835 cat >>conftest.$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30837
30838 /* Override any gcc2 internal prototype to avoid an error. */
30839 #ifdef __cplusplus
30840 extern "C"
30841 #endif
30842 /* We use char because int might match the return type of a gcc2
30843 builtin and then its argument prototype would still apply. */
30844 char socket ();
30845 int
30846 main ()
30847 {
30848 socket ();
30849 ;
30850 return 0;
30851 }
30852 _ACEOF
30853 rm -f conftest.$ac_objext conftest$ac_exeext
30854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30855 (eval $ac_link) 2>&5
30856 ac_status=$?
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); } &&
30859 { ac_try='test -s conftest$ac_exeext'
30860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30861 (eval $ac_try) 2>&5
30862 ac_status=$?
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); }; }; then
30865 ac_cv_lib_socket_socket=yes
30866 else
30867 echo "$as_me: failed program was:" >&5
30868 sed 's/^/| /' conftest.$ac_ext >&5
30869
30870 ac_cv_lib_socket_socket=no
30871 fi
30872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30873 LIBS=$ac_check_lib_save_LIBS
30874 fi
30875 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30876 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30877 if test $ac_cv_lib_socket_socket = yes; then
30878 if test "$INET_LINK" != " -lsocket"; then
30879 INET_LINK="$INET_LINK -lsocket"
30880 fi
30881 else
30882
30883 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30884 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30885 wxUSE_SOCKETS=no
30886
30887
30888 fi
30889
30890
30891 fi
30892
30893 fi
30894 fi
30895
30896 if test "$wxUSE_SOCKETS" = "yes" ; then
30897 if test "$TOOLKIT" != "MSW"; then
30898 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30899 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30900 if test "${wx_cv_type_getsockname3+set}" = set; then
30901 echo $ECHO_N "(cached) $ECHO_C" >&6
30902 else
30903
30904 cat >conftest.$ac_ext <<_ACEOF
30905 #line $LINENO "configure"
30906 /* confdefs.h. */
30907 _ACEOF
30908 cat confdefs.h >>conftest.$ac_ext
30909 cat >>conftest.$ac_ext <<_ACEOF
30910 /* end confdefs.h. */
30911
30912 #include <sys/types.h>
30913 #include <sys/socket.h>
30914
30915 int
30916 main ()
30917 {
30918
30919 socklen_t len;
30920 getsockname(0, 0, &len);
30921
30922 ;
30923 return 0;
30924 }
30925 _ACEOF
30926 rm -f conftest.$ac_objext
30927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30928 (eval $ac_compile) 2>&5
30929 ac_status=$?
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); } &&
30932 { ac_try='test -s conftest.$ac_objext'
30933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 (eval $ac_try) 2>&5
30935 ac_status=$?
30936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30937 (exit $ac_status); }; }; then
30938 wx_cv_type_getsockname3=socklen_t
30939 else
30940 echo "$as_me: failed program was:" >&5
30941 sed 's/^/| /' conftest.$ac_ext >&5
30942
30943
30944 CFLAGS_OLD="$CFLAGS"
30945 if test "$GCC" = yes ; then
30946 CFLAGS="$CFLAGS -Werror"
30947 fi
30948
30949 cat >conftest.$ac_ext <<_ACEOF
30950 #line $LINENO "configure"
30951 /* confdefs.h. */
30952 _ACEOF
30953 cat confdefs.h >>conftest.$ac_ext
30954 cat >>conftest.$ac_ext <<_ACEOF
30955 /* end confdefs.h. */
30956
30957 #include <sys/types.h>
30958 #include <sys/socket.h>
30959
30960 int
30961 main ()
30962 {
30963
30964 size_t len;
30965 getsockname(0, 0, &len);
30966
30967 ;
30968 return 0;
30969 }
30970 _ACEOF
30971 rm -f conftest.$ac_objext
30972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30973 (eval $ac_compile) 2>&5
30974 ac_status=$?
30975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30976 (exit $ac_status); } &&
30977 { ac_try='test -s conftest.$ac_objext'
30978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30979 (eval $ac_try) 2>&5
30980 ac_status=$?
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); }; }; then
30983 wx_cv_type_getsockname3=size_t
30984 else
30985 echo "$as_me: failed program was:" >&5
30986 sed 's/^/| /' conftest.$ac_ext >&5
30987
30988 cat >conftest.$ac_ext <<_ACEOF
30989 #line $LINENO "configure"
30990 /* confdefs.h. */
30991 _ACEOF
30992 cat confdefs.h >>conftest.$ac_ext
30993 cat >>conftest.$ac_ext <<_ACEOF
30994 /* end confdefs.h. */
30995
30996 #include <sys/types.h>
30997 #include <sys/socket.h>
30998
30999 int
31000 main ()
31001 {
31002
31003 int len;
31004 getsockname(0, 0, &len);
31005
31006 ;
31007 return 0;
31008 }
31009 _ACEOF
31010 rm -f conftest.$ac_objext
31011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31012 (eval $ac_compile) 2>&5
31013 ac_status=$?
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } &&
31016 { ac_try='test -s conftest.$ac_objext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31019 ac_status=$?
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 wx_cv_type_getsockname3=int
31023 else
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31026
31027 wx_cv_type_getsockname3=unknown
31028
31029 fi
31030 rm -f conftest.$ac_objext conftest.$ac_ext
31031
31032 fi
31033 rm -f conftest.$ac_objext conftest.$ac_ext
31034
31035 CFLAGS="$CFLAGS_OLD"
31036
31037
31038 fi
31039 rm -f conftest.$ac_objext conftest.$ac_ext
31040
31041 fi
31042 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31043 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31044
31045 if test "$wx_cv_type_getsockname3" = "unknown"; then
31046 wxUSE_SOCKETS=no
31047 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31048 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31049 else
31050 cat >>confdefs.h <<_ACEOF
31051 #define SOCKLEN_T $wx_cv_type_getsockname3
31052 _ACEOF
31053
31054 fi
31055 fi
31056 fi
31057
31058 if test "$wxUSE_SOCKETS" = "yes" ; then
31059 cat >>confdefs.h <<\_ACEOF
31060 #define wxUSE_SOCKETS 1
31061 _ACEOF
31062
31063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31064 fi
31065
31066
31067 if test "$wxUSE_GUI" = "yes"; then
31068
31069 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31070 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31071 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31072 wxUSE_JOYSTICK=no
31073 fi
31074 if test "$TOOLKIT" = "MOTIF"; then
31075 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
31076 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
31077 wxUSE_JOYSTICK=no
31078 fi
31079 if test "$TOOLKIT" = "X11"; then
31080 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
31081 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
31082 wxUSE_JOYSTICK=no
31083 fi
31084
31085 if test "$TOOLKIT" != "MSW"; then
31086 if test "$wxUSE_JOYSTICK" = "yes"; then
31087
31088 for ac_header in linux/joystick.h
31089 do
31090 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31092 echo "$as_me:$LINENO: checking for $ac_header" >&5
31093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31096 fi
31097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31099 else
31100 # Is the header compilable?
31101 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31102 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31103 cat >conftest.$ac_ext <<_ACEOF
31104 #line $LINENO "configure"
31105 /* confdefs.h. */
31106 _ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110 $ac_includes_default
31111 #include <$ac_header>
31112 _ACEOF
31113 rm -f conftest.$ac_objext
31114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31115 (eval $ac_compile) 2>&5
31116 ac_status=$?
31117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31118 (exit $ac_status); } &&
31119 { ac_try='test -s conftest.$ac_objext'
31120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31121 (eval $ac_try) 2>&5
31122 ac_status=$?
31123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31124 (exit $ac_status); }; }; then
31125 ac_header_compiler=yes
31126 else
31127 echo "$as_me: failed program was:" >&5
31128 sed 's/^/| /' conftest.$ac_ext >&5
31129
31130 ac_header_compiler=no
31131 fi
31132 rm -f conftest.$ac_objext conftest.$ac_ext
31133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31134 echo "${ECHO_T}$ac_header_compiler" >&6
31135
31136 # Is the header present?
31137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31139 cat >conftest.$ac_ext <<_ACEOF
31140 #line $LINENO "configure"
31141 /* confdefs.h. */
31142 _ACEOF
31143 cat confdefs.h >>conftest.$ac_ext
31144 cat >>conftest.$ac_ext <<_ACEOF
31145 /* end confdefs.h. */
31146 #include <$ac_header>
31147 _ACEOF
31148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31150 ac_status=$?
31151 grep -v '^ *+' conftest.er1 >conftest.err
31152 rm -f conftest.er1
31153 cat conftest.err >&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } >/dev/null; then
31156 if test -s conftest.err; then
31157 ac_cpp_err=$ac_c_preproc_warn_flag
31158 else
31159 ac_cpp_err=
31160 fi
31161 else
31162 ac_cpp_err=yes
31163 fi
31164 if test -z "$ac_cpp_err"; then
31165 ac_header_preproc=yes
31166 else
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31169
31170 ac_header_preproc=no
31171 fi
31172 rm -f conftest.err conftest.$ac_ext
31173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31174 echo "${ECHO_T}$ac_header_preproc" >&6
31175
31176 # So? What about this header?
31177 case $ac_header_compiler:$ac_header_preproc in
31178 yes:no )
31179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31182 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31183 (
31184 cat <<\_ASBOX
31185 ## ------------------------------------ ##
31186 ## Report this to bug-autoconf@gnu.org. ##
31187 ## ------------------------------------ ##
31188 _ASBOX
31189 ) |
31190 sed "s/^/$as_me: WARNING: /" >&2
31191 ;;
31192 no:yes )
31193 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31195 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31196 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31199 (
31200 cat <<\_ASBOX
31201 ## ------------------------------------ ##
31202 ## Report this to bug-autoconf@gnu.org. ##
31203 ## ------------------------------------ ##
31204 _ASBOX
31205 ) |
31206 sed "s/^/$as_me: WARNING: /" >&2
31207 ;;
31208 esac
31209 echo "$as_me:$LINENO: checking for $ac_header" >&5
31210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31212 echo $ECHO_N "(cached) $ECHO_C" >&6
31213 else
31214 eval "$as_ac_Header=$ac_header_preproc"
31215 fi
31216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31218
31219 fi
31220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31221 cat >>confdefs.h <<_ACEOF
31222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31223 _ACEOF
31224
31225 fi
31226
31227 done
31228
31229 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31230 wxUSE_JOYSTICK=no
31231 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31232 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31233 fi
31234 fi
31235 fi
31236
31237 if test "$wxUSE_JOYSTICK" = "yes"; then
31238 cat >>confdefs.h <<\_ACEOF
31239 #define wxUSE_JOYSTICK 1
31240 _ACEOF
31241
31242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31243 fi
31244 fi
31245
31246
31247 if test "$TOOLKIT" != "MSW"; then
31248
31249 HAVE_DL_FUNCS=0
31250 HAVE_SHL_FUNCS=0
31251 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31252 if test "$USE_DARWIN" = 1; then
31253 HAVE_DL_FUNCS=1
31254 else
31255
31256 for ac_func in dlopen
31257 do
31258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31259 echo "$as_me:$LINENO: checking for $ac_func" >&5
31260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31261 if eval "test \"\${$as_ac_var+set}\" = set"; then
31262 echo $ECHO_N "(cached) $ECHO_C" >&6
31263 else
31264 cat >conftest.$ac_ext <<_ACEOF
31265 #line $LINENO "configure"
31266 /* confdefs.h. */
31267 _ACEOF
31268 cat confdefs.h >>conftest.$ac_ext
31269 cat >>conftest.$ac_ext <<_ACEOF
31270 /* end confdefs.h. */
31271 /* System header to define __stub macros and hopefully few prototypes,
31272 which can conflict with char $ac_func (); below.
31273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31274 <limits.h> exists even on freestanding compilers. */
31275 #ifdef __STDC__
31276 # include <limits.h>
31277 #else
31278 # include <assert.h>
31279 #endif
31280 /* Override any gcc2 internal prototype to avoid an error. */
31281 #ifdef __cplusplus
31282 extern "C"
31283 {
31284 #endif
31285 /* We use char because int might match the return type of a gcc2
31286 builtin and then its argument prototype would still apply. */
31287 char $ac_func ();
31288 /* The GNU C library defines this for functions which it implements
31289 to always fail with ENOSYS. Some functions are actually named
31290 something starting with __ and the normal name is an alias. */
31291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31292 choke me
31293 #else
31294 char (*f) () = $ac_func;
31295 #endif
31296 #ifdef __cplusplus
31297 }
31298 #endif
31299
31300 int
31301 main ()
31302 {
31303 return f != $ac_func;
31304 ;
31305 return 0;
31306 }
31307 _ACEOF
31308 rm -f conftest.$ac_objext conftest$ac_exeext
31309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31310 (eval $ac_link) 2>&5
31311 ac_status=$?
31312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31313 (exit $ac_status); } &&
31314 { ac_try='test -s conftest$ac_exeext'
31315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31316 (eval $ac_try) 2>&5
31317 ac_status=$?
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); }; }; then
31320 eval "$as_ac_var=yes"
31321 else
31322 echo "$as_me: failed program was:" >&5
31323 sed 's/^/| /' conftest.$ac_ext >&5
31324
31325 eval "$as_ac_var=no"
31326 fi
31327 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31328 fi
31329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31331 if test `eval echo '${'$as_ac_var'}'` = yes; then
31332 cat >>confdefs.h <<_ACEOF
31333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31334 _ACEOF
31335
31336 cat >>confdefs.h <<\_ACEOF
31337 #define HAVE_DLOPEN 1
31338 _ACEOF
31339
31340 HAVE_DL_FUNCS=1
31341
31342 else
31343
31344 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31345 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31346 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 else
31349 ac_check_lib_save_LIBS=$LIBS
31350 LIBS="-ldl $LIBS"
31351 cat >conftest.$ac_ext <<_ACEOF
31352 #line $LINENO "configure"
31353 /* confdefs.h. */
31354 _ACEOF
31355 cat confdefs.h >>conftest.$ac_ext
31356 cat >>conftest.$ac_ext <<_ACEOF
31357 /* end confdefs.h. */
31358
31359 /* Override any gcc2 internal prototype to avoid an error. */
31360 #ifdef __cplusplus
31361 extern "C"
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 dlopen ();
31366 int
31367 main ()
31368 {
31369 dlopen ();
31370 ;
31371 return 0;
31372 }
31373 _ACEOF
31374 rm -f conftest.$ac_objext conftest$ac_exeext
31375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31376 (eval $ac_link) 2>&5
31377 ac_status=$?
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); } &&
31380 { ac_try='test -s conftest$ac_exeext'
31381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31382 (eval $ac_try) 2>&5
31383 ac_status=$?
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); }; }; then
31386 ac_cv_lib_dl_dlopen=yes
31387 else
31388 echo "$as_me: failed program was:" >&5
31389 sed 's/^/| /' conftest.$ac_ext >&5
31390
31391 ac_cv_lib_dl_dlopen=no
31392 fi
31393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31394 LIBS=$ac_check_lib_save_LIBS
31395 fi
31396 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31397 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31398 if test $ac_cv_lib_dl_dlopen = yes; then
31399
31400 cat >>confdefs.h <<\_ACEOF
31401 #define HAVE_DLOPEN 1
31402 _ACEOF
31403
31404 HAVE_DL_FUNCS=1
31405 DL_LINK=" -ldl$DL_LINK"
31406
31407 else
31408
31409
31410 for ac_func in shl_load
31411 do
31412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31413 echo "$as_me:$LINENO: checking for $ac_func" >&5
31414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31415 if eval "test \"\${$as_ac_var+set}\" = set"; then
31416 echo $ECHO_N "(cached) $ECHO_C" >&6
31417 else
31418 cat >conftest.$ac_ext <<_ACEOF
31419 #line $LINENO "configure"
31420 /* confdefs.h. */
31421 _ACEOF
31422 cat confdefs.h >>conftest.$ac_ext
31423 cat >>conftest.$ac_ext <<_ACEOF
31424 /* end confdefs.h. */
31425 /* System header to define __stub macros and hopefully few prototypes,
31426 which can conflict with char $ac_func (); below.
31427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31428 <limits.h> exists even on freestanding compilers. */
31429 #ifdef __STDC__
31430 # include <limits.h>
31431 #else
31432 # include <assert.h>
31433 #endif
31434 /* Override any gcc2 internal prototype to avoid an error. */
31435 #ifdef __cplusplus
31436 extern "C"
31437 {
31438 #endif
31439 /* We use char because int might match the return type of a gcc2
31440 builtin and then its argument prototype would still apply. */
31441 char $ac_func ();
31442 /* The GNU C library defines this for functions which it implements
31443 to always fail with ENOSYS. Some functions are actually named
31444 something starting with __ and the normal name is an alias. */
31445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31446 choke me
31447 #else
31448 char (*f) () = $ac_func;
31449 #endif
31450 #ifdef __cplusplus
31451 }
31452 #endif
31453
31454 int
31455 main ()
31456 {
31457 return f != $ac_func;
31458 ;
31459 return 0;
31460 }
31461 _ACEOF
31462 rm -f conftest.$ac_objext conftest$ac_exeext
31463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31464 (eval $ac_link) 2>&5
31465 ac_status=$?
31466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31467 (exit $ac_status); } &&
31468 { ac_try='test -s conftest$ac_exeext'
31469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31470 (eval $ac_try) 2>&5
31471 ac_status=$?
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); }; }; then
31474 eval "$as_ac_var=yes"
31475 else
31476 echo "$as_me: failed program was:" >&5
31477 sed 's/^/| /' conftest.$ac_ext >&5
31478
31479 eval "$as_ac_var=no"
31480 fi
31481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31482 fi
31483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31485 if test `eval echo '${'$as_ac_var'}'` = yes; then
31486 cat >>confdefs.h <<_ACEOF
31487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31488 _ACEOF
31489
31490 cat >>confdefs.h <<\_ACEOF
31491 #define HAVE_SHL_LOAD 1
31492 _ACEOF
31493
31494 HAVE_SHL_FUNCS=1
31495
31496 else
31497
31498 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31499 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31500 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31501 echo $ECHO_N "(cached) $ECHO_C" >&6
31502 else
31503 ac_check_lib_save_LIBS=$LIBS
31504 LIBS="-lshl_load $LIBS"
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
31513 /* Override any gcc2 internal prototype to avoid an error. */
31514 #ifdef __cplusplus
31515 extern "C"
31516 #endif
31517 /* We use char because int might match the return type of a gcc2
31518 builtin and then its argument prototype would still apply. */
31519 char dld ();
31520 int
31521 main ()
31522 {
31523 dld ();
31524 ;
31525 return 0;
31526 }
31527 _ACEOF
31528 rm -f conftest.$ac_objext conftest$ac_exeext
31529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31530 (eval $ac_link) 2>&5
31531 ac_status=$?
31532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533 (exit $ac_status); } &&
31534 { ac_try='test -s conftest$ac_exeext'
31535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536 (eval $ac_try) 2>&5
31537 ac_status=$?
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); }; }; then
31540 ac_cv_lib_shl_load_dld=yes
31541 else
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31544
31545 ac_cv_lib_shl_load_dld=no
31546 fi
31547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31548 LIBS=$ac_check_lib_save_LIBS
31549 fi
31550 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31551 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31552 if test $ac_cv_lib_shl_load_dld = yes; then
31553
31554 HAVE_SHL_FUNCS=1
31555 DL_LINK=" -ldld$DL_LINK"
31556
31557 fi
31558
31559
31560 fi
31561 done
31562
31563
31564 fi
31565
31566
31567 fi
31568 done
31569
31570
31571 if test "$HAVE_DL_FUNCS" = 1; then
31572
31573 for ac_func in dlerror
31574 do
31575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31576 echo "$as_me:$LINENO: checking for $ac_func" >&5
31577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31578 if eval "test \"\${$as_ac_var+set}\" = set"; then
31579 echo $ECHO_N "(cached) $ECHO_C" >&6
31580 else
31581 cat >conftest.$ac_ext <<_ACEOF
31582 #line $LINENO "configure"
31583 /* confdefs.h. */
31584 _ACEOF
31585 cat confdefs.h >>conftest.$ac_ext
31586 cat >>conftest.$ac_ext <<_ACEOF
31587 /* end confdefs.h. */
31588 /* System header to define __stub macros and hopefully few prototypes,
31589 which can conflict with char $ac_func (); below.
31590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31591 <limits.h> exists even on freestanding compilers. */
31592 #ifdef __STDC__
31593 # include <limits.h>
31594 #else
31595 # include <assert.h>
31596 #endif
31597 /* Override any gcc2 internal prototype to avoid an error. */
31598 #ifdef __cplusplus
31599 extern "C"
31600 {
31601 #endif
31602 /* We use char because int might match the return type of a gcc2
31603 builtin and then its argument prototype would still apply. */
31604 char $ac_func ();
31605 /* The GNU C library defines this for functions which it implements
31606 to always fail with ENOSYS. Some functions are actually named
31607 something starting with __ and the normal name is an alias. */
31608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31609 choke me
31610 #else
31611 char (*f) () = $ac_func;
31612 #endif
31613 #ifdef __cplusplus
31614 }
31615 #endif
31616
31617 int
31618 main ()
31619 {
31620 return f != $ac_func;
31621 ;
31622 return 0;
31623 }
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31627 (eval $ac_link) 2>&5
31628 ac_status=$?
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); } &&
31631 { ac_try='test -s conftest$ac_exeext'
31632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31633 (eval $ac_try) 2>&5
31634 ac_status=$?
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); }; }; then
31637 eval "$as_ac_var=yes"
31638 else
31639 echo "$as_me: failed program was:" >&5
31640 sed 's/^/| /' conftest.$ac_ext >&5
31641
31642 eval "$as_ac_var=no"
31643 fi
31644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31645 fi
31646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31648 if test `eval echo '${'$as_ac_var'}'` = yes; then
31649 cat >>confdefs.h <<_ACEOF
31650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31651 _ACEOF
31652 cat >>confdefs.h <<\_ACEOF
31653 #define HAVE_DLERROR 1
31654 _ACEOF
31655
31656 else
31657 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31658 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31659 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31660 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 else
31662 ac_check_lib_save_LIBS=$LIBS
31663 LIBS="-ldl $LIBS"
31664 cat >conftest.$ac_ext <<_ACEOF
31665 #line $LINENO "configure"
31666 /* confdefs.h. */
31667 _ACEOF
31668 cat confdefs.h >>conftest.$ac_ext
31669 cat >>conftest.$ac_ext <<_ACEOF
31670 /* end confdefs.h. */
31671
31672 /* Override any gcc2 internal prototype to avoid an error. */
31673 #ifdef __cplusplus
31674 extern "C"
31675 #endif
31676 /* We use char because int might match the return type of a gcc2
31677 builtin and then its argument prototype would still apply. */
31678 char dlerror ();
31679 int
31680 main ()
31681 {
31682 dlerror ();
31683 ;
31684 return 0;
31685 }
31686 _ACEOF
31687 rm -f conftest.$ac_objext conftest$ac_exeext
31688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31689 (eval $ac_link) 2>&5
31690 ac_status=$?
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); } &&
31693 { ac_try='test -s conftest$ac_exeext'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31696 ac_status=$?
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; }; then
31699 ac_cv_lib_dl_dlerror=yes
31700 else
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.$ac_ext >&5
31703
31704 ac_cv_lib_dl_dlerror=no
31705 fi
31706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31707 LIBS=$ac_check_lib_save_LIBS
31708 fi
31709 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31710 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31711 if test $ac_cv_lib_dl_dlerror = yes; then
31712 cat >>confdefs.h <<\_ACEOF
31713 #define HAVE_DLERROR 1
31714 _ACEOF
31715
31716 fi
31717
31718 fi
31719 done
31720
31721 fi
31722 fi
31723
31724 if test "$HAVE_DL_FUNCS" = 0; then
31725 if test "$HAVE_SHL_FUNCS" = 0; then
31726 if test "$USE_UNIX" = 1; then
31727 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31728 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31729 wxUSE_DYNAMIC_LOADER=no
31730 wxUSE_DYNLIB_CLASS=no
31731 else
31732 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31733 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31734 fi
31735 fi
31736 fi
31737 fi
31738 fi
31739
31740 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31741 cat >>confdefs.h <<\_ACEOF
31742 #define wxUSE_DYNAMIC_LOADER 1
31743 _ACEOF
31744
31745 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31746 cat >>confdefs.h <<\_ACEOF
31747 #define wxUSE_DYNLIB_CLASS 1
31748 _ACEOF
31749
31750 fi
31751
31752
31753 if test "$wxUSE_FONTMAP" = "yes" ; then
31754 cat >>confdefs.h <<\_ACEOF
31755 #define wxUSE_FONTMAP 1
31756 _ACEOF
31757
31758 fi
31759
31760 if test "$wxUSE_UNICODE" = "yes" ; then
31761 cat >>confdefs.h <<\_ACEOF
31762 #define wxUSE_UNICODE 1
31763 _ACEOF
31764
31765
31766 if test "$wxUSE_MSW" != 1; then
31767 wxUSE_UNICODE_MSLU=no
31768 fi
31769
31770 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31771 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31772 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31773 if test "${ac_cv_lib_unicows_main+set}" = set; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31775 else
31776 ac_check_lib_save_LIBS=$LIBS
31777 LIBS="-lunicows $LIBS"
31778 cat >conftest.$ac_ext <<_ACEOF
31779 #line $LINENO "configure"
31780 /* confdefs.h. */
31781 _ACEOF
31782 cat confdefs.h >>conftest.$ac_ext
31783 cat >>conftest.$ac_ext <<_ACEOF
31784 /* end confdefs.h. */
31785
31786
31787 int
31788 main ()
31789 {
31790 main ();
31791 ;
31792 return 0;
31793 }
31794 _ACEOF
31795 rm -f conftest.$ac_objext conftest$ac_exeext
31796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31797 (eval $ac_link) 2>&5
31798 ac_status=$?
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); } &&
31801 { ac_try='test -s conftest$ac_exeext'
31802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31803 (eval $ac_try) 2>&5
31804 ac_status=$?
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); }; }; then
31807 ac_cv_lib_unicows_main=yes
31808 else
31809 echo "$as_me: failed program was:" >&5
31810 sed 's/^/| /' conftest.$ac_ext >&5
31811
31812 ac_cv_lib_unicows_main=no
31813 fi
31814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31815 LIBS=$ac_check_lib_save_LIBS
31816 fi
31817 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31818 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31819 if test $ac_cv_lib_unicows_main = yes; then
31820
31821 cat >>confdefs.h <<\_ACEOF
31822 #define wxUSE_UNICODE_MSLU 1
31823 _ACEOF
31824
31825
31826 else
31827
31828 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31829 Applications will only run on Windows NT/2000/XP!" >&5
31830 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31831 Applications will only run on Windows NT/2000/XP!" >&2;}
31832 wxUSE_UNICODE_MSLU=no
31833
31834 fi
31835
31836 fi
31837 fi
31838
31839 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31840 cat >>confdefs.h <<\_ACEOF
31841 #define wxUSE_EXPERIMENTAL_PRINTF 1
31842 _ACEOF
31843
31844 fi
31845
31846
31847 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31848 cat >>confdefs.h <<\_ACEOF
31849 #define wxUSE_POSTSCRIPT 1
31850 _ACEOF
31851
31852 fi
31853
31854 cat >>confdefs.h <<\_ACEOF
31855 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31856 _ACEOF
31857
31858
31859 cat >>confdefs.h <<\_ACEOF
31860 #define wxUSE_NORMALIZED_PS_FONTS 1
31861 _ACEOF
31862
31863
31864
31865 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31866 cat >>confdefs.h <<\_ACEOF
31867 #define wxUSE_CONSTRAINTS 1
31868 _ACEOF
31869
31870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31871 fi
31872
31873 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31874
31875
31876 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31877 cat >>confdefs.h <<\_ACEOF
31878 #define wxUSE_MDI_ARCHITECTURE 1
31879 _ACEOF
31880
31881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31882 fi
31883 fi
31884
31885 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31886 cat >>confdefs.h <<\_ACEOF
31887 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31888 _ACEOF
31889
31890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31891 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31893 fi
31894 fi
31895
31896 if test "$wxUSE_HELP" = "yes"; then
31897 cat >>confdefs.h <<\_ACEOF
31898 #define wxUSE_HELP 1
31899 _ACEOF
31900
31901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31902
31903 if test "$wxUSE_MSW" = 1; then
31904 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31905 cat >>confdefs.h <<\_ACEOF
31906 #define wxUSE_MS_HTML_HELP 1
31907 _ACEOF
31908
31909 fi
31910 fi
31911
31912 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31913 if test "$wxUSE_HTML" = "yes"; then
31914 cat >>confdefs.h <<\_ACEOF
31915 #define wxUSE_WXHTML_HELP 1
31916 _ACEOF
31917
31918 else
31919 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31920 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31921 wxUSE_WXHTML_HELP=no
31922 fi
31923 fi
31924 fi
31925
31926 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31927 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31928 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31929 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31930 else
31931 cat >>confdefs.h <<\_ACEOF
31932 #define wxUSE_PRINTING_ARCHITECTURE 1
31933 _ACEOF
31934
31935 fi
31936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31937 fi
31938
31939 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31940 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31941 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31942 { (exit 1); exit 1; }; }
31943 fi
31944
31945
31946 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31947 -o "$wxUSE_CLIPBOARD" = "yes" \
31948 -o "$wxUSE_OLE" = "yes" \
31949 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31950
31951 for ac_header in ole2.h
31952 do
31953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31955 echo "$as_me:$LINENO: checking for $ac_header" >&5
31956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31958 echo $ECHO_N "(cached) $ECHO_C" >&6
31959 fi
31960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31962 else
31963 # Is the header compilable?
31964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31966 cat >conftest.$ac_ext <<_ACEOF
31967 #line $LINENO "configure"
31968 /* confdefs.h. */
31969 _ACEOF
31970 cat confdefs.h >>conftest.$ac_ext
31971 cat >>conftest.$ac_ext <<_ACEOF
31972 /* end confdefs.h. */
31973 $ac_includes_default
31974 #include <$ac_header>
31975 _ACEOF
31976 rm -f conftest.$ac_objext
31977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31978 (eval $ac_compile) 2>&5
31979 ac_status=$?
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } &&
31982 { ac_try='test -s conftest.$ac_objext'
31983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31984 (eval $ac_try) 2>&5
31985 ac_status=$?
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); }; }; then
31988 ac_header_compiler=yes
31989 else
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.$ac_ext >&5
31992
31993 ac_header_compiler=no
31994 fi
31995 rm -f conftest.$ac_objext conftest.$ac_ext
31996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31997 echo "${ECHO_T}$ac_header_compiler" >&6
31998
31999 # Is the header present?
32000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32002 cat >conftest.$ac_ext <<_ACEOF
32003 #line $LINENO "configure"
32004 /* confdefs.h. */
32005 _ACEOF
32006 cat confdefs.h >>conftest.$ac_ext
32007 cat >>conftest.$ac_ext <<_ACEOF
32008 /* end confdefs.h. */
32009 #include <$ac_header>
32010 _ACEOF
32011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32013 ac_status=$?
32014 grep -v '^ *+' conftest.er1 >conftest.err
32015 rm -f conftest.er1
32016 cat conftest.err >&5
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); } >/dev/null; then
32019 if test -s conftest.err; then
32020 ac_cpp_err=$ac_c_preproc_warn_flag
32021 else
32022 ac_cpp_err=
32023 fi
32024 else
32025 ac_cpp_err=yes
32026 fi
32027 if test -z "$ac_cpp_err"; then
32028 ac_header_preproc=yes
32029 else
32030 echo "$as_me: failed program was:" >&5
32031 sed 's/^/| /' conftest.$ac_ext >&5
32032
32033 ac_header_preproc=no
32034 fi
32035 rm -f conftest.err conftest.$ac_ext
32036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32037 echo "${ECHO_T}$ac_header_preproc" >&6
32038
32039 # So? What about this header?
32040 case $ac_header_compiler:$ac_header_preproc in
32041 yes:no )
32042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32046 (
32047 cat <<\_ASBOX
32048 ## ------------------------------------ ##
32049 ## Report this to bug-autoconf@gnu.org. ##
32050 ## ------------------------------------ ##
32051 _ASBOX
32052 ) |
32053 sed "s/^/$as_me: WARNING: /" >&2
32054 ;;
32055 no:yes )
32056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32062 (
32063 cat <<\_ASBOX
32064 ## ------------------------------------ ##
32065 ## Report this to bug-autoconf@gnu.org. ##
32066 ## ------------------------------------ ##
32067 _ASBOX
32068 ) |
32069 sed "s/^/$as_me: WARNING: /" >&2
32070 ;;
32071 esac
32072 echo "$as_me:$LINENO: checking for $ac_header" >&5
32073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32075 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 else
32077 eval "$as_ac_Header=$ac_header_preproc"
32078 fi
32079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32081
32082 fi
32083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32084 cat >>confdefs.h <<_ACEOF
32085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32086 _ACEOF
32087
32088 fi
32089
32090 done
32091
32092
32093 if test "$ac_cv_header_ole2_h" = "yes" ; then
32094 if test "$GCC" = yes ; then
32095
32096
32097 ac_ext=cc
32098 ac_cpp='$CXXCPP $CPPFLAGS'
32099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32102
32103
32104 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32105 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32106 cat >conftest.$ac_ext <<_ACEOF
32107 #line $LINENO "configure"
32108 /* confdefs.h. */
32109 _ACEOF
32110 cat confdefs.h >>conftest.$ac_ext
32111 cat >>conftest.$ac_ext <<_ACEOF
32112 /* end confdefs.h. */
32113 #include <windows.h>
32114 #include <ole2.h>
32115 int
32116 main ()
32117 {
32118
32119 ;
32120 return 0;
32121 }
32122 _ACEOF
32123 rm -f conftest.$ac_objext
32124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32125 (eval $ac_compile) 2>&5
32126 ac_status=$?
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } &&
32129 { ac_try='test -s conftest.$ac_objext'
32130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32131 (eval $ac_try) 2>&5
32132 ac_status=$?
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); }; }; then
32135 echo "$as_me:$LINENO: result: no" >&5
32136 echo "${ECHO_T}no" >&6
32137 else
32138 echo "$as_me: failed program was:" >&5
32139 sed 's/^/| /' conftest.$ac_ext >&5
32140
32141 echo "$as_me:$LINENO: result: yes" >&5
32142 echo "${ECHO_T}yes" >&6
32143 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32144 fi
32145 rm -f conftest.$ac_objext conftest.$ac_ext
32146 ac_ext=c
32147 ac_cpp='$CPP $CPPFLAGS'
32148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32151
32152 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32153 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32154 cat >>confdefs.h <<\_ACEOF
32155 #define wxUSE_OLE 1
32156 _ACEOF
32157
32158
32159 fi
32160
32161 cat >>confdefs.h <<\_ACEOF
32162 #define wxUSE_DATAOBJ 1
32163 _ACEOF
32164
32165 else
32166 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32167 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32168
32169 wxUSE_CLIPBOARD=no
32170 wxUSE_DRAG_AND_DROP=no
32171 wxUSE_DATAOBJ=no
32172 wxUSE_OLE=no
32173 fi
32174
32175 if test "$wxUSE_METAFILE" = "yes"; then
32176 cat >>confdefs.h <<\_ACEOF
32177 #define wxUSE_METAFILE 1
32178 _ACEOF
32179
32180
32181 cat >>confdefs.h <<\_ACEOF
32182 #define wxUSE_ENH_METAFILE 1
32183 _ACEOF
32184
32185 fi
32186 fi
32187
32188 if test "$wxUSE_IPC" = "yes"; then
32189 if test "$wxUSE_SOCKETS" != "yes"; then
32190 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32191 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32192 fi
32193
32194 cat >>confdefs.h <<\_ACEOF
32195 #define wxUSE_IPC 1
32196 _ACEOF
32197
32198 fi
32199
32200 if test "$wxUSE_CLIPBOARD" = "yes"; then
32201 if test "$wxUSE_MGL" = 1; then
32202 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32203 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32204 wxUSE_CLIPBOARD=no
32205 fi
32206
32207 if test "$wxUSE_CLIPBOARD" = "yes"; then
32208 cat >>confdefs.h <<\_ACEOF
32209 #define wxUSE_CLIPBOARD 1
32210 _ACEOF
32211
32212
32213 cat >>confdefs.h <<\_ACEOF
32214 #define wxUSE_DATAOBJ 1
32215 _ACEOF
32216
32217 fi
32218 fi
32219
32220 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32221 if test "$wxUSE_GTK" = 1; then
32222 if test "$WXGTK12" != 1; then
32223 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32224 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32225 wxUSE_DRAG_AND_DROP=no
32226 fi
32227 fi
32228
32229 if test "$wxUSE_MOTIF" = 1; then
32230 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32231 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32232 wxUSE_DRAG_AND_DROP=no
32233 fi
32234
32235 if test "$wxUSE_X11" = 1; then
32236 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32237 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32238 wxUSE_DRAG_AND_DROP=no
32239 fi
32240
32241 if test "$wxUSE_MGL" = 1; then
32242 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32243 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32244 wxUSE_DRAG_AND_DROP=no
32245 fi
32246
32247 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32248 cat >>confdefs.h <<\_ACEOF
32249 #define wxUSE_DRAG_AND_DROP 1
32250 _ACEOF
32251
32252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32253 fi
32254
32255 fi
32256
32257 if test "$wxUSE_SPLINES" = "yes" ; then
32258 cat >>confdefs.h <<\_ACEOF
32259 #define wxUSE_SPLINES 1
32260 _ACEOF
32261
32262 fi
32263
32264
32265 USES_CONTROLS=0
32266 if test "$wxUSE_CONTROLS" = "yes"; then
32267 USES_CONTROLS=1
32268 fi
32269
32270 if test "$wxUSE_ACCEL" = "yes"; then
32271 cat >>confdefs.h <<\_ACEOF
32272 #define wxUSE_ACCEL 1
32273 _ACEOF
32274
32275 USES_CONTROLS=1
32276 fi
32277
32278 if test "$wxUSE_BUTTON" = "yes"; then
32279 cat >>confdefs.h <<\_ACEOF
32280 #define wxUSE_BUTTON 1
32281 _ACEOF
32282
32283 USES_CONTROLS=1
32284 fi
32285
32286 if test "$wxUSE_BMPBUTTON" = "yes"; then
32287 cat >>confdefs.h <<\_ACEOF
32288 #define wxUSE_BMPBUTTON 1
32289 _ACEOF
32290
32291 USES_CONTROLS=1
32292 fi
32293
32294 if test "$wxUSE_CALCTRL" = "yes"; then
32295 cat >>confdefs.h <<\_ACEOF
32296 #define wxUSE_CALENDARCTRL 1
32297 _ACEOF
32298
32299 USES_CONTROLS=1
32300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32301 fi
32302
32303 if test "$wxUSE_CARET" = "yes"; then
32304 cat >>confdefs.h <<\_ACEOF
32305 #define wxUSE_CARET 1
32306 _ACEOF
32307
32308 USES_CONTROLS=1
32309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32310 fi
32311
32312 if test "$wxUSE_COMBOBOX" = "yes"; then
32313 cat >>confdefs.h <<\_ACEOF
32314 #define wxUSE_COMBOBOX 1
32315 _ACEOF
32316
32317 USES_CONTROLS=1
32318 fi
32319
32320 if test "$wxUSE_CHOICE" = "yes"; then
32321 cat >>confdefs.h <<\_ACEOF
32322 #define wxUSE_CHOICE 1
32323 _ACEOF
32324
32325 USES_CONTROLS=1
32326 fi
32327
32328 if test "$wxUSE_CHECKBOX" = "yes"; then
32329 cat >>confdefs.h <<\_ACEOF
32330 #define wxUSE_CHECKBOX 1
32331 _ACEOF
32332
32333 USES_CONTROLS=1
32334 fi
32335
32336 if test "$wxUSE_CHECKLST" = "yes"; then
32337 cat >>confdefs.h <<\_ACEOF
32338 #define wxUSE_CHECKLISTBOX 1
32339 _ACEOF
32340
32341 USES_CONTROLS=1
32342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32343 fi
32344
32345 if test "$wxUSE_DISPLAY" = "yes"; then
32346 cat >>confdefs.h <<\_ACEOF
32347 #define wxUSE_DISPLAY 1
32348 _ACEOF
32349
32350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32351 fi
32352
32353 if test "$wxUSE_GAUGE" = "yes"; then
32354 cat >>confdefs.h <<\_ACEOF
32355 #define wxUSE_GAUGE 1
32356 _ACEOF
32357
32358 USES_CONTROLS=1
32359 fi
32360
32361 if test "$wxUSE_GRID" = "yes"; then
32362 cat >>confdefs.h <<\_ACEOF
32363 #define wxUSE_GRID 1
32364 _ACEOF
32365
32366 USES_CONTROLS=1
32367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32368 fi
32369
32370 if test "$wxUSE_IMAGLIST" = "yes"; then
32371 cat >>confdefs.h <<\_ACEOF
32372 #define wxUSE_IMAGLIST 1
32373 _ACEOF
32374
32375 fi
32376
32377 if test "$wxUSE_LISTBOX" = "yes"; then
32378 cat >>confdefs.h <<\_ACEOF
32379 #define wxUSE_LISTBOX 1
32380 _ACEOF
32381
32382 USES_CONTROLS=1
32383 fi
32384
32385 if test "$wxUSE_LISTCTRL" = "yes"; then
32386 if test "$wxUSE_IMAGLIST" = "yes"; then
32387 cat >>confdefs.h <<\_ACEOF
32388 #define wxUSE_LISTCTRL 1
32389 _ACEOF
32390
32391 USES_CONTROLS=1
32392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32393 else
32394 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32395 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32396 fi
32397 fi
32398
32399 if test "$wxUSE_NOTEBOOK" = "yes"; then
32400 cat >>confdefs.h <<\_ACEOF
32401 #define wxUSE_NOTEBOOK 1
32402 _ACEOF
32403
32404 USES_CONTROLS=1
32405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32406 fi
32407
32408
32409 if test "$wxUSE_RADIOBOX" = "yes"; then
32410 cat >>confdefs.h <<\_ACEOF
32411 #define wxUSE_RADIOBOX 1
32412 _ACEOF
32413
32414 USES_CONTROLS=1
32415 fi
32416
32417 if test "$wxUSE_RADIOBTN" = "yes"; then
32418 cat >>confdefs.h <<\_ACEOF
32419 #define wxUSE_RADIOBTN 1
32420 _ACEOF
32421
32422 USES_CONTROLS=1
32423 fi
32424
32425 if test "$wxUSE_SASH" = "yes"; then
32426 cat >>confdefs.h <<\_ACEOF
32427 #define wxUSE_SASH 1
32428 _ACEOF
32429
32430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32431 fi
32432
32433 if test "$wxUSE_SCROLLBAR" = "yes"; then
32434 cat >>confdefs.h <<\_ACEOF
32435 #define wxUSE_SCROLLBAR 1
32436 _ACEOF
32437
32438 USES_CONTROLS=1
32439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32440 fi
32441
32442 if test "$wxUSE_SLIDER" = "yes"; then
32443 cat >>confdefs.h <<\_ACEOF
32444 #define wxUSE_SLIDER 1
32445 _ACEOF
32446
32447 USES_CONTROLS=1
32448 fi
32449
32450 if test "$wxUSE_SPINBTN" = "yes"; then
32451 cat >>confdefs.h <<\_ACEOF
32452 #define wxUSE_SPINBTN 1
32453 _ACEOF
32454
32455 USES_CONTROLS=1
32456 fi
32457
32458 if test "$wxUSE_SPINCTRL" = "yes"; then
32459 cat >>confdefs.h <<\_ACEOF
32460 #define wxUSE_SPINCTRL 1
32461 _ACEOF
32462
32463 USES_CONTROLS=1
32464 fi
32465
32466 if test "$wxUSE_SPLITTER" = "yes"; then
32467 cat >>confdefs.h <<\_ACEOF
32468 #define wxUSE_SPLITTER 1
32469 _ACEOF
32470
32471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32472 fi
32473
32474 if test "$wxUSE_STATBMP" = "yes"; then
32475 cat >>confdefs.h <<\_ACEOF
32476 #define wxUSE_STATBMP 1
32477 _ACEOF
32478
32479 USES_CONTROLS=1
32480 fi
32481
32482 if test "$wxUSE_STATBOX" = "yes"; then
32483 cat >>confdefs.h <<\_ACEOF
32484 #define wxUSE_STATBOX 1
32485 _ACEOF
32486
32487 USES_CONTROLS=1
32488 fi
32489
32490 if test "$wxUSE_STATTEXT" = "yes"; then
32491 cat >>confdefs.h <<\_ACEOF
32492 #define wxUSE_STATTEXT 1
32493 _ACEOF
32494
32495 USES_CONTROLS=1
32496 fi
32497
32498 if test "$wxUSE_STATLINE" = "yes"; then
32499 cat >>confdefs.h <<\_ACEOF
32500 #define wxUSE_STATLINE 1
32501 _ACEOF
32502
32503 USES_CONTROLS=1
32504 fi
32505
32506 if test "$wxUSE_STATUSBAR" = "yes"; then
32507 cat >>confdefs.h <<\_ACEOF
32508 #define wxUSE_STATUSBAR 1
32509 _ACEOF
32510
32511 USES_CONTROLS=1
32512
32513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32514 fi
32515
32516 if test "$wxUSE_TABDIALOG" = "yes"; then
32517 cat >>confdefs.h <<\_ACEOF
32518 #define wxUSE_TAB_DIALOG 1
32519 _ACEOF
32520
32521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32522 fi
32523
32524 if test "$wxUSE_TEXTCTRL" = "yes"; then
32525 cat >>confdefs.h <<\_ACEOF
32526 #define wxUSE_TEXTCTRL 1
32527 _ACEOF
32528
32529 USES_CONTROLS=1
32530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32531 fi
32532
32533 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32534 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32535 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32536 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32537 wxUSE_TOGGLEBTN=no
32538 fi
32539 if test "$wxUSE_UNIVERSAL" = "yes"; then
32540 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32541 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32542 wxUSE_TOGGLEBTN=no
32543 fi
32544
32545 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32546 cat >>confdefs.h <<\_ACEOF
32547 #define wxUSE_TOGGLEBTN 1
32548 _ACEOF
32549
32550 USES_CONTROLS=1
32551 fi
32552 fi
32553
32554 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32555 cat >>confdefs.h <<\_ACEOF
32556 #define wxUSE_TOOLBAR_SIMPLE 1
32557 _ACEOF
32558
32559 wxUSE_TOOLBAR="yes"
32560 USES_CONTROLS=1
32561 fi
32562
32563 if test "$wxUSE_TOOLBAR" = "yes"; then
32564 cat >>confdefs.h <<\_ACEOF
32565 #define wxUSE_TOOLBAR 1
32566 _ACEOF
32567
32568 USES_CONTROLS=1
32569
32570 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32571 wxUSE_TOOLBAR_NATIVE="yes"
32572 fi
32573
32574 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32575 cat >>confdefs.h <<\_ACEOF
32576 #define wxUSE_TOOLBAR_NATIVE 1
32577 _ACEOF
32578
32579 USES_CONTROLS=1
32580 fi
32581
32582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32583 fi
32584
32585 if test "$wxUSE_TOOLTIPS" = "yes"; then
32586 if test "$wxUSE_MOTIF" = 1; then
32587 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32588 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32589 else
32590 if test "$wxUSE_UNIVERSAL" = "yes"; then
32591 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32592 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32593 else
32594 cat >>confdefs.h <<\_ACEOF
32595 #define wxUSE_TOOLTIPS 1
32596 _ACEOF
32597
32598 fi
32599 fi
32600 fi
32601
32602 if test "$wxUSE_TREECTRL" = "yes"; then
32603 if test "$wxUSE_IMAGLIST" = "yes"; then
32604 cat >>confdefs.h <<\_ACEOF
32605 #define wxUSE_TREECTRL 1
32606 _ACEOF
32607
32608 USES_CONTROLS=1
32609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32610 else
32611 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32612 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32613 fi
32614 fi
32615
32616 if test "$wxUSE_POPUPWIN" = "yes"; then
32617 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32618 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32619 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32620 else
32621 if test "$wxUSE_MOTIF" = 1; then
32622 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32623 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32624 else
32625 if test "$wxUSE_PM" = 1; then
32626 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32627 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32628 else
32629 cat >>confdefs.h <<\_ACEOF
32630 #define wxUSE_POPUPWIN 1
32631 _ACEOF
32632
32633
32634 USES_CONTROLS=1
32635 fi
32636 fi
32637 fi
32638 fi
32639
32640 if test "$wxUSE_TIPWINDOW" = "yes"; then
32641 if test "$wxUSE_PM" = 1; then
32642 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32643 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32644 else
32645 cat >>confdefs.h <<\_ACEOF
32646 #define wxUSE_TIPWINDOW 1
32647 _ACEOF
32648
32649 fi
32650 fi
32651
32652 if test "$USES_CONTROLS" = 1; then
32653 cat >>confdefs.h <<\_ACEOF
32654 #define wxUSE_CONTROLS 1
32655 _ACEOF
32656
32657 fi
32658
32659
32660
32661 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32662 cat >>confdefs.h <<\_ACEOF
32663 #define wxUSE_DRAGIMAGE 1
32664 _ACEOF
32665
32666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32667 fi
32668
32669 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32670 cat >>confdefs.h <<\_ACEOF
32671 #define wxUSE_ACCESSIBILITY 1
32672 _ACEOF
32673
32674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32675 fi
32676
32677 if test "$wxUSE_MENUS" = "yes"; then
32678 cat >>confdefs.h <<\_ACEOF
32679 #define wxUSE_MENUS 1
32680 _ACEOF
32681
32682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32683 fi
32684
32685 if test "$wxUSE_METAFILE" = "yes"; then
32686 cat >>confdefs.h <<\_ACEOF
32687 #define wxUSE_METAFILE 1
32688 _ACEOF
32689
32690 fi
32691
32692 if test "$wxUSE_MIMETYPE" = "yes"; then
32693 cat >>confdefs.h <<\_ACEOF
32694 #define wxUSE_MIMETYPE 1
32695 _ACEOF
32696
32697 fi
32698
32699 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32700 cat >>confdefs.h <<\_ACEOF
32701 #define wxUSE_SYSTEM_OPTIONS 1
32702 _ACEOF
32703
32704 if test "$TOOLKIT" = "MSW"; then
32705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32706 fi
32707
32708 fi
32709
32710 if test "$wxUSE_PROTOCOL" = "yes"; then
32711 if test "$wxUSE_SOCKETS" != "yes"; then
32712 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32713 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32714 wxUSE_PROTOCOL=no
32715 fi
32716
32717 if test "$wxUSE_PROTOCOL" = "yes"; then
32718 cat >>confdefs.h <<\_ACEOF
32719 #define wxUSE_PROTOCOL 1
32720 _ACEOF
32721
32722
32723 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32724 cat >>confdefs.h <<\_ACEOF
32725 #define wxUSE_PROTOCOL_HTTP 1
32726 _ACEOF
32727
32728 fi
32729 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32730 cat >>confdefs.h <<\_ACEOF
32731 #define wxUSE_PROTOCOL_FTP 1
32732 _ACEOF
32733
32734 fi
32735 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32736 cat >>confdefs.h <<\_ACEOF
32737 #define wxUSE_PROTOCOL_FILE 1
32738 _ACEOF
32739
32740 fi
32741 fi
32742 fi
32743
32744 if test "$wxUSE_URL" = "yes"; then
32745 if test "$wxUSE_PROTOCOL" != "yes"; then
32746 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32747 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32748 wxUSE_URL=no
32749 fi
32750 if test "$wxUSE_URL" = "yes"; then
32751 cat >>confdefs.h <<\_ACEOF
32752 #define wxUSE_URL 1
32753 _ACEOF
32754
32755 fi
32756 fi
32757
32758 if test "$wxUSE_MINIFRAME" = "yes"; then
32759 cat >>confdefs.h <<\_ACEOF
32760 #define wxUSE_MINIFRAME 1
32761 _ACEOF
32762
32763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32764 fi
32765
32766 if test "$wxUSE_HTML" = "yes"; then
32767 cat >>confdefs.h <<\_ACEOF
32768 #define wxUSE_HTML 1
32769 _ACEOF
32770
32771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html htlbox"
32772 fi
32773
32774 if test "$wxUSE_VALIDATORS" = "yes"; then
32775 cat >>confdefs.h <<\_ACEOF
32776 #define wxUSE_VALIDATORS 1
32777 _ACEOF
32778
32779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32780 fi
32781
32782 if test "$wxUSE_PALETTE" = "yes" ; then
32783 cat >>confdefs.h <<\_ACEOF
32784 #define wxUSE_PALETTE 1
32785 _ACEOF
32786
32787 fi
32788
32789 if test "$wxUSE_IMAGE" = "yes" ; then
32790 cat >>confdefs.h <<\_ACEOF
32791 #define wxUSE_IMAGE 1
32792 _ACEOF
32793
32794 fi
32795
32796 if test "$wxUSE_GIF" = "yes" ; then
32797 cat >>confdefs.h <<\_ACEOF
32798 #define wxUSE_GIF 1
32799 _ACEOF
32800
32801 fi
32802
32803 if test "$wxUSE_PCX" = "yes" ; then
32804 cat >>confdefs.h <<\_ACEOF
32805 #define wxUSE_PCX 1
32806 _ACEOF
32807
32808 fi
32809
32810 if test "$wxUSE_IFF" = "yes" ; then
32811 cat >>confdefs.h <<\_ACEOF
32812 #define wxUSE_IFF 1
32813 _ACEOF
32814
32815 fi
32816
32817 if test "$wxUSE_PNM" = "yes" ; then
32818 cat >>confdefs.h <<\_ACEOF
32819 #define wxUSE_PNM 1
32820 _ACEOF
32821
32822 fi
32823
32824 if test "$wxUSE_XPM" = "yes" ; then
32825 cat >>confdefs.h <<\_ACEOF
32826 #define wxUSE_XPM 1
32827 _ACEOF
32828
32829 fi
32830
32831 if test "$wxUSE_ICO_CUR" = "yes" ; then
32832 cat >>confdefs.h <<\_ACEOF
32833 #define wxUSE_ICO_CUR 1
32834 _ACEOF
32835
32836 fi
32837
32838 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32839 LIBS=" -lunicows $LIBS"
32840 fi
32841
32842
32843 if test "$wxUSE_CHOICEDLG" = "yes"; then
32844 cat >>confdefs.h <<\_ACEOF
32845 #define wxUSE_CHOICEDLG 1
32846 _ACEOF
32847
32848 fi
32849
32850 if test "$wxUSE_COLOURDLG" = "yes"; then
32851 cat >>confdefs.h <<\_ACEOF
32852 #define wxUSE_COLOURDLG 1
32853 _ACEOF
32854
32855 fi
32856
32857 if test "$wxUSE_FILEDLG" = "yes"; then
32858 cat >>confdefs.h <<\_ACEOF
32859 #define wxUSE_FILEDLG 1
32860 _ACEOF
32861
32862 fi
32863
32864 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32865 cat >>confdefs.h <<\_ACEOF
32866 #define wxUSE_FINDREPLDLG 1
32867 _ACEOF
32868
32869 fi
32870
32871 if test "$wxUSE_FONTDLG" = "yes"; then
32872 cat >>confdefs.h <<\_ACEOF
32873 #define wxUSE_FONTDLG 1
32874 _ACEOF
32875
32876 fi
32877
32878 if test "$wxUSE_DIRDLG" = "yes"; then
32879 if test "$wxUSE_TREECTRL" != "yes"; then
32880 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32881 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32882 else
32883 cat >>confdefs.h <<\_ACEOF
32884 #define wxUSE_DIRDLG 1
32885 _ACEOF
32886
32887 fi
32888 fi
32889
32890 if test "$wxUSE_MSGDLG" = "yes"; then
32891 cat >>confdefs.h <<\_ACEOF
32892 #define wxUSE_MSGDLG 1
32893 _ACEOF
32894
32895 fi
32896
32897 if test "$wxUSE_NUMBERDLG" = "yes"; then
32898 cat >>confdefs.h <<\_ACEOF
32899 #define wxUSE_NUMBERDLG 1
32900 _ACEOF
32901
32902 fi
32903
32904 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32905 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32906 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32907 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32908 else
32909 cat >>confdefs.h <<\_ACEOF
32910 #define wxUSE_PROGRESSDLG 1
32911 _ACEOF
32912
32913 fi
32914 fi
32915
32916 if test "$wxUSE_SPLASH" = "yes"; then
32917 cat >>confdefs.h <<\_ACEOF
32918 #define wxUSE_SPLASH 1
32919 _ACEOF
32920
32921 fi
32922
32923 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32925 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32926 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32927 else
32928 cat >>confdefs.h <<\_ACEOF
32929 #define wxUSE_STARTUP_TIPS 1
32930 _ACEOF
32931
32932 fi
32933 fi
32934
32935 if test "$wxUSE_TEXTDLG" = "yes"; then
32936 cat >>confdefs.h <<\_ACEOF
32937 #define wxUSE_TEXTDLG 1
32938 _ACEOF
32939
32940 fi
32941
32942 if test "$wxUSE_WIZARDDLG" = "yes"; then
32943 cat >>confdefs.h <<\_ACEOF
32944 #define wxUSE_WIZARDDLG 1
32945 _ACEOF
32946
32947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32948 fi
32949
32950
32951 if test "$cross_compiling" = "yes"; then
32952 OSINFO="\"$host\""
32953 else
32954 OSINFO=`uname -s -r -m`
32955 OSINFO="\"$OSINFO\""
32956 fi
32957
32958 cat >>confdefs.h <<_ACEOF
32959 #define WXWIN_OS_DESCRIPTION $OSINFO
32960 _ACEOF
32961
32962
32963
32964 if test "x$prefix" != "xNONE"; then
32965 wxPREFIX=$prefix
32966 else
32967 wxPREFIX=$ac_default_prefix
32968 fi
32969
32970 cat >>confdefs.h <<_ACEOF
32971 #define wxINSTALL_PREFIX "$wxPREFIX"
32972 _ACEOF
32973
32974
32975 top_builddir_wxconfig=`pwd`
32976
32977
32978
32979
32980 if test "$wxUSE_MAC" = 1 ; then
32981 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
32982 fi
32983 if test "$wxUSE_COCOA" = 1 ; then
32984 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
32985 fi
32986
32987
32988 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32989
32990 have_cos=0
32991 have_floor=0
32992
32993 for ac_func in cos
32994 do
32995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32996 echo "$as_me:$LINENO: checking for $ac_func" >&5
32997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32998 if eval "test \"\${$as_ac_var+set}\" = set"; then
32999 echo $ECHO_N "(cached) $ECHO_C" >&6
33000 else
33001 cat >conftest.$ac_ext <<_ACEOF
33002 #line $LINENO "configure"
33003 /* confdefs.h. */
33004 _ACEOF
33005 cat confdefs.h >>conftest.$ac_ext
33006 cat >>conftest.$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33008 /* System header to define __stub macros and hopefully few prototypes,
33009 which can conflict with char $ac_func (); below.
33010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33011 <limits.h> exists even on freestanding compilers. */
33012 #ifdef __STDC__
33013 # include <limits.h>
33014 #else
33015 # include <assert.h>
33016 #endif
33017 /* Override any gcc2 internal prototype to avoid an error. */
33018 #ifdef __cplusplus
33019 extern "C"
33020 {
33021 #endif
33022 /* We use char because int might match the return type of a gcc2
33023 builtin and then its argument prototype would still apply. */
33024 char $ac_func ();
33025 /* The GNU C library defines this for functions which it implements
33026 to always fail with ENOSYS. Some functions are actually named
33027 something starting with __ and the normal name is an alias. */
33028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33029 choke me
33030 #else
33031 char (*f) () = $ac_func;
33032 #endif
33033 #ifdef __cplusplus
33034 }
33035 #endif
33036
33037 int
33038 main ()
33039 {
33040 return f != $ac_func;
33041 ;
33042 return 0;
33043 }
33044 _ACEOF
33045 rm -f conftest.$ac_objext conftest$ac_exeext
33046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33047 (eval $ac_link) 2>&5
33048 ac_status=$?
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try='test -s conftest$ac_exeext'
33052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33053 (eval $ac_try) 2>&5
33054 ac_status=$?
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); }; }; then
33057 eval "$as_ac_var=yes"
33058 else
33059 echo "$as_me: failed program was:" >&5
33060 sed 's/^/| /' conftest.$ac_ext >&5
33061
33062 eval "$as_ac_var=no"
33063 fi
33064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33065 fi
33066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33068 if test `eval echo '${'$as_ac_var'}'` = yes; then
33069 cat >>confdefs.h <<_ACEOF
33070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33071 _ACEOF
33072 have_cos=1
33073 fi
33074 done
33075
33076
33077 for ac_func in floor
33078 do
33079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33080 echo "$as_me:$LINENO: checking for $ac_func" >&5
33081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33082 if eval "test \"\${$as_ac_var+set}\" = set"; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 else
33085 cat >conftest.$ac_ext <<_ACEOF
33086 #line $LINENO "configure"
33087 /* confdefs.h. */
33088 _ACEOF
33089 cat confdefs.h >>conftest.$ac_ext
33090 cat >>conftest.$ac_ext <<_ACEOF
33091 /* end confdefs.h. */
33092 /* System header to define __stub macros and hopefully few prototypes,
33093 which can conflict with char $ac_func (); below.
33094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33095 <limits.h> exists even on freestanding compilers. */
33096 #ifdef __STDC__
33097 # include <limits.h>
33098 #else
33099 # include <assert.h>
33100 #endif
33101 /* Override any gcc2 internal prototype to avoid an error. */
33102 #ifdef __cplusplus
33103 extern "C"
33104 {
33105 #endif
33106 /* We use char because int might match the return type of a gcc2
33107 builtin and then its argument prototype would still apply. */
33108 char $ac_func ();
33109 /* The GNU C library defines this for functions which it implements
33110 to always fail with ENOSYS. Some functions are actually named
33111 something starting with __ and the normal name is an alias. */
33112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33113 choke me
33114 #else
33115 char (*f) () = $ac_func;
33116 #endif
33117 #ifdef __cplusplus
33118 }
33119 #endif
33120
33121 int
33122 main ()
33123 {
33124 return f != $ac_func;
33125 ;
33126 return 0;
33127 }
33128 _ACEOF
33129 rm -f conftest.$ac_objext conftest$ac_exeext
33130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33131 (eval $ac_link) 2>&5
33132 ac_status=$?
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); } &&
33135 { ac_try='test -s conftest$ac_exeext'
33136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33137 (eval $ac_try) 2>&5
33138 ac_status=$?
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); }; }; then
33141 eval "$as_ac_var=yes"
33142 else
33143 echo "$as_me: failed program was:" >&5
33144 sed 's/^/| /' conftest.$ac_ext >&5
33145
33146 eval "$as_ac_var=no"
33147 fi
33148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33149 fi
33150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33152 if test `eval echo '${'$as_ac_var'}'` = yes; then
33153 cat >>confdefs.h <<_ACEOF
33154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33155 _ACEOF
33156 have_floor=1
33157 fi
33158 done
33159
33160 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33161 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33162 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33163 echo "$as_me:$LINENO: result: yes" >&5
33164 echo "${ECHO_T}yes" >&6
33165 else
33166 echo "$as_me:$LINENO: result: no" >&5
33167 echo "${ECHO_T}no" >&6
33168 LIBS="$LIBS -lm"
33169 # use different functions to avoid configure caching
33170 have_sin=0
33171 have_ceil=0
33172
33173 for ac_func in sin
33174 do
33175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33176 echo "$as_me:$LINENO: checking for $ac_func" >&5
33177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33178 if eval "test \"\${$as_ac_var+set}\" = set"; then
33179 echo $ECHO_N "(cached) $ECHO_C" >&6
33180 else
33181 cat >conftest.$ac_ext <<_ACEOF
33182 #line $LINENO "configure"
33183 /* confdefs.h. */
33184 _ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33188 /* System header to define __stub macros and hopefully few prototypes,
33189 which can conflict with char $ac_func (); below.
33190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33191 <limits.h> exists even on freestanding compilers. */
33192 #ifdef __STDC__
33193 # include <limits.h>
33194 #else
33195 # include <assert.h>
33196 #endif
33197 /* Override any gcc2 internal prototype to avoid an error. */
33198 #ifdef __cplusplus
33199 extern "C"
33200 {
33201 #endif
33202 /* We use char because int might match the return type of a gcc2
33203 builtin and then its argument prototype would still apply. */
33204 char $ac_func ();
33205 /* The GNU C library defines this for functions which it implements
33206 to always fail with ENOSYS. Some functions are actually named
33207 something starting with __ and the normal name is an alias. */
33208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33209 choke me
33210 #else
33211 char (*f) () = $ac_func;
33212 #endif
33213 #ifdef __cplusplus
33214 }
33215 #endif
33216
33217 int
33218 main ()
33219 {
33220 return f != $ac_func;
33221 ;
33222 return 0;
33223 }
33224 _ACEOF
33225 rm -f conftest.$ac_objext conftest$ac_exeext
33226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33227 (eval $ac_link) 2>&5
33228 ac_status=$?
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); } &&
33231 { ac_try='test -s conftest$ac_exeext'
33232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233 (eval $ac_try) 2>&5
33234 ac_status=$?
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); }; }; then
33237 eval "$as_ac_var=yes"
33238 else
33239 echo "$as_me: failed program was:" >&5
33240 sed 's/^/| /' conftest.$ac_ext >&5
33241
33242 eval "$as_ac_var=no"
33243 fi
33244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33245 fi
33246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33248 if test `eval echo '${'$as_ac_var'}'` = yes; then
33249 cat >>confdefs.h <<_ACEOF
33250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33251 _ACEOF
33252 have_sin=1
33253 fi
33254 done
33255
33256
33257 for ac_func in ceil
33258 do
33259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33260 echo "$as_me:$LINENO: checking for $ac_func" >&5
33261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33262 if eval "test \"\${$as_ac_var+set}\" = set"; then
33263 echo $ECHO_N "(cached) $ECHO_C" >&6
33264 else
33265 cat >conftest.$ac_ext <<_ACEOF
33266 #line $LINENO "configure"
33267 /* confdefs.h. */
33268 _ACEOF
33269 cat confdefs.h >>conftest.$ac_ext
33270 cat >>conftest.$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272 /* System header to define __stub macros and hopefully few prototypes,
33273 which can conflict with char $ac_func (); below.
33274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33275 <limits.h> exists even on freestanding compilers. */
33276 #ifdef __STDC__
33277 # include <limits.h>
33278 #else
33279 # include <assert.h>
33280 #endif
33281 /* Override any gcc2 internal prototype to avoid an error. */
33282 #ifdef __cplusplus
33283 extern "C"
33284 {
33285 #endif
33286 /* We use char because int might match the return type of a gcc2
33287 builtin and then its argument prototype would still apply. */
33288 char $ac_func ();
33289 /* The GNU C library defines this for functions which it implements
33290 to always fail with ENOSYS. Some functions are actually named
33291 something starting with __ and the normal name is an alias. */
33292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33293 choke me
33294 #else
33295 char (*f) () = $ac_func;
33296 #endif
33297 #ifdef __cplusplus
33298 }
33299 #endif
33300
33301 int
33302 main ()
33303 {
33304 return f != $ac_func;
33305 ;
33306 return 0;
33307 }
33308 _ACEOF
33309 rm -f conftest.$ac_objext conftest$ac_exeext
33310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33311 (eval $ac_link) 2>&5
33312 ac_status=$?
33313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33314 (exit $ac_status); } &&
33315 { ac_try='test -s conftest$ac_exeext'
33316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317 (eval $ac_try) 2>&5
33318 ac_status=$?
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); }; }; then
33321 eval "$as_ac_var=yes"
33322 else
33323 echo "$as_me: failed program was:" >&5
33324 sed 's/^/| /' conftest.$ac_ext >&5
33325
33326 eval "$as_ac_var=no"
33327 fi
33328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33329 fi
33330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33332 if test `eval echo '${'$as_ac_var'}'` = yes; then
33333 cat >>confdefs.h <<_ACEOF
33334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33335 _ACEOF
33336 have_ceil=1
33337 fi
33338 done
33339
33340 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33341 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33342 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33343 echo "$as_me:$LINENO: result: yes" >&5
33344 echo "${ECHO_T}yes" >&6
33345 else
33346 echo "$as_me:$LINENO: result: no" >&5
33347 echo "${ECHO_T}no" >&6
33348 # not sure we should warn the user, crash, etc.
33349 fi
33350 fi
33351
33352 if test "$wxUSE_GUI" = "yes"; then
33353
33354 LIBS="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
33355
33356
33357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33358 drawing dynamic erase event exec font image \
33359 minimal propsize rotate shaped widgets"
33360 else
33361 SAMPLES_SUBDIRS="console"
33362 fi
33363
33364
33365 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33366 -I\${top_srcdir}/include \
33367 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33368 $TOOLKIT_INCLUDE"
33369
33370 if test "$wxUSE_GTK" = 1; then
33371 WXCONFIG_INCLUDE=
33372 else
33373 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33374 fi
33375
33376 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33377 WXUNIV=1
33378 else
33379 WXUNIV=0
33380 fi
33381
33382
33383
33384
33385
33386
33387
33388
33389 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33390
33391 MONOLITHIC=1
33392
33393
33394
33395
33396
33397
33398
33399 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33400
33401
33402
33403
33404
33405 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33406
33407 if test -n "$ac_tool_prefix"; then
33408 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33409 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33410 echo "$as_me:$LINENO: checking for $ac_word" >&5
33411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33412 if test "${ac_cv_prog_RANLIB+set}" = set; then
33413 echo $ECHO_N "(cached) $ECHO_C" >&6
33414 else
33415 if test -n "$RANLIB"; then
33416 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33417 else
33418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33419 for as_dir in $PATH
33420 do
33421 IFS=$as_save_IFS
33422 test -z "$as_dir" && as_dir=.
33423 for ac_exec_ext in '' $ac_executable_extensions; do
33424 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33425 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33427 break 2
33428 fi
33429 done
33430 done
33431
33432 fi
33433 fi
33434 RANLIB=$ac_cv_prog_RANLIB
33435 if test -n "$RANLIB"; then
33436 echo "$as_me:$LINENO: result: $RANLIB" >&5
33437 echo "${ECHO_T}$RANLIB" >&6
33438 else
33439 echo "$as_me:$LINENO: result: no" >&5
33440 echo "${ECHO_T}no" >&6
33441 fi
33442
33443 fi
33444 if test -z "$ac_cv_prog_RANLIB"; then
33445 ac_ct_RANLIB=$RANLIB
33446 # Extract the first word of "ranlib", so it can be a program name with args.
33447 set dummy ranlib; ac_word=$2
33448 echo "$as_me:$LINENO: checking for $ac_word" >&5
33449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33450 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33451 echo $ECHO_N "(cached) $ECHO_C" >&6
33452 else
33453 if test -n "$ac_ct_RANLIB"; then
33454 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33455 else
33456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33457 for as_dir in $PATH
33458 do
33459 IFS=$as_save_IFS
33460 test -z "$as_dir" && as_dir=.
33461 for ac_exec_ext in '' $ac_executable_extensions; do
33462 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33463 ac_cv_prog_ac_ct_RANLIB="ranlib"
33464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33465 break 2
33466 fi
33467 done
33468 done
33469
33470 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33471 fi
33472 fi
33473 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33474 if test -n "$ac_ct_RANLIB"; then
33475 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33476 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33477 else
33478 echo "$as_me:$LINENO: result: no" >&5
33479 echo "${ECHO_T}no" >&6
33480 fi
33481
33482 RANLIB=$ac_ct_RANLIB
33483 else
33484 RANLIB="$ac_cv_prog_RANLIB"
33485 fi
33486
33487 # Find a good install program. We prefer a C program (faster),
33488 # so one script is as good as another. But avoid the broken or
33489 # incompatible versions:
33490 # SysV /etc/install, /usr/sbin/install
33491 # SunOS /usr/etc/install
33492 # IRIX /sbin/install
33493 # AIX /bin/install
33494 # AmigaOS /C/install, which installs bootblocks on floppy discs
33495 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33496 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33497 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33498 # ./install, which can be erroneously created by make from ./install.sh.
33499 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33500 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33501 if test -z "$INSTALL"; then
33502 if test "${ac_cv_path_install+set}" = set; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33504 else
33505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33506 for as_dir in $PATH
33507 do
33508 IFS=$as_save_IFS
33509 test -z "$as_dir" && as_dir=.
33510 # Account for people who put trailing slashes in PATH elements.
33511 case $as_dir/ in
33512 ./ | .// | /cC/* | \
33513 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33514 /usr/ucb/* ) ;;
33515 *)
33516 # OSF1 and SCO ODT 3.0 have their own names for install.
33517 # Don't use installbsd from OSF since it installs stuff as root
33518 # by default.
33519 for ac_prog in ginstall scoinst install; do
33520 for ac_exec_ext in '' $ac_executable_extensions; do
33521 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33522 if test $ac_prog = install &&
33523 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33524 # AIX install. It has an incompatible calling convention.
33525 :
33526 elif test $ac_prog = install &&
33527 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33528 # program-specific install script used by HP pwplus--don't use.
33529 :
33530 else
33531 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33532 break 3
33533 fi
33534 fi
33535 done
33536 done
33537 ;;
33538 esac
33539 done
33540
33541
33542 fi
33543 if test "${ac_cv_path_install+set}" = set; then
33544 INSTALL=$ac_cv_path_install
33545 else
33546 # As a last resort, use the slow shell script. We don't cache a
33547 # path for INSTALL within a source directory, because that will
33548 # break other packages using the cache if that directory is
33549 # removed, or if the path is relative.
33550 INSTALL=$ac_install_sh
33551 fi
33552 fi
33553 echo "$as_me:$LINENO: result: $INSTALL" >&5
33554 echo "${ECHO_T}$INSTALL" >&6
33555
33556 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33557 # It thinks the first close brace ends the variable substitution.
33558 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33559
33560 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33561
33562 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33563
33564 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33565 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33566 LN_S=$as_ln_s
33567 if test "$LN_S" = "ln -s"; then
33568 echo "$as_me:$LINENO: result: yes" >&5
33569 echo "${ECHO_T}yes" >&6
33570 else
33571 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33572 echo "${ECHO_T}no, using $LN_S" >&6
33573 fi
33574
33575
33576 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33577 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33578 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33579 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 else
33582 cat >conftest.make <<\_ACEOF
33583 all:
33584 @echo 'ac_maketemp="$(MAKE)"'
33585 _ACEOF
33586 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33587 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33588 if test -n "$ac_maketemp"; then
33589 eval ac_cv_prog_make_${ac_make}_set=yes
33590 else
33591 eval ac_cv_prog_make_${ac_make}_set=no
33592 fi
33593 rm -f conftest.make
33594 fi
33595 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33596 echo "$as_me:$LINENO: result: yes" >&5
33597 echo "${ECHO_T}yes" >&6
33598 SET_MAKE=
33599 else
33600 echo "$as_me:$LINENO: result: no" >&5
33601 echo "${ECHO_T}no" >&6
33602 SET_MAKE="MAKE=${MAKE-make}"
33603 fi
33604
33605
33606
33607 if test "$build" != "$host" ; then
33608 AR=$host_alias-ar
33609 STRIP=$host_alias-strip
33610 else
33611 # Extract the first word of "ar", so it can be a program name with args.
33612 set dummy ar; ac_word=$2
33613 echo "$as_me:$LINENO: checking for $ac_word" >&5
33614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33615 if test "${ac_cv_prog_AR+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618 if test -n "$AR"; then
33619 ac_cv_prog_AR="$AR" # Let the user override the test.
33620 else
33621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33622 for as_dir in $PATH
33623 do
33624 IFS=$as_save_IFS
33625 test -z "$as_dir" && as_dir=.
33626 for ac_exec_ext in '' $ac_executable_extensions; do
33627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33628 ac_cv_prog_AR="ar"
33629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33630 break 2
33631 fi
33632 done
33633 done
33634
33635 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33636 fi
33637 fi
33638 AR=$ac_cv_prog_AR
33639 if test -n "$AR"; then
33640 echo "$as_me:$LINENO: result: $AR" >&5
33641 echo "${ECHO_T}$AR" >&6
33642 else
33643 echo "$as_me:$LINENO: result: no" >&5
33644 echo "${ECHO_T}no" >&6
33645 fi
33646
33647 # Extract the first word of "strip", so it can be a program name with args.
33648 set dummy strip; ac_word=$2
33649 echo "$as_me:$LINENO: checking for $ac_word" >&5
33650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33651 if test "${ac_cv_prog_STRIP+set}" = set; then
33652 echo $ECHO_N "(cached) $ECHO_C" >&6
33653 else
33654 if test -n "$STRIP"; then
33655 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33656 else
33657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33658 for as_dir in $PATH
33659 do
33660 IFS=$as_save_IFS
33661 test -z "$as_dir" && as_dir=.
33662 for ac_exec_ext in '' $ac_executable_extensions; do
33663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33664 ac_cv_prog_STRIP="strip"
33665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33666 break 2
33667 fi
33668 done
33669 done
33670
33671 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33672 fi
33673 fi
33674 STRIP=$ac_cv_prog_STRIP
33675 if test -n "$STRIP"; then
33676 echo "$as_me:$LINENO: result: $STRIP" >&5
33677 echo "${ECHO_T}$STRIP" >&6
33678 else
33679 echo "$as_me:$LINENO: result: no" >&5
33680 echo "${ECHO_T}no" >&6
33681 fi
33682
33683 fi
33684
33685 case ${host} in
33686 *-hp-hpux* )
33687 INSTALL_DIR="mkdir"
33688 ;;
33689 *) INSTALL_DIR="$INSTALL -d"
33690 ;;
33691 esac
33692
33693
33694 fi
33695
33696 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33697 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33698 if test "${wx_cv_prog_makeisgnu+set}" = set; then
33699 echo $ECHO_N "(cached) $ECHO_C" >&6
33700 else
33701
33702 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33703 egrep -s GNU > /dev/null); then
33704 bakefile_cv_prog_makeisgnu="yes"
33705 else
33706 bakefile_cv_prog_makeisgnu="no"
33707 fi
33708
33709 fi
33710 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
33711 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
33712
33713 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33714 IF_GNU_MAKE=""
33715 else
33716 IF_GNU_MAKE="#"
33717 fi
33718
33719
33720
33721 PLATFORM_UNIX=0
33722 PLATFORM_WIN32=0
33723 PLATFORM_MSDOS=0
33724 PLATFORM_MAC=0
33725 PLATFORM_MACOSX=0
33726
33727 case "${host}" in
33728 *-*-cygwin* | *-*-mingw32* )
33729 PLATFORM_WIN32=1
33730 ;;
33731 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33732 PLATFORM_MSDOS=1
33733 ;;
33734 powerpc-*-darwin* )
33735 PLATFORM_MAC=1
33736 PLATFORM_MACOSX=1
33737 ;;
33738 * )
33739 PLATFORM_UNIX=1
33740 ;;
33741 esac
33742
33743
33744
33745
33746
33747
33748
33749
33750 SO_SUFFIX="so"
33751 EXEEXT=""
33752 DLLPREFIX=lib
33753
33754 case "${host}" in
33755 *-hp-hpux* )
33756 SO_SUFFIX="sl"
33757 ;;
33758 *-*-aix* )
33759 SO_SUFFIX="a"
33760 ;;
33761 *-*-cygwin* | *-*-mingw32* )
33762 SO_SUFFIX="dll"
33763 EXEEXT=".exe"
33764 DLLPREFIX=""
33765 ;;
33766 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33767 EXEEXT=".exe"
33768 DLLPREFIX=""
33769 ;;
33770 powerpc-*-darwin* )
33771 SO_SUFFIX="dylib"
33772 ;;
33773 esac
33774
33775
33776
33777
33778
33779
33780 SHARED_LD_CC="\$(CC) -shared -o"
33781 SHARED_LD_CXX="\$(CXX) -shared -o"
33782
33783 if test "x$GCC" = "xyes"; then
33784 PIC_FLAG="-fPIC"
33785 fi
33786
33787 case "${host}" in
33788 *-hp-hpux* )
33789 if test "x$GCC" = "xyes"; then
33790 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33791 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33792 else
33793 LDFLAGS="$LDFLAGS -L/usr/lib"
33794
33795 SHARED_LD_CC="${CC} -b -o"
33796 SHARED_LD_CXX="${CXX} -b -o"
33797 PIC_FLAG="+Z"
33798 fi
33799 ;;
33800
33801 *-*-linux* )
33802 if test "x$GCC" != "xyes"; then
33803 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33804 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33805 if test "${bakefile_cv_prog_icc+set}" = set; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33807 else
33808
33809 cat >conftest.$ac_ext <<_ACEOF
33810 #line $LINENO "configure"
33811 /* confdefs.h. */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816
33817 int
33818 main ()
33819 {
33820
33821 #ifndef __INTEL_COMPILER
33822 #error Not icc
33823 #endif
33824
33825 ;
33826 return 0;
33827 }
33828 _ACEOF
33829 rm -f conftest.$ac_objext
33830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33831 (eval $ac_compile) 2>&5
33832 ac_status=$?
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); } &&
33835 { ac_try='test -s conftest.$ac_objext'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33838 ac_status=$?
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; }; then
33841 bakefile_cv_prog_icc=yes
33842 else
33843 echo "$as_me: failed program was:" >&5
33844 sed 's/^/| /' conftest.$ac_ext >&5
33845
33846 bakefile_cv_prog_icc=no
33847
33848 fi
33849 rm -f conftest.$ac_objext conftest.$ac_ext
33850
33851 fi
33852 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33853 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33854 if test "$bakefile_cv_prog_icc" = "yes"; then
33855 PIC_FLAG="-KPIC"
33856 fi
33857 fi
33858 ;;
33859
33860 *-*-solaris2* )
33861 if test "x$GCC" != xyes ; then
33862 SHARED_LD_CC="${CC} -G -o"
33863 SHARED_LD_CXX="${CXX} -G -o"
33864 PIC_FLAG="-KPIC"
33865 fi
33866 ;;
33867
33868 *-*-darwin* )
33869 CFLAGS="$CFLAGS -fno-common"
33870 CXXFLAGS="$CXXFLAGS -fno-common"
33871
33872
33873 cat <<EOF >shared-ld-sh
33874 #!/bin/sh
33875 #-----------------------------------------------------------------------------
33876 #-- Name: distrib/mac/shared-ld-sh
33877 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33878 #-- Author: Gilles Depeyrot
33879 #-- Copyright: (c) 2002 Gilles Depeyrot
33880 #-- Licence: any use permitted
33881 #-----------------------------------------------------------------------------
33882
33883 verbose=0
33884 args=""
33885 objects=""
33886
33887 while test \${#} -gt 0; do
33888 case \${1} in
33889
33890 -v)
33891 verbose=1
33892 ;;
33893
33894 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33895 # collect these options and values
33896 args="\${args} \${1} \${2}"
33897 shift
33898 ;;
33899
33900 -l*|-L*|-flat_namespace)
33901 # collect these options
33902 args="\${args} \${1}"
33903 ;;
33904
33905 -dynamiclib)
33906 # skip these options
33907 ;;
33908
33909 -*)
33910 echo "shared-ld: unhandled option '\${1}'"
33911 exit 1
33912 ;;
33913
33914 *.o | *.a)
33915 # collect object files
33916 objects="\${objects} \${1}"
33917 ;;
33918
33919 *)
33920 echo "shared-ld: unhandled argument '\${1}'"
33921 exit 1
33922 ;;
33923
33924 esac
33925 shift
33926 done
33927
33928 #
33929 # Link one module containing all the others
33930 #
33931 if test \${verbose} = 1; then
33932 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33933 fi
33934 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33935 status=\$?
33936 if test \${status} != 0; then
33937 exit \${status}
33938 fi
33939
33940 #
33941 # Link the shared library from the single module created
33942 #
33943 if test \${verbose} = 1; then
33944 echo "cc -dynamiclib master.\$\$.o \${args}"
33945 fi
33946 c++ -dynamiclib master.\$\$.o \${args}
33947 status=\$?
33948 if test \${status} != 0; then
33949 exit \${status}
33950 fi
33951
33952 #
33953 # Remove intermediate module
33954 #
33955 rm -f master.\$\$.o
33956
33957 exit 0
33958 EOF
33959 chmod +x shared-ld-sh
33960
33961 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33962 SHARED_LD_CXX="$SHARED_LD_CC"
33963 PIC_FLAG="-dynamic -fPIC"
33964 ;;
33965
33966 *-*-aix* )
33967 if test "x$GCC" != "xyes"; then
33968 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33969 set dummy makeC++SharedLib; ac_word=$2
33970 echo "$as_me:$LINENO: checking for $ac_word" >&5
33971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33972 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33973 echo $ECHO_N "(cached) $ECHO_C" >&6
33974 else
33975 if test -n "$AIX_CXX_LD"; then
33976 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
33977 else
33978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33979 for as_dir in $PATH
33980 do
33981 IFS=$as_save_IFS
33982 test -z "$as_dir" && as_dir=.
33983 for ac_exec_ext in '' $ac_executable_extensions; do
33984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33985 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
33986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33987 break 2
33988 fi
33989 done
33990 done
33991
33992 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
33993 fi
33994 fi
33995 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
33996 if test -n "$AIX_CXX_LD"; then
33997 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33998 echo "${ECHO_T}$AIX_CXX_LD" >&6
33999 else
34000 echo "$as_me:$LINENO: result: no" >&5
34001 echo "${ECHO_T}no" >&6
34002 fi
34003
34004 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34005 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34006 fi
34007 ;;
34008
34009 *-*-beos* )
34010 SHARED_LD_CC="${LD} -shared -o"
34011 SHARED_LD_CXX="${LD} -shared -o"
34012 ;;
34013
34014 *-*-irix* )
34015 if test "x$GCC" != "xyes"; then
34016 PIC_FLAG="-KPIC"
34017 fi
34018 ;;
34019
34020 *-*-cygwin* | *-*-mingw32* )
34021 PIC_FLAG=""
34022 ;;
34023
34024 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34025 *-*-sunos4* | \
34026 *-*-osf* | \
34027 *-*-dgux5* | \
34028 *-*-sysv5* )
34029 ;;
34030
34031 *)
34032 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34033 echo "$as_me: error: unknown system type $host." >&2;}
34034 { (exit 1); exit 1; }; }
34035 esac
34036
34037
34038
34039
34040
34041
34042 USE_SOVERSION=0
34043 USE_SOVERLINUX=0
34044 USE_SOVERSOLARIS=0
34045 USE_SOSYMLINKS=0
34046 USE_MACVERSION=0
34047 SONAME_FLAG=
34048
34049 case "${host}" in
34050 *-*-linux* )
34051 SONAME_FLAG="-Wl,-soname,"
34052 USE_SOVERSION=1
34053 USE_SOVERLINUX=1
34054 USE_SOSYMLINKS=1
34055 ;;
34056
34057 *-*-solaris2* )
34058 SONAME_FLAG="-h "
34059 USE_SOVERSION=1
34060 USE_SOVERSOLARIS=1
34061 USE_SOSYMLINKS=1
34062 ;;
34063
34064 *-*-darwin* )
34065 USE_MACVERSION=1
34066 USE_SOVERSION=1
34067 USE_SOSYMLINKS=1
34068 ;;
34069 esac
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079 DEPS_TYPE=no
34080 if test "x$GCC" = "xyes"; then
34081 DEPS_TYPE=gcc
34082 fi
34083
34084
34085
34086
34087 RESCOMP=
34088 SETFILE=
34089
34090 case ${host} in
34091 *-*-cygwin* | *-*-mingw32* )
34092 if test "$build" != "$host" ; then
34093 RESCOMP=$host_alias-windres
34094 else
34095 # Extract the first word of "windres", so it can be a program name with args.
34096 set dummy windres; ac_word=$2
34097 echo "$as_me:$LINENO: checking for $ac_word" >&5
34098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34099 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34100 echo $ECHO_N "(cached) $ECHO_C" >&6
34101 else
34102 if test -n "$RESCOMP"; then
34103 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34104 else
34105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34106 for as_dir in $PATH
34107 do
34108 IFS=$as_save_IFS
34109 test -z "$as_dir" && as_dir=.
34110 for ac_exec_ext in '' $ac_executable_extensions; do
34111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34112 ac_cv_prog_RESCOMP="windres"
34113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34114 break 2
34115 fi
34116 done
34117 done
34118
34119 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34120 fi
34121 fi
34122 RESCOMP=$ac_cv_prog_RESCOMP
34123 if test -n "$RESCOMP"; then
34124 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34125 echo "${ECHO_T}$RESCOMP" >&6
34126 else
34127 echo "$as_me:$LINENO: result: no" >&5
34128 echo "${ECHO_T}no" >&6
34129 fi
34130
34131 fi
34132 ;;
34133
34134 *-*-darwin* )
34135 # Extract the first word of "Rez", so it can be a program name with args.
34136 set dummy Rez; ac_word=$2
34137 echo "$as_me:$LINENO: checking for $ac_word" >&5
34138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34139 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141 else
34142 if test -n "$RESCOMP"; then
34143 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34144 else
34145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34146 for as_dir in $PATH
34147 do
34148 IFS=$as_save_IFS
34149 test -z "$as_dir" && as_dir=.
34150 for ac_exec_ext in '' $ac_executable_extensions; do
34151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34152 ac_cv_prog_RESCOMP="Rez"
34153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34154 break 2
34155 fi
34156 done
34157 done
34158
34159 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34160 fi
34161 fi
34162 RESCOMP=$ac_cv_prog_RESCOMP
34163 if test -n "$RESCOMP"; then
34164 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34165 echo "${ECHO_T}$RESCOMP" >&6
34166 else
34167 echo "$as_me:$LINENO: result: no" >&5
34168 echo "${ECHO_T}no" >&6
34169 fi
34170
34171 # Extract the first word of "SetFile", so it can be a program name with args.
34172 set dummy SetFile; ac_word=$2
34173 echo "$as_me:$LINENO: checking for $ac_word" >&5
34174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34175 if test "${ac_cv_prog_SETFILE+set}" = set; then
34176 echo $ECHO_N "(cached) $ECHO_C" >&6
34177 else
34178 if test -n "$SETFILE"; then
34179 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34180 else
34181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34182 for as_dir in $PATH
34183 do
34184 IFS=$as_save_IFS
34185 test -z "$as_dir" && as_dir=.
34186 for ac_exec_ext in '' $ac_executable_extensions; do
34187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34188 ac_cv_prog_SETFILE="SetFile"
34189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34190 break 2
34191 fi
34192 done
34193 done
34194
34195 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34196 fi
34197 fi
34198 SETFILE=$ac_cv_prog_SETFILE
34199 if test -n "$SETFILE"; then
34200 echo "$as_me:$LINENO: result: $SETFILE" >&5
34201 echo "${ECHO_T}$SETFILE" >&6
34202 else
34203 echo "$as_me:$LINENO: result: no" >&5
34204 echo "${ECHO_T}no" >&6
34205 fi
34206
34207 ;;
34208 esac
34209
34210
34211
34212
34213
34214
34215
34216 COND_WXUSE_ZLIB_BUILTIN="#"
34217 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34218 COND_WXUSE_ZLIB_BUILTIN=
34219 fi
34220
34221 COND_UNICODE_1="#"
34222 if test "x$UNICODE" = "x1" ; then
34223 COND_UNICODE_1=
34224 fi
34225
34226 COND_BUILD_DEBUG="#"
34227 if test "x$BUILD" = "xdebug" ; then
34228 COND_BUILD_DEBUG=
34229 fi
34230
34231 COND_WXUSE_REGEX_BUILTIN="#"
34232 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34233 COND_WXUSE_REGEX_BUILTIN=
34234 fi
34235
34236 COND_USE_SOSYMLINKS_1="#"
34237 if test "x$USE_SOSYMLINKS" = "x1" ; then
34238 COND_USE_SOSYMLINKS_1=
34239 fi
34240
34241 COND_WXUSE_LIBJPEG_BUILTIN="#"
34242 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34243 COND_WXUSE_LIBJPEG_BUILTIN=
34244 fi
34245
34246 COND_WXUSE_LIBPNG_BUILTIN="#"
34247 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34248 COND_WXUSE_LIBPNG_BUILTIN=
34249 fi
34250
34251 COND_SHARED_1_MONOLITHIC_1="#"
34252 if test "x$SHARED" = "x1" -a \
34253 "x$MONOLITHIC" = "x1" ; then
34254 COND_SHARED_1_MONOLITHIC_1=
34255 fi
34256
34257 COND_WXUSE_ODBC_BUILTIN="#"
34258 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34259 COND_WXUSE_ODBC_BUILTIN=
34260 fi
34261
34262 COND_TOOLKIT_GTK="#"
34263 if test "x$TOOLKIT" = "xGTK" ; then
34264 COND_TOOLKIT_GTK=
34265 fi
34266
34267 COND_TOOLKIT_MOTIF="#"
34268 if test "x$TOOLKIT" = "xMOTIF" ; then
34269 COND_TOOLKIT_MOTIF=
34270 fi
34271
34272 COND_TOOLKIT_MSW="#"
34273 if test "x$TOOLKIT" = "xMSW" ; then
34274 COND_TOOLKIT_MSW=
34275 fi
34276
34277 COND_TOOLKIT_MAC="#"
34278 if test "x$TOOLKIT" = "xMAC" ; then
34279 COND_TOOLKIT_MAC=
34280 fi
34281
34282 COND_TOOLKIT_COCOA="#"
34283 if test "x$TOOLKIT" = "xCOCOA" ; then
34284 COND_TOOLKIT_COCOA=
34285 fi
34286
34287 COND_TOOLKIT_OS2="#"
34288 if test "x$TOOLKIT" = "xOS2" ; then
34289 COND_TOOLKIT_OS2=
34290 fi
34291
34292 COND_TOOLKIT_X11="#"
34293 if test "x$TOOLKIT" = "xX11" ; then
34294 COND_TOOLKIT_X11=
34295 fi
34296
34297 COND_TOOLKIT_MGL="#"
34298 if test "x$TOOLKIT" = "xMGL" ; then
34299 COND_TOOLKIT_MGL=
34300 fi
34301
34302 COND_WXUNIV_1="#"
34303 if test "x$WXUNIV" = "x1" ; then
34304 COND_WXUNIV_1=
34305 fi
34306
34307 COND_WXUSE_LIBTIFF_BUILTIN="#"
34308 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34309 COND_WXUSE_LIBTIFF_BUILTIN=
34310 fi
34311
34312 COND_PLATFORM_UNIX_1="#"
34313 if test "x$PLATFORM_UNIX" = "x1" ; then
34314 COND_PLATFORM_UNIX_1=
34315 fi
34316
34317 COND_PLATFORM_MACOSX_1="#"
34318 if test "x$PLATFORM_MACOSX" = "x1" ; then
34319 COND_PLATFORM_MACOSX_1=
34320 fi
34321
34322 COND_PLATFORM_WIN32_1="#"
34323 if test "x$PLATFORM_WIN32" = "x1" ; then
34324 COND_PLATFORM_WIN32_1=
34325 fi
34326
34327 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0="#"
34328 if test "x$USE_SOVERSION" = "x1" -a \
34329 "x$PLATFORM_MACOSX" = "x0" ; then
34330 COND_USE_SOVERSION_1_PLATFORM_MACOSX_0=
34331 fi
34332
34333 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1="#"
34334 if test "x$USE_SOVERSION" = "x1" -a \
34335 "x$PLATFORM_MACOSX" = "x1" ; then
34336 COND_USE_SOVERSION_1_PLATFORM_MACOSX_1=
34337 fi
34338
34339 COND_PLATFORM_WIN32_0="#"
34340 if test "x$PLATFORM_WIN32" = "x0" ; then
34341 COND_PLATFORM_WIN32_0=
34342 fi
34343
34344 COND_MONOLITHIC_1="#"
34345 if test "x$MONOLITHIC" = "x1" ; then
34346 COND_MONOLITHIC_1=
34347 fi
34348
34349 COND_MONOLITHIC_0="#"
34350 if test "x$MONOLITHIC" = "x0" ; then
34351 COND_MONOLITHIC_0=
34352 fi
34353
34354 COND_USE_GUI_1="#"
34355 if test "x$USE_GUI" = "x1" ; then
34356 COND_USE_GUI_1=
34357 fi
34358
34359 COND_DEPS_TYPE_GCC="#"
34360 if test "x$DEPS_TYPE" = "xgcc" ; then
34361 COND_DEPS_TYPE_GCC=
34362 fi
34363
34364 COND_USE_GUI_0="#"
34365 if test "x$USE_GUI" = "x0" ; then
34366 COND_USE_GUI_0=
34367 fi
34368
34369 COND_USE_GUI_1_WXUNIV_0="#"
34370 if test "x$USE_GUI" = "x1" -a \
34371 "x$WXUNIV" = "x0" ; then
34372 COND_USE_GUI_1_WXUNIV_0=
34373 fi
34374
34375 COND_USE_GUI_1_WXUNIV_1="#"
34376 if test "x$USE_GUI" = "x1" -a \
34377 "x$WXUNIV" = "x1" ; then
34378 COND_USE_GUI_1_WXUNIV_1=
34379 fi
34380
34381 COND_SHARED_0_MONOLITHIC_1="#"
34382 if test "x$SHARED" = "x0" -a \
34383 "x$MONOLITHIC" = "x1" ; then
34384 COND_SHARED_0_MONOLITHIC_1=
34385 fi
34386
34387 COND_USE_SOVERLINUX_1="#"
34388 if test "x$USE_SOVERLINUX" = "x1" ; then
34389 COND_USE_SOVERLINUX_1=
34390 fi
34391
34392 COND_USE_SOVERSOLARIS_1="#"
34393 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34394 COND_USE_SOVERSOLARIS_1=
34395 fi
34396
34397 COND_PLATFORM_MAC_1="#"
34398 if test "x$PLATFORM_MAC" = "x1" ; then
34399 COND_PLATFORM_MAC_1=
34400 fi
34401
34402
34403
34404
34405 if test "$GXX" = yes ; then
34406 CXXWARNINGS="-Wall"
34407 fi
34408
34409 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34410
34411 CPPFLAGS=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34412 CFLAGS=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34413 CXXFLAGS=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34414 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34415
34416 LDFLAGS="$LDFLAGS $PROFILE"
34417
34418 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34523 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34524 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34525 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34527 else
34528 cat >conftest.make <<\_ACEOF
34529 all:
34530 @echo 'ac_maketemp="$(MAKE)"'
34531 _ACEOF
34532 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34533 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34534 if test -n "$ac_maketemp"; then
34535 eval ac_cv_prog_make_${ac_make}_set=yes
34536 else
34537 eval ac_cv_prog_make_${ac_make}_set=no
34538 fi
34539 rm -f conftest.make
34540 fi
34541 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34542 echo "$as_me:$LINENO: result: yes" >&5
34543 echo "${ECHO_T}yes" >&6
34544 SET_MAKE=
34545 else
34546 echo "$as_me:$LINENO: result: no" >&5
34547 echo "${ECHO_T}no" >&6
34548 SET_MAKE="MAKE=${MAKE-make}"
34549 fi
34550
34551
34552 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34553 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34554 fi
34555
34556 ac_config_headers="$ac_config_headers setup.h"
34557
34558
34559 ac_config_files="$ac_config_files wx-config version-script Makefile"
34560
34561
34562 ac_config_commands="$ac_config_commands default"
34563
34564
34565
34566 if test -d ${srcdir}/samples ; then
34567 ac_config_files="$ac_config_files samples/Makefile samples/access/Makefile samples/artprov/Makefile samples/caret/Makefile samples/calendar/Makefile samples/checklst/Makefile samples/config/Makefile samples/controls/Makefile samples/console/Makefile samples/db/Makefile samples/dialogs/Makefile samples/dialup/Makefile samples/docview/Makefile samples/docvwmdi/Makefile samples/dnd/Makefile samples/dragimag/Makefile samples/drawing/Makefile samples/dynamic/Makefile samples/erase/Makefile samples/event/Makefile samples/exec/Makefile samples/font/Makefile samples/grid/Makefile samples/help/Makefile samples/image/Makefile samples/internat/Makefile samples/ipc/Makefile samples/joytest/Makefile samples/keyboard/Makefile samples/layout/Makefile samples/listctrl/Makefile samples/mdi/Makefile samples/menu/Makefile samples/memcheck/Makefile samples/minifram/Makefile samples/minimal/Makefile samples/mobile/Makefile samples/mobile/wxedit/Makefile samples/mobile/styles/Makefile samples/multimon/Makefile samples/notebook/Makefile samples/oleauto/Makefile samples/ownerdrw/Makefile samples/png/Makefile samples/printing/Makefile samples/propsize/Makefile samples/regtest/Makefile samples/rotate/Makefile samples/sashtest/Makefile samples/shaped/Makefile samples/scroll/Makefile samples/scrollsub/Makefile samples/sockets/Makefile samples/splitter/Makefile samples/statbar/Makefile samples/taskbar/Makefile samples/text/Makefile samples/thread/Makefile samples/toolbar/Makefile samples/treectrl/Makefile samples/typetest/Makefile samples/validate/Makefile samples/widgets/Makefile samples/wizard/Makefile samples/htlbox/Makefile samples/html/Makefile samples/html/about/Makefile samples/html/help/Makefile samples/html/printing/Makefile samples/html/helpview/Makefile samples/html/test/Makefile samples/html/zip/Makefile samples/html/virtual/Makefile samples/html/widget/Makefile samples/opengl/Makefile samples/opengl/cube/Makefile samples/opengl/penguin/Makefile samples/opengl/isosurf/Makefile"
34568
34569 fi
34570
34571 if test -d ${srcdir}/demos ; then
34572 ac_config_files="$ac_config_files demos/Makefile demos/bombs/Makefile demos/dbbrowse/Makefile demos/forty/Makefile demos/fractal/Makefile demos/life/Makefile demos/poem/Makefile"
34573
34574 fi
34575
34576 if test -d ${srcdir}/utils ; then
34577 ac_config_files="$ac_config_files utils/Makefile utils/makegen/Makefile utils/HelpGen/Makefile utils/HelpGen/src/Makefile utils/tex2rtf/Makefile utils/tex2rtf/src/Makefile utils/hhp2cached/Makefile utils/dialoged/Makefile utils/dialoged/src/Makefile utils/emulator/Makefile utils/emulator/src/Makefile utils/helpview/Makefile utils/helpview/src/Makefile utils/configtool/Makefile utils/configtool/src/Makefile"
34578
34579 fi
34580
34581 if test -d ${srcdir}/contrib ; then
34582 ac_config_files="$ac_config_files contrib/src/Makefile contrib/src/deprecated/Makefile contrib/src/ogl/Makefile contrib/src/mmedia/Makefile contrib/src/stc/Makefile contrib/src/svg/Makefile contrib/src/xrc/Makefile contrib/src/gizmos/Makefile contrib/src/plot/Makefile contrib/src/applet/Makefile contrib/src/fl/Makefile contrib/src/net/Makefile contrib/samples/Makefile contrib/samples/deprecated/Makefile contrib/samples/deprecated/proplist/Makefile contrib/samples/deprecated/resource/Makefile contrib/samples/deprecated/treelay/Makefile contrib/samples/mmedia/Makefile contrib/samples/ogl/Makefile contrib/samples/ogl/ogledit/Makefile contrib/samples/ogl/studio/Makefile contrib/samples/stc/Makefile contrib/samples/svg/Makefile contrib/samples/gizmos/Makefile contrib/samples/gizmos/editlbox/Makefile contrib/samples/gizmos/dynsash/Makefile contrib/samples/gizmos/dynsash_switch/Makefile contrib/samples/gizmos/multicell/Makefile contrib/samples/gizmos/splittree/Makefile contrib/samples/gizmos/led/Makefile contrib/samples/xrc/Makefile contrib/samples/plot/Makefile contrib/samples/applet/Makefile contrib/samples/fl/Makefile contrib/samples/fl/fl_demo1/Makefile contrib/samples/fl/fl_demo2/Makefile contrib/samples/fl/fl_sample1/Makefile contrib/samples/fl/fl_sample2/Makefile contrib/samples/fl/fl_sample3/Makefile contrib/utils/Makefile contrib/utils/wxrc/Makefile contrib/utils/wxrcedit/Makefile contrib/utils/convertrc/Makefile"
34583
34584 fi
34585
34586
34587 cat >confcache <<\_ACEOF
34588 # This file is a shell script that caches the results of configure
34589 # tests run on this system so they can be shared between configure
34590 # scripts and configure runs, see configure's option --config-cache.
34591 # It is not useful on other systems. If it contains results you don't
34592 # want to keep, you may remove or edit it.
34593 #
34594 # config.status only pays attention to the cache file if you give it
34595 # the --recheck option to rerun configure.
34596 #
34597 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34598 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34599 # following values.
34600
34601 _ACEOF
34602
34603 # The following way of writing the cache mishandles newlines in values,
34604 # but we know of no workaround that is simple, portable, and efficient.
34605 # So, don't put newlines in cache variables' values.
34606 # Ultrix sh set writes to stderr and can't be redirected directly,
34607 # and sets the high bit in the cache file unless we assign to the vars.
34608 {
34609 (set) 2>&1 |
34610 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34611 *ac_space=\ *)
34612 # `set' does not quote correctly, so add quotes (double-quote
34613 # substitution turns \\\\ into \\, and sed turns \\ into \).
34614 sed -n \
34615 "s/'/'\\\\''/g;
34616 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34617 ;;
34618 *)
34619 # `set' quotes correctly as required by POSIX, so do not add quotes.
34620 sed -n \
34621 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34622 ;;
34623 esac;
34624 } |
34625 sed '
34626 t clear
34627 : clear
34628 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34629 t end
34630 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34631 : end' >>confcache
34632 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34633 if test -w $cache_file; then
34634 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34635 cat confcache >$cache_file
34636 else
34637 echo "not updating unwritable cache $cache_file"
34638 fi
34639 fi
34640 rm -f confcache
34641
34642 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34643 # Let make expand exec_prefix.
34644 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34645
34646 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34647 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34648 # trailing colons and then remove the whole line if VPATH becomes empty
34649 # (actually we leave an empty line to preserve line numbers).
34650 if test "x$srcdir" = x.; then
34651 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34652 s/:*\$(srcdir):*/:/;
34653 s/:*\${srcdir}:*/:/;
34654 s/:*@srcdir@:*/:/;
34655 s/^\([^=]*=[ ]*\):*/\1/;
34656 s/:*$//;
34657 s/^[^=]*=[ ]*$//;
34658 }'
34659 fi
34660
34661 DEFS=-DHAVE_CONFIG_H
34662
34663 ac_libobjs=
34664 ac_ltlibobjs=
34665 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34666 # 1. Remove the extension, and $U if already installed.
34667 ac_i=`echo "$ac_i" |
34668 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34669 # 2. Add them.
34670 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34671 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34672 done
34673 LIBOBJS=$ac_libobjs
34674
34675 LTLIBOBJS=$ac_ltlibobjs
34676
34677
34678
34679 : ${CONFIG_STATUS=./config.status}
34680 ac_clean_files_save=$ac_clean_files
34681 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34682 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34683 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34684 cat >$CONFIG_STATUS <<_ACEOF
34685 #! $SHELL
34686 # Generated by $as_me.
34687 # Run this file to recreate the current configuration.
34688 # Compiler output produced by configure, useful for debugging
34689 # configure, is in config.log if it exists.
34690
34691 debug=false
34692 ac_cs_recheck=false
34693 ac_cs_silent=false
34694 SHELL=\${CONFIG_SHELL-$SHELL}
34695 _ACEOF
34696
34697 cat >>$CONFIG_STATUS <<\_ACEOF
34698 ## --------------------- ##
34699 ## M4sh Initialization. ##
34700 ## --------------------- ##
34701
34702 # Be Bourne compatible
34703 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34704 emulate sh
34705 NULLCMD=:
34706 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34707 # is contrary to our usage. Disable this feature.
34708 alias -g '${1+"$@"}'='"$@"'
34709 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34710 set -o posix
34711 fi
34712
34713 # Support unset when possible.
34714 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34715 as_unset=unset
34716 else
34717 as_unset=false
34718 fi
34719
34720
34721 # Work around bugs in pre-3.0 UWIN ksh.
34722 $as_unset ENV MAIL MAILPATH
34723 PS1='$ '
34724 PS2='> '
34725 PS4='+ '
34726
34727 # NLS nuisances.
34728 for as_var in \
34729 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34730 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34731 LC_TELEPHONE LC_TIME
34732 do
34733 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34734 eval $as_var=C; export $as_var
34735 else
34736 $as_unset $as_var
34737 fi
34738 done
34739
34740 # Required to use basename.
34741 if expr a : '\(a\)' >/dev/null 2>&1; then
34742 as_expr=expr
34743 else
34744 as_expr=false
34745 fi
34746
34747 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34748 as_basename=basename
34749 else
34750 as_basename=false
34751 fi
34752
34753
34754 # Name of the executable.
34755 as_me=`$as_basename "$0" ||
34756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34757 X"$0" : 'X\(//\)$' \| \
34758 X"$0" : 'X\(/\)$' \| \
34759 . : '\(.\)' 2>/dev/null ||
34760 echo X/"$0" |
34761 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34762 /^X\/\(\/\/\)$/{ s//\1/; q; }
34763 /^X\/\(\/\).*/{ s//\1/; q; }
34764 s/.*/./; q'`
34765
34766
34767 # PATH needs CR, and LINENO needs CR and PATH.
34768 # Avoid depending upon Character Ranges.
34769 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34770 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34771 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34772 as_cr_digits='0123456789'
34773 as_cr_alnum=$as_cr_Letters$as_cr_digits
34774
34775 # The user is always right.
34776 if test "${PATH_SEPARATOR+set}" != set; then
34777 echo "#! /bin/sh" >conf$$.sh
34778 echo "exit 0" >>conf$$.sh
34779 chmod +x conf$$.sh
34780 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34781 PATH_SEPARATOR=';'
34782 else
34783 PATH_SEPARATOR=:
34784 fi
34785 rm -f conf$$.sh
34786 fi
34787
34788
34789 as_lineno_1=$LINENO
34790 as_lineno_2=$LINENO
34791 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34792 test "x$as_lineno_1" != "x$as_lineno_2" &&
34793 test "x$as_lineno_3" = "x$as_lineno_2" || {
34794 # Find who we are. Look in the path if we contain no path at all
34795 # relative or not.
34796 case $0 in
34797 *[\\/]* ) as_myself=$0 ;;
34798 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34799 for as_dir in $PATH
34800 do
34801 IFS=$as_save_IFS
34802 test -z "$as_dir" && as_dir=.
34803 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34804 done
34805
34806 ;;
34807 esac
34808 # We did not find ourselves, most probably we were run as `sh COMMAND'
34809 # in which case we are not to be found in the path.
34810 if test "x$as_myself" = x; then
34811 as_myself=$0
34812 fi
34813 if test ! -f "$as_myself"; then
34814 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34815 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34816 { (exit 1); exit 1; }; }
34817 fi
34818 case $CONFIG_SHELL in
34819 '')
34820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34821 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34822 do
34823 IFS=$as_save_IFS
34824 test -z "$as_dir" && as_dir=.
34825 for as_base in sh bash ksh sh5; do
34826 case $as_dir in
34827 /*)
34828 if ("$as_dir/$as_base" -c '
34829 as_lineno_1=$LINENO
34830 as_lineno_2=$LINENO
34831 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34832 test "x$as_lineno_1" != "x$as_lineno_2" &&
34833 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34834 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34835 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34836 CONFIG_SHELL=$as_dir/$as_base
34837 export CONFIG_SHELL
34838 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34839 fi;;
34840 esac
34841 done
34842 done
34843 ;;
34844 esac
34845
34846 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34847 # uniformly replaced by the line number. The first 'sed' inserts a
34848 # line-number line before each line; the second 'sed' does the real
34849 # work. The second script uses 'N' to pair each line-number line
34850 # with the numbered line, and appends trailing '-' during
34851 # substitution so that $LINENO is not a special case at line end.
34852 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34853 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34854 sed '=' <$as_myself |
34855 sed '
34856 N
34857 s,$,-,
34858 : loop
34859 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34860 t loop
34861 s,-$,,
34862 s,^['$as_cr_digits']*\n,,
34863 ' >$as_me.lineno &&
34864 chmod +x $as_me.lineno ||
34865 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34866 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34867 { (exit 1); exit 1; }; }
34868
34869 # Don't try to exec as it changes $[0], causing all sort of problems
34870 # (the dirname of $[0] is not the place where we might find the
34871 # original and so on. Autoconf is especially sensible to this).
34872 . ./$as_me.lineno
34873 # Exit status is that of the last command.
34874 exit
34875 }
34876
34877
34878 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34879 *c*,-n*) ECHO_N= ECHO_C='
34880 ' ECHO_T=' ' ;;
34881 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34882 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34883 esac
34884
34885 if expr a : '\(a\)' >/dev/null 2>&1; then
34886 as_expr=expr
34887 else
34888 as_expr=false
34889 fi
34890
34891 rm -f conf$$ conf$$.exe conf$$.file
34892 echo >conf$$.file
34893 if ln -s conf$$.file conf$$ 2>/dev/null; then
34894 # We could just check for DJGPP; but this test a) works b) is more generic
34895 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34896 if test -f conf$$.exe; then
34897 # Don't use ln at all; we don't have any links
34898 as_ln_s='cp -p'
34899 else
34900 as_ln_s='ln -s'
34901 fi
34902 elif ln conf$$.file conf$$ 2>/dev/null; then
34903 as_ln_s=ln
34904 else
34905 as_ln_s='cp -p'
34906 fi
34907 rm -f conf$$ conf$$.exe conf$$.file
34908
34909 if mkdir -p . 2>/dev/null; then
34910 as_mkdir_p=:
34911 else
34912 as_mkdir_p=false
34913 fi
34914
34915 as_executable_p="test -f"
34916
34917 # Sed expression to map a string onto a valid CPP name.
34918 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
34919
34920 # Sed expression to map a string onto a valid variable name.
34921 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
34922
34923
34924 # IFS
34925 # We need space, tab and new line, in precisely that order.
34926 as_nl='
34927 '
34928 IFS=" $as_nl"
34929
34930 # CDPATH.
34931 $as_unset CDPATH
34932
34933 exec 6>&1
34934
34935 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34936 # report actual input values of CONFIG_FILES etc. instead of their
34937 # values after options handling. Logging --version etc. is OK.
34938 exec 5>>config.log
34939 {
34940 echo
34941 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34942 ## Running $as_me. ##
34943 _ASBOX
34944 } >&5
34945 cat >&5 <<_CSEOF
34946
34947 This file was extended by wxWindows $as_me 2.5.0, which was
34948 generated by GNU Autoconf 2.57. Invocation command line was
34949
34950 CONFIG_FILES = $CONFIG_FILES
34951 CONFIG_HEADERS = $CONFIG_HEADERS
34952 CONFIG_LINKS = $CONFIG_LINKS
34953 CONFIG_COMMANDS = $CONFIG_COMMANDS
34954 $ $0 $@
34955
34956 _CSEOF
34957 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34958 echo >&5
34959 _ACEOF
34960
34961 # Files that config.status was made for.
34962 if test -n "$ac_config_files"; then
34963 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34964 fi
34965
34966 if test -n "$ac_config_headers"; then
34967 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34968 fi
34969
34970 if test -n "$ac_config_links"; then
34971 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34972 fi
34973
34974 if test -n "$ac_config_commands"; then
34975 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34976 fi
34977
34978 cat >>$CONFIG_STATUS <<\_ACEOF
34979
34980 ac_cs_usage="\
34981 \`$as_me' instantiates files from templates according to the
34982 current configuration.
34983
34984 Usage: $0 [OPTIONS] [FILE]...
34985
34986 -h, --help print this help, then exit
34987 -V, --version print version number, then exit
34988 -q, --quiet do not print progress messages
34989 -d, --debug don't remove temporary files
34990 --recheck update $as_me by reconfiguring in the same conditions
34991 --file=FILE[:TEMPLATE]
34992 instantiate the configuration file FILE
34993 --header=FILE[:TEMPLATE]
34994 instantiate the configuration header FILE
34995
34996 Configuration files:
34997 $config_files
34998
34999 Configuration headers:
35000 $config_headers
35001
35002 Configuration commands:
35003 $config_commands
35004
35005 Report bugs to <bug-autoconf@gnu.org>."
35006 _ACEOF
35007
35008 cat >>$CONFIG_STATUS <<_ACEOF
35009 ac_cs_version="\\
35010 wxWindows config.status 2.5.0
35011 configured by $0, generated by GNU Autoconf 2.57,
35012 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35013
35014 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35015 Free Software Foundation, Inc.
35016 This config.status script is free software; the Free Software Foundation
35017 gives unlimited permission to copy, distribute and modify it."
35018 srcdir=$srcdir
35019 INSTALL="$INSTALL"
35020 _ACEOF
35021
35022 cat >>$CONFIG_STATUS <<\_ACEOF
35023 # If no file are specified by the user, then we need to provide default
35024 # value. By we need to know if files were specified by the user.
35025 ac_need_defaults=:
35026 while test $# != 0
35027 do
35028 case $1 in
35029 --*=*)
35030 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35031 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35032 ac_shift=:
35033 ;;
35034 -*)
35035 ac_option=$1
35036 ac_optarg=$2
35037 ac_shift=shift
35038 ;;
35039 *) # This is not an option, so the user has probably given explicit
35040 # arguments.
35041 ac_option=$1
35042 ac_need_defaults=false;;
35043 esac
35044
35045 case $ac_option in
35046 # Handling of the options.
35047 _ACEOF
35048 cat >>$CONFIG_STATUS <<\_ACEOF
35049 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35050 ac_cs_recheck=: ;;
35051 --version | --vers* | -V )
35052 echo "$ac_cs_version"; exit 0 ;;
35053 --he | --h)
35054 # Conflict between --help and --header
35055 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35056 Try \`$0 --help' for more information." >&5
35057 echo "$as_me: error: ambiguous option: $1
35058 Try \`$0 --help' for more information." >&2;}
35059 { (exit 1); exit 1; }; };;
35060 --help | --hel | -h )
35061 echo "$ac_cs_usage"; exit 0 ;;
35062 --debug | --d* | -d )
35063 debug=: ;;
35064 --file | --fil | --fi | --f )
35065 $ac_shift
35066 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35067 ac_need_defaults=false;;
35068 --header | --heade | --head | --hea )
35069 $ac_shift
35070 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35071 ac_need_defaults=false;;
35072 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35073 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35074 ac_cs_silent=: ;;
35075
35076 # This is an error.
35077 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35078 Try \`$0 --help' for more information." >&5
35079 echo "$as_me: error: unrecognized option: $1
35080 Try \`$0 --help' for more information." >&2;}
35081 { (exit 1); exit 1; }; } ;;
35082
35083 *) ac_config_targets="$ac_config_targets $1" ;;
35084
35085 esac
35086 shift
35087 done
35088
35089 ac_configure_extra_args=
35090
35091 if $ac_cs_silent; then
35092 exec 6>/dev/null
35093 ac_configure_extra_args="$ac_configure_extra_args --silent"
35094 fi
35095
35096 _ACEOF
35097 cat >>$CONFIG_STATUS <<_ACEOF
35098 if \$ac_cs_recheck; then
35099 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35100 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35101 fi
35102
35103 _ACEOF
35104
35105 cat >>$CONFIG_STATUS <<_ACEOF
35106 #
35107 # INIT-COMMANDS section.
35108 #
35109
35110
35111 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35112 LN_S="${LN_S}"
35113
35114
35115
35116 _ACEOF
35117
35118
35119
35120 cat >>$CONFIG_STATUS <<\_ACEOF
35121 for ac_config_target in $ac_config_targets
35122 do
35123 case "$ac_config_target" in
35124 # Handling of arguments.
35125 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35126 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35127 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35128 "samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/Makefile" ;;
35129 "samples/access/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/access/Makefile" ;;
35130 "samples/artprov/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/artprov/Makefile" ;;
35131 "samples/caret/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/caret/Makefile" ;;
35132 "samples/calendar/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/calendar/Makefile" ;;
35133 "samples/checklst/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/checklst/Makefile" ;;
35134 "samples/config/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/config/Makefile" ;;
35135 "samples/controls/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/controls/Makefile" ;;
35136 "samples/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/console/Makefile" ;;
35137 "samples/db/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/db/Makefile" ;;
35138 "samples/dialogs/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/dialogs/Makefile" ;;
35139 "samples/dialup/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/dialup/Makefile" ;;
35140 "samples/docview/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/docview/Makefile" ;;
35141 "samples/docvwmdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/docvwmdi/Makefile" ;;
35142 "samples/dnd/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/dnd/Makefile" ;;
35143 "samples/dragimag/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/dragimag/Makefile" ;;
35144 "samples/drawing/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/drawing/Makefile" ;;
35145 "samples/dynamic/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/dynamic/Makefile" ;;
35146 "samples/erase/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/erase/Makefile" ;;
35147 "samples/event/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/event/Makefile" ;;
35148 "samples/exec/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/exec/Makefile" ;;
35149 "samples/font/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/font/Makefile" ;;
35150 "samples/grid/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/grid/Makefile" ;;
35151 "samples/help/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/help/Makefile" ;;
35152 "samples/image/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/image/Makefile" ;;
35153 "samples/internat/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/internat/Makefile" ;;
35154 "samples/ipc/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/ipc/Makefile" ;;
35155 "samples/joytest/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/joytest/Makefile" ;;
35156 "samples/keyboard/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/keyboard/Makefile" ;;
35157 "samples/layout/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/layout/Makefile" ;;
35158 "samples/listctrl/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/listctrl/Makefile" ;;
35159 "samples/mdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/mdi/Makefile" ;;
35160 "samples/menu/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/menu/Makefile" ;;
35161 "samples/memcheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/memcheck/Makefile" ;;
35162 "samples/minifram/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/minifram/Makefile" ;;
35163 "samples/minimal/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/minimal/Makefile" ;;
35164 "samples/mobile/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/mobile/Makefile" ;;
35165 "samples/mobile/wxedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/mobile/wxedit/Makefile" ;;
35166 "samples/mobile/styles/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/mobile/styles/Makefile" ;;
35167 "samples/multimon/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/multimon/Makefile" ;;
35168 "samples/notebook/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/notebook/Makefile" ;;
35169 "samples/oleauto/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/oleauto/Makefile" ;;
35170 "samples/ownerdrw/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/ownerdrw/Makefile" ;;
35171 "samples/png/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/png/Makefile" ;;
35172 "samples/printing/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/printing/Makefile" ;;
35173 "samples/propsize/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/propsize/Makefile" ;;
35174 "samples/regtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/regtest/Makefile" ;;
35175 "samples/rotate/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/rotate/Makefile" ;;
35176 "samples/sashtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/sashtest/Makefile" ;;
35177 "samples/shaped/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/shaped/Makefile" ;;
35178 "samples/scroll/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/scroll/Makefile" ;;
35179 "samples/scrollsub/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/scrollsub/Makefile" ;;
35180 "samples/sockets/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/sockets/Makefile" ;;
35181 "samples/splitter/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/splitter/Makefile" ;;
35182 "samples/statbar/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/statbar/Makefile" ;;
35183 "samples/taskbar/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/taskbar/Makefile" ;;
35184 "samples/text/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/text/Makefile" ;;
35185 "samples/thread/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/thread/Makefile" ;;
35186 "samples/toolbar/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/toolbar/Makefile" ;;
35187 "samples/treectrl/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/treectrl/Makefile" ;;
35188 "samples/typetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/typetest/Makefile" ;;
35189 "samples/validate/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/validate/Makefile" ;;
35190 "samples/widgets/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/widgets/Makefile" ;;
35191 "samples/wizard/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/wizard/Makefile" ;;
35192 "samples/htlbox/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/htlbox/Makefile" ;;
35193 "samples/html/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/Makefile" ;;
35194 "samples/html/about/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/about/Makefile" ;;
35195 "samples/html/help/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/help/Makefile" ;;
35196 "samples/html/printing/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/printing/Makefile" ;;
35197 "samples/html/helpview/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/helpview/Makefile" ;;
35198 "samples/html/test/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/test/Makefile" ;;
35199 "samples/html/zip/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/zip/Makefile" ;;
35200 "samples/html/virtual/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/virtual/Makefile" ;;
35201 "samples/html/widget/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/html/widget/Makefile" ;;
35202 "samples/opengl/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/opengl/Makefile" ;;
35203 "samples/opengl/cube/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/opengl/cube/Makefile" ;;
35204 "samples/opengl/penguin/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/opengl/penguin/Makefile" ;;
35205 "samples/opengl/isosurf/Makefile" ) CONFIG_FILES="$CONFIG_FILES samples/opengl/isosurf/Makefile" ;;
35206 "demos/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
35207 "demos/bombs/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/bombs/Makefile" ;;
35208 "demos/dbbrowse/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/dbbrowse/Makefile" ;;
35209 "demos/forty/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/forty/Makefile" ;;
35210 "demos/fractal/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/fractal/Makefile" ;;
35211 "demos/life/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/life/Makefile" ;;
35212 "demos/poem/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/poem/Makefile" ;;
35213 "utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/Makefile" ;;
35214 "utils/makegen/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/makegen/Makefile" ;;
35215 "utils/HelpGen/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/HelpGen/Makefile" ;;
35216 "utils/HelpGen/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/HelpGen/src/Makefile" ;;
35217 "utils/tex2rtf/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/tex2rtf/Makefile" ;;
35218 "utils/tex2rtf/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/tex2rtf/src/Makefile" ;;
35219 "utils/hhp2cached/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/hhp2cached/Makefile" ;;
35220 "utils/dialoged/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/dialoged/Makefile" ;;
35221 "utils/dialoged/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/dialoged/src/Makefile" ;;
35222 "utils/emulator/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/emulator/Makefile" ;;
35223 "utils/emulator/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/emulator/src/Makefile" ;;
35224 "utils/helpview/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/helpview/Makefile" ;;
35225 "utils/helpview/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/helpview/src/Makefile" ;;
35226 "utils/configtool/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/configtool/Makefile" ;;
35227 "utils/configtool/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES utils/configtool/src/Makefile" ;;
35228 "contrib/src/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/Makefile" ;;
35229 "contrib/src/deprecated/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/deprecated/Makefile" ;;
35230 "contrib/src/ogl/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/ogl/Makefile" ;;
35231 "contrib/src/mmedia/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/mmedia/Makefile" ;;
35232 "contrib/src/stc/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/stc/Makefile" ;;
35233 "contrib/src/svg/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/svg/Makefile" ;;
35234 "contrib/src/xrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/xrc/Makefile" ;;
35235 "contrib/src/gizmos/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/gizmos/Makefile" ;;
35236 "contrib/src/plot/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/plot/Makefile" ;;
35237 "contrib/src/applet/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/applet/Makefile" ;;
35238 "contrib/src/fl/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/fl/Makefile" ;;
35239 "contrib/src/net/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/src/net/Makefile" ;;
35240 "contrib/samples/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/Makefile" ;;
35241 "contrib/samples/deprecated/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/deprecated/Makefile" ;;
35242 "contrib/samples/deprecated/proplist/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/deprecated/proplist/Makefile" ;;
35243 "contrib/samples/deprecated/resource/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/deprecated/resource/Makefile" ;;
35244 "contrib/samples/deprecated/treelay/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/deprecated/treelay/Makefile" ;;
35245 "contrib/samples/mmedia/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/mmedia/Makefile" ;;
35246 "contrib/samples/ogl/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/ogl/Makefile" ;;
35247 "contrib/samples/ogl/ogledit/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/ogl/ogledit/Makefile" ;;
35248 "contrib/samples/ogl/studio/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/ogl/studio/Makefile" ;;
35249 "contrib/samples/stc/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/stc/Makefile" ;;
35250 "contrib/samples/svg/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/svg/Makefile" ;;
35251 "contrib/samples/gizmos/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/gizmos/Makefile" ;;
35252 "contrib/samples/gizmos/editlbox/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/gizmos/editlbox/Makefile" ;;
35253 "contrib/samples/gizmos/dynsash/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/gizmos/dynsash/Makefile" ;;
35254 "contrib/samples/gizmos/dynsash_switch/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/gizmos/dynsash_switch/Makefile" ;;
35255 "contrib/samples/gizmos/multicell/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/gizmos/multicell/Makefile" ;;
35256 "contrib/samples/gizmos/splittree/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/gizmos/splittree/Makefile" ;;
35257 "contrib/samples/gizmos/led/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/gizmos/led/Makefile" ;;
35258 "contrib/samples/xrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/xrc/Makefile" ;;
35259 "contrib/samples/plot/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/plot/Makefile" ;;
35260 "contrib/samples/applet/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/applet/Makefile" ;;
35261 "contrib/samples/fl/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/fl/Makefile" ;;
35262 "contrib/samples/fl/fl_demo1/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/fl/fl_demo1/Makefile" ;;
35263 "contrib/samples/fl/fl_demo2/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/fl/fl_demo2/Makefile" ;;
35264 "contrib/samples/fl/fl_sample1/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/fl/fl_sample1/Makefile" ;;
35265 "contrib/samples/fl/fl_sample2/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/fl/fl_sample2/Makefile" ;;
35266 "contrib/samples/fl/fl_sample3/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/samples/fl/fl_sample3/Makefile" ;;
35267 "contrib/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/utils/Makefile" ;;
35268 "contrib/utils/wxrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/utils/wxrc/Makefile" ;;
35269 "contrib/utils/wxrcedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/utils/wxrcedit/Makefile" ;;
35270 "contrib/utils/convertrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES contrib/utils/convertrc/Makefile" ;;
35271 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35272 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35273 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35274 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35275 { (exit 1); exit 1; }; };;
35276 esac
35277 done
35278
35279 # If the user did not use the arguments to specify the items to instantiate,
35280 # then the envvar interface is used. Set only those that are not.
35281 # We use the long form for the default assignment because of an extremely
35282 # bizarre bug on SunOS 4.1.3.
35283 if $ac_need_defaults; then
35284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35285 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35286 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35287 fi
35288
35289 # Have a temporary directory for convenience. Make it in the build tree
35290 # simply because there is no reason to put it here, and in addition,
35291 # creating and moving files from /tmp can sometimes cause problems.
35292 # Create a temporary directory, and hook for its removal unless debugging.
35293 $debug ||
35294 {
35295 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35296 trap '{ (exit 1); exit 1; }' 1 2 13 15
35297 }
35298
35299 # Create a (secure) tmp directory for tmp files.
35300
35301 {
35302 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35303 test -n "$tmp" && test -d "$tmp"
35304 } ||
35305 {
35306 tmp=./confstat$$-$RANDOM
35307 (umask 077 && mkdir $tmp)
35308 } ||
35309 {
35310 echo "$me: cannot create a temporary directory in ." >&2
35311 { (exit 1); exit 1; }
35312 }
35313
35314 _ACEOF
35315
35316 cat >>$CONFIG_STATUS <<_ACEOF
35317
35318 #
35319 # CONFIG_FILES section.
35320 #
35321
35322 # No need to generate the scripts if there are no CONFIG_FILES.
35323 # This happens for instance when ./config.status config.h
35324 if test -n "\$CONFIG_FILES"; then
35325 # Protect against being on the right side of a sed subst in config.status.
35326 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35327 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35328 s,@SHELL@,$SHELL,;t t
35329 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35330 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35331 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35332 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35333 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35334 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35335 s,@exec_prefix@,$exec_prefix,;t t
35336 s,@prefix@,$prefix,;t t
35337 s,@program_transform_name@,$program_transform_name,;t t
35338 s,@bindir@,$bindir,;t t
35339 s,@sbindir@,$sbindir,;t t
35340 s,@libexecdir@,$libexecdir,;t t
35341 s,@datadir@,$datadir,;t t
35342 s,@sysconfdir@,$sysconfdir,;t t
35343 s,@sharedstatedir@,$sharedstatedir,;t t
35344 s,@localstatedir@,$localstatedir,;t t
35345 s,@libdir@,$libdir,;t t
35346 s,@includedir@,$includedir,;t t
35347 s,@oldincludedir@,$oldincludedir,;t t
35348 s,@infodir@,$infodir,;t t
35349 s,@mandir@,$mandir,;t t
35350 s,@build_alias@,$build_alias,;t t
35351 s,@host_alias@,$host_alias,;t t
35352 s,@target_alias@,$target_alias,;t t
35353 s,@DEFS@,$DEFS,;t t
35354 s,@ECHO_C@,$ECHO_C,;t t
35355 s,@ECHO_N@,$ECHO_N,;t t
35356 s,@ECHO_T@,$ECHO_T,;t t
35357 s,@LIBS@,$LIBS,;t t
35358 s,@build@,$build,;t t
35359 s,@build_cpu@,$build_cpu,;t t
35360 s,@build_vendor@,$build_vendor,;t t
35361 s,@build_os@,$build_os,;t t
35362 s,@host@,$host,;t t
35363 s,@host_cpu@,$host_cpu,;t t
35364 s,@host_vendor@,$host_vendor,;t t
35365 s,@host_os@,$host_os,;t t
35366 s,@target@,$target,;t t
35367 s,@target_cpu@,$target_cpu,;t t
35368 s,@target_vendor@,$target_vendor,;t t
35369 s,@target_os@,$target_os,;t t
35370 s,@CC@,$CC,;t t
35371 s,@CFLAGS@,$CFLAGS,;t t
35372 s,@LDFLAGS@,$LDFLAGS,;t t
35373 s,@CPPFLAGS@,$CPPFLAGS,;t t
35374 s,@ac_ct_CC@,$ac_ct_CC,;t t
35375 s,@EXEEXT@,$EXEEXT,;t t
35376 s,@OBJEXT@,$OBJEXT,;t t
35377 s,@CPP@,$CPP,;t t
35378 s,@EGREP@,$EGREP,;t t
35379 s,@CXX@,$CXX,;t t
35380 s,@CXXFLAGS@,$CXXFLAGS,;t t
35381 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35382 s,@RANLIB@,$RANLIB,;t t
35383 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35384 s,@AR@,$AR,;t t
35385 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35386 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35387 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35388 s,@STRIP@,$STRIP,;t t
35389 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35390 s,@YACC@,$YACC,;t t
35391 s,@LEX@,$LEX,;t t
35392 s,@LEXLIB@,$LEXLIB,;t t
35393 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35394 s,@LN_S@,$LN_S,;t t
35395 s,@CXXCPP@,$CXXCPP,;t t
35396 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35397 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35398 s,@GTK_LIBS@,$GTK_LIBS,;t t
35399 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35400 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35401 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35402 s,@X_CFLAGS@,$X_CFLAGS,;t t
35403 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35404 s,@X_LIBS@,$X_LIBS,;t t
35405 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35406 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35407 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35408 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35409 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35410 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35411 s,@RESCOMP@,$RESCOMP,;t t
35412 s,@DEREZ@,$DEREZ,;t t
35413 s,@SETFILE@,$SETFILE,;t t
35414 s,@LIBICONV@,$LIBICONV,;t t
35415 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35416 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35417 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35418 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35419 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35420 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35421 s,@WXUNIV@,$WXUNIV,;t t
35422 s,@MONOLITHIC@,$MONOLITHIC,;t t
35423 s,@EXTRALIBS@,$EXTRALIBS,;t t
35424 s,@UNICODE@,$UNICODE,;t t
35425 s,@BUILD@,$BUILD,;t t
35426 s,@SHARED@,$SHARED,;t t
35427 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35428 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35429 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35430 s,@SET_MAKE@,$SET_MAKE,;t t
35431 s,@MAKE_SET@,$MAKE_SET,;t t
35432 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35433 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35434 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35435 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35436 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35437 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35438 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35439 s,@DLLPREFIX@,$DLLPREFIX,;t t
35440 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35441 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35442 s,@PIC_FLAG@,$PIC_FLAG,;t t
35443 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35444 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35445 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35446 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35447 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35448 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35449 s,@DEPS_TYPE@,$DEPS_TYPE,;t t
35450 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35451 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35452 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35453 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35454 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35455 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35456 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35457 s,@COND_SHARED_1_MONOLITHIC_1@,$COND_SHARED_1_MONOLITHIC_1,;t t
35458 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35459 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35460 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35461 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35462 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35463 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35464 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35465 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35466 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35467 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35468 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35469 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35470 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35471 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35472 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_0@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_0,;t t
35473 s,@COND_USE_SOVERSION_1_PLATFORM_MACOSX_1@,$COND_USE_SOVERSION_1_PLATFORM_MACOSX_1,;t t
35474 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35475 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35476 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35477 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35478 s,@COND_DEPS_TYPE_GCC@,$COND_DEPS_TYPE_GCC,;t t
35479 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35480 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35481 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35482 s,@COND_SHARED_0_MONOLITHIC_1@,$COND_SHARED_0_MONOLITHIC_1,;t t
35483 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35484 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35485 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35486 s,@LEX_STEM@,$LEX_STEM,;t t
35487 s,@PATH_IFS@,$PATH_IFS,;t t
35488 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35489 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35490 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35491 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35492 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35493 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35494 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35495 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35496 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35497 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35498 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35499 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35500 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35501 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35502 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35503 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35504 s,@WX_ALL@,$WX_ALL,;t t
35505 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35506 s,@SHARED_LD@,$SHARED_LD,;t t
35507 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35508 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35509 s,@SONAME_FLAGS@,$SONAME_FLAGS,;t t
35510 s,@SONAME_FLAGS_GL@,$SONAME_FLAGS_GL,;t t
35511 s,@WX_TARGET_LIBRARY_SONAME@,$WX_TARGET_LIBRARY_SONAME,;t t
35512 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35513 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35514 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35515 s,@USE_GUI@,$USE_GUI,;t t
35516 s,@AFMINSTALL@,$AFMINSTALL,;t t
35517 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35518 s,@TOOLKIT@,$TOOLKIT,;t t
35519 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35520 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35521 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35522 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35523 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35524 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35525 s,@cross_compiling@,$cross_compiling,;t t
35526 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35527 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35528 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35529 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35530 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35531 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35532 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35533 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35534 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35535 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35536 s,@GUIDIST@,$GUIDIST,;t t
35537 s,@PORT_FILES@,$PORT_FILES,;t t
35538 s,@DISTDIR@,$DISTDIR,;t t
35539 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35540 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35541 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35542 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35543 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35544 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35545 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35546 s,@RESFLAGS@,$RESFLAGS,;t t
35547 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35548 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35549 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35550 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35551 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35552 s,@MACRESCOMP@,$MACRESCOMP,;t t
35553 s,@MACSETFILE@,$MACSETFILE,;t t
35554 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35555 s,@GCC@,$GCC,;t t
35556 s,@DLLTOOL@,$DLLTOOL,;t t
35557 s,@AS@,$AS,;t t
35558 s,@NM@,$NM,;t t
35559 s,@LD@,$LD,;t t
35560 s,@MAKEINFO@,$MAKEINFO,;t t
35561 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35562 s,@ESD_LINK@,$ESD_LINK,;t t
35563 s,@LIBOBJS@,$LIBOBJS,;t t
35564 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35565 CEOF
35566
35567 _ACEOF
35568
35569 cat >>$CONFIG_STATUS <<\_ACEOF
35570 # Split the substitutions into bite-sized pieces for seds with
35571 # small command number limits, like on Digital OSF/1 and HP-UX.
35572 ac_max_sed_lines=48
35573 ac_sed_frag=1 # Number of current file.
35574 ac_beg=1 # First line for current file.
35575 ac_end=$ac_max_sed_lines # Line after last line for current file.
35576 ac_more_lines=:
35577 ac_sed_cmds=
35578 while $ac_more_lines; do
35579 if test $ac_beg -gt 1; then
35580 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35581 else
35582 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35583 fi
35584 if test ! -s $tmp/subs.frag; then
35585 ac_more_lines=false
35586 else
35587 # The purpose of the label and of the branching condition is to
35588 # speed up the sed processing (if there are no `@' at all, there
35589 # is no need to browse any of the substitutions).
35590 # These are the two extra sed commands mentioned above.
35591 (echo ':t
35592 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35593 if test -z "$ac_sed_cmds"; then
35594 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35595 else
35596 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35597 fi
35598 ac_sed_frag=`expr $ac_sed_frag + 1`
35599 ac_beg=$ac_end
35600 ac_end=`expr $ac_end + $ac_max_sed_lines`
35601 fi
35602 done
35603 if test -z "$ac_sed_cmds"; then
35604 ac_sed_cmds=cat
35605 fi
35606 fi # test -n "$CONFIG_FILES"
35607
35608 _ACEOF
35609 cat >>$CONFIG_STATUS <<\_ACEOF
35610 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35611 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35612 case $ac_file in
35613 - | *:- | *:-:* ) # input from stdin
35614 cat >$tmp/stdin
35615 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35616 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35617 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35618 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35619 * ) ac_file_in=$ac_file.in ;;
35620 esac
35621
35622 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35623 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35624 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35625 X"$ac_file" : 'X\(//\)[^/]' \| \
35626 X"$ac_file" : 'X\(//\)$' \| \
35627 X"$ac_file" : 'X\(/\)' \| \
35628 . : '\(.\)' 2>/dev/null ||
35629 echo X"$ac_file" |
35630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35631 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35632 /^X\(\/\/\)$/{ s//\1/; q; }
35633 /^X\(\/\).*/{ s//\1/; q; }
35634 s/.*/./; q'`
35635 { if $as_mkdir_p; then
35636 mkdir -p "$ac_dir"
35637 else
35638 as_dir="$ac_dir"
35639 as_dirs=
35640 while test ! -d "$as_dir"; do
35641 as_dirs="$as_dir $as_dirs"
35642 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35643 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35644 X"$as_dir" : 'X\(//\)[^/]' \| \
35645 X"$as_dir" : 'X\(//\)$' \| \
35646 X"$as_dir" : 'X\(/\)' \| \
35647 . : '\(.\)' 2>/dev/null ||
35648 echo X"$as_dir" |
35649 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35650 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35651 /^X\(\/\/\)$/{ s//\1/; q; }
35652 /^X\(\/\).*/{ s//\1/; q; }
35653 s/.*/./; q'`
35654 done
35655 test ! -n "$as_dirs" || mkdir $as_dirs
35656 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35657 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35658 { (exit 1); exit 1; }; }; }
35659
35660 ac_builddir=.
35661
35662 if test "$ac_dir" != .; then
35663 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35664 # A "../" for each directory in $ac_dir_suffix.
35665 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35666 else
35667 ac_dir_suffix= ac_top_builddir=
35668 fi
35669
35670 case $srcdir in
35671 .) # No --srcdir option. We are building in place.
35672 ac_srcdir=.
35673 if test -z "$ac_top_builddir"; then
35674 ac_top_srcdir=.
35675 else
35676 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35677 fi ;;
35678 [\\/]* | ?:[\\/]* ) # Absolute path.
35679 ac_srcdir=$srcdir$ac_dir_suffix;
35680 ac_top_srcdir=$srcdir ;;
35681 *) # Relative path.
35682 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35683 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35684 esac
35685 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35686 # absolute.
35687 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35688 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35689 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35690 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35691
35692
35693 case $INSTALL in
35694 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35695 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35696 esac
35697
35698 if test x"$ac_file" != x-; then
35699 { echo "$as_me:$LINENO: creating $ac_file" >&5
35700 echo "$as_me: creating $ac_file" >&6;}
35701 rm -f "$ac_file"
35702 fi
35703 # Let's still pretend it is `configure' which instantiates (i.e., don't
35704 # use $as_me), people would be surprised to read:
35705 # /* config.h. Generated by config.status. */
35706 if test x"$ac_file" = x-; then
35707 configure_input=
35708 else
35709 configure_input="$ac_file. "
35710 fi
35711 configure_input=$configure_input"Generated from `echo $ac_file_in |
35712 sed 's,.*/,,'` by configure."
35713
35714 # First look for the input files in the build tree, otherwise in the
35715 # src tree.
35716 ac_file_inputs=`IFS=:
35717 for f in $ac_file_in; do
35718 case $f in
35719 -) echo $tmp/stdin ;;
35720 [\\/$]*)
35721 # Absolute (can't be DOS-style, as IFS=:)
35722 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35723 echo "$as_me: error: cannot find input file: $f" >&2;}
35724 { (exit 1); exit 1; }; }
35725 echo $f;;
35726 *) # Relative
35727 if test -f "$f"; then
35728 # Build tree
35729 echo $f
35730 elif test -f "$srcdir/$f"; then
35731 # Source tree
35732 echo $srcdir/$f
35733 else
35734 # /dev/null tree
35735 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35736 echo "$as_me: error: cannot find input file: $f" >&2;}
35737 { (exit 1); exit 1; }; }
35738 fi;;
35739 esac
35740 done` || { (exit 1); exit 1; }
35741 _ACEOF
35742 cat >>$CONFIG_STATUS <<_ACEOF
35743 sed "$ac_vpsub
35744 $extrasub
35745 _ACEOF
35746 cat >>$CONFIG_STATUS <<\_ACEOF
35747 :t
35748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35749 s,@configure_input@,$configure_input,;t t
35750 s,@srcdir@,$ac_srcdir,;t t
35751 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35752 s,@top_srcdir@,$ac_top_srcdir,;t t
35753 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35754 s,@builddir@,$ac_builddir,;t t
35755 s,@abs_builddir@,$ac_abs_builddir,;t t
35756 s,@top_builddir@,$ac_top_builddir,;t t
35757 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35758 s,@INSTALL@,$ac_INSTALL,;t t
35759 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35760 rm -f $tmp/stdin
35761 if test x"$ac_file" != x-; then
35762 mv $tmp/out $ac_file
35763 else
35764 cat $tmp/out
35765 rm -f $tmp/out
35766 fi
35767
35768 done
35769 _ACEOF
35770 cat >>$CONFIG_STATUS <<\_ACEOF
35771
35772 #
35773 # CONFIG_HEADER section.
35774 #
35775
35776 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35777 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35778 #
35779 # ac_d sets the value in "#define NAME VALUE" lines.
35780 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35781 ac_dB='[ ].*$,\1#\2'
35782 ac_dC=' '
35783 ac_dD=',;t'
35784 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35785 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35786 ac_uB='$,\1#\2define\3'
35787 ac_uC=' '
35788 ac_uD=',;t'
35789
35790 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35791 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35792 case $ac_file in
35793 - | *:- | *:-:* ) # input from stdin
35794 cat >$tmp/stdin
35795 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35796 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35797 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35798 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35799 * ) ac_file_in=$ac_file.in ;;
35800 esac
35801
35802 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35803 echo "$as_me: creating $ac_file" >&6;}
35804
35805 # First look for the input files in the build tree, otherwise in the
35806 # src tree.
35807 ac_file_inputs=`IFS=:
35808 for f in $ac_file_in; do
35809 case $f in
35810 -) echo $tmp/stdin ;;
35811 [\\/$]*)
35812 # Absolute (can't be DOS-style, as IFS=:)
35813 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35814 echo "$as_me: error: cannot find input file: $f" >&2;}
35815 { (exit 1); exit 1; }; }
35816 echo $f;;
35817 *) # Relative
35818 if test -f "$f"; then
35819 # Build tree
35820 echo $f
35821 elif test -f "$srcdir/$f"; then
35822 # Source tree
35823 echo $srcdir/$f
35824 else
35825 # /dev/null tree
35826 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35827 echo "$as_me: error: cannot find input file: $f" >&2;}
35828 { (exit 1); exit 1; }; }
35829 fi;;
35830 esac
35831 done` || { (exit 1); exit 1; }
35832 # Remove the trailing spaces.
35833 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35834
35835 _ACEOF
35836
35837 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35838 # `conftest.undefs', that substitutes the proper values into
35839 # config.h.in to produce config.h. The first handles `#define'
35840 # templates, and the second `#undef' templates.
35841 # And first: Protect against being on the right side of a sed subst in
35842 # config.status. Protect against being in an unquoted here document
35843 # in config.status.
35844 rm -f conftest.defines conftest.undefs
35845 # Using a here document instead of a string reduces the quoting nightmare.
35846 # Putting comments in sed scripts is not portable.
35847 #
35848 # `end' is used to avoid that the second main sed command (meant for
35849 # 0-ary CPP macros) applies to n-ary macro definitions.
35850 # See the Autoconf documentation for `clear'.
35851 cat >confdef2sed.sed <<\_ACEOF
35852 s/[\\&,]/\\&/g
35853 s,[\\$`],\\&,g
35854 t clear
35855 : clear
35856 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35857 t end
35858 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35859 : end
35860 _ACEOF
35861 # If some macros were called several times there might be several times
35862 # the same #defines, which is useless. Nevertheless, we may not want to
35863 # sort them, since we want the *last* AC-DEFINE to be honored.
35864 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35865 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35866 rm -f confdef2sed.sed
35867
35868 # This sed command replaces #undef with comments. This is necessary, for
35869 # example, in the case of _POSIX_SOURCE, which is predefined and required
35870 # on some systems where configure will not decide to define it.
35871 cat >>conftest.undefs <<\_ACEOF
35872 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35873 _ACEOF
35874
35875 # Break up conftest.defines because some shells have a limit on the size
35876 # of here documents, and old seds have small limits too (100 cmds).
35877 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35878 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35879 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35880 echo ' :' >>$CONFIG_STATUS
35881 rm -f conftest.tail
35882 while grep . conftest.defines >/dev/null
35883 do
35884 # Write a limited-size here document to $tmp/defines.sed.
35885 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35886 # Speed up: don't consider the non `#define' lines.
35887 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35888 # Work around the forget-to-reset-the-flag bug.
35889 echo 't clr' >>$CONFIG_STATUS
35890 echo ': clr' >>$CONFIG_STATUS
35891 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35892 echo 'CEOF
35893 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35894 rm -f $tmp/in
35895 mv $tmp/out $tmp/in
35896 ' >>$CONFIG_STATUS
35897 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35898 rm -f conftest.defines
35899 mv conftest.tail conftest.defines
35900 done
35901 rm -f conftest.defines
35902 echo ' fi # grep' >>$CONFIG_STATUS
35903 echo >>$CONFIG_STATUS
35904
35905 # Break up conftest.undefs because some shells have a limit on the size
35906 # of here documents, and old seds have small limits too (100 cmds).
35907 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35908 rm -f conftest.tail
35909 while grep . conftest.undefs >/dev/null
35910 do
35911 # Write a limited-size here document to $tmp/undefs.sed.
35912 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35913 # Speed up: don't consider the non `#undef'
35914 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35915 # Work around the forget-to-reset-the-flag bug.
35916 echo 't clr' >>$CONFIG_STATUS
35917 echo ': clr' >>$CONFIG_STATUS
35918 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35919 echo 'CEOF
35920 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35921 rm -f $tmp/in
35922 mv $tmp/out $tmp/in
35923 ' >>$CONFIG_STATUS
35924 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35925 rm -f conftest.undefs
35926 mv conftest.tail conftest.undefs
35927 done
35928 rm -f conftest.undefs
35929
35930 cat >>$CONFIG_STATUS <<\_ACEOF
35931 # Let's still pretend it is `configure' which instantiates (i.e., don't
35932 # use $as_me), people would be surprised to read:
35933 # /* config.h. Generated by config.status. */
35934 if test x"$ac_file" = x-; then
35935 echo "/* Generated by configure. */" >$tmp/config.h
35936 else
35937 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35938 fi
35939 cat $tmp/in >>$tmp/config.h
35940 rm -f $tmp/in
35941 if test x"$ac_file" != x-; then
35942 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35943 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35944 echo "$as_me: $ac_file is unchanged" >&6;}
35945 else
35946 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35948 X"$ac_file" : 'X\(//\)[^/]' \| \
35949 X"$ac_file" : 'X\(//\)$' \| \
35950 X"$ac_file" : 'X\(/\)' \| \
35951 . : '\(.\)' 2>/dev/null ||
35952 echo X"$ac_file" |
35953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35954 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35955 /^X\(\/\/\)$/{ s//\1/; q; }
35956 /^X\(\/\).*/{ s//\1/; q; }
35957 s/.*/./; q'`
35958 { if $as_mkdir_p; then
35959 mkdir -p "$ac_dir"
35960 else
35961 as_dir="$ac_dir"
35962 as_dirs=
35963 while test ! -d "$as_dir"; do
35964 as_dirs="$as_dir $as_dirs"
35965 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35967 X"$as_dir" : 'X\(//\)[^/]' \| \
35968 X"$as_dir" : 'X\(//\)$' \| \
35969 X"$as_dir" : 'X\(/\)' \| \
35970 . : '\(.\)' 2>/dev/null ||
35971 echo X"$as_dir" |
35972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35973 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35974 /^X\(\/\/\)$/{ s//\1/; q; }
35975 /^X\(\/\).*/{ s//\1/; q; }
35976 s/.*/./; q'`
35977 done
35978 test ! -n "$as_dirs" || mkdir $as_dirs
35979 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35980 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35981 { (exit 1); exit 1; }; }; }
35982
35983 rm -f $ac_file
35984 mv $tmp/config.h $ac_file
35985 fi
35986 else
35987 cat $tmp/config.h
35988 rm -f $tmp/config.h
35989 fi
35990 done
35991 _ACEOF
35992 cat >>$CONFIG_STATUS <<\_ACEOF
35993
35994 #
35995 # CONFIG_COMMANDS section.
35996 #
35997 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35998 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35999 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36000 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36001 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36002 X"$ac_dest" : 'X\(//\)[^/]' \| \
36003 X"$ac_dest" : 'X\(//\)$' \| \
36004 X"$ac_dest" : 'X\(/\)' \| \
36005 . : '\(.\)' 2>/dev/null ||
36006 echo X"$ac_dest" |
36007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36009 /^X\(\/\/\)$/{ s//\1/; q; }
36010 /^X\(\/\).*/{ s//\1/; q; }
36011 s/.*/./; q'`
36012 ac_builddir=.
36013
36014 if test "$ac_dir" != .; then
36015 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36016 # A "../" for each directory in $ac_dir_suffix.
36017 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36018 else
36019 ac_dir_suffix= ac_top_builddir=
36020 fi
36021
36022 case $srcdir in
36023 .) # No --srcdir option. We are building in place.
36024 ac_srcdir=.
36025 if test -z "$ac_top_builddir"; then
36026 ac_top_srcdir=.
36027 else
36028 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36029 fi ;;
36030 [\\/]* | ?:[\\/]* ) # Absolute path.
36031 ac_srcdir=$srcdir$ac_dir_suffix;
36032 ac_top_srcdir=$srcdir ;;
36033 *) # Relative path.
36034 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36035 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36036 esac
36037 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36038 # absolute.
36039 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36040 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36041 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36042 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36043
36044
36045 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36046 echo "$as_me: executing $ac_dest commands" >&6;}
36047 case $ac_dest in
36048 default )
36049 if test ! -h wx-config; then
36050 chmod +x wx-config
36051 mv wx-config wx${TOOLCHAIN_NAME}-config
36052 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36053 fi
36054
36055 if test ! -d lib; then
36056 mkdir lib
36057 fi
36058 if test ! -d lib/wx; then
36059 mkdir lib/wx
36060 fi
36061 if test ! -d lib/wx/include; then
36062 mkdir lib/wx/include
36063 fi
36064 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36065 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36066 fi
36067 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36068 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36069 fi
36070 if test -f setup.h; then
36071 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36072 fi
36073 ;;
36074 esac
36075 done
36076 _ACEOF
36077
36078 cat >>$CONFIG_STATUS <<\_ACEOF
36079
36080 { (exit 0); exit 0; }
36081 _ACEOF
36082 chmod +x $CONFIG_STATUS
36083 ac_clean_files=$ac_clean_files_save
36084
36085
36086 # configure is writing to config.log, and then calls config.status.
36087 # config.status does its own redirection, appending to config.log.
36088 # Unfortunately, on DOS this fails, as config.log is still kept open
36089 # by configure, so config.status won't be able to write to it; its
36090 # output is simply discarded. So we exec the FD to /dev/null,
36091 # effectively closing config.log, so it can be properly (re)opened and
36092 # appended to by config.status. When coming back to configure, we
36093 # need to make the FD available again.
36094 if test "$no_create" != yes; then
36095 ac_cs_success=:
36096 ac_config_status_args=
36097 test "$silent" = yes &&
36098 ac_config_status_args="$ac_config_status_args --quiet"
36099 exec 5>/dev/null
36100 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36101 exec 5>>config.log
36102 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36103 # would make configure fail if this is the last instruction.
36104 $ac_cs_success || { (exit 1); exit 1; }
36105 fi
36106
36107
36108 echo
36109 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36110 echo ""
36111 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36112
36113 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36114 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36115 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36116
36117 echo " What level of wxWindows compatibility should be enabled?"
36118 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36119 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36120 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36121
36122 echo " Which libraries should wxWindows use?"
36123 echo " jpeg ${wxUSE_LIBJPEG-none}"
36124 echo " png ${wxUSE_LIBPNG-none}"
36125 echo " regex ${wxUSE_REGEX}"
36126 echo " tiff ${wxUSE_LIBTIFF-none}"
36127 echo " zlib ${wxUSE_ZLIB}"
36128 echo " odbc ${wxUSE_ODBC}"
36129
36130 echo ""
36131