]> git.saurik.com Git - wxWidgets.git/blob - configure
fixes for monolib build
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25 fi
26
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S CXXCPP PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV wxUSE_ZLIB wxUSE_REGEX wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_GUI UNICODE BUILD SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SET_MAKE MAKE_SET INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX DLLPREFIX AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING COND_BUILD_DEBUG COND_BUILD_RELEASE COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_UNIX_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1 COND_TOOLKIT_OS2 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1 COND_UNICODE_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN COND_PLATFORM_MAC_1 COND_SHARED_1 COND_SHARED_0 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_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 WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS NM LD MAKEINFO INSTALL_LIBRARY ESD_LINK LIBOBJS LTLIBOBJS'
315 ac_subst_files=''
316
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
336
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
354
355 ac_prev=
356 for ac_option
357 do
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
363 fi
364
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367 # Accept the important Cygnus configure options, so we can diagnose typos.
368
369 case $ac_option in
370
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
375
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
380
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
387
388 --config-cache | -C)
389 cache_file=config.cache ;;
390
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
396
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
405
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
418
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
427
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
431
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
438
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
443
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
450
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
455
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
460
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
467
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
476
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
481
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
485
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
489
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
493
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
502
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
507
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
514
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
521
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
538
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
542
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
548
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
559
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
564
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
569
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
576
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
581
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
584
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
587
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
600
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
609
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
613
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
620
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
627
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
631 ;;
632
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
642
643 *)
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 ;;
650
651 esac
652 done
653
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
658 fi
659
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
662 do
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669 done
670
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674 do
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681 done
682
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
689
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
698 fi
699 fi
700
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704 test "$silent" = yes && exec 6>/dev/null
705
706
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717 echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
726 fi
727 else
728 ac_srcdir_defaulted=no
729 fi
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
737 fi
738 fi
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CPP_set=${CPP+set}
772 ac_env_CPP_value=$CPP
773 ac_cv_env_CPP_set=${CPP+set}
774 ac_cv_env_CPP_value=$CPP
775 ac_env_CXX_set=${CXX+set}
776 ac_env_CXX_value=$CXX
777 ac_cv_env_CXX_set=${CXX+set}
778 ac_cv_env_CXX_value=$CXX
779 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
780 ac_env_CXXFLAGS_value=$CXXFLAGS
781 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
783 ac_env_CXXCPP_set=${CXXCPP+set}
784 ac_env_CXXCPP_value=$CXXCPP
785 ac_cv_env_CXXCPP_set=${CXXCPP+set}
786 ac_cv_env_CXXCPP_value=$CXXCPP
787
788 #
789 # Report the --help message.
790 #
791 if test "$ac_init_help" = "long"; then
792 # Omit some internal or obsolete options to make the list less imposing.
793 # This message is too long to be a string in the A/UX 3.1 sh.
794 cat <<_ACEOF
795 \`configure' configures wxWindows 2.5.0 to adapt to many kinds of systems.
796
797 Usage: $0 [OPTION]... [VAR=VALUE]...
798
799 To assign environment variables (e.g., CC, CFLAGS...), specify them as
800 VAR=VALUE. See below for descriptions of some of the useful variables.
801
802 Defaults for the options are specified in brackets.
803
804 Configuration:
805 -h, --help display this help and exit
806 --help=short display options specific to this package
807 --help=recursive display the short help of all the included packages
808 -V, --version display version information and exit
809 -q, --quiet, --silent do not print \`checking...' messages
810 --cache-file=FILE cache test results in FILE [disabled]
811 -C, --config-cache alias for \`--cache-file=config.cache'
812 -n, --no-create do not create output files
813 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814
815 _ACEOF
816
817 cat <<_ACEOF
818 Installation directories:
819 --prefix=PREFIX install architecture-independent files in PREFIX
820 [$ac_default_prefix]
821 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
822 [PREFIX]
823
824 By default, \`make install' will install all the files in
825 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
826 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
827 for instance \`--prefix=\$HOME'.
828
829 For better control, use the options below.
830
831 Fine tuning of the installation directories:
832 --bindir=DIR user executables [EPREFIX/bin]
833 --sbindir=DIR system admin executables [EPREFIX/sbin]
834 --libexecdir=DIR program executables [EPREFIX/libexec]
835 --datadir=DIR read-only architecture-independent data [PREFIX/share]
836 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
837 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
838 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
839 --libdir=DIR object code libraries [EPREFIX/lib]
840 --includedir=DIR C header files [PREFIX/include]
841 --oldincludedir=DIR C header files for non-gcc [/usr/include]
842 --infodir=DIR info documentation [PREFIX/info]
843 --mandir=DIR man documentation [PREFIX/man]
844 _ACEOF
845
846 cat <<\_ACEOF
847
848 X features:
849 --x-includes=DIR X include files are in DIR
850 --x-libraries=DIR X library files are in DIR
851
852 System types:
853 --build=BUILD configure for building on BUILD [guessed]
854 --host=HOST cross-compile to build programs to run on HOST [BUILD]
855 --target=TARGET configure for building compilers for TARGET [HOST]
856 _ACEOF
857 fi
858
859 if test -n "$ac_init_help"; then
860 case $ac_init_help in
861 short | recursive ) echo "Configuration of wxWindows 2.5.0:";;
862 esac
863 cat <<\_ACEOF
864
865 Optional Features:
866 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
867 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
868 --enable-gui use GUI classes
869 --disable-monolithic don't build wxWindows as single library
870 --enable-universal use wxWindows GUI controls instead of native ones
871 --enable-nanox use NanoX
872 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
873 --enable-shared create shared library code
874 --enable-optimise create optimised code
875 --enable-debug same as debug_flag and debug_info
876 --enable-stl use STL for containers
877 --enable-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 DEFAULT_wxUSE_STL=no
1941
1942 DEFAULT_wxUSE_NANOX=no
1943
1944 DEFAULT_wxUSE_THREADS=yes
1945
1946 DEFAULT_wxUSE_SHARED=yes
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_APPLE_IEEE=no
1960
1961 DEFAULT_wxUSE_LOG=yes
1962 DEFAULT_wxUSE_LOGWINDOW=no
1963 DEFAULT_wxUSE_LOGGUI=no
1964 DEFAULT_wxUSE_LOGDIALOG=no
1965
1966 DEFAULT_wxUSE_GUI=yes
1967 DEFAULT_wxUSE_CONTROLS=no
1968
1969 DEFAULT_wxUSE_REGEX=no
1970 DEFAULT_wxUSE_ZLIB=no
1971 DEFAULT_wxUSE_LIBPNG=no
1972 DEFAULT_wxUSE_LIBJPEG=no
1973 DEFAULT_wxUSE_LIBTIFF=no
1974 DEFAULT_wxUSE_ODBC=no
1975 DEFAULT_wxUSE_OPENGL=no
1976
1977 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
1978 DEFAULT_wxUSE_SNGLINST_CHECKER=no
1979 DEFAULT_wxUSE_STD_IOSTREAM=no
1980 DEFAULT_wxUSE_CMDLINE_PARSER=no
1981 DEFAULT_wxUSE_DATETIME=no
1982 DEFAULT_wxUSE_TIMER=no
1983 DEFAULT_wxUSE_STOPWATCH=no
1984 DEFAULT_wxUSE_FILE=no
1985 DEFAULT_wxUSE_FFILE=no
1986 DEFAULT_wxUSE_TEXTBUFFER=no
1987 DEFAULT_wxUSE_TEXTFILE=no
1988 DEFAULT_wxUSE_WAVE=no
1989 DEFAULT_wxUSE_INTL=no
1990 DEFAULT_wxUSE_CONFIG=no
1991 DEFAULT_wxUSE_FONTMAP=no
1992 DEFAULT_wxUSE_STREAMS=no
1993 DEFAULT_wxUSE_SOCKETS=no
1994 DEFAULT_wxUSE_OLE=no
1995 DEFAULT_wxUSE_DATAOBJ=no
1996 DEFAULT_wxUSE_DIALUP_MANAGER=no
1997 DEFAULT_wxUSE_JOYSTICK=no
1998 DEFAULT_wxUSE_DYNLIB_CLASS=no
1999 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2000 DEFAULT_wxUSE_LONGLONG=no
2001 DEFAULT_wxUSE_GEOMETRY=no
2002
2003 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2004 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2005 DEFAULT_wxUSE_POSTSCRIPT=no
2006
2007 DEFAULT_wxUSE_CLIPBOARD=no
2008 DEFAULT_wxUSE_TOOLTIPS=no
2009 DEFAULT_wxUSE_DRAG_AND_DROP=no
2010 DEFAULT_wxUSE_DRAGIMAGE=no
2011 DEFAULT_wxUSE_SPLINES=no
2012
2013 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2014 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2015 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2016
2017 DEFAULT_wxUSE_RESOURCES=no
2018 DEFAULT_wxUSE_CONSTRAINTS=no
2019 DEFAULT_wxUSE_IPC=no
2020 DEFAULT_wxUSE_HELP=no
2021 DEFAULT_wxUSE_MS_HTML_HELP=no
2022 DEFAULT_wxUSE_WXHTML_HELP=no
2023 DEFAULT_wxUSE_TREELAYOUT=no
2024 DEFAULT_wxUSE_METAFILE=no
2025 DEFAULT_wxUSE_MIMETYPE=no
2026 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2027 DEFAULT_wxUSE_PROTOCOL=no
2028 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2029 DEFAULT_wxUSE_PROTOCOL_FTP=no
2030 DEFAULT_wxUSE_PROTOCOL_FILE=no
2031 DEFAULT_wxUSE_URL=no
2032
2033 DEFAULT_wxUSE_COMMONDLGS=no
2034 DEFAULT_wxUSE_CHOICEDLG=no
2035 DEFAULT_wxUSE_COLOURDLG=no
2036 DEFAULT_wxUSE_DIRDLG=no
2037 DEFAULT_wxUSE_FILEDLG=no
2038 DEFAULT_wxUSE_FINDREPLDLG=no
2039 DEFAULT_wxUSE_FONTDLG=no
2040 DEFAULT_wxUSE_MSGDLG=no
2041 DEFAULT_wxUSE_NUMBERDLG=no
2042 DEFAULT_wxUSE_TEXTDLG=no
2043 DEFAULT_wxUSE_SPLASH=no
2044 DEFAULT_wxUSE_STARTUP_TIPS=no
2045 DEFAULT_wxUSE_PROGRESSDLG=no
2046 DEFAULT_wxUSE_WIZARDDLG=no
2047
2048 DEFAULT_wxUSE_MENUS=no
2049 DEFAULT_wxUSE_MINIFRAME=no
2050 DEFAULT_wxUSE_HTML=no
2051 DEFAULT_wxUSE_FILESYSTEM=no
2052 DEFAULT_wxUSE_FS_INET=no
2053 DEFAULT_wxUSE_FS_ZIP=no
2054 DEFAULT_wxUSE_BUSYINFO=no
2055 DEFAULT_wxUSE_ZIPSTREAM=no
2056 DEFAULT_wxUSE_VALIDATORS=no
2057
2058 DEFAULT_wxUSE_ACCEL=no
2059 DEFAULT_wxUSE_BUTTON=no
2060 DEFAULT_wxUSE_BMPBUTTON=no
2061 DEFAULT_wxUSE_CALCTRL=no
2062 DEFAULT_wxUSE_CARET=no
2063 DEFAULT_wxUSE_CHECKBOX=no
2064 DEFAULT_wxUSE_CHECKLST=no
2065 DEFAULT_wxUSE_CHOICE=no
2066 DEFAULT_wxUSE_COMBOBOX=no
2067 DEFAULT_wxUSE_DISPLAY=no
2068 DEFAULT_wxUSE_GAUGE=no
2069 DEFAULT_wxUSE_GRID=no
2070 DEFAULT_wxUSE_IMAGLIST=no
2071 DEFAULT_wxUSE_LISTBOX=no
2072 DEFAULT_wxUSE_LISTCTRL=no
2073 DEFAULT_wxUSE_NOTEBOOK=no
2074 DEFAULT_wxUSE_RADIOBOX=no
2075 DEFAULT_wxUSE_RADIOBTN=no
2076 DEFAULT_wxUSE_SASH=no
2077 DEFAULT_wxUSE_SCROLLBAR=no
2078 DEFAULT_wxUSE_SLIDER=no
2079 DEFAULT_wxUSE_SPINBTN=no
2080 DEFAULT_wxUSE_SPINCTRL=no
2081 DEFAULT_wxUSE_SPLITTER=no
2082 DEFAULT_wxUSE_STATBMP=no
2083 DEFAULT_wxUSE_STATBOX=no
2084 DEFAULT_wxUSE_STATLINE=no
2085 DEFAULT_wxUSE_STATTEXT=no
2086 DEFAULT_wxUSE_STATUSBAR=yes
2087 DEFAULT_wxUSE_TABDIALOG=no
2088 DEFAULT_wxUSE_TEXTCTRL=no
2089 DEFAULT_wxUSE_TOGGLEBTN=no
2090 DEFAULT_wxUSE_TOOLBAR=no
2091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2092 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2093 DEFAULT_wxUSE_TREECTRL=no
2094 DEFAULT_wxUSE_POPUPWIN=no
2095 DEFAULT_wxUSE_TIPWINDOW=no
2096
2097 DEFAULT_wxUSE_UNICODE=no
2098 DEFAULT_wxUSE_UNICODE_MSLU=no
2099 DEFAULT_wxUSE_WCSRTOMBS=no
2100
2101 DEFAULT_wxUSE_PALETTE=no
2102 DEFAULT_wxUSE_IMAGE=no
2103 DEFAULT_wxUSE_GIF=no
2104 DEFAULT_wxUSE_PCX=no
2105 DEFAULT_wxUSE_PNM=no
2106 DEFAULT_wxUSE_IFF=no
2107 DEFAULT_wxUSE_XPM=no
2108 DEFAULT_wxUSE_ICO_CUR=no
2109 DEFAULT_wxUSE_ACCESSIBILITY=no
2110
2111 DEFAULT_wxUSE_MONOLITHIC=yes
2112 else
2113 DEFAULT_wxUSE_UNIVERSAL=no
2114 DEFAULT_wxUSE_STL=no
2115
2116 DEFAULT_wxUSE_NANOX=no
2117
2118 DEFAULT_wxUSE_THREADS=yes
2119
2120 DEFAULT_wxUSE_SHARED=yes
2121 DEFAULT_wxUSE_OPTIMISE=yes
2122 DEFAULT_wxUSE_PROFILE=no
2123 DEFAULT_wxUSE_NO_DEPS=no
2124 DEFAULT_wxUSE_NO_RTTI=no
2125 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2126 DEFAULT_wxUSE_PERMISSIVE=no
2127 DEFAULT_wxUSE_DEBUG_FLAG=no
2128 DEFAULT_wxUSE_DEBUG_INFO=no
2129 DEFAULT_wxUSE_DEBUG_GDB=no
2130 DEFAULT_wxUSE_MEM_TRACING=no
2131 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2132 DEFAULT_wxUSE_DMALLOC=no
2133 DEFAULT_wxUSE_APPLE_IEEE=yes
2134
2135 DEFAULT_wxUSE_LOG=yes
2136 DEFAULT_wxUSE_LOGWINDOW=yes
2137 DEFAULT_wxUSE_LOGGUI=yes
2138 DEFAULT_wxUSE_LOGDIALOG=yes
2139
2140 DEFAULT_wxUSE_GUI=yes
2141
2142 DEFAULT_wxUSE_REGEX=yes
2143 DEFAULT_wxUSE_ZLIB=yes
2144 DEFAULT_wxUSE_LIBPNG=yes
2145 DEFAULT_wxUSE_LIBJPEG=yes
2146 DEFAULT_wxUSE_LIBTIFF=yes
2147 DEFAULT_wxUSE_ODBC=no
2148 DEFAULT_wxUSE_OPENGL=no
2149
2150 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2151 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2152 DEFAULT_wxUSE_STD_IOSTREAM=no
2153 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2154 DEFAULT_wxUSE_DATETIME=yes
2155 DEFAULT_wxUSE_TIMER=yes
2156 DEFAULT_wxUSE_STOPWATCH=yes
2157 DEFAULT_wxUSE_FILE=yes
2158 DEFAULT_wxUSE_FFILE=yes
2159 DEFAULT_wxUSE_TEXTBUFFER=yes
2160 DEFAULT_wxUSE_TEXTFILE=yes
2161 DEFAULT_wxUSE_WAVE=no
2162 DEFAULT_wxUSE_INTL=yes
2163 DEFAULT_wxUSE_CONFIG=yes
2164 DEFAULT_wxUSE_FONTMAP=yes
2165 DEFAULT_wxUSE_STREAMS=yes
2166 DEFAULT_wxUSE_SOCKETS=yes
2167 DEFAULT_wxUSE_OLE=yes
2168 DEFAULT_wxUSE_DATAOBJ=yes
2169 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2170 DEFAULT_wxUSE_JOYSTICK=yes
2171 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2172 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2173 DEFAULT_wxUSE_LONGLONG=yes
2174 DEFAULT_wxUSE_GEOMETRY=yes
2175
2176 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2177 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2178 DEFAULT_wxUSE_POSTSCRIPT=yes
2179
2180 DEFAULT_wxUSE_CLIPBOARD=yes
2181 DEFAULT_wxUSE_TOOLTIPS=yes
2182 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2183 DEFAULT_wxUSE_DRAGIMAGE=yes
2184 DEFAULT_wxUSE_SPLINES=yes
2185
2186 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2187 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2188 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2189
2190 DEFAULT_wxUSE_RESOURCES=no
2191 DEFAULT_wxUSE_CONSTRAINTS=yes
2192 DEFAULT_wxUSE_IPC=yes
2193 DEFAULT_wxUSE_HELP=yes
2194 DEFAULT_wxUSE_MS_HTML_HELP=yes
2195 DEFAULT_wxUSE_WXHTML_HELP=yes
2196 DEFAULT_wxUSE_TREELAYOUT=yes
2197 DEFAULT_wxUSE_METAFILE=yes
2198 DEFAULT_wxUSE_MIMETYPE=yes
2199 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2200 DEFAULT_wxUSE_PROTOCOL=yes
2201 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2202 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2203 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2204 DEFAULT_wxUSE_URL=yes
2205
2206 DEFAULT_wxUSE_COMMONDLGS=yes
2207 DEFAULT_wxUSE_CHOICEDLG=yes
2208 DEFAULT_wxUSE_COLOURDLG=yes
2209 DEFAULT_wxUSE_DIRDLG=yes
2210 DEFAULT_wxUSE_FILEDLG=yes
2211 DEFAULT_wxUSE_FINDREPLDLG=yes
2212 DEFAULT_wxUSE_FONTDLG=yes
2213 DEFAULT_wxUSE_MSGDLG=yes
2214 DEFAULT_wxUSE_NUMBERDLG=yes
2215 DEFAULT_wxUSE_TEXTDLG=yes
2216 DEFAULT_wxUSE_SPLASH=yes
2217 DEFAULT_wxUSE_STARTUP_TIPS=yes
2218 DEFAULT_wxUSE_PROGRESSDLG=yes
2219 DEFAULT_wxUSE_WIZARDDLG=yes
2220
2221 DEFAULT_wxUSE_MENUS=yes
2222 DEFAULT_wxUSE_MINIFRAME=yes
2223 DEFAULT_wxUSE_HTML=yes
2224 DEFAULT_wxUSE_FILESYSTEM=yes
2225 DEFAULT_wxUSE_FS_INET=yes
2226 DEFAULT_wxUSE_FS_ZIP=yes
2227 DEFAULT_wxUSE_BUSYINFO=yes
2228 DEFAULT_wxUSE_ZIPSTREAM=yes
2229 DEFAULT_wxUSE_VALIDATORS=yes
2230
2231 DEFAULT_wxUSE_ACCEL=yes
2232 DEFAULT_wxUSE_BUTTON=yes
2233 DEFAULT_wxUSE_BMPBUTTON=yes
2234 DEFAULT_wxUSE_CALCTRL=yes
2235 DEFAULT_wxUSE_CARET=yes
2236 DEFAULT_wxUSE_CHECKBOX=yes
2237 DEFAULT_wxUSE_CHECKLST=yes
2238 DEFAULT_wxUSE_CHOICE=yes
2239 DEFAULT_wxUSE_COMBOBOX=yes
2240 DEFAULT_wxUSE_DISPLAY=no
2241 DEFAULT_wxUSE_GAUGE=yes
2242 DEFAULT_wxUSE_GRID=yes
2243 DEFAULT_wxUSE_IMAGLIST=yes
2244 DEFAULT_wxUSE_LISTBOX=yes
2245 DEFAULT_wxUSE_LISTCTRL=yes
2246 DEFAULT_wxUSE_NOTEBOOK=yes
2247 DEFAULT_wxUSE_RADIOBOX=yes
2248 DEFAULT_wxUSE_RADIOBTN=yes
2249 DEFAULT_wxUSE_SASH=yes
2250 DEFAULT_wxUSE_SCROLLBAR=yes
2251 DEFAULT_wxUSE_SLIDER=yes
2252 DEFAULT_wxUSE_SPINBTN=yes
2253 DEFAULT_wxUSE_SPINCTRL=yes
2254 DEFAULT_wxUSE_SPLITTER=yes
2255 DEFAULT_wxUSE_STATBMP=yes
2256 DEFAULT_wxUSE_STATBOX=yes
2257 DEFAULT_wxUSE_STATLINE=yes
2258 DEFAULT_wxUSE_STATTEXT=yes
2259 DEFAULT_wxUSE_STATUSBAR=yes
2260 DEFAULT_wxUSE_TABDIALOG=no
2261 DEFAULT_wxUSE_TEXTCTRL=yes
2262 DEFAULT_wxUSE_TOGGLEBTN=yes
2263 DEFAULT_wxUSE_TOOLBAR=yes
2264 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2265 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2266 DEFAULT_wxUSE_TREECTRL=yes
2267 DEFAULT_wxUSE_POPUPWIN=yes
2268 DEFAULT_wxUSE_TIPWINDOW=yes
2269
2270 DEFAULT_wxUSE_UNICODE=no
2271 DEFAULT_wxUSE_UNICODE_MSLU=yes
2272 DEFAULT_wxUSE_WCSRTOMBS=no
2273
2274 DEFAULT_wxUSE_PALETTE=yes
2275 DEFAULT_wxUSE_IMAGE=yes
2276 DEFAULT_wxUSE_GIF=yes
2277 DEFAULT_wxUSE_PCX=yes
2278 DEFAULT_wxUSE_IFF=no
2279 DEFAULT_wxUSE_PNM=yes
2280 DEFAULT_wxUSE_XPM=yes
2281 DEFAULT_wxUSE_ICO_CUR=yes
2282 DEFAULT_wxUSE_ACCESSIBILITY=no
2283
2284 DEFAULT_wxUSE_MONOLITHIC=yes
2285 fi
2286
2287
2288
2289 for toolkit in `echo $ALL_TOOLKITS`; do
2290 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2291 if test "x$LINE" != "x" ; then
2292 has_toolkit_in_cache=1
2293 eval "DEFAULT_$LINE"
2294 eval "CACHE_$toolkit=1"
2295 fi
2296 done
2297
2298
2299
2300 enablestring=
2301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2302 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2303 no_cache=0
2304 # Check whether --enable-gui or --disable-gui was given.
2305 if test "${enable_gui+set}" = set; then
2306 enableval="$enable_gui"
2307
2308 if test "$enableval" = yes; then
2309 ac_cv_use_gui='wxUSE_GUI=yes'
2310 else
2311 ac_cv_use_gui='wxUSE_GUI=no'
2312 fi
2313
2314 else
2315
2316 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2317 if test "x$LINE" != x ; then
2318 eval "DEFAULT_$LINE"
2319 else
2320 no_cache=1
2321 fi
2322
2323 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2324
2325 fi;
2326
2327 eval "$ac_cv_use_gui"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2330 fi
2331
2332 if test "$wxUSE_GUI" = yes; then
2333 echo "$as_me:$LINENO: result: yes" >&5
2334 echo "${ECHO_T}yes" >&6
2335 else
2336 echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6
2338 fi
2339
2340
2341 enablestring=
2342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2343 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2344 no_cache=0
2345 # Check whether --enable-monolithic or --disable-monolithic was given.
2346 if test "${enable_monolithic+set}" = set; then
2347 enableval="$enable_monolithic"
2348
2349 if test "$enableval" = yes; then
2350 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2351 else
2352 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2353 fi
2354
2355 else
2356
2357 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2358 if test "x$LINE" != x ; then
2359 eval "DEFAULT_$LINE"
2360 else
2361 no_cache=1
2362 fi
2363
2364 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2365
2366 fi;
2367
2368 eval "$ac_cv_use_monolithic"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2371 fi
2372
2373 if test "$wxUSE_MONOLITHIC" = yes; then
2374 echo "$as_me:$LINENO: result: yes" >&5
2375 echo "${ECHO_T}yes" >&6
2376 else
2377 echo "$as_me:$LINENO: result: no" >&5
2378 echo "${ECHO_T}no" >&6
2379 fi
2380
2381
2382 if test "$wxUSE_GUI" = "yes"; then
2383
2384
2385 enablestring=
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2387 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2388 no_cache=0
2389 # Check whether --enable-universal or --disable-universal was given.
2390 if test "${enable_universal+set}" = set; then
2391 enableval="$enable_universal"
2392
2393 if test "$enableval" = yes; then
2394 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2395 else
2396 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2397 fi
2398
2399 else
2400
2401 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2404 else
2405 no_cache=1
2406 fi
2407
2408 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2409
2410 fi;
2411
2412 eval "$ac_cv_use_universal"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2415 fi
2416
2417 if test "$wxUSE_UNIVERSAL" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419 echo "${ECHO_T}yes" >&6
2420 else
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2423 fi
2424
2425
2426 # Check whether --with-gtk or --without-gtk was given.
2427 if test "${with_gtk+set}" = set; then
2428 withval="$with_gtk"
2429 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2430 fi;
2431
2432 # Check whether --with-motif or --without-motif was given.
2433 if test "${with_motif+set}" = set; then
2434 withval="$with_motif"
2435 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2436 fi;
2437
2438 # Check whether --with-mac or --without-mac was given.
2439 if test "${with_mac+set}" = set; then
2440 withval="$with_mac"
2441 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2442 fi;
2443
2444 # Check whether --with-cocoa or --without-cocoa was given.
2445 if test "${with_cocoa+set}" = set; then
2446 withval="$with_cocoa"
2447 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2448 fi;
2449
2450 # Check whether --with-wine or --without-wine was given.
2451 if test "${with_wine+set}" = set; then
2452 withval="$with_wine"
2453 wxUSE_WINE="$withval" CACHE_WINE=1
2454 fi;
2455
2456 # Check whether --with-msw or --without-msw was given.
2457 if test "${with_msw+set}" = set; then
2458 withval="$with_msw"
2459 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2460 fi;
2461
2462 # Check whether --with-pm or --without-pm was given.
2463 if test "${with_pm+set}" = set; then
2464 withval="$with_pm"
2465 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2466 fi;
2467
2468 # Check whether --with-mgl or --without-mgl was given.
2469 if test "${with_mgl+set}" = set; then
2470 withval="$with_mgl"
2471 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2472 fi;
2473
2474 # Check whether --with-microwin or --without-microwin was given.
2475 if test "${with_microwin+set}" = set; then
2476 withval="$with_microwin"
2477 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2478 fi;
2479
2480 # Check whether --with-x11 or --without-x11 was given.
2481 if test "${with_x11+set}" = set; then
2482 withval="$with_x11"
2483 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2484 fi;
2485
2486 enablestring=
2487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2488 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2489 no_cache=0
2490 # Check whether --enable-nanox or --disable-nanox was given.
2491 if test "${enable_nanox+set}" = set; then
2492 enableval="$enable_nanox"
2493
2494 if test "$enableval" = yes; then
2495 ac_cv_use_nanox='wxUSE_NANOX=yes'
2496 else
2497 ac_cv_use_nanox='wxUSE_NANOX=no'
2498 fi
2499
2500 else
2501
2502 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x ; then
2504 eval "DEFAULT_$LINE"
2505 else
2506 no_cache=1
2507 fi
2508
2509 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2510
2511 fi;
2512
2513 eval "$ac_cv_use_nanox"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2516 fi
2517
2518 if test "$wxUSE_NANOX" = yes; then
2519 echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6
2521 else
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2524 fi
2525
2526
2527
2528 enablestring=
2529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2530 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2531 no_cache=0
2532 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2533 if test "${enable_gtk2+set}" = set; then
2534 enableval="$enable_gtk2"
2535
2536 if test "$enableval" = yes; then
2537 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2538 else
2539 ac_cv_use_gtk2='wxUSE_GTK2=no'
2540 fi
2541
2542 else
2543
2544 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x ; then
2546 eval "DEFAULT_$LINE"
2547 else
2548 no_cache=1
2549 fi
2550
2551 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2552
2553 fi;
2554
2555 eval "$ac_cv_use_gtk2"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2558 fi
2559
2560 if test "$wxUSE_GTK2" = yes; then
2561 echo "$as_me:$LINENO: result: yes" >&5
2562 echo "${ECHO_T}yes" >&6
2563 else
2564 echo "$as_me:$LINENO: result: no" >&5
2565 echo "${ECHO_T}no" >&6
2566 fi
2567
2568
2569
2570 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2571 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2572 no_cache=0
2573
2574 # Check whether --with-libpng or --without-libpng was given.
2575 if test "${with_libpng+set}" = set; then
2576 withval="$with_libpng"
2577
2578 if test "$withval" = yes; then
2579 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2580 elif test "$withval" = no; then
2581 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2582 elif test "$withval" = sys; then
2583 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2584 elif test "$withval" = builtin; then
2585 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2586 else
2587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2589 { (exit 1); exit 1; }; }
2590 fi
2591
2592 else
2593
2594 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x ; then
2596 eval "DEFAULT_$LINE"
2597 else
2598 no_cache=1
2599 fi
2600
2601 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2602
2603 fi;
2604
2605 eval "$ac_cv_use_libpng"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2608 fi
2609
2610 if test "$wxUSE_LIBPNG" = yes; then
2611 echo "$as_me:$LINENO: result: yes" >&5
2612 echo "${ECHO_T}yes" >&6
2613 elif test "$wxUSE_LIBPNG" = no; then
2614 echo "$as_me:$LINENO: result: no" >&5
2615 echo "${ECHO_T}no" >&6
2616 elif test "$wxUSE_LIBPNG" = sys; then
2617 echo "$as_me:$LINENO: result: system version" >&5
2618 echo "${ECHO_T}system version" >&6
2619 elif test "$wxUSE_LIBPNG" = builtin; then
2620 echo "$as_me:$LINENO: result: builtin version" >&5
2621 echo "${ECHO_T}builtin version" >&6
2622 else
2623 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2624 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2625 { (exit 1); exit 1; }; }
2626 fi
2627
2628
2629 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2630 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2631 no_cache=0
2632
2633 # Check whether --with-libjpeg or --without-libjpeg was given.
2634 if test "${with_libjpeg+set}" = set; then
2635 withval="$with_libjpeg"
2636
2637 if test "$withval" = yes; then
2638 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2639 elif test "$withval" = no; then
2640 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2641 elif test "$withval" = sys; then
2642 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2643 elif test "$withval" = builtin; then
2644 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2645 else
2646 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2647 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2648 { (exit 1); exit 1; }; }
2649 fi
2650
2651 else
2652
2653 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2654 if test "x$LINE" != x ; then
2655 eval "DEFAULT_$LINE"
2656 else
2657 no_cache=1
2658 fi
2659
2660 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2661
2662 fi;
2663
2664 eval "$ac_cv_use_libjpeg"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2667 fi
2668
2669 if test "$wxUSE_LIBJPEG" = yes; then
2670 echo "$as_me:$LINENO: result: yes" >&5
2671 echo "${ECHO_T}yes" >&6
2672 elif test "$wxUSE_LIBJPEG" = no; then
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2675 elif test "$wxUSE_LIBJPEG" = sys; then
2676 echo "$as_me:$LINENO: result: system version" >&5
2677 echo "${ECHO_T}system version" >&6
2678 elif test "$wxUSE_LIBJPEG" = builtin; then
2679 echo "$as_me:$LINENO: result: builtin version" >&5
2680 echo "${ECHO_T}builtin version" >&6
2681 else
2682 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2683 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2684 { (exit 1); exit 1; }; }
2685 fi
2686
2687
2688 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2689 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2690 no_cache=0
2691
2692 # Check whether --with-libtiff or --without-libtiff was given.
2693 if test "${with_libtiff+set}" = set; then
2694 withval="$with_libtiff"
2695
2696 if test "$withval" = yes; then
2697 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2698 elif test "$withval" = no; then
2699 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2700 elif test "$withval" = sys; then
2701 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2702 elif test "$withval" = builtin; then
2703 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2704 else
2705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2706 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2707 { (exit 1); exit 1; }; }
2708 fi
2709
2710 else
2711
2712 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x ; then
2714 eval "DEFAULT_$LINE"
2715 else
2716 no_cache=1
2717 fi
2718
2719 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2720
2721 fi;
2722
2723 eval "$ac_cv_use_libtiff"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2726 fi
2727
2728 if test "$wxUSE_LIBTIFF" = yes; then
2729 echo "$as_me:$LINENO: result: yes" >&5
2730 echo "${ECHO_T}yes" >&6
2731 elif test "$wxUSE_LIBTIFF" = no; then
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2734 elif test "$wxUSE_LIBTIFF" = sys; then
2735 echo "$as_me:$LINENO: result: system version" >&5
2736 echo "${ECHO_T}system version" >&6
2737 elif test "$wxUSE_LIBTIFF" = builtin; then
2738 echo "$as_me:$LINENO: result: builtin version" >&5
2739 echo "${ECHO_T}builtin version" >&6
2740 else
2741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2742 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2743 { (exit 1); exit 1; }; }
2744 fi
2745
2746
2747 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2748 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2749 no_cache=0
2750
2751 # Check whether --with-opengl or --without-opengl was given.
2752 if test "${with_opengl+set}" = set; then
2753 withval="$with_opengl"
2754
2755 if test "$withval" = yes; then
2756 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2757 else
2758 ac_cv_use_opengl='wxUSE_OPENGL=no'
2759 fi
2760
2761 else
2762
2763 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x ; then
2765 eval "DEFAULT_$LINE"
2766 else
2767 no_cache=1
2768 fi
2769
2770 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2771
2772 fi;
2773
2774 eval "$ac_cv_use_opengl"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2777 fi
2778
2779 if test "$wxUSE_OPENGL" = yes; then
2780 echo "$as_me:$LINENO: result: yes" >&5
2781 echo "${ECHO_T}yes" >&6
2782 else
2783 echo "$as_me:$LINENO: result: no" >&5
2784 echo "${ECHO_T}no" >&6
2785 fi
2786
2787
2788 fi
2789
2790
2791 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2792 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2793 no_cache=0
2794
2795 # Check whether --with-dmalloc or --without-dmalloc was given.
2796 if test "${with_dmalloc+set}" = set; then
2797 withval="$with_dmalloc"
2798
2799 if test "$withval" = yes; then
2800 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2801 else
2802 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2803 fi
2804
2805 else
2806
2807 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2810 else
2811 no_cache=1
2812 fi
2813
2814 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2815
2816 fi;
2817
2818 eval "$ac_cv_use_dmalloc"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_DMALLOC" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2826 else
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2829 fi
2830
2831
2832 echo "$as_me:$LINENO: checking for --with-regex" >&5
2833 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2834 no_cache=0
2835
2836 # Check whether --with-regex or --without-regex was given.
2837 if test "${with_regex+set}" = set; then
2838 withval="$with_regex"
2839
2840 if test "$withval" = yes; then
2841 ac_cv_use_regex='wxUSE_REGEX=yes'
2842 elif test "$withval" = no; then
2843 ac_cv_use_regex='wxUSE_REGEX=no'
2844 elif test "$withval" = sys; then
2845 ac_cv_use_regex='wxUSE_REGEX=sys'
2846 elif test "$withval" = builtin; then
2847 ac_cv_use_regex='wxUSE_REGEX=builtin'
2848 else
2849 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2850 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2851 { (exit 1); exit 1; }; }
2852 fi
2853
2854 else
2855
2856 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x ; then
2858 eval "DEFAULT_$LINE"
2859 else
2860 no_cache=1
2861 fi
2862
2863 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2864
2865 fi;
2866
2867 eval "$ac_cv_use_regex"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2870 fi
2871
2872 if test "$wxUSE_REGEX" = yes; then
2873 echo "$as_me:$LINENO: result: yes" >&5
2874 echo "${ECHO_T}yes" >&6
2875 elif test "$wxUSE_REGEX" = no; then
2876 echo "$as_me:$LINENO: result: no" >&5
2877 echo "${ECHO_T}no" >&6
2878 elif test "$wxUSE_REGEX" = sys; then
2879 echo "$as_me:$LINENO: result: system version" >&5
2880 echo "${ECHO_T}system version" >&6
2881 elif test "$wxUSE_REGEX" = builtin; then
2882 echo "$as_me:$LINENO: result: builtin version" >&5
2883 echo "${ECHO_T}builtin version" >&6
2884 else
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2886 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2888 fi
2889
2890
2891 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2892 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2893 no_cache=0
2894
2895 # Check whether --with-zlib or --without-zlib was given.
2896 if test "${with_zlib+set}" = set; then
2897 withval="$with_zlib"
2898
2899 if test "$withval" = yes; then
2900 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2901 elif test "$withval" = no; then
2902 ac_cv_use_zlib='wxUSE_ZLIB=no'
2903 elif test "$withval" = sys; then
2904 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2905 elif test "$withval" = builtin; then
2906 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2907 else
2908 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2909 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2910 { (exit 1); exit 1; }; }
2911 fi
2912
2913 else
2914
2915 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x ; then
2917 eval "DEFAULT_$LINE"
2918 else
2919 no_cache=1
2920 fi
2921
2922 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2923
2924 fi;
2925
2926 eval "$ac_cv_use_zlib"
2927 if test "$no_cache" != 1; then
2928 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2929 fi
2930
2931 if test "$wxUSE_ZLIB" = yes; then
2932 echo "$as_me:$LINENO: result: yes" >&5
2933 echo "${ECHO_T}yes" >&6
2934 elif test "$wxUSE_ZLIB" = no; then
2935 echo "$as_me:$LINENO: result: no" >&5
2936 echo "${ECHO_T}no" >&6
2937 elif test "$wxUSE_ZLIB" = sys; then
2938 echo "$as_me:$LINENO: result: system version" >&5
2939 echo "${ECHO_T}system version" >&6
2940 elif test "$wxUSE_ZLIB" = builtin; then
2941 echo "$as_me:$LINENO: result: builtin version" >&5
2942 echo "${ECHO_T}builtin version" >&6
2943 else
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2945 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2947 fi
2948
2949
2950 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2951 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2952 no_cache=0
2953
2954 # Check whether --with-odbc or --without-odbc was given.
2955 if test "${with_odbc+set}" = set; then
2956 withval="$with_odbc"
2957
2958 if test "$withval" = yes; then
2959 ac_cv_use_odbc='wxUSE_ODBC=yes'
2960 elif test "$withval" = no; then
2961 ac_cv_use_odbc='wxUSE_ODBC=no'
2962 elif test "$withval" = sys; then
2963 ac_cv_use_odbc='wxUSE_ODBC=sys'
2964 elif test "$withval" = builtin; then
2965 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2966 else
2967 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2968 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2969 { (exit 1); exit 1; }; }
2970 fi
2971
2972 else
2973
2974 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x ; then
2976 eval "DEFAULT_$LINE"
2977 else
2978 no_cache=1
2979 fi
2980
2981 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2982
2983 fi;
2984
2985 eval "$ac_cv_use_odbc"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2988 fi
2989
2990 if test "$wxUSE_ODBC" = yes; then
2991 echo "$as_me:$LINENO: result: yes" >&5
2992 echo "${ECHO_T}yes" >&6
2993 elif test "$wxUSE_ODBC" = no; then
2994 echo "$as_me:$LINENO: result: no" >&5
2995 echo "${ECHO_T}no" >&6
2996 elif test "$wxUSE_ODBC" = sys; then
2997 echo "$as_me:$LINENO: result: system version" >&5
2998 echo "${ECHO_T}system version" >&6
2999 elif test "$wxUSE_ODBC" = builtin; then
3000 echo "$as_me:$LINENO: result: builtin version" >&5
3001 echo "${ECHO_T}builtin version" >&6
3002 else
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3004 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3006 fi
3007
3008
3009
3010
3011 enablestring=
3012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3013 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3014 no_cache=0
3015 # Check whether --enable-shared or --disable-shared was given.
3016 if test "${enable_shared+set}" = set; then
3017 enableval="$enable_shared"
3018
3019 if test "$enableval" = yes; then
3020 ac_cv_use_shared='wxUSE_SHARED=yes'
3021 else
3022 ac_cv_use_shared='wxUSE_SHARED=no'
3023 fi
3024
3025 else
3026
3027 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x ; then
3029 eval "DEFAULT_$LINE"
3030 else
3031 no_cache=1
3032 fi
3033
3034 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3035
3036 fi;
3037
3038 eval "$ac_cv_use_shared"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3041 fi
3042
3043 if test "$wxUSE_SHARED" = yes; then
3044 echo "$as_me:$LINENO: result: yes" >&5
3045 echo "${ECHO_T}yes" >&6
3046 else
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3049 fi
3050
3051
3052 enablestring=
3053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3054 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3055 no_cache=0
3056 # Check whether --enable-optimise or --disable-optimise was given.
3057 if test "${enable_optimise+set}" = set; then
3058 enableval="$enable_optimise"
3059
3060 if test "$enableval" = yes; then
3061 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3062 else
3063 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3064 fi
3065
3066 else
3067
3068 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x ; then
3070 eval "DEFAULT_$LINE"
3071 else
3072 no_cache=1
3073 fi
3074
3075 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3076
3077 fi;
3078
3079 eval "$ac_cv_use_optimise"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test "$wxUSE_OPTIMISE" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3087 else
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3090 fi
3091
3092
3093 enablestring=
3094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3095 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3096 no_cache=0
3097 # Check whether --enable-debug or --disable-debug was given.
3098 if test "${enable_debug+set}" = set; then
3099 enableval="$enable_debug"
3100
3101 if test "$enableval" = yes; then
3102 ac_cv_use_debug='wxUSE_DEBUG=yes'
3103 else
3104 ac_cv_use_debug='wxUSE_DEBUG=no'
3105 fi
3106
3107 else
3108
3109 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x ; then
3111 eval "DEFAULT_$LINE"
3112 else
3113 no_cache=1
3114 fi
3115
3116 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3117
3118 fi;
3119
3120 eval "$ac_cv_use_debug"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3123 fi
3124
3125 if test "$wxUSE_DEBUG" = yes; then
3126 echo "$as_me:$LINENO: result: yes" >&5
3127 echo "${ECHO_T}yes" >&6
3128 else
3129 echo "$as_me:$LINENO: result: no" >&5
3130 echo "${ECHO_T}no" >&6
3131 fi
3132
3133
3134 enablestring=
3135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3136 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3137 no_cache=0
3138 # Check whether --enable-stl or --disable-stl was given.
3139 if test "${enable_stl+set}" = set; then
3140 enableval="$enable_stl"
3141
3142 if test "$enableval" = yes; then
3143 ac_cv_use_stl='wxUSE_STL=yes'
3144 else
3145 ac_cv_use_stl='wxUSE_STL=no'
3146 fi
3147
3148 else
3149
3150 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x ; then
3152 eval "DEFAULT_$LINE"
3153 else
3154 no_cache=1
3155 fi
3156
3157 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3158
3159 fi;
3160
3161 eval "$ac_cv_use_stl"
3162 if test "$no_cache" != 1; then
3163 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3164 fi
3165
3166 if test "$wxUSE_STL" = yes; then
3167 echo "$as_me:$LINENO: result: yes" >&5
3168 echo "${ECHO_T}yes" >&6
3169 else
3170 echo "$as_me:$LINENO: result: no" >&5
3171 echo "${ECHO_T}no" >&6
3172 fi
3173
3174
3175 if test "$wxUSE_DEBUG" = "yes"; then
3176 DEFAULT_wxUSE_DEBUG_FLAG=yes
3177 DEFAULT_wxUSE_DEBUG_INFO=yes
3178 elif test "$wxUSE_DEBUG" = "no"; then
3179 DEFAULT_wxUSE_DEBUG_FLAG=no
3180 DEFAULT_wxUSE_DEBUG_INFO=no
3181 fi
3182
3183
3184 enablestring=
3185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3186 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3187 no_cache=0
3188 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3189 if test "${enable_debug_flag+set}" = set; then
3190 enableval="$enable_debug_flag"
3191
3192 if test "$enableval" = yes; then
3193 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3194 else
3195 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3196 fi
3197
3198 else
3199
3200 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x ; then
3202 eval "DEFAULT_$LINE"
3203 else
3204 no_cache=1
3205 fi
3206
3207 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3208
3209 fi;
3210
3211 eval "$ac_cv_use_debug_flag"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3214 fi
3215
3216 if test "$wxUSE_DEBUG_FLAG" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3219 else
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3222 fi
3223
3224
3225 enablestring=
3226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3227 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3228 no_cache=0
3229 # Check whether --enable-debug_info or --disable-debug_info was given.
3230 if test "${enable_debug_info+set}" = set; then
3231 enableval="$enable_debug_info"
3232
3233 if test "$enableval" = yes; then
3234 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3235 else
3236 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3237 fi
3238
3239 else
3240
3241 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x ; then
3243 eval "DEFAULT_$LINE"
3244 else
3245 no_cache=1
3246 fi
3247
3248 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3249
3250 fi;
3251
3252 eval "$ac_cv_use_debug_info"
3253 if test "$no_cache" != 1; then
3254 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3255 fi
3256
3257 if test "$wxUSE_DEBUG_INFO" = yes; then
3258 echo "$as_me:$LINENO: result: yes" >&5
3259 echo "${ECHO_T}yes" >&6
3260 else
3261 echo "$as_me:$LINENO: result: no" >&5
3262 echo "${ECHO_T}no" >&6
3263 fi
3264
3265
3266 enablestring=
3267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3268 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3269 no_cache=0
3270 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3271 if test "${enable_debug_gdb+set}" = set; then
3272 enableval="$enable_debug_gdb"
3273
3274 if test "$enableval" = yes; then
3275 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3276 else
3277 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3278 fi
3279
3280 else
3281
3282 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x ; then
3284 eval "DEFAULT_$LINE"
3285 else
3286 no_cache=1
3287 fi
3288
3289 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3290
3291 fi;
3292
3293 eval "$ac_cv_use_debug_gdb"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3296 fi
3297
3298 if test "$wxUSE_DEBUG_GDB" = yes; then
3299 echo "$as_me:$LINENO: result: yes" >&5
3300 echo "${ECHO_T}yes" >&6
3301 else
3302 echo "$as_me:$LINENO: result: no" >&5
3303 echo "${ECHO_T}no" >&6
3304 fi
3305
3306
3307 enablestring=
3308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3309 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3310 no_cache=0
3311 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3312 if test "${enable_debug_cntxt+set}" = set; then
3313 enableval="$enable_debug_cntxt"
3314
3315 if test "$enableval" = yes; then
3316 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3317 else
3318 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3319 fi
3320
3321 else
3322
3323 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x ; then
3325 eval "DEFAULT_$LINE"
3326 else
3327 no_cache=1
3328 fi
3329
3330 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3331
3332 fi;
3333
3334 eval "$ac_cv_use_debug_cntxt"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3337 fi
3338
3339 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3340 echo "$as_me:$LINENO: result: yes" >&5
3341 echo "${ECHO_T}yes" >&6
3342 else
3343 echo "$as_me:$LINENO: result: no" >&5
3344 echo "${ECHO_T}no" >&6
3345 fi
3346
3347
3348 enablestring=
3349 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3350 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3351 no_cache=0
3352 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3353 if test "${enable_mem_tracing+set}" = set; then
3354 enableval="$enable_mem_tracing"
3355
3356 if test "$enableval" = yes; then
3357 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3358 else
3359 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3360 fi
3361
3362 else
3363
3364 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3367 else
3368 no_cache=1
3369 fi
3370
3371 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3372
3373 fi;
3374
3375 eval "$ac_cv_use_mem_tracing"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3378 fi
3379
3380 if test "$wxUSE_MEM_TRACING" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3383 else
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3386 fi
3387
3388
3389 enablestring=
3390 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3391 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3392 no_cache=0
3393 # Check whether --enable-profile or --disable-profile was given.
3394 if test "${enable_profile+set}" = set; then
3395 enableval="$enable_profile"
3396
3397 if test "$enableval" = yes; then
3398 ac_cv_use_profile='wxUSE_PROFILE=yes'
3399 else
3400 ac_cv_use_profile='wxUSE_PROFILE=no'
3401 fi
3402
3403 else
3404
3405 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x ; then
3407 eval "DEFAULT_$LINE"
3408 else
3409 no_cache=1
3410 fi
3411
3412 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3413
3414 fi;
3415
3416 eval "$ac_cv_use_profile"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3419 fi
3420
3421 if test "$wxUSE_PROFILE" = yes; then
3422 echo "$as_me:$LINENO: result: yes" >&5
3423 echo "${ECHO_T}yes" >&6
3424 else
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3427 fi
3428
3429
3430 enablestring=
3431 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3432 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3433 no_cache=0
3434 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3435 if test "${enable_no_rtti+set}" = set; then
3436 enableval="$enable_no_rtti"
3437
3438 if test "$enableval" = yes; then
3439 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3440 else
3441 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3442 fi
3443
3444 else
3445
3446 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x ; then
3448 eval "DEFAULT_$LINE"
3449 else
3450 no_cache=1
3451 fi
3452
3453 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3454
3455 fi;
3456
3457 eval "$ac_cv_use_no_rtti"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3460 fi
3461
3462 if test "$wxUSE_NO_RTTI" = yes; then
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3465 else
3466 echo "$as_me:$LINENO: result: no" >&5
3467 echo "${ECHO_T}no" >&6
3468 fi
3469
3470
3471 enablestring=
3472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3473 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3474 no_cache=0
3475 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3476 if test "${enable_no_exceptions+set}" = set; then
3477 enableval="$enable_no_exceptions"
3478
3479 if test "$enableval" = yes; then
3480 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3481 else
3482 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3483 fi
3484
3485 else
3486
3487 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3488 if test "x$LINE" != x ; then
3489 eval "DEFAULT_$LINE"
3490 else
3491 no_cache=1
3492 fi
3493
3494 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3495
3496 fi;
3497
3498 eval "$ac_cv_use_no_exceptions"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3501 fi
3502
3503 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3504 echo "$as_me:$LINENO: result: yes" >&5
3505 echo "${ECHO_T}yes" >&6
3506 else
3507 echo "$as_me:$LINENO: result: no" >&5
3508 echo "${ECHO_T}no" >&6
3509 fi
3510
3511
3512 enablestring=
3513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3514 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3515 no_cache=0
3516 # Check whether --enable-permissive or --disable-permissive was given.
3517 if test "${enable_permissive+set}" = set; then
3518 enableval="$enable_permissive"
3519
3520 if test "$enableval" = yes; then
3521 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3522 else
3523 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3524 fi
3525
3526 else
3527
3528 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x ; then
3530 eval "DEFAULT_$LINE"
3531 else
3532 no_cache=1
3533 fi
3534
3535 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3536
3537 fi;
3538
3539 eval "$ac_cv_use_permissive"
3540 if test "$no_cache" != 1; then
3541 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3542 fi
3543
3544 if test "$wxUSE_PERMISSIVE" = yes; then
3545 echo "$as_me:$LINENO: result: yes" >&5
3546 echo "${ECHO_T}yes" >&6
3547 else
3548 echo "$as_me:$LINENO: result: no" >&5
3549 echo "${ECHO_T}no" >&6
3550 fi
3551
3552
3553 enablestring=
3554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3555 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3556 no_cache=0
3557 # Check whether --enable-no_deps or --disable-no_deps was given.
3558 if test "${enable_no_deps+set}" = set; then
3559 enableval="$enable_no_deps"
3560
3561 if test "$enableval" = yes; then
3562 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3563 else
3564 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3565 fi
3566
3567 else
3568
3569 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x ; then
3571 eval "DEFAULT_$LINE"
3572 else
3573 no_cache=1
3574 fi
3575
3576 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3577
3578 fi;
3579
3580 eval "$ac_cv_use_no_deps"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3583 fi
3584
3585 if test "$wxUSE_NO_DEPS" = yes; then
3586 echo "$as_me:$LINENO: result: yes" >&5
3587 echo "${ECHO_T}yes" >&6
3588 else
3589 echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6
3591 fi
3592
3593
3594
3595 enablestring=
3596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat20" >&5
3597 echo $ECHO_N "checking for --${enablestring:-enable}-compat20... $ECHO_C" >&6
3598 no_cache=0
3599 # Check whether --enable-compat20 or --disable-compat20 was given.
3600 if test "${enable_compat20+set}" = set; then
3601 enableval="$enable_compat20"
3602
3603 if test "$enableval" = yes; then
3604 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=yes'
3605 else
3606 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2=no'
3607 fi
3608
3609 else
3610
3611 LINE=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x ; then
3613 eval "DEFAULT_$LINE"
3614 else
3615 no_cache=1
3616 fi
3617
3618 ac_cv_use_compat20='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3619
3620 fi;
3621
3622 eval "$ac_cv_use_compat20"
3623 if test "$no_cache" != 1; then
3624 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3625 fi
3626
3627 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3628 echo "$as_me:$LINENO: result: yes" >&5
3629 echo "${ECHO_T}yes" >&6
3630 else
3631 echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6
3633 fi
3634
3635
3636 enablestring=
3637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3638 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3639 no_cache=0
3640 # Check whether --enable-compat22 or --disable-compat22 was given.
3641 if test "${enable_compat22+set}" = set; then
3642 enableval="$enable_compat22"
3643
3644 if test "$enableval" = yes; then
3645 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3646 else
3647 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3648 fi
3649
3650 else
3651
3652 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x ; then
3654 eval "DEFAULT_$LINE"
3655 else
3656 no_cache=1
3657 fi
3658
3659 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3660
3661 fi;
3662
3663 eval "$ac_cv_use_compat22"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3666 fi
3667
3668 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3669 echo "$as_me:$LINENO: result: yes" >&5
3670 echo "${ECHO_T}yes" >&6
3671 else
3672 echo "$as_me:$LINENO: result: no" >&5
3673 echo "${ECHO_T}no" >&6
3674 fi
3675
3676
3677 enablestring=disable
3678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3679 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3680 no_cache=0
3681 # Check whether --enable-compat24 or --disable-compat24 was given.
3682 if test "${enable_compat24+set}" = set; then
3683 enableval="$enable_compat24"
3684
3685 if test "$enableval" = yes; then
3686 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3687 else
3688 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3689 fi
3690
3691 else
3692
3693 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x ; then
3695 eval "DEFAULT_$LINE"
3696 else
3697 no_cache=1
3698 fi
3699
3700 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3701
3702 fi;
3703
3704 eval "$ac_cv_use_compat24"
3705 if test "$no_cache" != 1; then
3706 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3707 fi
3708
3709 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3712 else
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3715 fi
3716
3717
3718 # Check whether --enable-rpath or --disable-rpath was given.
3719 if test "${enable_rpath+set}" = set; then
3720 enableval="$enable_rpath"
3721 wxRPATH_DIR="$enableval"
3722 fi;
3723
3724 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3725 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3726 fi
3727
3728
3729
3730
3731 enablestring=
3732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3733 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3734 no_cache=0
3735 # Check whether --enable-intl or --disable-intl was given.
3736 if test "${enable_intl+set}" = set; then
3737 enableval="$enable_intl"
3738
3739 if test "$enableval" = yes; then
3740 ac_cv_use_intl='wxUSE_INTL=yes'
3741 else
3742 ac_cv_use_intl='wxUSE_INTL=no'
3743 fi
3744
3745 else
3746
3747 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x ; then
3749 eval "DEFAULT_$LINE"
3750 else
3751 no_cache=1
3752 fi
3753
3754 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3755
3756 fi;
3757
3758 eval "$ac_cv_use_intl"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3761 fi
3762
3763 if test "$wxUSE_INTL" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3766 else
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3769 fi
3770
3771
3772 enablestring=
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3774 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3775 no_cache=0
3776 # Check whether --enable-config or --disable-config was given.
3777 if test "${enable_config+set}" = set; then
3778 enableval="$enable_config"
3779
3780 if test "$enableval" = yes; then
3781 ac_cv_use_config='wxUSE_CONFIG=yes'
3782 else
3783 ac_cv_use_config='wxUSE_CONFIG=no'
3784 fi
3785
3786 else
3787
3788 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x ; then
3790 eval "DEFAULT_$LINE"
3791 else
3792 no_cache=1
3793 fi
3794
3795 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3796
3797 fi;
3798
3799 eval "$ac_cv_use_config"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3802 fi
3803
3804 if test "$wxUSE_CONFIG" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6
3807 else
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3810 fi
3811
3812
3813
3814 enablestring=
3815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3816 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3817 no_cache=0
3818 # Check whether --enable-protocols or --disable-protocols was given.
3819 if test "${enable_protocols+set}" = set; then
3820 enableval="$enable_protocols"
3821
3822 if test "$enableval" = yes; then
3823 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3824 else
3825 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3826 fi
3827
3828 else
3829
3830 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3833 else
3834 no_cache=1
3835 fi
3836
3837 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3838
3839 fi;
3840
3841 eval "$ac_cv_use_protocols"
3842 if test "$no_cache" != 1; then
3843 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3844 fi
3845
3846 if test "$wxUSE_PROTOCOL" = yes; then
3847 echo "$as_me:$LINENO: result: yes" >&5
3848 echo "${ECHO_T}yes" >&6
3849 else
3850 echo "$as_me:$LINENO: result: no" >&5
3851 echo "${ECHO_T}no" >&6
3852 fi
3853
3854
3855 enablestring=
3856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3857 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3858 no_cache=0
3859 # Check whether --enable-ftp or --disable-ftp was given.
3860 if test "${enable_ftp+set}" = set; then
3861 enableval="$enable_ftp"
3862
3863 if test "$enableval" = yes; then
3864 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3865 else
3866 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3867 fi
3868
3869 else
3870
3871 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3872 if test "x$LINE" != x ; then
3873 eval "DEFAULT_$LINE"
3874 else
3875 no_cache=1
3876 fi
3877
3878 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3879
3880 fi;
3881
3882 eval "$ac_cv_use_ftp"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3885 fi
3886
3887 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3888 echo "$as_me:$LINENO: result: yes" >&5
3889 echo "${ECHO_T}yes" >&6
3890 else
3891 echo "$as_me:$LINENO: result: no" >&5
3892 echo "${ECHO_T}no" >&6
3893 fi
3894
3895
3896 enablestring=
3897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3898 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3899 no_cache=0
3900 # Check whether --enable-http or --disable-http was given.
3901 if test "${enable_http+set}" = set; then
3902 enableval="$enable_http"
3903
3904 if test "$enableval" = yes; then
3905 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3906 else
3907 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3908 fi
3909
3910 else
3911
3912 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x ; then
3914 eval "DEFAULT_$LINE"
3915 else
3916 no_cache=1
3917 fi
3918
3919 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3920
3921 fi;
3922
3923 eval "$ac_cv_use_http"
3924 if test "$no_cache" != 1; then
3925 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3926 fi
3927
3928 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3929 echo "$as_me:$LINENO: result: yes" >&5
3930 echo "${ECHO_T}yes" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3934 fi
3935
3936
3937 enablestring=
3938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3939 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3940 no_cache=0
3941 # Check whether --enable-fileproto or --disable-fileproto was given.
3942 if test "${enable_fileproto+set}" = set; then
3943 enableval="$enable_fileproto"
3944
3945 if test "$enableval" = yes; then
3946 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3947 else
3948 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3949 fi
3950
3951 else
3952
3953 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x ; then
3955 eval "DEFAULT_$LINE"
3956 else
3957 no_cache=1
3958 fi
3959
3960 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3961
3962 fi;
3963
3964 eval "$ac_cv_use_fileproto"
3965 if test "$no_cache" != 1; then
3966 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3967 fi
3968
3969 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3970 echo "$as_me:$LINENO: result: yes" >&5
3971 echo "${ECHO_T}yes" >&6
3972 else
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3975 fi
3976
3977
3978 enablestring=
3979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
3980 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
3981 no_cache=0
3982 # Check whether --enable-sockets or --disable-sockets was given.
3983 if test "${enable_sockets+set}" = set; then
3984 enableval="$enable_sockets"
3985
3986 if test "$enableval" = yes; then
3987 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
3988 else
3989 ac_cv_use_sockets='wxUSE_SOCKETS=no'
3990 fi
3991
3992 else
3993
3994 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x ; then
3996 eval "DEFAULT_$LINE"
3997 else
3998 no_cache=1
3999 fi
4000
4001 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4002
4003 fi;
4004
4005 eval "$ac_cv_use_sockets"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4008 fi
4009
4010 if test "$wxUSE_SOCKETS" = yes; then
4011 echo "$as_me:$LINENO: result: yes" >&5
4012 echo "${ECHO_T}yes" >&6
4013 else
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4016 fi
4017
4018
4019 enablestring=
4020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4021 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4022 no_cache=0
4023 # Check whether --enable-ole or --disable-ole was given.
4024 if test "${enable_ole+set}" = set; then
4025 enableval="$enable_ole"
4026
4027 if test "$enableval" = yes; then
4028 ac_cv_use_ole='wxUSE_OLE=yes'
4029 else
4030 ac_cv_use_ole='wxUSE_OLE=no'
4031 fi
4032
4033 else
4034
4035 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x ; then
4037 eval "DEFAULT_$LINE"
4038 else
4039 no_cache=1
4040 fi
4041
4042 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4043
4044 fi;
4045
4046 eval "$ac_cv_use_ole"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4049 fi
4050
4051 if test "$wxUSE_OLE" = yes; then
4052 echo "$as_me:$LINENO: result: yes" >&5
4053 echo "${ECHO_T}yes" >&6
4054 else
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4057 fi
4058
4059
4060 enablestring=
4061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4062 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4063 no_cache=0
4064 # Check whether --enable-dataobj or --disable-dataobj was given.
4065 if test "${enable_dataobj+set}" = set; then
4066 enableval="$enable_dataobj"
4067
4068 if test "$enableval" = yes; then
4069 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4070 else
4071 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4072 fi
4073
4074 else
4075
4076 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x ; then
4078 eval "DEFAULT_$LINE"
4079 else
4080 no_cache=1
4081 fi
4082
4083 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4084
4085 fi;
4086
4087 eval "$ac_cv_use_dataobj"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4090 fi
4091
4092 if test "$wxUSE_DATAOBJ" = yes; then
4093 echo "$as_me:$LINENO: result: yes" >&5
4094 echo "${ECHO_T}yes" >&6
4095 else
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4098 fi
4099
4100
4101
4102 enablestring=
4103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4104 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4105 no_cache=0
4106 # Check whether --enable-ipc or --disable-ipc was given.
4107 if test "${enable_ipc+set}" = set; then
4108 enableval="$enable_ipc"
4109
4110 if test "$enableval" = yes; then
4111 ac_cv_use_ipc='wxUSE_IPC=yes'
4112 else
4113 ac_cv_use_ipc='wxUSE_IPC=no'
4114 fi
4115
4116 else
4117
4118 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x ; then
4120 eval "DEFAULT_$LINE"
4121 else
4122 no_cache=1
4123 fi
4124
4125 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4126
4127 fi;
4128
4129 eval "$ac_cv_use_ipc"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4132 fi
4133
4134 if test "$wxUSE_IPC" = yes; then
4135 echo "$as_me:$LINENO: result: yes" >&5
4136 echo "${ECHO_T}yes" >&6
4137 else
4138 echo "$as_me:$LINENO: result: no" >&5
4139 echo "${ECHO_T}no" >&6
4140 fi
4141
4142
4143
4144 enablestring=
4145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4146 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4147 no_cache=0
4148 # Check whether --enable-cmdline or --disable-cmdline was given.
4149 if test "${enable_cmdline+set}" = set; then
4150 enableval="$enable_cmdline"
4151
4152 if test "$enableval" = yes; then
4153 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4154 else
4155 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4156 fi
4157
4158 else
4159
4160 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x ; then
4162 eval "DEFAULT_$LINE"
4163 else
4164 no_cache=1
4165 fi
4166
4167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4168
4169 fi;
4170
4171 eval "$ac_cv_use_cmdline"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4174 fi
4175
4176 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4177 echo "$as_me:$LINENO: result: yes" >&5
4178 echo "${ECHO_T}yes" >&6
4179 else
4180 echo "$as_me:$LINENO: result: no" >&5
4181 echo "${ECHO_T}no" >&6
4182 fi
4183
4184
4185 enablestring=
4186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4187 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4188 no_cache=0
4189 # Check whether --enable-datetime or --disable-datetime was given.
4190 if test "${enable_datetime+set}" = set; then
4191 enableval="$enable_datetime"
4192
4193 if test "$enableval" = yes; then
4194 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4195 else
4196 ac_cv_use_datetime='wxUSE_DATETIME=no'
4197 fi
4198
4199 else
4200
4201 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x ; then
4203 eval "DEFAULT_$LINE"
4204 else
4205 no_cache=1
4206 fi
4207
4208 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4209
4210 fi;
4211
4212 eval "$ac_cv_use_datetime"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4215 fi
4216
4217 if test "$wxUSE_DATETIME" = yes; then
4218 echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6
4220 else
4221 echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6
4223 fi
4224
4225
4226 enablestring=
4227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4228 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4229 no_cache=0
4230 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4231 if test "${enable_stopwatch+set}" = set; then
4232 enableval="$enable_stopwatch"
4233
4234 if test "$enableval" = yes; then
4235 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4236 else
4237 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4238 fi
4239
4240 else
4241
4242 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x ; then
4244 eval "DEFAULT_$LINE"
4245 else
4246 no_cache=1
4247 fi
4248
4249 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4250
4251 fi;
4252
4253 eval "$ac_cv_use_stopwatch"
4254 if test "$no_cache" != 1; then
4255 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4256 fi
4257
4258 if test "$wxUSE_STOPWATCH" = yes; then
4259 echo "$as_me:$LINENO: result: yes" >&5
4260 echo "${ECHO_T}yes" >&6
4261 else
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4264 fi
4265
4266
4267 enablestring=
4268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4269 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4270 no_cache=0
4271 # Check whether --enable-dialupman or --disable-dialupman was given.
4272 if test "${enable_dialupman+set}" = set; then
4273 enableval="$enable_dialupman"
4274
4275 if test "$enableval" = yes; then
4276 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4277 else
4278 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4279 fi
4280
4281 else
4282
4283 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x ; then
4285 eval "DEFAULT_$LINE"
4286 else
4287 no_cache=1
4288 fi
4289
4290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4291
4292 fi;
4293
4294 eval "$ac_cv_use_dialupman"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4297 fi
4298
4299 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4300 echo "$as_me:$LINENO: result: yes" >&5
4301 echo "${ECHO_T}yes" >&6
4302 else
4303 echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4305 fi
4306
4307
4308 enablestring=
4309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4310 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4311 no_cache=0
4312 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4313 if test "${enable_apple_ieee+set}" = set; then
4314 enableval="$enable_apple_ieee"
4315
4316 if test "$enableval" = yes; then
4317 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4318 else
4319 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4320 fi
4321
4322 else
4323
4324 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x ; then
4326 eval "DEFAULT_$LINE"
4327 else
4328 no_cache=1
4329 fi
4330
4331 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4332
4333 fi;
4334
4335 eval "$ac_cv_use_apple_ieee"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4338 fi
4339
4340 if test "$wxUSE_APPLE_IEEE" = yes; then
4341 echo "$as_me:$LINENO: result: yes" >&5
4342 echo "${ECHO_T}yes" >&6
4343 else
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4346 fi
4347
4348
4349 enablestring=
4350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4351 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4352 no_cache=0
4353 # Check whether --enable-timer or --disable-timer was given.
4354 if test "${enable_timer+set}" = set; then
4355 enableval="$enable_timer"
4356
4357 if test "$enableval" = yes; then
4358 ac_cv_use_timer='wxUSE_TIMER=yes'
4359 else
4360 ac_cv_use_timer='wxUSE_TIMER=no'
4361 fi
4362
4363 else
4364
4365 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x ; then
4367 eval "DEFAULT_$LINE"
4368 else
4369 no_cache=1
4370 fi
4371
4372 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4373
4374 fi;
4375
4376 eval "$ac_cv_use_timer"
4377 if test "$no_cache" != 1; then
4378 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4379 fi
4380
4381 if test "$wxUSE_TIMER" = yes; then
4382 echo "$as_me:$LINENO: result: yes" >&5
4383 echo "${ECHO_T}yes" >&6
4384 else
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4387 fi
4388
4389
4390 enablestring=
4391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4392 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4393 no_cache=0
4394 # Check whether --enable-wave or --disable-wave was given.
4395 if test "${enable_wave+set}" = set; then
4396 enableval="$enable_wave"
4397
4398 if test "$enableval" = yes; then
4399 ac_cv_use_wave='wxUSE_WAVE=yes'
4400 else
4401 ac_cv_use_wave='wxUSE_WAVE=no'
4402 fi
4403
4404 else
4405
4406 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4409 else
4410 no_cache=1
4411 fi
4412
4413 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4414
4415 fi;
4416
4417 eval "$ac_cv_use_wave"
4418 if test "$no_cache" != 1; then
4419 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4420 fi
4421
4422 if test "$wxUSE_WAVE" = yes; then
4423 echo "$as_me:$LINENO: result: yes" >&5
4424 echo "${ECHO_T}yes" >&6
4425 else
4426 echo "$as_me:$LINENO: result: no" >&5
4427 echo "${ECHO_T}no" >&6
4428 fi
4429
4430
4431 enablestring=
4432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4433 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4434 no_cache=0
4435 # Check whether --enable-fraction or --disable-fraction was given.
4436 if test "${enable_fraction+set}" = set; then
4437 enableval="$enable_fraction"
4438
4439 if test "$enableval" = yes; then
4440 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4441 else
4442 ac_cv_use_fraction='wxUSE_FRACTION=no'
4443 fi
4444
4445 else
4446
4447 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x ; then
4449 eval "DEFAULT_$LINE"
4450 else
4451 no_cache=1
4452 fi
4453
4454 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4455
4456 fi;
4457
4458 eval "$ac_cv_use_fraction"
4459 if test "$no_cache" != 1; then
4460 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4461 fi
4462
4463 if test "$wxUSE_FRACTION" = yes; then
4464 echo "$as_me:$LINENO: result: yes" >&5
4465 echo "${ECHO_T}yes" >&6
4466 else
4467 echo "$as_me:$LINENO: result: no" >&5
4468 echo "${ECHO_T}no" >&6
4469 fi
4470
4471
4472 enablestring=
4473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4474 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4475 no_cache=0
4476 # Check whether --enable-dynlib or --disable-dynlib was given.
4477 if test "${enable_dynlib+set}" = set; then
4478 enableval="$enable_dynlib"
4479
4480 if test "$enableval" = yes; then
4481 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4482 else
4483 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4484 fi
4485
4486 else
4487
4488 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x ; then
4490 eval "DEFAULT_$LINE"
4491 else
4492 no_cache=1
4493 fi
4494
4495 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4496
4497 fi;
4498
4499 eval "$ac_cv_use_dynlib"
4500 if test "$no_cache" != 1; then
4501 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4502 fi
4503
4504 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4505 echo "$as_me:$LINENO: result: yes" >&5
4506 echo "${ECHO_T}yes" >&6
4507 else
4508 echo "$as_me:$LINENO: result: no" >&5
4509 echo "${ECHO_T}no" >&6
4510 fi
4511
4512
4513 enablestring=
4514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4515 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4516 no_cache=0
4517 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4518 if test "${enable_dynamicloader+set}" = set; then
4519 enableval="$enable_dynamicloader"
4520
4521 if test "$enableval" = yes; then
4522 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4523 else
4524 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4525 fi
4526
4527 else
4528
4529 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x ; then
4531 eval "DEFAULT_$LINE"
4532 else
4533 no_cache=1
4534 fi
4535
4536 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4537
4538 fi;
4539
4540 eval "$ac_cv_use_dynamicloader"
4541 if test "$no_cache" != 1; then
4542 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4543 fi
4544
4545 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4546 echo "$as_me:$LINENO: result: yes" >&5
4547 echo "${ECHO_T}yes" >&6
4548 else
4549 echo "$as_me:$LINENO: result: no" >&5
4550 echo "${ECHO_T}no" >&6
4551 fi
4552
4553
4554 enablestring=
4555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4557 no_cache=0
4558 # Check whether --enable-longlong or --disable-longlong was given.
4559 if test "${enable_longlong+set}" = set; then
4560 enableval="$enable_longlong"
4561
4562 if test "$enableval" = yes; then
4563 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4564 else
4565 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4566 fi
4567
4568 else
4569
4570 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x ; then
4572 eval "DEFAULT_$LINE"
4573 else
4574 no_cache=1
4575 fi
4576
4577 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4578
4579 fi;
4580
4581 eval "$ac_cv_use_longlong"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4584 fi
4585
4586 if test "$wxUSE_LONGLONG" = yes; then
4587 echo "$as_me:$LINENO: result: yes" >&5
4588 echo "${ECHO_T}yes" >&6
4589 else
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4592 fi
4593
4594
4595 enablestring=
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4598 no_cache=0
4599 # Check whether --enable-geometry or --disable-geometry was given.
4600 if test "${enable_geometry+set}" = set; then
4601 enableval="$enable_geometry"
4602
4603 if test "$enableval" = yes; then
4604 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4605 else
4606 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4607 fi
4608
4609 else
4610
4611 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4614 else
4615 no_cache=1
4616 fi
4617
4618 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4619
4620 fi;
4621
4622 eval "$ac_cv_use_geometry"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4625 fi
4626
4627 if test "$wxUSE_GEOMETRY" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4630 else
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4633 fi
4634
4635
4636 enablestring=
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4639 no_cache=0
4640 # Check whether --enable-log or --disable-log was given.
4641 if test "${enable_log+set}" = set; then
4642 enableval="$enable_log"
4643
4644 if test "$enableval" = yes; then
4645 ac_cv_use_log='wxUSE_LOG=yes'
4646 else
4647 ac_cv_use_log='wxUSE_LOG=no'
4648 fi
4649
4650 else
4651
4652 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 else
4656 no_cache=1
4657 fi
4658
4659 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4660
4661 fi;
4662
4663 eval "$ac_cv_use_log"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4666 fi
4667
4668 if test "$wxUSE_LOG" = yes; then
4669 echo "$as_me:$LINENO: result: yes" >&5
4670 echo "${ECHO_T}yes" >&6
4671 else
4672 echo "$as_me:$LINENO: result: no" >&5
4673 echo "${ECHO_T}no" >&6
4674 fi
4675
4676
4677 enablestring=
4678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4680 no_cache=0
4681 # Check whether --enable-streams or --disable-streams was given.
4682 if test "${enable_streams+set}" = set; then
4683 enableval="$enable_streams"
4684
4685 if test "$enableval" = yes; then
4686 ac_cv_use_streams='wxUSE_STREAMS=yes'
4687 else
4688 ac_cv_use_streams='wxUSE_STREAMS=no'
4689 fi
4690
4691 else
4692
4693 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 else
4697 no_cache=1
4698 fi
4699
4700 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4701
4702 fi;
4703
4704 eval "$ac_cv_use_streams"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4707 fi
4708
4709 if test "$wxUSE_STREAMS" = yes; then
4710 echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6
4712 else
4713 echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6
4715 fi
4716
4717
4718 enablestring=
4719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4720 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4721 no_cache=0
4722 # Check whether --enable-file or --disable-file was given.
4723 if test "${enable_file+set}" = set; then
4724 enableval="$enable_file"
4725
4726 if test "$enableval" = yes; then
4727 ac_cv_use_file='wxUSE_FILE=yes'
4728 else
4729 ac_cv_use_file='wxUSE_FILE=no'
4730 fi
4731
4732 else
4733
4734 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x ; then
4736 eval "DEFAULT_$LINE"
4737 else
4738 no_cache=1
4739 fi
4740
4741 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4742
4743 fi;
4744
4745 eval "$ac_cv_use_file"
4746 if test "$no_cache" != 1; then
4747 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4748 fi
4749
4750 if test "$wxUSE_FILE" = yes; then
4751 echo "$as_me:$LINENO: result: yes" >&5
4752 echo "${ECHO_T}yes" >&6
4753 else
4754 echo "$as_me:$LINENO: result: no" >&5
4755 echo "${ECHO_T}no" >&6
4756 fi
4757
4758
4759 enablestring=
4760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4762 no_cache=0
4763 # Check whether --enable-ffile or --disable-ffile was given.
4764 if test "${enable_ffile+set}" = set; then
4765 enableval="$enable_ffile"
4766
4767 if test "$enableval" = yes; then
4768 ac_cv_use_ffile='wxUSE_FFILE=yes'
4769 else
4770 ac_cv_use_ffile='wxUSE_FFILE=no'
4771 fi
4772
4773 else
4774
4775 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x ; then
4777 eval "DEFAULT_$LINE"
4778 else
4779 no_cache=1
4780 fi
4781
4782 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4783
4784 fi;
4785
4786 eval "$ac_cv_use_ffile"
4787 if test "$no_cache" != 1; then
4788 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4789 fi
4790
4791 if test "$wxUSE_FFILE" = yes; then
4792 echo "$as_me:$LINENO: result: yes" >&5
4793 echo "${ECHO_T}yes" >&6
4794 else
4795 echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6
4797 fi
4798
4799
4800 enablestring=
4801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4803 no_cache=0
4804 # Check whether --enable-textbuf or --disable-textbuf was given.
4805 if test "${enable_textbuf+set}" = set; then
4806 enableval="$enable_textbuf"
4807
4808 if test "$enableval" = yes; then
4809 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4810 else
4811 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4812 fi
4813
4814 else
4815
4816 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x ; then
4818 eval "DEFAULT_$LINE"
4819 else
4820 no_cache=1
4821 fi
4822
4823 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4824
4825 fi;
4826
4827 eval "$ac_cv_use_textbuf"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4830 fi
4831
4832 if test "$wxUSE_TEXTBUFFER" = yes; then
4833 echo "$as_me:$LINENO: result: yes" >&5
4834 echo "${ECHO_T}yes" >&6
4835 else
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4838 fi
4839
4840
4841 enablestring=
4842 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4843 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4844 no_cache=0
4845 # Check whether --enable-textfile or --disable-textfile was given.
4846 if test "${enable_textfile+set}" = set; then
4847 enableval="$enable_textfile"
4848
4849 if test "$enableval" = yes; then
4850 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4851 else
4852 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4853 fi
4854
4855 else
4856
4857 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4858 if test "x$LINE" != x ; then
4859 eval "DEFAULT_$LINE"
4860 else
4861 no_cache=1
4862 fi
4863
4864 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4865
4866 fi;
4867
4868 eval "$ac_cv_use_textfile"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4871 fi
4872
4873 if test "$wxUSE_TEXTFILE" = yes; then
4874 echo "$as_me:$LINENO: result: yes" >&5
4875 echo "${ECHO_T}yes" >&6
4876 else
4877 echo "$as_me:$LINENO: result: no" >&5
4878 echo "${ECHO_T}no" >&6
4879 fi
4880
4881
4882 enablestring=
4883 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4884 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4885 no_cache=0
4886 # Check whether --enable-fontmap or --disable-fontmap was given.
4887 if test "${enable_fontmap+set}" = set; then
4888 enableval="$enable_fontmap"
4889
4890 if test "$enableval" = yes; then
4891 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4892 else
4893 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4894 fi
4895
4896 else
4897
4898 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x ; then
4900 eval "DEFAULT_$LINE"
4901 else
4902 no_cache=1
4903 fi
4904
4905 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4906
4907 fi;
4908
4909 eval "$ac_cv_use_fontmap"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4912 fi
4913
4914 if test "$wxUSE_FONTMAP" = yes; then
4915 echo "$as_me:$LINENO: result: yes" >&5
4916 echo "${ECHO_T}yes" >&6
4917 else
4918 echo "$as_me:$LINENO: result: no" >&5
4919 echo "${ECHO_T}no" >&6
4920 fi
4921
4922
4923 enablestring=
4924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4925 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4926 no_cache=0
4927 # Check whether --enable-unicode or --disable-unicode was given.
4928 if test "${enable_unicode+set}" = set; then
4929 enableval="$enable_unicode"
4930
4931 if test "$enableval" = yes; then
4932 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4933 else
4934 ac_cv_use_unicode='wxUSE_UNICODE=no'
4935 fi
4936
4937 else
4938
4939 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x ; then
4941 eval "DEFAULT_$LINE"
4942 else
4943 no_cache=1
4944 fi
4945
4946 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4947
4948 fi;
4949
4950 eval "$ac_cv_use_unicode"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4953 fi
4954
4955 if test "$wxUSE_UNICODE" = yes; then
4956 echo "$as_me:$LINENO: result: yes" >&5
4957 echo "${ECHO_T}yes" >&6
4958 else
4959 echo "$as_me:$LINENO: result: no" >&5
4960 echo "${ECHO_T}no" >&6
4961 fi
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-mslu or --disable-mslu was given.
4969 if test "${enable_mslu+set}" = set; then
4970 enableval="$enable_mslu"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4974 else
4975 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4988
4989 fi;
4990
4991 eval "$ac_cv_use_mslu"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_UNICODE_MSLU" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5010 if test "${enable_wxprintfv+set}" = set; then
5011 enableval="$enable_wxprintfv"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5015 else
5016 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5029
5030 fi;
5031
5032 eval "$ac_cv_use_wxprintfv"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5051 if test "${enable_std_iostreams+set}" = set; then
5052 enableval="$enable_std_iostreams"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5056 else
5057 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5070
5071 fi;
5072
5073 eval "$ac_cv_use_std_iostreams"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_STD_IOSTREAM" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-filesystem or --disable-filesystem was given.
5092 if test "${enable_filesystem+set}" = set; then
5093 enableval="$enable_filesystem"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5097 else
5098 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5111
5112 fi;
5113
5114 eval "$ac_cv_use_filesystem"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_FILESYSTEM" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5133 if test "${enable_fs_inet+set}" = set; then
5134 enableval="$enable_fs_inet"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5138 else
5139 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5152
5153 fi;
5154
5155 eval "$ac_cv_use_fs_inet"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_FS_INET" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5174 if test "${enable_fs_zip+set}" = set; then
5175 enableval="$enable_fs_zip"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5179 else
5180 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5181 fi
5182
5183 else
5184
5185 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5193
5194 fi;
5195
5196 eval "$ac_cv_use_fs_zip"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_FS_ZIP" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-zipstream or --disable-zipstream was given.
5215 if test "${enable_zipstream+set}" = set; then
5216 enableval="$enable_zipstream"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5220 else
5221 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5234
5235 fi;
5236
5237 eval "$ac_cv_use_zipstream"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_ZIPSTREAM" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251
5252 enablestring=
5253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5254 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5255 no_cache=0
5256 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5257 if test "${enable_catch_segvs+set}" = set; then
5258 enableval="$enable_catch_segvs"
5259
5260 if test "$enableval" = yes; then
5261 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5262 else
5263 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5264 fi
5265
5266 else
5267
5268 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x ; then
5270 eval "DEFAULT_$LINE"
5271 else
5272 no_cache=1
5273 fi
5274
5275 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5276
5277 fi;
5278
5279 eval "$ac_cv_use_catch_segvs"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5282 fi
5283
5284 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5285 echo "$as_me:$LINENO: result: yes" >&5
5286 echo "${ECHO_T}yes" >&6
5287 else
5288 echo "$as_me:$LINENO: result: no" >&5
5289 echo "${ECHO_T}no" >&6
5290 fi
5291
5292
5293 enablestring=
5294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5296 no_cache=0
5297 # Check whether --enable-snglinst or --disable-snglinst was given.
5298 if test "${enable_snglinst+set}" = set; then
5299 enableval="$enable_snglinst"
5300
5301 if test "$enableval" = yes; then
5302 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5303 else
5304 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5305 fi
5306
5307 else
5308
5309 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x ; then
5311 eval "DEFAULT_$LINE"
5312 else
5313 no_cache=1
5314 fi
5315
5316 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5317
5318 fi;
5319
5320 eval "$ac_cv_use_snglinst"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5323 fi
5324
5325 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5326 echo "$as_me:$LINENO: result: yes" >&5
5327 echo "${ECHO_T}yes" >&6
5328 else
5329 echo "$as_me:$LINENO: result: no" >&5
5330 echo "${ECHO_T}no" >&6
5331 fi
5332
5333
5334
5335 enablestring=
5336 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5337 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5338 no_cache=0
5339 # Check whether --enable-mimetype or --disable-mimetype was given.
5340 if test "${enable_mimetype+set}" = set; then
5341 enableval="$enable_mimetype"
5342
5343 if test "$enableval" = yes; then
5344 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5345 else
5346 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5347 fi
5348
5349 else
5350
5351 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x ; then
5353 eval "DEFAULT_$LINE"
5354 else
5355 no_cache=1
5356 fi
5357
5358 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5359
5360 fi;
5361
5362 eval "$ac_cv_use_mimetype"
5363 if test "$no_cache" != 1; then
5364 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5365 fi
5366
5367 if test "$wxUSE_MIMETYPE" = yes; then
5368 echo "$as_me:$LINENO: result: yes" >&5
5369 echo "${ECHO_T}yes" >&6
5370 else
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5373 fi
5374
5375
5376 enablestring=
5377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5378 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5379 no_cache=0
5380 # Check whether --enable-system_options or --disable-system_options was given.
5381 if test "${enable_system_options+set}" = set; then
5382 enableval="$enable_system_options"
5383
5384 if test "$enableval" = yes; then
5385 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5386 else
5387 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5388 fi
5389
5390 else
5391
5392 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x ; then
5394 eval "DEFAULT_$LINE"
5395 else
5396 no_cache=1
5397 fi
5398
5399 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5400
5401 fi;
5402
5403 eval "$ac_cv_use_system_options"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5406 fi
5407
5408 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5409 echo "$as_me:$LINENO: result: yes" >&5
5410 echo "${ECHO_T}yes" >&6
5411 else
5412 echo "$as_me:$LINENO: result: no" >&5
5413 echo "${ECHO_T}no" >&6
5414 fi
5415
5416
5417
5418 enablestring=
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5421 no_cache=0
5422 # Check whether --enable-url or --disable-url was given.
5423 if test "${enable_url+set}" = set; then
5424 enableval="$enable_url"
5425
5426 if test "$enableval" = yes; then
5427 ac_cv_use_url='wxUSE_URL=yes'
5428 else
5429 ac_cv_use_url='wxUSE_URL=no'
5430 fi
5431
5432 else
5433
5434 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5442
5443 fi;
5444
5445 eval "$ac_cv_use_url"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test "$wxUSE_URL" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5453 else
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5456 fi
5457
5458
5459 enablestring=
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5462 no_cache=0
5463 # Check whether --enable-protocol or --disable-protocol was given.
5464 if test "${enable_protocol+set}" = set; then
5465 enableval="$enable_protocol"
5466
5467 if test "$enableval" = yes; then
5468 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5469 else
5470 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5471 fi
5472
5473 else
5474
5475 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5483
5484 fi;
5485
5486 eval "$ac_cv_use_protocol"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5489 fi
5490
5491 if test "$wxUSE_PROTOCOL" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5494 else
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5497 fi
5498
5499
5500 enablestring=
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5503 no_cache=0
5504 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5505 if test "${enable_protocol_http+set}" = set; then
5506 enableval="$enable_protocol_http"
5507
5508 if test "$enableval" = yes; then
5509 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5510 else
5511 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5512 fi
5513
5514 else
5515
5516 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5524
5525 fi;
5526
5527 eval "$ac_cv_use_protocol_http"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5535 else
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5538 fi
5539
5540
5541 enablestring=
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5544 no_cache=0
5545 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5546 if test "${enable_protocol_ftp+set}" = set; then
5547 enableval="$enable_protocol_ftp"
5548
5549 if test "$enableval" = yes; then
5550 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5551 else
5552 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5553 fi
5554
5555 else
5556
5557 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5565
5566 fi;
5567
5568 eval "$ac_cv_use_protocol_ftp"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5571 fi
5572
5573 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5576 else
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5579 fi
5580
5581
5582 enablestring=
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5585 no_cache=0
5586 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5587 if test "${enable_protocol_file+set}" = set; then
5588 enableval="$enable_protocol_file"
5589
5590 if test "$enableval" = yes; then
5591 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5592 else
5593 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5594 fi
5595
5596 else
5597
5598 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5606
5607 fi;
5608
5609 eval "$ac_cv_use_protocol_file"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5612 fi
5613
5614 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5617 else
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5620 fi
5621
5622
5623
5624
5625
5626 enablestring=
5627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5628 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5629 no_cache=0
5630 # Check whether --enable-threads or --disable-threads was given.
5631 if test "${enable_threads+set}" = set; then
5632 enableval="$enable_threads"
5633
5634 if test "$enableval" = yes; then
5635 ac_cv_use_threads='wxUSE_THREADS=yes'
5636 else
5637 ac_cv_use_threads='wxUSE_THREADS=no'
5638 fi
5639
5640 else
5641
5642 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5643 if test "x$LINE" != x ; then
5644 eval "DEFAULT_$LINE"
5645 else
5646 no_cache=1
5647 fi
5648
5649 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5650
5651 fi;
5652
5653 eval "$ac_cv_use_threads"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5656 fi
5657
5658 if test "$wxUSE_THREADS" = yes; then
5659 echo "$as_me:$LINENO: result: yes" >&5
5660 echo "${ECHO_T}yes" >&6
5661 else
5662 echo "$as_me:$LINENO: result: no" >&5
5663 echo "${ECHO_T}no" >&6
5664 fi
5665
5666
5667 if test "$wxUSE_GUI" = "yes"; then
5668
5669
5670
5671 enablestring=
5672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5674 no_cache=0
5675 # Check whether --enable-docview or --disable-docview was given.
5676 if test "${enable_docview+set}" = set; then
5677 enableval="$enable_docview"
5678
5679 if test "$enableval" = yes; then
5680 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5681 else
5682 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5683 fi
5684
5685 else
5686
5687 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x ; then
5689 eval "DEFAULT_$LINE"
5690 else
5691 no_cache=1
5692 fi
5693
5694 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5695
5696 fi;
5697
5698 eval "$ac_cv_use_docview"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5701 fi
5702
5703 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5704 echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6
5706 else
5707 echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6
5709 fi
5710
5711
5712 enablestring=
5713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5715 no_cache=0
5716 # Check whether --enable-help or --disable-help was given.
5717 if test "${enable_help+set}" = set; then
5718 enableval="$enable_help"
5719
5720 if test "$enableval" = yes; then
5721 ac_cv_use_help='wxUSE_HELP=yes'
5722 else
5723 ac_cv_use_help='wxUSE_HELP=no'
5724 fi
5725
5726 else
5727
5728 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5729 if test "x$LINE" != x ; then
5730 eval "DEFAULT_$LINE"
5731 else
5732 no_cache=1
5733 fi
5734
5735 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5736
5737 fi;
5738
5739 eval "$ac_cv_use_help"
5740 if test "$no_cache" != 1; then
5741 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5742 fi
5743
5744 if test "$wxUSE_HELP" = yes; then
5745 echo "$as_me:$LINENO: result: yes" >&5
5746 echo "${ECHO_T}yes" >&6
5747 else
5748 echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6
5750 fi
5751
5752
5753 enablestring=
5754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5756 no_cache=0
5757 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5758 if test "${enable_mshtmlhelp+set}" = set; then
5759 enableval="$enable_mshtmlhelp"
5760
5761 if test "$enableval" = yes; then
5762 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5763 else
5764 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5765 fi
5766
5767 else
5768
5769 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x ; then
5771 eval "DEFAULT_$LINE"
5772 else
5773 no_cache=1
5774 fi
5775
5776 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5777
5778 fi;
5779
5780 eval "$ac_cv_use_mshtmlhelp"
5781 if test "$no_cache" != 1; then
5782 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5783 fi
5784
5785 if test "$wxUSE_MS_HTML_HELP" = yes; then
5786 echo "$as_me:$LINENO: result: yes" >&5
5787 echo "${ECHO_T}yes" >&6
5788 else
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5791 fi
5792
5793
5794 enablestring=
5795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5796 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5797 no_cache=0
5798 # Check whether --enable-html or --disable-html was given.
5799 if test "${enable_html+set}" = set; then
5800 enableval="$enable_html"
5801
5802 if test "$enableval" = yes; then
5803 ac_cv_use_html='wxUSE_HTML=yes'
5804 else
5805 ac_cv_use_html='wxUSE_HTML=no'
5806 fi
5807
5808 else
5809
5810 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5811 if test "x$LINE" != x ; then
5812 eval "DEFAULT_$LINE"
5813 else
5814 no_cache=1
5815 fi
5816
5817 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5818
5819 fi;
5820
5821 eval "$ac_cv_use_html"
5822 if test "$no_cache" != 1; then
5823 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5824 fi
5825
5826 if test "$wxUSE_HTML" = yes; then
5827 echo "$as_me:$LINENO: result: yes" >&5
5828 echo "${ECHO_T}yes" >&6
5829 else
5830 echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6
5832 fi
5833
5834
5835 enablestring=
5836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5837 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5838 no_cache=0
5839 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5840 if test "${enable_htmlhelp+set}" = set; then
5841 enableval="$enable_htmlhelp"
5842
5843 if test "$enableval" = yes; then
5844 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5845 else
5846 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5847 fi
5848
5849 else
5850
5851 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x ; then
5853 eval "DEFAULT_$LINE"
5854 else
5855 no_cache=1
5856 fi
5857
5858 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5859
5860 fi;
5861
5862 eval "$ac_cv_use_htmlhelp"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5865 fi
5866
5867 if test "$wxUSE_WXHTML_HELP" = yes; then
5868 echo "$as_me:$LINENO: result: yes" >&5
5869 echo "${ECHO_T}yes" >&6
5870 else
5871 echo "$as_me:$LINENO: result: no" >&5
5872 echo "${ECHO_T}no" >&6
5873 fi
5874
5875
5876 enablestring=
5877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5878 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5879 no_cache=0
5880 # Check whether --enable-constraints or --disable-constraints was given.
5881 if test "${enable_constraints+set}" = set; then
5882 enableval="$enable_constraints"
5883
5884 if test "$enableval" = yes; then
5885 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5886 else
5887 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5888 fi
5889
5890 else
5891
5892 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5893 if test "x$LINE" != x ; then
5894 eval "DEFAULT_$LINE"
5895 else
5896 no_cache=1
5897 fi
5898
5899 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5900
5901 fi;
5902
5903 eval "$ac_cv_use_constraints"
5904 if test "$no_cache" != 1; then
5905 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5906 fi
5907
5908 if test "$wxUSE_CONSTRAINTS" = yes; then
5909 echo "$as_me:$LINENO: result: yes" >&5
5910 echo "${ECHO_T}yes" >&6
5911 else
5912 echo "$as_me:$LINENO: result: no" >&5
5913 echo "${ECHO_T}no" >&6
5914 fi
5915
5916
5917 enablestring=
5918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5919 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5920 no_cache=0
5921 # Check whether --enable-printarch or --disable-printarch was given.
5922 if test "${enable_printarch+set}" = set; then
5923 enableval="$enable_printarch"
5924
5925 if test "$enableval" = yes; then
5926 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5927 else
5928 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5929 fi
5930
5931 else
5932
5933 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5934 if test "x$LINE" != x ; then
5935 eval "DEFAULT_$LINE"
5936 else
5937 no_cache=1
5938 fi
5939
5940 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5941
5942 fi;
5943
5944 eval "$ac_cv_use_printarch"
5945 if test "$no_cache" != 1; then
5946 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5947 fi
5948
5949 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5950 echo "$as_me:$LINENO: result: yes" >&5
5951 echo "${ECHO_T}yes" >&6
5952 else
5953 echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5955 fi
5956
5957
5958 enablestring=
5959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
5960 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
5961 no_cache=0
5962 # Check whether --enable-mdi or --disable-mdi was given.
5963 if test "${enable_mdi+set}" = set; then
5964 enableval="$enable_mdi"
5965
5966 if test "$enableval" = yes; then
5967 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
5968 else
5969 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
5970 fi
5971
5972 else
5973
5974 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5975 if test "x$LINE" != x ; then
5976 eval "DEFAULT_$LINE"
5977 else
5978 no_cache=1
5979 fi
5980
5981 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5982
5983 fi;
5984
5985 eval "$ac_cv_use_mdi"
5986 if test "$no_cache" != 1; then
5987 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5988 fi
5989
5990 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5991 echo "$as_me:$LINENO: result: yes" >&5
5992 echo "${ECHO_T}yes" >&6
5993 else
5994 echo "$as_me:$LINENO: result: no" >&5
5995 echo "${ECHO_T}no" >&6
5996 fi
5997
5998
5999 enablestring=
6000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6001 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6002 no_cache=0
6003 # Check whether --enable-loggui or --disable-loggui was given.
6004 if test "${enable_loggui+set}" = set; then
6005 enableval="$enable_loggui"
6006
6007 if test "$enableval" = yes; then
6008 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6009 else
6010 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6011 fi
6012
6013 else
6014
6015 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x ; then
6017 eval "DEFAULT_$LINE"
6018 else
6019 no_cache=1
6020 fi
6021
6022 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6023
6024 fi;
6025
6026 eval "$ac_cv_use_loggui"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6029 fi
6030
6031 if test "$wxUSE_LOGGUI" = yes; then
6032 echo "$as_me:$LINENO: result: yes" >&5
6033 echo "${ECHO_T}yes" >&6
6034 else
6035 echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6
6037 fi
6038
6039
6040 enablestring=
6041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6042 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6043 no_cache=0
6044 # Check whether --enable-logwin or --disable-logwin was given.
6045 if test "${enable_logwin+set}" = set; then
6046 enableval="$enable_logwin"
6047
6048 if test "$enableval" = yes; then
6049 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6050 else
6051 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6052 fi
6053
6054 else
6055
6056 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6057 if test "x$LINE" != x ; then
6058 eval "DEFAULT_$LINE"
6059 else
6060 no_cache=1
6061 fi
6062
6063 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6064
6065 fi;
6066
6067 eval "$ac_cv_use_logwin"
6068 if test "$no_cache" != 1; then
6069 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6070 fi
6071
6072 if test "$wxUSE_LOGWINDOW" = yes; then
6073 echo "$as_me:$LINENO: result: yes" >&5
6074 echo "${ECHO_T}yes" >&6
6075 else
6076 echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6
6078 fi
6079
6080
6081 enablestring=
6082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6083 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6084 no_cache=0
6085 # Check whether --enable-logdialog or --disable-logdialog was given.
6086 if test "${enable_logdialog+set}" = set; then
6087 enableval="$enable_logdialog"
6088
6089 if test "$enableval" = yes; then
6090 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6091 else
6092 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6093 fi
6094
6095 else
6096
6097 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6098 if test "x$LINE" != x ; then
6099 eval "DEFAULT_$LINE"
6100 else
6101 no_cache=1
6102 fi
6103
6104 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6105
6106 fi;
6107
6108 eval "$ac_cv_use_logdialog"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6111 fi
6112
6113 if test "$wxUSE_LOGDIALOG" = yes; then
6114 echo "$as_me:$LINENO: result: yes" >&5
6115 echo "${ECHO_T}yes" >&6
6116 else
6117 echo "$as_me:$LINENO: result: no" >&5
6118 echo "${ECHO_T}no" >&6
6119 fi
6120
6121
6122
6123 enablestring=
6124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6126 no_cache=0
6127 # Check whether --enable-postscript or --disable-postscript was given.
6128 if test "${enable_postscript+set}" = set; then
6129 enableval="$enable_postscript"
6130
6131 if test "$enableval" = yes; then
6132 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6133 else
6134 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6135 fi
6136
6137 else
6138
6139 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6142 else
6143 no_cache=1
6144 fi
6145
6146 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6147
6148 fi;
6149
6150 eval "$ac_cv_use_postscript"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6153 fi
6154
6155 if test "$wxUSE_POSTSCRIPT" = yes; then
6156 echo "$as_me:$LINENO: result: yes" >&5
6157 echo "${ECHO_T}yes" >&6
6158 else
6159 echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6
6161 fi
6162
6163
6164
6165
6166
6167 enablestring=
6168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6170 no_cache=0
6171 # Check whether --enable-prologio or --disable-prologio was given.
6172 if test "${enable_prologio+set}" = set; then
6173 enableval="$enable_prologio"
6174
6175 if test "$enableval" = yes; then
6176 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6177 else
6178 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6179 fi
6180
6181 else
6182
6183 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 else
6187 no_cache=1
6188 fi
6189
6190 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6191
6192 fi;
6193
6194 eval "$ac_cv_use_prologio"
6195 if test "$no_cache" != 1; then
6196 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6197 fi
6198
6199 if test "$wxUSE_PROLOGIO" = yes; then
6200 echo "$as_me:$LINENO: result: yes" >&5
6201 echo "${ECHO_T}yes" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6205 fi
6206
6207
6208 enablestring=
6209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6211 no_cache=0
6212 # Check whether --enable-resources or --disable-resources was given.
6213 if test "${enable_resources+set}" = set; then
6214 enableval="$enable_resources"
6215
6216 if test "$enableval" = yes; then
6217 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6218 else
6219 ac_cv_use_resources='wxUSE_RESOURCES=no'
6220 fi
6221
6222 else
6223
6224 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6232
6233 fi;
6234
6235 eval "$ac_cv_use_resources"
6236 if test "$no_cache" != 1; then
6237 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6238 fi
6239
6240 if test "$wxUSE_RESOURCES" = yes; then
6241 echo "$as_me:$LINENO: result: yes" >&5
6242 echo "${ECHO_T}yes" >&6
6243 else
6244 echo "$as_me:$LINENO: result: no" >&5
6245 echo "${ECHO_T}no" >&6
6246 fi
6247
6248
6249
6250
6251 enablestring=
6252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6253 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6254 no_cache=0
6255 # Check whether --enable-clipboard or --disable-clipboard was given.
6256 if test "${enable_clipboard+set}" = set; then
6257 enableval="$enable_clipboard"
6258
6259 if test "$enableval" = yes; then
6260 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6261 else
6262 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6263 fi
6264
6265 else
6266
6267 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x ; then
6269 eval "DEFAULT_$LINE"
6270 else
6271 no_cache=1
6272 fi
6273
6274 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6275
6276 fi;
6277
6278 eval "$ac_cv_use_clipboard"
6279 if test "$no_cache" != 1; then
6280 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6281 fi
6282
6283 if test "$wxUSE_CLIPBOARD" = yes; then
6284 echo "$as_me:$LINENO: result: yes" >&5
6285 echo "${ECHO_T}yes" >&6
6286 else
6287 echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6
6289 fi
6290
6291
6292 enablestring=
6293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6295 no_cache=0
6296 # Check whether --enable-dnd or --disable-dnd was given.
6297 if test "${enable_dnd+set}" = set; then
6298 enableval="$enable_dnd"
6299
6300 if test "$enableval" = yes; then
6301 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6302 else
6303 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6304 fi
6305
6306 else
6307
6308 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x ; then
6310 eval "DEFAULT_$LINE"
6311 else
6312 no_cache=1
6313 fi
6314
6315 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6316
6317 fi;
6318
6319 eval "$ac_cv_use_dnd"
6320 if test "$no_cache" != 1; then
6321 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6322 fi
6323
6324 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6325 echo "$as_me:$LINENO: result: yes" >&5
6326 echo "${ECHO_T}yes" >&6
6327 else
6328 echo "$as_me:$LINENO: result: no" >&5
6329 echo "${ECHO_T}no" >&6
6330 fi
6331
6332
6333 enablestring=
6334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6336 no_cache=0
6337 # Check whether --enable-metafile or --disable-metafile was given.
6338 if test "${enable_metafile+set}" = set; then
6339 enableval="$enable_metafile"
6340
6341 if test "$enableval" = yes; then
6342 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6343 else
6344 ac_cv_use_metafile='wxUSE_METAFILE=no'
6345 fi
6346
6347 else
6348
6349 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x ; then
6351 eval "DEFAULT_$LINE"
6352 else
6353 no_cache=1
6354 fi
6355
6356 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6357
6358 fi;
6359
6360 eval "$ac_cv_use_metafile"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6363 fi
6364
6365 if test "$wxUSE_METAFILE" = yes; then
6366 echo "$as_me:$LINENO: result: yes" >&5
6367 echo "${ECHO_T}yes" >&6
6368 else
6369 echo "$as_me:$LINENO: result: no" >&5
6370 echo "${ECHO_T}no" >&6
6371 fi
6372
6373
6374
6375
6376
6377 enablestring=
6378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6379 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6380 no_cache=0
6381 # Check whether --enable-controls or --disable-controls was given.
6382 if test "${enable_controls+set}" = set; then
6383 enableval="$enable_controls"
6384
6385 if test "$enableval" = yes; then
6386 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6387 else
6388 ac_cv_use_controls='wxUSE_CONTROLS=no'
6389 fi
6390
6391 else
6392
6393 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6394 if test "x$LINE" != x ; then
6395 eval "DEFAULT_$LINE"
6396 else
6397 no_cache=1
6398 fi
6399
6400 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6401
6402 fi;
6403
6404 eval "$ac_cv_use_controls"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6407 fi
6408
6409 if test "$wxUSE_CONTROLS" = yes; then
6410 echo "$as_me:$LINENO: result: yes" >&5
6411 echo "${ECHO_T}yes" >&6
6412 else
6413 echo "$as_me:$LINENO: result: no" >&5
6414 echo "${ECHO_T}no" >&6
6415 fi
6416
6417
6418 if test "$wxUSE_CONTROLS" = "yes"; then
6419 DEFAULT_wxUSE_ACCEL=yes
6420 DEFAULT_wxUSE_BMPBUTTON=yes
6421 DEFAULT_wxUSE_BUTTON=yes
6422 DEFAULT_wxUSE_CALCTRL=no
6423 DEFAULT_wxUSE_CARET=yes
6424 DEFAULT_wxUSE_COMBOBOX=yes
6425 DEFAULT_wxUSE_CHECKBOX=yes
6426 DEFAULT_wxUSE_CHECKLISTBOX=yes
6427 DEFAULT_wxUSE_CHOICE=yes
6428 DEFAULT_wxUSE_GAUGE=yes
6429 DEFAULT_wxUSE_GRID=yes
6430 DEFAULT_wxUSE_IMAGLIST=yes
6431 DEFAULT_wxUSE_LISTBOX=yes
6432 DEFAULT_wxUSE_LISTCTRL=yes
6433 DEFAULT_wxUSE_NOTEBOOK=yes
6434 DEFAULT_wxUSE_RADIOBOX=yes
6435 DEFAULT_wxUSE_RADIOBTN=yes
6436 DEFAULT_wxUSE_SASH=yes
6437 DEFAULT_wxUSE_SCROLLBAR=yes
6438 DEFAULT_wxUSE_SLIDER=yes
6439 DEFAULT_wxUSE_SPINBTN=yes
6440 DEFAULT_wxUSE_SPINCTRL=yes
6441 DEFAULT_wxUSE_SPLITTER=yes
6442 DEFAULT_wxUSE_STATBMP=yes
6443 DEFAULT_wxUSE_STATBOX=yes
6444 DEFAULT_wxUSE_STATLINE=yes
6445 DEFAULT_wxUSE_STATUSBAR=yes
6446 DEFAULT_wxUSE_TAB_DIALOG=yes
6447 DEFAULT_wxUSE_TOGGLEBTN=yes
6448 DEFAULT_wxUSE_TOOLBAR=yes
6449 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6450 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6451 DEFAULT_wxUSE_TOOLTIPS=yes
6452 DEFAULT_wxUSE_TREECTRL=yes
6453 DEFAULT_wxUSE_POPUPWIN=yes
6454 DEFAULT_wxUSE_TIPWINDOW=yes
6455 elif test "$wxUSE_CONTROLS" = "no"; then
6456 DEFAULT_wxUSE_ACCEL=no
6457 DEFAULT_wxUSE_BMPBUTTON=no
6458 DEFAULT_wxUSE_BUTTON=no
6459 DEFAULT_wxUSE_CALCTRL=no
6460 DEFAULT_wxUSE_CARET=no
6461 DEFAULT_wxUSE_COMBOBOX=no
6462 DEFAULT_wxUSE_CHECKBOX=no
6463 DEFAULT_wxUSE_CHECKLISTBOX=no
6464 DEFAULT_wxUSE_CHOICE=no
6465 DEFAULT_wxUSE_GAUGE=no
6466 DEFAULT_wxUSE_GRID=no
6467 DEFAULT_wxUSE_IMAGLIST=no
6468 DEFAULT_wxUSE_LISTBOX=no
6469 DEFAULT_wxUSE_LISTCTRL=no
6470 DEFAULT_wxUSE_NOTEBOOK=no
6471 DEFAULT_wxUSE_RADIOBOX=no
6472 DEFAULT_wxUSE_RADIOBTN=no
6473 DEFAULT_wxUSE_SASH=no
6474 DEFAULT_wxUSE_SCROLLBAR=no
6475 DEFAULT_wxUSE_SLIDER=no
6476 DEFAULT_wxUSE_SPINBTN=no
6477 DEFAULT_wxUSE_SPINCTRL=no
6478 DEFAULT_wxUSE_SPLITTER=no
6479 DEFAULT_wxUSE_STATBMP=no
6480 DEFAULT_wxUSE_STATBOX=no
6481 DEFAULT_wxUSE_STATLINE=no
6482 DEFAULT_wxUSE_STATUSBAR=no
6483 DEFAULT_wxUSE_TAB_DIALOG=no
6484 DEFAULT_wxUSE_TOGGLEBTN=no
6485 DEFAULT_wxUSE_TOOLBAR=no
6486 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6487 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6488 DEFAULT_wxUSE_TOOLTIPS=no
6489 DEFAULT_wxUSE_TREECTRL=no
6490 DEFAULT_wxUSE_POPUPWIN=no
6491 DEFAULT_wxUSE_TIPWINDOW=no
6492 fi
6493
6494 ## FIXME: This is a blatant hack
6495 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6496 wxUSE_PRINTING_ARCHITECTURE=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_SCROLLBAR=no
6504 DEFAULT_wxUSE_TOOLTIPS=no
6505 DEFAULT_wxUSE_DRAGIMAGE=no
6506 fi
6507
6508
6509 enablestring=
6510 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6512 no_cache=0
6513 # Check whether --enable-accel or --disable-accel was given.
6514 if test "${enable_accel+set}" = set; then
6515 enableval="$enable_accel"
6516
6517 if test "$enableval" = yes; then
6518 ac_cv_use_accel='wxUSE_ACCEL=yes'
6519 else
6520 ac_cv_use_accel='wxUSE_ACCEL=no'
6521 fi
6522
6523 else
6524
6525 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x ; then
6527 eval "DEFAULT_$LINE"
6528 else
6529 no_cache=1
6530 fi
6531
6532 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6533
6534 fi;
6535
6536 eval "$ac_cv_use_accel"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6539 fi
6540
6541 if test "$wxUSE_ACCEL" = yes; then
6542 echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6
6544 else
6545 echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6
6547 fi
6548
6549
6550 enablestring=
6551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6553 no_cache=0
6554 # Check whether --enable-button or --disable-button was given.
6555 if test "${enable_button+set}" = set; then
6556 enableval="$enable_button"
6557
6558 if test "$enableval" = yes; then
6559 ac_cv_use_button='wxUSE_BUTTON=yes'
6560 else
6561 ac_cv_use_button='wxUSE_BUTTON=no'
6562 fi
6563
6564 else
6565
6566 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6567 if test "x$LINE" != x ; then
6568 eval "DEFAULT_$LINE"
6569 else
6570 no_cache=1
6571 fi
6572
6573 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6574
6575 fi;
6576
6577 eval "$ac_cv_use_button"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6580 fi
6581
6582 if test "$wxUSE_BUTTON" = yes; then
6583 echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6
6585 else
6586 echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6
6588 fi
6589
6590
6591 enablestring=
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6594 no_cache=0
6595 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6596 if test "${enable_bmpbutton+set}" = set; then
6597 enableval="$enable_bmpbutton"
6598
6599 if test "$enableval" = yes; then
6600 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6601 else
6602 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6603 fi
6604
6605 else
6606
6607 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6610 else
6611 no_cache=1
6612 fi
6613
6614 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6615
6616 fi;
6617
6618 eval "$ac_cv_use_bmpbutton"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test "$wxUSE_BMPBUTTON" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6626 else
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6629 fi
6630
6631
6632 enablestring=
6633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6635 no_cache=0
6636 # Check whether --enable-calendar or --disable-calendar was given.
6637 if test "${enable_calendar+set}" = set; then
6638 enableval="$enable_calendar"
6639
6640 if test "$enableval" = yes; then
6641 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6642 else
6643 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6644 fi
6645
6646 else
6647
6648 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x ; then
6650 eval "DEFAULT_$LINE"
6651 else
6652 no_cache=1
6653 fi
6654
6655 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6656
6657 fi;
6658
6659 eval "$ac_cv_use_calendar"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_CALCTRL" = yes; then
6665 echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6
6667 else
6668 echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6
6670 fi
6671
6672
6673 enablestring=
6674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6676 no_cache=0
6677 # Check whether --enable-caret or --disable-caret was given.
6678 if test "${enable_caret+set}" = set; then
6679 enableval="$enable_caret"
6680
6681 if test "$enableval" = yes; then
6682 ac_cv_use_caret='wxUSE_CARET=yes'
6683 else
6684 ac_cv_use_caret='wxUSE_CARET=no'
6685 fi
6686
6687 else
6688
6689 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6690 if test "x$LINE" != x ; then
6691 eval "DEFAULT_$LINE"
6692 else
6693 no_cache=1
6694 fi
6695
6696 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6697
6698 fi;
6699
6700 eval "$ac_cv_use_caret"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6703 fi
6704
6705 if test "$wxUSE_CARET" = yes; then
6706 echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6
6708 else
6709 echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6
6711 fi
6712
6713
6714 enablestring=
6715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6717 no_cache=0
6718 # Check whether --enable-checkbox or --disable-checkbox was given.
6719 if test "${enable_checkbox+set}" = set; then
6720 enableval="$enable_checkbox"
6721
6722 if test "$enableval" = yes; then
6723 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6724 else
6725 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6726 fi
6727
6728 else
6729
6730 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6731 if test "x$LINE" != x ; then
6732 eval "DEFAULT_$LINE"
6733 else
6734 no_cache=1
6735 fi
6736
6737 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6738
6739 fi;
6740
6741 eval "$ac_cv_use_checkbox"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_CHECKBOX" = yes; then
6747 echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6
6749 else
6750 echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6
6752 fi
6753
6754
6755 enablestring=
6756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6758 no_cache=0
6759 # Check whether --enable-checklst or --disable-checklst was given.
6760 if test "${enable_checklst+set}" = set; then
6761 enableval="$enable_checklst"
6762
6763 if test "$enableval" = yes; then
6764 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6765 else
6766 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6767 fi
6768
6769 else
6770
6771 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6772 if test "x$LINE" != x ; then
6773 eval "DEFAULT_$LINE"
6774 else
6775 no_cache=1
6776 fi
6777
6778 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6779
6780 fi;
6781
6782 eval "$ac_cv_use_checklst"
6783 if test "$no_cache" != 1; then
6784 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6785 fi
6786
6787 if test "$wxUSE_CHECKLST" = yes; then
6788 echo "$as_me:$LINENO: result: yes" >&5
6789 echo "${ECHO_T}yes" >&6
6790 else
6791 echo "$as_me:$LINENO: result: no" >&5
6792 echo "${ECHO_T}no" >&6
6793 fi
6794
6795
6796 enablestring=
6797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6799 no_cache=0
6800 # Check whether --enable-choice or --disable-choice was given.
6801 if test "${enable_choice+set}" = set; then
6802 enableval="$enable_choice"
6803
6804 if test "$enableval" = yes; then
6805 ac_cv_use_choice='wxUSE_CHOICE=yes'
6806 else
6807 ac_cv_use_choice='wxUSE_CHOICE=no'
6808 fi
6809
6810 else
6811
6812 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6813 if test "x$LINE" != x ; then
6814 eval "DEFAULT_$LINE"
6815 else
6816 no_cache=1
6817 fi
6818
6819 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6820
6821 fi;
6822
6823 eval "$ac_cv_use_choice"
6824 if test "$no_cache" != 1; then
6825 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6826 fi
6827
6828 if test "$wxUSE_CHOICE" = yes; then
6829 echo "$as_me:$LINENO: result: yes" >&5
6830 echo "${ECHO_T}yes" >&6
6831 else
6832 echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6
6834 fi
6835
6836
6837 enablestring=
6838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6839 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6840 no_cache=0
6841 # Check whether --enable-combobox or --disable-combobox was given.
6842 if test "${enable_combobox+set}" = set; then
6843 enableval="$enable_combobox"
6844
6845 if test "$enableval" = yes; then
6846 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6847 else
6848 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6849 fi
6850
6851 else
6852
6853 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6854 if test "x$LINE" != x ; then
6855 eval "DEFAULT_$LINE"
6856 else
6857 no_cache=1
6858 fi
6859
6860 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6861
6862 fi;
6863
6864 eval "$ac_cv_use_combobox"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6867 fi
6868
6869 if test "$wxUSE_COMBOBOX" = yes; then
6870 echo "$as_me:$LINENO: result: yes" >&5
6871 echo "${ECHO_T}yes" >&6
6872 else
6873 echo "$as_me:$LINENO: result: no" >&5
6874 echo "${ECHO_T}no" >&6
6875 fi
6876
6877
6878 enablestring=
6879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6880 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6881 no_cache=0
6882 # Check whether --enable-display or --disable-display was given.
6883 if test "${enable_display+set}" = set; then
6884 enableval="$enable_display"
6885
6886 if test "$enableval" = yes; then
6887 ac_cv_use_display='wxUSE_DISPLAY=yes'
6888 else
6889 ac_cv_use_display='wxUSE_DISPLAY=no'
6890 fi
6891
6892 else
6893
6894 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6895 if test "x$LINE" != x ; then
6896 eval "DEFAULT_$LINE"
6897 else
6898 no_cache=1
6899 fi
6900
6901 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6902
6903 fi;
6904
6905 eval "$ac_cv_use_display"
6906 if test "$no_cache" != 1; then
6907 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6908 fi
6909
6910 if test "$wxUSE_DISPLAY" = yes; then
6911 echo "$as_me:$LINENO: result: yes" >&5
6912 echo "${ECHO_T}yes" >&6
6913 else
6914 echo "$as_me:$LINENO: result: no" >&5
6915 echo "${ECHO_T}no" >&6
6916 fi
6917
6918
6919 enablestring=
6920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6921 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6922 no_cache=0
6923 # Check whether --enable-gauge or --disable-gauge was given.
6924 if test "${enable_gauge+set}" = set; then
6925 enableval="$enable_gauge"
6926
6927 if test "$enableval" = yes; then
6928 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6929 else
6930 ac_cv_use_gauge='wxUSE_GAUGE=no'
6931 fi
6932
6933 else
6934
6935 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6936 if test "x$LINE" != x ; then
6937 eval "DEFAULT_$LINE"
6938 else
6939 no_cache=1
6940 fi
6941
6942 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6943
6944 fi;
6945
6946 eval "$ac_cv_use_gauge"
6947 if test "$no_cache" != 1; then
6948 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6949 fi
6950
6951 if test "$wxUSE_GAUGE" = yes; then
6952 echo "$as_me:$LINENO: result: yes" >&5
6953 echo "${ECHO_T}yes" >&6
6954 else
6955 echo "$as_me:$LINENO: result: no" >&5
6956 echo "${ECHO_T}no" >&6
6957 fi
6958
6959
6960 enablestring=
6961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
6963 no_cache=0
6964 # Check whether --enable-grid or --disable-grid was given.
6965 if test "${enable_grid+set}" = set; then
6966 enableval="$enable_grid"
6967
6968 if test "$enableval" = yes; then
6969 ac_cv_use_grid='wxUSE_GRID=yes'
6970 else
6971 ac_cv_use_grid='wxUSE_GRID=no'
6972 fi
6973
6974 else
6975
6976 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x ; then
6978 eval "DEFAULT_$LINE"
6979 else
6980 no_cache=1
6981 fi
6982
6983 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6984
6985 fi;
6986
6987 eval "$ac_cv_use_grid"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6990 fi
6991
6992 if test "$wxUSE_GRID" = yes; then
6993 echo "$as_me:$LINENO: result: yes" >&5
6994 echo "${ECHO_T}yes" >&6
6995 else
6996 echo "$as_me:$LINENO: result: no" >&5
6997 echo "${ECHO_T}no" >&6
6998 fi
6999
7000
7001 enablestring=
7002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7003 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7004 no_cache=0
7005 # Check whether --enable-imaglist or --disable-imaglist was given.
7006 if test "${enable_imaglist+set}" = set; then
7007 enableval="$enable_imaglist"
7008
7009 if test "$enableval" = yes; then
7010 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7011 else
7012 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7013 fi
7014
7015 else
7016
7017 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7018 if test "x$LINE" != x ; then
7019 eval "DEFAULT_$LINE"
7020 else
7021 no_cache=1
7022 fi
7023
7024 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7025
7026 fi;
7027
7028 eval "$ac_cv_use_imaglist"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7031 fi
7032
7033 if test "$wxUSE_IMAGLIST" = yes; then
7034 echo "$as_me:$LINENO: result: yes" >&5
7035 echo "${ECHO_T}yes" >&6
7036 else
7037 echo "$as_me:$LINENO: result: no" >&5
7038 echo "${ECHO_T}no" >&6
7039 fi
7040
7041
7042 enablestring=
7043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7045 no_cache=0
7046 # Check whether --enable-listbox or --disable-listbox was given.
7047 if test "${enable_listbox+set}" = set; then
7048 enableval="$enable_listbox"
7049
7050 if test "$enableval" = yes; then
7051 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7052 else
7053 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7054 fi
7055
7056 else
7057
7058 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7059 if test "x$LINE" != x ; then
7060 eval "DEFAULT_$LINE"
7061 else
7062 no_cache=1
7063 fi
7064
7065 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7066
7067 fi;
7068
7069 eval "$ac_cv_use_listbox"
7070 if test "$no_cache" != 1; then
7071 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7072 fi
7073
7074 if test "$wxUSE_LISTBOX" = yes; then
7075 echo "$as_me:$LINENO: result: yes" >&5
7076 echo "${ECHO_T}yes" >&6
7077 else
7078 echo "$as_me:$LINENO: result: no" >&5
7079 echo "${ECHO_T}no" >&6
7080 fi
7081
7082
7083 enablestring=
7084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7085 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7086 no_cache=0
7087 # Check whether --enable-listctrl or --disable-listctrl was given.
7088 if test "${enable_listctrl+set}" = set; then
7089 enableval="$enable_listctrl"
7090
7091 if test "$enableval" = yes; then
7092 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7093 else
7094 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7095 fi
7096
7097 else
7098
7099 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7100 if test "x$LINE" != x ; then
7101 eval "DEFAULT_$LINE"
7102 else
7103 no_cache=1
7104 fi
7105
7106 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7107
7108 fi;
7109
7110 eval "$ac_cv_use_listctrl"
7111 if test "$no_cache" != 1; then
7112 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7113 fi
7114
7115 if test "$wxUSE_LISTCTRL" = yes; then
7116 echo "$as_me:$LINENO: result: yes" >&5
7117 echo "${ECHO_T}yes" >&6
7118 else
7119 echo "$as_me:$LINENO: result: no" >&5
7120 echo "${ECHO_T}no" >&6
7121 fi
7122
7123
7124 enablestring=
7125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7126 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7127 no_cache=0
7128 # Check whether --enable-notebook or --disable-notebook was given.
7129 if test "${enable_notebook+set}" = set; then
7130 enableval="$enable_notebook"
7131
7132 if test "$enableval" = yes; then
7133 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7134 else
7135 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7136 fi
7137
7138 else
7139
7140 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7141 if test "x$LINE" != x ; then
7142 eval "DEFAULT_$LINE"
7143 else
7144 no_cache=1
7145 fi
7146
7147 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7148
7149 fi;
7150
7151 eval "$ac_cv_use_notebook"
7152 if test "$no_cache" != 1; then
7153 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7154 fi
7155
7156 if test "$wxUSE_NOTEBOOK" = yes; then
7157 echo "$as_me:$LINENO: result: yes" >&5
7158 echo "${ECHO_T}yes" >&6
7159 else
7160 echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6
7162 fi
7163
7164
7165 enablestring=
7166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7167 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7168 no_cache=0
7169 # Check whether --enable-radiobox or --disable-radiobox was given.
7170 if test "${enable_radiobox+set}" = set; then
7171 enableval="$enable_radiobox"
7172
7173 if test "$enableval" = yes; then
7174 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7175 else
7176 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7177 fi
7178
7179 else
7180
7181 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7182 if test "x$LINE" != x ; then
7183 eval "DEFAULT_$LINE"
7184 else
7185 no_cache=1
7186 fi
7187
7188 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7189
7190 fi;
7191
7192 eval "$ac_cv_use_radiobox"
7193 if test "$no_cache" != 1; then
7194 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7195 fi
7196
7197 if test "$wxUSE_RADIOBOX" = yes; then
7198 echo "$as_me:$LINENO: result: yes" >&5
7199 echo "${ECHO_T}yes" >&6
7200 else
7201 echo "$as_me:$LINENO: result: no" >&5
7202 echo "${ECHO_T}no" >&6
7203 fi
7204
7205
7206 enablestring=
7207 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7208 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7209 no_cache=0
7210 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7211 if test "${enable_radiobtn+set}" = set; then
7212 enableval="$enable_radiobtn"
7213
7214 if test "$enableval" = yes; then
7215 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7216 else
7217 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7218 fi
7219
7220 else
7221
7222 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7223 if test "x$LINE" != x ; then
7224 eval "DEFAULT_$LINE"
7225 else
7226 no_cache=1
7227 fi
7228
7229 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7230
7231 fi;
7232
7233 eval "$ac_cv_use_radiobtn"
7234 if test "$no_cache" != 1; then
7235 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7236 fi
7237
7238 if test "$wxUSE_RADIOBTN" = yes; then
7239 echo "$as_me:$LINENO: result: yes" >&5
7240 echo "${ECHO_T}yes" >&6
7241 else
7242 echo "$as_me:$LINENO: result: no" >&5
7243 echo "${ECHO_T}no" >&6
7244 fi
7245
7246
7247 enablestring=
7248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7249 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7250 no_cache=0
7251 # Check whether --enable-sash or --disable-sash was given.
7252 if test "${enable_sash+set}" = set; then
7253 enableval="$enable_sash"
7254
7255 if test "$enableval" = yes; then
7256 ac_cv_use_sash='wxUSE_SASH=yes'
7257 else
7258 ac_cv_use_sash='wxUSE_SASH=no'
7259 fi
7260
7261 else
7262
7263 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7264 if test "x$LINE" != x ; then
7265 eval "DEFAULT_$LINE"
7266 else
7267 no_cache=1
7268 fi
7269
7270 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7271
7272 fi;
7273
7274 eval "$ac_cv_use_sash"
7275 if test "$no_cache" != 1; then
7276 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7277 fi
7278
7279 if test "$wxUSE_SASH" = yes; then
7280 echo "$as_me:$LINENO: result: yes" >&5
7281 echo "${ECHO_T}yes" >&6
7282 else
7283 echo "$as_me:$LINENO: result: no" >&5
7284 echo "${ECHO_T}no" >&6
7285 fi
7286
7287
7288 enablestring=
7289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7290 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7291 no_cache=0
7292 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7293 if test "${enable_scrollbar+set}" = set; then
7294 enableval="$enable_scrollbar"
7295
7296 if test "$enableval" = yes; then
7297 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7298 else
7299 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7300 fi
7301
7302 else
7303
7304 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x ; then
7306 eval "DEFAULT_$LINE"
7307 else
7308 no_cache=1
7309 fi
7310
7311 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7312
7313 fi;
7314
7315 eval "$ac_cv_use_scrollbar"
7316 if test "$no_cache" != 1; then
7317 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7318 fi
7319
7320 if test "$wxUSE_SCROLLBAR" = yes; then
7321 echo "$as_me:$LINENO: result: yes" >&5
7322 echo "${ECHO_T}yes" >&6
7323 else
7324 echo "$as_me:$LINENO: result: no" >&5
7325 echo "${ECHO_T}no" >&6
7326 fi
7327
7328
7329 enablestring=
7330 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7331 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7332 no_cache=0
7333 # Check whether --enable-slider or --disable-slider was given.
7334 if test "${enable_slider+set}" = set; then
7335 enableval="$enable_slider"
7336
7337 if test "$enableval" = yes; then
7338 ac_cv_use_slider='wxUSE_SLIDER=yes'
7339 else
7340 ac_cv_use_slider='wxUSE_SLIDER=no'
7341 fi
7342
7343 else
7344
7345 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7346 if test "x$LINE" != x ; then
7347 eval "DEFAULT_$LINE"
7348 else
7349 no_cache=1
7350 fi
7351
7352 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7353
7354 fi;
7355
7356 eval "$ac_cv_use_slider"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7359 fi
7360
7361 if test "$wxUSE_SLIDER" = yes; then
7362 echo "$as_me:$LINENO: result: yes" >&5
7363 echo "${ECHO_T}yes" >&6
7364 else
7365 echo "$as_me:$LINENO: result: no" >&5
7366 echo "${ECHO_T}no" >&6
7367 fi
7368
7369
7370 enablestring=
7371 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7372 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7373 no_cache=0
7374 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7375 if test "${enable_spinbtn+set}" = set; then
7376 enableval="$enable_spinbtn"
7377
7378 if test "$enableval" = yes; then
7379 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7380 else
7381 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7382 fi
7383
7384 else
7385
7386 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7387 if test "x$LINE" != x ; then
7388 eval "DEFAULT_$LINE"
7389 else
7390 no_cache=1
7391 fi
7392
7393 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7394
7395 fi;
7396
7397 eval "$ac_cv_use_spinbtn"
7398 if test "$no_cache" != 1; then
7399 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7400 fi
7401
7402 if test "$wxUSE_SPINBTN" = yes; then
7403 echo "$as_me:$LINENO: result: yes" >&5
7404 echo "${ECHO_T}yes" >&6
7405 else
7406 echo "$as_me:$LINENO: result: no" >&5
7407 echo "${ECHO_T}no" >&6
7408 fi
7409
7410
7411 enablestring=
7412 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7413 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7414 no_cache=0
7415 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7416 if test "${enable_spinctrl+set}" = set; then
7417 enableval="$enable_spinctrl"
7418
7419 if test "$enableval" = yes; then
7420 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7421 else
7422 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7423 fi
7424
7425 else
7426
7427 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x ; then
7429 eval "DEFAULT_$LINE"
7430 else
7431 no_cache=1
7432 fi
7433
7434 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7435
7436 fi;
7437
7438 eval "$ac_cv_use_spinctrl"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7441 fi
7442
7443 if test "$wxUSE_SPINCTRL" = yes; then
7444 echo "$as_me:$LINENO: result: yes" >&5
7445 echo "${ECHO_T}yes" >&6
7446 else
7447 echo "$as_me:$LINENO: result: no" >&5
7448 echo "${ECHO_T}no" >&6
7449 fi
7450
7451
7452 enablestring=
7453 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7454 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7455 no_cache=0
7456 # Check whether --enable-splitter or --disable-splitter was given.
7457 if test "${enable_splitter+set}" = set; then
7458 enableval="$enable_splitter"
7459
7460 if test "$enableval" = yes; then
7461 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7462 else
7463 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7464 fi
7465
7466 else
7467
7468 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7469 if test "x$LINE" != x ; then
7470 eval "DEFAULT_$LINE"
7471 else
7472 no_cache=1
7473 fi
7474
7475 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7476
7477 fi;
7478
7479 eval "$ac_cv_use_splitter"
7480 if test "$no_cache" != 1; then
7481 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7482 fi
7483
7484 if test "$wxUSE_SPLITTER" = yes; then
7485 echo "$as_me:$LINENO: result: yes" >&5
7486 echo "${ECHO_T}yes" >&6
7487 else
7488 echo "$as_me:$LINENO: result: no" >&5
7489 echo "${ECHO_T}no" >&6
7490 fi
7491
7492
7493 enablestring=
7494 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7495 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7496 no_cache=0
7497 # Check whether --enable-statbmp or --disable-statbmp was given.
7498 if test "${enable_statbmp+set}" = set; then
7499 enableval="$enable_statbmp"
7500
7501 if test "$enableval" = yes; then
7502 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7503 else
7504 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7505 fi
7506
7507 else
7508
7509 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7510 if test "x$LINE" != x ; then
7511 eval "DEFAULT_$LINE"
7512 else
7513 no_cache=1
7514 fi
7515
7516 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7517
7518 fi;
7519
7520 eval "$ac_cv_use_statbmp"
7521 if test "$no_cache" != 1; then
7522 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7523 fi
7524
7525 if test "$wxUSE_STATBMP" = yes; then
7526 echo "$as_me:$LINENO: result: yes" >&5
7527 echo "${ECHO_T}yes" >&6
7528 else
7529 echo "$as_me:$LINENO: result: no" >&5
7530 echo "${ECHO_T}no" >&6
7531 fi
7532
7533
7534 enablestring=
7535 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7536 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7537 no_cache=0
7538 # Check whether --enable-statbox or --disable-statbox was given.
7539 if test "${enable_statbox+set}" = set; then
7540 enableval="$enable_statbox"
7541
7542 if test "$enableval" = yes; then
7543 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7544 else
7545 ac_cv_use_statbox='wxUSE_STATBOX=no'
7546 fi
7547
7548 else
7549
7550 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7551 if test "x$LINE" != x ; then
7552 eval "DEFAULT_$LINE"
7553 else
7554 no_cache=1
7555 fi
7556
7557 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7558
7559 fi;
7560
7561 eval "$ac_cv_use_statbox"
7562 if test "$no_cache" != 1; then
7563 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7564 fi
7565
7566 if test "$wxUSE_STATBOX" = yes; then
7567 echo "$as_me:$LINENO: result: yes" >&5
7568 echo "${ECHO_T}yes" >&6
7569 else
7570 echo "$as_me:$LINENO: result: no" >&5
7571 echo "${ECHO_T}no" >&6
7572 fi
7573
7574
7575 enablestring=
7576 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7577 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7578 no_cache=0
7579 # Check whether --enable-statline or --disable-statline was given.
7580 if test "${enable_statline+set}" = set; then
7581 enableval="$enable_statline"
7582
7583 if test "$enableval" = yes; then
7584 ac_cv_use_statline='wxUSE_STATLINE=yes'
7585 else
7586 ac_cv_use_statline='wxUSE_STATLINE=no'
7587 fi
7588
7589 else
7590
7591 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7592 if test "x$LINE" != x ; then
7593 eval "DEFAULT_$LINE"
7594 else
7595 no_cache=1
7596 fi
7597
7598 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7599
7600 fi;
7601
7602 eval "$ac_cv_use_statline"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7605 fi
7606
7607 if test "$wxUSE_STATLINE" = yes; then
7608 echo "$as_me:$LINENO: result: yes" >&5
7609 echo "${ECHO_T}yes" >&6
7610 else
7611 echo "$as_me:$LINENO: result: no" >&5
7612 echo "${ECHO_T}no" >&6
7613 fi
7614
7615
7616 enablestring=
7617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7618 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7619 no_cache=0
7620 # Check whether --enable-stattext or --disable-stattext was given.
7621 if test "${enable_stattext+set}" = set; then
7622 enableval="$enable_stattext"
7623
7624 if test "$enableval" = yes; then
7625 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7626 else
7627 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7628 fi
7629
7630 else
7631
7632 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7633 if test "x$LINE" != x ; then
7634 eval "DEFAULT_$LINE"
7635 else
7636 no_cache=1
7637 fi
7638
7639 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7640
7641 fi;
7642
7643 eval "$ac_cv_use_stattext"
7644 if test "$no_cache" != 1; then
7645 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7646 fi
7647
7648 if test "$wxUSE_STATTEXT" = yes; then
7649 echo "$as_me:$LINENO: result: yes" >&5
7650 echo "${ECHO_T}yes" >&6
7651 else
7652 echo "$as_me:$LINENO: result: no" >&5
7653 echo "${ECHO_T}no" >&6
7654 fi
7655
7656
7657 enablestring=
7658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7660 no_cache=0
7661 # Check whether --enable-statusbar or --disable-statusbar was given.
7662 if test "${enable_statusbar+set}" = set; then
7663 enableval="$enable_statusbar"
7664
7665 if test "$enableval" = yes; then
7666 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7667 else
7668 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7669 fi
7670
7671 else
7672
7673 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7674 if test "x$LINE" != x ; then
7675 eval "DEFAULT_$LINE"
7676 else
7677 no_cache=1
7678 fi
7679
7680 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7681
7682 fi;
7683
7684 eval "$ac_cv_use_statusbar"
7685 if test "$no_cache" != 1; then
7686 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7687 fi
7688
7689 if test "$wxUSE_STATUSBAR" = yes; then
7690 echo "$as_me:$LINENO: result: yes" >&5
7691 echo "${ECHO_T}yes" >&6
7692 else
7693 echo "$as_me:$LINENO: result: no" >&5
7694 echo "${ECHO_T}no" >&6
7695 fi
7696
7697
7698 enablestring=
7699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7700 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7701 no_cache=0
7702 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7703 if test "${enable_tabdialog+set}" = set; then
7704 enableval="$enable_tabdialog"
7705
7706 if test "$enableval" = yes; then
7707 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7708 else
7709 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7710 fi
7711
7712 else
7713
7714 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7715 if test "x$LINE" != x ; then
7716 eval "DEFAULT_$LINE"
7717 else
7718 no_cache=1
7719 fi
7720
7721 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7722
7723 fi;
7724
7725 eval "$ac_cv_use_tabdialog"
7726 if test "$no_cache" != 1; then
7727 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7728 fi
7729
7730 if test "$wxUSE_TABDIALOG" = yes; then
7731 echo "$as_me:$LINENO: result: yes" >&5
7732 echo "${ECHO_T}yes" >&6
7733 else
7734 echo "$as_me:$LINENO: result: no" >&5
7735 echo "${ECHO_T}no" >&6
7736 fi
7737
7738
7739 enablestring=
7740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7742 no_cache=0
7743 # Check whether --enable-textctrl or --disable-textctrl was given.
7744 if test "${enable_textctrl+set}" = set; then
7745 enableval="$enable_textctrl"
7746
7747 if test "$enableval" = yes; then
7748 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7749 else
7750 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7751 fi
7752
7753 else
7754
7755 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x ; then
7757 eval "DEFAULT_$LINE"
7758 else
7759 no_cache=1
7760 fi
7761
7762 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7763
7764 fi;
7765
7766 eval "$ac_cv_use_textctrl"
7767 if test "$no_cache" != 1; then
7768 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7769 fi
7770
7771 if test "$wxUSE_TEXTCTRL" = yes; then
7772 echo "$as_me:$LINENO: result: yes" >&5
7773 echo "${ECHO_T}yes" >&6
7774 else
7775 echo "$as_me:$LINENO: result: no" >&5
7776 echo "${ECHO_T}no" >&6
7777 fi
7778
7779
7780 enablestring=
7781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7782 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7783 no_cache=0
7784 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7785 if test "${enable_togglebtn+set}" = set; then
7786 enableval="$enable_togglebtn"
7787
7788 if test "$enableval" = yes; then
7789 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7790 else
7791 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7792 fi
7793
7794 else
7795
7796 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x ; then
7798 eval "DEFAULT_$LINE"
7799 else
7800 no_cache=1
7801 fi
7802
7803 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7804
7805 fi;
7806
7807 eval "$ac_cv_use_togglebtn"
7808 if test "$no_cache" != 1; then
7809 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7810 fi
7811
7812 if test "$wxUSE_TOGGLEBTN" = yes; then
7813 echo "$as_me:$LINENO: result: yes" >&5
7814 echo "${ECHO_T}yes" >&6
7815 else
7816 echo "$as_me:$LINENO: result: no" >&5
7817 echo "${ECHO_T}no" >&6
7818 fi
7819
7820
7821 enablestring=
7822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7823 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7824 no_cache=0
7825 # Check whether --enable-toolbar or --disable-toolbar was given.
7826 if test "${enable_toolbar+set}" = set; then
7827 enableval="$enable_toolbar"
7828
7829 if test "$enableval" = yes; then
7830 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7831 else
7832 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7833 fi
7834
7835 else
7836
7837 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7838 if test "x$LINE" != x ; then
7839 eval "DEFAULT_$LINE"
7840 else
7841 no_cache=1
7842 fi
7843
7844 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7845
7846 fi;
7847
7848 eval "$ac_cv_use_toolbar"
7849 if test "$no_cache" != 1; then
7850 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7851 fi
7852
7853 if test "$wxUSE_TOOLBAR" = yes; then
7854 echo "$as_me:$LINENO: result: yes" >&5
7855 echo "${ECHO_T}yes" >&6
7856 else
7857 echo "$as_me:$LINENO: result: no" >&5
7858 echo "${ECHO_T}no" >&6
7859 fi
7860
7861
7862 enablestring=
7863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7864 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7865 no_cache=0
7866 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7867 if test "${enable_tbarnative+set}" = set; then
7868 enableval="$enable_tbarnative"
7869
7870 if test "$enableval" = yes; then
7871 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7872 else
7873 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7874 fi
7875
7876 else
7877
7878 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x ; then
7880 eval "DEFAULT_$LINE"
7881 else
7882 no_cache=1
7883 fi
7884
7885 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7886
7887 fi;
7888
7889 eval "$ac_cv_use_tbarnative"
7890 if test "$no_cache" != 1; then
7891 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7892 fi
7893
7894 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7895 echo "$as_me:$LINENO: result: yes" >&5
7896 echo "${ECHO_T}yes" >&6
7897 else
7898 echo "$as_me:$LINENO: result: no" >&5
7899 echo "${ECHO_T}no" >&6
7900 fi
7901
7902
7903 enablestring=
7904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7905 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7906 no_cache=0
7907 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7908 if test "${enable_tbarsmpl+set}" = set; then
7909 enableval="$enable_tbarsmpl"
7910
7911 if test "$enableval" = yes; then
7912 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7913 else
7914 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7915 fi
7916
7917 else
7918
7919 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x ; then
7921 eval "DEFAULT_$LINE"
7922 else
7923 no_cache=1
7924 fi
7925
7926 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7927
7928 fi;
7929
7930 eval "$ac_cv_use_tbarsmpl"
7931 if test "$no_cache" != 1; then
7932 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7933 fi
7934
7935 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7936 echo "$as_me:$LINENO: result: yes" >&5
7937 echo "${ECHO_T}yes" >&6
7938 else
7939 echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6
7941 fi
7942
7943
7944 enablestring=
7945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7946 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7947 no_cache=0
7948 # Check whether --enable-treectrl or --disable-treectrl was given.
7949 if test "${enable_treectrl+set}" = set; then
7950 enableval="$enable_treectrl"
7951
7952 if test "$enableval" = yes; then
7953 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
7954 else
7955 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
7956 fi
7957
7958 else
7959
7960 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7961 if test "x$LINE" != x ; then
7962 eval "DEFAULT_$LINE"
7963 else
7964 no_cache=1
7965 fi
7966
7967 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7968
7969 fi;
7970
7971 eval "$ac_cv_use_treectrl"
7972 if test "$no_cache" != 1; then
7973 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7974 fi
7975
7976 if test "$wxUSE_TREECTRL" = yes; then
7977 echo "$as_me:$LINENO: result: yes" >&5
7978 echo "${ECHO_T}yes" >&6
7979 else
7980 echo "$as_me:$LINENO: result: no" >&5
7981 echo "${ECHO_T}no" >&6
7982 fi
7983
7984
7985 enablestring=
7986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
7987 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
7988 no_cache=0
7989 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7990 if test "${enable_tipwindow+set}" = set; then
7991 enableval="$enable_tipwindow"
7992
7993 if test "$enableval" = yes; then
7994 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
7995 else
7996 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
7997 fi
7998
7999 else
8000
8001 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8002 if test "x$LINE" != x ; then
8003 eval "DEFAULT_$LINE"
8004 else
8005 no_cache=1
8006 fi
8007
8008 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8009
8010 fi;
8011
8012 eval "$ac_cv_use_tipwindow"
8013 if test "$no_cache" != 1; then
8014 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8015 fi
8016
8017 if test "$wxUSE_TIPWINDOW" = yes; then
8018 echo "$as_me:$LINENO: result: yes" >&5
8019 echo "${ECHO_T}yes" >&6
8020 else
8021 echo "$as_me:$LINENO: result: no" >&5
8022 echo "${ECHO_T}no" >&6
8023 fi
8024
8025
8026 enablestring=
8027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8028 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8029 no_cache=0
8030 # Check whether --enable-popupwin or --disable-popupwin was given.
8031 if test "${enable_popupwin+set}" = set; then
8032 enableval="$enable_popupwin"
8033
8034 if test "$enableval" = yes; then
8035 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8036 else
8037 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8038 fi
8039
8040 else
8041
8042 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8043 if test "x$LINE" != x ; then
8044 eval "DEFAULT_$LINE"
8045 else
8046 no_cache=1
8047 fi
8048
8049 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8050
8051 fi;
8052
8053 eval "$ac_cv_use_popupwin"
8054 if test "$no_cache" != 1; then
8055 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8056 fi
8057
8058 if test "$wxUSE_POPUPWIN" = yes; then
8059 echo "$as_me:$LINENO: result: yes" >&5
8060 echo "${ECHO_T}yes" >&6
8061 else
8062 echo "$as_me:$LINENO: result: no" >&5
8063 echo "${ECHO_T}no" >&6
8064 fi
8065
8066
8067
8068
8069 enablestring=
8070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8072 no_cache=0
8073 # Check whether --enable-commondlg or --disable-commondlg was given.
8074 if test "${enable_commondlg+set}" = set; then
8075 enableval="$enable_commondlg"
8076
8077 if test "$enableval" = yes; then
8078 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8079 else
8080 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8081 fi
8082
8083 else
8084
8085 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8086 if test "x$LINE" != x ; then
8087 eval "DEFAULT_$LINE"
8088 else
8089 no_cache=1
8090 fi
8091
8092 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8093
8094 fi;
8095
8096 eval "$ac_cv_use_commondlg"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_COMMONDLGS" = yes; then
8102 echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6
8104 else
8105 echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6
8107 fi
8108
8109
8110 enablestring=
8111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8113 no_cache=0
8114 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8115 if test "${enable_choicedlg+set}" = set; then
8116 enableval="$enable_choicedlg"
8117
8118 if test "$enableval" = yes; then
8119 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8120 else
8121 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8122 fi
8123
8124 else
8125
8126 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8127 if test "x$LINE" != x ; then
8128 eval "DEFAULT_$LINE"
8129 else
8130 no_cache=1
8131 fi
8132
8133 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8134
8135 fi;
8136
8137 eval "$ac_cv_use_choicedlg"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_CHOICEDLG" = yes; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8145 else
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8148 fi
8149
8150
8151 enablestring=
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8154 no_cache=0
8155 # Check whether --enable-coldlg or --disable-coldlg was given.
8156 if test "${enable_coldlg+set}" = set; then
8157 enableval="$enable_coldlg"
8158
8159 if test "$enableval" = yes; then
8160 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8161 else
8162 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8163 fi
8164
8165 else
8166
8167 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x ; then
8169 eval "DEFAULT_$LINE"
8170 else
8171 no_cache=1
8172 fi
8173
8174 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8175
8176 fi;
8177
8178 eval "$ac_cv_use_coldlg"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_COLOURDLG" = yes; then
8184 echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6
8186 else
8187 echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6
8189 fi
8190
8191
8192 enablestring=
8193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8195 no_cache=0
8196 # Check whether --enable-filedlg or --disable-filedlg was given.
8197 if test "${enable_filedlg+set}" = set; then
8198 enableval="$enable_filedlg"
8199
8200 if test "$enableval" = yes; then
8201 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8202 else
8203 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8204 fi
8205
8206 else
8207
8208 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8209 if test "x$LINE" != x ; then
8210 eval "DEFAULT_$LINE"
8211 else
8212 no_cache=1
8213 fi
8214
8215 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8216
8217 fi;
8218
8219 eval "$ac_cv_use_filedlg"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_FILEDLG" = yes; then
8225 echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6
8227 else
8228 echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6
8230 fi
8231
8232
8233 enablestring=
8234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8236 no_cache=0
8237 # Check whether --enable-finddlg or --disable-finddlg was given.
8238 if test "${enable_finddlg+set}" = set; then
8239 enableval="$enable_finddlg"
8240
8241 if test "$enableval" = yes; then
8242 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8243 else
8244 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8245 fi
8246
8247 else
8248
8249 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8250 if test "x$LINE" != x ; then
8251 eval "DEFAULT_$LINE"
8252 else
8253 no_cache=1
8254 fi
8255
8256 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8257
8258 fi;
8259
8260 eval "$ac_cv_use_finddlg"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_FINDREPLDLG" = yes; then
8266 echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6
8268 else
8269 echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6
8271 fi
8272
8273
8274 enablestring=
8275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8277 no_cache=0
8278 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8279 if test "${enable_fontdlg+set}" = set; then
8280 enableval="$enable_fontdlg"
8281
8282 if test "$enableval" = yes; then
8283 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8284 else
8285 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8286 fi
8287
8288 else
8289
8290 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8291 if test "x$LINE" != x ; then
8292 eval "DEFAULT_$LINE"
8293 else
8294 no_cache=1
8295 fi
8296
8297 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8298
8299 fi;
8300
8301 eval "$ac_cv_use_fontdlg"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_FONTDLG" = yes; then
8307 echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6
8309 else
8310 echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6
8312 fi
8313
8314
8315 enablestring=
8316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8318 no_cache=0
8319 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8320 if test "${enable_dirdlg+set}" = set; then
8321 enableval="$enable_dirdlg"
8322
8323 if test "$enableval" = yes; then
8324 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8325 else
8326 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8339
8340 fi;
8341
8342 eval "$ac_cv_use_dirdlg"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_DIRDLG" = yes; then
8348 echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6
8350 else
8351 echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6
8353 fi
8354
8355
8356 enablestring=
8357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8359 no_cache=0
8360 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8361 if test "${enable_msgdlg+set}" = set; then
8362 enableval="$enable_msgdlg"
8363
8364 if test "$enableval" = yes; then
8365 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8366 else
8367 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8368 fi
8369
8370 else
8371
8372 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8373 if test "x$LINE" != x ; then
8374 eval "DEFAULT_$LINE"
8375 else
8376 no_cache=1
8377 fi
8378
8379 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8380
8381 fi;
8382
8383 eval "$ac_cv_use_msgdlg"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_MSGDLG" = yes; then
8389 echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6
8391 else
8392 echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6
8394 fi
8395
8396
8397 enablestring=
8398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8400 no_cache=0
8401 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8402 if test "${enable_numberdlg+set}" = set; then
8403 enableval="$enable_numberdlg"
8404
8405 if test "$enableval" = yes; then
8406 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8407 else
8408 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8409 fi
8410
8411 else
8412
8413 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8414 if test "x$LINE" != x ; then
8415 eval "DEFAULT_$LINE"
8416 else
8417 no_cache=1
8418 fi
8419
8420 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8421
8422 fi;
8423
8424 eval "$ac_cv_use_numberdlg"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_NUMBERDLG" = yes; then
8430 echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6
8432 else
8433 echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6
8435 fi
8436
8437
8438 enablestring=
8439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8441 no_cache=0
8442 # Check whether --enable-splash or --disable-splash was given.
8443 if test "${enable_splash+set}" = set; then
8444 enableval="$enable_splash"
8445
8446 if test "$enableval" = yes; then
8447 ac_cv_use_splash='wxUSE_SPLASH=yes'
8448 else
8449 ac_cv_use_splash='wxUSE_SPLASH=no'
8450 fi
8451
8452 else
8453
8454 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8455 if test "x$LINE" != x ; then
8456 eval "DEFAULT_$LINE"
8457 else
8458 no_cache=1
8459 fi
8460
8461 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8462
8463 fi;
8464
8465 eval "$ac_cv_use_splash"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_SPLASH" = yes; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8473 else
8474 echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6
8476 fi
8477
8478
8479 enablestring=
8480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8482 no_cache=0
8483 # Check whether --enable-textdlg or --disable-textdlg was given.
8484 if test "${enable_textdlg+set}" = set; then
8485 enableval="$enable_textdlg"
8486
8487 if test "$enableval" = yes; then
8488 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8489 else
8490 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8491 fi
8492
8493 else
8494
8495 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8496 if test "x$LINE" != x ; then
8497 eval "DEFAULT_$LINE"
8498 else
8499 no_cache=1
8500 fi
8501
8502 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8503
8504 fi;
8505
8506 eval "$ac_cv_use_textdlg"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_TEXTDLG" = yes; then
8512 echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6
8514 else
8515 echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6
8517 fi
8518
8519
8520 enablestring=
8521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8522 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8523 no_cache=0
8524 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8525 if test "${enable_tipdlg+set}" = set; then
8526 enableval="$enable_tipdlg"
8527
8528 if test "$enableval" = yes; then
8529 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8530 else
8531 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8532 fi
8533
8534 else
8535
8536 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x ; then
8538 eval "DEFAULT_$LINE"
8539 else
8540 no_cache=1
8541 fi
8542
8543 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8544
8545 fi;
8546
8547 eval "$ac_cv_use_tipdlg"
8548 if test "$no_cache" != 1; then
8549 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8550 fi
8551
8552 if test "$wxUSE_STARTUP_TIPS" = yes; then
8553 echo "$as_me:$LINENO: result: yes" >&5
8554 echo "${ECHO_T}yes" >&6
8555 else
8556 echo "$as_me:$LINENO: result: no" >&5
8557 echo "${ECHO_T}no" >&6
8558 fi
8559
8560
8561 enablestring=
8562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8563 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8564 no_cache=0
8565 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8566 if test "${enable_progressdlg+set}" = set; then
8567 enableval="$enable_progressdlg"
8568
8569 if test "$enableval" = yes; then
8570 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8571 else
8572 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8573 fi
8574
8575 else
8576
8577 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8578 if test "x$LINE" != x ; then
8579 eval "DEFAULT_$LINE"
8580 else
8581 no_cache=1
8582 fi
8583
8584 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8585
8586 fi;
8587
8588 eval "$ac_cv_use_progressdlg"
8589 if test "$no_cache" != 1; then
8590 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8591 fi
8592
8593 if test "$wxUSE_PROGRESSDLG" = yes; then
8594 echo "$as_me:$LINENO: result: yes" >&5
8595 echo "${ECHO_T}yes" >&6
8596 else
8597 echo "$as_me:$LINENO: result: no" >&5
8598 echo "${ECHO_T}no" >&6
8599 fi
8600
8601
8602 enablestring=
8603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8605 no_cache=0
8606 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8607 if test "${enable_wizarddlg+set}" = set; then
8608 enableval="$enable_wizarddlg"
8609
8610 if test "$enableval" = yes; then
8611 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8612 else
8613 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8626
8627 fi;
8628
8629 eval "$ac_cv_use_wizarddlg"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8632 fi
8633
8634 if test "$wxUSE_WIZARDDLG" = yes; then
8635 echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6
8637 else
8638 echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6
8640 fi
8641
8642
8643
8644
8645 enablestring=
8646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8647 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8648 no_cache=0
8649 # Check whether --enable-menus or --disable-menus was given.
8650 if test "${enable_menus+set}" = set; then
8651 enableval="$enable_menus"
8652
8653 if test "$enableval" = yes; then
8654 ac_cv_use_menus='wxUSE_MENUS=yes'
8655 else
8656 ac_cv_use_menus='wxUSE_MENUS=no'
8657 fi
8658
8659 else
8660
8661 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8664 else
8665 no_cache=1
8666 fi
8667
8668 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8669
8670 fi;
8671
8672 eval "$ac_cv_use_menus"
8673 if test "$no_cache" != 1; then
8674 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8675 fi
8676
8677 if test "$wxUSE_MENUS" = yes; then
8678 echo "$as_me:$LINENO: result: yes" >&5
8679 echo "${ECHO_T}yes" >&6
8680 else
8681 echo "$as_me:$LINENO: result: no" >&5
8682 echo "${ECHO_T}no" >&6
8683 fi
8684
8685
8686 enablestring=
8687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8688 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8689 no_cache=0
8690 # Check whether --enable-miniframe or --disable-miniframe was given.
8691 if test "${enable_miniframe+set}" = set; then
8692 enableval="$enable_miniframe"
8693
8694 if test "$enableval" = yes; then
8695 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8696 else
8697 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8698 fi
8699
8700 else
8701
8702 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8703 if test "x$LINE" != x ; then
8704 eval "DEFAULT_$LINE"
8705 else
8706 no_cache=1
8707 fi
8708
8709 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8710
8711 fi;
8712
8713 eval "$ac_cv_use_miniframe"
8714 if test "$no_cache" != 1; then
8715 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8716 fi
8717
8718 if test "$wxUSE_MINIFRAME" = yes; then
8719 echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6
8721 else
8722 echo "$as_me:$LINENO: result: no" >&5
8723 echo "${ECHO_T}no" >&6
8724 fi
8725
8726
8727 enablestring=
8728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8730 no_cache=0
8731 # Check whether --enable-tooltips or --disable-tooltips was given.
8732 if test "${enable_tooltips+set}" = set; then
8733 enableval="$enable_tooltips"
8734
8735 if test "$enableval" = yes; then
8736 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8737 else
8738 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8739 fi
8740
8741 else
8742
8743 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8744 if test "x$LINE" != x ; then
8745 eval "DEFAULT_$LINE"
8746 else
8747 no_cache=1
8748 fi
8749
8750 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8751
8752 fi;
8753
8754 eval "$ac_cv_use_tooltips"
8755 if test "$no_cache" != 1; then
8756 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8757 fi
8758
8759 if test "$wxUSE_TOOLTIPS" = yes; then
8760 echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6
8762 else
8763 echo "$as_me:$LINENO: result: no" >&5
8764 echo "${ECHO_T}no" >&6
8765 fi
8766
8767
8768 enablestring=
8769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8771 no_cache=0
8772 # Check whether --enable-splines or --disable-splines was given.
8773 if test "${enable_splines+set}" = set; then
8774 enableval="$enable_splines"
8775
8776 if test "$enableval" = yes; then
8777 ac_cv_use_splines='wxUSE_SPLINES=yes'
8778 else
8779 ac_cv_use_splines='wxUSE_SPLINES=no'
8780 fi
8781
8782 else
8783
8784 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8785 if test "x$LINE" != x ; then
8786 eval "DEFAULT_$LINE"
8787 else
8788 no_cache=1
8789 fi
8790
8791 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8792
8793 fi;
8794
8795 eval "$ac_cv_use_splines"
8796 if test "$no_cache" != 1; then
8797 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8798 fi
8799
8800 if test "$wxUSE_SPLINES" = yes; then
8801 echo "$as_me:$LINENO: result: yes" >&5
8802 echo "${ECHO_T}yes" >&6
8803 else
8804 echo "$as_me:$LINENO: result: no" >&5
8805 echo "${ECHO_T}no" >&6
8806 fi
8807
8808
8809 enablestring=
8810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8812 no_cache=0
8813 # Check whether --enable-validators or --disable-validators was given.
8814 if test "${enable_validators+set}" = set; then
8815 enableval="$enable_validators"
8816
8817 if test "$enableval" = yes; then
8818 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8819 else
8820 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8821 fi
8822
8823 else
8824
8825 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8826 if test "x$LINE" != x ; then
8827 eval "DEFAULT_$LINE"
8828 else
8829 no_cache=1
8830 fi
8831
8832 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8833
8834 fi;
8835
8836 eval "$ac_cv_use_validators"
8837 if test "$no_cache" != 1; then
8838 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8839 fi
8840
8841 if test "$wxUSE_VALIDATORS" = yes; then
8842 echo "$as_me:$LINENO: result: yes" >&5
8843 echo "${ECHO_T}yes" >&6
8844 else
8845 echo "$as_me:$LINENO: result: no" >&5
8846 echo "${ECHO_T}no" >&6
8847 fi
8848
8849
8850 enablestring=
8851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8852 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8853 no_cache=0
8854 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8855 if test "${enable_busyinfo+set}" = set; then
8856 enableval="$enable_busyinfo"
8857
8858 if test "$enableval" = yes; then
8859 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8860 else
8861 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8862 fi
8863
8864 else
8865
8866 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8867 if test "x$LINE" != x ; then
8868 eval "DEFAULT_$LINE"
8869 else
8870 no_cache=1
8871 fi
8872
8873 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8874
8875 fi;
8876
8877 eval "$ac_cv_use_busyinfo"
8878 if test "$no_cache" != 1; then
8879 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8880 fi
8881
8882 if test "$wxUSE_BUSYINFO" = yes; then
8883 echo "$as_me:$LINENO: result: yes" >&5
8884 echo "${ECHO_T}yes" >&6
8885 else
8886 echo "$as_me:$LINENO: result: no" >&5
8887 echo "${ECHO_T}no" >&6
8888 fi
8889
8890
8891 enablestring=
8892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8893 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8894 no_cache=0
8895 # Check whether --enable-joystick or --disable-joystick was given.
8896 if test "${enable_joystick+set}" = set; then
8897 enableval="$enable_joystick"
8898
8899 if test "$enableval" = yes; then
8900 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8901 else
8902 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8903 fi
8904
8905 else
8906
8907 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8908 if test "x$LINE" != x ; then
8909 eval "DEFAULT_$LINE"
8910 else
8911 no_cache=1
8912 fi
8913
8914 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8915
8916 fi;
8917
8918 eval "$ac_cv_use_joystick"
8919 if test "$no_cache" != 1; then
8920 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8921 fi
8922
8923 if test "$wxUSE_JOYSTICK" = yes; then
8924 echo "$as_me:$LINENO: result: yes" >&5
8925 echo "${ECHO_T}yes" >&6
8926 else
8927 echo "$as_me:$LINENO: result: no" >&5
8928 echo "${ECHO_T}no" >&6
8929 fi
8930
8931
8932 enablestring=
8933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8935 no_cache=0
8936 # Check whether --enable-metafile or --disable-metafile was given.
8937 if test "${enable_metafile+set}" = set; then
8938 enableval="$enable_metafile"
8939
8940 if test "$enableval" = yes; then
8941 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8942 else
8943 ac_cv_use_metafile='wxUSE_METAFILE=no'
8944 fi
8945
8946 else
8947
8948 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8949 if test "x$LINE" != x ; then
8950 eval "DEFAULT_$LINE"
8951 else
8952 no_cache=1
8953 fi
8954
8955 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8956
8957 fi;
8958
8959 eval "$ac_cv_use_metafile"
8960 if test "$no_cache" != 1; then
8961 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8962 fi
8963
8964 if test "$wxUSE_METAFILE" = yes; then
8965 echo "$as_me:$LINENO: result: yes" >&5
8966 echo "${ECHO_T}yes" >&6
8967 else
8968 echo "$as_me:$LINENO: result: no" >&5
8969 echo "${ECHO_T}no" >&6
8970 fi
8971
8972
8973 enablestring=
8974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
8975 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
8976 no_cache=0
8977 # Check whether --enable-dragimage or --disable-dragimage was given.
8978 if test "${enable_dragimage+set}" = set; then
8979 enableval="$enable_dragimage"
8980
8981 if test "$enableval" = yes; then
8982 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
8983 else
8984 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
8985 fi
8986
8987 else
8988
8989 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8990 if test "x$LINE" != x ; then
8991 eval "DEFAULT_$LINE"
8992 else
8993 no_cache=1
8994 fi
8995
8996 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8997
8998 fi;
8999
9000 eval "$ac_cv_use_dragimage"
9001 if test "$no_cache" != 1; then
9002 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9003 fi
9004
9005 if test "$wxUSE_DRAGIMAGE" = yes; then
9006 echo "$as_me:$LINENO: result: yes" >&5
9007 echo "${ECHO_T}yes" >&6
9008 else
9009 echo "$as_me:$LINENO: result: no" >&5
9010 echo "${ECHO_T}no" >&6
9011 fi
9012
9013
9014 enablestring=
9015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9016 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9017 no_cache=0
9018 # Check whether --enable-accessibility or --disable-accessibility was given.
9019 if test "${enable_accessibility+set}" = set; then
9020 enableval="$enable_accessibility"
9021
9022 if test "$enableval" = yes; then
9023 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9024 else
9025 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9026 fi
9027
9028 else
9029
9030 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9031 if test "x$LINE" != x ; then
9032 eval "DEFAULT_$LINE"
9033 else
9034 no_cache=1
9035 fi
9036
9037 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9038
9039 fi;
9040
9041 eval "$ac_cv_use_accessibility"
9042 if test "$no_cache" != 1; then
9043 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9044 fi
9045
9046 if test "$wxUSE_ACCESSIBILITY" = yes; then
9047 echo "$as_me:$LINENO: result: yes" >&5
9048 echo "${ECHO_T}yes" >&6
9049 else
9050 echo "$as_me:$LINENO: result: no" >&5
9051 echo "${ECHO_T}no" >&6
9052 fi
9053
9054
9055
9056
9057 enablestring=
9058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9059 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9060 no_cache=0
9061 # Check whether --enable-palette or --disable-palette was given.
9062 if test "${enable_palette+set}" = set; then
9063 enableval="$enable_palette"
9064
9065 if test "$enableval" = yes; then
9066 ac_cv_use_palette='wxUSE_PALETTE=yes'
9067 else
9068 ac_cv_use_palette='wxUSE_PALETTE=no'
9069 fi
9070
9071 else
9072
9073 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9074 if test "x$LINE" != x ; then
9075 eval "DEFAULT_$LINE"
9076 else
9077 no_cache=1
9078 fi
9079
9080 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9081
9082 fi;
9083
9084 eval "$ac_cv_use_palette"
9085 if test "$no_cache" != 1; then
9086 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9087 fi
9088
9089 if test "$wxUSE_PALETTE" = yes; then
9090 echo "$as_me:$LINENO: result: yes" >&5
9091 echo "${ECHO_T}yes" >&6
9092 else
9093 echo "$as_me:$LINENO: result: no" >&5
9094 echo "${ECHO_T}no" >&6
9095 fi
9096
9097
9098 enablestring=
9099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9100 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9101 no_cache=0
9102 # Check whether --enable-image or --disable-image was given.
9103 if test "${enable_image+set}" = set; then
9104 enableval="$enable_image"
9105
9106 if test "$enableval" = yes; then
9107 ac_cv_use_image='wxUSE_IMAGE=yes'
9108 else
9109 ac_cv_use_image='wxUSE_IMAGE=no'
9110 fi
9111
9112 else
9113
9114 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9115 if test "x$LINE" != x ; then
9116 eval "DEFAULT_$LINE"
9117 else
9118 no_cache=1
9119 fi
9120
9121 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9122
9123 fi;
9124
9125 eval "$ac_cv_use_image"
9126 if test "$no_cache" != 1; then
9127 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9128 fi
9129
9130 if test "$wxUSE_IMAGE" = yes; then
9131 echo "$as_me:$LINENO: result: yes" >&5
9132 echo "${ECHO_T}yes" >&6
9133 else
9134 echo "$as_me:$LINENO: result: no" >&5
9135 echo "${ECHO_T}no" >&6
9136 fi
9137
9138
9139 enablestring=
9140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9141 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9142 no_cache=0
9143 # Check whether --enable-gif or --disable-gif was given.
9144 if test "${enable_gif+set}" = set; then
9145 enableval="$enable_gif"
9146
9147 if test "$enableval" = yes; then
9148 ac_cv_use_gif='wxUSE_GIF=yes'
9149 else
9150 ac_cv_use_gif='wxUSE_GIF=no'
9151 fi
9152
9153 else
9154
9155 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9156 if test "x$LINE" != x ; then
9157 eval "DEFAULT_$LINE"
9158 else
9159 no_cache=1
9160 fi
9161
9162 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9163
9164 fi;
9165
9166 eval "$ac_cv_use_gif"
9167 if test "$no_cache" != 1; then
9168 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9169 fi
9170
9171 if test "$wxUSE_GIF" = yes; then
9172 echo "$as_me:$LINENO: result: yes" >&5
9173 echo "${ECHO_T}yes" >&6
9174 else
9175 echo "$as_me:$LINENO: result: no" >&5
9176 echo "${ECHO_T}no" >&6
9177 fi
9178
9179
9180 enablestring=
9181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9182 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9183 no_cache=0
9184 # Check whether --enable-pcx or --disable-pcx was given.
9185 if test "${enable_pcx+set}" = set; then
9186 enableval="$enable_pcx"
9187
9188 if test "$enableval" = yes; then
9189 ac_cv_use_pcx='wxUSE_PCX=yes'
9190 else
9191 ac_cv_use_pcx='wxUSE_PCX=no'
9192 fi
9193
9194 else
9195
9196 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9197 if test "x$LINE" != x ; then
9198 eval "DEFAULT_$LINE"
9199 else
9200 no_cache=1
9201 fi
9202
9203 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9204
9205 fi;
9206
9207 eval "$ac_cv_use_pcx"
9208 if test "$no_cache" != 1; then
9209 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9210 fi
9211
9212 if test "$wxUSE_PCX" = yes; then
9213 echo "$as_me:$LINENO: result: yes" >&5
9214 echo "${ECHO_T}yes" >&6
9215 else
9216 echo "$as_me:$LINENO: result: no" >&5
9217 echo "${ECHO_T}no" >&6
9218 fi
9219
9220
9221 enablestring=
9222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9223 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9224 no_cache=0
9225 # Check whether --enable-iff or --disable-iff was given.
9226 if test "${enable_iff+set}" = set; then
9227 enableval="$enable_iff"
9228
9229 if test "$enableval" = yes; then
9230 ac_cv_use_iff='wxUSE_IFF=yes'
9231 else
9232 ac_cv_use_iff='wxUSE_IFF=no'
9233 fi
9234
9235 else
9236
9237 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9238 if test "x$LINE" != x ; then
9239 eval "DEFAULT_$LINE"
9240 else
9241 no_cache=1
9242 fi
9243
9244 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9245
9246 fi;
9247
9248 eval "$ac_cv_use_iff"
9249 if test "$no_cache" != 1; then
9250 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9251 fi
9252
9253 if test "$wxUSE_IFF" = yes; then
9254 echo "$as_me:$LINENO: result: yes" >&5
9255 echo "${ECHO_T}yes" >&6
9256 else
9257 echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6
9259 fi
9260
9261
9262 enablestring=
9263 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9265 no_cache=0
9266 # Check whether --enable-pnm or --disable-pnm was given.
9267 if test "${enable_pnm+set}" = set; then
9268 enableval="$enable_pnm"
9269
9270 if test "$enableval" = yes; then
9271 ac_cv_use_pnm='wxUSE_PNM=yes'
9272 else
9273 ac_cv_use_pnm='wxUSE_PNM=no'
9274 fi
9275
9276 else
9277
9278 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9279 if test "x$LINE" != x ; then
9280 eval "DEFAULT_$LINE"
9281 else
9282 no_cache=1
9283 fi
9284
9285 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9286
9287 fi;
9288
9289 eval "$ac_cv_use_pnm"
9290 if test "$no_cache" != 1; then
9291 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9292 fi
9293
9294 if test "$wxUSE_PNM" = yes; then
9295 echo "$as_me:$LINENO: result: yes" >&5
9296 echo "${ECHO_T}yes" >&6
9297 else
9298 echo "$as_me:$LINENO: result: no" >&5
9299 echo "${ECHO_T}no" >&6
9300 fi
9301
9302
9303 enablestring=
9304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9305 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9306 no_cache=0
9307 # Check whether --enable-xpm or --disable-xpm was given.
9308 if test "${enable_xpm+set}" = set; then
9309 enableval="$enable_xpm"
9310
9311 if test "$enableval" = yes; then
9312 ac_cv_use_xpm='wxUSE_XPM=yes'
9313 else
9314 ac_cv_use_xpm='wxUSE_XPM=no'
9315 fi
9316
9317 else
9318
9319 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9320 if test "x$LINE" != x ; then
9321 eval "DEFAULT_$LINE"
9322 else
9323 no_cache=1
9324 fi
9325
9326 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9327
9328 fi;
9329
9330 eval "$ac_cv_use_xpm"
9331 if test "$no_cache" != 1; then
9332 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9333 fi
9334
9335 if test "$wxUSE_XPM" = yes; then
9336 echo "$as_me:$LINENO: result: yes" >&5
9337 echo "${ECHO_T}yes" >&6
9338 else
9339 echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6
9341 fi
9342
9343
9344 enablestring=
9345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9346 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9347 no_cache=0
9348 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9349 if test "${enable_ico_cur+set}" = set; then
9350 enableval="$enable_ico_cur"
9351
9352 if test "$enableval" = yes; then
9353 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9354 else
9355 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9356 fi
9357
9358 else
9359
9360 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9361 if test "x$LINE" != x ; then
9362 eval "DEFAULT_$LINE"
9363 else
9364 no_cache=1
9365 fi
9366
9367 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9368
9369 fi;
9370
9371 eval "$ac_cv_use_ico_cur"
9372 if test "$no_cache" != 1; then
9373 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9374 fi
9375
9376 if test "$wxUSE_ICO_CUR" = yes; then
9377 echo "$as_me:$LINENO: result: yes" >&5
9378 echo "${ECHO_T}yes" >&6
9379 else
9380 echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6
9382 fi
9383
9384
9385 fi
9386
9387 case "${host}" in
9388 *-pc-os2_emx | *-pc-os2-emx )
9389 PATH_IFS=';'
9390 LEX_STEM="lexyy"
9391 ;;
9392 *)
9393 PATH_IFS=':'
9394 LEX_STEM="lex.yy"
9395 ;;
9396 esac
9397
9398
9399
9400 echo "saving argument cache $wx_arg_cache_file"
9401 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9402
9403
9404
9405 echo "$as_me:$LINENO: checking for toolkit" >&5
9406 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9407
9408 # In Wine, we need to default to MSW, not GTK or MOTIF
9409 if test "$wxUSE_WINE" = "yes"; then
9410 DEFAULT_DEFAULT_wxUSE_GTK=0
9411 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9412 DEFAULT_DEFAULT_wxUSE_MSW=1
9413 fi
9414
9415 if test "$wxUSE_GUI" = "yes"; then
9416
9417 if test "$USE_BEOS" = 1; then
9418 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9419 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9420 { (exit 1); exit 1; }; }
9421 fi
9422
9423 if test "$TOOLKIT_GIVEN" = 1; then
9424 for toolkit in `echo $ALL_TOOLKITS`; do
9425 var=wxUSE_$toolkit
9426 eval "value=\$${var}"
9427 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9428 done
9429 else
9430 for toolkit in `echo $ALL_TOOLKITS`; do
9431 if test "$has_toolkit_in_cache" != 1; then
9432 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9433 else
9434 var=DEFAULT_wxUSE_$toolkit
9435 fi
9436 eval "wxUSE_$toolkit=\$${var}"
9437 done
9438 fi
9439
9440 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9441 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9442 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9443
9444 case "${host}" in
9445 *-pc-os2_emx | *-pc-os2-emx )
9446 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9447 esac
9448
9449 case "$NUM_TOOLKITS" in
9450 1)
9451 ;;
9452 0)
9453 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9454 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9455 { (exit 1); exit 1; }; }
9456 ;;
9457 *)
9458 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9459 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9460 { (exit 1); exit 1; }; }
9461 esac
9462
9463 for toolkit in `echo $ALL_TOOLKITS`; do
9464 var=wxUSE_$toolkit
9465 eval "value=\$${var}"
9466 if test "x$value" != x; then
9467 cache_var=CACHE_$toolkit
9468 eval "cache=\$${cache_var}"
9469 if test "$cache" = 1; then
9470 echo "$var=$value" >> ${wx_arg_cache_file}
9471 fi
9472 if test "$value" = 1; then
9473 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9474 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9475 echo "${ECHO_T}$toolkit_echo" >&6
9476 fi
9477 fi
9478 done
9479 else
9480 if test "x$host_alias" != "x"; then
9481 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9482 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9483 else
9484 echo "$as_me:$LINENO: result: base only" >&5
9485 echo "${ECHO_T}base only" >&6
9486 fi
9487 fi
9488
9489 wants_win32=0
9490 doesnt_want_win32=0
9491 case "${host}" in
9492 *-*-cygwin*)
9493 if test "$wxUSE_MSW" = 1 ; then
9494 wants_win32=1
9495 else
9496 doesnt_want_win32=1
9497 fi
9498 ;;
9499 *-*-mingw*)
9500 wants_win32=1
9501 ;;
9502 esac
9503
9504 if test "$wxUSE_WINE" = "yes"; then
9505 wants_win32=1
9506 CC=winegcc
9507 CXX=wineg++
9508 RESCOMP=wrc
9509 fi
9510
9511 if test "$wants_win32" = 1 ; then
9512 USE_UNIX=0
9513 USE_WIN32=1
9514 cat >>confdefs.h <<\_ACEOF
9515 #define __WIN32__ 1
9516 _ACEOF
9517
9518 cat >>confdefs.h <<\_ACEOF
9519 #define __WIN95__ 1
9520 _ACEOF
9521
9522 cat >>confdefs.h <<\_ACEOF
9523 #define __WINDOWS__ 1
9524 _ACEOF
9525
9526 cat >>confdefs.h <<\_ACEOF
9527 #define __GNUWIN32__ 1
9528 _ACEOF
9529
9530 cat >>confdefs.h <<\_ACEOF
9531 #define STRICT 1
9532 _ACEOF
9533
9534 cat >>confdefs.h <<\_ACEOF
9535 #define WINVER 0x0400
9536 _ACEOF
9537
9538 fi
9539 if test "$doesnt_want_win32" = 1 ; then
9540 USE_UNIX=1
9541 USE_WIN32=0
9542 fi
9543
9544 if test "$USE_UNIX" = 1 ; then
9545 wxUSE_UNIX=yes
9546 cat >>confdefs.h <<\_ACEOF
9547 #define __UNIX__ 1
9548 _ACEOF
9549
9550 fi
9551
9552
9553 cat >confcache <<\_ACEOF
9554 # This file is a shell script that caches the results of configure
9555 # tests run on this system so they can be shared between configure
9556 # scripts and configure runs, see configure's option --config-cache.
9557 # It is not useful on other systems. If it contains results you don't
9558 # want to keep, you may remove or edit it.
9559 #
9560 # config.status only pays attention to the cache file if you give it
9561 # the --recheck option to rerun configure.
9562 #
9563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9565 # following values.
9566
9567 _ACEOF
9568
9569 # The following way of writing the cache mishandles newlines in values,
9570 # but we know of no workaround that is simple, portable, and efficient.
9571 # So, don't put newlines in cache variables' values.
9572 # Ultrix sh set writes to stderr and can't be redirected directly,
9573 # and sets the high bit in the cache file unless we assign to the vars.
9574 {
9575 (set) 2>&1 |
9576 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9577 *ac_space=\ *)
9578 # `set' does not quote correctly, so add quotes (double-quote
9579 # substitution turns \\\\ into \\, and sed turns \\ into \).
9580 sed -n \
9581 "s/'/'\\\\''/g;
9582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9583 ;;
9584 *)
9585 # `set' quotes correctly as required by POSIX, so do not add quotes.
9586 sed -n \
9587 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9588 ;;
9589 esac;
9590 } |
9591 sed '
9592 t clear
9593 : clear
9594 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9595 t end
9596 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9597 : end' >>confcache
9598 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9599 if test -w $cache_file; then
9600 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9601 cat confcache >$cache_file
9602 else
9603 echo "not updating unwritable cache $cache_file"
9604 fi
9605 fi
9606 rm -f confcache
9607
9608 if test "$build" != "$host" ; then
9609 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9610 CC=$host_alias-gcc
9611 CXX=$host_alias-c++
9612 AR=$host_alias-ar
9613 RANLIB=$host_alias-ranlib
9614 DLLTOOL=$host_alias-dlltool
9615 RESCOMP=$host_alias-windres
9616 LD=$host_alias-ld
9617 NM=$host_alias-nm
9618 STRIP=$host_alias-strip
9619 else
9620 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9621 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9622 { (exit 1); exit 1; }; }
9623 fi
9624 fi
9625
9626 CFLAGS=${CFLAGS:=}
9627 ac_ext=c
9628 ac_cpp='$CPP $CPPFLAGS'
9629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9632 if test -n "$ac_tool_prefix"; then
9633 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9634 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9635 echo "$as_me:$LINENO: checking for $ac_word" >&5
9636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9637 if test "${ac_cv_prog_CC+set}" = set; then
9638 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 else
9640 if test -n "$CC"; then
9641 ac_cv_prog_CC="$CC" # Let the user override the test.
9642 else
9643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9644 for as_dir in $PATH
9645 do
9646 IFS=$as_save_IFS
9647 test -z "$as_dir" && as_dir=.
9648 for ac_exec_ext in '' $ac_executable_extensions; do
9649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9650 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9652 break 2
9653 fi
9654 done
9655 done
9656
9657 fi
9658 fi
9659 CC=$ac_cv_prog_CC
9660 if test -n "$CC"; then
9661 echo "$as_me:$LINENO: result: $CC" >&5
9662 echo "${ECHO_T}$CC" >&6
9663 else
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9666 fi
9667
9668 fi
9669 if test -z "$ac_cv_prog_CC"; then
9670 ac_ct_CC=$CC
9671 # Extract the first word of "gcc", so it can be a program name with args.
9672 set dummy gcc; ac_word=$2
9673 echo "$as_me:$LINENO: checking for $ac_word" >&5
9674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9677 else
9678 if test -n "$ac_ct_CC"; then
9679 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9680 else
9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9682 for as_dir in $PATH
9683 do
9684 IFS=$as_save_IFS
9685 test -z "$as_dir" && as_dir=.
9686 for ac_exec_ext in '' $ac_executable_extensions; do
9687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9688 ac_cv_prog_ac_ct_CC="gcc"
9689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9690 break 2
9691 fi
9692 done
9693 done
9694
9695 fi
9696 fi
9697 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9698 if test -n "$ac_ct_CC"; then
9699 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9700 echo "${ECHO_T}$ac_ct_CC" >&6
9701 else
9702 echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6
9704 fi
9705
9706 CC=$ac_ct_CC
9707 else
9708 CC="$ac_cv_prog_CC"
9709 fi
9710
9711 if test -z "$CC"; then
9712 if test -n "$ac_tool_prefix"; then
9713 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9714 set dummy ${ac_tool_prefix}cc; ac_word=$2
9715 echo "$as_me:$LINENO: checking for $ac_word" >&5
9716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9717 if test "${ac_cv_prog_CC+set}" = set; then
9718 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 else
9720 if test -n "$CC"; then
9721 ac_cv_prog_CC="$CC" # Let the user override the test.
9722 else
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9724 for as_dir in $PATH
9725 do
9726 IFS=$as_save_IFS
9727 test -z "$as_dir" && as_dir=.
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9730 ac_cv_prog_CC="${ac_tool_prefix}cc"
9731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9732 break 2
9733 fi
9734 done
9735 done
9736
9737 fi
9738 fi
9739 CC=$ac_cv_prog_CC
9740 if test -n "$CC"; then
9741 echo "$as_me:$LINENO: result: $CC" >&5
9742 echo "${ECHO_T}$CC" >&6
9743 else
9744 echo "$as_me:$LINENO: result: no" >&5
9745 echo "${ECHO_T}no" >&6
9746 fi
9747
9748 fi
9749 if test -z "$ac_cv_prog_CC"; then
9750 ac_ct_CC=$CC
9751 # Extract the first word of "cc", so it can be a program name with args.
9752 set dummy cc; ac_word=$2
9753 echo "$as_me:$LINENO: checking for $ac_word" >&5
9754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9756 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 else
9758 if test -n "$ac_ct_CC"; then
9759 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9760 else
9761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9762 for as_dir in $PATH
9763 do
9764 IFS=$as_save_IFS
9765 test -z "$as_dir" && as_dir=.
9766 for ac_exec_ext in '' $ac_executable_extensions; do
9767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9768 ac_cv_prog_ac_ct_CC="cc"
9769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9770 break 2
9771 fi
9772 done
9773 done
9774
9775 fi
9776 fi
9777 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9778 if test -n "$ac_ct_CC"; then
9779 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9780 echo "${ECHO_T}$ac_ct_CC" >&6
9781 else
9782 echo "$as_me:$LINENO: result: no" >&5
9783 echo "${ECHO_T}no" >&6
9784 fi
9785
9786 CC=$ac_ct_CC
9787 else
9788 CC="$ac_cv_prog_CC"
9789 fi
9790
9791 fi
9792 if test -z "$CC"; then
9793 # Extract the first word of "cc", so it can be a program name with args.
9794 set dummy cc; ac_word=$2
9795 echo "$as_me:$LINENO: checking for $ac_word" >&5
9796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9797 if test "${ac_cv_prog_CC+set}" = set; then
9798 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 else
9800 if test -n "$CC"; then
9801 ac_cv_prog_CC="$CC" # Let the user override the test.
9802 else
9803 ac_prog_rejected=no
9804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9805 for as_dir in $PATH
9806 do
9807 IFS=$as_save_IFS
9808 test -z "$as_dir" && as_dir=.
9809 for ac_exec_ext in '' $ac_executable_extensions; do
9810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9811 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9812 ac_prog_rejected=yes
9813 continue
9814 fi
9815 ac_cv_prog_CC="cc"
9816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9817 break 2
9818 fi
9819 done
9820 done
9821
9822 if test $ac_prog_rejected = yes; then
9823 # We found a bogon in the path, so make sure we never use it.
9824 set dummy $ac_cv_prog_CC
9825 shift
9826 if test $# != 0; then
9827 # We chose a different compiler from the bogus one.
9828 # However, it has the same basename, so the bogon will be chosen
9829 # first if we set CC to just the basename; use the full file name.
9830 shift
9831 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9832 fi
9833 fi
9834 fi
9835 fi
9836 CC=$ac_cv_prog_CC
9837 if test -n "$CC"; then
9838 echo "$as_me:$LINENO: result: $CC" >&5
9839 echo "${ECHO_T}$CC" >&6
9840 else
9841 echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6
9843 fi
9844
9845 fi
9846 if test -z "$CC"; then
9847 if test -n "$ac_tool_prefix"; then
9848 for ac_prog in cl
9849 do
9850 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9852 echo "$as_me:$LINENO: checking for $ac_word" >&5
9853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9854 if test "${ac_cv_prog_CC+set}" = set; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9856 else
9857 if test -n "$CC"; then
9858 ac_cv_prog_CC="$CC" # Let the user override the test.
9859 else
9860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9861 for as_dir in $PATH
9862 do
9863 IFS=$as_save_IFS
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9867 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 break 2
9870 fi
9871 done
9872 done
9873
9874 fi
9875 fi
9876 CC=$ac_cv_prog_CC
9877 if test -n "$CC"; then
9878 echo "$as_me:$LINENO: result: $CC" >&5
9879 echo "${ECHO_T}$CC" >&6
9880 else
9881 echo "$as_me:$LINENO: result: no" >&5
9882 echo "${ECHO_T}no" >&6
9883 fi
9884
9885 test -n "$CC" && break
9886 done
9887 fi
9888 if test -z "$CC"; then
9889 ac_ct_CC=$CC
9890 for ac_prog in cl
9891 do
9892 # Extract the first word of "$ac_prog", so it can be a program name with args.
9893 set dummy $ac_prog; ac_word=$2
9894 echo "$as_me:$LINENO: checking for $ac_word" >&5
9895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 else
9899 if test -n "$ac_ct_CC"; then
9900 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9901 else
9902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903 for as_dir in $PATH
9904 do
9905 IFS=$as_save_IFS
9906 test -z "$as_dir" && as_dir=.
9907 for ac_exec_ext in '' $ac_executable_extensions; do
9908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9909 ac_cv_prog_ac_ct_CC="$ac_prog"
9910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9911 break 2
9912 fi
9913 done
9914 done
9915
9916 fi
9917 fi
9918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9919 if test -n "$ac_ct_CC"; then
9920 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9921 echo "${ECHO_T}$ac_ct_CC" >&6
9922 else
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9925 fi
9926
9927 test -n "$ac_ct_CC" && break
9928 done
9929
9930 CC=$ac_ct_CC
9931 fi
9932
9933 fi
9934
9935
9936 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
9937 See \`config.log' for more details." >&5
9938 echo "$as_me: error: no acceptable C compiler found in \$PATH
9939 See \`config.log' for more details." >&2;}
9940 { (exit 1); exit 1; }; }
9941
9942 # Provide some information about the compiler.
9943 echo "$as_me:$LINENO:" \
9944 "checking for C compiler version" >&5
9945 ac_compiler=`set X $ac_compile; echo $2`
9946 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
9947 (eval $ac_compiler --version </dev/null >&5) 2>&5
9948 ac_status=$?
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); }
9951 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
9952 (eval $ac_compiler -v </dev/null >&5) 2>&5
9953 ac_status=$?
9954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9955 (exit $ac_status); }
9956 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
9957 (eval $ac_compiler -V </dev/null >&5) 2>&5
9958 ac_status=$?
9959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960 (exit $ac_status); }
9961
9962 cat >conftest.$ac_ext <<_ACEOF
9963 #line $LINENO "configure"
9964 /* confdefs.h. */
9965 _ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9969
9970 int
9971 main ()
9972 {
9973
9974 ;
9975 return 0;
9976 }
9977 _ACEOF
9978 ac_clean_files_save=$ac_clean_files
9979 ac_clean_files="$ac_clean_files a.out a.exe b.out"
9980 # Try to create an executable without -o first, disregard a.out.
9981 # It will help us diagnose broken compilers, and finding out an intuition
9982 # of exeext.
9983 echo "$as_me:$LINENO: checking for C compiler default output" >&5
9984 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9985 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
9986 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
9987 (eval $ac_link_default) 2>&5
9988 ac_status=$?
9989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9990 (exit $ac_status); }; then
9991 # Find the output, starting from the most likely. This scheme is
9992 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
9993 # resort.
9994
9995 # Be careful to initialize this variable, since it used to be cached.
9996 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
9997 ac_cv_exeext=
9998 # b.out is created by i960 compilers.
9999 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10000 do
10001 test -f "$ac_file" || continue
10002 case $ac_file in
10003 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10004 ;;
10005 conftest.$ac_ext )
10006 # This is the source file.
10007 ;;
10008 [ab].out )
10009 # We found the default executable, but exeext='' is most
10010 # certainly right.
10011 break;;
10012 *.* )
10013 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10014 # FIXME: I believe we export ac_cv_exeext for Libtool,
10015 # but it would be cool to find out if it's true. Does anybody
10016 # maintain Libtool? --akim.
10017 export ac_cv_exeext
10018 break;;
10019 * )
10020 break;;
10021 esac
10022 done
10023 else
10024 echo "$as_me: failed program was:" >&5
10025 sed 's/^/| /' conftest.$ac_ext >&5
10026
10027 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10028 See \`config.log' for more details." >&5
10029 echo "$as_me: error: C compiler cannot create executables
10030 See \`config.log' for more details." >&2;}
10031 { (exit 77); exit 77; }; }
10032 fi
10033
10034 ac_exeext=$ac_cv_exeext
10035 echo "$as_me:$LINENO: result: $ac_file" >&5
10036 echo "${ECHO_T}$ac_file" >&6
10037
10038 # Check the compiler produces executables we can run. If not, either
10039 # the compiler is broken, or we cross compile.
10040 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10041 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10042 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10043 # If not cross compiling, check that we can run a simple program.
10044 if test "$cross_compiling" != yes; then
10045 if { ac_try='./$ac_file'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10051 cross_compiling=no
10052 else
10053 if test "$cross_compiling" = maybe; then
10054 cross_compiling=yes
10055 else
10056 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10057 If you meant to cross compile, use \`--host'.
10058 See \`config.log' for more details." >&5
10059 echo "$as_me: error: cannot run C compiled programs.
10060 If you meant to cross compile, use \`--host'.
10061 See \`config.log' for more details." >&2;}
10062 { (exit 1); exit 1; }; }
10063 fi
10064 fi
10065 fi
10066 echo "$as_me:$LINENO: result: yes" >&5
10067 echo "${ECHO_T}yes" >&6
10068
10069 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10070 ac_clean_files=$ac_clean_files_save
10071 # Check the compiler produces executables we can run. If not, either
10072 # the compiler is broken, or we cross compile.
10073 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10074 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10075 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10076 echo "${ECHO_T}$cross_compiling" >&6
10077
10078 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10079 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10081 (eval $ac_link) 2>&5
10082 ac_status=$?
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); }; then
10085 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10086 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10087 # work properly (i.e., refer to `conftest.exe'), while it won't with
10088 # `rm'.
10089 for ac_file in conftest.exe conftest conftest.*; do
10090 test -f "$ac_file" || continue
10091 case $ac_file in
10092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10093 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10094 export ac_cv_exeext
10095 break;;
10096 * ) break;;
10097 esac
10098 done
10099 else
10100 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10101 See \`config.log' for more details." >&5
10102 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10103 See \`config.log' for more details." >&2;}
10104 { (exit 1); exit 1; }; }
10105 fi
10106
10107 rm -f conftest$ac_cv_exeext
10108 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10109 echo "${ECHO_T}$ac_cv_exeext" >&6
10110
10111 rm -f conftest.$ac_ext
10112 EXEEXT=$ac_cv_exeext
10113 ac_exeext=$EXEEXT
10114 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10115 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10116 if test "${ac_cv_objext+set}" = set; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10118 else
10119 cat >conftest.$ac_ext <<_ACEOF
10120 #line $LINENO "configure"
10121 /* confdefs.h. */
10122 _ACEOF
10123 cat confdefs.h >>conftest.$ac_ext
10124 cat >>conftest.$ac_ext <<_ACEOF
10125 /* end confdefs.h. */
10126
10127 int
10128 main ()
10129 {
10130
10131 ;
10132 return 0;
10133 }
10134 _ACEOF
10135 rm -f conftest.o conftest.obj
10136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10137 (eval $ac_compile) 2>&5
10138 ac_status=$?
10139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); }; then
10141 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10142 case $ac_file in
10143 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10144 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10145 break;;
10146 esac
10147 done
10148 else
10149 echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.$ac_ext >&5
10151
10152 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10153 See \`config.log' for more details." >&5
10154 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10155 See \`config.log' for more details." >&2;}
10156 { (exit 1); exit 1; }; }
10157 fi
10158
10159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10160 fi
10161 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10162 echo "${ECHO_T}$ac_cv_objext" >&6
10163 OBJEXT=$ac_cv_objext
10164 ac_objext=$OBJEXT
10165 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10166 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10167 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 else
10170 cat >conftest.$ac_ext <<_ACEOF
10171 #line $LINENO "configure"
10172 /* confdefs.h. */
10173 _ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10177
10178 int
10179 main ()
10180 {
10181 #ifndef __GNUC__
10182 choke me
10183 #endif
10184
10185 ;
10186 return 0;
10187 }
10188 _ACEOF
10189 rm -f conftest.$ac_objext
10190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10191 (eval $ac_compile) 2>&5
10192 ac_status=$?
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try='test -s conftest.$ac_objext'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10198 ac_status=$?
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; }; then
10201 ac_compiler_gnu=yes
10202 else
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.$ac_ext >&5
10205
10206 ac_compiler_gnu=no
10207 fi
10208 rm -f conftest.$ac_objext conftest.$ac_ext
10209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10210
10211 fi
10212 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10213 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10214 GCC=`test $ac_compiler_gnu = yes && echo yes`
10215 ac_test_CFLAGS=${CFLAGS+set}
10216 ac_save_CFLAGS=$CFLAGS
10217 CFLAGS="-g"
10218 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10219 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10220 if test "${ac_cv_prog_cc_g+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10222 else
10223 cat >conftest.$ac_ext <<_ACEOF
10224 #line $LINENO "configure"
10225 /* confdefs.h. */
10226 _ACEOF
10227 cat confdefs.h >>conftest.$ac_ext
10228 cat >>conftest.$ac_ext <<_ACEOF
10229 /* end confdefs.h. */
10230
10231 int
10232 main ()
10233 {
10234
10235 ;
10236 return 0;
10237 }
10238 _ACEOF
10239 rm -f conftest.$ac_objext
10240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10241 (eval $ac_compile) 2>&5
10242 ac_status=$?
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); } &&
10245 { ac_try='test -s conftest.$ac_objext'
10246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10247 (eval $ac_try) 2>&5
10248 ac_status=$?
10249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10250 (exit $ac_status); }; }; then
10251 ac_cv_prog_cc_g=yes
10252 else
10253 echo "$as_me: failed program was:" >&5
10254 sed 's/^/| /' conftest.$ac_ext >&5
10255
10256 ac_cv_prog_cc_g=no
10257 fi
10258 rm -f conftest.$ac_objext conftest.$ac_ext
10259 fi
10260 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10261 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10262 if test "$ac_test_CFLAGS" = set; then
10263 CFLAGS=$ac_save_CFLAGS
10264 elif test $ac_cv_prog_cc_g = yes; then
10265 if test "$GCC" = yes; then
10266 CFLAGS="-g -O2"
10267 else
10268 CFLAGS="-g"
10269 fi
10270 else
10271 if test "$GCC" = yes; then
10272 CFLAGS="-O2"
10273 else
10274 CFLAGS=
10275 fi
10276 fi
10277 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10278 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10279 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
10281 else
10282 ac_cv_prog_cc_stdc=no
10283 ac_save_CC=$CC
10284 cat >conftest.$ac_ext <<_ACEOF
10285 #line $LINENO "configure"
10286 /* confdefs.h. */
10287 _ACEOF
10288 cat confdefs.h >>conftest.$ac_ext
10289 cat >>conftest.$ac_ext <<_ACEOF
10290 /* end confdefs.h. */
10291 #include <stdarg.h>
10292 #include <stdio.h>
10293 #include <sys/types.h>
10294 #include <sys/stat.h>
10295 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10296 struct buf { int x; };
10297 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10298 static char *e (p, i)
10299 char **p;
10300 int i;
10301 {
10302 return p[i];
10303 }
10304 static char *f (char * (*g) (char **, int), char **p, ...)
10305 {
10306 char *s;
10307 va_list v;
10308 va_start (v,p);
10309 s = g (p, va_arg (v,int));
10310 va_end (v);
10311 return s;
10312 }
10313 int test (int i, double x);
10314 struct s1 {int (*f) (int a);};
10315 struct s2 {int (*f) (double a);};
10316 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10317 int argc;
10318 char **argv;
10319 int
10320 main ()
10321 {
10322 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10323 ;
10324 return 0;
10325 }
10326 _ACEOF
10327 # Don't try gcc -ansi; that turns off useful extensions and
10328 # breaks some systems' header files.
10329 # AIX -qlanglvl=ansi
10330 # Ultrix and OSF/1 -std1
10331 # HP-UX 10.20 and later -Ae
10332 # HP-UX older versions -Aa -D_HPUX_SOURCE
10333 # SVR4 -Xc -D__EXTENSIONS__
10334 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10335 do
10336 CC="$ac_save_CC $ac_arg"
10337 rm -f conftest.$ac_objext
10338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10339 (eval $ac_compile) 2>&5
10340 ac_status=$?
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); } &&
10343 { ac_try='test -s conftest.$ac_objext'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10346 ac_status=$?
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 ac_cv_prog_cc_stdc=$ac_arg
10350 break
10351 else
10352 echo "$as_me: failed program was:" >&5
10353 sed 's/^/| /' conftest.$ac_ext >&5
10354
10355 fi
10356 rm -f conftest.$ac_objext
10357 done
10358 rm -f conftest.$ac_ext conftest.$ac_objext
10359 CC=$ac_save_CC
10360
10361 fi
10362
10363 case "x$ac_cv_prog_cc_stdc" in
10364 x|xno)
10365 echo "$as_me:$LINENO: result: none needed" >&5
10366 echo "${ECHO_T}none needed" >&6 ;;
10367 *)
10368 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10369 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10370 CC="$CC $ac_cv_prog_cc_stdc" ;;
10371 esac
10372
10373 # Some people use a C++ compiler to compile C. Since we use `exit',
10374 # in C++ we need to declare it. In case someone uses the same compiler
10375 # for both compiling C and C++ we need to have the C++ compiler decide
10376 # the declaration of exit, since it's the most demanding environment.
10377 cat >conftest.$ac_ext <<_ACEOF
10378 #ifndef __cplusplus
10379 choke me
10380 #endif
10381 _ACEOF
10382 rm -f conftest.$ac_objext
10383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10384 (eval $ac_compile) 2>&5
10385 ac_status=$?
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } &&
10388 { ac_try='test -s conftest.$ac_objext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10391 ac_status=$?
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 for ac_declaration in \
10395 ''\
10396 '#include <stdlib.h>' \
10397 'extern "C" void std::exit (int) throw (); using std::exit;' \
10398 'extern "C" void std::exit (int); using std::exit;' \
10399 'extern "C" void exit (int) throw ();' \
10400 'extern "C" void exit (int);' \
10401 'void exit (int);'
10402 do
10403 cat >conftest.$ac_ext <<_ACEOF
10404 #line $LINENO "configure"
10405 /* confdefs.h. */
10406 _ACEOF
10407 cat confdefs.h >>conftest.$ac_ext
10408 cat >>conftest.$ac_ext <<_ACEOF
10409 /* end confdefs.h. */
10410 #include <stdlib.h>
10411 $ac_declaration
10412 int
10413 main ()
10414 {
10415 exit (42);
10416 ;
10417 return 0;
10418 }
10419 _ACEOF
10420 rm -f conftest.$ac_objext
10421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10422 (eval $ac_compile) 2>&5
10423 ac_status=$?
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } &&
10426 { ac_try='test -s conftest.$ac_objext'
10427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10428 (eval $ac_try) 2>&5
10429 ac_status=$?
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); }; }; then
10432 :
10433 else
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.$ac_ext >&5
10436
10437 continue
10438 fi
10439 rm -f conftest.$ac_objext conftest.$ac_ext
10440 cat >conftest.$ac_ext <<_ACEOF
10441 #line $LINENO "configure"
10442 /* confdefs.h. */
10443 _ACEOF
10444 cat confdefs.h >>conftest.$ac_ext
10445 cat >>conftest.$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10447 $ac_declaration
10448 int
10449 main ()
10450 {
10451 exit (42);
10452 ;
10453 return 0;
10454 }
10455 _ACEOF
10456 rm -f conftest.$ac_objext
10457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10458 (eval $ac_compile) 2>&5
10459 ac_status=$?
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); } &&
10462 { ac_try='test -s conftest.$ac_objext'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10465 ac_status=$?
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; }; then
10468 break
10469 else
10470 echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.$ac_ext >&5
10472
10473 fi
10474 rm -f conftest.$ac_objext conftest.$ac_ext
10475 done
10476 rm -f conftest*
10477 if test -n "$ac_declaration"; then
10478 echo '#ifdef __cplusplus' >>confdefs.h
10479 echo $ac_declaration >>confdefs.h
10480 echo '#endif' >>confdefs.h
10481 fi
10482
10483 else
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.$ac_ext >&5
10486
10487 fi
10488 rm -f conftest.$ac_objext conftest.$ac_ext
10489 ac_ext=c
10490 ac_cpp='$CPP $CPPFLAGS'
10491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10494
10495
10496
10497 ac_ext=c
10498 ac_cpp='$CPP $CPPFLAGS'
10499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10502 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10503 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10504 # On Suns, sometimes $CPP names a directory.
10505 if test -n "$CPP" && test -d "$CPP"; then
10506 CPP=
10507 fi
10508 if test -z "$CPP"; then
10509 if test "${ac_cv_prog_CPP+set}" = set; then
10510 echo $ECHO_N "(cached) $ECHO_C" >&6
10511 else
10512 # Double quotes because CPP needs to be expanded
10513 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10514 do
10515 ac_preproc_ok=false
10516 for ac_c_preproc_warn_flag in '' yes
10517 do
10518 # Use a header file that comes with gcc, so configuring glibc
10519 # with a fresh cross-compiler works.
10520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10521 # <limits.h> exists even on freestanding compilers.
10522 # On the NeXT, cc -E runs the code through the compiler's parser,
10523 # not just through cpp. "Syntax error" is here to catch this case.
10524 cat >conftest.$ac_ext <<_ACEOF
10525 #line $LINENO "configure"
10526 /* confdefs.h. */
10527 _ACEOF
10528 cat confdefs.h >>conftest.$ac_ext
10529 cat >>conftest.$ac_ext <<_ACEOF
10530 /* end confdefs.h. */
10531 #ifdef __STDC__
10532 # include <limits.h>
10533 #else
10534 # include <assert.h>
10535 #endif
10536 Syntax error
10537 _ACEOF
10538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10540 ac_status=$?
10541 grep -v '^ *+' conftest.er1 >conftest.err
10542 rm -f conftest.er1
10543 cat conftest.err >&5
10544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10545 (exit $ac_status); } >/dev/null; then
10546 if test -s conftest.err; then
10547 ac_cpp_err=$ac_c_preproc_warn_flag
10548 else
10549 ac_cpp_err=
10550 fi
10551 else
10552 ac_cpp_err=yes
10553 fi
10554 if test -z "$ac_cpp_err"; then
10555 :
10556 else
10557 echo "$as_me: failed program was:" >&5
10558 sed 's/^/| /' conftest.$ac_ext >&5
10559
10560 # Broken: fails on valid input.
10561 continue
10562 fi
10563 rm -f conftest.err conftest.$ac_ext
10564
10565 # OK, works on sane cases. Now check whether non-existent headers
10566 # can be detected and how.
10567 cat >conftest.$ac_ext <<_ACEOF
10568 #line $LINENO "configure"
10569 /* confdefs.h. */
10570 _ACEOF
10571 cat confdefs.h >>conftest.$ac_ext
10572 cat >>conftest.$ac_ext <<_ACEOF
10573 /* end confdefs.h. */
10574 #include <ac_nonexistent.h>
10575 _ACEOF
10576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10577 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10578 ac_status=$?
10579 grep -v '^ *+' conftest.er1 >conftest.err
10580 rm -f conftest.er1
10581 cat conftest.err >&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); } >/dev/null; then
10584 if test -s conftest.err; then
10585 ac_cpp_err=$ac_c_preproc_warn_flag
10586 else
10587 ac_cpp_err=
10588 fi
10589 else
10590 ac_cpp_err=yes
10591 fi
10592 if test -z "$ac_cpp_err"; then
10593 # Broken: success on invalid input.
10594 continue
10595 else
10596 echo "$as_me: failed program was:" >&5
10597 sed 's/^/| /' conftest.$ac_ext >&5
10598
10599 # Passes both tests.
10600 ac_preproc_ok=:
10601 break
10602 fi
10603 rm -f conftest.err conftest.$ac_ext
10604
10605 done
10606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10607 rm -f conftest.err conftest.$ac_ext
10608 if $ac_preproc_ok; then
10609 break
10610 fi
10611
10612 done
10613 ac_cv_prog_CPP=$CPP
10614
10615 fi
10616 CPP=$ac_cv_prog_CPP
10617 else
10618 ac_cv_prog_CPP=$CPP
10619 fi
10620 echo "$as_me:$LINENO: result: $CPP" >&5
10621 echo "${ECHO_T}$CPP" >&6
10622 ac_preproc_ok=false
10623 for ac_c_preproc_warn_flag in '' yes
10624 do
10625 # Use a header file that comes with gcc, so configuring glibc
10626 # with a fresh cross-compiler works.
10627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10628 # <limits.h> exists even on freestanding compilers.
10629 # On the NeXT, cc -E runs the code through the compiler's parser,
10630 # not just through cpp. "Syntax error" is here to catch this case.
10631 cat >conftest.$ac_ext <<_ACEOF
10632 #line $LINENO "configure"
10633 /* confdefs.h. */
10634 _ACEOF
10635 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10638 #ifdef __STDC__
10639 # include <limits.h>
10640 #else
10641 # include <assert.h>
10642 #endif
10643 Syntax error
10644 _ACEOF
10645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10647 ac_status=$?
10648 grep -v '^ *+' conftest.er1 >conftest.err
10649 rm -f conftest.er1
10650 cat conftest.err >&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } >/dev/null; then
10653 if test -s conftest.err; then
10654 ac_cpp_err=$ac_c_preproc_warn_flag
10655 else
10656 ac_cpp_err=
10657 fi
10658 else
10659 ac_cpp_err=yes
10660 fi
10661 if test -z "$ac_cpp_err"; then
10662 :
10663 else
10664 echo "$as_me: failed program was:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10666
10667 # Broken: fails on valid input.
10668 continue
10669 fi
10670 rm -f conftest.err conftest.$ac_ext
10671
10672 # OK, works on sane cases. Now check whether non-existent headers
10673 # can be detected and how.
10674 cat >conftest.$ac_ext <<_ACEOF
10675 #line $LINENO "configure"
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 #include <ac_nonexistent.h>
10682 _ACEOF
10683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10685 ac_status=$?
10686 grep -v '^ *+' conftest.er1 >conftest.err
10687 rm -f conftest.er1
10688 cat conftest.err >&5
10689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690 (exit $ac_status); } >/dev/null; then
10691 if test -s conftest.err; then
10692 ac_cpp_err=$ac_c_preproc_warn_flag
10693 else
10694 ac_cpp_err=
10695 fi
10696 else
10697 ac_cpp_err=yes
10698 fi
10699 if test -z "$ac_cpp_err"; then
10700 # Broken: success on invalid input.
10701 continue
10702 else
10703 echo "$as_me: failed program was:" >&5
10704 sed 's/^/| /' conftest.$ac_ext >&5
10705
10706 # Passes both tests.
10707 ac_preproc_ok=:
10708 break
10709 fi
10710 rm -f conftest.err conftest.$ac_ext
10711
10712 done
10713 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10714 rm -f conftest.err conftest.$ac_ext
10715 if $ac_preproc_ok; then
10716 :
10717 else
10718 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10719 See \`config.log' for more details." >&5
10720 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10721 See \`config.log' for more details." >&2;}
10722 { (exit 1); exit 1; }; }
10723 fi
10724
10725 ac_ext=c
10726 ac_cpp='$CPP $CPPFLAGS'
10727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10730
10731
10732 echo "$as_me:$LINENO: checking for egrep" >&5
10733 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10734 if test "${ac_cv_prog_egrep+set}" = set; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 else
10737 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10738 then ac_cv_prog_egrep='grep -E'
10739 else ac_cv_prog_egrep='egrep'
10740 fi
10741 fi
10742 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10743 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10744 EGREP=$ac_cv_prog_egrep
10745
10746
10747 if test $ac_cv_c_compiler_gnu = yes; then
10748 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10749 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10750 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 else
10753 ac_pattern="Autoconf.*'x'"
10754 cat >conftest.$ac_ext <<_ACEOF
10755 #line $LINENO "configure"
10756 /* confdefs.h. */
10757 _ACEOF
10758 cat confdefs.h >>conftest.$ac_ext
10759 cat >>conftest.$ac_ext <<_ACEOF
10760 /* end confdefs.h. */
10761 #include <sgtty.h>
10762 Autoconf TIOCGETP
10763 _ACEOF
10764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10765 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10766 ac_cv_prog_gcc_traditional=yes
10767 else
10768 ac_cv_prog_gcc_traditional=no
10769 fi
10770 rm -f conftest*
10771
10772
10773 if test $ac_cv_prog_gcc_traditional = no; then
10774 cat >conftest.$ac_ext <<_ACEOF
10775 #line $LINENO "configure"
10776 /* confdefs.h. */
10777 _ACEOF
10778 cat confdefs.h >>conftest.$ac_ext
10779 cat >>conftest.$ac_ext <<_ACEOF
10780 /* end confdefs.h. */
10781 #include <termio.h>
10782 Autoconf TCGETA
10783 _ACEOF
10784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10785 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10786 ac_cv_prog_gcc_traditional=yes
10787 fi
10788 rm -f conftest*
10789
10790 fi
10791 fi
10792 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10793 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10794 if test $ac_cv_prog_gcc_traditional = yes; then
10795 CC="$CC -traditional"
10796 fi
10797 fi
10798
10799
10800
10801
10802 ac_ext=cc
10803 ac_cpp='$CXXCPP $CPPFLAGS'
10804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10807
10808
10809 CXXFLAGS=${CXXFLAGS:=}
10810 ac_ext=cc
10811 ac_cpp='$CXXCPP $CPPFLAGS'
10812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10815 if test -n "$ac_tool_prefix"; then
10816 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10817 do
10818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10820 echo "$as_me:$LINENO: checking for $ac_word" >&5
10821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10822 if test "${ac_cv_prog_CXX+set}" = set; then
10823 echo $ECHO_N "(cached) $ECHO_C" >&6
10824 else
10825 if test -n "$CXX"; then
10826 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10827 else
10828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10829 for as_dir in $PATH
10830 do
10831 IFS=$as_save_IFS
10832 test -z "$as_dir" && as_dir=.
10833 for ac_exec_ext in '' $ac_executable_extensions; do
10834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10835 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10837 break 2
10838 fi
10839 done
10840 done
10841
10842 fi
10843 fi
10844 CXX=$ac_cv_prog_CXX
10845 if test -n "$CXX"; then
10846 echo "$as_me:$LINENO: result: $CXX" >&5
10847 echo "${ECHO_T}$CXX" >&6
10848 else
10849 echo "$as_me:$LINENO: result: no" >&5
10850 echo "${ECHO_T}no" >&6
10851 fi
10852
10853 test -n "$CXX" && break
10854 done
10855 fi
10856 if test -z "$CXX"; then
10857 ac_ct_CXX=$CXX
10858 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10859 do
10860 # Extract the first word of "$ac_prog", so it can be a program name with args.
10861 set dummy $ac_prog; ac_word=$2
10862 echo "$as_me:$LINENO: checking for $ac_word" >&5
10863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10864 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10865 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 else
10867 if test -n "$ac_ct_CXX"; then
10868 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10869 else
10870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10871 for as_dir in $PATH
10872 do
10873 IFS=$as_save_IFS
10874 test -z "$as_dir" && as_dir=.
10875 for ac_exec_ext in '' $ac_executable_extensions; do
10876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10877 ac_cv_prog_ac_ct_CXX="$ac_prog"
10878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10879 break 2
10880 fi
10881 done
10882 done
10883
10884 fi
10885 fi
10886 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10887 if test -n "$ac_ct_CXX"; then
10888 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10889 echo "${ECHO_T}$ac_ct_CXX" >&6
10890 else
10891 echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6
10893 fi
10894
10895 test -n "$ac_ct_CXX" && break
10896 done
10897 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10898
10899 CXX=$ac_ct_CXX
10900 fi
10901
10902
10903 # Provide some information about the compiler.
10904 echo "$as_me:$LINENO:" \
10905 "checking for C++ compiler version" >&5
10906 ac_compiler=`set X $ac_compile; echo $2`
10907 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10908 (eval $ac_compiler --version </dev/null >&5) 2>&5
10909 ac_status=$?
10910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 (exit $ac_status); }
10912 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10913 (eval $ac_compiler -v </dev/null >&5) 2>&5
10914 ac_status=$?
10915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10916 (exit $ac_status); }
10917 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10918 (eval $ac_compiler -V </dev/null >&5) 2>&5
10919 ac_status=$?
10920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10921 (exit $ac_status); }
10922
10923 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10924 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10925 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 else
10928 cat >conftest.$ac_ext <<_ACEOF
10929 #line $LINENO "configure"
10930 /* confdefs.h. */
10931 _ACEOF
10932 cat confdefs.h >>conftest.$ac_ext
10933 cat >>conftest.$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10935
10936 int
10937 main ()
10938 {
10939 #ifndef __GNUC__
10940 choke me
10941 #endif
10942
10943 ;
10944 return 0;
10945 }
10946 _ACEOF
10947 rm -f conftest.$ac_objext
10948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10949 (eval $ac_compile) 2>&5
10950 ac_status=$?
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } &&
10953 { ac_try='test -s conftest.$ac_objext'
10954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10955 (eval $ac_try) 2>&5
10956 ac_status=$?
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); }; }; then
10959 ac_compiler_gnu=yes
10960 else
10961 echo "$as_me: failed program was:" >&5
10962 sed 's/^/| /' conftest.$ac_ext >&5
10963
10964 ac_compiler_gnu=no
10965 fi
10966 rm -f conftest.$ac_objext conftest.$ac_ext
10967 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
10968
10969 fi
10970 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
10971 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
10972 GXX=`test $ac_compiler_gnu = yes && echo yes`
10973 ac_test_CXXFLAGS=${CXXFLAGS+set}
10974 ac_save_CXXFLAGS=$CXXFLAGS
10975 CXXFLAGS="-g"
10976 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
10977 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
10978 if test "${ac_cv_prog_cxx_g+set}" = set; then
10979 echo $ECHO_N "(cached) $ECHO_C" >&6
10980 else
10981 cat >conftest.$ac_ext <<_ACEOF
10982 #line $LINENO "configure"
10983 /* confdefs.h. */
10984 _ACEOF
10985 cat confdefs.h >>conftest.$ac_ext
10986 cat >>conftest.$ac_ext <<_ACEOF
10987 /* end confdefs.h. */
10988
10989 int
10990 main ()
10991 {
10992
10993 ;
10994 return 0;
10995 }
10996 _ACEOF
10997 rm -f conftest.$ac_objext
10998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10999 (eval $ac_compile) 2>&5
11000 ac_status=$?
11001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11002 (exit $ac_status); } &&
11003 { ac_try='test -s conftest.$ac_objext'
11004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11005 (eval $ac_try) 2>&5
11006 ac_status=$?
11007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 (exit $ac_status); }; }; then
11009 ac_cv_prog_cxx_g=yes
11010 else
11011 echo "$as_me: failed program was:" >&5
11012 sed 's/^/| /' conftest.$ac_ext >&5
11013
11014 ac_cv_prog_cxx_g=no
11015 fi
11016 rm -f conftest.$ac_objext conftest.$ac_ext
11017 fi
11018 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11019 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11020 if test "$ac_test_CXXFLAGS" = set; then
11021 CXXFLAGS=$ac_save_CXXFLAGS
11022 elif test $ac_cv_prog_cxx_g = yes; then
11023 if test "$GXX" = yes; then
11024 CXXFLAGS="-g -O2"
11025 else
11026 CXXFLAGS="-g"
11027 fi
11028 else
11029 if test "$GXX" = yes; then
11030 CXXFLAGS="-O2"
11031 else
11032 CXXFLAGS=
11033 fi
11034 fi
11035 for ac_declaration in \
11036 ''\
11037 '#include <stdlib.h>' \
11038 'extern "C" void std::exit (int) throw (); using std::exit;' \
11039 'extern "C" void std::exit (int); using std::exit;' \
11040 'extern "C" void exit (int) throw ();' \
11041 'extern "C" void exit (int);' \
11042 'void exit (int);'
11043 do
11044 cat >conftest.$ac_ext <<_ACEOF
11045 #line $LINENO "configure"
11046 /* confdefs.h. */
11047 _ACEOF
11048 cat confdefs.h >>conftest.$ac_ext
11049 cat >>conftest.$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11051 #include <stdlib.h>
11052 $ac_declaration
11053 int
11054 main ()
11055 {
11056 exit (42);
11057 ;
11058 return 0;
11059 }
11060 _ACEOF
11061 rm -f conftest.$ac_objext
11062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11063 (eval $ac_compile) 2>&5
11064 ac_status=$?
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } &&
11067 { ac_try='test -s conftest.$ac_objext'
11068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11069 (eval $ac_try) 2>&5
11070 ac_status=$?
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; }; then
11073 :
11074 else
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11077
11078 continue
11079 fi
11080 rm -f conftest.$ac_objext conftest.$ac_ext
11081 cat >conftest.$ac_ext <<_ACEOF
11082 #line $LINENO "configure"
11083 /* confdefs.h. */
11084 _ACEOF
11085 cat confdefs.h >>conftest.$ac_ext
11086 cat >>conftest.$ac_ext <<_ACEOF
11087 /* end confdefs.h. */
11088 $ac_declaration
11089 int
11090 main ()
11091 {
11092 exit (42);
11093 ;
11094 return 0;
11095 }
11096 _ACEOF
11097 rm -f conftest.$ac_objext
11098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11099 (eval $ac_compile) 2>&5
11100 ac_status=$?
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 (exit $ac_status); } &&
11103 { ac_try='test -s conftest.$ac_objext'
11104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11105 (eval $ac_try) 2>&5
11106 ac_status=$?
11107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11108 (exit $ac_status); }; }; then
11109 break
11110 else
11111 echo "$as_me: failed program was:" >&5
11112 sed 's/^/| /' conftest.$ac_ext >&5
11113
11114 fi
11115 rm -f conftest.$ac_objext conftest.$ac_ext
11116 done
11117 rm -f conftest*
11118 if test -n "$ac_declaration"; then
11119 echo '#ifdef __cplusplus' >>confdefs.h
11120 echo $ac_declaration >>confdefs.h
11121 echo '#endif' >>confdefs.h
11122 fi
11123
11124 ac_ext=cc
11125 ac_cpp='$CXXCPP $CPPFLAGS'
11126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11129
11130
11131 ac_ext=c
11132 ac_cpp='$CPP $CPPFLAGS'
11133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11136
11137
11138 if test -n "$ac_tool_prefix"; then
11139 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11140 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11141 echo "$as_me:$LINENO: checking for $ac_word" >&5
11142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11143 if test "${ac_cv_prog_RANLIB+set}" = set; then
11144 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 else
11146 if test -n "$RANLIB"; then
11147 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11148 else
11149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11150 for as_dir in $PATH
11151 do
11152 IFS=$as_save_IFS
11153 test -z "$as_dir" && as_dir=.
11154 for ac_exec_ext in '' $ac_executable_extensions; do
11155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11156 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11158 break 2
11159 fi
11160 done
11161 done
11162
11163 fi
11164 fi
11165 RANLIB=$ac_cv_prog_RANLIB
11166 if test -n "$RANLIB"; then
11167 echo "$as_me:$LINENO: result: $RANLIB" >&5
11168 echo "${ECHO_T}$RANLIB" >&6
11169 else
11170 echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6
11172 fi
11173
11174 fi
11175 if test -z "$ac_cv_prog_RANLIB"; then
11176 ac_ct_RANLIB=$RANLIB
11177 # Extract the first word of "ranlib", so it can be a program name with args.
11178 set dummy ranlib; ac_word=$2
11179 echo "$as_me:$LINENO: checking for $ac_word" >&5
11180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11181 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11183 else
11184 if test -n "$ac_ct_RANLIB"; then
11185 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11186 else
11187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11188 for as_dir in $PATH
11189 do
11190 IFS=$as_save_IFS
11191 test -z "$as_dir" && as_dir=.
11192 for ac_exec_ext in '' $ac_executable_extensions; do
11193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11194 ac_cv_prog_ac_ct_RANLIB="ranlib"
11195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11196 break 2
11197 fi
11198 done
11199 done
11200
11201 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11202 fi
11203 fi
11204 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11205 if test -n "$ac_ct_RANLIB"; then
11206 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11207 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11208 else
11209 echo "$as_me:$LINENO: result: no" >&5
11210 echo "${ECHO_T}no" >&6
11211 fi
11212
11213 RANLIB=$ac_ct_RANLIB
11214 else
11215 RANLIB="$ac_cv_prog_RANLIB"
11216 fi
11217
11218
11219 # Extract the first word of "ar", so it can be a program name with args.
11220 set dummy ar; ac_word=$2
11221 echo "$as_me:$LINENO: checking for $ac_word" >&5
11222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11223 if test "${ac_cv_prog_AR+set}" = set; then
11224 echo $ECHO_N "(cached) $ECHO_C" >&6
11225 else
11226 if test -n "$AR"; then
11227 ac_cv_prog_AR="$AR" # Let the user override the test.
11228 else
11229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11230 for as_dir in $PATH
11231 do
11232 IFS=$as_save_IFS
11233 test -z "$as_dir" && as_dir=.
11234 for ac_exec_ext in '' $ac_executable_extensions; do
11235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11236 ac_cv_prog_AR="ar"
11237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11238 break 2
11239 fi
11240 done
11241 done
11242
11243 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
11244 fi
11245 fi
11246 AR=$ac_cv_prog_AR
11247 if test -n "$AR"; then
11248 echo "$as_me:$LINENO: result: $AR" >&5
11249 echo "${ECHO_T}$AR" >&6
11250 else
11251 echo "$as_me:$LINENO: result: no" >&5
11252 echo "${ECHO_T}no" >&6
11253 fi
11254
11255
11256 # Find a good install program. We prefer a C program (faster),
11257 # so one script is as good as another. But avoid the broken or
11258 # incompatible versions:
11259 # SysV /etc/install, /usr/sbin/install
11260 # SunOS /usr/etc/install
11261 # IRIX /sbin/install
11262 # AIX /bin/install
11263 # AmigaOS /C/install, which installs bootblocks on floppy discs
11264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11267 # ./install, which can be erroneously created by make from ./install.sh.
11268 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11269 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11270 if test -z "$INSTALL"; then
11271 if test "${ac_cv_path_install+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11275 for as_dir in $PATH
11276 do
11277 IFS=$as_save_IFS
11278 test -z "$as_dir" && as_dir=.
11279 # Account for people who put trailing slashes in PATH elements.
11280 case $as_dir/ in
11281 ./ | .// | /cC/* | \
11282 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11283 /usr/ucb/* ) ;;
11284 *)
11285 # OSF1 and SCO ODT 3.0 have their own names for install.
11286 # Don't use installbsd from OSF since it installs stuff as root
11287 # by default.
11288 for ac_prog in ginstall scoinst install; do
11289 for ac_exec_ext in '' $ac_executable_extensions; do
11290 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11291 if test $ac_prog = install &&
11292 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11293 # AIX install. It has an incompatible calling convention.
11294 :
11295 elif test $ac_prog = install &&
11296 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11297 # program-specific install script used by HP pwplus--don't use.
11298 :
11299 else
11300 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11301 break 3
11302 fi
11303 fi
11304 done
11305 done
11306 ;;
11307 esac
11308 done
11309
11310
11311 fi
11312 if test "${ac_cv_path_install+set}" = set; then
11313 INSTALL=$ac_cv_path_install
11314 else
11315 # As a last resort, use the slow shell script. We don't cache a
11316 # path for INSTALL within a source directory, because that will
11317 # break other packages using the cache if that directory is
11318 # removed, or if the path is relative.
11319 INSTALL=$ac_install_sh
11320 fi
11321 fi
11322 echo "$as_me:$LINENO: result: $INSTALL" >&5
11323 echo "${ECHO_T}$INSTALL" >&6
11324
11325 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11326 # It thinks the first close brace ends the variable substitution.
11327 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11328
11329 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11330
11331 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11332
11333
11334 case ${INSTALL} in
11335 /* ) # Absolute
11336 ;;
11337 ?:* ) # Drive letter, considered as absolute.
11338 ;;
11339 *)
11340 INSTALL=`pwd`/${INSTALL} ;;
11341 esac
11342
11343 case ${host} in
11344 *-hp-hpux* )
11345 INSTALL_DIR="mkdir"
11346 ;;
11347
11348 *) INSTALL_DIR="$INSTALL -d"
11349 ;;
11350 esac
11351
11352
11353 case "${host}" in
11354
11355 powerpc-*-darwin* )
11356 INSTALL_PROGRAM="cp -fp"
11357 INSTALL_DATA="cp -fp"
11358 ;;
11359 *)
11360 ;;
11361 esac
11362
11363 # Extract the first word of "strip", so it can be a program name with args.
11364 set dummy strip; ac_word=$2
11365 echo "$as_me:$LINENO: checking for $ac_word" >&5
11366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11367 if test "${ac_cv_prog_STRIP+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 else
11370 if test -n "$STRIP"; then
11371 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11372 else
11373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11374 for as_dir in $PATH
11375 do
11376 IFS=$as_save_IFS
11377 test -z "$as_dir" && as_dir=.
11378 for ac_exec_ext in '' $ac_executable_extensions; do
11379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11380 ac_cv_prog_STRIP="strip"
11381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11382 break 2
11383 fi
11384 done
11385 done
11386
11387 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11388 fi
11389 fi
11390 STRIP=$ac_cv_prog_STRIP
11391 if test -n "$STRIP"; then
11392 echo "$as_me:$LINENO: result: $STRIP" >&5
11393 echo "${ECHO_T}$STRIP" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399
11400 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11401 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11402 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 else
11405
11406 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11407 egrep -s GNU > /dev/null); then
11408 wx_cv_prog_makeisgnu="yes"
11409 else
11410 wx_cv_prog_makeisgnu="no"
11411 fi
11412
11413 fi
11414 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11415 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11416
11417 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11418 IF_GNU_MAKE=""
11419 else
11420 IF_GNU_MAKE="#"
11421 fi
11422
11423
11424
11425 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11426 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11427 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11428 if test "${wx_cv_prog_makevpath+set}" = set; then
11429 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 else
11431
11432 cat - << EOF > confMake
11433 check : file
11434 cp \$? \$@
11435 cp \$? final_file
11436 EOF
11437
11438 if test ! -d sub ; then
11439 mkdir sub
11440 fi
11441 echo dummy > sub/file
11442 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11443 RESULT=$?
11444 rm -f sub/file check final_file confMake
11445 rmdir sub
11446 if test "$RESULT" = 0; then
11447 wx_cv_prog_makevpath="yes"
11448 else
11449 wx_cv_prog_makevpath="no"
11450 fi
11451
11452 fi
11453 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11454 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11455
11456 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11457 { { echo "$as_me:$LINENO: error:
11458 You need a make-utility that is able to use the variable
11459 VPATH correctly.
11460 If your version of make does not support VPATH correctly,
11461 please install GNU-make (possibly as gmake), and start
11462 configure with the following command:
11463 export MAKE=gmake; ./configure for sh-type shells
11464 setenv MAKE gmake; ./configure for csh-type shells
11465 Also please do remember to use gmake in this case every time
11466 you are trying to compile.
11467 " >&5
11468 echo "$as_me: error:
11469 You need a make-utility that is able to use the variable
11470 VPATH correctly.
11471 If your version of make does not support VPATH correctly,
11472 please install GNU-make (possibly as gmake), and start
11473 configure with the following command:
11474 export MAKE=gmake; ./configure for sh-type shells
11475 setenv MAKE gmake; ./configure for csh-type shells
11476 Also please do remember to use gmake in this case every time
11477 you are trying to compile.
11478 " >&2;}
11479 { (exit 1); exit 1; }; }
11480 fi fi
11481 for ac_prog in 'bison -y' byacc
11482 do
11483 # Extract the first word of "$ac_prog", so it can be a program name with args.
11484 set dummy $ac_prog; ac_word=$2
11485 echo "$as_me:$LINENO: checking for $ac_word" >&5
11486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11487 if test "${ac_cv_prog_YACC+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 else
11490 if test -n "$YACC"; then
11491 ac_cv_prog_YACC="$YACC" # Let the user override the test.
11492 else
11493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11494 for as_dir in $PATH
11495 do
11496 IFS=$as_save_IFS
11497 test -z "$as_dir" && as_dir=.
11498 for ac_exec_ext in '' $ac_executable_extensions; do
11499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11500 ac_cv_prog_YACC="$ac_prog"
11501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11502 break 2
11503 fi
11504 done
11505 done
11506
11507 fi
11508 fi
11509 YACC=$ac_cv_prog_YACC
11510 if test -n "$YACC"; then
11511 echo "$as_me:$LINENO: result: $YACC" >&5
11512 echo "${ECHO_T}$YACC" >&6
11513 else
11514 echo "$as_me:$LINENO: result: no" >&5
11515 echo "${ECHO_T}no" >&6
11516 fi
11517
11518 test -n "$YACC" && break
11519 done
11520 test -n "$YACC" || YACC="yacc"
11521
11522
11523 for ac_prog in flex lex
11524 do
11525 # Extract the first word of "$ac_prog", so it can be a program name with args.
11526 set dummy $ac_prog; ac_word=$2
11527 echo "$as_me:$LINENO: checking for $ac_word" >&5
11528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11529 if test "${ac_cv_prog_LEX+set}" = set; then
11530 echo $ECHO_N "(cached) $ECHO_C" >&6
11531 else
11532 if test -n "$LEX"; then
11533 ac_cv_prog_LEX="$LEX" # Let the user override the test.
11534 else
11535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11536 for as_dir in $PATH
11537 do
11538 IFS=$as_save_IFS
11539 test -z "$as_dir" && as_dir=.
11540 for ac_exec_ext in '' $ac_executable_extensions; do
11541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11542 ac_cv_prog_LEX="$ac_prog"
11543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11544 break 2
11545 fi
11546 done
11547 done
11548
11549 fi
11550 fi
11551 LEX=$ac_cv_prog_LEX
11552 if test -n "$LEX"; then
11553 echo "$as_me:$LINENO: result: $LEX" >&5
11554 echo "${ECHO_T}$LEX" >&6
11555 else
11556 echo "$as_me:$LINENO: result: no" >&5
11557 echo "${ECHO_T}no" >&6
11558 fi
11559
11560 test -n "$LEX" && break
11561 done
11562 test -n "$LEX" || LEX=":"
11563
11564 if test -z "$LEXLIB"
11565 then
11566 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
11567 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
11568 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11570 else
11571 ac_check_lib_save_LIBS=$LIBS
11572 LIBS="-lfl $LIBS"
11573 cat >conftest.$ac_ext <<_ACEOF
11574 #line $LINENO "configure"
11575 /* confdefs.h. */
11576 _ACEOF
11577 cat confdefs.h >>conftest.$ac_ext
11578 cat >>conftest.$ac_ext <<_ACEOF
11579 /* end confdefs.h. */
11580
11581 /* Override any gcc2 internal prototype to avoid an error. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 /* We use char because int might match the return type of a gcc2
11586 builtin and then its argument prototype would still apply. */
11587 char yywrap ();
11588 int
11589 main ()
11590 {
11591 yywrap ();
11592 ;
11593 return 0;
11594 }
11595 _ACEOF
11596 rm -f conftest.$ac_objext conftest$ac_exeext
11597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11598 (eval $ac_link) 2>&5
11599 ac_status=$?
11600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11601 (exit $ac_status); } &&
11602 { ac_try='test -s conftest$ac_exeext'
11603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11604 (eval $ac_try) 2>&5
11605 ac_status=$?
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); }; }; then
11608 ac_cv_lib_fl_yywrap=yes
11609 else
11610 echo "$as_me: failed program was:" >&5
11611 sed 's/^/| /' conftest.$ac_ext >&5
11612
11613 ac_cv_lib_fl_yywrap=no
11614 fi
11615 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11616 LIBS=$ac_check_lib_save_LIBS
11617 fi
11618 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
11619 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
11620 if test $ac_cv_lib_fl_yywrap = yes; then
11621 LEXLIB="-lfl"
11622 else
11623 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
11624 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
11625 if test "${ac_cv_lib_l_yywrap+set}" = set; then
11626 echo $ECHO_N "(cached) $ECHO_C" >&6
11627 else
11628 ac_check_lib_save_LIBS=$LIBS
11629 LIBS="-ll $LIBS"
11630 cat >conftest.$ac_ext <<_ACEOF
11631 #line $LINENO "configure"
11632 /* confdefs.h. */
11633 _ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11637
11638 /* Override any gcc2 internal prototype to avoid an error. */
11639 #ifdef __cplusplus
11640 extern "C"
11641 #endif
11642 /* We use char because int might match the return type of a gcc2
11643 builtin and then its argument prototype would still apply. */
11644 char yywrap ();
11645 int
11646 main ()
11647 {
11648 yywrap ();
11649 ;
11650 return 0;
11651 }
11652 _ACEOF
11653 rm -f conftest.$ac_objext conftest$ac_exeext
11654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11655 (eval $ac_link) 2>&5
11656 ac_status=$?
11657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658 (exit $ac_status); } &&
11659 { ac_try='test -s conftest$ac_exeext'
11660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11661 (eval $ac_try) 2>&5
11662 ac_status=$?
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); }; }; then
11665 ac_cv_lib_l_yywrap=yes
11666 else
11667 echo "$as_me: failed program was:" >&5
11668 sed 's/^/| /' conftest.$ac_ext >&5
11669
11670 ac_cv_lib_l_yywrap=no
11671 fi
11672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11673 LIBS=$ac_check_lib_save_LIBS
11674 fi
11675 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
11676 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
11677 if test $ac_cv_lib_l_yywrap = yes; then
11678 LEXLIB="-ll"
11679 fi
11680
11681 fi
11682
11683 fi
11684
11685 if test "x$LEX" != "x:"; then
11686 echo "$as_me:$LINENO: checking lex output file root" >&5
11687 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
11688 if test "${ac_cv_prog_lex_root+set}" = set; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 else
11691 # The minimal lex program is just a single line: %%. But some broken lexes
11692 # (Solaris, I think it was) want two %% lines, so accommodate them.
11693 cat >conftest.l <<_ACEOF
11694 %%
11695 %%
11696 _ACEOF
11697 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
11698 (eval $LEX conftest.l) 2>&5
11699 ac_status=$?
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); }
11702 if test -f lex.yy.c; then
11703 ac_cv_prog_lex_root=lex.yy
11704 elif test -f lexyy.c; then
11705 ac_cv_prog_lex_root=lexyy
11706 else
11707 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
11708 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
11709 { (exit 1); exit 1; }; }
11710 fi
11711 fi
11712 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
11713 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
11714 rm -f conftest.l
11715 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
11716
11717 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
11718 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
11719 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 else
11722 # POSIX says lex can declare yytext either as a pointer or an array; the
11723 # default is implementation-dependent. Figure out which it is, since
11724 # not all implementations provide the %pointer and %array declarations.
11725 ac_cv_prog_lex_yytext_pointer=no
11726 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
11727 ac_save_LIBS=$LIBS
11728 LIBS="$LIBS $LEXLIB"
11729 cat >conftest.$ac_ext <<_ACEOF
11730 `cat $LEX_OUTPUT_ROOT.c`
11731 _ACEOF
11732 rm -f conftest.$ac_objext conftest$ac_exeext
11733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11734 (eval $ac_link) 2>&5
11735 ac_status=$?
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } &&
11738 { ac_try='test -s conftest$ac_exeext'
11739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 (eval $ac_try) 2>&5
11741 ac_status=$?
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); }; }; then
11744 ac_cv_prog_lex_yytext_pointer=yes
11745 else
11746 echo "$as_me: failed program was:" >&5
11747 sed 's/^/| /' conftest.$ac_ext >&5
11748
11749 fi
11750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_save_LIBS
11752 rm -f "${LEX_OUTPUT_ROOT}.c"
11753
11754 fi
11755 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
11756 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
11757 if test $ac_cv_prog_lex_yytext_pointer = yes; then
11758
11759 cat >>confdefs.h <<\_ACEOF
11760 #define YYTEXT_POINTER 1
11761 _ACEOF
11762
11763 fi
11764
11765 fi
11766
11767 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11768 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11769 LN_S=$as_ln_s
11770 if test "$LN_S" = "ln -s"; then
11771 echo "$as_me:$LINENO: result: yes" >&5
11772 echo "${ECHO_T}yes" >&6
11773 else
11774 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11775 echo "${ECHO_T}no, using $LN_S" >&6
11776 fi
11777
11778
11779 case "${host}" in
11780 *-pc-os2_emx | *-pc-os2-emx )
11781 LIBS="$LIBS -lstdcpp"
11782 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11783 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11784 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11785 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11787 else
11788 ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lcExt $LIBS"
11790 cat >conftest.$ac_ext <<_ACEOF
11791 #line $LINENO "configure"
11792 /* confdefs.h. */
11793 _ACEOF
11794 cat confdefs.h >>conftest.$ac_ext
11795 cat >>conftest.$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11797
11798 /* Override any gcc2 internal prototype to avoid an error. */
11799 #ifdef __cplusplus
11800 extern "C"
11801 #endif
11802 /* We use char because int might match the return type of a gcc2
11803 builtin and then its argument prototype would still apply. */
11804 char drand48 ();
11805 int
11806 main ()
11807 {
11808 drand48 ();
11809 ;
11810 return 0;
11811 }
11812 _ACEOF
11813 rm -f conftest.$ac_objext conftest$ac_exeext
11814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11815 (eval $ac_link) 2>&5
11816 ac_status=$?
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } &&
11819 { ac_try='test -s conftest$ac_exeext'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11822 ac_status=$?
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; }; then
11825 ac_cv_lib_cExt_drand48=yes
11826 else
11827 echo "$as_me: failed program was:" >&5
11828 sed 's/^/| /' conftest.$ac_ext >&5
11829
11830 ac_cv_lib_cExt_drand48=no
11831 fi
11832 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11833 LIBS=$ac_check_lib_save_LIBS
11834 fi
11835 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11836 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11837 if test $ac_cv_lib_cExt_drand48 = yes; then
11838 LIBS="$LIBS -lcExt"
11839 fi
11840
11841 else
11842 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11843 fi
11844 ;;
11845 esac
11846
11847
11848 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11849 echo "$as_me:$LINENO: checking for strings.h" >&5
11850 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11851 if test "${ac_cv_header_strings_h+set}" = set; then
11852 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 else
11854 ac_cv_header_strings_h=no
11855 fi
11856 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11857 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11858 if test "$ac_cv_header_strings_h" = "no"; then
11859 echo "$as_me:$LINENO: result: forced no into cache" >&5
11860 echo "${ECHO_T}forced no into cache" >&6
11861 else
11862 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11863 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11864 fi
11865 fi
11866 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11867 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11868 if test "${ac_cv_header_stdc+set}" = set; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 else
11871 cat >conftest.$ac_ext <<_ACEOF
11872 #line $LINENO "configure"
11873 /* confdefs.h. */
11874 _ACEOF
11875 cat confdefs.h >>conftest.$ac_ext
11876 cat >>conftest.$ac_ext <<_ACEOF
11877 /* end confdefs.h. */
11878 #include <stdlib.h>
11879 #include <stdarg.h>
11880 #include <string.h>
11881 #include <float.h>
11882
11883 int
11884 main ()
11885 {
11886
11887 ;
11888 return 0;
11889 }
11890 _ACEOF
11891 rm -f conftest.$ac_objext
11892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11893 (eval $ac_compile) 2>&5
11894 ac_status=$?
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); } &&
11897 { ac_try='test -s conftest.$ac_objext'
11898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11899 (eval $ac_try) 2>&5
11900 ac_status=$?
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); }; }; then
11903 ac_cv_header_stdc=yes
11904 else
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.$ac_ext >&5
11907
11908 ac_cv_header_stdc=no
11909 fi
11910 rm -f conftest.$ac_objext conftest.$ac_ext
11911
11912 if test $ac_cv_header_stdc = yes; then
11913 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11914 cat >conftest.$ac_ext <<_ACEOF
11915 #line $LINENO "configure"
11916 /* confdefs.h. */
11917 _ACEOF
11918 cat confdefs.h >>conftest.$ac_ext
11919 cat >>conftest.$ac_ext <<_ACEOF
11920 /* end confdefs.h. */
11921 #include <string.h>
11922
11923 _ACEOF
11924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11925 $EGREP "memchr" >/dev/null 2>&1; then
11926 :
11927 else
11928 ac_cv_header_stdc=no
11929 fi
11930 rm -f conftest*
11931
11932 fi
11933
11934 if test $ac_cv_header_stdc = yes; then
11935 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11936 cat >conftest.$ac_ext <<_ACEOF
11937 #line $LINENO "configure"
11938 /* confdefs.h. */
11939 _ACEOF
11940 cat confdefs.h >>conftest.$ac_ext
11941 cat >>conftest.$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11943 #include <stdlib.h>
11944
11945 _ACEOF
11946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11947 $EGREP "free" >/dev/null 2>&1; then
11948 :
11949 else
11950 ac_cv_header_stdc=no
11951 fi
11952 rm -f conftest*
11953
11954 fi
11955
11956 if test $ac_cv_header_stdc = yes; then
11957 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11958 if test "$cross_compiling" = yes; then
11959 :
11960 else
11961 cat >conftest.$ac_ext <<_ACEOF
11962 #line $LINENO "configure"
11963 /* confdefs.h. */
11964 _ACEOF
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h. */
11968 #include <ctype.h>
11969 #if ((' ' & 0x0FF) == 0x020)
11970 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11971 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11972 #else
11973 # define ISLOWER(c) \
11974 (('a' <= (c) && (c) <= 'i') \
11975 || ('j' <= (c) && (c) <= 'r') \
11976 || ('s' <= (c) && (c) <= 'z'))
11977 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11978 #endif
11979
11980 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11981 int
11982 main ()
11983 {
11984 int i;
11985 for (i = 0; i < 256; i++)
11986 if (XOR (islower (i), ISLOWER (i))
11987 || toupper (i) != TOUPPER (i))
11988 exit(2);
11989 exit (0);
11990 }
11991 _ACEOF
11992 rm -f conftest$ac_exeext
11993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11994 (eval $ac_link) 2>&5
11995 ac_status=$?
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5
12000 ac_status=$?
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; }; then
12003 :
12004 else
12005 echo "$as_me: program exited with status $ac_status" >&5
12006 echo "$as_me: failed program was:" >&5
12007 sed 's/^/| /' conftest.$ac_ext >&5
12008
12009 ( exit $ac_status )
12010 ac_cv_header_stdc=no
12011 fi
12012 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12013 fi
12014 fi
12015 fi
12016 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12017 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12018 if test $ac_cv_header_stdc = yes; then
12019
12020 cat >>confdefs.h <<\_ACEOF
12021 #define STDC_HEADERS 1
12022 _ACEOF
12023
12024 fi
12025
12026 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12037 inttypes.h stdint.h unistd.h
12038 do
12039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12040 echo "$as_me:$LINENO: checking for $ac_header" >&5
12041 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12043 echo $ECHO_N "(cached) $ECHO_C" >&6
12044 else
12045 cat >conftest.$ac_ext <<_ACEOF
12046 #line $LINENO "configure"
12047 /* confdefs.h. */
12048 _ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12052 $ac_includes_default
12053
12054 #include <$ac_header>
12055 _ACEOF
12056 rm -f conftest.$ac_objext
12057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12058 (eval $ac_compile) 2>&5
12059 ac_status=$?
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 (exit $ac_status); } &&
12062 { ac_try='test -s conftest.$ac_objext'
12063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12064 (eval $ac_try) 2>&5
12065 ac_status=$?
12066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12067 (exit $ac_status); }; }; then
12068 eval "$as_ac_Header=yes"
12069 else
12070 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.$ac_ext >&5
12072
12073 eval "$as_ac_Header=no"
12074 fi
12075 rm -f conftest.$ac_objext conftest.$ac_ext
12076 fi
12077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12080 cat >>confdefs.h <<_ACEOF
12081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12082 _ACEOF
12083
12084 fi
12085
12086 done
12087
12088
12089
12090 for ac_header in strings.h
12091 do
12092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12094 echo "$as_me:$LINENO: checking for $ac_header" >&5
12095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12097 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 fi
12099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12101 else
12102 # Is the header compilable?
12103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12105 cat >conftest.$ac_ext <<_ACEOF
12106 #line $LINENO "configure"
12107 /* confdefs.h. */
12108 _ACEOF
12109 cat confdefs.h >>conftest.$ac_ext
12110 cat >>conftest.$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12112 $ac_includes_default
12113 #include <$ac_header>
12114 _ACEOF
12115 rm -f conftest.$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>&5
12118 ac_status=$?
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); } &&
12121 { ac_try='test -s conftest.$ac_objext'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12124 ac_status=$?
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; }; then
12127 ac_header_compiler=yes
12128 else
12129 echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.$ac_ext >&5
12131
12132 ac_header_compiler=no
12133 fi
12134 rm -f conftest.$ac_objext conftest.$ac_ext
12135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12136 echo "${ECHO_T}$ac_header_compiler" >&6
12137
12138 # Is the header present?
12139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12141 cat >conftest.$ac_ext <<_ACEOF
12142 #line $LINENO "configure"
12143 /* confdefs.h. */
12144 _ACEOF
12145 cat confdefs.h >>conftest.$ac_ext
12146 cat >>conftest.$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12148 #include <$ac_header>
12149 _ACEOF
12150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12152 ac_status=$?
12153 grep -v '^ *+' conftest.er1 >conftest.err
12154 rm -f conftest.er1
12155 cat conftest.err >&5
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); } >/dev/null; then
12158 if test -s conftest.err; then
12159 ac_cpp_err=$ac_c_preproc_warn_flag
12160 else
12161 ac_cpp_err=
12162 fi
12163 else
12164 ac_cpp_err=yes
12165 fi
12166 if test -z "$ac_cpp_err"; then
12167 ac_header_preproc=yes
12168 else
12169 echo "$as_me: failed program was:" >&5
12170 sed 's/^/| /' conftest.$ac_ext >&5
12171
12172 ac_header_preproc=no
12173 fi
12174 rm -f conftest.err conftest.$ac_ext
12175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12176 echo "${ECHO_T}$ac_header_preproc" >&6
12177
12178 # So? What about this header?
12179 case $ac_header_compiler:$ac_header_preproc in
12180 yes:no )
12181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12185 (
12186 cat <<\_ASBOX
12187 ## ------------------------------------ ##
12188 ## Report this to bug-autoconf@gnu.org. ##
12189 ## ------------------------------------ ##
12190 _ASBOX
12191 ) |
12192 sed "s/^/$as_me: WARNING: /" >&2
12193 ;;
12194 no:yes )
12195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12201 (
12202 cat <<\_ASBOX
12203 ## ------------------------------------ ##
12204 ## Report this to bug-autoconf@gnu.org. ##
12205 ## ------------------------------------ ##
12206 _ASBOX
12207 ) |
12208 sed "s/^/$as_me: WARNING: /" >&2
12209 ;;
12210 esac
12211 echo "$as_me:$LINENO: checking for $ac_header" >&5
12212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12214 echo $ECHO_N "(cached) $ECHO_C" >&6
12215 else
12216 eval "$as_ac_Header=$ac_header_preproc"
12217 fi
12218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12220
12221 fi
12222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12223 cat >>confdefs.h <<_ACEOF
12224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12225 _ACEOF
12226
12227 fi
12228
12229 done
12230
12231
12232
12233 for ac_header in stdlib.h
12234 do
12235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12237 echo "$as_me:$LINENO: checking for $ac_header" >&5
12238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 fi
12242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12244 else
12245 # Is the header compilable?
12246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12248 cat >conftest.$ac_ext <<_ACEOF
12249 #line $LINENO "configure"
12250 /* confdefs.h. */
12251 _ACEOF
12252 cat confdefs.h >>conftest.$ac_ext
12253 cat >>conftest.$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12255 $ac_includes_default
12256 #include <$ac_header>
12257 _ACEOF
12258 rm -f conftest.$ac_objext
12259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12260 (eval $ac_compile) 2>&5
12261 ac_status=$?
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try='test -s conftest.$ac_objext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12267 ac_status=$?
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_header_compiler=yes
12271 else
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12274
12275 ac_header_compiler=no
12276 fi
12277 rm -f conftest.$ac_objext conftest.$ac_ext
12278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12279 echo "${ECHO_T}$ac_header_compiler" >&6
12280
12281 # Is the header present?
12282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12284 cat >conftest.$ac_ext <<_ACEOF
12285 #line $LINENO "configure"
12286 /* confdefs.h. */
12287 _ACEOF
12288 cat confdefs.h >>conftest.$ac_ext
12289 cat >>conftest.$ac_ext <<_ACEOF
12290 /* end confdefs.h. */
12291 #include <$ac_header>
12292 _ACEOF
12293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12295 ac_status=$?
12296 grep -v '^ *+' conftest.er1 >conftest.err
12297 rm -f conftest.er1
12298 cat conftest.err >&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } >/dev/null; then
12301 if test -s conftest.err; then
12302 ac_cpp_err=$ac_c_preproc_warn_flag
12303 else
12304 ac_cpp_err=
12305 fi
12306 else
12307 ac_cpp_err=yes
12308 fi
12309 if test -z "$ac_cpp_err"; then
12310 ac_header_preproc=yes
12311 else
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.$ac_ext >&5
12314
12315 ac_header_preproc=no
12316 fi
12317 rm -f conftest.err conftest.$ac_ext
12318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12319 echo "${ECHO_T}$ac_header_preproc" >&6
12320
12321 # So? What about this header?
12322 case $ac_header_compiler:$ac_header_preproc in
12323 yes:no )
12324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12328 (
12329 cat <<\_ASBOX
12330 ## ------------------------------------ ##
12331 ## Report this to bug-autoconf@gnu.org. ##
12332 ## ------------------------------------ ##
12333 _ASBOX
12334 ) |
12335 sed "s/^/$as_me: WARNING: /" >&2
12336 ;;
12337 no:yes )
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12344 (
12345 cat <<\_ASBOX
12346 ## ------------------------------------ ##
12347 ## Report this to bug-autoconf@gnu.org. ##
12348 ## ------------------------------------ ##
12349 _ASBOX
12350 ) |
12351 sed "s/^/$as_me: WARNING: /" >&2
12352 ;;
12353 esac
12354 echo "$as_me:$LINENO: checking for $ac_header" >&5
12355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359 eval "$as_ac_Header=$ac_header_preproc"
12360 fi
12361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12363
12364 fi
12365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12366 cat >>confdefs.h <<_ACEOF
12367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12368 _ACEOF
12369
12370 fi
12371
12372 done
12373
12374
12375 for ac_header in malloc.h
12376 do
12377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5
12380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12383 fi
12384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12386 else
12387 # Is the header compilable?
12388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12390 cat >conftest.$ac_ext <<_ACEOF
12391 #line $LINENO "configure"
12392 /* confdefs.h. */
12393 _ACEOF
12394 cat confdefs.h >>conftest.$ac_ext
12395 cat >>conftest.$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12397 $ac_includes_default
12398 #include <$ac_header>
12399 _ACEOF
12400 rm -f conftest.$ac_objext
12401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12402 (eval $ac_compile) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try='test -s conftest.$ac_objext'
12407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408 (eval $ac_try) 2>&5
12409 ac_status=$?
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }; }; then
12412 ac_header_compiler=yes
12413 else
12414 echo "$as_me: failed program was:" >&5
12415 sed 's/^/| /' conftest.$ac_ext >&5
12416
12417 ac_header_compiler=no
12418 fi
12419 rm -f conftest.$ac_objext conftest.$ac_ext
12420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12421 echo "${ECHO_T}$ac_header_compiler" >&6
12422
12423 # Is the header present?
12424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12426 cat >conftest.$ac_ext <<_ACEOF
12427 #line $LINENO "configure"
12428 /* confdefs.h. */
12429 _ACEOF
12430 cat confdefs.h >>conftest.$ac_ext
12431 cat >>conftest.$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12433 #include <$ac_header>
12434 _ACEOF
12435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12437 ac_status=$?
12438 grep -v '^ *+' conftest.er1 >conftest.err
12439 rm -f conftest.er1
12440 cat conftest.err >&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } >/dev/null; then
12443 if test -s conftest.err; then
12444 ac_cpp_err=$ac_c_preproc_warn_flag
12445 else
12446 ac_cpp_err=
12447 fi
12448 else
12449 ac_cpp_err=yes
12450 fi
12451 if test -z "$ac_cpp_err"; then
12452 ac_header_preproc=yes
12453 else
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12456
12457 ac_header_preproc=no
12458 fi
12459 rm -f conftest.err conftest.$ac_ext
12460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12461 echo "${ECHO_T}$ac_header_preproc" >&6
12462
12463 # So? What about this header?
12464 case $ac_header_compiler:$ac_header_preproc in
12465 yes:no )
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12470 (
12471 cat <<\_ASBOX
12472 ## ------------------------------------ ##
12473 ## Report this to bug-autoconf@gnu.org. ##
12474 ## ------------------------------------ ##
12475 _ASBOX
12476 ) |
12477 sed "s/^/$as_me: WARNING: /" >&2
12478 ;;
12479 no:yes )
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12486 (
12487 cat <<\_ASBOX
12488 ## ------------------------------------ ##
12489 ## Report this to bug-autoconf@gnu.org. ##
12490 ## ------------------------------------ ##
12491 _ASBOX
12492 ) |
12493 sed "s/^/$as_me: WARNING: /" >&2
12494 ;;
12495 esac
12496 echo "$as_me:$LINENO: checking for $ac_header" >&5
12497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 else
12501 eval "$as_ac_Header=$ac_header_preproc"
12502 fi
12503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12505
12506 fi
12507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12508 cat >>confdefs.h <<_ACEOF
12509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12510 _ACEOF
12511
12512 fi
12513
12514 done
12515
12516
12517 for ac_header in unistd.h
12518 do
12519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12521 echo "$as_me:$LINENO: checking for $ac_header" >&5
12522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12525 fi
12526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12528 else
12529 # Is the header compilable?
12530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12532 cat >conftest.$ac_ext <<_ACEOF
12533 #line $LINENO "configure"
12534 /* confdefs.h. */
12535 _ACEOF
12536 cat confdefs.h >>conftest.$ac_ext
12537 cat >>conftest.$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 $ac_includes_default
12540 #include <$ac_header>
12541 _ACEOF
12542 rm -f conftest.$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>&5
12545 ac_status=$?
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 ac_header_compiler=yes
12555 else
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.$ac_ext >&5
12558
12559 ac_header_compiler=no
12560 fi
12561 rm -f conftest.$ac_objext conftest.$ac_ext
12562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12563 echo "${ECHO_T}$ac_header_compiler" >&6
12564
12565 # Is the header present?
12566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12568 cat >conftest.$ac_ext <<_ACEOF
12569 #line $LINENO "configure"
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575 #include <$ac_header>
12576 _ACEOF
12577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12579 ac_status=$?
12580 grep -v '^ *+' conftest.er1 >conftest.err
12581 rm -f conftest.er1
12582 cat conftest.err >&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } >/dev/null; then
12585 if test -s conftest.err; then
12586 ac_cpp_err=$ac_c_preproc_warn_flag
12587 else
12588 ac_cpp_err=
12589 fi
12590 else
12591 ac_cpp_err=yes
12592 fi
12593 if test -z "$ac_cpp_err"; then
12594 ac_header_preproc=yes
12595 else
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12598
12599 ac_header_preproc=no
12600 fi
12601 rm -f conftest.err conftest.$ac_ext
12602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12603 echo "${ECHO_T}$ac_header_preproc" >&6
12604
12605 # So? What about this header?
12606 case $ac_header_compiler:$ac_header_preproc in
12607 yes:no )
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12612 (
12613 cat <<\_ASBOX
12614 ## ------------------------------------ ##
12615 ## Report this to bug-autoconf@gnu.org. ##
12616 ## ------------------------------------ ##
12617 _ASBOX
12618 ) |
12619 sed "s/^/$as_me: WARNING: /" >&2
12620 ;;
12621 no:yes )
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12628 (
12629 cat <<\_ASBOX
12630 ## ------------------------------------ ##
12631 ## Report this to bug-autoconf@gnu.org. ##
12632 ## ------------------------------------ ##
12633 _ASBOX
12634 ) |
12635 sed "s/^/$as_me: WARNING: /" >&2
12636 ;;
12637 esac
12638 echo "$as_me:$LINENO: checking for $ac_header" >&5
12639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 else
12643 eval "$as_ac_Header=$ac_header_preproc"
12644 fi
12645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12647
12648 fi
12649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12650 cat >>confdefs.h <<_ACEOF
12651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12652 _ACEOF
12653
12654 fi
12655
12656 done
12657
12658
12659 for ac_header in wchar.h
12660 do
12661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12663 echo "$as_me:$LINENO: checking for $ac_header" >&5
12664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 fi
12668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12670 else
12671 # Is the header compilable?
12672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12674 cat >conftest.$ac_ext <<_ACEOF
12675 #line $LINENO "configure"
12676 /* confdefs.h. */
12677 _ACEOF
12678 cat confdefs.h >>conftest.$ac_ext
12679 cat >>conftest.$ac_ext <<_ACEOF
12680 /* end confdefs.h. */
12681 $ac_includes_default
12682 #include <$ac_header>
12683 _ACEOF
12684 rm -f conftest.$ac_objext
12685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12686 (eval $ac_compile) 2>&5
12687 ac_status=$?
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try='test -s conftest.$ac_objext'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12693 ac_status=$?
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; }; then
12696 ac_header_compiler=yes
12697 else
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.$ac_ext >&5
12700
12701 ac_header_compiler=no
12702 fi
12703 rm -f conftest.$ac_objext conftest.$ac_ext
12704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12705 echo "${ECHO_T}$ac_header_compiler" >&6
12706
12707 # Is the header present?
12708 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12709 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12710 cat >conftest.$ac_ext <<_ACEOF
12711 #line $LINENO "configure"
12712 /* confdefs.h. */
12713 _ACEOF
12714 cat confdefs.h >>conftest.$ac_ext
12715 cat >>conftest.$ac_ext <<_ACEOF
12716 /* end confdefs.h. */
12717 #include <$ac_header>
12718 _ACEOF
12719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12721 ac_status=$?
12722 grep -v '^ *+' conftest.er1 >conftest.err
12723 rm -f conftest.er1
12724 cat conftest.err >&5
12725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726 (exit $ac_status); } >/dev/null; then
12727 if test -s conftest.err; then
12728 ac_cpp_err=$ac_c_preproc_warn_flag
12729 else
12730 ac_cpp_err=
12731 fi
12732 else
12733 ac_cpp_err=yes
12734 fi
12735 if test -z "$ac_cpp_err"; then
12736 ac_header_preproc=yes
12737 else
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.$ac_ext >&5
12740
12741 ac_header_preproc=no
12742 fi
12743 rm -f conftest.err conftest.$ac_ext
12744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12745 echo "${ECHO_T}$ac_header_preproc" >&6
12746
12747 # So? What about this header?
12748 case $ac_header_compiler:$ac_header_preproc in
12749 yes:no )
12750 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12751 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12754 (
12755 cat <<\_ASBOX
12756 ## ------------------------------------ ##
12757 ## Report this to bug-autoconf@gnu.org. ##
12758 ## ------------------------------------ ##
12759 _ASBOX
12760 ) |
12761 sed "s/^/$as_me: WARNING: /" >&2
12762 ;;
12763 no:yes )
12764 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12765 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12767 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12770 (
12771 cat <<\_ASBOX
12772 ## ------------------------------------ ##
12773 ## Report this to bug-autoconf@gnu.org. ##
12774 ## ------------------------------------ ##
12775 _ASBOX
12776 ) |
12777 sed "s/^/$as_me: WARNING: /" >&2
12778 ;;
12779 esac
12780 echo "$as_me:$LINENO: checking for $ac_header" >&5
12781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12783 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 else
12785 eval "$as_ac_Header=$ac_header_preproc"
12786 fi
12787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12789
12790 fi
12791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12792 cat >>confdefs.h <<_ACEOF
12793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12794 _ACEOF
12795
12796 fi
12797
12798 done
12799
12800
12801 if test "$ac_cv_header_wchar_h" != "yes"; then
12802
12803 for ac_header in wcstr.h
12804 do
12805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12807 echo "$as_me:$LINENO: checking for $ac_header" >&5
12808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 fi
12812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12814 else
12815 # Is the header compilable?
12816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12818 cat >conftest.$ac_ext <<_ACEOF
12819 #line $LINENO "configure"
12820 /* confdefs.h. */
12821 _ACEOF
12822 cat confdefs.h >>conftest.$ac_ext
12823 cat >>conftest.$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825 $ac_includes_default
12826 #include <$ac_header>
12827 _ACEOF
12828 rm -f conftest.$ac_objext
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>&5
12831 ac_status=$?
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); } &&
12834 { ac_try='test -s conftest.$ac_objext'
12835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836 (eval $ac_try) 2>&5
12837 ac_status=$?
12838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839 (exit $ac_status); }; }; then
12840 ac_header_compiler=yes
12841 else
12842 echo "$as_me: failed program was:" >&5
12843 sed 's/^/| /' conftest.$ac_ext >&5
12844
12845 ac_header_compiler=no
12846 fi
12847 rm -f conftest.$ac_objext conftest.$ac_ext
12848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12849 echo "${ECHO_T}$ac_header_compiler" >&6
12850
12851 # Is the header present?
12852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12854 cat >conftest.$ac_ext <<_ACEOF
12855 #line $LINENO "configure"
12856 /* confdefs.h. */
12857 _ACEOF
12858 cat confdefs.h >>conftest.$ac_ext
12859 cat >>conftest.$ac_ext <<_ACEOF
12860 /* end confdefs.h. */
12861 #include <$ac_header>
12862 _ACEOF
12863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12865 ac_status=$?
12866 grep -v '^ *+' conftest.er1 >conftest.err
12867 rm -f conftest.er1
12868 cat conftest.err >&5
12869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12870 (exit $ac_status); } >/dev/null; then
12871 if test -s conftest.err; then
12872 ac_cpp_err=$ac_c_preproc_warn_flag
12873 else
12874 ac_cpp_err=
12875 fi
12876 else
12877 ac_cpp_err=yes
12878 fi
12879 if test -z "$ac_cpp_err"; then
12880 ac_header_preproc=yes
12881 else
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.$ac_ext >&5
12884
12885 ac_header_preproc=no
12886 fi
12887 rm -f conftest.err conftest.$ac_ext
12888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12889 echo "${ECHO_T}$ac_header_preproc" >&6
12890
12891 # So? What about this header?
12892 case $ac_header_compiler:$ac_header_preproc in
12893 yes:no )
12894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12898 (
12899 cat <<\_ASBOX
12900 ## ------------------------------------ ##
12901 ## Report this to bug-autoconf@gnu.org. ##
12902 ## ------------------------------------ ##
12903 _ASBOX
12904 ) |
12905 sed "s/^/$as_me: WARNING: /" >&2
12906 ;;
12907 no:yes )
12908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12914 (
12915 cat <<\_ASBOX
12916 ## ------------------------------------ ##
12917 ## Report this to bug-autoconf@gnu.org. ##
12918 ## ------------------------------------ ##
12919 _ASBOX
12920 ) |
12921 sed "s/^/$as_me: WARNING: /" >&2
12922 ;;
12923 esac
12924 echo "$as_me:$LINENO: checking for $ac_header" >&5
12925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12927 echo $ECHO_N "(cached) $ECHO_C" >&6
12928 else
12929 eval "$as_ac_Header=$ac_header_preproc"
12930 fi
12931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12933
12934 fi
12935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12936 cat >>confdefs.h <<_ACEOF
12937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12938 _ACEOF
12939
12940 fi
12941
12942 done
12943
12944 fi
12945
12946
12947 for ac_header in fnmatch.h
12948 do
12949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12951 echo "$as_me:$LINENO: checking for $ac_header" >&5
12952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12954 echo $ECHO_N "(cached) $ECHO_C" >&6
12955 fi
12956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12958 else
12959 # Is the header compilable?
12960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12962 cat >conftest.$ac_ext <<_ACEOF
12963 #line $LINENO "configure"
12964 /* confdefs.h. */
12965 _ACEOF
12966 cat confdefs.h >>conftest.$ac_ext
12967 cat >>conftest.$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 $ac_includes_default
12970 #include <$ac_header>
12971 _ACEOF
12972 rm -f conftest.$ac_objext
12973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12974 (eval $ac_compile) 2>&5
12975 ac_status=$?
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try='test -s conftest.$ac_objext'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12981 ac_status=$?
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; }; then
12984 ac_header_compiler=yes
12985 else
12986 echo "$as_me: failed program was:" >&5
12987 sed 's/^/| /' conftest.$ac_ext >&5
12988
12989 ac_header_compiler=no
12990 fi
12991 rm -f conftest.$ac_objext conftest.$ac_ext
12992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12993 echo "${ECHO_T}$ac_header_compiler" >&6
12994
12995 # Is the header present?
12996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12998 cat >conftest.$ac_ext <<_ACEOF
12999 #line $LINENO "configure"
13000 /* confdefs.h. */
13001 _ACEOF
13002 cat confdefs.h >>conftest.$ac_ext
13003 cat >>conftest.$ac_ext <<_ACEOF
13004 /* end confdefs.h. */
13005 #include <$ac_header>
13006 _ACEOF
13007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13009 ac_status=$?
13010 grep -v '^ *+' conftest.er1 >conftest.err
13011 rm -f conftest.er1
13012 cat conftest.err >&5
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); } >/dev/null; then
13015 if test -s conftest.err; then
13016 ac_cpp_err=$ac_c_preproc_warn_flag
13017 else
13018 ac_cpp_err=
13019 fi
13020 else
13021 ac_cpp_err=yes
13022 fi
13023 if test -z "$ac_cpp_err"; then
13024 ac_header_preproc=yes
13025 else
13026 echo "$as_me: failed program was:" >&5
13027 sed 's/^/| /' conftest.$ac_ext >&5
13028
13029 ac_header_preproc=no
13030 fi
13031 rm -f conftest.err conftest.$ac_ext
13032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13033 echo "${ECHO_T}$ac_header_preproc" >&6
13034
13035 # So? What about this header?
13036 case $ac_header_compiler:$ac_header_preproc in
13037 yes:no )
13038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13042 (
13043 cat <<\_ASBOX
13044 ## ------------------------------------ ##
13045 ## Report this to bug-autoconf@gnu.org. ##
13046 ## ------------------------------------ ##
13047 _ASBOX
13048 ) |
13049 sed "s/^/$as_me: WARNING: /" >&2
13050 ;;
13051 no:yes )
13052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13058 (
13059 cat <<\_ASBOX
13060 ## ------------------------------------ ##
13061 ## Report this to bug-autoconf@gnu.org. ##
13062 ## ------------------------------------ ##
13063 _ASBOX
13064 ) |
13065 sed "s/^/$as_me: WARNING: /" >&2
13066 ;;
13067 esac
13068 echo "$as_me:$LINENO: checking for $ac_header" >&5
13069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 else
13073 eval "$as_ac_Header=$ac_header_preproc"
13074 fi
13075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13077
13078 fi
13079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13080 cat >>confdefs.h <<_ACEOF
13081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13082 _ACEOF
13083
13084 fi
13085
13086 done
13087
13088
13089 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13090
13091 for ac_func in fnmatch
13092 do
13093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13094 echo "$as_me:$LINENO: checking for $ac_func" >&5
13095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13096 if eval "test \"\${$as_ac_var+set}\" = set"; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 else
13099 cat >conftest.$ac_ext <<_ACEOF
13100 #line $LINENO "configure"
13101 /* confdefs.h. */
13102 _ACEOF
13103 cat confdefs.h >>conftest.$ac_ext
13104 cat >>conftest.$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 /* System header to define __stub macros and hopefully few prototypes,
13107 which can conflict with char $ac_func (); below.
13108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13109 <limits.h> exists even on freestanding compilers. */
13110 #ifdef __STDC__
13111 # include <limits.h>
13112 #else
13113 # include <assert.h>
13114 #endif
13115 /* Override any gcc2 internal prototype to avoid an error. */
13116 #ifdef __cplusplus
13117 extern "C"
13118 {
13119 #endif
13120 /* We use char because int might match the return type of a gcc2
13121 builtin and then its argument prototype would still apply. */
13122 char $ac_func ();
13123 /* The GNU C library defines this for functions which it implements
13124 to always fail with ENOSYS. Some functions are actually named
13125 something starting with __ and the normal name is an alias. */
13126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13127 choke me
13128 #else
13129 char (*f) () = $ac_func;
13130 #endif
13131 #ifdef __cplusplus
13132 }
13133 #endif
13134
13135 int
13136 main ()
13137 {
13138 return f != $ac_func;
13139 ;
13140 return 0;
13141 }
13142 _ACEOF
13143 rm -f conftest.$ac_objext conftest$ac_exeext
13144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13145 (eval $ac_link) 2>&5
13146 ac_status=$?
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); } &&
13149 { ac_try='test -s conftest$ac_exeext'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13152 ac_status=$?
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; }; then
13155 eval "$as_ac_var=yes"
13156 else
13157 echo "$as_me: failed program was:" >&5
13158 sed 's/^/| /' conftest.$ac_ext >&5
13159
13160 eval "$as_ac_var=no"
13161 fi
13162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13163 fi
13164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13166 if test `eval echo '${'$as_ac_var'}'` = yes; then
13167 cat >>confdefs.h <<_ACEOF
13168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13169 _ACEOF
13170
13171 fi
13172 done
13173
13174 fi
13175
13176
13177 for ac_header in langinfo.h
13178 do
13179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13181 echo "$as_me:$LINENO: checking for $ac_header" >&5
13182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 fi
13186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13188 else
13189 # Is the header compilable?
13190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13192 cat >conftest.$ac_ext <<_ACEOF
13193 #line $LINENO "configure"
13194 /* confdefs.h. */
13195 _ACEOF
13196 cat confdefs.h >>conftest.$ac_ext
13197 cat >>conftest.$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13199 $ac_includes_default
13200 #include <$ac_header>
13201 _ACEOF
13202 rm -f conftest.$ac_objext
13203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13204 (eval $ac_compile) 2>&5
13205 ac_status=$?
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); } &&
13208 { ac_try='test -s conftest.$ac_objext'
13209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13210 (eval $ac_try) 2>&5
13211 ac_status=$?
13212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13213 (exit $ac_status); }; }; then
13214 ac_header_compiler=yes
13215 else
13216 echo "$as_me: failed program was:" >&5
13217 sed 's/^/| /' conftest.$ac_ext >&5
13218
13219 ac_header_compiler=no
13220 fi
13221 rm -f conftest.$ac_objext conftest.$ac_ext
13222 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13223 echo "${ECHO_T}$ac_header_compiler" >&6
13224
13225 # Is the header present?
13226 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13227 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13228 cat >conftest.$ac_ext <<_ACEOF
13229 #line $LINENO "configure"
13230 /* confdefs.h. */
13231 _ACEOF
13232 cat confdefs.h >>conftest.$ac_ext
13233 cat >>conftest.$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13235 #include <$ac_header>
13236 _ACEOF
13237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13238 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13239 ac_status=$?
13240 grep -v '^ *+' conftest.er1 >conftest.err
13241 rm -f conftest.er1
13242 cat conftest.err >&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); } >/dev/null; then
13245 if test -s conftest.err; then
13246 ac_cpp_err=$ac_c_preproc_warn_flag
13247 else
13248 ac_cpp_err=
13249 fi
13250 else
13251 ac_cpp_err=yes
13252 fi
13253 if test -z "$ac_cpp_err"; then
13254 ac_header_preproc=yes
13255 else
13256 echo "$as_me: failed program was:" >&5
13257 sed 's/^/| /' conftest.$ac_ext >&5
13258
13259 ac_header_preproc=no
13260 fi
13261 rm -f conftest.err conftest.$ac_ext
13262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13263 echo "${ECHO_T}$ac_header_preproc" >&6
13264
13265 # So? What about this header?
13266 case $ac_header_compiler:$ac_header_preproc in
13267 yes:no )
13268 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13272 (
13273 cat <<\_ASBOX
13274 ## ------------------------------------ ##
13275 ## Report this to bug-autoconf@gnu.org. ##
13276 ## ------------------------------------ ##
13277 _ASBOX
13278 ) |
13279 sed "s/^/$as_me: WARNING: /" >&2
13280 ;;
13281 no:yes )
13282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13288 (
13289 cat <<\_ASBOX
13290 ## ------------------------------------ ##
13291 ## Report this to bug-autoconf@gnu.org. ##
13292 ## ------------------------------------ ##
13293 _ASBOX
13294 ) |
13295 sed "s/^/$as_me: WARNING: /" >&2
13296 ;;
13297 esac
13298 echo "$as_me:$LINENO: checking for $ac_header" >&5
13299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13302 else
13303 eval "$as_ac_Header=$ac_header_preproc"
13304 fi
13305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13307
13308 fi
13309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13310 cat >>confdefs.h <<_ACEOF
13311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13312 _ACEOF
13313
13314 fi
13315
13316 done
13317
13318
13319 case "${host}" in
13320 *-pc-os2_emx | *-pc-os2-emx )
13321 if test $ac_cv_header_langinfo_h = "yes"; then
13322 LIBS="$LIBS -lintl"
13323 fi
13324 ;;
13325 esac
13326
13327 if test "$wxUSE_GUI" = "yes"; then
13328 if test "$wxUSE_UNIX" = "yes"; then
13329
13330 for ac_header in X11/XKBlib.h
13331 do
13332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13334 echo "$as_me:$LINENO: checking for $ac_header" >&5
13335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13337 echo $ECHO_N "(cached) $ECHO_C" >&6
13338 fi
13339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13341 else
13342 # Is the header compilable?
13343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13345 cat >conftest.$ac_ext <<_ACEOF
13346 #line $LINENO "configure"
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352 $ac_includes_default
13353 #include <$ac_header>
13354 _ACEOF
13355 rm -f conftest.$ac_objext
13356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13357 (eval $ac_compile) 2>&5
13358 ac_status=$?
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); } &&
13361 { ac_try='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13364 ac_status=$?
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 ac_header_compiler=yes
13368 else
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.$ac_ext >&5
13371
13372 ac_header_compiler=no
13373 fi
13374 rm -f conftest.$ac_objext conftest.$ac_ext
13375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13376 echo "${ECHO_T}$ac_header_compiler" >&6
13377
13378 # Is the header present?
13379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13381 cat >conftest.$ac_ext <<_ACEOF
13382 #line $LINENO "configure"
13383 /* confdefs.h. */
13384 _ACEOF
13385 cat confdefs.h >>conftest.$ac_ext
13386 cat >>conftest.$ac_ext <<_ACEOF
13387 /* end confdefs.h. */
13388 #include <$ac_header>
13389 _ACEOF
13390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13392 ac_status=$?
13393 grep -v '^ *+' conftest.er1 >conftest.err
13394 rm -f conftest.er1
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } >/dev/null; then
13398 if test -s conftest.err; then
13399 ac_cpp_err=$ac_c_preproc_warn_flag
13400 else
13401 ac_cpp_err=
13402 fi
13403 else
13404 ac_cpp_err=yes
13405 fi
13406 if test -z "$ac_cpp_err"; then
13407 ac_header_preproc=yes
13408 else
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.$ac_ext >&5
13411
13412 ac_header_preproc=no
13413 fi
13414 rm -f conftest.err conftest.$ac_ext
13415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13416 echo "${ECHO_T}$ac_header_preproc" >&6
13417
13418 # So? What about this header?
13419 case $ac_header_compiler:$ac_header_preproc in
13420 yes:no )
13421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13424 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13425 (
13426 cat <<\_ASBOX
13427 ## ------------------------------------ ##
13428 ## Report this to bug-autoconf@gnu.org. ##
13429 ## ------------------------------------ ##
13430 _ASBOX
13431 ) |
13432 sed "s/^/$as_me: WARNING: /" >&2
13433 ;;
13434 no:yes )
13435 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13436 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13437 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13438 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13441 (
13442 cat <<\_ASBOX
13443 ## ------------------------------------ ##
13444 ## Report this to bug-autoconf@gnu.org. ##
13445 ## ------------------------------------ ##
13446 _ASBOX
13447 ) |
13448 sed "s/^/$as_me: WARNING: /" >&2
13449 ;;
13450 esac
13451 echo "$as_me:$LINENO: checking for $ac_header" >&5
13452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13454 echo $ECHO_N "(cached) $ECHO_C" >&6
13455 else
13456 eval "$as_ac_Header=$ac_header_preproc"
13457 fi
13458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13460
13461 fi
13462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13463 cat >>confdefs.h <<_ACEOF
13464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13465 _ACEOF
13466
13467 fi
13468
13469 done
13470
13471 fi
13472 fi
13473
13474
13475 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13476 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13477 if test "${ac_cv_c_const+set}" = set; then
13478 echo $ECHO_N "(cached) $ECHO_C" >&6
13479 else
13480 cat >conftest.$ac_ext <<_ACEOF
13481 #line $LINENO "configure"
13482 /* confdefs.h. */
13483 _ACEOF
13484 cat confdefs.h >>conftest.$ac_ext
13485 cat >>conftest.$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13487
13488 int
13489 main ()
13490 {
13491 /* FIXME: Include the comments suggested by Paul. */
13492 #ifndef __cplusplus
13493 /* Ultrix mips cc rejects this. */
13494 typedef int charset[2];
13495 const charset x;
13496 /* SunOS 4.1.1 cc rejects this. */
13497 char const *const *ccp;
13498 char **p;
13499 /* NEC SVR4.0.2 mips cc rejects this. */
13500 struct point {int x, y;};
13501 static struct point const zero = {0,0};
13502 /* AIX XL C 1.02.0.0 rejects this.
13503 It does not let you subtract one const X* pointer from another in
13504 an arm of an if-expression whose if-part is not a constant
13505 expression */
13506 const char *g = "string";
13507 ccp = &g + (g ? g-g : 0);
13508 /* HPUX 7.0 cc rejects these. */
13509 ++ccp;
13510 p = (char**) ccp;
13511 ccp = (char const *const *) p;
13512 { /* SCO 3.2v4 cc rejects this. */
13513 char *t;
13514 char const *s = 0 ? (char *) 0 : (char const *) 0;
13515
13516 *t++ = 0;
13517 }
13518 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13519 int x[] = {25, 17};
13520 const int *foo = &x[0];
13521 ++foo;
13522 }
13523 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13524 typedef const int *iptr;
13525 iptr p = 0;
13526 ++p;
13527 }
13528 { /* AIX XL C 1.02.0.0 rejects this saying
13529 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13530 struct s { int j; const int *ap[3]; };
13531 struct s *b; b->j = 5;
13532 }
13533 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13534 const int foo = 10;
13535 }
13536 #endif
13537
13538 ;
13539 return 0;
13540 }
13541 _ACEOF
13542 rm -f conftest.$ac_objext
13543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13544 (eval $ac_compile) 2>&5
13545 ac_status=$?
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); } &&
13548 { ac_try='test -s conftest.$ac_objext'
13549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13550 (eval $ac_try) 2>&5
13551 ac_status=$?
13552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 (exit $ac_status); }; }; then
13554 ac_cv_c_const=yes
13555 else
13556 echo "$as_me: failed program was:" >&5
13557 sed 's/^/| /' conftest.$ac_ext >&5
13558
13559 ac_cv_c_const=no
13560 fi
13561 rm -f conftest.$ac_objext conftest.$ac_ext
13562 fi
13563 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13564 echo "${ECHO_T}$ac_cv_c_const" >&6
13565 if test $ac_cv_c_const = no; then
13566
13567 cat >>confdefs.h <<\_ACEOF
13568 #define const
13569 _ACEOF
13570
13571 fi
13572
13573 echo "$as_me:$LINENO: checking for inline" >&5
13574 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13575 if test "${ac_cv_c_inline+set}" = set; then
13576 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 else
13578 ac_cv_c_inline=no
13579 for ac_kw in inline __inline__ __inline; do
13580 cat >conftest.$ac_ext <<_ACEOF
13581 #line $LINENO "configure"
13582 /* confdefs.h. */
13583 _ACEOF
13584 cat confdefs.h >>conftest.$ac_ext
13585 cat >>conftest.$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13587 #ifndef __cplusplus
13588 typedef int foo_t;
13589 static $ac_kw foo_t static_foo () {return 0; }
13590 $ac_kw foo_t foo () {return 0; }
13591 #endif
13592
13593 _ACEOF
13594 rm -f conftest.$ac_objext
13595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13596 (eval $ac_compile) 2>&5
13597 ac_status=$?
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); } &&
13600 { ac_try='test -s conftest.$ac_objext'
13601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13602 (eval $ac_try) 2>&5
13603 ac_status=$?
13604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13605 (exit $ac_status); }; }; then
13606 ac_cv_c_inline=$ac_kw; break
13607 else
13608 echo "$as_me: failed program was:" >&5
13609 sed 's/^/| /' conftest.$ac_ext >&5
13610
13611 fi
13612 rm -f conftest.$ac_objext conftest.$ac_ext
13613 done
13614
13615 fi
13616 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13617 echo "${ECHO_T}$ac_cv_c_inline" >&6
13618 case $ac_cv_c_inline in
13619 inline | yes) ;;
13620 no)
13621 cat >>confdefs.h <<\_ACEOF
13622 #define inline
13623 _ACEOF
13624 ;;
13625 *) cat >>confdefs.h <<_ACEOF
13626 #define inline $ac_cv_c_inline
13627 _ACEOF
13628 ;;
13629 esac
13630
13631
13632 echo "$as_me:$LINENO: checking for char" >&5
13633 echo $ECHO_N "checking for char... $ECHO_C" >&6
13634 if test "${ac_cv_type_char+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 else
13637 cat >conftest.$ac_ext <<_ACEOF
13638 #line $LINENO "configure"
13639 /* confdefs.h. */
13640 _ACEOF
13641 cat confdefs.h >>conftest.$ac_ext
13642 cat >>conftest.$ac_ext <<_ACEOF
13643 /* end confdefs.h. */
13644 $ac_includes_default
13645 int
13646 main ()
13647 {
13648 if ((char *) 0)
13649 return 0;
13650 if (sizeof (char))
13651 return 0;
13652 ;
13653 return 0;
13654 }
13655 _ACEOF
13656 rm -f conftest.$ac_objext
13657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13658 (eval $ac_compile) 2>&5
13659 ac_status=$?
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } &&
13662 { ac_try='test -s conftest.$ac_objext'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13665 ac_status=$?
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; }; then
13668 ac_cv_type_char=yes
13669 else
13670 echo "$as_me: failed program was:" >&5
13671 sed 's/^/| /' conftest.$ac_ext >&5
13672
13673 ac_cv_type_char=no
13674 fi
13675 rm -f conftest.$ac_objext conftest.$ac_ext
13676 fi
13677 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13678 echo "${ECHO_T}$ac_cv_type_char" >&6
13679
13680 echo "$as_me:$LINENO: checking size of char" >&5
13681 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13682 if test "${ac_cv_sizeof_char+set}" = set; then
13683 echo $ECHO_N "(cached) $ECHO_C" >&6
13684 else
13685 if test "$ac_cv_type_char" = yes; then
13686 # The cast to unsigned long works around a bug in the HP C Compiler
13687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13689 # This bug is HP SR number 8606223364.
13690 if test "$cross_compiling" = yes; then
13691 # Depending upon the size, compute the lo and hi bounds.
13692 cat >conftest.$ac_ext <<_ACEOF
13693 #line $LINENO "configure"
13694 /* confdefs.h. */
13695 _ACEOF
13696 cat confdefs.h >>conftest.$ac_ext
13697 cat >>conftest.$ac_ext <<_ACEOF
13698 /* end confdefs.h. */
13699 $ac_includes_default
13700 int
13701 main ()
13702 {
13703 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13704 test_array [0] = 0
13705
13706 ;
13707 return 0;
13708 }
13709 _ACEOF
13710 rm -f conftest.$ac_objext
13711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13712 (eval $ac_compile) 2>&5
13713 ac_status=$?
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); } &&
13716 { ac_try='test -s conftest.$ac_objext'
13717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13718 (eval $ac_try) 2>&5
13719 ac_status=$?
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); }; }; then
13722 ac_lo=0 ac_mid=0
13723 while :; do
13724 cat >conftest.$ac_ext <<_ACEOF
13725 #line $LINENO "configure"
13726 /* confdefs.h. */
13727 _ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 $ac_includes_default
13732 int
13733 main ()
13734 {
13735 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13736 test_array [0] = 0
13737
13738 ;
13739 return 0;
13740 }
13741 _ACEOF
13742 rm -f conftest.$ac_objext
13743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13744 (eval $ac_compile) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try='test -s conftest.$ac_objext'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13751 ac_status=$?
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; }; then
13754 ac_hi=$ac_mid; break
13755 else
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13758
13759 ac_lo=`expr $ac_mid + 1`
13760 if test $ac_lo -le $ac_mid; then
13761 ac_lo= ac_hi=
13762 break
13763 fi
13764 ac_mid=`expr 2 '*' $ac_mid + 1`
13765 fi
13766 rm -f conftest.$ac_objext conftest.$ac_ext
13767 done
13768 else
13769 echo "$as_me: failed program was:" >&5
13770 sed 's/^/| /' conftest.$ac_ext >&5
13771
13772 cat >conftest.$ac_ext <<_ACEOF
13773 #line $LINENO "configure"
13774 /* confdefs.h. */
13775 _ACEOF
13776 cat confdefs.h >>conftest.$ac_ext
13777 cat >>conftest.$ac_ext <<_ACEOF
13778 /* end confdefs.h. */
13779 $ac_includes_default
13780 int
13781 main ()
13782 {
13783 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13784 test_array [0] = 0
13785
13786 ;
13787 return 0;
13788 }
13789 _ACEOF
13790 rm -f conftest.$ac_objext
13791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13792 (eval $ac_compile) 2>&5
13793 ac_status=$?
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } &&
13796 { ac_try='test -s conftest.$ac_objext'
13797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13798 (eval $ac_try) 2>&5
13799 ac_status=$?
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); }; }; then
13802 ac_hi=-1 ac_mid=-1
13803 while :; do
13804 cat >conftest.$ac_ext <<_ACEOF
13805 #line $LINENO "configure"
13806 /* confdefs.h. */
13807 _ACEOF
13808 cat confdefs.h >>conftest.$ac_ext
13809 cat >>conftest.$ac_ext <<_ACEOF
13810 /* end confdefs.h. */
13811 $ac_includes_default
13812 int
13813 main ()
13814 {
13815 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13816 test_array [0] = 0
13817
13818 ;
13819 return 0;
13820 }
13821 _ACEOF
13822 rm -f conftest.$ac_objext
13823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13824 (eval $ac_compile) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try='test -s conftest.$ac_objext'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13831 ac_status=$?
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; }; then
13834 ac_lo=$ac_mid; break
13835 else
13836 echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.$ac_ext >&5
13838
13839 ac_hi=`expr '(' $ac_mid ')' - 1`
13840 if test $ac_mid -le $ac_hi; then
13841 ac_lo= ac_hi=
13842 break
13843 fi
13844 ac_mid=`expr 2 '*' $ac_mid`
13845 fi
13846 rm -f conftest.$ac_objext conftest.$ac_ext
13847 done
13848 else
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13851
13852 ac_lo= ac_hi=
13853 fi
13854 rm -f conftest.$ac_objext conftest.$ac_ext
13855 fi
13856 rm -f conftest.$ac_objext conftest.$ac_ext
13857 # Binary search between lo and hi bounds.
13858 while test "x$ac_lo" != "x$ac_hi"; do
13859 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13860 cat >conftest.$ac_ext <<_ACEOF
13861 #line $LINENO "configure"
13862 /* confdefs.h. */
13863 _ACEOF
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 $ac_includes_default
13868 int
13869 main ()
13870 {
13871 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13872 test_array [0] = 0
13873
13874 ;
13875 return 0;
13876 }
13877 _ACEOF
13878 rm -f conftest.$ac_objext
13879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13880 (eval $ac_compile) 2>&5
13881 ac_status=$?
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } &&
13884 { ac_try='test -s conftest.$ac_objext'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; }; then
13890 ac_hi=$ac_mid
13891 else
13892 echo "$as_me: failed program was:" >&5
13893 sed 's/^/| /' conftest.$ac_ext >&5
13894
13895 ac_lo=`expr '(' $ac_mid ')' + 1`
13896 fi
13897 rm -f conftest.$ac_objext conftest.$ac_ext
13898 done
13899 case $ac_lo in
13900 ?*) ac_cv_sizeof_char=$ac_lo;;
13901 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13902 See \`config.log' for more details." >&5
13903 echo "$as_me: error: cannot compute sizeof (char), 77
13904 See \`config.log' for more details." >&2;}
13905 { (exit 1); exit 1; }; } ;;
13906 esac
13907 else
13908 if test "$cross_compiling" = yes; then
13909 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13910 See \`config.log' for more details." >&5
13911 echo "$as_me: error: cannot run test program while cross compiling
13912 See \`config.log' for more details." >&2;}
13913 { (exit 1); exit 1; }; }
13914 else
13915 cat >conftest.$ac_ext <<_ACEOF
13916 #line $LINENO "configure"
13917 /* confdefs.h. */
13918 _ACEOF
13919 cat confdefs.h >>conftest.$ac_ext
13920 cat >>conftest.$ac_ext <<_ACEOF
13921 /* end confdefs.h. */
13922 $ac_includes_default
13923 long longval () { return (long) (sizeof (char)); }
13924 unsigned long ulongval () { return (long) (sizeof (char)); }
13925 #include <stdio.h>
13926 #include <stdlib.h>
13927 int
13928 main ()
13929 {
13930
13931 FILE *f = fopen ("conftest.val", "w");
13932 if (! f)
13933 exit (1);
13934 if (((long) (sizeof (char))) < 0)
13935 {
13936 long i = longval ();
13937 if (i != ((long) (sizeof (char))))
13938 exit (1);
13939 fprintf (f, "%ld\n", i);
13940 }
13941 else
13942 {
13943 unsigned long i = ulongval ();
13944 if (i != ((long) (sizeof (char))))
13945 exit (1);
13946 fprintf (f, "%lu\n", i);
13947 }
13948 exit (ferror (f) || fclose (f) != 0);
13949
13950 ;
13951 return 0;
13952 }
13953 _ACEOF
13954 rm -f conftest$ac_exeext
13955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13956 (eval $ac_link) 2>&5
13957 ac_status=$?
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 (eval $ac_try) 2>&5
13962 ac_status=$?
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); }; }; then
13965 ac_cv_sizeof_char=`cat conftest.val`
13966 else
13967 echo "$as_me: program exited with status $ac_status" >&5
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.$ac_ext >&5
13970
13971 ( exit $ac_status )
13972 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13973 See \`config.log' for more details." >&5
13974 echo "$as_me: error: cannot compute sizeof (char), 77
13975 See \`config.log' for more details." >&2;}
13976 { (exit 1); exit 1; }; }
13977 fi
13978 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13979 fi
13980 fi
13981 rm -f conftest.val
13982 else
13983 ac_cv_sizeof_char=0
13984 fi
13985 fi
13986 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13987 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13988 cat >>confdefs.h <<_ACEOF
13989 #define SIZEOF_CHAR $ac_cv_sizeof_char
13990 _ACEOF
13991
13992
13993 echo "$as_me:$LINENO: checking for short" >&5
13994 echo $ECHO_N "checking for short... $ECHO_C" >&6
13995 if test "${ac_cv_type_short+set}" = set; then
13996 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 else
13998 cat >conftest.$ac_ext <<_ACEOF
13999 #line $LINENO "configure"
14000 /* confdefs.h. */
14001 _ACEOF
14002 cat confdefs.h >>conftest.$ac_ext
14003 cat >>conftest.$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14005 $ac_includes_default
14006 int
14007 main ()
14008 {
14009 if ((short *) 0)
14010 return 0;
14011 if (sizeof (short))
14012 return 0;
14013 ;
14014 return 0;
14015 }
14016 _ACEOF
14017 rm -f conftest.$ac_objext
14018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14019 (eval $ac_compile) 2>&5
14020 ac_status=$?
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try='test -s conftest.$ac_objext'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14026 ac_status=$?
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; }; then
14029 ac_cv_type_short=yes
14030 else
14031 echo "$as_me: failed program was:" >&5
14032 sed 's/^/| /' conftest.$ac_ext >&5
14033
14034 ac_cv_type_short=no
14035 fi
14036 rm -f conftest.$ac_objext conftest.$ac_ext
14037 fi
14038 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14039 echo "${ECHO_T}$ac_cv_type_short" >&6
14040
14041 echo "$as_me:$LINENO: checking size of short" >&5
14042 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14043 if test "${ac_cv_sizeof_short+set}" = set; then
14044 echo $ECHO_N "(cached) $ECHO_C" >&6
14045 else
14046 if test "$ac_cv_type_short" = yes; then
14047 # The cast to unsigned long works around a bug in the HP C Compiler
14048 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14049 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14050 # This bug is HP SR number 8606223364.
14051 if test "$cross_compiling" = yes; then
14052 # Depending upon the size, compute the lo and hi bounds.
14053 cat >conftest.$ac_ext <<_ACEOF
14054 #line $LINENO "configure"
14055 /* confdefs.h. */
14056 _ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 $ac_includes_default
14061 int
14062 main ()
14063 {
14064 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14065 test_array [0] = 0
14066
14067 ;
14068 return 0;
14069 }
14070 _ACEOF
14071 rm -f conftest.$ac_objext
14072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14073 (eval $ac_compile) 2>&5
14074 ac_status=$?
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try='test -s conftest.$ac_objext'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14080 ac_status=$?
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; }; then
14083 ac_lo=0 ac_mid=0
14084 while :; do
14085 cat >conftest.$ac_ext <<_ACEOF
14086 #line $LINENO "configure"
14087 /* confdefs.h. */
14088 _ACEOF
14089 cat confdefs.h >>conftest.$ac_ext
14090 cat >>conftest.$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092 $ac_includes_default
14093 int
14094 main ()
14095 {
14096 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14097 test_array [0] = 0
14098
14099 ;
14100 return 0;
14101 }
14102 _ACEOF
14103 rm -f conftest.$ac_objext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14105 (eval $ac_compile) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); } &&
14109 { ac_try='test -s conftest.$ac_objext'
14110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14111 (eval $ac_try) 2>&5
14112 ac_status=$?
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); }; }; then
14115 ac_hi=$ac_mid; break
14116 else
14117 echo "$as_me: failed program was:" >&5
14118 sed 's/^/| /' conftest.$ac_ext >&5
14119
14120 ac_lo=`expr $ac_mid + 1`
14121 if test $ac_lo -le $ac_mid; then
14122 ac_lo= ac_hi=
14123 break
14124 fi
14125 ac_mid=`expr 2 '*' $ac_mid + 1`
14126 fi
14127 rm -f conftest.$ac_objext conftest.$ac_ext
14128 done
14129 else
14130 echo "$as_me: failed program was:" >&5
14131 sed 's/^/| /' conftest.$ac_ext >&5
14132
14133 cat >conftest.$ac_ext <<_ACEOF
14134 #line $LINENO "configure"
14135 /* confdefs.h. */
14136 _ACEOF
14137 cat confdefs.h >>conftest.$ac_ext
14138 cat >>conftest.$ac_ext <<_ACEOF
14139 /* end confdefs.h. */
14140 $ac_includes_default
14141 int
14142 main ()
14143 {
14144 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14145 test_array [0] = 0
14146
14147 ;
14148 return 0;
14149 }
14150 _ACEOF
14151 rm -f conftest.$ac_objext
14152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14153 (eval $ac_compile) 2>&5
14154 ac_status=$?
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); } &&
14157 { ac_try='test -s conftest.$ac_objext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14160 ac_status=$?
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 ac_hi=-1 ac_mid=-1
14164 while :; do
14165 cat >conftest.$ac_ext <<_ACEOF
14166 #line $LINENO "configure"
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14172 $ac_includes_default
14173 int
14174 main ()
14175 {
14176 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14177 test_array [0] = 0
14178
14179 ;
14180 return 0;
14181 }
14182 _ACEOF
14183 rm -f conftest.$ac_objext
14184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14185 (eval $ac_compile) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try='test -s conftest.$ac_objext'
14190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14191 (eval $ac_try) 2>&5
14192 ac_status=$?
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); }; }; then
14195 ac_lo=$ac_mid; break
14196 else
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14199
14200 ac_hi=`expr '(' $ac_mid ')' - 1`
14201 if test $ac_mid -le $ac_hi; then
14202 ac_lo= ac_hi=
14203 break
14204 fi
14205 ac_mid=`expr 2 '*' $ac_mid`
14206 fi
14207 rm -f conftest.$ac_objext conftest.$ac_ext
14208 done
14209 else
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14212
14213 ac_lo= ac_hi=
14214 fi
14215 rm -f conftest.$ac_objext conftest.$ac_ext
14216 fi
14217 rm -f conftest.$ac_objext conftest.$ac_ext
14218 # Binary search between lo and hi bounds.
14219 while test "x$ac_lo" != "x$ac_hi"; do
14220 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14221 cat >conftest.$ac_ext <<_ACEOF
14222 #line $LINENO "configure"
14223 /* confdefs.h. */
14224 _ACEOF
14225 cat confdefs.h >>conftest.$ac_ext
14226 cat >>conftest.$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14228 $ac_includes_default
14229 int
14230 main ()
14231 {
14232 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14233 test_array [0] = 0
14234
14235 ;
14236 return 0;
14237 }
14238 _ACEOF
14239 rm -f conftest.$ac_objext
14240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14241 (eval $ac_compile) 2>&5
14242 ac_status=$?
14243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } &&
14245 { ac_try='test -s conftest.$ac_objext'
14246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14247 (eval $ac_try) 2>&5
14248 ac_status=$?
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); }; }; then
14251 ac_hi=$ac_mid
14252 else
14253 echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.$ac_ext >&5
14255
14256 ac_lo=`expr '(' $ac_mid ')' + 1`
14257 fi
14258 rm -f conftest.$ac_objext conftest.$ac_ext
14259 done
14260 case $ac_lo in
14261 ?*) ac_cv_sizeof_short=$ac_lo;;
14262 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14263 See \`config.log' for more details." >&5
14264 echo "$as_me: error: cannot compute sizeof (short), 77
14265 See \`config.log' for more details." >&2;}
14266 { (exit 1); exit 1; }; } ;;
14267 esac
14268 else
14269 if test "$cross_compiling" = yes; then
14270 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14271 See \`config.log' for more details." >&5
14272 echo "$as_me: error: cannot run test program while cross compiling
14273 See \`config.log' for more details." >&2;}
14274 { (exit 1); exit 1; }; }
14275 else
14276 cat >conftest.$ac_ext <<_ACEOF
14277 #line $LINENO "configure"
14278 /* confdefs.h. */
14279 _ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14283 $ac_includes_default
14284 long longval () { return (long) (sizeof (short)); }
14285 unsigned long ulongval () { return (long) (sizeof (short)); }
14286 #include <stdio.h>
14287 #include <stdlib.h>
14288 int
14289 main ()
14290 {
14291
14292 FILE *f = fopen ("conftest.val", "w");
14293 if (! f)
14294 exit (1);
14295 if (((long) (sizeof (short))) < 0)
14296 {
14297 long i = longval ();
14298 if (i != ((long) (sizeof (short))))
14299 exit (1);
14300 fprintf (f, "%ld\n", i);
14301 }
14302 else
14303 {
14304 unsigned long i = ulongval ();
14305 if (i != ((long) (sizeof (short))))
14306 exit (1);
14307 fprintf (f, "%lu\n", i);
14308 }
14309 exit (ferror (f) || fclose (f) != 0);
14310
14311 ;
14312 return 0;
14313 }
14314 _ACEOF
14315 rm -f conftest$ac_exeext
14316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14317 (eval $ac_link) 2>&5
14318 ac_status=$?
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14322 (eval $ac_try) 2>&5
14323 ac_status=$?
14324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); }; }; then
14326 ac_cv_sizeof_short=`cat conftest.val`
14327 else
14328 echo "$as_me: program exited with status $ac_status" >&5
14329 echo "$as_me: failed program was:" >&5
14330 sed 's/^/| /' conftest.$ac_ext >&5
14331
14332 ( exit $ac_status )
14333 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14334 See \`config.log' for more details." >&5
14335 echo "$as_me: error: cannot compute sizeof (short), 77
14336 See \`config.log' for more details." >&2;}
14337 { (exit 1); exit 1; }; }
14338 fi
14339 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14340 fi
14341 fi
14342 rm -f conftest.val
14343 else
14344 ac_cv_sizeof_short=0
14345 fi
14346 fi
14347 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14348 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14349 cat >>confdefs.h <<_ACEOF
14350 #define SIZEOF_SHORT $ac_cv_sizeof_short
14351 _ACEOF
14352
14353
14354 echo "$as_me:$LINENO: checking for void *" >&5
14355 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14356 if test "${ac_cv_type_void_p+set}" = set; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 else
14359 cat >conftest.$ac_ext <<_ACEOF
14360 #line $LINENO "configure"
14361 /* confdefs.h. */
14362 _ACEOF
14363 cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14366 $ac_includes_default
14367 int
14368 main ()
14369 {
14370 if ((void * *) 0)
14371 return 0;
14372 if (sizeof (void *))
14373 return 0;
14374 ;
14375 return 0;
14376 }
14377 _ACEOF
14378 rm -f conftest.$ac_objext
14379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14380 (eval $ac_compile) 2>&5
14381 ac_status=$?
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); } &&
14384 { ac_try='test -s conftest.$ac_objext'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_cv_type_void_p=yes
14391 else
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14394
14395 ac_cv_type_void_p=no
14396 fi
14397 rm -f conftest.$ac_objext conftest.$ac_ext
14398 fi
14399 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14400 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14401
14402 echo "$as_me:$LINENO: checking size of void *" >&5
14403 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14404 if test "${ac_cv_sizeof_void_p+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14406 else
14407 if test "$ac_cv_type_void_p" = yes; then
14408 # The cast to unsigned long works around a bug in the HP C Compiler
14409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14411 # This bug is HP SR number 8606223364.
14412 if test "$cross_compiling" = yes; then
14413 # Depending upon the size, compute the lo and hi bounds.
14414 cat >conftest.$ac_ext <<_ACEOF
14415 #line $LINENO "configure"
14416 /* confdefs.h. */
14417 _ACEOF
14418 cat confdefs.h >>conftest.$ac_ext
14419 cat >>conftest.$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14421 $ac_includes_default
14422 int
14423 main ()
14424 {
14425 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14426 test_array [0] = 0
14427
14428 ;
14429 return 0;
14430 }
14431 _ACEOF
14432 rm -f conftest.$ac_objext
14433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14434 (eval $ac_compile) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -s conftest.$ac_objext'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14441 ac_status=$?
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; }; then
14444 ac_lo=0 ac_mid=0
14445 while :; do
14446 cat >conftest.$ac_ext <<_ACEOF
14447 #line $LINENO "configure"
14448 /* confdefs.h. */
14449 _ACEOF
14450 cat confdefs.h >>conftest.$ac_ext
14451 cat >>conftest.$ac_ext <<_ACEOF
14452 /* end confdefs.h. */
14453 $ac_includes_default
14454 int
14455 main ()
14456 {
14457 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14458 test_array [0] = 0
14459
14460 ;
14461 return 0;
14462 }
14463 _ACEOF
14464 rm -f conftest.$ac_objext
14465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14466 (eval $ac_compile) 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); } &&
14470 { ac_try='test -s conftest.$ac_objext'
14471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14472 (eval $ac_try) 2>&5
14473 ac_status=$?
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); }; }; then
14476 ac_hi=$ac_mid; break
14477 else
14478 echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.$ac_ext >&5
14480
14481 ac_lo=`expr $ac_mid + 1`
14482 if test $ac_lo -le $ac_mid; then
14483 ac_lo= ac_hi=
14484 break
14485 fi
14486 ac_mid=`expr 2 '*' $ac_mid + 1`
14487 fi
14488 rm -f conftest.$ac_objext conftest.$ac_ext
14489 done
14490 else
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.$ac_ext >&5
14493
14494 cat >conftest.$ac_ext <<_ACEOF
14495 #line $LINENO "configure"
14496 /* confdefs.h. */
14497 _ACEOF
14498 cat confdefs.h >>conftest.$ac_ext
14499 cat >>conftest.$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14501 $ac_includes_default
14502 int
14503 main ()
14504 {
14505 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14506 test_array [0] = 0
14507
14508 ;
14509 return 0;
14510 }
14511 _ACEOF
14512 rm -f conftest.$ac_objext
14513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14514 (eval $ac_compile) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try='test -s conftest.$ac_objext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 ac_hi=-1 ac_mid=-1
14525 while :; do
14526 cat >conftest.$ac_ext <<_ACEOF
14527 #line $LINENO "configure"
14528 /* confdefs.h. */
14529 _ACEOF
14530 cat confdefs.h >>conftest.$ac_ext
14531 cat >>conftest.$ac_ext <<_ACEOF
14532 /* end confdefs.h. */
14533 $ac_includes_default
14534 int
14535 main ()
14536 {
14537 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14538 test_array [0] = 0
14539
14540 ;
14541 return 0;
14542 }
14543 _ACEOF
14544 rm -f conftest.$ac_objext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14546 (eval $ac_compile) 2>&5
14547 ac_status=$?
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } &&
14550 { ac_try='test -s conftest.$ac_objext'
14551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14552 (eval $ac_try) 2>&5
14553 ac_status=$?
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); }; }; then
14556 ac_lo=$ac_mid; break
14557 else
14558 echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.$ac_ext >&5
14560
14561 ac_hi=`expr '(' $ac_mid ')' - 1`
14562 if test $ac_mid -le $ac_hi; then
14563 ac_lo= ac_hi=
14564 break
14565 fi
14566 ac_mid=`expr 2 '*' $ac_mid`
14567 fi
14568 rm -f conftest.$ac_objext conftest.$ac_ext
14569 done
14570 else
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.$ac_ext >&5
14573
14574 ac_lo= ac_hi=
14575 fi
14576 rm -f conftest.$ac_objext conftest.$ac_ext
14577 fi
14578 rm -f conftest.$ac_objext conftest.$ac_ext
14579 # Binary search between lo and hi bounds.
14580 while test "x$ac_lo" != "x$ac_hi"; do
14581 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14582 cat >conftest.$ac_ext <<_ACEOF
14583 #line $LINENO "configure"
14584 /* confdefs.h. */
14585 _ACEOF
14586 cat confdefs.h >>conftest.$ac_ext
14587 cat >>conftest.$ac_ext <<_ACEOF
14588 /* end confdefs.h. */
14589 $ac_includes_default
14590 int
14591 main ()
14592 {
14593 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14594 test_array [0] = 0
14595
14596 ;
14597 return 0;
14598 }
14599 _ACEOF
14600 rm -f conftest.$ac_objext
14601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14602 (eval $ac_compile) 2>&5
14603 ac_status=$?
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); } &&
14606 { ac_try='test -s conftest.$ac_objext'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14609 ac_status=$?
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; }; then
14612 ac_hi=$ac_mid
14613 else
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14616
14617 ac_lo=`expr '(' $ac_mid ')' + 1`
14618 fi
14619 rm -f conftest.$ac_objext conftest.$ac_ext
14620 done
14621 case $ac_lo in
14622 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14623 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14624 See \`config.log' for more details." >&5
14625 echo "$as_me: error: cannot compute sizeof (void *), 77
14626 See \`config.log' for more details." >&2;}
14627 { (exit 1); exit 1; }; } ;;
14628 esac
14629 else
14630 if test "$cross_compiling" = yes; then
14631 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14632 See \`config.log' for more details." >&5
14633 echo "$as_me: error: cannot run test program while cross compiling
14634 See \`config.log' for more details." >&2;}
14635 { (exit 1); exit 1; }; }
14636 else
14637 cat >conftest.$ac_ext <<_ACEOF
14638 #line $LINENO "configure"
14639 /* confdefs.h. */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644 $ac_includes_default
14645 long longval () { return (long) (sizeof (void *)); }
14646 unsigned long ulongval () { return (long) (sizeof (void *)); }
14647 #include <stdio.h>
14648 #include <stdlib.h>
14649 int
14650 main ()
14651 {
14652
14653 FILE *f = fopen ("conftest.val", "w");
14654 if (! f)
14655 exit (1);
14656 if (((long) (sizeof (void *))) < 0)
14657 {
14658 long i = longval ();
14659 if (i != ((long) (sizeof (void *))))
14660 exit (1);
14661 fprintf (f, "%ld\n", i);
14662 }
14663 else
14664 {
14665 unsigned long i = ulongval ();
14666 if (i != ((long) (sizeof (void *))))
14667 exit (1);
14668 fprintf (f, "%lu\n", i);
14669 }
14670 exit (ferror (f) || fclose (f) != 0);
14671
14672 ;
14673 return 0;
14674 }
14675 _ACEOF
14676 rm -f conftest$ac_exeext
14677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14678 (eval $ac_link) 2>&5
14679 ac_status=$?
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14683 (eval $ac_try) 2>&5
14684 ac_status=$?
14685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14686 (exit $ac_status); }; }; then
14687 ac_cv_sizeof_void_p=`cat conftest.val`
14688 else
14689 echo "$as_me: program exited with status $ac_status" >&5
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14692
14693 ( exit $ac_status )
14694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14695 See \`config.log' for more details." >&5
14696 echo "$as_me: error: cannot compute sizeof (void *), 77
14697 See \`config.log' for more details." >&2;}
14698 { (exit 1); exit 1; }; }
14699 fi
14700 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14701 fi
14702 fi
14703 rm -f conftest.val
14704 else
14705 ac_cv_sizeof_void_p=0
14706 fi
14707 fi
14708 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14709 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14710 cat >>confdefs.h <<_ACEOF
14711 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14712 _ACEOF
14713
14714
14715 echo "$as_me:$LINENO: checking for int" >&5
14716 echo $ECHO_N "checking for int... $ECHO_C" >&6
14717 if test "${ac_cv_type_int+set}" = set; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 else
14720 cat >conftest.$ac_ext <<_ACEOF
14721 #line $LINENO "configure"
14722 /* confdefs.h. */
14723 _ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h. */
14727 $ac_includes_default
14728 int
14729 main ()
14730 {
14731 if ((int *) 0)
14732 return 0;
14733 if (sizeof (int))
14734 return 0;
14735 ;
14736 return 0;
14737 }
14738 _ACEOF
14739 rm -f conftest.$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>&5
14742 ac_status=$?
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_cv_type_int=yes
14752 else
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14755
14756 ac_cv_type_int=no
14757 fi
14758 rm -f conftest.$ac_objext conftest.$ac_ext
14759 fi
14760 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14761 echo "${ECHO_T}$ac_cv_type_int" >&6
14762
14763 echo "$as_me:$LINENO: checking size of int" >&5
14764 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14765 if test "${ac_cv_sizeof_int+set}" = set; then
14766 echo $ECHO_N "(cached) $ECHO_C" >&6
14767 else
14768 if test "$ac_cv_type_int" = yes; then
14769 # The cast to unsigned long works around a bug in the HP C Compiler
14770 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14771 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14772 # This bug is HP SR number 8606223364.
14773 if test "$cross_compiling" = yes; then
14774 # Depending upon the size, compute the lo and hi bounds.
14775 cat >conftest.$ac_ext <<_ACEOF
14776 #line $LINENO "configure"
14777 /* confdefs.h. */
14778 _ACEOF
14779 cat confdefs.h >>conftest.$ac_ext
14780 cat >>conftest.$ac_ext <<_ACEOF
14781 /* end confdefs.h. */
14782 $ac_includes_default
14783 int
14784 main ()
14785 {
14786 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14787 test_array [0] = 0
14788
14789 ;
14790 return 0;
14791 }
14792 _ACEOF
14793 rm -f conftest.$ac_objext
14794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14795 (eval $ac_compile) 2>&5
14796 ac_status=$?
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); } &&
14799 { ac_try='test -s conftest.$ac_objext'
14800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801 (eval $ac_try) 2>&5
14802 ac_status=$?
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; }; then
14805 ac_lo=0 ac_mid=0
14806 while :; do
14807 cat >conftest.$ac_ext <<_ACEOF
14808 #line $LINENO "configure"
14809 /* confdefs.h. */
14810 _ACEOF
14811 cat confdefs.h >>conftest.$ac_ext
14812 cat >>conftest.$ac_ext <<_ACEOF
14813 /* end confdefs.h. */
14814 $ac_includes_default
14815 int
14816 main ()
14817 {
14818 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14819 test_array [0] = 0
14820
14821 ;
14822 return 0;
14823 }
14824 _ACEOF
14825 rm -f conftest.$ac_objext
14826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14827 (eval $ac_compile) 2>&5
14828 ac_status=$?
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try='test -s conftest.$ac_objext'
14832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833 (eval $ac_try) 2>&5
14834 ac_status=$?
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; }; then
14837 ac_hi=$ac_mid; break
14838 else
14839 echo "$as_me: failed program was:" >&5
14840 sed 's/^/| /' conftest.$ac_ext >&5
14841
14842 ac_lo=`expr $ac_mid + 1`
14843 if test $ac_lo -le $ac_mid; then
14844 ac_lo= ac_hi=
14845 break
14846 fi
14847 ac_mid=`expr 2 '*' $ac_mid + 1`
14848 fi
14849 rm -f conftest.$ac_objext conftest.$ac_ext
14850 done
14851 else
14852 echo "$as_me: failed program was:" >&5
14853 sed 's/^/| /' conftest.$ac_ext >&5
14854
14855 cat >conftest.$ac_ext <<_ACEOF
14856 #line $LINENO "configure"
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862 $ac_includes_default
14863 int
14864 main ()
14865 {
14866 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14867 test_array [0] = 0
14868
14869 ;
14870 return 0;
14871 }
14872 _ACEOF
14873 rm -f conftest.$ac_objext
14874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14875 (eval $ac_compile) 2>&5
14876 ac_status=$?
14877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878 (exit $ac_status); } &&
14879 { ac_try='test -s conftest.$ac_objext'
14880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881 (eval $ac_try) 2>&5
14882 ac_status=$?
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); }; }; then
14885 ac_hi=-1 ac_mid=-1
14886 while :; do
14887 cat >conftest.$ac_ext <<_ACEOF
14888 #line $LINENO "configure"
14889 /* confdefs.h. */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894 $ac_includes_default
14895 int
14896 main ()
14897 {
14898 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14899 test_array [0] = 0
14900
14901 ;
14902 return 0;
14903 }
14904 _ACEOF
14905 rm -f conftest.$ac_objext
14906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14907 (eval $ac_compile) 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } &&
14911 { ac_try='test -s conftest.$ac_objext'
14912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14913 (eval $ac_try) 2>&5
14914 ac_status=$?
14915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); }; }; then
14917 ac_lo=$ac_mid; break
14918 else
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.$ac_ext >&5
14921
14922 ac_hi=`expr '(' $ac_mid ')' - 1`
14923 if test $ac_mid -le $ac_hi; then
14924 ac_lo= ac_hi=
14925 break
14926 fi
14927 ac_mid=`expr 2 '*' $ac_mid`
14928 fi
14929 rm -f conftest.$ac_objext conftest.$ac_ext
14930 done
14931 else
14932 echo "$as_me: failed program was:" >&5
14933 sed 's/^/| /' conftest.$ac_ext >&5
14934
14935 ac_lo= ac_hi=
14936 fi
14937 rm -f conftest.$ac_objext conftest.$ac_ext
14938 fi
14939 rm -f conftest.$ac_objext conftest.$ac_ext
14940 # Binary search between lo and hi bounds.
14941 while test "x$ac_lo" != "x$ac_hi"; do
14942 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14943 cat >conftest.$ac_ext <<_ACEOF
14944 #line $LINENO "configure"
14945 /* confdefs.h. */
14946 _ACEOF
14947 cat confdefs.h >>conftest.$ac_ext
14948 cat >>conftest.$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14950 $ac_includes_default
14951 int
14952 main ()
14953 {
14954 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14955 test_array [0] = 0
14956
14957 ;
14958 return 0;
14959 }
14960 _ACEOF
14961 rm -f conftest.$ac_objext
14962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14963 (eval $ac_compile) 2>&5
14964 ac_status=$?
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } &&
14967 { ac_try='test -s conftest.$ac_objext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14970 ac_status=$?
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 ac_hi=$ac_mid
14974 else
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14977
14978 ac_lo=`expr '(' $ac_mid ')' + 1`
14979 fi
14980 rm -f conftest.$ac_objext conftest.$ac_ext
14981 done
14982 case $ac_lo in
14983 ?*) ac_cv_sizeof_int=$ac_lo;;
14984 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14985 See \`config.log' for more details." >&5
14986 echo "$as_me: error: cannot compute sizeof (int), 77
14987 See \`config.log' for more details." >&2;}
14988 { (exit 1); exit 1; }; } ;;
14989 esac
14990 else
14991 if test "$cross_compiling" = yes; then
14992 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14993 See \`config.log' for more details." >&5
14994 echo "$as_me: error: cannot run test program while cross compiling
14995 See \`config.log' for more details." >&2;}
14996 { (exit 1); exit 1; }; }
14997 else
14998 cat >conftest.$ac_ext <<_ACEOF
14999 #line $LINENO "configure"
15000 /* confdefs.h. */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 $ac_includes_default
15006 long longval () { return (long) (sizeof (int)); }
15007 unsigned long ulongval () { return (long) (sizeof (int)); }
15008 #include <stdio.h>
15009 #include <stdlib.h>
15010 int
15011 main ()
15012 {
15013
15014 FILE *f = fopen ("conftest.val", "w");
15015 if (! f)
15016 exit (1);
15017 if (((long) (sizeof (int))) < 0)
15018 {
15019 long i = longval ();
15020 if (i != ((long) (sizeof (int))))
15021 exit (1);
15022 fprintf (f, "%ld\n", i);
15023 }
15024 else
15025 {
15026 unsigned long i = ulongval ();
15027 if (i != ((long) (sizeof (int))))
15028 exit (1);
15029 fprintf (f, "%lu\n", i);
15030 }
15031 exit (ferror (f) || fclose (f) != 0);
15032
15033 ;
15034 return 0;
15035 }
15036 _ACEOF
15037 rm -f conftest$ac_exeext
15038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15039 (eval $ac_link) 2>&5
15040 ac_status=$?
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15044 (eval $ac_try) 2>&5
15045 ac_status=$?
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); }; }; then
15048 ac_cv_sizeof_int=`cat conftest.val`
15049 else
15050 echo "$as_me: program exited with status $ac_status" >&5
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15053
15054 ( exit $ac_status )
15055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15056 See \`config.log' for more details." >&5
15057 echo "$as_me: error: cannot compute sizeof (int), 77
15058 See \`config.log' for more details." >&2;}
15059 { (exit 1); exit 1; }; }
15060 fi
15061 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15062 fi
15063 fi
15064 rm -f conftest.val
15065 else
15066 ac_cv_sizeof_int=0
15067 fi
15068 fi
15069 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15070 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15071 cat >>confdefs.h <<_ACEOF
15072 #define SIZEOF_INT $ac_cv_sizeof_int
15073 _ACEOF
15074
15075
15076 echo "$as_me:$LINENO: checking for long" >&5
15077 echo $ECHO_N "checking for long... $ECHO_C" >&6
15078 if test "${ac_cv_type_long+set}" = set; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15080 else
15081 cat >conftest.$ac_ext <<_ACEOF
15082 #line $LINENO "configure"
15083 /* confdefs.h. */
15084 _ACEOF
15085 cat confdefs.h >>conftest.$ac_ext
15086 cat >>conftest.$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15088 $ac_includes_default
15089 int
15090 main ()
15091 {
15092 if ((long *) 0)
15093 return 0;
15094 if (sizeof (long))
15095 return 0;
15096 ;
15097 return 0;
15098 }
15099 _ACEOF
15100 rm -f conftest.$ac_objext
15101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15102 (eval $ac_compile) 2>&5
15103 ac_status=$?
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -s conftest.$ac_objext'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 ac_cv_type_long=yes
15113 else
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.$ac_ext >&5
15116
15117 ac_cv_type_long=no
15118 fi
15119 rm -f conftest.$ac_objext conftest.$ac_ext
15120 fi
15121 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15122 echo "${ECHO_T}$ac_cv_type_long" >&6
15123
15124 echo "$as_me:$LINENO: checking size of long" >&5
15125 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15126 if test "${ac_cv_sizeof_long+set}" = set; then
15127 echo $ECHO_N "(cached) $ECHO_C" >&6
15128 else
15129 if test "$ac_cv_type_long" = yes; then
15130 # The cast to unsigned long works around a bug in the HP C Compiler
15131 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15132 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15133 # This bug is HP SR number 8606223364.
15134 if test "$cross_compiling" = yes; then
15135 # Depending upon the size, compute the lo and hi bounds.
15136 cat >conftest.$ac_ext <<_ACEOF
15137 #line $LINENO "configure"
15138 /* confdefs.h. */
15139 _ACEOF
15140 cat confdefs.h >>conftest.$ac_ext
15141 cat >>conftest.$ac_ext <<_ACEOF
15142 /* end confdefs.h. */
15143 $ac_includes_default
15144 int
15145 main ()
15146 {
15147 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15148 test_array [0] = 0
15149
15150 ;
15151 return 0;
15152 }
15153 _ACEOF
15154 rm -f conftest.$ac_objext
15155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15156 (eval $ac_compile) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } &&
15160 { ac_try='test -s conftest.$ac_objext'
15161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15162 (eval $ac_try) 2>&5
15163 ac_status=$?
15164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15165 (exit $ac_status); }; }; then
15166 ac_lo=0 ac_mid=0
15167 while :; do
15168 cat >conftest.$ac_ext <<_ACEOF
15169 #line $LINENO "configure"
15170 /* confdefs.h. */
15171 _ACEOF
15172 cat confdefs.h >>conftest.$ac_ext
15173 cat >>conftest.$ac_ext <<_ACEOF
15174 /* end confdefs.h. */
15175 $ac_includes_default
15176 int
15177 main ()
15178 {
15179 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15180 test_array [0] = 0
15181
15182 ;
15183 return 0;
15184 }
15185 _ACEOF
15186 rm -f conftest.$ac_objext
15187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15188 (eval $ac_compile) 2>&5
15189 ac_status=$?
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); } &&
15192 { ac_try='test -s conftest.$ac_objext'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15195 ac_status=$?
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; }; then
15198 ac_hi=$ac_mid; break
15199 else
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15202
15203 ac_lo=`expr $ac_mid + 1`
15204 if test $ac_lo -le $ac_mid; then
15205 ac_lo= ac_hi=
15206 break
15207 fi
15208 ac_mid=`expr 2 '*' $ac_mid + 1`
15209 fi
15210 rm -f conftest.$ac_objext conftest.$ac_ext
15211 done
15212 else
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.$ac_ext >&5
15215
15216 cat >conftest.$ac_ext <<_ACEOF
15217 #line $LINENO "configure"
15218 /* confdefs.h. */
15219 _ACEOF
15220 cat confdefs.h >>conftest.$ac_ext
15221 cat >>conftest.$ac_ext <<_ACEOF
15222 /* end confdefs.h. */
15223 $ac_includes_default
15224 int
15225 main ()
15226 {
15227 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15228 test_array [0] = 0
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 rm -f conftest.$ac_objext
15235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15236 (eval $ac_compile) 2>&5
15237 ac_status=$?
15238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15239 (exit $ac_status); } &&
15240 { ac_try='test -s conftest.$ac_objext'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; }; then
15246 ac_hi=-1 ac_mid=-1
15247 while :; do
15248 cat >conftest.$ac_ext <<_ACEOF
15249 #line $LINENO "configure"
15250 /* confdefs.h. */
15251 _ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h. */
15255 $ac_includes_default
15256 int
15257 main ()
15258 {
15259 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15260 test_array [0] = 0
15261
15262 ;
15263 return 0;
15264 }
15265 _ACEOF
15266 rm -f conftest.$ac_objext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15268 (eval $ac_compile) 2>&5
15269 ac_status=$?
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } &&
15272 { ac_try='test -s conftest.$ac_objext'
15273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15274 (eval $ac_try) 2>&5
15275 ac_status=$?
15276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15277 (exit $ac_status); }; }; then
15278 ac_lo=$ac_mid; break
15279 else
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.$ac_ext >&5
15282
15283 ac_hi=`expr '(' $ac_mid ')' - 1`
15284 if test $ac_mid -le $ac_hi; then
15285 ac_lo= ac_hi=
15286 break
15287 fi
15288 ac_mid=`expr 2 '*' $ac_mid`
15289 fi
15290 rm -f conftest.$ac_objext conftest.$ac_ext
15291 done
15292 else
15293 echo "$as_me: failed program was:" >&5
15294 sed 's/^/| /' conftest.$ac_ext >&5
15295
15296 ac_lo= ac_hi=
15297 fi
15298 rm -f conftest.$ac_objext conftest.$ac_ext
15299 fi
15300 rm -f conftest.$ac_objext conftest.$ac_ext
15301 # Binary search between lo and hi bounds.
15302 while test "x$ac_lo" != "x$ac_hi"; do
15303 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15304 cat >conftest.$ac_ext <<_ACEOF
15305 #line $LINENO "configure"
15306 /* confdefs.h. */
15307 _ACEOF
15308 cat confdefs.h >>conftest.$ac_ext
15309 cat >>conftest.$ac_ext <<_ACEOF
15310 /* end confdefs.h. */
15311 $ac_includes_default
15312 int
15313 main ()
15314 {
15315 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15316 test_array [0] = 0
15317
15318 ;
15319 return 0;
15320 }
15321 _ACEOF
15322 rm -f conftest.$ac_objext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15324 (eval $ac_compile) 2>&5
15325 ac_status=$?
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); } &&
15328 { ac_try='test -s conftest.$ac_objext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15331 ac_status=$?
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_hi=$ac_mid
15335 else
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15338
15339 ac_lo=`expr '(' $ac_mid ')' + 1`
15340 fi
15341 rm -f conftest.$ac_objext conftest.$ac_ext
15342 done
15343 case $ac_lo in
15344 ?*) ac_cv_sizeof_long=$ac_lo;;
15345 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15346 See \`config.log' for more details." >&5
15347 echo "$as_me: error: cannot compute sizeof (long), 77
15348 See \`config.log' for more details." >&2;}
15349 { (exit 1); exit 1; }; } ;;
15350 esac
15351 else
15352 if test "$cross_compiling" = yes; then
15353 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15354 See \`config.log' for more details." >&5
15355 echo "$as_me: error: cannot run test program while cross compiling
15356 See \`config.log' for more details." >&2;}
15357 { (exit 1); exit 1; }; }
15358 else
15359 cat >conftest.$ac_ext <<_ACEOF
15360 #line $LINENO "configure"
15361 /* confdefs.h. */
15362 _ACEOF
15363 cat confdefs.h >>conftest.$ac_ext
15364 cat >>conftest.$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366 $ac_includes_default
15367 long longval () { return (long) (sizeof (long)); }
15368 unsigned long ulongval () { return (long) (sizeof (long)); }
15369 #include <stdio.h>
15370 #include <stdlib.h>
15371 int
15372 main ()
15373 {
15374
15375 FILE *f = fopen ("conftest.val", "w");
15376 if (! f)
15377 exit (1);
15378 if (((long) (sizeof (long))) < 0)
15379 {
15380 long i = longval ();
15381 if (i != ((long) (sizeof (long))))
15382 exit (1);
15383 fprintf (f, "%ld\n", i);
15384 }
15385 else
15386 {
15387 unsigned long i = ulongval ();
15388 if (i != ((long) (sizeof (long))))
15389 exit (1);
15390 fprintf (f, "%lu\n", i);
15391 }
15392 exit (ferror (f) || fclose (f) != 0);
15393
15394 ;
15395 return 0;
15396 }
15397 _ACEOF
15398 rm -f conftest$ac_exeext
15399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15400 (eval $ac_link) 2>&5
15401 ac_status=$?
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15405 (eval $ac_try) 2>&5
15406 ac_status=$?
15407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15408 (exit $ac_status); }; }; then
15409 ac_cv_sizeof_long=`cat conftest.val`
15410 else
15411 echo "$as_me: program exited with status $ac_status" >&5
15412 echo "$as_me: failed program was:" >&5
15413 sed 's/^/| /' conftest.$ac_ext >&5
15414
15415 ( exit $ac_status )
15416 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15417 See \`config.log' for more details." >&5
15418 echo "$as_me: error: cannot compute sizeof (long), 77
15419 See \`config.log' for more details." >&2;}
15420 { (exit 1); exit 1; }; }
15421 fi
15422 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15423 fi
15424 fi
15425 rm -f conftest.val
15426 else
15427 ac_cv_sizeof_long=0
15428 fi
15429 fi
15430 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15431 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15432 cat >>confdefs.h <<_ACEOF
15433 #define SIZEOF_LONG $ac_cv_sizeof_long
15434 _ACEOF
15435
15436
15437
15438 case "${host}" in
15439 arm-*-linux* )
15440 echo "$as_me:$LINENO: checking for long long" >&5
15441 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15442 if test "${ac_cv_type_long_long+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15444 else
15445 cat >conftest.$ac_ext <<_ACEOF
15446 #line $LINENO "configure"
15447 /* confdefs.h. */
15448 _ACEOF
15449 cat confdefs.h >>conftest.$ac_ext
15450 cat >>conftest.$ac_ext <<_ACEOF
15451 /* end confdefs.h. */
15452 $ac_includes_default
15453 int
15454 main ()
15455 {
15456 if ((long long *) 0)
15457 return 0;
15458 if (sizeof (long long))
15459 return 0;
15460 ;
15461 return 0;
15462 }
15463 _ACEOF
15464 rm -f conftest.$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>&5
15467 ac_status=$?
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } &&
15470 { ac_try='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_type_long_long=yes
15477 else
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15480
15481 ac_cv_type_long_long=no
15482 fi
15483 rm -f conftest.$ac_objext conftest.$ac_ext
15484 fi
15485 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15486 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15487
15488 echo "$as_me:$LINENO: checking size of long long" >&5
15489 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15490 if test "${ac_cv_sizeof_long_long+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 else
15493 if test "$ac_cv_type_long_long" = yes; then
15494 # The cast to unsigned long works around a bug in the HP C Compiler
15495 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15496 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15497 # This bug is HP SR number 8606223364.
15498 if test "$cross_compiling" = yes; then
15499 # Depending upon the size, compute the lo and hi bounds.
15500 cat >conftest.$ac_ext <<_ACEOF
15501 #line $LINENO "configure"
15502 /* confdefs.h. */
15503 _ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507 $ac_includes_default
15508 int
15509 main ()
15510 {
15511 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15512 test_array [0] = 0
15513
15514 ;
15515 return 0;
15516 }
15517 _ACEOF
15518 rm -f conftest.$ac_objext
15519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15520 (eval $ac_compile) 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); } &&
15524 { ac_try='test -s conftest.$ac_objext'
15525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15526 (eval $ac_try) 2>&5
15527 ac_status=$?
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); }; }; then
15530 ac_lo=0 ac_mid=0
15531 while :; do
15532 cat >conftest.$ac_ext <<_ACEOF
15533 #line $LINENO "configure"
15534 /* confdefs.h. */
15535 _ACEOF
15536 cat confdefs.h >>conftest.$ac_ext
15537 cat >>conftest.$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15539 $ac_includes_default
15540 int
15541 main ()
15542 {
15543 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15544 test_array [0] = 0
15545
15546 ;
15547 return 0;
15548 }
15549 _ACEOF
15550 rm -f conftest.$ac_objext
15551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15552 (eval $ac_compile) 2>&5
15553 ac_status=$?
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -s conftest.$ac_objext'
15557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15558 (eval $ac_try) 2>&5
15559 ac_status=$?
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }; }; then
15562 ac_hi=$ac_mid; break
15563 else
15564 echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.$ac_ext >&5
15566
15567 ac_lo=`expr $ac_mid + 1`
15568 if test $ac_lo -le $ac_mid; then
15569 ac_lo= ac_hi=
15570 break
15571 fi
15572 ac_mid=`expr 2 '*' $ac_mid + 1`
15573 fi
15574 rm -f conftest.$ac_objext conftest.$ac_ext
15575 done
15576 else
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.$ac_ext >&5
15579
15580 cat >conftest.$ac_ext <<_ACEOF
15581 #line $LINENO "configure"
15582 /* confdefs.h. */
15583 _ACEOF
15584 cat confdefs.h >>conftest.$ac_ext
15585 cat >>conftest.$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15587 $ac_includes_default
15588 int
15589 main ()
15590 {
15591 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15592 test_array [0] = 0
15593
15594 ;
15595 return 0;
15596 }
15597 _ACEOF
15598 rm -f conftest.$ac_objext
15599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15600 (eval $ac_compile) 2>&5
15601 ac_status=$?
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } &&
15604 { ac_try='test -s conftest.$ac_objext'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; }; then
15610 ac_hi=-1 ac_mid=-1
15611 while :; do
15612 cat >conftest.$ac_ext <<_ACEOF
15613 #line $LINENO "configure"
15614 /* confdefs.h. */
15615 _ACEOF
15616 cat confdefs.h >>conftest.$ac_ext
15617 cat >>conftest.$ac_ext <<_ACEOF
15618 /* end confdefs.h. */
15619 $ac_includes_default
15620 int
15621 main ()
15622 {
15623 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15624 test_array [0] = 0
15625
15626 ;
15627 return 0;
15628 }
15629 _ACEOF
15630 rm -f conftest.$ac_objext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15632 (eval $ac_compile) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } &&
15636 { ac_try='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15642 ac_lo=$ac_mid; break
15643 else
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15646
15647 ac_hi=`expr '(' $ac_mid ')' - 1`
15648 if test $ac_mid -le $ac_hi; then
15649 ac_lo= ac_hi=
15650 break
15651 fi
15652 ac_mid=`expr 2 '*' $ac_mid`
15653 fi
15654 rm -f conftest.$ac_objext conftest.$ac_ext
15655 done
15656 else
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.$ac_ext >&5
15659
15660 ac_lo= ac_hi=
15661 fi
15662 rm -f conftest.$ac_objext conftest.$ac_ext
15663 fi
15664 rm -f conftest.$ac_objext conftest.$ac_ext
15665 # Binary search between lo and hi bounds.
15666 while test "x$ac_lo" != "x$ac_hi"; do
15667 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15668 cat >conftest.$ac_ext <<_ACEOF
15669 #line $LINENO "configure"
15670 /* confdefs.h. */
15671 _ACEOF
15672 cat confdefs.h >>conftest.$ac_ext
15673 cat >>conftest.$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15675 $ac_includes_default
15676 int
15677 main ()
15678 {
15679 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15680 test_array [0] = 0
15681
15682 ;
15683 return 0;
15684 }
15685 _ACEOF
15686 rm -f conftest.$ac_objext
15687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15688 (eval $ac_compile) 2>&5
15689 ac_status=$?
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } &&
15692 { ac_try='test -s conftest.$ac_objext'
15693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15694 (eval $ac_try) 2>&5
15695 ac_status=$?
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); }; }; then
15698 ac_hi=$ac_mid
15699 else
15700 echo "$as_me: failed program was:" >&5
15701 sed 's/^/| /' conftest.$ac_ext >&5
15702
15703 ac_lo=`expr '(' $ac_mid ')' + 1`
15704 fi
15705 rm -f conftest.$ac_objext conftest.$ac_ext
15706 done
15707 case $ac_lo in
15708 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15709 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15710 See \`config.log' for more details." >&5
15711 echo "$as_me: error: cannot compute sizeof (long long), 77
15712 See \`config.log' for more details." >&2;}
15713 { (exit 1); exit 1; }; } ;;
15714 esac
15715 else
15716 if test "$cross_compiling" = yes; then
15717 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15718 See \`config.log' for more details." >&5
15719 echo "$as_me: error: cannot run test program while cross compiling
15720 See \`config.log' for more details." >&2;}
15721 { (exit 1); exit 1; }; }
15722 else
15723 cat >conftest.$ac_ext <<_ACEOF
15724 #line $LINENO "configure"
15725 /* confdefs.h. */
15726 _ACEOF
15727 cat confdefs.h >>conftest.$ac_ext
15728 cat >>conftest.$ac_ext <<_ACEOF
15729 /* end confdefs.h. */
15730 $ac_includes_default
15731 long longval () { return (long) (sizeof (long long)); }
15732 unsigned long ulongval () { return (long) (sizeof (long long)); }
15733 #include <stdio.h>
15734 #include <stdlib.h>
15735 int
15736 main ()
15737 {
15738
15739 FILE *f = fopen ("conftest.val", "w");
15740 if (! f)
15741 exit (1);
15742 if (((long) (sizeof (long long))) < 0)
15743 {
15744 long i = longval ();
15745 if (i != ((long) (sizeof (long long))))
15746 exit (1);
15747 fprintf (f, "%ld\n", i);
15748 }
15749 else
15750 {
15751 unsigned long i = ulongval ();
15752 if (i != ((long) (sizeof (long long))))
15753 exit (1);
15754 fprintf (f, "%lu\n", i);
15755 }
15756 exit (ferror (f) || fclose (f) != 0);
15757
15758 ;
15759 return 0;
15760 }
15761 _ACEOF
15762 rm -f conftest$ac_exeext
15763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15764 (eval $ac_link) 2>&5
15765 ac_status=$?
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15769 (eval $ac_try) 2>&5
15770 ac_status=$?
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); }; }; then
15773 ac_cv_sizeof_long_long=`cat conftest.val`
15774 else
15775 echo "$as_me: program exited with status $ac_status" >&5
15776 echo "$as_me: failed program was:" >&5
15777 sed 's/^/| /' conftest.$ac_ext >&5
15778
15779 ( exit $ac_status )
15780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15781 See \`config.log' for more details." >&5
15782 echo "$as_me: error: cannot compute sizeof (long long), 77
15783 See \`config.log' for more details." >&2;}
15784 { (exit 1); exit 1; }; }
15785 fi
15786 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15787 fi
15788 fi
15789 rm -f conftest.val
15790 else
15791 ac_cv_sizeof_long_long=0
15792 fi
15793 fi
15794 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15795 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15796 cat >>confdefs.h <<_ACEOF
15797 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15798 _ACEOF
15799
15800
15801 ;;
15802 *-hp-hpux* )
15803 echo "$as_me:$LINENO: checking for long long" >&5
15804 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15805 if test "${ac_cv_type_long_long+set}" = set; then
15806 echo $ECHO_N "(cached) $ECHO_C" >&6
15807 else
15808 cat >conftest.$ac_ext <<_ACEOF
15809 #line $LINENO "configure"
15810 /* confdefs.h. */
15811 _ACEOF
15812 cat confdefs.h >>conftest.$ac_ext
15813 cat >>conftest.$ac_ext <<_ACEOF
15814 /* end confdefs.h. */
15815 $ac_includes_default
15816 int
15817 main ()
15818 {
15819 if ((long long *) 0)
15820 return 0;
15821 if (sizeof (long long))
15822 return 0;
15823 ;
15824 return 0;
15825 }
15826 _ACEOF
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -s conftest.$ac_objext'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15836 ac_status=$?
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; }; then
15839 ac_cv_type_long_long=yes
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844 ac_cv_type_long_long=no
15845 fi
15846 rm -f conftest.$ac_objext conftest.$ac_ext
15847 fi
15848 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15849 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15850
15851 echo "$as_me:$LINENO: checking size of long long" >&5
15852 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15853 if test "${ac_cv_sizeof_long_long+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 else
15856 if test "$ac_cv_type_long_long" = yes; then
15857 # The cast to unsigned long works around a bug in the HP C Compiler
15858 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15859 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15860 # This bug is HP SR number 8606223364.
15861 if test "$cross_compiling" = yes; then
15862 # Depending upon the size, compute the lo and hi bounds.
15863 cat >conftest.$ac_ext <<_ACEOF
15864 #line $LINENO "configure"
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870 $ac_includes_default
15871 int
15872 main ()
15873 {
15874 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15875 test_array [0] = 0
15876
15877 ;
15878 return 0;
15879 }
15880 _ACEOF
15881 rm -f conftest.$ac_objext
15882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15883 (eval $ac_compile) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); } &&
15887 { ac_try='test -s conftest.$ac_objext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15890 ac_status=$?
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15893 ac_lo=0 ac_mid=0
15894 while :; do
15895 cat >conftest.$ac_ext <<_ACEOF
15896 #line $LINENO "configure"
15897 /* confdefs.h. */
15898 _ACEOF
15899 cat confdefs.h >>conftest.$ac_ext
15900 cat >>conftest.$ac_ext <<_ACEOF
15901 /* end confdefs.h. */
15902 $ac_includes_default
15903 int
15904 main ()
15905 {
15906 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15907 test_array [0] = 0
15908
15909 ;
15910 return 0;
15911 }
15912 _ACEOF
15913 rm -f conftest.$ac_objext
15914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15915 (eval $ac_compile) 2>&5
15916 ac_status=$?
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); } &&
15919 { ac_try='test -s conftest.$ac_objext'
15920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15921 (eval $ac_try) 2>&5
15922 ac_status=$?
15923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15924 (exit $ac_status); }; }; then
15925 ac_hi=$ac_mid; break
15926 else
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.$ac_ext >&5
15929
15930 ac_lo=`expr $ac_mid + 1`
15931 if test $ac_lo -le $ac_mid; then
15932 ac_lo= ac_hi=
15933 break
15934 fi
15935 ac_mid=`expr 2 '*' $ac_mid + 1`
15936 fi
15937 rm -f conftest.$ac_objext conftest.$ac_ext
15938 done
15939 else
15940 echo "$as_me: failed program was:" >&5
15941 sed 's/^/| /' conftest.$ac_ext >&5
15942
15943 cat >conftest.$ac_ext <<_ACEOF
15944 #line $LINENO "configure"
15945 /* confdefs.h. */
15946 _ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950 $ac_includes_default
15951 int
15952 main ()
15953 {
15954 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15955 test_array [0] = 0
15956
15957 ;
15958 return 0;
15959 }
15960 _ACEOF
15961 rm -f conftest.$ac_objext
15962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15963 (eval $ac_compile) 2>&5
15964 ac_status=$?
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } &&
15967 { ac_try='test -s conftest.$ac_objext'
15968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15969 (eval $ac_try) 2>&5
15970 ac_status=$?
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); }; }; then
15973 ac_hi=-1 ac_mid=-1
15974 while :; do
15975 cat >conftest.$ac_ext <<_ACEOF
15976 #line $LINENO "configure"
15977 /* confdefs.h. */
15978 _ACEOF
15979 cat confdefs.h >>conftest.$ac_ext
15980 cat >>conftest.$ac_ext <<_ACEOF
15981 /* end confdefs.h. */
15982 $ac_includes_default
15983 int
15984 main ()
15985 {
15986 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15987 test_array [0] = 0
15988
15989 ;
15990 return 0;
15991 }
15992 _ACEOF
15993 rm -f conftest.$ac_objext
15994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15995 (eval $ac_compile) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } &&
15999 { ac_try='test -s conftest.$ac_objext'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16002 ac_status=$?
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; }; then
16005 ac_lo=$ac_mid; break
16006 else
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16009
16010 ac_hi=`expr '(' $ac_mid ')' - 1`
16011 if test $ac_mid -le $ac_hi; then
16012 ac_lo= ac_hi=
16013 break
16014 fi
16015 ac_mid=`expr 2 '*' $ac_mid`
16016 fi
16017 rm -f conftest.$ac_objext conftest.$ac_ext
16018 done
16019 else
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16022
16023 ac_lo= ac_hi=
16024 fi
16025 rm -f conftest.$ac_objext conftest.$ac_ext
16026 fi
16027 rm -f conftest.$ac_objext conftest.$ac_ext
16028 # Binary search between lo and hi bounds.
16029 while test "x$ac_lo" != "x$ac_hi"; do
16030 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16031 cat >conftest.$ac_ext <<_ACEOF
16032 #line $LINENO "configure"
16033 /* confdefs.h. */
16034 _ACEOF
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16038 $ac_includes_default
16039 int
16040 main ()
16041 {
16042 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16043 test_array [0] = 0
16044
16045 ;
16046 return 0;
16047 }
16048 _ACEOF
16049 rm -f conftest.$ac_objext
16050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16051 (eval $ac_compile) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); } &&
16055 { ac_try='test -s conftest.$ac_objext'
16056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16057 (eval $ac_try) 2>&5
16058 ac_status=$?
16059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16060 (exit $ac_status); }; }; then
16061 ac_hi=$ac_mid
16062 else
16063 echo "$as_me: failed program was:" >&5
16064 sed 's/^/| /' conftest.$ac_ext >&5
16065
16066 ac_lo=`expr '(' $ac_mid ')' + 1`
16067 fi
16068 rm -f conftest.$ac_objext conftest.$ac_ext
16069 done
16070 case $ac_lo in
16071 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16073 See \`config.log' for more details." >&5
16074 echo "$as_me: error: cannot compute sizeof (long long), 77
16075 See \`config.log' for more details." >&2;}
16076 { (exit 1); exit 1; }; } ;;
16077 esac
16078 else
16079 if test "$cross_compiling" = yes; then
16080 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16081 See \`config.log' for more details." >&5
16082 echo "$as_me: error: cannot run test program while cross compiling
16083 See \`config.log' for more details." >&2;}
16084 { (exit 1); exit 1; }; }
16085 else
16086 cat >conftest.$ac_ext <<_ACEOF
16087 #line $LINENO "configure"
16088 /* confdefs.h. */
16089 _ACEOF
16090 cat confdefs.h >>conftest.$ac_ext
16091 cat >>conftest.$ac_ext <<_ACEOF
16092 /* end confdefs.h. */
16093 $ac_includes_default
16094 long longval () { return (long) (sizeof (long long)); }
16095 unsigned long ulongval () { return (long) (sizeof (long long)); }
16096 #include <stdio.h>
16097 #include <stdlib.h>
16098 int
16099 main ()
16100 {
16101
16102 FILE *f = fopen ("conftest.val", "w");
16103 if (! f)
16104 exit (1);
16105 if (((long) (sizeof (long long))) < 0)
16106 {
16107 long i = longval ();
16108 if (i != ((long) (sizeof (long long))))
16109 exit (1);
16110 fprintf (f, "%ld\n", i);
16111 }
16112 else
16113 {
16114 unsigned long i = ulongval ();
16115 if (i != ((long) (sizeof (long long))))
16116 exit (1);
16117 fprintf (f, "%lu\n", i);
16118 }
16119 exit (ferror (f) || fclose (f) != 0);
16120
16121 ;
16122 return 0;
16123 }
16124 _ACEOF
16125 rm -f conftest$ac_exeext
16126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16127 (eval $ac_link) 2>&5
16128 ac_status=$?
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16132 (eval $ac_try) 2>&5
16133 ac_status=$?
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); }; }; then
16136 ac_cv_sizeof_long_long=`cat conftest.val`
16137 else
16138 echo "$as_me: program exited with status $ac_status" >&5
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16141
16142 ( exit $ac_status )
16143 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16144 See \`config.log' for more details." >&5
16145 echo "$as_me: error: cannot compute sizeof (long long), 77
16146 See \`config.log' for more details." >&2;}
16147 { (exit 1); exit 1; }; }
16148 fi
16149 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16150 fi
16151 fi
16152 rm -f conftest.val
16153 else
16154 ac_cv_sizeof_long_long=0
16155 fi
16156 fi
16157 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16158 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16159 cat >>confdefs.h <<_ACEOF
16160 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16161 _ACEOF
16162
16163
16164 if test "$ac_cv_sizeof_long_long" != "0"; then
16165 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16166 fi
16167 ;;
16168 * )
16169 echo "$as_me:$LINENO: checking for long long" >&5
16170 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16171 if test "${ac_cv_type_long_long+set}" = set; then
16172 echo $ECHO_N "(cached) $ECHO_C" >&6
16173 else
16174 cat >conftest.$ac_ext <<_ACEOF
16175 #line $LINENO "configure"
16176 /* confdefs.h. */
16177 _ACEOF
16178 cat confdefs.h >>conftest.$ac_ext
16179 cat >>conftest.$ac_ext <<_ACEOF
16180 /* end confdefs.h. */
16181 $ac_includes_default
16182 int
16183 main ()
16184 {
16185 if ((long long *) 0)
16186 return 0;
16187 if (sizeof (long long))
16188 return 0;
16189 ;
16190 return 0;
16191 }
16192 _ACEOF
16193 rm -f conftest.$ac_objext
16194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16195 (eval $ac_compile) 2>&5
16196 ac_status=$?
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try='test -s conftest.$ac_objext'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16202 ac_status=$?
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; }; then
16205 ac_cv_type_long_long=yes
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 ac_cv_type_long_long=no
16211 fi
16212 rm -f conftest.$ac_objext conftest.$ac_ext
16213 fi
16214 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16215 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16216
16217 echo "$as_me:$LINENO: checking size of long long" >&5
16218 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16219 if test "${ac_cv_sizeof_long_long+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 else
16222 if test "$ac_cv_type_long_long" = yes; then
16223 # The cast to unsigned long works around a bug in the HP C Compiler
16224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16225 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16226 # This bug is HP SR number 8606223364.
16227 if test "$cross_compiling" = yes; then
16228 # Depending upon the size, compute the lo and hi bounds.
16229 cat >conftest.$ac_ext <<_ACEOF
16230 #line $LINENO "configure"
16231 /* confdefs.h. */
16232 _ACEOF
16233 cat confdefs.h >>conftest.$ac_ext
16234 cat >>conftest.$ac_ext <<_ACEOF
16235 /* end confdefs.h. */
16236 $ac_includes_default
16237 int
16238 main ()
16239 {
16240 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16241 test_array [0] = 0
16242
16243 ;
16244 return 0;
16245 }
16246 _ACEOF
16247 rm -f conftest.$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259 ac_lo=0 ac_mid=0
16260 while :; do
16261 cat >conftest.$ac_ext <<_ACEOF
16262 #line $LINENO "configure"
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 $ac_includes_default
16269 int
16270 main ()
16271 {
16272 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16273 test_array [0] = 0
16274
16275 ;
16276 return 0;
16277 }
16278 _ACEOF
16279 rm -f conftest.$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>&5
16282 ac_status=$?
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } &&
16285 { ac_try='test -s conftest.$ac_objext'
16286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16287 (eval $ac_try) 2>&5
16288 ac_status=$?
16289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); }; }; then
16291 ac_hi=$ac_mid; break
16292 else
16293 echo "$as_me: failed program was:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16295
16296 ac_lo=`expr $ac_mid + 1`
16297 if test $ac_lo -le $ac_mid; then
16298 ac_lo= ac_hi=
16299 break
16300 fi
16301 ac_mid=`expr 2 '*' $ac_mid + 1`
16302 fi
16303 rm -f conftest.$ac_objext conftest.$ac_ext
16304 done
16305 else
16306 echo "$as_me: failed program was:" >&5
16307 sed 's/^/| /' conftest.$ac_ext >&5
16308
16309 cat >conftest.$ac_ext <<_ACEOF
16310 #line $LINENO "configure"
16311 /* confdefs.h. */
16312 _ACEOF
16313 cat confdefs.h >>conftest.$ac_ext
16314 cat >>conftest.$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16316 $ac_includes_default
16317 int
16318 main ()
16319 {
16320 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16321 test_array [0] = 0
16322
16323 ;
16324 return 0;
16325 }
16326 _ACEOF
16327 rm -f conftest.$ac_objext
16328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16329 (eval $ac_compile) 2>&5
16330 ac_status=$?
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16332 (exit $ac_status); } &&
16333 { ac_try='test -s conftest.$ac_objext'
16334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16335 (eval $ac_try) 2>&5
16336 ac_status=$?
16337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16338 (exit $ac_status); }; }; then
16339 ac_hi=-1 ac_mid=-1
16340 while :; do
16341 cat >conftest.$ac_ext <<_ACEOF
16342 #line $LINENO "configure"
16343 /* confdefs.h. */
16344 _ACEOF
16345 cat confdefs.h >>conftest.$ac_ext
16346 cat >>conftest.$ac_ext <<_ACEOF
16347 /* end confdefs.h. */
16348 $ac_includes_default
16349 int
16350 main ()
16351 {
16352 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16353 test_array [0] = 0
16354
16355 ;
16356 return 0;
16357 }
16358 _ACEOF
16359 rm -f conftest.$ac_objext
16360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16361 (eval $ac_compile) 2>&5
16362 ac_status=$?
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } &&
16365 { ac_try='test -s conftest.$ac_objext'
16366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367 (eval $ac_try) 2>&5
16368 ac_status=$?
16369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370 (exit $ac_status); }; }; then
16371 ac_lo=$ac_mid; break
16372 else
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.$ac_ext >&5
16375
16376 ac_hi=`expr '(' $ac_mid ')' - 1`
16377 if test $ac_mid -le $ac_hi; then
16378 ac_lo= ac_hi=
16379 break
16380 fi
16381 ac_mid=`expr 2 '*' $ac_mid`
16382 fi
16383 rm -f conftest.$ac_objext conftest.$ac_ext
16384 done
16385 else
16386 echo "$as_me: failed program was:" >&5
16387 sed 's/^/| /' conftest.$ac_ext >&5
16388
16389 ac_lo= ac_hi=
16390 fi
16391 rm -f conftest.$ac_objext conftest.$ac_ext
16392 fi
16393 rm -f conftest.$ac_objext conftest.$ac_ext
16394 # Binary search between lo and hi bounds.
16395 while test "x$ac_lo" != "x$ac_hi"; do
16396 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16397 cat >conftest.$ac_ext <<_ACEOF
16398 #line $LINENO "configure"
16399 /* confdefs.h. */
16400 _ACEOF
16401 cat confdefs.h >>conftest.$ac_ext
16402 cat >>conftest.$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16404 $ac_includes_default
16405 int
16406 main ()
16407 {
16408 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16409 test_array [0] = 0
16410
16411 ;
16412 return 0;
16413 }
16414 _ACEOF
16415 rm -f conftest.$ac_objext
16416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16417 (eval $ac_compile) 2>&5
16418 ac_status=$?
16419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16420 (exit $ac_status); } &&
16421 { ac_try='test -s conftest.$ac_objext'
16422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16423 (eval $ac_try) 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }; }; then
16427 ac_hi=$ac_mid
16428 else
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.$ac_ext >&5
16431
16432 ac_lo=`expr '(' $ac_mid ')' + 1`
16433 fi
16434 rm -f conftest.$ac_objext conftest.$ac_ext
16435 done
16436 case $ac_lo in
16437 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16438 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16439 See \`config.log' for more details." >&5
16440 echo "$as_me: error: cannot compute sizeof (long long), 77
16441 See \`config.log' for more details." >&2;}
16442 { (exit 1); exit 1; }; } ;;
16443 esac
16444 else
16445 if test "$cross_compiling" = yes; then
16446 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16447 See \`config.log' for more details." >&5
16448 echo "$as_me: error: cannot run test program while cross compiling
16449 See \`config.log' for more details." >&2;}
16450 { (exit 1); exit 1; }; }
16451 else
16452 cat >conftest.$ac_ext <<_ACEOF
16453 #line $LINENO "configure"
16454 /* confdefs.h. */
16455 _ACEOF
16456 cat confdefs.h >>conftest.$ac_ext
16457 cat >>conftest.$ac_ext <<_ACEOF
16458 /* end confdefs.h. */
16459 $ac_includes_default
16460 long longval () { return (long) (sizeof (long long)); }
16461 unsigned long ulongval () { return (long) (sizeof (long long)); }
16462 #include <stdio.h>
16463 #include <stdlib.h>
16464 int
16465 main ()
16466 {
16467
16468 FILE *f = fopen ("conftest.val", "w");
16469 if (! f)
16470 exit (1);
16471 if (((long) (sizeof (long long))) < 0)
16472 {
16473 long i = longval ();
16474 if (i != ((long) (sizeof (long long))))
16475 exit (1);
16476 fprintf (f, "%ld\n", i);
16477 }
16478 else
16479 {
16480 unsigned long i = ulongval ();
16481 if (i != ((long) (sizeof (long long))))
16482 exit (1);
16483 fprintf (f, "%lu\n", i);
16484 }
16485 exit (ferror (f) || fclose (f) != 0);
16486
16487 ;
16488 return 0;
16489 }
16490 _ACEOF
16491 rm -f conftest$ac_exeext
16492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16493 (eval $ac_link) 2>&5
16494 ac_status=$?
16495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; }; then
16502 ac_cv_sizeof_long_long=`cat conftest.val`
16503 else
16504 echo "$as_me: program exited with status $ac_status" >&5
16505 echo "$as_me: failed program was:" >&5
16506 sed 's/^/| /' conftest.$ac_ext >&5
16507
16508 ( exit $ac_status )
16509 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16510 See \`config.log' for more details." >&5
16511 echo "$as_me: error: cannot compute sizeof (long long), 77
16512 See \`config.log' for more details." >&2;}
16513 { (exit 1); exit 1; }; }
16514 fi
16515 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16516 fi
16517 fi
16518 rm -f conftest.val
16519 else
16520 ac_cv_sizeof_long_long=0
16521 fi
16522 fi
16523 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16524 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16525 cat >>confdefs.h <<_ACEOF
16526 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16527 _ACEOF
16528
16529
16530 esac
16531
16532 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16533 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16534 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16536 else
16537
16538 if test "$cross_compiling" = yes; then
16539
16540 case "${host}" in
16541 *-pc-msdosdjgpp )
16542 wx_cv_sizeof_wchar_t=0
16543 ;;
16544 * )
16545 wx_cv_sizeof_wchar_t=4
16546 ;;
16547 esac
16548
16549
16550 else
16551 cat >conftest.$ac_ext <<_ACEOF
16552 #line $LINENO "configure"
16553 /* confdefs.h. */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h. */
16558
16559 /* DJGPP only has fake wchar_t: */
16560 #ifdef __DJGPP__
16561 # error "fake wchar_t"
16562 #endif
16563 #ifdef HAVE_WCHAR_H
16564 # ifdef __CYGWIN__
16565 # include <stddef.h>
16566 # endif
16567 # include <wchar.h>
16568 #endif
16569 #ifdef HAVE_STDLIB_H
16570 # include <stdlib.h>
16571 #endif
16572 #include <stdio.h>
16573 int main()
16574 {
16575 FILE *f=fopen("conftestval", "w");
16576 if (!f) exit(1);
16577 fprintf(f, "%i", sizeof(wchar_t));
16578 exit(0);
16579 }
16580
16581 _ACEOF
16582 rm -f conftest$ac_exeext
16583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16584 (eval $ac_link) 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16589 (eval $ac_try) 2>&5
16590 ac_status=$?
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); }; }; then
16593 wx_cv_sizeof_wchar_t=`cat conftestval`
16594 else
16595 echo "$as_me: program exited with status $ac_status" >&5
16596 echo "$as_me: failed program was:" >&5
16597 sed 's/^/| /' conftest.$ac_ext >&5
16598
16599 ( exit $ac_status )
16600 wx_cv_sizeof_wchar_t=0
16601 fi
16602 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16603 fi
16604
16605 fi
16606 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16607 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16608
16609 cat >>confdefs.h <<_ACEOF
16610 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16611 _ACEOF
16612
16613
16614 # Check whether --enable-largefile or --disable-largefile was given.
16615 if test "${enable_largefile+set}" = set; then
16616 enableval="$enable_largefile"
16617
16618 fi;
16619 if test "$enable_largefile" != no; then
16620 wx_largefile=no
16621
16622 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16623 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16624 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16625 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 else
16627
16628 cat >conftest.$ac_ext <<_ACEOF
16629 #line $LINENO "configure"
16630 /* confdefs.h. */
16631 _ACEOF
16632 cat confdefs.h >>conftest.$ac_ext
16633 cat >>conftest.$ac_ext <<_ACEOF
16634 /* end confdefs.h. */
16635 #define _FILE_OFFSET_BITS 64
16636 #include <sys/types.h>
16637 int
16638 main ()
16639 {
16640 typedef struct {
16641 unsigned int field: sizeof(off_t) == 8;
16642 } wxlf;
16643
16644 ;
16645 return 0;
16646 }
16647 _ACEOF
16648 rm -f conftest.$ac_objext
16649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16650 (eval $ac_compile) 2>&5
16651 ac_status=$?
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try='test -s conftest.$ac_objext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 ac_cv_sys_file_offset_bits=64
16661 else
16662 echo "$as_me: failed program was:" >&5
16663 sed 's/^/| /' conftest.$ac_ext >&5
16664
16665 ac_cv_sys_file_offset_bits=no
16666 fi
16667 rm -f conftest.$ac_objext conftest.$ac_ext
16668
16669
16670 fi
16671 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16672 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16673
16674 if test "$ac_cv_sys_file_offset_bits" != no; then
16675 wx_largefile=yes
16676 cat >>confdefs.h <<_ACEOF
16677 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16678 _ACEOF
16679
16680 fi
16681
16682 if test "x$wx_largefile" != "xyes"; then
16683
16684 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16685 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16686 if test "${ac_cv_sys_large_files+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 else
16689
16690 cat >conftest.$ac_ext <<_ACEOF
16691 #line $LINENO "configure"
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #define _LARGE_FILES 1
16698 #include <sys/types.h>
16699 int
16700 main ()
16701 {
16702 typedef struct {
16703 unsigned int field: sizeof(off_t) == 8;
16704 } wxlf;
16705
16706 ;
16707 return 0;
16708 }
16709 _ACEOF
16710 rm -f conftest.$ac_objext
16711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16712 (eval $ac_compile) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); } &&
16716 { ac_try='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 ac_cv_sys_large_files=1
16723 else
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.$ac_ext >&5
16726
16727 ac_cv_sys_large_files=no
16728 fi
16729 rm -f conftest.$ac_objext conftest.$ac_ext
16730
16731
16732 fi
16733 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16734 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16735
16736 if test "$ac_cv_sys_large_files" != no; then
16737 wx_largefile=yes
16738 cat >>confdefs.h <<_ACEOF
16739 #define _LARGE_FILES $ac_cv_sys_large_files
16740 _ACEOF
16741
16742 fi
16743
16744 fi
16745
16746 echo "$as_me:$LINENO: checking if large file support is available" >&5
16747 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16748 if test "x$wx_largefile" = "xyes"; then
16749 cat >>confdefs.h <<\_ACEOF
16750 #define HAVE_LARGEFILE_SUPPORT 1
16751 _ACEOF
16752
16753 fi
16754 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16755 echo "${ECHO_T}$wx_largefile" >&6
16756 fi
16757
16758
16759 if test "x$wx_largefile" = "xyes"; then
16760 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16761 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16762 else
16763 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16764 fi
16765 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16766 fi
16767
16768 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16769 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16770 if test "${ac_cv_c_bigendian+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 else
16773 ac_cv_c_bigendian=unknown
16774 # See if sys/param.h defines the BYTE_ORDER macro.
16775 cat >conftest.$ac_ext <<_ACEOF
16776 #line $LINENO "configure"
16777 /* confdefs.h. */
16778 _ACEOF
16779 cat confdefs.h >>conftest.$ac_ext
16780 cat >>conftest.$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 #include <sys/types.h>
16783 #include <sys/param.h>
16784 int
16785 main ()
16786 {
16787
16788 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16789 bogus endian macros
16790 #endif
16791 ;
16792 return 0;
16793 }
16794 _ACEOF
16795 rm -f conftest.$ac_objext
16796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16797 (eval $ac_compile) 2>&5
16798 ac_status=$?
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); } &&
16801 { ac_try='test -s conftest.$ac_objext'
16802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16803 (eval $ac_try) 2>&5
16804 ac_status=$?
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); }; }; then
16807 # It does; now see whether it defined to BIG_ENDIAN or not.
16808 cat >conftest.$ac_ext <<_ACEOF
16809 #line $LINENO "configure"
16810 /* confdefs.h. */
16811 _ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16815 #include <sys/types.h>
16816 #include <sys/param.h>
16817 int
16818 main ()
16819 {
16820
16821 #if BYTE_ORDER != BIG_ENDIAN
16822 not big endian
16823 #endif
16824 ;
16825 return 0;
16826 }
16827 _ACEOF
16828 rm -f conftest.$ac_objext
16829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16830 (eval $ac_compile) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); } &&
16834 { ac_try='test -s conftest.$ac_objext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16837 ac_status=$?
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 ac_cv_c_bigendian=yes
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16844
16845 ac_cv_c_bigendian=no
16846 fi
16847 rm -f conftest.$ac_objext conftest.$ac_ext
16848 else
16849 echo "$as_me: failed program was:" >&5
16850 sed 's/^/| /' conftest.$ac_ext >&5
16851
16852 fi
16853 rm -f conftest.$ac_objext conftest.$ac_ext
16854 if test $ac_cv_c_bigendian = unknown; then
16855 if test "$cross_compiling" = yes; then
16856 ac_cv_c_bigendian=unknown
16857 else
16858 cat >conftest.$ac_ext <<_ACEOF
16859 #line $LINENO "configure"
16860 /* confdefs.h. */
16861 _ACEOF
16862 cat confdefs.h >>conftest.$ac_ext
16863 cat >>conftest.$ac_ext <<_ACEOF
16864 /* end confdefs.h. */
16865 main () {
16866 /* Are we little or big endian? From Harbison&Steele. */
16867 union
16868 {
16869 long l;
16870 char c[sizeof (long)];
16871 } u;
16872 u.l = 1;
16873 exit (u.c[sizeof (long) - 1] == 1);
16874 }
16875 _ACEOF
16876 rm -f conftest$ac_exeext
16877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16878 (eval $ac_link) 2>&5
16879 ac_status=$?
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16883 (eval $ac_try) 2>&5
16884 ac_status=$?
16885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16886 (exit $ac_status); }; }; then
16887 ac_cv_c_bigendian=no
16888 else
16889 echo "$as_me: program exited with status $ac_status" >&5
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.$ac_ext >&5
16892
16893 ( exit $ac_status )
16894 ac_cv_c_bigendian=yes
16895 fi
16896 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16897 fi
16898 fi
16899 fi
16900 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16901 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16902 if test $ac_cv_c_bigendian = unknown; then
16903 { 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
16904 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;}
16905 fi
16906 if test $ac_cv_c_bigendian = yes; then
16907 cat >>confdefs.h <<\_ACEOF
16908 #define WORDS_BIGENDIAN 1
16909 _ACEOF
16910
16911 fi
16912
16913
16914
16915 ac_ext=cc
16916 ac_cpp='$CXXCPP $CPPFLAGS'
16917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16920 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16921 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16922 if test -z "$CXXCPP"; then
16923 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16924 echo $ECHO_N "(cached) $ECHO_C" >&6
16925 else
16926 # Double quotes because CXXCPP needs to be expanded
16927 for CXXCPP in "$CXX -E" "/lib/cpp"
16928 do
16929 ac_preproc_ok=false
16930 for ac_cxx_preproc_warn_flag in '' yes
16931 do
16932 # Use a header file that comes with gcc, so configuring glibc
16933 # with a fresh cross-compiler works.
16934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16935 # <limits.h> exists even on freestanding compilers.
16936 # On the NeXT, cc -E runs the code through the compiler's parser,
16937 # not just through cpp. "Syntax error" is here to catch this case.
16938 cat >conftest.$ac_ext <<_ACEOF
16939 #line $LINENO "configure"
16940 /* confdefs.h. */
16941 _ACEOF
16942 cat confdefs.h >>conftest.$ac_ext
16943 cat >>conftest.$ac_ext <<_ACEOF
16944 /* end confdefs.h. */
16945 #ifdef __STDC__
16946 # include <limits.h>
16947 #else
16948 # include <assert.h>
16949 #endif
16950 Syntax error
16951 _ACEOF
16952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16954 ac_status=$?
16955 grep -v '^ *+' conftest.er1 >conftest.err
16956 rm -f conftest.er1
16957 cat conftest.err >&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } >/dev/null; then
16960 if test -s conftest.err; then
16961 ac_cpp_err=$ac_cxx_preproc_warn_flag
16962 else
16963 ac_cpp_err=
16964 fi
16965 else
16966 ac_cpp_err=yes
16967 fi
16968 if test -z "$ac_cpp_err"; then
16969 :
16970 else
16971 echo "$as_me: failed program was:" >&5
16972 sed 's/^/| /' conftest.$ac_ext >&5
16973
16974 # Broken: fails on valid input.
16975 continue
16976 fi
16977 rm -f conftest.err conftest.$ac_ext
16978
16979 # OK, works on sane cases. Now check whether non-existent headers
16980 # can be detected and how.
16981 cat >conftest.$ac_ext <<_ACEOF
16982 #line $LINENO "configure"
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988 #include <ac_nonexistent.h>
16989 _ACEOF
16990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16992 ac_status=$?
16993 grep -v '^ *+' conftest.er1 >conftest.err
16994 rm -f conftest.er1
16995 cat conftest.err >&5
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); } >/dev/null; then
16998 if test -s conftest.err; then
16999 ac_cpp_err=$ac_cxx_preproc_warn_flag
17000 else
17001 ac_cpp_err=
17002 fi
17003 else
17004 ac_cpp_err=yes
17005 fi
17006 if test -z "$ac_cpp_err"; then
17007 # Broken: success on invalid input.
17008 continue
17009 else
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17012
17013 # Passes both tests.
17014 ac_preproc_ok=:
17015 break
17016 fi
17017 rm -f conftest.err conftest.$ac_ext
17018
17019 done
17020 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17021 rm -f conftest.err conftest.$ac_ext
17022 if $ac_preproc_ok; then
17023 break
17024 fi
17025
17026 done
17027 ac_cv_prog_CXXCPP=$CXXCPP
17028
17029 fi
17030 CXXCPP=$ac_cv_prog_CXXCPP
17031 else
17032 ac_cv_prog_CXXCPP=$CXXCPP
17033 fi
17034 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17035 echo "${ECHO_T}$CXXCPP" >&6
17036 ac_preproc_ok=false
17037 for ac_cxx_preproc_warn_flag in '' yes
17038 do
17039 # Use a header file that comes with gcc, so configuring glibc
17040 # with a fresh cross-compiler works.
17041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17042 # <limits.h> exists even on freestanding compilers.
17043 # On the NeXT, cc -E runs the code through the compiler's parser,
17044 # not just through cpp. "Syntax error" is here to catch this case.
17045 cat >conftest.$ac_ext <<_ACEOF
17046 #line $LINENO "configure"
17047 /* confdefs.h. */
17048 _ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 #ifdef __STDC__
17053 # include <limits.h>
17054 #else
17055 # include <assert.h>
17056 #endif
17057 Syntax error
17058 _ACEOF
17059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17061 ac_status=$?
17062 grep -v '^ *+' conftest.er1 >conftest.err
17063 rm -f conftest.er1
17064 cat conftest.err >&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } >/dev/null; then
17067 if test -s conftest.err; then
17068 ac_cpp_err=$ac_cxx_preproc_warn_flag
17069 else
17070 ac_cpp_err=
17071 fi
17072 else
17073 ac_cpp_err=yes
17074 fi
17075 if test -z "$ac_cpp_err"; then
17076 :
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17080
17081 # Broken: fails on valid input.
17082 continue
17083 fi
17084 rm -f conftest.err conftest.$ac_ext
17085
17086 # OK, works on sane cases. Now check whether non-existent headers
17087 # can be detected and how.
17088 cat >conftest.$ac_ext <<_ACEOF
17089 #line $LINENO "configure"
17090 /* confdefs.h. */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 #include <ac_nonexistent.h>
17096 _ACEOF
17097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } >/dev/null; then
17105 if test -s conftest.err; then
17106 ac_cpp_err=$ac_cxx_preproc_warn_flag
17107 else
17108 ac_cpp_err=
17109 fi
17110 else
17111 ac_cpp_err=yes
17112 fi
17113 if test -z "$ac_cpp_err"; then
17114 # Broken: success on invalid input.
17115 continue
17116 else
17117 echo "$as_me: failed program was:" >&5
17118 sed 's/^/| /' conftest.$ac_ext >&5
17119
17120 # Passes both tests.
17121 ac_preproc_ok=:
17122 break
17123 fi
17124 rm -f conftest.err conftest.$ac_ext
17125
17126 done
17127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17128 rm -f conftest.err conftest.$ac_ext
17129 if $ac_preproc_ok; then
17130 :
17131 else
17132 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; }
17137 fi
17138
17139 ac_ext=cc
17140 ac_cpp='$CXXCPP $CPPFLAGS'
17141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17144
17145
17146
17147 if test "$cross_compiling" = "yes"; then
17148 cat >>confdefs.h <<\_ACEOF
17149 #define wxUSE_IOSTREAMH 1
17150 _ACEOF
17151
17152 else
17153
17154
17155 ac_ext=cc
17156 ac_cpp='$CXXCPP $CPPFLAGS'
17157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17160
17161
17162
17163 for ac_header in iostream
17164 do
17165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17167 echo "$as_me:$LINENO: checking for $ac_header" >&5
17168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17170 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 fi
17172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17174 else
17175 # Is the header compilable?
17176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17178 cat >conftest.$ac_ext <<_ACEOF
17179 #line $LINENO "configure"
17180 /* confdefs.h. */
17181 _ACEOF
17182 cat confdefs.h >>conftest.$ac_ext
17183 cat >>conftest.$ac_ext <<_ACEOF
17184 /* end confdefs.h. */
17185 $ac_includes_default
17186 #include <$ac_header>
17187 _ACEOF
17188 rm -f conftest.$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>&5
17191 ac_status=$?
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17197 ac_status=$?
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 ac_header_compiler=yes
17201 else
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205 ac_header_compiler=no
17206 fi
17207 rm -f conftest.$ac_objext conftest.$ac_ext
17208 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17209 echo "${ECHO_T}$ac_header_compiler" >&6
17210
17211 # Is the header present?
17212 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17213 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17214 cat >conftest.$ac_ext <<_ACEOF
17215 #line $LINENO "configure"
17216 /* confdefs.h. */
17217 _ACEOF
17218 cat confdefs.h >>conftest.$ac_ext
17219 cat >>conftest.$ac_ext <<_ACEOF
17220 /* end confdefs.h. */
17221 #include <$ac_header>
17222 _ACEOF
17223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17225 ac_status=$?
17226 grep -v '^ *+' conftest.er1 >conftest.err
17227 rm -f conftest.er1
17228 cat conftest.err >&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } >/dev/null; then
17231 if test -s conftest.err; then
17232 ac_cpp_err=$ac_cxx_preproc_warn_flag
17233 else
17234 ac_cpp_err=
17235 fi
17236 else
17237 ac_cpp_err=yes
17238 fi
17239 if test -z "$ac_cpp_err"; then
17240 ac_header_preproc=yes
17241 else
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17244
17245 ac_header_preproc=no
17246 fi
17247 rm -f conftest.err conftest.$ac_ext
17248 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17249 echo "${ECHO_T}$ac_header_preproc" >&6
17250
17251 # So? What about this header?
17252 case $ac_header_compiler:$ac_header_preproc in
17253 yes:no )
17254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17258 (
17259 cat <<\_ASBOX
17260 ## ------------------------------------ ##
17261 ## Report this to bug-autoconf@gnu.org. ##
17262 ## ------------------------------------ ##
17263 _ASBOX
17264 ) |
17265 sed "s/^/$as_me: WARNING: /" >&2
17266 ;;
17267 no:yes )
17268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17274 (
17275 cat <<\_ASBOX
17276 ## ------------------------------------ ##
17277 ## Report this to bug-autoconf@gnu.org. ##
17278 ## ------------------------------------ ##
17279 _ASBOX
17280 ) |
17281 sed "s/^/$as_me: WARNING: /" >&2
17282 ;;
17283 esac
17284 echo "$as_me:$LINENO: checking for $ac_header" >&5
17285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17288 else
17289 eval "$as_ac_Header=$ac_header_preproc"
17290 fi
17291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17293
17294 fi
17295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17296 cat >>confdefs.h <<_ACEOF
17297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17298 _ACEOF
17299
17300 fi
17301
17302 done
17303
17304
17305 if test "$ac_cv_header_iostream" = "yes" ; then
17306 :
17307 else
17308 cat >>confdefs.h <<\_ACEOF
17309 #define wxUSE_IOSTREAMH 1
17310 _ACEOF
17311
17312 fi
17313
17314 ac_ext=c
17315 ac_cpp='$CPP $CPPFLAGS'
17316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17319
17320 fi
17321
17322
17323
17324 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17325 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17326 if test "${wx_cv_cpp_bool+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 else
17329
17330
17331
17332 ac_ext=cc
17333 ac_cpp='$CXXCPP $CPPFLAGS'
17334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17337
17338
17339 cat >conftest.$ac_ext <<_ACEOF
17340 #line $LINENO "configure"
17341 /* confdefs.h. */
17342 _ACEOF
17343 cat confdefs.h >>conftest.$ac_ext
17344 cat >>conftest.$ac_ext <<_ACEOF
17345 /* end confdefs.h. */
17346
17347
17348 int
17349 main ()
17350 {
17351
17352 bool b = true;
17353
17354 return 0;
17355
17356 ;
17357 return 0;
17358 }
17359 _ACEOF
17360 rm -f conftest.$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17369 ac_status=$?
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17372
17373 wx_cv_cpp_bool=yes
17374
17375 else
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17378
17379
17380 wx_cv_cpp_bool=no
17381
17382
17383 fi
17384 rm -f conftest.$ac_objext conftest.$ac_ext
17385
17386 ac_ext=c
17387 ac_cpp='$CPP $CPPFLAGS'
17388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17391
17392
17393 fi
17394 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17395 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17396
17397 if test "$wx_cv_cpp_bool" = "yes"; then
17398 cat >>confdefs.h <<\_ACEOF
17399 #define HAVE_BOOL 1
17400 _ACEOF
17401
17402 fi
17403
17404
17405
17406 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17407 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17408 if test "${wx_cv_explicit+set}" = set; then
17409 echo $ECHO_N "(cached) $ECHO_C" >&6
17410 else
17411
17412
17413
17414 ac_ext=cc
17415 ac_cpp='$CXXCPP $CPPFLAGS'
17416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17419
17420
17421 cat >conftest.$ac_ext <<_ACEOF
17422 #line $LINENO "configure"
17423 /* confdefs.h. */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428
17429 class Foo { public: explicit Foo(int) {} };
17430
17431 int
17432 main ()
17433 {
17434
17435 return 0;
17436
17437 ;
17438 return 0;
17439 }
17440 _ACEOF
17441 rm -f conftest.$ac_objext
17442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17443 (eval $ac_compile) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); } &&
17447 { ac_try='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453
17454 cat >conftest.$ac_ext <<_ACEOF
17455 #line $LINENO "configure"
17456 /* confdefs.h. */
17457 _ACEOF
17458 cat confdefs.h >>conftest.$ac_ext
17459 cat >>conftest.$ac_ext <<_ACEOF
17460 /* end confdefs.h. */
17461
17462 class Foo { public: explicit Foo(int) {} };
17463 static void TakeFoo(const Foo& foo) { }
17464
17465 int
17466 main ()
17467 {
17468
17469 TakeFoo(17);
17470 return 0;
17471
17472 ;
17473 return 0;
17474 }
17475 _ACEOF
17476 rm -f conftest.$ac_objext
17477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17478 (eval $ac_compile) 2>&5
17479 ac_status=$?
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } &&
17482 { ac_try='test -s conftest.$ac_objext'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17485 ac_status=$?
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; }; then
17488 wx_cv_explicit=no
17489 else
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17492
17493 wx_cv_explicit=yes
17494
17495 fi
17496 rm -f conftest.$ac_objext conftest.$ac_ext
17497
17498 else
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.$ac_ext >&5
17501
17502 wx_cv_explicit=no
17503
17504 fi
17505 rm -f conftest.$ac_objext conftest.$ac_ext
17506
17507 ac_ext=c
17508 ac_cpp='$CPP $CPPFLAGS'
17509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17512
17513
17514 fi
17515 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17516 echo "${ECHO_T}$wx_cv_explicit" >&6
17517
17518 if test "$wx_cv_explicit" = "yes"; then
17519 cat >>confdefs.h <<\_ACEOF
17520 #define HAVE_EXPLICIT 1
17521 _ACEOF
17522
17523 fi
17524
17525
17526 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17527 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17528 if test "${ac_cv_cxx_const_cast+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 else
17531
17532
17533 ac_ext=cc
17534 ac_cpp='$CXXCPP $CPPFLAGS'
17535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17538
17539 cat >conftest.$ac_ext <<_ACEOF
17540 #line $LINENO "configure"
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546
17547 int
17548 main ()
17549 {
17550 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17551 ;
17552 return 0;
17553 }
17554 _ACEOF
17555 rm -f conftest.$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>&5
17558 ac_status=$?
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); } &&
17561 { ac_try='test -s conftest.$ac_objext'
17562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17563 (eval $ac_try) 2>&5
17564 ac_status=$?
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); }; }; then
17567 ac_cv_cxx_const_cast=yes
17568 else
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.$ac_ext >&5
17571
17572 ac_cv_cxx_const_cast=no
17573 fi
17574 rm -f conftest.$ac_objext conftest.$ac_ext
17575 ac_ext=c
17576 ac_cpp='$CPP $CPPFLAGS'
17577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17580
17581
17582 fi
17583 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17584 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17585 if test "$ac_cv_cxx_const_cast" = yes; then
17586
17587 cat >>confdefs.h <<\_ACEOF
17588 #define HAVE_CONST_CAST
17589 _ACEOF
17590
17591 fi
17592
17593
17594
17595 SEARCH_INCLUDE="\
17596 /usr/local/include \
17597 \
17598 /usr/Motif-1.2/include \
17599 /usr/Motif-2.1/include \
17600 \
17601 /usr/include/Motif1.2 \
17602 /opt/xpm/include/X11 \
17603 /opt/GBxpm/include/ \
17604 /opt/GBxpm/X11/include/ \
17605 \
17606 /usr/Motif1.2/include \
17607 /usr/dt/include \
17608 /usr/openwin/include \
17609 \
17610 /usr/include/Xm \
17611 \
17612 /usr/X11R6/include \
17613 /usr/X11R6.4/include \
17614 /usr/X11R5/include \
17615 /usr/X11R4/include \
17616 \
17617 /usr/include/X11R6 \
17618 /usr/include/X11R5 \
17619 /usr/include/X11R4 \
17620 \
17621 /usr/local/X11R6/include \
17622 /usr/local/X11R5/include \
17623 /usr/local/X11R4/include \
17624 \
17625 /usr/local/include/X11R6 \
17626 /usr/local/include/X11R5 \
17627 /usr/local/include/X11R4 \
17628 \
17629 /usr/X11/include \
17630 /usr/include/X11 \
17631 /usr/local/X11/include \
17632 /usr/local/include/X11 \
17633 \
17634 /usr/X386/include \
17635 /usr/x386/include \
17636 /usr/XFree86/include/X11 \
17637 \
17638 X:/XFree86/include \
17639 X:/XFree86/include/X11 \
17640 \
17641 /usr/include/gtk \
17642 /usr/local/include/gtk \
17643 /usr/include/glib \
17644 /usr/local/include/glib \
17645 \
17646 /usr/include/qt \
17647 /usr/local/include/qt \
17648 \
17649 /usr/include/windows \
17650 /usr/include/wine \
17651 /usr/local/include/wine \
17652 \
17653 /usr/unsupported/include \
17654 /usr/athena/include \
17655 /usr/local/x11r5/include \
17656 /usr/lpp/Xamples/include \
17657 \
17658 /usr/openwin/share/include"
17659
17660 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17661
17662
17663 cat >confcache <<\_ACEOF
17664 # This file is a shell script that caches the results of configure
17665 # tests run on this system so they can be shared between configure
17666 # scripts and configure runs, see configure's option --config-cache.
17667 # It is not useful on other systems. If it contains results you don't
17668 # want to keep, you may remove or edit it.
17669 #
17670 # config.status only pays attention to the cache file if you give it
17671 # the --recheck option to rerun configure.
17672 #
17673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17675 # following values.
17676
17677 _ACEOF
17678
17679 # The following way of writing the cache mishandles newlines in values,
17680 # but we know of no workaround that is simple, portable, and efficient.
17681 # So, don't put newlines in cache variables' values.
17682 # Ultrix sh set writes to stderr and can't be redirected directly,
17683 # and sets the high bit in the cache file unless we assign to the vars.
17684 {
17685 (set) 2>&1 |
17686 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17687 *ac_space=\ *)
17688 # `set' does not quote correctly, so add quotes (double-quote
17689 # substitution turns \\\\ into \\, and sed turns \\ into \).
17690 sed -n \
17691 "s/'/'\\\\''/g;
17692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17693 ;;
17694 *)
17695 # `set' quotes correctly as required by POSIX, so do not add quotes.
17696 sed -n \
17697 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17698 ;;
17699 esac;
17700 } |
17701 sed '
17702 t clear
17703 : clear
17704 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17705 t end
17706 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17707 : end' >>confcache
17708 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17709 if test -w $cache_file; then
17710 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17711 cat confcache >$cache_file
17712 else
17713 echo "not updating unwritable cache $cache_file"
17714 fi
17715 fi
17716 rm -f confcache
17717
17718 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17719 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17720 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17721 if test "${wx_cv_lib_glibc21+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17723 else
17724
17725 cat >conftest.$ac_ext <<_ACEOF
17726 #line $LINENO "configure"
17727 /* confdefs.h. */
17728 _ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 #include <features.h>
17733 int
17734 main ()
17735 {
17736
17737 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17738 #error not glibc2.1
17739 #endif
17740
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext
17746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17747 (eval $ac_compile) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } &&
17751 { ac_try='test -s conftest.$ac_objext'
17752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17753 (eval $ac_try) 2>&5
17754 ac_status=$?
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); }; }; then
17757
17758 wx_cv_lib_glibc21=yes
17759
17760 else
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17763
17764
17765 wx_cv_lib_glibc21=no
17766
17767
17768 fi
17769 rm -f conftest.$ac_objext conftest.$ac_ext
17770
17771 fi
17772 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17773 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17774 if test "$wx_cv_lib_glibc21" = "yes"; then
17775 cat >>confdefs.h <<\_ACEOF
17776 #define wxHAVE_GLIBC2 1
17777 _ACEOF
17778
17779 fi
17780 fi
17781
17782 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17783 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17784 cat >>confdefs.h <<\_ACEOF
17785 #define _GNU_SOURCE 1
17786 _ACEOF
17787
17788 fi
17789 fi
17790
17791
17792
17793 REGEX_INCLUDE=
17794 if test "$wxUSE_REGEX" != "no"; then
17795 cat >>confdefs.h <<\_ACEOF
17796 #define wxUSE_REGEX 1
17797 _ACEOF
17798
17799
17800 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17801 if test "${ac_cv_header_regex_h+set}" = set; then
17802 echo "$as_me:$LINENO: checking for regex.h" >&5
17803 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17804 if test "${ac_cv_header_regex_h+set}" = set; then
17805 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 fi
17807 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17808 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17809 else
17810 # Is the header compilable?
17811 echo "$as_me:$LINENO: checking regex.h usability" >&5
17812 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17813 cat >conftest.$ac_ext <<_ACEOF
17814 #line $LINENO "configure"
17815 /* confdefs.h. */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820 $ac_includes_default
17821 #include <regex.h>
17822 _ACEOF
17823 rm -f conftest.$ac_objext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17825 (eval $ac_compile) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835 ac_header_compiler=yes
17836 else
17837 echo "$as_me: failed program was:" >&5
17838 sed 's/^/| /' conftest.$ac_ext >&5
17839
17840 ac_header_compiler=no
17841 fi
17842 rm -f conftest.$ac_objext conftest.$ac_ext
17843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17844 echo "${ECHO_T}$ac_header_compiler" >&6
17845
17846 # Is the header present?
17847 echo "$as_me:$LINENO: checking regex.h presence" >&5
17848 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17849 cat >conftest.$ac_ext <<_ACEOF
17850 #line $LINENO "configure"
17851 /* confdefs.h. */
17852 _ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856 #include <regex.h>
17857 _ACEOF
17858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } >/dev/null; then
17866 if test -s conftest.err; then
17867 ac_cpp_err=$ac_c_preproc_warn_flag
17868 else
17869 ac_cpp_err=
17870 fi
17871 else
17872 ac_cpp_err=yes
17873 fi
17874 if test -z "$ac_cpp_err"; then
17875 ac_header_preproc=yes
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17879
17880 ac_header_preproc=no
17881 fi
17882 rm -f conftest.err conftest.$ac_ext
17883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17884 echo "${ECHO_T}$ac_header_preproc" >&6
17885
17886 # So? What about this header?
17887 case $ac_header_compiler:$ac_header_preproc in
17888 yes:no )
17889 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17890 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17891 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17892 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17893 (
17894 cat <<\_ASBOX
17895 ## ------------------------------------ ##
17896 ## Report this to bug-autoconf@gnu.org. ##
17897 ## ------------------------------------ ##
17898 _ASBOX
17899 ) |
17900 sed "s/^/$as_me: WARNING: /" >&2
17901 ;;
17902 no:yes )
17903 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17904 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17905 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17906 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17907 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17908 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17909 (
17910 cat <<\_ASBOX
17911 ## ------------------------------------ ##
17912 ## Report this to bug-autoconf@gnu.org. ##
17913 ## ------------------------------------ ##
17914 _ASBOX
17915 ) |
17916 sed "s/^/$as_me: WARNING: /" >&2
17917 ;;
17918 esac
17919 echo "$as_me:$LINENO: checking for regex.h" >&5
17920 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17921 if test "${ac_cv_header_regex_h+set}" = set; then
17922 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 else
17924 ac_cv_header_regex_h=$ac_header_preproc
17925 fi
17926 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17927 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17928
17929 fi
17930 if test $ac_cv_header_regex_h = yes; then
17931
17932 for ac_func in regcomp
17933 do
17934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17935 echo "$as_me:$LINENO: checking for $ac_func" >&5
17936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17937 if eval "test \"\${$as_ac_var+set}\" = set"; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 else
17940 cat >conftest.$ac_ext <<_ACEOF
17941 #line $LINENO "configure"
17942 /* confdefs.h. */
17943 _ACEOF
17944 cat confdefs.h >>conftest.$ac_ext
17945 cat >>conftest.$ac_ext <<_ACEOF
17946 /* end confdefs.h. */
17947 /* System header to define __stub macros and hopefully few prototypes,
17948 which can conflict with char $ac_func (); below.
17949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17950 <limits.h> exists even on freestanding compilers. */
17951 #ifdef __STDC__
17952 # include <limits.h>
17953 #else
17954 # include <assert.h>
17955 #endif
17956 /* Override any gcc2 internal prototype to avoid an error. */
17957 #ifdef __cplusplus
17958 extern "C"
17959 {
17960 #endif
17961 /* We use char because int might match the return type of a gcc2
17962 builtin and then its argument prototype would still apply. */
17963 char $ac_func ();
17964 /* The GNU C library defines this for functions which it implements
17965 to always fail with ENOSYS. Some functions are actually named
17966 something starting with __ and the normal name is an alias. */
17967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17968 choke me
17969 #else
17970 char (*f) () = $ac_func;
17971 #endif
17972 #ifdef __cplusplus
17973 }
17974 #endif
17975
17976 int
17977 main ()
17978 {
17979 return f != $ac_func;
17980 ;
17981 return 0;
17982 }
17983 _ACEOF
17984 rm -f conftest.$ac_objext conftest$ac_exeext
17985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17986 (eval $ac_link) 2>&5
17987 ac_status=$?
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); } &&
17990 { ac_try='test -s conftest$ac_exeext'
17991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17992 (eval $ac_try) 2>&5
17993 ac_status=$?
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); }; }; then
17996 eval "$as_ac_var=yes"
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18000
18001 eval "$as_ac_var=no"
18002 fi
18003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18004 fi
18005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18007 if test `eval echo '${'$as_ac_var'}'` = yes; then
18008 cat >>confdefs.h <<_ACEOF
18009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18010 _ACEOF
18011
18012 fi
18013 done
18014
18015 fi
18016
18017
18018
18019 if test "x$ac_cv_func_regcomp" != "xyes"; then
18020 if test "$wxUSE_REGEX" = "sys" ; then
18021 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18022 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18023 { (exit 1); exit 1; }; }
18024 else
18025 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18026 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18027 wxUSE_REGEX=builtin
18028 fi
18029 else
18030 wxUSE_REGEX=sys
18031 fi
18032 fi
18033
18034 if test "$wxUSE_REGEX" = "builtin" ; then
18035 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18036 fi
18037 fi
18038
18039
18040 ZLIB_INCLUDE=
18041 ZLIB_LINK=
18042 if test "$wxUSE_ZLIB" != "no" ; then
18043 cat >>confdefs.h <<\_ACEOF
18044 #define wxUSE_ZLIB 1
18045 _ACEOF
18046
18047
18048 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18049 if test "$USE_DARWIN" = 1; then
18050 system_zlib_h_ok="yes"
18051 else
18052 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18053 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18054 if test "${ac_cv_header_zlib_h+set}" = set; then
18055 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 else
18057 if test "$cross_compiling" = yes; then
18058 unset ac_cv_header_zlib_h
18059
18060 else
18061 cat >conftest.$ac_ext <<_ACEOF
18062 #line $LINENO "configure"
18063 /* confdefs.h. */
18064 _ACEOF
18065 cat confdefs.h >>conftest.$ac_ext
18066 cat >>conftest.$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068
18069 #include <zlib.h>
18070 #include <stdio.h>
18071
18072 int main()
18073 {
18074 FILE *f=fopen("conftestval", "w");
18075 if (!f) exit(1);
18076 fprintf(f, "%s",
18077 ZLIB_VERSION[0] == '1' &&
18078 (ZLIB_VERSION[2] > '1' ||
18079 (ZLIB_VERSION[2] == '1' &&
18080 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18081 exit(0);
18082 }
18083
18084 _ACEOF
18085 rm -f conftest$ac_exeext
18086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18087 (eval $ac_link) 2>&5
18088 ac_status=$?
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; }; then
18096 ac_cv_header_zlib_h=`cat conftestval`
18097 else
18098 echo "$as_me: program exited with status $ac_status" >&5
18099 echo "$as_me: failed program was:" >&5
18100 sed 's/^/| /' conftest.$ac_ext >&5
18101
18102 ( exit $ac_status )
18103 ac_cv_header_zlib_h=no
18104 fi
18105 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18106 fi
18107
18108 fi
18109 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18110 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18111 if test "${ac_cv_header_zlib_h+set}" = set; then
18112 echo "$as_me:$LINENO: checking for zlib.h" >&5
18113 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18114 if test "${ac_cv_header_zlib_h+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 fi
18117 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18118 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18119 else
18120 # Is the header compilable?
18121 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18122 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18123 cat >conftest.$ac_ext <<_ACEOF
18124 #line $LINENO "configure"
18125 /* confdefs.h. */
18126 _ACEOF
18127 cat confdefs.h >>conftest.$ac_ext
18128 cat >>conftest.$ac_ext <<_ACEOF
18129 /* end confdefs.h. */
18130 $ac_includes_default
18131 #include <zlib.h>
18132 _ACEOF
18133 rm -f conftest.$ac_objext
18134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18135 (eval $ac_compile) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } &&
18139 { ac_try='test -s conftest.$ac_objext'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18142 ac_status=$?
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; }; then
18145 ac_header_compiler=yes
18146 else
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18149
18150 ac_header_compiler=no
18151 fi
18152 rm -f conftest.$ac_objext conftest.$ac_ext
18153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18154 echo "${ECHO_T}$ac_header_compiler" >&6
18155
18156 # Is the header present?
18157 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18158 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18159 cat >conftest.$ac_ext <<_ACEOF
18160 #line $LINENO "configure"
18161 /* confdefs.h. */
18162 _ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166 #include <zlib.h>
18167 _ACEOF
18168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18169 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18170 ac_status=$?
18171 grep -v '^ *+' conftest.er1 >conftest.err
18172 rm -f conftest.er1
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } >/dev/null; then
18176 if test -s conftest.err; then
18177 ac_cpp_err=$ac_c_preproc_warn_flag
18178 else
18179 ac_cpp_err=
18180 fi
18181 else
18182 ac_cpp_err=yes
18183 fi
18184 if test -z "$ac_cpp_err"; then
18185 ac_header_preproc=yes
18186 else
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.$ac_ext >&5
18189
18190 ac_header_preproc=no
18191 fi
18192 rm -f conftest.err conftest.$ac_ext
18193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18194 echo "${ECHO_T}$ac_header_preproc" >&6
18195
18196 # So? What about this header?
18197 case $ac_header_compiler:$ac_header_preproc in
18198 yes:no )
18199 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18200 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18201 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18202 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18203 (
18204 cat <<\_ASBOX
18205 ## ------------------------------------ ##
18206 ## Report this to bug-autoconf@gnu.org. ##
18207 ## ------------------------------------ ##
18208 _ASBOX
18209 ) |
18210 sed "s/^/$as_me: WARNING: /" >&2
18211 ;;
18212 no:yes )
18213 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18214 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18215 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18216 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18217 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18218 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18219 (
18220 cat <<\_ASBOX
18221 ## ------------------------------------ ##
18222 ## Report this to bug-autoconf@gnu.org. ##
18223 ## ------------------------------------ ##
18224 _ASBOX
18225 ) |
18226 sed "s/^/$as_me: WARNING: /" >&2
18227 ;;
18228 esac
18229 echo "$as_me:$LINENO: checking for zlib.h" >&5
18230 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18231 if test "${ac_cv_header_zlib_h+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 ac_cv_header_zlib_h=$ac_header_preproc
18235 fi
18236 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18237 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18238
18239 fi
18240
18241
18242
18243 system_zlib_h_ok=$ac_cv_header_zlib_h
18244 fi
18245
18246 if test "$system_zlib_h_ok" = "yes"; then
18247 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18248 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18249 if test "${ac_cv_lib_z_deflate+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 else
18252 ac_check_lib_save_LIBS=$LIBS
18253 LIBS="-lz $LIBS"
18254 cat >conftest.$ac_ext <<_ACEOF
18255 #line $LINENO "configure"
18256 /* confdefs.h. */
18257 _ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261
18262 /* Override any gcc2 internal prototype to avoid an error. */
18263 #ifdef __cplusplus
18264 extern "C"
18265 #endif
18266 /* We use char because int might match the return type of a gcc2
18267 builtin and then its argument prototype would still apply. */
18268 char deflate ();
18269 int
18270 main ()
18271 {
18272 deflate ();
18273 ;
18274 return 0;
18275 }
18276 _ACEOF
18277 rm -f conftest.$ac_objext conftest$ac_exeext
18278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18279 (eval $ac_link) 2>&5
18280 ac_status=$?
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } &&
18283 { ac_try='test -s conftest$ac_exeext'
18284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18285 (eval $ac_try) 2>&5
18286 ac_status=$?
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); }; }; then
18289 ac_cv_lib_z_deflate=yes
18290 else
18291 echo "$as_me: failed program was:" >&5
18292 sed 's/^/| /' conftest.$ac_ext >&5
18293
18294 ac_cv_lib_z_deflate=no
18295 fi
18296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18297 LIBS=$ac_check_lib_save_LIBS
18298 fi
18299 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18300 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18301 if test $ac_cv_lib_z_deflate = yes; then
18302 ZLIB_LINK=" -lz"
18303 fi
18304
18305 fi
18306
18307 if test "x$ZLIB_LINK" = "x" ; then
18308 if test "$wxUSE_ZLIB" = "sys" ; then
18309 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18310 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18311 { (exit 1); exit 1; }; }
18312 else
18313 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18314 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18315 wxUSE_ZLIB=builtin
18316 fi
18317 else
18318 wxUSE_ZLIB=sys
18319 fi
18320 fi
18321
18322 if test "$wxUSE_ZLIB" = "builtin" ; then
18323 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18324 fi
18325 fi
18326
18327
18328 PNG_INCLUDE=
18329 PNG_LINK=
18330 if test "$wxUSE_LIBPNG" != "no" ; then
18331 cat >>confdefs.h <<\_ACEOF
18332 #define wxUSE_LIBPNG 1
18333 _ACEOF
18334
18335
18336 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18337 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18338 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18339 wxUSE_LIBPNG=sys
18340 fi
18341
18342 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18343 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18344 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18345 wxUSE_LIBPNG=builtin
18346 fi
18347
18348 if test "$wxUSE_MGL" != 1 ; then
18349 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18350 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18351 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18352 if test "${ac_cv_header_png_h+set}" = set; then
18353 echo $ECHO_N "(cached) $ECHO_C" >&6
18354 else
18355 if test "$cross_compiling" = yes; then
18356 unset ac_cv_header_png_h
18357
18358 else
18359 cat >conftest.$ac_ext <<_ACEOF
18360 #line $LINENO "configure"
18361 /* confdefs.h. */
18362 _ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366
18367 #include <png.h>
18368 #include <stdio.h>
18369
18370 int main()
18371 {
18372 FILE *f=fopen("conftestval", "w");
18373 if (!f) exit(1);
18374 fprintf(f, "%s",
18375 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18376 exit(0);
18377 }
18378
18379 _ACEOF
18380 rm -f conftest$ac_exeext
18381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18382 (eval $ac_link) 2>&5
18383 ac_status=$?
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18388 ac_status=$?
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18391 ac_cv_header_png_h=`cat conftestval`
18392 else
18393 echo "$as_me: program exited with status $ac_status" >&5
18394 echo "$as_me: failed program was:" >&5
18395 sed 's/^/| /' conftest.$ac_ext >&5
18396
18397 ( exit $ac_status )
18398 ac_cv_header_png_h=no
18399 fi
18400 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18401 fi
18402
18403 fi
18404 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18405 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18406 if test "${ac_cv_header_png_h+set}" = set; then
18407 echo "$as_me:$LINENO: checking for png.h" >&5
18408 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18409 if test "${ac_cv_header_png_h+set}" = set; then
18410 echo $ECHO_N "(cached) $ECHO_C" >&6
18411 fi
18412 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18413 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18414 else
18415 # Is the header compilable?
18416 echo "$as_me:$LINENO: checking png.h usability" >&5
18417 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18418 cat >conftest.$ac_ext <<_ACEOF
18419 #line $LINENO "configure"
18420 /* confdefs.h. */
18421 _ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 $ac_includes_default
18426 #include <png.h>
18427 _ACEOF
18428 rm -f conftest.$ac_objext
18429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18430 (eval $ac_compile) 2>&5
18431 ac_status=$?
18432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433 (exit $ac_status); } &&
18434 { ac_try='test -s conftest.$ac_objext'
18435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18436 (eval $ac_try) 2>&5
18437 ac_status=$?
18438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18439 (exit $ac_status); }; }; then
18440 ac_header_compiler=yes
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18444
18445 ac_header_compiler=no
18446 fi
18447 rm -f conftest.$ac_objext conftest.$ac_ext
18448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18449 echo "${ECHO_T}$ac_header_compiler" >&6
18450
18451 # Is the header present?
18452 echo "$as_me:$LINENO: checking png.h presence" >&5
18453 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18454 cat >conftest.$ac_ext <<_ACEOF
18455 #line $LINENO "configure"
18456 /* confdefs.h. */
18457 _ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 #include <png.h>
18462 _ACEOF
18463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18465 ac_status=$?
18466 grep -v '^ *+' conftest.er1 >conftest.err
18467 rm -f conftest.er1
18468 cat conftest.err >&5
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); } >/dev/null; then
18471 if test -s conftest.err; then
18472 ac_cpp_err=$ac_c_preproc_warn_flag
18473 else
18474 ac_cpp_err=
18475 fi
18476 else
18477 ac_cpp_err=yes
18478 fi
18479 if test -z "$ac_cpp_err"; then
18480 ac_header_preproc=yes
18481 else
18482 echo "$as_me: failed program was:" >&5
18483 sed 's/^/| /' conftest.$ac_ext >&5
18484
18485 ac_header_preproc=no
18486 fi
18487 rm -f conftest.err conftest.$ac_ext
18488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18489 echo "${ECHO_T}$ac_header_preproc" >&6
18490
18491 # So? What about this header?
18492 case $ac_header_compiler:$ac_header_preproc in
18493 yes:no )
18494 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18495 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18496 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18497 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18498 (
18499 cat <<\_ASBOX
18500 ## ------------------------------------ ##
18501 ## Report this to bug-autoconf@gnu.org. ##
18502 ## ------------------------------------ ##
18503 _ASBOX
18504 ) |
18505 sed "s/^/$as_me: WARNING: /" >&2
18506 ;;
18507 no:yes )
18508 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18509 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18510 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18511 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18512 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18513 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18514 (
18515 cat <<\_ASBOX
18516 ## ------------------------------------ ##
18517 ## Report this to bug-autoconf@gnu.org. ##
18518 ## ------------------------------------ ##
18519 _ASBOX
18520 ) |
18521 sed "s/^/$as_me: WARNING: /" >&2
18522 ;;
18523 esac
18524 echo "$as_me:$LINENO: checking for png.h" >&5
18525 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18526 if test "${ac_cv_header_png_h+set}" = set; then
18527 echo $ECHO_N "(cached) $ECHO_C" >&6
18528 else
18529 ac_cv_header_png_h=$ac_header_preproc
18530 fi
18531 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18532 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18533
18534 fi
18535
18536
18537
18538 if test "$ac_cv_header_png_h" = "yes"; then
18539 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18540 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18541 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18542 echo $ECHO_N "(cached) $ECHO_C" >&6
18543 else
18544 ac_check_lib_save_LIBS=$LIBS
18545 LIBS="-lpng -lz -lm $LIBS"
18546 cat >conftest.$ac_ext <<_ACEOF
18547 #line $LINENO "configure"
18548 /* confdefs.h. */
18549 _ACEOF
18550 cat confdefs.h >>conftest.$ac_ext
18551 cat >>conftest.$ac_ext <<_ACEOF
18552 /* end confdefs.h. */
18553
18554 /* Override any gcc2 internal prototype to avoid an error. */
18555 #ifdef __cplusplus
18556 extern "C"
18557 #endif
18558 /* We use char because int might match the return type of a gcc2
18559 builtin and then its argument prototype would still apply. */
18560 char png_check_sig ();
18561 int
18562 main ()
18563 {
18564 png_check_sig ();
18565 ;
18566 return 0;
18567 }
18568 _ACEOF
18569 rm -f conftest.$ac_objext conftest$ac_exeext
18570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18571 (eval $ac_link) 2>&5
18572 ac_status=$?
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); } &&
18575 { ac_try='test -s conftest$ac_exeext'
18576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18577 (eval $ac_try) 2>&5
18578 ac_status=$?
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); }; }; then
18581 ac_cv_lib_png_png_check_sig=yes
18582 else
18583 echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.$ac_ext >&5
18585
18586 ac_cv_lib_png_png_check_sig=no
18587 fi
18588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18589 LIBS=$ac_check_lib_save_LIBS
18590 fi
18591 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18592 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18593 if test $ac_cv_lib_png_png_check_sig = yes; then
18594 PNG_LINK=" -lpng"
18595 fi
18596
18597 fi
18598
18599 if test "x$PNG_LINK" = "x" ; then
18600 if test "$wxUSE_LIBPNG" = "sys" ; then
18601 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18602 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18603 { (exit 1); exit 1; }; }
18604 else
18605 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18606 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18607 wxUSE_LIBPNG=builtin
18608 fi
18609 else
18610 wxUSE_LIBPNG=sys
18611 fi
18612 fi
18613 fi
18614
18615 if test "$wxUSE_LIBPNG" = "builtin" ; then
18616 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18617 fi
18618
18619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18620 fi
18621
18622
18623 JPEG_INCLUDE=
18624 JPEG_LINK=
18625 if test "$wxUSE_LIBJPEG" != "no" ; then
18626 cat >>confdefs.h <<\_ACEOF
18627 #define wxUSE_LIBJPEG 1
18628 _ACEOF
18629
18630
18631 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18632 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18633 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18634 wxUSE_LIBJPEG=sys
18635 fi
18636
18637 if test "$wxUSE_MGL" != 1 ; then
18638 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18639 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18640 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18641 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 else
18644 cat >conftest.$ac_ext <<_ACEOF
18645 #line $LINENO "configure"
18646 /* confdefs.h. */
18647 _ACEOF
18648 cat confdefs.h >>conftest.$ac_ext
18649 cat >>conftest.$ac_ext <<_ACEOF
18650 /* end confdefs.h. */
18651
18652 #undef HAVE_STDLIB_H
18653 #include <stdio.h>
18654 #include <jpeglib.h>
18655
18656 int
18657 main ()
18658 {
18659
18660
18661 ;
18662 return 0;
18663 }
18664 _ACEOF
18665 rm -f conftest.$ac_objext
18666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18667 (eval $ac_compile) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } &&
18671 { ac_try='test -s conftest.$ac_objext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18677 ac_cv_header_jpeglib_h=yes
18678 else
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18681
18682 ac_cv_header_jpeglib_h=no
18683
18684 fi
18685 rm -f conftest.$ac_objext conftest.$ac_ext
18686
18687 fi
18688
18689 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18690 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18691
18692 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18693 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18694 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18695 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 else
18698 ac_check_lib_save_LIBS=$LIBS
18699 LIBS="-ljpeg $LIBS"
18700 cat >conftest.$ac_ext <<_ACEOF
18701 #line $LINENO "configure"
18702 /* confdefs.h. */
18703 _ACEOF
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707
18708 /* Override any gcc2 internal prototype to avoid an error. */
18709 #ifdef __cplusplus
18710 extern "C"
18711 #endif
18712 /* We use char because int might match the return type of a gcc2
18713 builtin and then its argument prototype would still apply. */
18714 char jpeg_read_header ();
18715 int
18716 main ()
18717 {
18718 jpeg_read_header ();
18719 ;
18720 return 0;
18721 }
18722 _ACEOF
18723 rm -f conftest.$ac_objext conftest$ac_exeext
18724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18725 (eval $ac_link) 2>&5
18726 ac_status=$?
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); } &&
18729 { ac_try='test -s conftest$ac_exeext'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 ac_cv_lib_jpeg_jpeg_read_header=yes
18736 else
18737 echo "$as_me: failed program was:" >&5
18738 sed 's/^/| /' conftest.$ac_ext >&5
18739
18740 ac_cv_lib_jpeg_jpeg_read_header=no
18741 fi
18742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18743 LIBS=$ac_check_lib_save_LIBS
18744 fi
18745 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18746 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18747 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18748 JPEG_LINK=" -ljpeg"
18749 fi
18750
18751 fi
18752
18753 if test "x$JPEG_LINK" = "x" ; then
18754 if test "$wxUSE_LIBJPEG" = "sys" ; then
18755 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18756 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18757 { (exit 1); exit 1; }; }
18758 else
18759 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18760 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18761 wxUSE_LIBJPEG=builtin
18762 fi
18763 else
18764 wxUSE_LIBJPEG=sys
18765 fi
18766 fi
18767 fi
18768
18769 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18770 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18771 fi
18772 fi
18773
18774
18775 TIFF_INCLUDE=
18776 TIFF_LINK=
18777 TIFF_PREREQ_LINKS=-lm
18778 if test "$wxUSE_LIBTIFF" != "no" ; then
18779 cat >>confdefs.h <<\_ACEOF
18780 #define wxUSE_LIBTIFF 1
18781 _ACEOF
18782
18783
18784 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18785 if test "$wxUSE_LIBJPEG" = "sys"; then
18786 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18787 fi
18788 if test "$wxUSE_ZLIB" = "sys"; then
18789 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18790 fi
18791 if test "${ac_cv_header_tiffio_h+set}" = set; then
18792 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18793 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18794 if test "${ac_cv_header_tiffio_h+set}" = set; then
18795 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 fi
18797 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18798 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18799 else
18800 # Is the header compilable?
18801 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18802 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18803 cat >conftest.$ac_ext <<_ACEOF
18804 #line $LINENO "configure"
18805 /* confdefs.h. */
18806 _ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 $ac_includes_default
18811 #include <tiffio.h>
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18815 (eval $ac_compile) 2>&5
18816 ac_status=$?
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); } &&
18819 { ac_try='test -s conftest.$ac_objext'
18820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821 (eval $ac_try) 2>&5
18822 ac_status=$?
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_header_compiler=yes
18826 else
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18829
18830 ac_header_compiler=no
18831 fi
18832 rm -f conftest.$ac_objext conftest.$ac_ext
18833 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18834 echo "${ECHO_T}$ac_header_compiler" >&6
18835
18836 # Is the header present?
18837 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18838 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18839 cat >conftest.$ac_ext <<_ACEOF
18840 #line $LINENO "configure"
18841 /* confdefs.h. */
18842 _ACEOF
18843 cat confdefs.h >>conftest.$ac_ext
18844 cat >>conftest.$ac_ext <<_ACEOF
18845 /* end confdefs.h. */
18846 #include <tiffio.h>
18847 _ACEOF
18848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18850 ac_status=$?
18851 grep -v '^ *+' conftest.er1 >conftest.err
18852 rm -f conftest.er1
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } >/dev/null; then
18856 if test -s conftest.err; then
18857 ac_cpp_err=$ac_c_preproc_warn_flag
18858 else
18859 ac_cpp_err=
18860 fi
18861 else
18862 ac_cpp_err=yes
18863 fi
18864 if test -z "$ac_cpp_err"; then
18865 ac_header_preproc=yes
18866 else
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18869
18870 ac_header_preproc=no
18871 fi
18872 rm -f conftest.err conftest.$ac_ext
18873 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18874 echo "${ECHO_T}$ac_header_preproc" >&6
18875
18876 # So? What about this header?
18877 case $ac_header_compiler:$ac_header_preproc in
18878 yes:no )
18879 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18880 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18881 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18882 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18883 (
18884 cat <<\_ASBOX
18885 ## ------------------------------------ ##
18886 ## Report this to bug-autoconf@gnu.org. ##
18887 ## ------------------------------------ ##
18888 _ASBOX
18889 ) |
18890 sed "s/^/$as_me: WARNING: /" >&2
18891 ;;
18892 no:yes )
18893 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18894 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18895 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18896 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18897 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18898 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18899 (
18900 cat <<\_ASBOX
18901 ## ------------------------------------ ##
18902 ## Report this to bug-autoconf@gnu.org. ##
18903 ## ------------------------------------ ##
18904 _ASBOX
18905 ) |
18906 sed "s/^/$as_me: WARNING: /" >&2
18907 ;;
18908 esac
18909 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18910 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18911 if test "${ac_cv_header_tiffio_h+set}" = set; then
18912 echo $ECHO_N "(cached) $ECHO_C" >&6
18913 else
18914 ac_cv_header_tiffio_h=$ac_header_preproc
18915 fi
18916 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18917 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18918
18919 fi
18920 if test $ac_cv_header_tiffio_h = yes; then
18921 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18922 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18923 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 ac_check_lib_save_LIBS=$LIBS
18927 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18928 cat >conftest.$ac_ext <<_ACEOF
18929 #line $LINENO "configure"
18930 /* confdefs.h. */
18931 _ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18935
18936 /* Override any gcc2 internal prototype to avoid an error. */
18937 #ifdef __cplusplus
18938 extern "C"
18939 #endif
18940 /* We use char because int might match the return type of a gcc2
18941 builtin and then its argument prototype would still apply. */
18942 char TIFFError ();
18943 int
18944 main ()
18945 {
18946 TIFFError ();
18947 ;
18948 return 0;
18949 }
18950 _ACEOF
18951 rm -f conftest.$ac_objext conftest$ac_exeext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18953 (eval $ac_link) 2>&5
18954 ac_status=$?
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -s conftest$ac_exeext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18960 ac_status=$?
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 ac_cv_lib_tiff_TIFFError=yes
18964 else
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18967
18968 ac_cv_lib_tiff_TIFFError=no
18969 fi
18970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18971 LIBS=$ac_check_lib_save_LIBS
18972 fi
18973 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
18974 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
18975 if test $ac_cv_lib_tiff_TIFFError = yes; then
18976 TIFF_LINK=" -ltiff"
18977 fi
18978
18979
18980 fi
18981
18982
18983
18984 if test "x$TIFF_LINK" = "x" ; then
18985 if test "$wxUSE_LIBTIFF" = "sys" ; then
18986 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
18987 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
18988 { (exit 1); exit 1; }; }
18989 else
18990 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
18991 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
18992 wxUSE_LIBTIFF=builtin
18993 fi
18994 else
18995 wxUSE_LIBTIFF=sys
18996 fi
18997 fi
18998
18999 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19000 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19001 fi
19002 fi
19003
19004
19005 AFMINSTALL=
19006 WIN32INSTALL=
19007
19008 TOOLKIT=
19009 TOOLKIT_INCLUDE=
19010 WIDGET_SET=
19011
19012 if test "$USE_WIN32" = 1 ; then
19013
19014 for ac_header in w32api.h
19015 do
19016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19018 echo "$as_me:$LINENO: checking for $ac_header" >&5
19019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19022 fi
19023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19025 else
19026 # Is the header compilable?
19027 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19029 cat >conftest.$ac_ext <<_ACEOF
19030 #line $LINENO "configure"
19031 /* confdefs.h. */
19032 _ACEOF
19033 cat confdefs.h >>conftest.$ac_ext
19034 cat >>conftest.$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19036 $ac_includes_default
19037 #include <$ac_header>
19038 _ACEOF
19039 rm -f conftest.$ac_objext
19040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19041 (eval $ac_compile) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -s conftest.$ac_objext'
19046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19047 (eval $ac_try) 2>&5
19048 ac_status=$?
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); }; }; then
19051 ac_header_compiler=yes
19052 else
19053 echo "$as_me: failed program was:" >&5
19054 sed 's/^/| /' conftest.$ac_ext >&5
19055
19056 ac_header_compiler=no
19057 fi
19058 rm -f conftest.$ac_objext conftest.$ac_ext
19059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19060 echo "${ECHO_T}$ac_header_compiler" >&6
19061
19062 # Is the header present?
19063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19065 cat >conftest.$ac_ext <<_ACEOF
19066 #line $LINENO "configure"
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 #include <$ac_header>
19073 _ACEOF
19074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19076 ac_status=$?
19077 grep -v '^ *+' conftest.er1 >conftest.err
19078 rm -f conftest.er1
19079 cat conftest.err >&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } >/dev/null; then
19082 if test -s conftest.err; then
19083 ac_cpp_err=$ac_c_preproc_warn_flag
19084 else
19085 ac_cpp_err=
19086 fi
19087 else
19088 ac_cpp_err=yes
19089 fi
19090 if test -z "$ac_cpp_err"; then
19091 ac_header_preproc=yes
19092 else
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19095
19096 ac_header_preproc=no
19097 fi
19098 rm -f conftest.err conftest.$ac_ext
19099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19100 echo "${ECHO_T}$ac_header_preproc" >&6
19101
19102 # So? What about this header?
19103 case $ac_header_compiler:$ac_header_preproc in
19104 yes:no )
19105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19109 (
19110 cat <<\_ASBOX
19111 ## ------------------------------------ ##
19112 ## Report this to bug-autoconf@gnu.org. ##
19113 ## ------------------------------------ ##
19114 _ASBOX
19115 ) |
19116 sed "s/^/$as_me: WARNING: /" >&2
19117 ;;
19118 no:yes )
19119 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19120 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19121 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19122 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19125 (
19126 cat <<\_ASBOX
19127 ## ------------------------------------ ##
19128 ## Report this to bug-autoconf@gnu.org. ##
19129 ## ------------------------------------ ##
19130 _ASBOX
19131 ) |
19132 sed "s/^/$as_me: WARNING: /" >&2
19133 ;;
19134 esac
19135 echo "$as_me:$LINENO: checking for $ac_header" >&5
19136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19138 echo $ECHO_N "(cached) $ECHO_C" >&6
19139 else
19140 eval "$as_ac_Header=$ac_header_preproc"
19141 fi
19142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19144
19145 fi
19146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19147 cat >>confdefs.h <<_ACEOF
19148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19149 _ACEOF
19150
19151 fi
19152
19153 done
19154
19155 if test "${ac_cv_header_windows_h+set}" = set; then
19156 echo "$as_me:$LINENO: checking for windows.h" >&5
19157 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19158 if test "${ac_cv_header_windows_h+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19160 fi
19161 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19162 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19163 else
19164 # Is the header compilable?
19165 echo "$as_me:$LINENO: checking windows.h usability" >&5
19166 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19167 cat >conftest.$ac_ext <<_ACEOF
19168 #line $LINENO "configure"
19169 /* confdefs.h. */
19170 _ACEOF
19171 cat confdefs.h >>conftest.$ac_ext
19172 cat >>conftest.$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19174 $ac_includes_default
19175 #include <windows.h>
19176 _ACEOF
19177 rm -f conftest.$ac_objext
19178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19179 (eval $ac_compile) 2>&5
19180 ac_status=$?
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } &&
19183 { ac_try='test -s conftest.$ac_objext'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19186 ac_status=$?
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; }; then
19189 ac_header_compiler=yes
19190 else
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19193
19194 ac_header_compiler=no
19195 fi
19196 rm -f conftest.$ac_objext conftest.$ac_ext
19197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19198 echo "${ECHO_T}$ac_header_compiler" >&6
19199
19200 # Is the header present?
19201 echo "$as_me:$LINENO: checking windows.h presence" >&5
19202 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19203 cat >conftest.$ac_ext <<_ACEOF
19204 #line $LINENO "configure"
19205 /* confdefs.h. */
19206 _ACEOF
19207 cat confdefs.h >>conftest.$ac_ext
19208 cat >>conftest.$ac_ext <<_ACEOF
19209 /* end confdefs.h. */
19210 #include <windows.h>
19211 _ACEOF
19212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19213 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19214 ac_status=$?
19215 grep -v '^ *+' conftest.er1 >conftest.err
19216 rm -f conftest.er1
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } >/dev/null; then
19220 if test -s conftest.err; then
19221 ac_cpp_err=$ac_c_preproc_warn_flag
19222 else
19223 ac_cpp_err=
19224 fi
19225 else
19226 ac_cpp_err=yes
19227 fi
19228 if test -z "$ac_cpp_err"; then
19229 ac_header_preproc=yes
19230 else
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.$ac_ext >&5
19233
19234 ac_header_preproc=no
19235 fi
19236 rm -f conftest.err conftest.$ac_ext
19237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19238 echo "${ECHO_T}$ac_header_preproc" >&6
19239
19240 # So? What about this header?
19241 case $ac_header_compiler:$ac_header_preproc in
19242 yes:no )
19243 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19244 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19245 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19246 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19247 (
19248 cat <<\_ASBOX
19249 ## ------------------------------------ ##
19250 ## Report this to bug-autoconf@gnu.org. ##
19251 ## ------------------------------------ ##
19252 _ASBOX
19253 ) |
19254 sed "s/^/$as_me: WARNING: /" >&2
19255 ;;
19256 no:yes )
19257 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19258 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19259 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19260 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19261 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19262 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19263 (
19264 cat <<\_ASBOX
19265 ## ------------------------------------ ##
19266 ## Report this to bug-autoconf@gnu.org. ##
19267 ## ------------------------------------ ##
19268 _ASBOX
19269 ) |
19270 sed "s/^/$as_me: WARNING: /" >&2
19271 ;;
19272 esac
19273 echo "$as_me:$LINENO: checking for windows.h" >&5
19274 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19275 if test "${ac_cv_header_windows_h+set}" = set; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19277 else
19278 ac_cv_header_windows_h=$ac_header_preproc
19279 fi
19280 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19281 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19282
19283 fi
19284 if test $ac_cv_header_windows_h = yes; then
19285 :
19286 else
19287
19288 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19289 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19290 { (exit 1); exit 1; }; }
19291
19292 fi
19293
19294
19295
19296 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19297
19298 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19299 LIBS="$LIBS -loleacc"
19300 fi
19301
19302 case "${host}" in
19303 *-*-cygwin* )
19304 LIBS="$LIBS -lkernel32 -luser32"
19305 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19306 esac
19307
19308 if test "$wxUSE_ODBC" = "sys" ; then
19309 wxUSE_ODBC = "yes"
19310 fi
19311 if test "$wxUSE_ODBC" = "yes" ; then
19312 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19313 cat >>confdefs.h <<\_ACEOF
19314 #define wxUSE_ODBC 1
19315 _ACEOF
19316
19317 fi
19318
19319 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19320 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19321
19322 WIN32INSTALL=win32install
19323 fi
19324
19325 if test "$wxUSE_GUI" = "yes"; then
19326 USE_GUI=1
19327
19328 GUI_TK_LIBRARY=
19329
19330 WXGTK12=
19331 WXGTK127=
19332 WXGTK20=
19333
19334 if test "$wxUSE_MSW" = 1 ; then
19335 TOOLKIT=MSW
19336 GUIDIST=MSW_DIST
19337 fi
19338
19339 if test "$wxUSE_GTK" = 1; then
19340 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19341 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19342
19343 gtk_version_cached=1
19344 if test "${wx_cv_lib_gtk+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19346 else
19347
19348 gtk_version_cached=0
19349 echo "$as_me:$LINENO: result: " >&5
19350 echo "${ECHO_T}" >&6
19351
19352 GTK_MODULES=
19353 if test "$wxUSE_THREADS" = "yes"; then
19354 GTK_MODULES=gthread
19355 fi
19356
19357 wx_cv_lib_gtk=
19358 if test "x$wxUSE_GTK2" = "xyes"; then
19359 # Check whether --enable-gtktest or --disable-gtktest was given.
19360 if test "${enable_gtktest+set}" = set; then
19361 enableval="$enable_gtktest"
19362
19363 else
19364 enable_gtktest=yes
19365 fi;
19366
19367 pkg_config_args=gtk+-2.0
19368 for module in . $GTK_MODULES
19369 do
19370 case "$module" in
19371 gthread)
19372 pkg_config_args="$pkg_config_args gthread-2.0"
19373 ;;
19374 esac
19375 done
19376
19377 no_gtk=""
19378
19379 # Extract the first word of "pkg-config", so it can be a program name with args.
19380 set dummy pkg-config; ac_word=$2
19381 echo "$as_me:$LINENO: checking for $ac_word" >&5
19382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19383 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19384 echo $ECHO_N "(cached) $ECHO_C" >&6
19385 else
19386 case $PKG_CONFIG in
19387 [\\/]* | ?:[\\/]*)
19388 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19389 ;;
19390 *)
19391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19392 for as_dir in $PATH
19393 do
19394 IFS=$as_save_IFS
19395 test -z "$as_dir" && as_dir=.
19396 for ac_exec_ext in '' $ac_executable_extensions; do
19397 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19398 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19400 break 2
19401 fi
19402 done
19403 done
19404
19405 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19406 ;;
19407 esac
19408 fi
19409 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19410
19411 if test -n "$PKG_CONFIG"; then
19412 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19413 echo "${ECHO_T}$PKG_CONFIG" >&6
19414 else
19415 echo "$as_me:$LINENO: result: no" >&5
19416 echo "${ECHO_T}no" >&6
19417 fi
19418
19419
19420 if test x$PKG_CONFIG != xno ; then
19421 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19422 :
19423 else
19424 echo *** pkg-config too old; version 0.7 or better required.
19425 no_gtk=yes
19426 PKG_CONFIG=no
19427 fi
19428 else
19429 no_gtk=yes
19430 fi
19431
19432 min_gtk_version=2.0.0
19433 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19434 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19435
19436 if test x$PKG_CONFIG != xno ; then
19437 ## don't try to run the test against uninstalled libtool libs
19438 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19439 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19440 enable_gtktest=no
19441 fi
19442
19443 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19444 :
19445 else
19446 no_gtk=yes
19447 fi
19448 fi
19449
19450 if test x"$no_gtk" = x ; then
19451 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19452 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19453 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19455 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19457 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19459 if test "x$enable_gtktest" = "xyes" ; then
19460 ac_save_CFLAGS="$CFLAGS"
19461 ac_save_LIBS="$LIBS"
19462 CFLAGS="$CFLAGS $GTK_CFLAGS"
19463 LIBS="$GTK_LIBS $LIBS"
19464 rm -f conf.gtktest
19465 if test "$cross_compiling" = yes; then
19466 echo $ac_n "cross compiling; assumed OK... $ac_c"
19467 else
19468 cat >conftest.$ac_ext <<_ACEOF
19469 #line $LINENO "configure"
19470 /* confdefs.h. */
19471 _ACEOF
19472 cat confdefs.h >>conftest.$ac_ext
19473 cat >>conftest.$ac_ext <<_ACEOF
19474 /* end confdefs.h. */
19475
19476 #include <gtk/gtk.h>
19477 #include <stdio.h>
19478 #include <stdlib.h>
19479
19480 int
19481 main ()
19482 {
19483 int major, minor, micro;
19484 char *tmp_version;
19485
19486 system ("touch conf.gtktest");
19487
19488 /* HP/UX 9 (%@#!) writes to sscanf strings */
19489 tmp_version = g_strdup("$min_gtk_version");
19490 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19491 printf("%s, bad version string\n", "$min_gtk_version");
19492 exit(1);
19493 }
19494
19495 if ((gtk_major_version != $gtk_config_major_version) ||
19496 (gtk_minor_version != $gtk_config_minor_version) ||
19497 (gtk_micro_version != $gtk_config_micro_version))
19498 {
19499 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19500 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19501 gtk_major_version, gtk_minor_version, gtk_micro_version);
19502 printf ("*** was found! If pkg-config was correct, then it is best\n");
19503 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19504 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19505 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19506 printf("*** required on your system.\n");
19507 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19508 printf("*** to point to the correct configuration files\n");
19509 }
19510 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19511 (gtk_minor_version != GTK_MINOR_VERSION) ||
19512 (gtk_micro_version != GTK_MICRO_VERSION))
19513 {
19514 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19515 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19516 printf("*** library (version %d.%d.%d)\n",
19517 gtk_major_version, gtk_minor_version, gtk_micro_version);
19518 }
19519 else
19520 {
19521 if ((gtk_major_version > major) ||
19522 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19523 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19524 {
19525 return 0;
19526 }
19527 else
19528 {
19529 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19530 gtk_major_version, gtk_minor_version, gtk_micro_version);
19531 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19532 major, minor, micro);
19533 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19534 printf("***\n");
19535 printf("*** If you have already installed a sufficiently new version, this error\n");
19536 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19537 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19538 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19539 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19540 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19541 printf("*** so that the correct libraries are found at run-time))\n");
19542 }
19543 }
19544 return 1;
19545 }
19546
19547 _ACEOF
19548 rm -f conftest$ac_exeext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19550 (eval $ac_link) 2>&5
19551 ac_status=$?
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; }; then
19559 :
19560 else
19561 echo "$as_me: program exited with status $ac_status" >&5
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19564
19565 ( exit $ac_status )
19566 no_gtk=yes
19567 fi
19568 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19569 fi
19570 CFLAGS="$ac_save_CFLAGS"
19571 LIBS="$ac_save_LIBS"
19572 fi
19573 fi
19574 if test "x$no_gtk" = x ; then
19575 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19576 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19577 wx_cv_lib_gtk=2.0
19578 else
19579 echo "$as_me:$LINENO: result: no" >&5
19580 echo "${ECHO_T}no" >&6
19581 if test "$PKG_CONFIG" = "no" ; then
19582 echo "*** A new enough version of pkg-config was not found."
19583 echo "*** See http://pkgconfig.sourceforge.net"
19584 else
19585 if test -f conf.gtktest ; then
19586 :
19587 else
19588 echo "*** Could not run GTK+ test program, checking why..."
19589 ac_save_CFLAGS="$CFLAGS"
19590 ac_save_LIBS="$LIBS"
19591 CFLAGS="$CFLAGS $GTK_CFLAGS"
19592 LIBS="$LIBS $GTK_LIBS"
19593 cat >conftest.$ac_ext <<_ACEOF
19594 #line $LINENO "configure"
19595 /* confdefs.h. */
19596 _ACEOF
19597 cat confdefs.h >>conftest.$ac_ext
19598 cat >>conftest.$ac_ext <<_ACEOF
19599 /* end confdefs.h. */
19600
19601 #include <gtk/gtk.h>
19602 #include <stdio.h>
19603
19604 int
19605 main ()
19606 {
19607 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19608 ;
19609 return 0;
19610 }
19611 _ACEOF
19612 rm -f conftest.$ac_objext conftest$ac_exeext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19614 (eval $ac_link) 2>&5
19615 ac_status=$?
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } &&
19618 { ac_try='test -s conftest$ac_exeext'
19619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19620 (eval $ac_try) 2>&5
19621 ac_status=$?
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; }; then
19624 echo "*** The test program compiled, but did not run. This usually means"
19625 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19626 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19627 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19628 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19629 echo "*** is required on your system"
19630 echo "***"
19631 echo "*** If you have an old version installed, it is best to remove it, although"
19632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19633 else
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19636
19637 echo "*** The test program failed to compile or link. See the file config.log for the"
19638 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19639 fi
19640 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19641 CFLAGS="$ac_save_CFLAGS"
19642 LIBS="$ac_save_LIBS"
19643 fi
19644 fi
19645 GTK_CFLAGS=""
19646 GTK_LIBS=""
19647 :
19648 fi
19649
19650
19651 rm -f conf.gtktest
19652
19653 else
19654
19655 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19656 if test "${with_gtk_prefix+set}" = set; then
19657 withval="$with_gtk_prefix"
19658 gtk_config_prefix="$withval"
19659 else
19660 gtk_config_prefix=""
19661 fi;
19662
19663 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19664 if test "${with_gtk_exec_prefix+set}" = set; then
19665 withval="$with_gtk_exec_prefix"
19666 gtk_config_exec_prefix="$withval"
19667 else
19668 gtk_config_exec_prefix=""
19669 fi;
19670 # Check whether --enable-gtktest or --disable-gtktest was given.
19671 if test "${enable_gtktest+set}" = set; then
19672 enableval="$enable_gtktest"
19673
19674 else
19675 enable_gtktest=yes
19676 fi;
19677
19678 for module in . $GTK_MODULES
19679 do
19680 case "$module" in
19681 gthread)
19682 gtk_config_args="$gtk_config_args gthread"
19683 ;;
19684 esac
19685 done
19686
19687 if test x$gtk_config_exec_prefix != x ; then
19688 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19689 if test x${GTK_CONFIG+set} != xset ; then
19690 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19691 fi
19692 fi
19693 if test x$gtk_config_prefix != x ; then
19694 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
19695 if test x${GTK_CONFIG+set} != xset ; then
19696 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
19697 fi
19698 fi
19699
19700 # Extract the first word of "gtk-config", so it can be a program name with args.
19701 set dummy gtk-config; ac_word=$2
19702 echo "$as_me:$LINENO: checking for $ac_word" >&5
19703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19704 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19706 else
19707 case $GTK_CONFIG in
19708 [\\/]* | ?:[\\/]*)
19709 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
19710 ;;
19711 *)
19712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19713 for as_dir in $PATH
19714 do
19715 IFS=$as_save_IFS
19716 test -z "$as_dir" && as_dir=.
19717 for ac_exec_ext in '' $ac_executable_extensions; do
19718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19719 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19721 break 2
19722 fi
19723 done
19724 done
19725
19726 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
19727 ;;
19728 esac
19729 fi
19730 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
19731
19732 if test -n "$GTK_CONFIG"; then
19733 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
19734 echo "${ECHO_T}$GTK_CONFIG" >&6
19735 else
19736 echo "$as_me:$LINENO: result: no" >&5
19737 echo "${ECHO_T}no" >&6
19738 fi
19739
19740 min_gtk_version=1.2.7
19741 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
19742 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
19743 no_gtk=""
19744 if test "$GTK_CONFIG" = "no" ; then
19745 no_gtk=yes
19746 else
19747 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
19748 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
19749 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
19750 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19751 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
19752 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19753 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
19754 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19755 if test "x$enable_gtktest" = "xyes" ; then
19756 ac_save_CFLAGS="$CFLAGS"
19757 ac_save_LIBS="$LIBS"
19758 CFLAGS="$CFLAGS $GTK_CFLAGS"
19759 LIBS="$GTK_LIBS $LIBS"
19760 rm -f conf.gtktest
19761 if test "$cross_compiling" = yes; then
19762 echo $ac_n "cross compiling; assumed OK... $ac_c"
19763 else
19764 cat >conftest.$ac_ext <<_ACEOF
19765 #line $LINENO "configure"
19766 /* confdefs.h. */
19767 _ACEOF
19768 cat confdefs.h >>conftest.$ac_ext
19769 cat >>conftest.$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771
19772 #include <gtk/gtk.h>
19773 #include <stdio.h>
19774 #include <stdlib.h>
19775
19776 int
19777 main ()
19778 {
19779 int major, minor, micro;
19780 char *tmp_version;
19781
19782 system ("touch conf.gtktest");
19783
19784 /* HP/UX 9 (%@#!) writes to sscanf strings */
19785 tmp_version = g_strdup("$min_gtk_version");
19786 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19787 printf("%s, bad version string\n", "$min_gtk_version");
19788 exit(1);
19789 }
19790
19791 if ((gtk_major_version != $gtk_config_major_version) ||
19792 (gtk_minor_version != $gtk_config_minor_version) ||
19793 (gtk_micro_version != $gtk_config_micro_version))
19794 {
19795 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19796 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19797 gtk_major_version, gtk_minor_version, gtk_micro_version);
19798 printf ("*** was found! If gtk-config was correct, then it is best\n");
19799 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19800 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19801 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19802 printf("*** required on your system.\n");
19803 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
19804 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
19805 printf("*** before re-running configure\n");
19806 }
19807 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
19808 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19809 (gtk_minor_version != GTK_MINOR_VERSION) ||
19810 (gtk_micro_version != GTK_MICRO_VERSION))
19811 {
19812 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19813 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19814 printf("*** library (version %d.%d.%d)\n",
19815 gtk_major_version, gtk_minor_version, gtk_micro_version);
19816 }
19817 #endif /* defined (GTK_MAJOR_VERSION) ... */
19818 else
19819 {
19820 if ((gtk_major_version > major) ||
19821 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19822 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19823 {
19824 return 0;
19825 }
19826 else
19827 {
19828 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19829 gtk_major_version, gtk_minor_version, gtk_micro_version);
19830 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19831 major, minor, micro);
19832 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19833 printf("***\n");
19834 printf("*** If you have already installed a sufficiently new version, this error\n");
19835 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
19836 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19837 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
19838 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
19839 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19840 printf("*** so that the correct libraries are found at run-time))\n");
19841 }
19842 }
19843 return 1;
19844 }
19845
19846 _ACEOF
19847 rm -f conftest$ac_exeext
19848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19849 (eval $ac_link) 2>&5
19850 ac_status=$?
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854 (eval $ac_try) 2>&5
19855 ac_status=$?
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); }; }; then
19858 :
19859 else
19860 echo "$as_me: program exited with status $ac_status" >&5
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5
19863
19864 ( exit $ac_status )
19865 no_gtk=yes
19866 fi
19867 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19868 fi
19869 CFLAGS="$ac_save_CFLAGS"
19870 LIBS="$ac_save_LIBS"
19871 fi
19872 fi
19873 if test "x$no_gtk" = x ; then
19874 echo "$as_me:$LINENO: result: yes" >&5
19875 echo "${ECHO_T}yes" >&6
19876 wx_cv_lib_gtk=1.2.7
19877 else
19878 echo "$as_me:$LINENO: result: no" >&5
19879 echo "${ECHO_T}no" >&6
19880 if test "$GTK_CONFIG" = "no" ; then
19881 echo "*** The gtk-config script installed by GTK could not be found"
19882 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
19883 echo "*** your path, or set the GTK_CONFIG environment variable to the"
19884 echo "*** full path to gtk-config."
19885 else
19886 if test -f conf.gtktest ; then
19887 :
19888 else
19889 echo "*** Could not run GTK test program, checking why..."
19890 CFLAGS="$CFLAGS $GTK_CFLAGS"
19891 LIBS="$LIBS $GTK_LIBS"
19892 cat >conftest.$ac_ext <<_ACEOF
19893 #line $LINENO "configure"
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899
19900 #include <gtk/gtk.h>
19901 #include <stdio.h>
19902
19903 int
19904 main ()
19905 {
19906 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 rm -f conftest.$ac_objext conftest$ac_exeext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19913 (eval $ac_link) 2>&5
19914 ac_status=$?
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -s conftest$ac_exeext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 echo "*** The test program compiled, but did not run. This usually means"
19924 echo "*** that the run-time linker is not finding GTK or finding the wrong"
19925 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
19926 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19927 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19928 echo "*** is required on your system"
19929 echo "***"
19930 echo "*** If you have an old version installed, it is best to remove it, although"
19931 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19932 echo "***"
19933 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
19934 echo "*** came with the system with the command"
19935 echo "***"
19936 echo "*** rpm --erase --nodeps gtk gtk-devel"
19937 else
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19940
19941 echo "*** The test program failed to compile or link. See the file config.log for the"
19942 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
19943 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
19944 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
19945 fi
19946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19947 CFLAGS="$ac_save_CFLAGS"
19948 LIBS="$ac_save_LIBS"
19949 fi
19950 fi
19951 GTK_CFLAGS=""
19952 GTK_LIBS=""
19953 :
19954 fi
19955
19956
19957 rm -f conf.gtktest
19958
19959
19960 if test -z "$wx_cv_lib_gtk"; then
19961
19962 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19963 if test "${with_gtk_prefix+set}" = set; then
19964 withval="$with_gtk_prefix"
19965 gtk_config_prefix="$withval"
19966 else
19967 gtk_config_prefix=""
19968 fi;
19969
19970 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19971 if test "${with_gtk_exec_prefix+set}" = set; then
19972 withval="$with_gtk_exec_prefix"
19973 gtk_config_exec_prefix="$withval"
19974 else
19975 gtk_config_exec_prefix=""
19976 fi;
19977 # Check whether --enable-gtktest or --disable-gtktest was given.
19978 if test "${enable_gtktest+set}" = set; then
19979 enableval="$enable_gtktest"
19980
19981 else
19982 enable_gtktest=yes
19983 fi;
19984
19985 for module in . $GTK_MODULES
19986 do
19987 case "$module" in
19988 gthread)
19989 gtk_config_args="$gtk_config_args gthread"
19990 ;;
19991 esac
19992 done
19993
19994 if test x$gtk_config_exec_prefix != x ; then
19995 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
19996 if test x${GTK_CONFIG+set} != xset ; then
19997 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
19998 fi
19999 fi
20000 if test x$gtk_config_prefix != x ; then
20001 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20002 if test x${GTK_CONFIG+set} != xset ; then
20003 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20004 fi
20005 fi
20006
20007 # Extract the first word of "gtk-config", so it can be a program name with args.
20008 set dummy gtk-config; ac_word=$2
20009 echo "$as_me:$LINENO: checking for $ac_word" >&5
20010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20011 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20013 else
20014 case $GTK_CONFIG in
20015 [\\/]* | ?:[\\/]*)
20016 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20017 ;;
20018 *)
20019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20020 for as_dir in $PATH
20021 do
20022 IFS=$as_save_IFS
20023 test -z "$as_dir" && as_dir=.
20024 for ac_exec_ext in '' $ac_executable_extensions; do
20025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20026 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20028 break 2
20029 fi
20030 done
20031 done
20032
20033 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20034 ;;
20035 esac
20036 fi
20037 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20038
20039 if test -n "$GTK_CONFIG"; then
20040 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20041 echo "${ECHO_T}$GTK_CONFIG" >&6
20042 else
20043 echo "$as_me:$LINENO: result: no" >&5
20044 echo "${ECHO_T}no" >&6
20045 fi
20046
20047 min_gtk_version=1.2.3
20048 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20049 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20050 no_gtk=""
20051 if test "$GTK_CONFIG" = "no" ; then
20052 no_gtk=yes
20053 else
20054 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20055 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20056 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20057 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20058 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20060 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20062 if test "x$enable_gtktest" = "xyes" ; then
20063 ac_save_CFLAGS="$CFLAGS"
20064 ac_save_LIBS="$LIBS"
20065 CFLAGS="$CFLAGS $GTK_CFLAGS"
20066 LIBS="$GTK_LIBS $LIBS"
20067 rm -f conf.gtktest
20068 if test "$cross_compiling" = yes; then
20069 echo $ac_n "cross compiling; assumed OK... $ac_c"
20070 else
20071 cat >conftest.$ac_ext <<_ACEOF
20072 #line $LINENO "configure"
20073 /* confdefs.h. */
20074 _ACEOF
20075 cat confdefs.h >>conftest.$ac_ext
20076 cat >>conftest.$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20078
20079 #include <gtk/gtk.h>
20080 #include <stdio.h>
20081 #include <stdlib.h>
20082
20083 int
20084 main ()
20085 {
20086 int major, minor, micro;
20087 char *tmp_version;
20088
20089 system ("touch conf.gtktest");
20090
20091 /* HP/UX 9 (%@#!) writes to sscanf strings */
20092 tmp_version = g_strdup("$min_gtk_version");
20093 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20094 printf("%s, bad version string\n", "$min_gtk_version");
20095 exit(1);
20096 }
20097
20098 if ((gtk_major_version != $gtk_config_major_version) ||
20099 (gtk_minor_version != $gtk_config_minor_version) ||
20100 (gtk_micro_version != $gtk_config_micro_version))
20101 {
20102 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20103 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20104 gtk_major_version, gtk_minor_version, gtk_micro_version);
20105 printf ("*** was found! If gtk-config was correct, then it is best\n");
20106 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20107 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20108 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20109 printf("*** required on your system.\n");
20110 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20111 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20112 printf("*** before re-running configure\n");
20113 }
20114 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20115 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20116 (gtk_minor_version != GTK_MINOR_VERSION) ||
20117 (gtk_micro_version != GTK_MICRO_VERSION))
20118 {
20119 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20120 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20121 printf("*** library (version %d.%d.%d)\n",
20122 gtk_major_version, gtk_minor_version, gtk_micro_version);
20123 }
20124 #endif /* defined (GTK_MAJOR_VERSION) ... */
20125 else
20126 {
20127 if ((gtk_major_version > major) ||
20128 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20129 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20130 {
20131 return 0;
20132 }
20133 else
20134 {
20135 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20136 gtk_major_version, gtk_minor_version, gtk_micro_version);
20137 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20138 major, minor, micro);
20139 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20140 printf("***\n");
20141 printf("*** If you have already installed a sufficiently new version, this error\n");
20142 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20143 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20144 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20145 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20146 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20147 printf("*** so that the correct libraries are found at run-time))\n");
20148 }
20149 }
20150 return 1;
20151 }
20152
20153 _ACEOF
20154 rm -f conftest$ac_exeext
20155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20156 (eval $ac_link) 2>&5
20157 ac_status=$?
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161 (eval $ac_try) 2>&5
20162 ac_status=$?
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; }; then
20165 :
20166 else
20167 echo "$as_me: program exited with status $ac_status" >&5
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20170
20171 ( exit $ac_status )
20172 no_gtk=yes
20173 fi
20174 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20175 fi
20176 CFLAGS="$ac_save_CFLAGS"
20177 LIBS="$ac_save_LIBS"
20178 fi
20179 fi
20180 if test "x$no_gtk" = x ; then
20181 echo "$as_me:$LINENO: result: yes" >&5
20182 echo "${ECHO_T}yes" >&6
20183 wx_cv_lib_gtk=1.2.3
20184 else
20185 echo "$as_me:$LINENO: result: no" >&5
20186 echo "${ECHO_T}no" >&6
20187 if test "$GTK_CONFIG" = "no" ; then
20188 echo "*** The gtk-config script installed by GTK could not be found"
20189 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20190 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20191 echo "*** full path to gtk-config."
20192 else
20193 if test -f conf.gtktest ; then
20194 :
20195 else
20196 echo "*** Could not run GTK test program, checking why..."
20197 CFLAGS="$CFLAGS $GTK_CFLAGS"
20198 LIBS="$LIBS $GTK_LIBS"
20199 cat >conftest.$ac_ext <<_ACEOF
20200 #line $LINENO "configure"
20201 /* confdefs.h. */
20202 _ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206
20207 #include <gtk/gtk.h>
20208 #include <stdio.h>
20209
20210 int
20211 main ()
20212 {
20213 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20214 ;
20215 return 0;
20216 }
20217 _ACEOF
20218 rm -f conftest.$ac_objext conftest$ac_exeext
20219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20220 (eval $ac_link) 2>&5
20221 ac_status=$?
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } &&
20224 { ac_try='test -s conftest$ac_exeext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20227 ac_status=$?
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 echo "*** The test program compiled, but did not run. This usually means"
20231 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20232 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20233 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20234 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20235 echo "*** is required on your system"
20236 echo "***"
20237 echo "*** If you have an old version installed, it is best to remove it, although"
20238 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20239 echo "***"
20240 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20241 echo "*** came with the system with the command"
20242 echo "***"
20243 echo "*** rpm --erase --nodeps gtk gtk-devel"
20244 else
20245 echo "$as_me: failed program was:" >&5
20246 sed 's/^/| /' conftest.$ac_ext >&5
20247
20248 echo "*** The test program failed to compile or link. See the file config.log for the"
20249 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20250 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20251 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20252 fi
20253 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20254 CFLAGS="$ac_save_CFLAGS"
20255 LIBS="$ac_save_LIBS"
20256 fi
20257 fi
20258 GTK_CFLAGS=""
20259 GTK_LIBS=""
20260 :
20261 fi
20262
20263
20264 rm -f conf.gtktest
20265
20266 fi
20267 fi
20268
20269 if test -z "$wx_cv_lib_gtk"; then
20270 wx_cv_lib_gtk=none
20271 else
20272 wx_cv_cflags_gtk=$GTK_CFLAGS
20273 wx_cv_libs_gtk=$GTK_LIBS
20274 fi
20275
20276
20277 fi
20278
20279
20280 if test "$gtk_version_cached" = 1; then
20281 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20282 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20283 fi
20284
20285 case "$wx_cv_lib_gtk" in
20286 2.0) WXGTK20=1
20287 TOOLKIT_VERSION=2
20288 ;;
20289 1.2.7) WXGTK127=1
20290 WXGTK12=1
20291 ;;
20292 1.2.3) WXGTK12=1
20293 ;;
20294 *) { { echo "$as_me:$LINENO: error:
20295 Please check that gtk-config is in path, the directory
20296 where GTK+ libraries are installed (returned by
20297 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20298 equivalent variable and GTK+ is version 1.2.3 or above.
20299 " >&5
20300 echo "$as_me: error:
20301 Please check that gtk-config is in path, the directory
20302 where GTK+ libraries are installed (returned by
20303 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20304 equivalent variable and GTK+ is version 1.2.3 or above.
20305 " >&2;}
20306 { (exit 1); exit 1; }; }
20307 ;;
20308 esac
20309
20310 if test "$WXGTK20" = 1; then
20311 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20312
20313 succeeded=no
20314
20315 if test -z "$PKG_CONFIG"; then
20316 # Extract the first word of "pkg-config", so it can be a program name with args.
20317 set dummy pkg-config; ac_word=$2
20318 echo "$as_me:$LINENO: checking for $ac_word" >&5
20319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20320 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20321 echo $ECHO_N "(cached) $ECHO_C" >&6
20322 else
20323 case $PKG_CONFIG in
20324 [\\/]* | ?:[\\/]*)
20325 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20326 ;;
20327 *)
20328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20329 for as_dir in $PATH
20330 do
20331 IFS=$as_save_IFS
20332 test -z "$as_dir" && as_dir=.
20333 for ac_exec_ext in '' $ac_executable_extensions; do
20334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20335 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20337 break 2
20338 fi
20339 done
20340 done
20341
20342 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20343 ;;
20344 esac
20345 fi
20346 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20347
20348 if test -n "$PKG_CONFIG"; then
20349 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20350 echo "${ECHO_T}$PKG_CONFIG" >&6
20351 else
20352 echo "$as_me:$LINENO: result: no" >&5
20353 echo "${ECHO_T}no" >&6
20354 fi
20355
20356 fi
20357
20358 if test "$PKG_CONFIG" = "no" ; then
20359 echo "*** The pkg-config script could not be found. Make sure it is"
20360 echo "*** in your path, or set the PKG_CONFIG environment variable"
20361 echo "*** to the full path to pkg-config."
20362 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20363 else
20364 PKG_CONFIG_MIN_VERSION=0.9.0
20365 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20366 echo "$as_me:$LINENO: checking for pangoft2" >&5
20367 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20368
20369 if $PKG_CONFIG --exists "pangoft2" ; then
20370 echo "$as_me:$LINENO: result: yes" >&5
20371 echo "${ECHO_T}yes" >&6
20372 succeeded=yes
20373
20374 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20375 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20376 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20377 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20378 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20379
20380 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20381 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20382 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20383 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20384 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20385 else
20386 PANGOFT2_CFLAGS=""
20387 PANGOFT2_LIBS=""
20388 ## If we have a custom action on failure, don't print errors, but
20389 ## do set a variable so people can do so.
20390 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20391
20392 fi
20393
20394
20395
20396 else
20397 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20398 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20399 fi
20400 fi
20401
20402 if test $succeeded = yes; then
20403
20404 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20406
20407 else
20408
20409 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20410 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20411 wxUSE_PRINTING_ARCHITECTURE="no"
20412
20413
20414 fi
20415
20416 fi
20417 else
20418 if test "$wxUSE_UNICODE" = "yes"; then
20419 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20420 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20421 wxUSE_UNICODE=no
20422 fi
20423 fi
20424
20425 if test "$USE_DARWIN" != 1; then
20426
20427 for ac_func in poll
20428 do
20429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20430 echo "$as_me:$LINENO: checking for $ac_func" >&5
20431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20432 if eval "test \"\${$as_ac_var+set}\" = set"; then
20433 echo $ECHO_N "(cached) $ECHO_C" >&6
20434 else
20435 cat >conftest.$ac_ext <<_ACEOF
20436 #line $LINENO "configure"
20437 /* confdefs.h. */
20438 _ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 /* System header to define __stub macros and hopefully few prototypes,
20443 which can conflict with char $ac_func (); below.
20444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20445 <limits.h> exists even on freestanding compilers. */
20446 #ifdef __STDC__
20447 # include <limits.h>
20448 #else
20449 # include <assert.h>
20450 #endif
20451 /* Override any gcc2 internal prototype to avoid an error. */
20452 #ifdef __cplusplus
20453 extern "C"
20454 {
20455 #endif
20456 /* We use char because int might match the return type of a gcc2
20457 builtin and then its argument prototype would still apply. */
20458 char $ac_func ();
20459 /* The GNU C library defines this for functions which it implements
20460 to always fail with ENOSYS. Some functions are actually named
20461 something starting with __ and the normal name is an alias. */
20462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20463 choke me
20464 #else
20465 char (*f) () = $ac_func;
20466 #endif
20467 #ifdef __cplusplus
20468 }
20469 #endif
20470
20471 int
20472 main ()
20473 {
20474 return f != $ac_func;
20475 ;
20476 return 0;
20477 }
20478 _ACEOF
20479 rm -f conftest.$ac_objext conftest$ac_exeext
20480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20481 (eval $ac_link) 2>&5
20482 ac_status=$?
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } &&
20485 { ac_try='test -s conftest$ac_exeext'
20486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487 (eval $ac_try) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); }; }; then
20491 eval "$as_ac_var=yes"
20492 else
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.$ac_ext >&5
20495
20496 eval "$as_ac_var=no"
20497 fi
20498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20499 fi
20500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20502 if test `eval echo '${'$as_ac_var'}'` = yes; then
20503 cat >>confdefs.h <<_ACEOF
20504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20505 _ACEOF
20506
20507 fi
20508 done
20509
20510 fi
20511
20512 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20513 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20514
20515 AFMINSTALL=afminstall
20516 TOOLKIT=GTK
20517 GUIDIST=GTK_DIST
20518
20519 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20520 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20521 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20522 echo $ECHO_N "(cached) $ECHO_C" >&6
20523 else
20524 ac_check_lib_save_LIBS=$LIBS
20525 LIBS="-lgdk $LIBS"
20526 cat >conftest.$ac_ext <<_ACEOF
20527 #line $LINENO "configure"
20528 /* confdefs.h. */
20529 _ACEOF
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20533
20534 /* Override any gcc2 internal prototype to avoid an error. */
20535 #ifdef __cplusplus
20536 extern "C"
20537 #endif
20538 /* We use char because int might match the return type of a gcc2
20539 builtin and then its argument prototype would still apply. */
20540 char gdk_im_open ();
20541 int
20542 main ()
20543 {
20544 gdk_im_open ();
20545 ;
20546 return 0;
20547 }
20548 _ACEOF
20549 rm -f conftest.$ac_objext conftest$ac_exeext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20551 (eval $ac_link) 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -s conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_lib_gdk_gdk_im_open=yes
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 ac_cv_lib_gdk_gdk_im_open=no
20567 fi
20568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20569 LIBS=$ac_check_lib_save_LIBS
20570 fi
20571 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20572 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20573 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20574 cat >>confdefs.h <<\_ACEOF
20575 #define HAVE_XIM 1
20576 _ACEOF
20577
20578 fi
20579
20580 fi
20581
20582 if test "$wxUSE_MGL" = 1; then
20583 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20584 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20585 if test "x$MGL_ROOT" = x ; then
20586 echo "$as_me:$LINENO: result: not found" >&5
20587 echo "${ECHO_T}not found" >&6
20588 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20589 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20590 { (exit 1); exit 1; }; }
20591 else
20592 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20593 echo "${ECHO_T}$MGL_ROOT" >&6
20594 fi
20595
20596 echo "$as_me:$LINENO: checking for libmgl location" >&5
20597 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20598 case "${host}" in
20599 *-*-linux* )
20600 if test "x$wxUSE_SHARED" = xyes ; then
20601 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20602 else
20603 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20604 fi
20605 ;;
20606 *-pc-msdosdjgpp )
20607 mgl_os_candidates="dos32/dj2"
20608 ;;
20609 *)
20610 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20611 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20612 { (exit 1); exit 1; }; }
20613 esac
20614
20615 mgl_lib_type=""
20616 mgl_os=""
20617
20618 for mgl_os_i in $mgl_os_candidates ; do
20619 if test "x$mgl_os" = x ; then
20620 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20621 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20622 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20623 mgl_lib_type=debug
20624 mgl_os=$mgl_os_i
20625 fi
20626 fi
20627 if test "x$mgl_lib_type" = x ; then
20628 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20629 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20630 mgl_lib_type=release
20631 mgl_os=$mgl_os_i
20632 fi
20633 fi
20634 fi
20635 done
20636
20637 if test "x$mgl_os" = x ; then
20638 echo "$as_me:$LINENO: result: not found" >&5
20639 echo "${ECHO_T}not found" >&6
20640 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20641 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20642 { (exit 1); exit 1; }; }
20643 fi
20644 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20645 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20646
20647 wxUSE_UNIVERSAL="yes"
20648
20649 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20650 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20651
20652 AFMINSTALL=afminstall
20653 TOOLKIT=MGL
20654 GUIDIST=MGL_DIST
20655 fi
20656
20657 if test "$wxUSE_MICROWIN" = 1; then
20658 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20659 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20660 if test "x$MICROWINDOWS" = x ; then
20661 echo "$as_me:$LINENO: result: not found" >&5
20662 echo "${ECHO_T}not found" >&6
20663 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20664 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20665 { (exit 1); exit 1; }; }
20666 else
20667 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20668 echo "${ECHO_T}$MICROWINDOWS" >&6
20669 fi
20670
20671 if test -f $MICROWINDOWS/lib/libmwin.a; then
20672 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
20673 echo "${ECHO_T}MicroWindows' libraries found." >&6
20674 else
20675 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
20676 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
20677 { (exit 1); exit 1; }; }
20678 fi
20679
20680 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
20681 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
20682
20683 wxUSE_UNIVERSAL="yes"
20684
20685 AFMINSTALL=afminstall
20686 TOOLKIT=MICROWIN
20687 GUIDIST=MICROWIN_DIST
20688
20689 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
20690 fi
20691
20692 if test "$wxUSE_X11" = 1; then
20693 echo "$as_me:$LINENO: checking for X" >&5
20694 echo $ECHO_N "checking for X... $ECHO_C" >&6
20695
20696
20697 # Check whether --with-x or --without-x was given.
20698 if test "${with_x+set}" = set; then
20699 withval="$with_x"
20700
20701 fi;
20702 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20703 if test "x$with_x" = xno; then
20704 # The user explicitly disabled X.
20705 have_x=disabled
20706 else
20707 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20708 # Both variables are already set.
20709 have_x=yes
20710 else
20711 if test "${ac_cv_have_x+set}" = set; then
20712 echo $ECHO_N "(cached) $ECHO_C" >&6
20713 else
20714 # One or both of the vars are not set, and there is no cached value.
20715 ac_x_includes=no ac_x_libraries=no
20716 rm -fr conftest.dir
20717 if mkdir conftest.dir; then
20718 cd conftest.dir
20719 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20720 cat >Imakefile <<'_ACEOF'
20721 acfindx:
20722 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
20723 _ACEOF
20724 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
20725 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20726 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
20727 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20728 for ac_extension in a so sl; do
20729 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20730 test -f $ac_im_libdir/libX11.$ac_extension; then
20731 ac_im_usrlibdir=$ac_im_libdir; break
20732 fi
20733 done
20734 # Screen out bogus values from the imake configuration. They are
20735 # bogus both because they are the default anyway, and because
20736 # using them would break gcc on systems where it needs fixed includes.
20737 case $ac_im_incroot in
20738 /usr/include) ;;
20739 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20740 esac
20741 case $ac_im_usrlibdir in
20742 /usr/lib | /lib) ;;
20743 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20744 esac
20745 fi
20746 cd ..
20747 rm -fr conftest.dir
20748 fi
20749
20750 # Standard set of common directories for X headers.
20751 # Check X11 before X11Rn because it is often a symlink to the current release.
20752 ac_x_header_dirs='
20753 /usr/X11/include
20754 /usr/X11R6/include
20755 /usr/X11R5/include
20756 /usr/X11R4/include
20757
20758 /usr/include/X11
20759 /usr/include/X11R6
20760 /usr/include/X11R5
20761 /usr/include/X11R4
20762
20763 /usr/local/X11/include
20764 /usr/local/X11R6/include
20765 /usr/local/X11R5/include
20766 /usr/local/X11R4/include
20767
20768 /usr/local/include/X11
20769 /usr/local/include/X11R6
20770 /usr/local/include/X11R5
20771 /usr/local/include/X11R4
20772
20773 /usr/X386/include
20774 /usr/x386/include
20775 /usr/XFree86/include/X11
20776
20777 /usr/include
20778 /usr/local/include
20779 /usr/unsupported/include
20780 /usr/athena/include
20781 /usr/local/x11r5/include
20782 /usr/lpp/Xamples/include
20783
20784 /usr/openwin/include
20785 /usr/openwin/share/include'
20786
20787 if test "$ac_x_includes" = no; then
20788 # Guess where to find include files, by looking for Intrinsic.h.
20789 # First, try using that file with no special directory specified.
20790 cat >conftest.$ac_ext <<_ACEOF
20791 #line $LINENO "configure"
20792 /* confdefs.h. */
20793 _ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 #include <X11/Intrinsic.h>
20798 _ACEOF
20799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20801 ac_status=$?
20802 grep -v '^ *+' conftest.er1 >conftest.err
20803 rm -f conftest.er1
20804 cat conftest.err >&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } >/dev/null; then
20807 if test -s conftest.err; then
20808 ac_cpp_err=$ac_c_preproc_warn_flag
20809 else
20810 ac_cpp_err=
20811 fi
20812 else
20813 ac_cpp_err=yes
20814 fi
20815 if test -z "$ac_cpp_err"; then
20816 # We can compile using X headers with no special include directory.
20817 ac_x_includes=
20818 else
20819 echo "$as_me: failed program was:" >&5
20820 sed 's/^/| /' conftest.$ac_ext >&5
20821
20822 for ac_dir in $ac_x_header_dirs; do
20823 if test -r "$ac_dir/X11/Intrinsic.h"; then
20824 ac_x_includes=$ac_dir
20825 break
20826 fi
20827 done
20828 fi
20829 rm -f conftest.err conftest.$ac_ext
20830 fi # $ac_x_includes = no
20831
20832 if test "$ac_x_libraries" = no; then
20833 # Check for the libraries.
20834 # See if we find them without any special options.
20835 # Don't add to $LIBS permanently.
20836 ac_save_LIBS=$LIBS
20837 LIBS="-lXt $LIBS"
20838 cat >conftest.$ac_ext <<_ACEOF
20839 #line $LINENO "configure"
20840 /* confdefs.h. */
20841 _ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 #include <X11/Intrinsic.h>
20846 int
20847 main ()
20848 {
20849 XtMalloc (0)
20850 ;
20851 return 0;
20852 }
20853 _ACEOF
20854 rm -f conftest.$ac_objext conftest$ac_exeext
20855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20856 (eval $ac_link) 2>&5
20857 ac_status=$?
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -s conftest$ac_exeext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20863 ac_status=$?
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20866 LIBS=$ac_save_LIBS
20867 # We can link X programs with no special library path.
20868 ac_x_libraries=
20869 else
20870 echo "$as_me: failed program was:" >&5
20871 sed 's/^/| /' conftest.$ac_ext >&5
20872
20873 LIBS=$ac_save_LIBS
20874 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20875 do
20876 # Don't even attempt the hair of trying to link an X program!
20877 for ac_extension in a so sl; do
20878 if test -r $ac_dir/libXt.$ac_extension; then
20879 ac_x_libraries=$ac_dir
20880 break 2
20881 fi
20882 done
20883 done
20884 fi
20885 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20886 fi # $ac_x_libraries = no
20887
20888 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20889 # Didn't find X anywhere. Cache the known absence of X.
20890 ac_cv_have_x="have_x=no"
20891 else
20892 # Record where we found X for the cache.
20893 ac_cv_have_x="have_x=yes \
20894 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20895 fi
20896 fi
20897
20898 fi
20899 eval "$ac_cv_have_x"
20900 fi # $with_x != no
20901
20902 if test "$have_x" != yes; then
20903 echo "$as_me:$LINENO: result: $have_x" >&5
20904 echo "${ECHO_T}$have_x" >&6
20905 no_x=yes
20906 else
20907 # If each of the values was on the command line, it overrides each guess.
20908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20910 # Update the cache value to reflect the command line values.
20911 ac_cv_have_x="have_x=yes \
20912 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20913 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20914 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
20915 fi
20916
20917 if test "$no_x" = yes; then
20918 # Not all programs may use this symbol, but it does not hurt to define it.
20919
20920 cat >>confdefs.h <<\_ACEOF
20921 #define X_DISPLAY_MISSING 1
20922 _ACEOF
20923
20924 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20925 else
20926 if test -n "$x_includes"; then
20927 X_CFLAGS="$X_CFLAGS -I$x_includes"
20928 fi
20929
20930 # It would also be nice to do this for all -L options, not just this one.
20931 if test -n "$x_libraries"; then
20932 X_LIBS="$X_LIBS -L$x_libraries"
20933 # For Solaris; some versions of Sun CC require a space after -R and
20934 # others require no space. Words are not sufficient . . . .
20935 case `(uname -sr) 2>/dev/null` in
20936 "SunOS 5"*)
20937 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20940 cat >conftest.$ac_ext <<_ACEOF
20941 #line $LINENO "configure"
20942 /* confdefs.h. */
20943 _ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947
20948 int
20949 main ()
20950 {
20951
20952 ;
20953 return 0;
20954 }
20955 _ACEOF
20956 rm -f conftest.$ac_objext conftest$ac_exeext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958 (eval $ac_link) 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try='test -s conftest$ac_exeext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20965 ac_status=$?
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 ac_R_nospace=yes
20969 else
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 ac_R_nospace=no
20974 fi
20975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20976 if test $ac_R_nospace = yes; then
20977 echo "$as_me:$LINENO: result: no" >&5
20978 echo "${ECHO_T}no" >&6
20979 X_LIBS="$X_LIBS -R$x_libraries"
20980 else
20981 LIBS="$ac_xsave_LIBS -R $x_libraries"
20982 cat >conftest.$ac_ext <<_ACEOF
20983 #line $LINENO "configure"
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989
20990 int
20991 main ()
20992 {
20993
20994 ;
20995 return 0;
20996 }
20997 _ACEOF
20998 rm -f conftest.$ac_objext conftest$ac_exeext
20999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21000 (eval $ac_link) 2>&5
21001 ac_status=$?
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); } &&
21004 { ac_try='test -s conftest$ac_exeext'
21005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21006 (eval $ac_try) 2>&5
21007 ac_status=$?
21008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009 (exit $ac_status); }; }; then
21010 ac_R_space=yes
21011 else
21012 echo "$as_me: failed program was:" >&5
21013 sed 's/^/| /' conftest.$ac_ext >&5
21014
21015 ac_R_space=no
21016 fi
21017 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21018 if test $ac_R_space = yes; then
21019 echo "$as_me:$LINENO: result: yes" >&5
21020 echo "${ECHO_T}yes" >&6
21021 X_LIBS="$X_LIBS -R $x_libraries"
21022 else
21023 echo "$as_me:$LINENO: result: neither works" >&5
21024 echo "${ECHO_T}neither works" >&6
21025 fi
21026 fi
21027 LIBS=$ac_xsave_LIBS
21028 esac
21029 fi
21030
21031 # Check for system-dependent libraries X programs must link with.
21032 # Do this before checking for the system-independent R6 libraries
21033 # (-lICE), since we may need -lsocket or whatever for X linking.
21034
21035 if test "$ISC" = yes; then
21036 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21037 else
21038 # Martyn Johnson says this is needed for Ultrix, if the X
21039 # libraries were built with DECnet support. And Karl Berry says
21040 # the Alpha needs dnet_stub (dnet does not exist).
21041 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21042 cat >conftest.$ac_ext <<_ACEOF
21043 #line $LINENO "configure"
21044 /* confdefs.h. */
21045 _ACEOF
21046 cat confdefs.h >>conftest.$ac_ext
21047 cat >>conftest.$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21049
21050 /* Override any gcc2 internal prototype to avoid an error. */
21051 #ifdef __cplusplus
21052 extern "C"
21053 #endif
21054 /* We use char because int might match the return type of a gcc2
21055 builtin and then its argument prototype would still apply. */
21056 char XOpenDisplay ();
21057 int
21058 main ()
21059 {
21060 XOpenDisplay ();
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 :
21078 else
21079 echo "$as_me: failed program was:" >&5
21080 sed 's/^/| /' conftest.$ac_ext >&5
21081
21082 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21083 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21084 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21085 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 else
21087 ac_check_lib_save_LIBS=$LIBS
21088 LIBS="-ldnet $LIBS"
21089 cat >conftest.$ac_ext <<_ACEOF
21090 #line $LINENO "configure"
21091 /* confdefs.h. */
21092 _ACEOF
21093 cat confdefs.h >>conftest.$ac_ext
21094 cat >>conftest.$ac_ext <<_ACEOF
21095 /* end confdefs.h. */
21096
21097 /* Override any gcc2 internal prototype to avoid an error. */
21098 #ifdef __cplusplus
21099 extern "C"
21100 #endif
21101 /* We use char because int might match the return type of a gcc2
21102 builtin and then its argument prototype would still apply. */
21103 char dnet_ntoa ();
21104 int
21105 main ()
21106 {
21107 dnet_ntoa ();
21108 ;
21109 return 0;
21110 }
21111 _ACEOF
21112 rm -f conftest.$ac_objext conftest$ac_exeext
21113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21114 (eval $ac_link) 2>&5
21115 ac_status=$?
21116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117 (exit $ac_status); } &&
21118 { ac_try='test -s conftest$ac_exeext'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21121 ac_status=$?
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; }; then
21124 ac_cv_lib_dnet_dnet_ntoa=yes
21125 else
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21128
21129 ac_cv_lib_dnet_dnet_ntoa=no
21130 fi
21131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21132 LIBS=$ac_check_lib_save_LIBS
21133 fi
21134 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21135 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21136 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21137 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21138 fi
21139
21140 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21141 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21142 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21143 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21144 echo $ECHO_N "(cached) $ECHO_C" >&6
21145 else
21146 ac_check_lib_save_LIBS=$LIBS
21147 LIBS="-ldnet_stub $LIBS"
21148 cat >conftest.$ac_ext <<_ACEOF
21149 #line $LINENO "configure"
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155
21156 /* Override any gcc2 internal prototype to avoid an error. */
21157 #ifdef __cplusplus
21158 extern "C"
21159 #endif
21160 /* We use char because int might match the return type of a gcc2
21161 builtin and then its argument prototype would still apply. */
21162 char dnet_ntoa ();
21163 int
21164 main ()
21165 {
21166 dnet_ntoa ();
21167 ;
21168 return 0;
21169 }
21170 _ACEOF
21171 rm -f conftest.$ac_objext conftest$ac_exeext
21172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21173 (eval $ac_link) 2>&5
21174 ac_status=$?
21175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21176 (exit $ac_status); } &&
21177 { ac_try='test -s conftest$ac_exeext'
21178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21179 (eval $ac_try) 2>&5
21180 ac_status=$?
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); }; }; then
21183 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21184 else
21185 echo "$as_me: failed program was:" >&5
21186 sed 's/^/| /' conftest.$ac_ext >&5
21187
21188 ac_cv_lib_dnet_stub_dnet_ntoa=no
21189 fi
21190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21191 LIBS=$ac_check_lib_save_LIBS
21192 fi
21193 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21194 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21195 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21196 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21197 fi
21198
21199 fi
21200 fi
21201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21202 LIBS="$ac_xsave_LIBS"
21203
21204 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21205 # to get the SysV transport functions.
21206 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21207 # needs -lnsl.
21208 # The nsl library prevents programs from opening the X display
21209 # on Irix 5.2, according to T.E. Dickey.
21210 # The functions gethostbyname, getservbyname, and inet_addr are
21211 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21212 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21213 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21214 if test "${ac_cv_func_gethostbyname+set}" = set; then
21215 echo $ECHO_N "(cached) $ECHO_C" >&6
21216 else
21217 cat >conftest.$ac_ext <<_ACEOF
21218 #line $LINENO "configure"
21219 /* confdefs.h. */
21220 _ACEOF
21221 cat confdefs.h >>conftest.$ac_ext
21222 cat >>conftest.$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 /* System header to define __stub macros and hopefully few prototypes,
21225 which can conflict with char gethostbyname (); below.
21226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21227 <limits.h> exists even on freestanding compilers. */
21228 #ifdef __STDC__
21229 # include <limits.h>
21230 #else
21231 # include <assert.h>
21232 #endif
21233 /* Override any gcc2 internal prototype to avoid an error. */
21234 #ifdef __cplusplus
21235 extern "C"
21236 {
21237 #endif
21238 /* We use char because int might match the return type of a gcc2
21239 builtin and then its argument prototype would still apply. */
21240 char gethostbyname ();
21241 /* The GNU C library defines this for functions which it implements
21242 to always fail with ENOSYS. Some functions are actually named
21243 something starting with __ and the normal name is an alias. */
21244 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21245 choke me
21246 #else
21247 char (*f) () = gethostbyname;
21248 #endif
21249 #ifdef __cplusplus
21250 }
21251 #endif
21252
21253 int
21254 main ()
21255 {
21256 return f != gethostbyname;
21257 ;
21258 return 0;
21259 }
21260 _ACEOF
21261 rm -f conftest.$ac_objext conftest$ac_exeext
21262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21263 (eval $ac_link) 2>&5
21264 ac_status=$?
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try='test -s conftest$ac_exeext'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21270 ac_status=$?
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; }; then
21273 ac_cv_func_gethostbyname=yes
21274 else
21275 echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.$ac_ext >&5
21277
21278 ac_cv_func_gethostbyname=no
21279 fi
21280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21281 fi
21282 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21283 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21284
21285 if test $ac_cv_func_gethostbyname = no; then
21286 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21287 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21288 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21289 echo $ECHO_N "(cached) $ECHO_C" >&6
21290 else
21291 ac_check_lib_save_LIBS=$LIBS
21292 LIBS="-lnsl $LIBS"
21293 cat >conftest.$ac_ext <<_ACEOF
21294 #line $LINENO "configure"
21295 /* confdefs.h. */
21296 _ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300
21301 /* Override any gcc2 internal prototype to avoid an error. */
21302 #ifdef __cplusplus
21303 extern "C"
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 int
21309 main ()
21310 {
21311 gethostbyname ();
21312 ;
21313 return 0;
21314 }
21315 _ACEOF
21316 rm -f conftest.$ac_objext conftest$ac_exeext
21317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21318 (eval $ac_link) 2>&5
21319 ac_status=$?
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } &&
21322 { ac_try='test -s conftest$ac_exeext'
21323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21324 (eval $ac_try) 2>&5
21325 ac_status=$?
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); }; }; then
21328 ac_cv_lib_nsl_gethostbyname=yes
21329 else
21330 echo "$as_me: failed program was:" >&5
21331 sed 's/^/| /' conftest.$ac_ext >&5
21332
21333 ac_cv_lib_nsl_gethostbyname=no
21334 fi
21335 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21336 LIBS=$ac_check_lib_save_LIBS
21337 fi
21338 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21339 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21340 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21341 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21342 fi
21343
21344 if test $ac_cv_lib_nsl_gethostbyname = no; then
21345 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21346 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21347 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21348 echo $ECHO_N "(cached) $ECHO_C" >&6
21349 else
21350 ac_check_lib_save_LIBS=$LIBS
21351 LIBS="-lbsd $LIBS"
21352 cat >conftest.$ac_ext <<_ACEOF
21353 #line $LINENO "configure"
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359
21360 /* Override any gcc2 internal prototype to avoid an error. */
21361 #ifdef __cplusplus
21362 extern "C"
21363 #endif
21364 /* We use char because int might match the return type of a gcc2
21365 builtin and then its argument prototype would still apply. */
21366 char gethostbyname ();
21367 int
21368 main ()
21369 {
21370 gethostbyname ();
21371 ;
21372 return 0;
21373 }
21374 _ACEOF
21375 rm -f conftest.$ac_objext conftest$ac_exeext
21376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21377 (eval $ac_link) 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); } &&
21381 { ac_try='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21384 ac_status=$?
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21387 ac_cv_lib_bsd_gethostbyname=yes
21388 else
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21391
21392 ac_cv_lib_bsd_gethostbyname=no
21393 fi
21394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21395 LIBS=$ac_check_lib_save_LIBS
21396 fi
21397 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21398 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21399 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21400 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21401 fi
21402
21403 fi
21404 fi
21405
21406 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21407 # socket/setsockopt and other routines are undefined under SCO ODT
21408 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21409 # on later versions), says Simon Leinen: it contains gethostby*
21410 # variants that don't use the name server (or something). -lsocket
21411 # must be given before -lnsl if both are needed. We assume that
21412 # if connect needs -lnsl, so does gethostbyname.
21413 echo "$as_me:$LINENO: checking for connect" >&5
21414 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21415 if test "${ac_cv_func_connect+set}" = set; then
21416 echo $ECHO_N "(cached) $ECHO_C" >&6
21417 else
21418 cat >conftest.$ac_ext <<_ACEOF
21419 #line $LINENO "configure"
21420 /* confdefs.h. */
21421 _ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21425 /* System header to define __stub macros and hopefully few prototypes,
21426 which can conflict with char connect (); below.
21427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21428 <limits.h> exists even on freestanding compilers. */
21429 #ifdef __STDC__
21430 # include <limits.h>
21431 #else
21432 # include <assert.h>
21433 #endif
21434 /* Override any gcc2 internal prototype to avoid an error. */
21435 #ifdef __cplusplus
21436 extern "C"
21437 {
21438 #endif
21439 /* We use char because int might match the return type of a gcc2
21440 builtin and then its argument prototype would still apply. */
21441 char connect ();
21442 /* The GNU C library defines this for functions which it implements
21443 to always fail with ENOSYS. Some functions are actually named
21444 something starting with __ and the normal name is an alias. */
21445 #if defined (__stub_connect) || defined (__stub___connect)
21446 choke me
21447 #else
21448 char (*f) () = connect;
21449 #endif
21450 #ifdef __cplusplus
21451 }
21452 #endif
21453
21454 int
21455 main ()
21456 {
21457 return f != connect;
21458 ;
21459 return 0;
21460 }
21461 _ACEOF
21462 rm -f conftest.$ac_objext conftest$ac_exeext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21464 (eval $ac_link) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); } &&
21468 { ac_try='test -s conftest$ac_exeext'
21469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21470 (eval $ac_try) 2>&5
21471 ac_status=$?
21472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473 (exit $ac_status); }; }; then
21474 ac_cv_func_connect=yes
21475 else
21476 echo "$as_me: failed program was:" >&5
21477 sed 's/^/| /' conftest.$ac_ext >&5
21478
21479 ac_cv_func_connect=no
21480 fi
21481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21482 fi
21483 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21484 echo "${ECHO_T}$ac_cv_func_connect" >&6
21485
21486 if test $ac_cv_func_connect = no; then
21487 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21488 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21489 if test "${ac_cv_lib_socket_connect+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 else
21492 ac_check_lib_save_LIBS=$LIBS
21493 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21494 cat >conftest.$ac_ext <<_ACEOF
21495 #line $LINENO "configure"
21496 /* confdefs.h. */
21497 _ACEOF
21498 cat confdefs.h >>conftest.$ac_ext
21499 cat >>conftest.$ac_ext <<_ACEOF
21500 /* end confdefs.h. */
21501
21502 /* Override any gcc2 internal prototype to avoid an error. */
21503 #ifdef __cplusplus
21504 extern "C"
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 int
21510 main ()
21511 {
21512 connect ();
21513 ;
21514 return 0;
21515 }
21516 _ACEOF
21517 rm -f conftest.$ac_objext conftest$ac_exeext
21518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21519 (eval $ac_link) 2>&5
21520 ac_status=$?
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } &&
21523 { ac_try='test -s conftest$ac_exeext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21526 ac_status=$?
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21529 ac_cv_lib_socket_connect=yes
21530 else
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21533
21534 ac_cv_lib_socket_connect=no
21535 fi
21536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21537 LIBS=$ac_check_lib_save_LIBS
21538 fi
21539 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21540 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21541 if test $ac_cv_lib_socket_connect = yes; then
21542 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21543 fi
21544
21545 fi
21546
21547 # Guillermo Gomez says -lposix is necessary on A/UX.
21548 echo "$as_me:$LINENO: checking for remove" >&5
21549 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21550 if test "${ac_cv_func_remove+set}" = set; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21552 else
21553 cat >conftest.$ac_ext <<_ACEOF
21554 #line $LINENO "configure"
21555 /* confdefs.h. */
21556 _ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 /* System header to define __stub macros and hopefully few prototypes,
21561 which can conflict with char remove (); below.
21562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21563 <limits.h> exists even on freestanding compilers. */
21564 #ifdef __STDC__
21565 # include <limits.h>
21566 #else
21567 # include <assert.h>
21568 #endif
21569 /* Override any gcc2 internal prototype to avoid an error. */
21570 #ifdef __cplusplus
21571 extern "C"
21572 {
21573 #endif
21574 /* We use char because int might match the return type of a gcc2
21575 builtin and then its argument prototype would still apply. */
21576 char remove ();
21577 /* The GNU C library defines this for functions which it implements
21578 to always fail with ENOSYS. Some functions are actually named
21579 something starting with __ and the normal name is an alias. */
21580 #if defined (__stub_remove) || defined (__stub___remove)
21581 choke me
21582 #else
21583 char (*f) () = remove;
21584 #endif
21585 #ifdef __cplusplus
21586 }
21587 #endif
21588
21589 int
21590 main ()
21591 {
21592 return f != remove;
21593 ;
21594 return 0;
21595 }
21596 _ACEOF
21597 rm -f conftest.$ac_objext conftest$ac_exeext
21598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21599 (eval $ac_link) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } &&
21603 { ac_try='test -s conftest$ac_exeext'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21606 ac_status=$?
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 ac_cv_func_remove=yes
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 ac_cv_func_remove=no
21615 fi
21616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21617 fi
21618 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21619 echo "${ECHO_T}$ac_cv_func_remove" >&6
21620
21621 if test $ac_cv_func_remove = no; then
21622 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21623 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21624 if test "${ac_cv_lib_posix_remove+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21626 else
21627 ac_check_lib_save_LIBS=$LIBS
21628 LIBS="-lposix $LIBS"
21629 cat >conftest.$ac_ext <<_ACEOF
21630 #line $LINENO "configure"
21631 /* confdefs.h. */
21632 _ACEOF
21633 cat confdefs.h >>conftest.$ac_ext
21634 cat >>conftest.$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21636
21637 /* Override any gcc2 internal prototype to avoid an error. */
21638 #ifdef __cplusplus
21639 extern "C"
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 int
21645 main ()
21646 {
21647 remove ();
21648 ;
21649 return 0;
21650 }
21651 _ACEOF
21652 rm -f conftest.$ac_objext conftest$ac_exeext
21653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21654 (eval $ac_link) 2>&5
21655 ac_status=$?
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } &&
21658 { ac_try='test -s conftest$ac_exeext'
21659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21660 (eval $ac_try) 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 ac_cv_lib_posix_remove=yes
21665 else
21666 echo "$as_me: failed program was:" >&5
21667 sed 's/^/| /' conftest.$ac_ext >&5
21668
21669 ac_cv_lib_posix_remove=no
21670 fi
21671 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21672 LIBS=$ac_check_lib_save_LIBS
21673 fi
21674 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21675 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21676 if test $ac_cv_lib_posix_remove = yes; then
21677 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21678 fi
21679
21680 fi
21681
21682 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21683 echo "$as_me:$LINENO: checking for shmat" >&5
21684 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
21685 if test "${ac_cv_func_shmat+set}" = set; then
21686 echo $ECHO_N "(cached) $ECHO_C" >&6
21687 else
21688 cat >conftest.$ac_ext <<_ACEOF
21689 #line $LINENO "configure"
21690 /* confdefs.h. */
21691 _ACEOF
21692 cat confdefs.h >>conftest.$ac_ext
21693 cat >>conftest.$ac_ext <<_ACEOF
21694 /* end confdefs.h. */
21695 /* System header to define __stub macros and hopefully few prototypes,
21696 which can conflict with char shmat (); below.
21697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21698 <limits.h> exists even on freestanding compilers. */
21699 #ifdef __STDC__
21700 # include <limits.h>
21701 #else
21702 # include <assert.h>
21703 #endif
21704 /* Override any gcc2 internal prototype to avoid an error. */
21705 #ifdef __cplusplus
21706 extern "C"
21707 {
21708 #endif
21709 /* We use char because int might match the return type of a gcc2
21710 builtin and then its argument prototype would still apply. */
21711 char shmat ();
21712 /* The GNU C library defines this for functions which it implements
21713 to always fail with ENOSYS. Some functions are actually named
21714 something starting with __ and the normal name is an alias. */
21715 #if defined (__stub_shmat) || defined (__stub___shmat)
21716 choke me
21717 #else
21718 char (*f) () = shmat;
21719 #endif
21720 #ifdef __cplusplus
21721 }
21722 #endif
21723
21724 int
21725 main ()
21726 {
21727 return f != shmat;
21728 ;
21729 return 0;
21730 }
21731 _ACEOF
21732 rm -f conftest.$ac_objext conftest$ac_exeext
21733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21734 (eval $ac_link) 2>&5
21735 ac_status=$?
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } &&
21738 { ac_try='test -s conftest$ac_exeext'
21739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21740 (eval $ac_try) 2>&5
21741 ac_status=$?
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); }; }; then
21744 ac_cv_func_shmat=yes
21745 else
21746 echo "$as_me: failed program was:" >&5
21747 sed 's/^/| /' conftest.$ac_ext >&5
21748
21749 ac_cv_func_shmat=no
21750 fi
21751 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21752 fi
21753 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21754 echo "${ECHO_T}$ac_cv_func_shmat" >&6
21755
21756 if test $ac_cv_func_shmat = no; then
21757 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21758 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
21759 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21760 echo $ECHO_N "(cached) $ECHO_C" >&6
21761 else
21762 ac_check_lib_save_LIBS=$LIBS
21763 LIBS="-lipc $LIBS"
21764 cat >conftest.$ac_ext <<_ACEOF
21765 #line $LINENO "configure"
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771
21772 /* Override any gcc2 internal prototype to avoid an error. */
21773 #ifdef __cplusplus
21774 extern "C"
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 int
21780 main ()
21781 {
21782 shmat ();
21783 ;
21784 return 0;
21785 }
21786 _ACEOF
21787 rm -f conftest.$ac_objext conftest$ac_exeext
21788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21789 (eval $ac_link) 2>&5
21790 ac_status=$?
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } &&
21793 { ac_try='test -s conftest$ac_exeext'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; }; then
21799 ac_cv_lib_ipc_shmat=yes
21800 else
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.$ac_ext >&5
21803
21804 ac_cv_lib_ipc_shmat=no
21805 fi
21806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21807 LIBS=$ac_check_lib_save_LIBS
21808 fi
21809 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21810 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21811 if test $ac_cv_lib_ipc_shmat = yes; then
21812 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21813 fi
21814
21815 fi
21816 fi
21817
21818 # Check for libraries that X11R6 Xt/Xaw programs need.
21819 ac_save_LDFLAGS=$LDFLAGS
21820 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
21821 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
21822 # check for ICE first), but we must link in the order -lSM -lICE or
21823 # we get undefined symbols. So assume we have SM if we have ICE.
21824 # These have to be linked with before -lX11, unlike the other
21825 # libraries we check for below, so use a different variable.
21826 # John Interrante, Karl Berry
21827 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21828 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
21829 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21830 echo $ECHO_N "(cached) $ECHO_C" >&6
21831 else
21832 ac_check_lib_save_LIBS=$LIBS
21833 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21834 cat >conftest.$ac_ext <<_ACEOF
21835 #line $LINENO "configure"
21836 /* confdefs.h. */
21837 _ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21841
21842 /* Override any gcc2 internal prototype to avoid an error. */
21843 #ifdef __cplusplus
21844 extern "C"
21845 #endif
21846 /* We use char because int might match the return type of a gcc2
21847 builtin and then its argument prototype would still apply. */
21848 char IceConnectionNumber ();
21849 int
21850 main ()
21851 {
21852 IceConnectionNumber ();
21853 ;
21854 return 0;
21855 }
21856 _ACEOF
21857 rm -f conftest.$ac_objext conftest$ac_exeext
21858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21859 (eval $ac_link) 2>&5
21860 ac_status=$?
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } &&
21863 { ac_try='test -s conftest$ac_exeext'
21864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21865 (eval $ac_try) 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); }; }; then
21869 ac_cv_lib_ICE_IceConnectionNumber=yes
21870 else
21871 echo "$as_me: failed program was:" >&5
21872 sed 's/^/| /' conftest.$ac_ext >&5
21873
21874 ac_cv_lib_ICE_IceConnectionNumber=no
21875 fi
21876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21877 LIBS=$ac_check_lib_save_LIBS
21878 fi
21879 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21880 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21881 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
21882 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21883 fi
21884
21885 LDFLAGS=$ac_save_LDFLAGS
21886
21887 fi
21888
21889
21890 if test "$no_x" = "yes"; then
21891 { { echo "$as_me:$LINENO: error: X11 not found" >&5
21892 echo "$as_me: error: X11 not found" >&2;}
21893 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
21894 fi
21895
21896 GUI_TK_LIBRARY="$X_LIBS"
21897 TOOLKIT_INCLUDE="$X_CFLAGS"
21898 AFMINSTALL=afminstall
21899 COMPILED_X_PROGRAM=0
21900
21901 if test "$wxUSE_NANOX" = "yes"; then
21902 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
21903 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
21904 if test "x$MICROWIN" = x ; then
21905 echo "$as_me:$LINENO: result: not found" >&5
21906 echo "${ECHO_T}not found" >&6
21907 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
21908 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
21909 { (exit 1); exit 1; }; }
21910 else
21911 echo "$as_me:$LINENO: result: $MICROWIN" >&5
21912 echo "${ECHO_T}$MICROWIN" >&6
21913 cat >>confdefs.h <<\_ACEOF
21914 #define wxUSE_NANOX 1
21915 _ACEOF
21916
21917 fi
21918 fi
21919
21920 xpm_link=
21921 echo "$as_me:$LINENO: checking for Xpm library" >&5
21922 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
21923
21924 ac_find_libraries=
21925 for ac_dir in $SEARCH_LIB /usr/lib;
21926 do
21927 for ac_extension in a so sl dylib; do
21928 if test -f "$ac_dir/libXpm.$ac_extension"; then
21929 ac_find_libraries=$ac_dir
21930 break 2
21931 fi
21932 done
21933 done
21934
21935 if test "$ac_find_libraries" != "" ; then
21936
21937 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
21938 result=$?
21939 if test $result = 0; then
21940 ac_path_to_link=""
21941 else
21942 ac_path_to_link=" -L$ac_find_libraries"
21943 fi
21944
21945 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
21946 xpm_link=" -lXpm"
21947 cat >>confdefs.h <<\_ACEOF
21948 #define wxHAVE_LIB_XPM 1
21949 _ACEOF
21950
21951 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
21952 echo "${ECHO_T}found at $ac_find_libraries" >&6
21953 else
21954 cat >conftest.$ac_ext <<_ACEOF
21955 #line $LINENO "configure"
21956 /* confdefs.h. */
21957 _ACEOF
21958 cat confdefs.h >>conftest.$ac_ext
21959 cat >>conftest.$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21961
21962 #include <X11/xpm.h>
21963
21964 int
21965 main ()
21966 {
21967
21968 int version;
21969 version = XpmLibraryVersion();
21970
21971 ;
21972 return 0;
21973 }
21974 _ACEOF
21975 rm -f conftest.$ac_objext
21976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21977 (eval $ac_compile) 2>&5
21978 ac_status=$?
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -s conftest.$ac_objext'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21984 ac_status=$?
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; }; then
21987
21988 xpm_link=" -lXpm"
21989 cat >>confdefs.h <<\_ACEOF
21990 #define wxHAVE_LIB_XPM 1
21991 _ACEOF
21992
21993 echo "$as_me:$LINENO: result: found in default search path" >&5
21994 echo "${ECHO_T}found in default search path" >&6
21995 COMPILED_X_PROGRAM=0
21996
21997 else
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22000
22001
22002 echo "$as_me:$LINENO: result: no" >&5
22003 echo "${ECHO_T}no" >&6
22004 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22005 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22006
22007
22008 fi
22009 rm -f conftest.$ac_objext conftest.$ac_ext
22010 fi
22011
22012 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22013 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22014 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22016 else
22017 ac_check_lib_save_LIBS=$LIBS
22018 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22019 cat >conftest.$ac_ext <<_ACEOF
22020 #line $LINENO "configure"
22021 /* confdefs.h. */
22022 _ACEOF
22023 cat confdefs.h >>conftest.$ac_ext
22024 cat >>conftest.$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026
22027 /* Override any gcc2 internal prototype to avoid an error. */
22028 #ifdef __cplusplus
22029 extern "C"
22030 #endif
22031 /* We use char because int might match the return type of a gcc2
22032 builtin and then its argument prototype would still apply. */
22033 char XShapeQueryExtension ();
22034 int
22035 main ()
22036 {
22037 XShapeQueryExtension ();
22038 ;
22039 return 0;
22040 }
22041 _ACEOF
22042 rm -f conftest.$ac_objext conftest$ac_exeext
22043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22044 (eval $ac_link) 2>&5
22045 ac_status=$?
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -s conftest$ac_exeext'
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 ac_cv_lib_Xext_XShapeQueryExtension=yes
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_cv_lib_Xext_XShapeQueryExtension=no
22060 fi
22061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22062 LIBS=$ac_check_lib_save_LIBS
22063 fi
22064 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22065 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22066 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22067
22068 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22069 wxHAVE_XEXT_LIB=1
22070
22071 fi
22072
22073
22074 if test "$wxUSE_UNICODE" = "yes"; then
22075
22076 succeeded=no
22077
22078 if test -z "$PKG_CONFIG"; then
22079 # Extract the first word of "pkg-config", so it can be a program name with args.
22080 set dummy pkg-config; ac_word=$2
22081 echo "$as_me:$LINENO: checking for $ac_word" >&5
22082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22083 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22085 else
22086 case $PKG_CONFIG in
22087 [\\/]* | ?:[\\/]*)
22088 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22089 ;;
22090 *)
22091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22092 for as_dir in $PATH
22093 do
22094 IFS=$as_save_IFS
22095 test -z "$as_dir" && as_dir=.
22096 for ac_exec_ext in '' $ac_executable_extensions; do
22097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22098 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22100 break 2
22101 fi
22102 done
22103 done
22104
22105 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22106 ;;
22107 esac
22108 fi
22109 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22110
22111 if test -n "$PKG_CONFIG"; then
22112 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22113 echo "${ECHO_T}$PKG_CONFIG" >&6
22114 else
22115 echo "$as_me:$LINENO: result: no" >&5
22116 echo "${ECHO_T}no" >&6
22117 fi
22118
22119 fi
22120
22121 if test "$PKG_CONFIG" = "no" ; then
22122 echo "*** The pkg-config script could not be found. Make sure it is"
22123 echo "*** in your path, or set the PKG_CONFIG environment variable"
22124 echo "*** to the full path to pkg-config."
22125 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22126 else
22127 PKG_CONFIG_MIN_VERSION=0.9.0
22128 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22129 echo "$as_me:$LINENO: checking for pangox" >&5
22130 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22131
22132 if $PKG_CONFIG --exists "pangox" ; then
22133 echo "$as_me:$LINENO: result: yes" >&5
22134 echo "${ECHO_T}yes" >&6
22135 succeeded=yes
22136
22137 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22138 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22139 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22140 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22141 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22142
22143 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22144 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22145 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22146 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22147 echo "${ECHO_T}$PANGOX_LIBS" >&6
22148 else
22149 PANGOX_CFLAGS=""
22150 PANGOX_LIBS=""
22151 ## If we have a custom action on failure, don't print errors, but
22152 ## do set a variable so people can do so.
22153 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22154
22155 fi
22156
22157
22158
22159 else
22160 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22161 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22162 fi
22163 fi
22164
22165 if test $succeeded = yes; then
22166
22167 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22168 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22169
22170 else
22171
22172 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22173 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22174 { (exit 1); exit 1; }; }
22175
22176
22177 fi
22178
22179
22180 succeeded=no
22181
22182 if test -z "$PKG_CONFIG"; then
22183 # Extract the first word of "pkg-config", so it can be a program name with args.
22184 set dummy pkg-config; ac_word=$2
22185 echo "$as_me:$LINENO: checking for $ac_word" >&5
22186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22187 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22188 echo $ECHO_N "(cached) $ECHO_C" >&6
22189 else
22190 case $PKG_CONFIG in
22191 [\\/]* | ?:[\\/]*)
22192 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22193 ;;
22194 *)
22195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22196 for as_dir in $PATH
22197 do
22198 IFS=$as_save_IFS
22199 test -z "$as_dir" && as_dir=.
22200 for ac_exec_ext in '' $ac_executable_extensions; do
22201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22202 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22204 break 2
22205 fi
22206 done
22207 done
22208
22209 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22210 ;;
22211 esac
22212 fi
22213 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22214
22215 if test -n "$PKG_CONFIG"; then
22216 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22217 echo "${ECHO_T}$PKG_CONFIG" >&6
22218 else
22219 echo "$as_me:$LINENO: result: no" >&5
22220 echo "${ECHO_T}no" >&6
22221 fi
22222
22223 fi
22224
22225 if test "$PKG_CONFIG" = "no" ; then
22226 echo "*** The pkg-config script could not be found. Make sure it is"
22227 echo "*** in your path, or set the PKG_CONFIG environment variable"
22228 echo "*** to the full path to pkg-config."
22229 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22230 else
22231 PKG_CONFIG_MIN_VERSION=0.9.0
22232 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22233 echo "$as_me:$LINENO: checking for pangoft2" >&5
22234 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22235
22236 if $PKG_CONFIG --exists "pangoft2" ; then
22237 echo "$as_me:$LINENO: result: yes" >&5
22238 echo "${ECHO_T}yes" >&6
22239 succeeded=yes
22240
22241 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22242 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22243 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22244 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22245 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22246
22247 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22248 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22249 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22250 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22251 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22252 else
22253 PANGOFT2_CFLAGS=""
22254 PANGOFT2_LIBS=""
22255 ## If we have a custom action on failure, don't print errors, but
22256 ## do set a variable so people can do so.
22257 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22258
22259 fi
22260
22261
22262
22263 else
22264 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22265 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22266 fi
22267 fi
22268
22269 if test $succeeded = yes; then
22270
22271 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22272 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22273
22274 else
22275
22276 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22277 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22278 wxUSE_PRINTING_ARCHITECTURE="no"
22279
22280
22281 fi
22282
22283
22284 succeeded=no
22285
22286 if test -z "$PKG_CONFIG"; then
22287 # Extract the first word of "pkg-config", so it can be a program name with args.
22288 set dummy pkg-config; ac_word=$2
22289 echo "$as_me:$LINENO: checking for $ac_word" >&5
22290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22291 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22292 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 else
22294 case $PKG_CONFIG in
22295 [\\/]* | ?:[\\/]*)
22296 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22297 ;;
22298 *)
22299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22300 for as_dir in $PATH
22301 do
22302 IFS=$as_save_IFS
22303 test -z "$as_dir" && as_dir=.
22304 for ac_exec_ext in '' $ac_executable_extensions; do
22305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22306 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22308 break 2
22309 fi
22310 done
22311 done
22312
22313 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22314 ;;
22315 esac
22316 fi
22317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22318
22319 if test -n "$PKG_CONFIG"; then
22320 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22321 echo "${ECHO_T}$PKG_CONFIG" >&6
22322 else
22323 echo "$as_me:$LINENO: result: no" >&5
22324 echo "${ECHO_T}no" >&6
22325 fi
22326
22327 fi
22328
22329 if test "$PKG_CONFIG" = "no" ; then
22330 echo "*** The pkg-config script could not be found. Make sure it is"
22331 echo "*** in your path, or set the PKG_CONFIG environment variable"
22332 echo "*** to the full path to pkg-config."
22333 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22334 else
22335 PKG_CONFIG_MIN_VERSION=0.9.0
22336 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22337 echo "$as_me:$LINENO: checking for pangoxft" >&5
22338 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22339
22340 if $PKG_CONFIG --exists "pangoxft" ; then
22341 echo "$as_me:$LINENO: result: yes" >&5
22342 echo "${ECHO_T}yes" >&6
22343 succeeded=yes
22344
22345 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22346 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22347 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22348 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22349 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22350
22351 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22352 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22353 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22354 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22355 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22356 else
22357 PANGOXFT_CFLAGS=""
22358 PANGOXFT_LIBS=""
22359 ## If we have a custom action on failure, don't print errors, but
22360 ## do set a variable so people can do so.
22361 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22362
22363 fi
22364
22365
22366
22367 else
22368 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22369 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22370 fi
22371 fi
22372
22373 if test $succeeded = yes; then
22374
22375 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22376 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22377
22378 else
22379
22380 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22381 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22382
22383
22384 fi
22385
22386 fi
22387
22388 wxUSE_UNIVERSAL="yes"
22389
22390 if test "$wxUSE_NANOX" = "yes"; then
22391 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22392 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"
22393 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22394 else
22395 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22396 fi
22397
22398 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22399 TOOLKIT=X11
22400 GUIDIST=X11_DIST
22401 fi
22402
22403 if test "$wxUSE_MOTIF" = 1; then
22404 if test "$no_x" = yes; then
22405 # Not all programs may use this symbol, but it does not hurt to define it.
22406
22407 cat >>confdefs.h <<\_ACEOF
22408 #define X_DISPLAY_MISSING 1
22409 _ACEOF
22410
22411 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22412 else
22413 if test -n "$x_includes"; then
22414 X_CFLAGS="$X_CFLAGS -I$x_includes"
22415 fi
22416
22417 # It would also be nice to do this for all -L options, not just this one.
22418 if test -n "$x_libraries"; then
22419 X_LIBS="$X_LIBS -L$x_libraries"
22420 # For Solaris; some versions of Sun CC require a space after -R and
22421 # others require no space. Words are not sufficient . . . .
22422 case `(uname -sr) 2>/dev/null` in
22423 "SunOS 5"*)
22424 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22425 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22426 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22427 cat >conftest.$ac_ext <<_ACEOF
22428 #line $LINENO "configure"
22429 /* confdefs.h. */
22430 _ACEOF
22431 cat confdefs.h >>conftest.$ac_ext
22432 cat >>conftest.$ac_ext <<_ACEOF
22433 /* end confdefs.h. */
22434
22435 int
22436 main ()
22437 {
22438
22439 ;
22440 return 0;
22441 }
22442 _ACEOF
22443 rm -f conftest.$ac_objext conftest$ac_exeext
22444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22445 (eval $ac_link) 2>&5
22446 ac_status=$?
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); } &&
22449 { ac_try='test -s conftest$ac_exeext'
22450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22451 (eval $ac_try) 2>&5
22452 ac_status=$?
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); }; }; then
22455 ac_R_nospace=yes
22456 else
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22459
22460 ac_R_nospace=no
22461 fi
22462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22463 if test $ac_R_nospace = yes; then
22464 echo "$as_me:$LINENO: result: no" >&5
22465 echo "${ECHO_T}no" >&6
22466 X_LIBS="$X_LIBS -R$x_libraries"
22467 else
22468 LIBS="$ac_xsave_LIBS -R $x_libraries"
22469 cat >conftest.$ac_ext <<_ACEOF
22470 #line $LINENO "configure"
22471 /* confdefs.h. */
22472 _ACEOF
22473 cat confdefs.h >>conftest.$ac_ext
22474 cat >>conftest.$ac_ext <<_ACEOF
22475 /* end confdefs.h. */
22476
22477 int
22478 main ()
22479 {
22480
22481 ;
22482 return 0;
22483 }
22484 _ACEOF
22485 rm -f conftest.$ac_objext conftest$ac_exeext
22486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22487 (eval $ac_link) 2>&5
22488 ac_status=$?
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } &&
22491 { ac_try='test -s conftest$ac_exeext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22494 ac_status=$?
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 ac_R_space=yes
22498 else
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22501
22502 ac_R_space=no
22503 fi
22504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22505 if test $ac_R_space = yes; then
22506 echo "$as_me:$LINENO: result: yes" >&5
22507 echo "${ECHO_T}yes" >&6
22508 X_LIBS="$X_LIBS -R $x_libraries"
22509 else
22510 echo "$as_me:$LINENO: result: neither works" >&5
22511 echo "${ECHO_T}neither works" >&6
22512 fi
22513 fi
22514 LIBS=$ac_xsave_LIBS
22515 esac
22516 fi
22517
22518 # Check for system-dependent libraries X programs must link with.
22519 # Do this before checking for the system-independent R6 libraries
22520 # (-lICE), since we may need -lsocket or whatever for X linking.
22521
22522 if test "$ISC" = yes; then
22523 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22524 else
22525 # Martyn Johnson says this is needed for Ultrix, if the X
22526 # libraries were built with DECnet support. And Karl Berry says
22527 # the Alpha needs dnet_stub (dnet does not exist).
22528 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22529 cat >conftest.$ac_ext <<_ACEOF
22530 #line $LINENO "configure"
22531 /* confdefs.h. */
22532 _ACEOF
22533 cat confdefs.h >>conftest.$ac_ext
22534 cat >>conftest.$ac_ext <<_ACEOF
22535 /* end confdefs.h. */
22536
22537 /* Override any gcc2 internal prototype to avoid an error. */
22538 #ifdef __cplusplus
22539 extern "C"
22540 #endif
22541 /* We use char because int might match the return type of a gcc2
22542 builtin and then its argument prototype would still apply. */
22543 char XOpenDisplay ();
22544 int
22545 main ()
22546 {
22547 XOpenDisplay ();
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 :
22565 else
22566 echo "$as_me: failed program was:" >&5
22567 sed 's/^/| /' conftest.$ac_ext >&5
22568
22569 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22570 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22571 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22572 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 else
22574 ac_check_lib_save_LIBS=$LIBS
22575 LIBS="-ldnet $LIBS"
22576 cat >conftest.$ac_ext <<_ACEOF
22577 #line $LINENO "configure"
22578 /* confdefs.h. */
22579 _ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22583
22584 /* Override any gcc2 internal prototype to avoid an error. */
22585 #ifdef __cplusplus
22586 extern "C"
22587 #endif
22588 /* We use char because int might match the return type of a gcc2
22589 builtin and then its argument prototype would still apply. */
22590 char dnet_ntoa ();
22591 int
22592 main ()
22593 {
22594 dnet_ntoa ();
22595 ;
22596 return 0;
22597 }
22598 _ACEOF
22599 rm -f conftest.$ac_objext conftest$ac_exeext
22600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22601 (eval $ac_link) 2>&5
22602 ac_status=$?
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } &&
22605 { ac_try='test -s conftest$ac_exeext'
22606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22607 (eval $ac_try) 2>&5
22608 ac_status=$?
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); }; }; then
22611 ac_cv_lib_dnet_dnet_ntoa=yes
22612 else
22613 echo "$as_me: failed program was:" >&5
22614 sed 's/^/| /' conftest.$ac_ext >&5
22615
22616 ac_cv_lib_dnet_dnet_ntoa=no
22617 fi
22618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22619 LIBS=$ac_check_lib_save_LIBS
22620 fi
22621 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22622 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22623 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22624 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22625 fi
22626
22627 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22628 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22629 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22630 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22631 echo $ECHO_N "(cached) $ECHO_C" >&6
22632 else
22633 ac_check_lib_save_LIBS=$LIBS
22634 LIBS="-ldnet_stub $LIBS"
22635 cat >conftest.$ac_ext <<_ACEOF
22636 #line $LINENO "configure"
22637 /* confdefs.h. */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642
22643 /* Override any gcc2 internal prototype to avoid an error. */
22644 #ifdef __cplusplus
22645 extern "C"
22646 #endif
22647 /* We use char because int might match the return type of a gcc2
22648 builtin and then its argument prototype would still apply. */
22649 char dnet_ntoa ();
22650 int
22651 main ()
22652 {
22653 dnet_ntoa ();
22654 ;
22655 return 0;
22656 }
22657 _ACEOF
22658 rm -f conftest.$ac_objext conftest$ac_exeext
22659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22660 (eval $ac_link) 2>&5
22661 ac_status=$?
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } &&
22664 { ac_try='test -s conftest$ac_exeext'
22665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666 (eval $ac_try) 2>&5
22667 ac_status=$?
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; }; then
22670 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22671 else
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22674
22675 ac_cv_lib_dnet_stub_dnet_ntoa=no
22676 fi
22677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22678 LIBS=$ac_check_lib_save_LIBS
22679 fi
22680 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22681 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
22682 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
22683 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22684 fi
22685
22686 fi
22687 fi
22688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22689 LIBS="$ac_xsave_LIBS"
22690
22691 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22692 # to get the SysV transport functions.
22693 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22694 # needs -lnsl.
22695 # The nsl library prevents programs from opening the X display
22696 # on Irix 5.2, according to T.E. Dickey.
22697 # The functions gethostbyname, getservbyname, and inet_addr are
22698 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22699 echo "$as_me:$LINENO: checking for gethostbyname" >&5
22700 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
22701 if test "${ac_cv_func_gethostbyname+set}" = set; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 else
22704 cat >conftest.$ac_ext <<_ACEOF
22705 #line $LINENO "configure"
22706 /* confdefs.h. */
22707 _ACEOF
22708 cat confdefs.h >>conftest.$ac_ext
22709 cat >>conftest.$ac_ext <<_ACEOF
22710 /* end confdefs.h. */
22711 /* System header to define __stub macros and hopefully few prototypes,
22712 which can conflict with char gethostbyname (); below.
22713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22714 <limits.h> exists even on freestanding compilers. */
22715 #ifdef __STDC__
22716 # include <limits.h>
22717 #else
22718 # include <assert.h>
22719 #endif
22720 /* Override any gcc2 internal prototype to avoid an error. */
22721 #ifdef __cplusplus
22722 extern "C"
22723 {
22724 #endif
22725 /* We use char because int might match the return type of a gcc2
22726 builtin and then its argument prototype would still apply. */
22727 char gethostbyname ();
22728 /* The GNU C library defines this for functions which it implements
22729 to always fail with ENOSYS. Some functions are actually named
22730 something starting with __ and the normal name is an alias. */
22731 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
22732 choke me
22733 #else
22734 char (*f) () = gethostbyname;
22735 #endif
22736 #ifdef __cplusplus
22737 }
22738 #endif
22739
22740 int
22741 main ()
22742 {
22743 return f != gethostbyname;
22744 ;
22745 return 0;
22746 }
22747 _ACEOF
22748 rm -f conftest.$ac_objext conftest$ac_exeext
22749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22750 (eval $ac_link) 2>&5
22751 ac_status=$?
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try='test -s conftest$ac_exeext'
22755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 (eval $ac_try) 2>&5
22757 ac_status=$?
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; }; then
22760 ac_cv_func_gethostbyname=yes
22761 else
22762 echo "$as_me: failed program was:" >&5
22763 sed 's/^/| /' conftest.$ac_ext >&5
22764
22765 ac_cv_func_gethostbyname=no
22766 fi
22767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22768 fi
22769 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22770 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22771
22772 if test $ac_cv_func_gethostbyname = no; then
22773 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22774 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22775 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22776 echo $ECHO_N "(cached) $ECHO_C" >&6
22777 else
22778 ac_check_lib_save_LIBS=$LIBS
22779 LIBS="-lnsl $LIBS"
22780 cat >conftest.$ac_ext <<_ACEOF
22781 #line $LINENO "configure"
22782 /* confdefs.h. */
22783 _ACEOF
22784 cat confdefs.h >>conftest.$ac_ext
22785 cat >>conftest.$ac_ext <<_ACEOF
22786 /* end confdefs.h. */
22787
22788 /* Override any gcc2 internal prototype to avoid an error. */
22789 #ifdef __cplusplus
22790 extern "C"
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 int
22796 main ()
22797 {
22798 gethostbyname ();
22799 ;
22800 return 0;
22801 }
22802 _ACEOF
22803 rm -f conftest.$ac_objext conftest$ac_exeext
22804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22805 (eval $ac_link) 2>&5
22806 ac_status=$?
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); } &&
22809 { ac_try='test -s conftest$ac_exeext'
22810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811 (eval $ac_try) 2>&5
22812 ac_status=$?
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); }; }; then
22815 ac_cv_lib_nsl_gethostbyname=yes
22816 else
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22819
22820 ac_cv_lib_nsl_gethostbyname=no
22821 fi
22822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22823 LIBS=$ac_check_lib_save_LIBS
22824 fi
22825 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22826 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22827 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22828 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22829 fi
22830
22831 if test $ac_cv_lib_nsl_gethostbyname = no; then
22832 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22833 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22834 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 else
22837 ac_check_lib_save_LIBS=$LIBS
22838 LIBS="-lbsd $LIBS"
22839 cat >conftest.$ac_ext <<_ACEOF
22840 #line $LINENO "configure"
22841 /* confdefs.h. */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846
22847 /* Override any gcc2 internal prototype to avoid an error. */
22848 #ifdef __cplusplus
22849 extern "C"
22850 #endif
22851 /* We use char because int might match the return type of a gcc2
22852 builtin and then its argument prototype would still apply. */
22853 char gethostbyname ();
22854 int
22855 main ()
22856 {
22857 gethostbyname ();
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 rm -f conftest.$ac_objext conftest$ac_exeext
22863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22864 (eval $ac_link) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); } &&
22868 { ac_try='test -s conftest$ac_exeext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22874 ac_cv_lib_bsd_gethostbyname=yes
22875 else
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22878
22879 ac_cv_lib_bsd_gethostbyname=no
22880 fi
22881 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22882 LIBS=$ac_check_lib_save_LIBS
22883 fi
22884 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22885 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22886 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22887 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22888 fi
22889
22890 fi
22891 fi
22892
22893 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22894 # socket/setsockopt and other routines are undefined under SCO ODT
22895 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22896 # on later versions), says Simon Leinen: it contains gethostby*
22897 # variants that don't use the name server (or something). -lsocket
22898 # must be given before -lnsl if both are needed. We assume that
22899 # if connect needs -lnsl, so does gethostbyname.
22900 echo "$as_me:$LINENO: checking for connect" >&5
22901 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22902 if test "${ac_cv_func_connect+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 else
22905 cat >conftest.$ac_ext <<_ACEOF
22906 #line $LINENO "configure"
22907 /* confdefs.h. */
22908 _ACEOF
22909 cat confdefs.h >>conftest.$ac_ext
22910 cat >>conftest.$ac_ext <<_ACEOF
22911 /* end confdefs.h. */
22912 /* System header to define __stub macros and hopefully few prototypes,
22913 which can conflict with char connect (); below.
22914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22915 <limits.h> exists even on freestanding compilers. */
22916 #ifdef __STDC__
22917 # include <limits.h>
22918 #else
22919 # include <assert.h>
22920 #endif
22921 /* Override any gcc2 internal prototype to avoid an error. */
22922 #ifdef __cplusplus
22923 extern "C"
22924 {
22925 #endif
22926 /* We use char because int might match the return type of a gcc2
22927 builtin and then its argument prototype would still apply. */
22928 char connect ();
22929 /* The GNU C library defines this for functions which it implements
22930 to always fail with ENOSYS. Some functions are actually named
22931 something starting with __ and the normal name is an alias. */
22932 #if defined (__stub_connect) || defined (__stub___connect)
22933 choke me
22934 #else
22935 char (*f) () = connect;
22936 #endif
22937 #ifdef __cplusplus
22938 }
22939 #endif
22940
22941 int
22942 main ()
22943 {
22944 return f != connect;
22945 ;
22946 return 0;
22947 }
22948 _ACEOF
22949 rm -f conftest.$ac_objext conftest$ac_exeext
22950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22951 (eval $ac_link) 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); } &&
22955 { ac_try='test -s conftest$ac_exeext'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22958 ac_status=$?
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_func_connect=yes
22962 else
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ac_cv_func_connect=no
22967 fi
22968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22969 fi
22970 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22971 echo "${ECHO_T}$ac_cv_func_connect" >&6
22972
22973 if test $ac_cv_func_connect = no; then
22974 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22975 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22976 if test "${ac_cv_lib_socket_connect+set}" = set; then
22977 echo $ECHO_N "(cached) $ECHO_C" >&6
22978 else
22979 ac_check_lib_save_LIBS=$LIBS
22980 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22981 cat >conftest.$ac_ext <<_ACEOF
22982 #line $LINENO "configure"
22983 /* confdefs.h. */
22984 _ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988
22989 /* Override any gcc2 internal prototype to avoid an error. */
22990 #ifdef __cplusplus
22991 extern "C"
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 int
22997 main ()
22998 {
22999 connect ();
23000 ;
23001 return 0;
23002 }
23003 _ACEOF
23004 rm -f conftest.$ac_objext conftest$ac_exeext
23005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23006 (eval $ac_link) 2>&5
23007 ac_status=$?
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } &&
23010 { ac_try='test -s conftest$ac_exeext'
23011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23012 (eval $ac_try) 2>&5
23013 ac_status=$?
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); }; }; then
23016 ac_cv_lib_socket_connect=yes
23017 else
23018 echo "$as_me: failed program was:" >&5
23019 sed 's/^/| /' conftest.$ac_ext >&5
23020
23021 ac_cv_lib_socket_connect=no
23022 fi
23023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23024 LIBS=$ac_check_lib_save_LIBS
23025 fi
23026 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23027 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23028 if test $ac_cv_lib_socket_connect = yes; then
23029 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23030 fi
23031
23032 fi
23033
23034 # Guillermo Gomez says -lposix is necessary on A/UX.
23035 echo "$as_me:$LINENO: checking for remove" >&5
23036 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23037 if test "${ac_cv_func_remove+set}" = set; then
23038 echo $ECHO_N "(cached) $ECHO_C" >&6
23039 else
23040 cat >conftest.$ac_ext <<_ACEOF
23041 #line $LINENO "configure"
23042 /* confdefs.h. */
23043 _ACEOF
23044 cat confdefs.h >>conftest.$ac_ext
23045 cat >>conftest.$ac_ext <<_ACEOF
23046 /* end confdefs.h. */
23047 /* System header to define __stub macros and hopefully few prototypes,
23048 which can conflict with char remove (); below.
23049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23050 <limits.h> exists even on freestanding compilers. */
23051 #ifdef __STDC__
23052 # include <limits.h>
23053 #else
23054 # include <assert.h>
23055 #endif
23056 /* Override any gcc2 internal prototype to avoid an error. */
23057 #ifdef __cplusplus
23058 extern "C"
23059 {
23060 #endif
23061 /* We use char because int might match the return type of a gcc2
23062 builtin and then its argument prototype would still apply. */
23063 char remove ();
23064 /* The GNU C library defines this for functions which it implements
23065 to always fail with ENOSYS. Some functions are actually named
23066 something starting with __ and the normal name is an alias. */
23067 #if defined (__stub_remove) || defined (__stub___remove)
23068 choke me
23069 #else
23070 char (*f) () = remove;
23071 #endif
23072 #ifdef __cplusplus
23073 }
23074 #endif
23075
23076 int
23077 main ()
23078 {
23079 return f != remove;
23080 ;
23081 return 0;
23082 }
23083 _ACEOF
23084 rm -f conftest.$ac_objext conftest$ac_exeext
23085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23086 (eval $ac_link) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try='test -s conftest$ac_exeext'
23091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092 (eval $ac_try) 2>&5
23093 ac_status=$?
23094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 (exit $ac_status); }; }; then
23096 ac_cv_func_remove=yes
23097 else
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.$ac_ext >&5
23100
23101 ac_cv_func_remove=no
23102 fi
23103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23104 fi
23105 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23106 echo "${ECHO_T}$ac_cv_func_remove" >&6
23107
23108 if test $ac_cv_func_remove = no; then
23109 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23110 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23111 if test "${ac_cv_lib_posix_remove+set}" = set; then
23112 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 else
23114 ac_check_lib_save_LIBS=$LIBS
23115 LIBS="-lposix $LIBS"
23116 cat >conftest.$ac_ext <<_ACEOF
23117 #line $LINENO "configure"
23118 /* confdefs.h. */
23119 _ACEOF
23120 cat confdefs.h >>conftest.$ac_ext
23121 cat >>conftest.$ac_ext <<_ACEOF
23122 /* end confdefs.h. */
23123
23124 /* Override any gcc2 internal prototype to avoid an error. */
23125 #ifdef __cplusplus
23126 extern "C"
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 int
23132 main ()
23133 {
23134 remove ();
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest.$ac_objext conftest$ac_exeext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23141 (eval $ac_link) 2>&5
23142 ac_status=$?
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } &&
23145 { ac_try='test -s conftest$ac_exeext'
23146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23147 (eval $ac_try) 2>&5
23148 ac_status=$?
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); }; }; then
23151 ac_cv_lib_posix_remove=yes
23152 else
23153 echo "$as_me: failed program was:" >&5
23154 sed 's/^/| /' conftest.$ac_ext >&5
23155
23156 ac_cv_lib_posix_remove=no
23157 fi
23158 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23159 LIBS=$ac_check_lib_save_LIBS
23160 fi
23161 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23162 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23163 if test $ac_cv_lib_posix_remove = yes; then
23164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23165 fi
23166
23167 fi
23168
23169 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23170 echo "$as_me:$LINENO: checking for shmat" >&5
23171 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23172 if test "${ac_cv_func_shmat+set}" = set; then
23173 echo $ECHO_N "(cached) $ECHO_C" >&6
23174 else
23175 cat >conftest.$ac_ext <<_ACEOF
23176 #line $LINENO "configure"
23177 /* confdefs.h. */
23178 _ACEOF
23179 cat confdefs.h >>conftest.$ac_ext
23180 cat >>conftest.$ac_ext <<_ACEOF
23181 /* end confdefs.h. */
23182 /* System header to define __stub macros and hopefully few prototypes,
23183 which can conflict with char shmat (); below.
23184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23185 <limits.h> exists even on freestanding compilers. */
23186 #ifdef __STDC__
23187 # include <limits.h>
23188 #else
23189 # include <assert.h>
23190 #endif
23191 /* Override any gcc2 internal prototype to avoid an error. */
23192 #ifdef __cplusplus
23193 extern "C"
23194 {
23195 #endif
23196 /* We use char because int might match the return type of a gcc2
23197 builtin and then its argument prototype would still apply. */
23198 char shmat ();
23199 /* The GNU C library defines this for functions which it implements
23200 to always fail with ENOSYS. Some functions are actually named
23201 something starting with __ and the normal name is an alias. */
23202 #if defined (__stub_shmat) || defined (__stub___shmat)
23203 choke me
23204 #else
23205 char (*f) () = shmat;
23206 #endif
23207 #ifdef __cplusplus
23208 }
23209 #endif
23210
23211 int
23212 main ()
23213 {
23214 return f != shmat;
23215 ;
23216 return 0;
23217 }
23218 _ACEOF
23219 rm -f conftest.$ac_objext conftest$ac_exeext
23220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23221 (eval $ac_link) 2>&5
23222 ac_status=$?
23223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23224 (exit $ac_status); } &&
23225 { ac_try='test -s conftest$ac_exeext'
23226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227 (eval $ac_try) 2>&5
23228 ac_status=$?
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; }; then
23231 ac_cv_func_shmat=yes
23232 else
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 ac_cv_func_shmat=no
23237 fi
23238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23239 fi
23240 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23241 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23242
23243 if test $ac_cv_func_shmat = no; then
23244 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23245 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23246 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23247 echo $ECHO_N "(cached) $ECHO_C" >&6
23248 else
23249 ac_check_lib_save_LIBS=$LIBS
23250 LIBS="-lipc $LIBS"
23251 cat >conftest.$ac_ext <<_ACEOF
23252 #line $LINENO "configure"
23253 /* confdefs.h. */
23254 _ACEOF
23255 cat confdefs.h >>conftest.$ac_ext
23256 cat >>conftest.$ac_ext <<_ACEOF
23257 /* end confdefs.h. */
23258
23259 /* Override any gcc2 internal prototype to avoid an error. */
23260 #ifdef __cplusplus
23261 extern "C"
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 int
23267 main ()
23268 {
23269 shmat ();
23270 ;
23271 return 0;
23272 }
23273 _ACEOF
23274 rm -f conftest.$ac_objext conftest$ac_exeext
23275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23276 (eval $ac_link) 2>&5
23277 ac_status=$?
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } &&
23280 { ac_try='test -s conftest$ac_exeext'
23281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282 (eval $ac_try) 2>&5
23283 ac_status=$?
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; }; then
23286 ac_cv_lib_ipc_shmat=yes
23287 else
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.$ac_ext >&5
23290
23291 ac_cv_lib_ipc_shmat=no
23292 fi
23293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23294 LIBS=$ac_check_lib_save_LIBS
23295 fi
23296 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23297 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23298 if test $ac_cv_lib_ipc_shmat = yes; then
23299 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23300 fi
23301
23302 fi
23303 fi
23304
23305 # Check for libraries that X11R6 Xt/Xaw programs need.
23306 ac_save_LDFLAGS=$LDFLAGS
23307 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23308 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23309 # check for ICE first), but we must link in the order -lSM -lICE or
23310 # we get undefined symbols. So assume we have SM if we have ICE.
23311 # These have to be linked with before -lX11, unlike the other
23312 # libraries we check for below, so use a different variable.
23313 # John Interrante, Karl Berry
23314 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23315 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23316 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23318 else
23319 ac_check_lib_save_LIBS=$LIBS
23320 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23321 cat >conftest.$ac_ext <<_ACEOF
23322 #line $LINENO "configure"
23323 /* confdefs.h. */
23324 _ACEOF
23325 cat confdefs.h >>conftest.$ac_ext
23326 cat >>conftest.$ac_ext <<_ACEOF
23327 /* end confdefs.h. */
23328
23329 /* Override any gcc2 internal prototype to avoid an error. */
23330 #ifdef __cplusplus
23331 extern "C"
23332 #endif
23333 /* We use char because int might match the return type of a gcc2
23334 builtin and then its argument prototype would still apply. */
23335 char IceConnectionNumber ();
23336 int
23337 main ()
23338 {
23339 IceConnectionNumber ();
23340 ;
23341 return 0;
23342 }
23343 _ACEOF
23344 rm -f conftest.$ac_objext conftest$ac_exeext
23345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23346 (eval $ac_link) 2>&5
23347 ac_status=$?
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } &&
23350 { ac_try='test -s conftest$ac_exeext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356 ac_cv_lib_ICE_IceConnectionNumber=yes
23357 else
23358 echo "$as_me: failed program was:" >&5
23359 sed 's/^/| /' conftest.$ac_ext >&5
23360
23361 ac_cv_lib_ICE_IceConnectionNumber=no
23362 fi
23363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23364 LIBS=$ac_check_lib_save_LIBS
23365 fi
23366 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23367 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23368 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23369 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23370 fi
23371
23372 LDFLAGS=$ac_save_LDFLAGS
23373
23374 fi
23375
23376
23377 if test "$no_x" = "yes"; then
23378 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23379 echo "$as_me: error: X11 not found" >&2;}
23380 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23381 fi
23382
23383 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23384 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23385 AFMINSTALL=afminstall
23386 COMPILED_X_PROGRAM=0
23387
23388 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23389 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23390
23391 ac_find_includes=
23392 for ac_dir in $SEARCH_INCLUDE /usr/include;
23393 do
23394 if test -f "$ac_dir/Xm/Xm.h"; then
23395 ac_find_includes=$ac_dir
23396 break
23397 fi
23398 done
23399
23400 if test "$ac_find_includes" != "" ; then
23401 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23402 echo "${ECHO_T}found in $ac_find_includes" >&6
23403
23404 if test "x$ac_find_includes" = "x/usr/include"; then
23405 ac_path_to_include=""
23406 else
23407 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23408 result=$?
23409 if test $result = 0; then
23410 ac_path_to_include=""
23411 else
23412 ac_path_to_include=" -I$ac_find_includes"
23413 fi
23414 fi
23415
23416 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23417 else
23418 cat >conftest.$ac_ext <<_ACEOF
23419 #line $LINENO "configure"
23420 /* confdefs.h. */
23421 _ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23425
23426 #include <Xm/Xm.h>
23427
23428 int
23429 main ()
23430 {
23431
23432 int version;
23433 version = xmUseVersion;
23434
23435 ;
23436 return 0;
23437 }
23438 _ACEOF
23439 rm -f conftest.$ac_objext
23440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23441 (eval $ac_compile) 2>&5
23442 ac_status=$?
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); } &&
23445 { ac_try='test -s conftest.$ac_objext'
23446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23447 (eval $ac_try) 2>&5
23448 ac_status=$?
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); }; }; then
23451
23452 echo "$as_me:$LINENO: result: found in default search path" >&5
23453 echo "${ECHO_T}found in default search path" >&6
23454 COMPILED_X_PROGRAM=1
23455
23456 else
23457 echo "$as_me: failed program was:" >&5
23458 sed 's/^/| /' conftest.$ac_ext >&5
23459
23460
23461 echo "$as_me:$LINENO: result: no" >&5
23462 echo "${ECHO_T}no" >&6
23463 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23464 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23465 { (exit 1); exit 1; }; }
23466
23467
23468 fi
23469 rm -f conftest.$ac_objext conftest.$ac_ext
23470 fi
23471
23472 if test "$COMPILED_X_PROGRAM" = 0; then
23473 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23474 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23475
23476 ac_find_libraries=
23477 for ac_dir in $SEARCH_LIB /usr/lib;
23478 do
23479 for ac_extension in a so sl dylib; do
23480 if test -f "$ac_dir/libXm.$ac_extension"; then
23481 ac_find_libraries=$ac_dir
23482 break 2
23483 fi
23484 done
23485 done
23486
23487 if test "$ac_find_libraries" != "" ; then
23488 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23489 echo "${ECHO_T}found at $ac_find_libraries" >&6
23490
23491
23492 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23493 result=$?
23494 if test $result = 0; then
23495 ac_path_to_link=""
23496 else
23497 ac_path_to_link=" -L$ac_find_libraries"
23498 fi
23499
23500 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23501 else
23502 save_CFLAGS=$CFLAGS
23503 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23504
23505 cat >conftest.$ac_ext <<_ACEOF
23506 #line $LINENO "configure"
23507 /* confdefs.h. */
23508 _ACEOF
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23512
23513 #include <Xm/Xm.h>
23514
23515 int
23516 main ()
23517 {
23518
23519 int version;
23520 version = xmUseVersion;
23521
23522 ;
23523 return 0;
23524 }
23525 _ACEOF
23526 rm -f conftest.$ac_objext
23527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23528 (eval $ac_compile) 2>&5
23529 ac_status=$?
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } &&
23532 { ac_try='test -s conftest.$ac_objext'
23533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534 (eval $ac_try) 2>&5
23535 ac_status=$?
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); }; }; then
23538
23539 echo "$as_me:$LINENO: result: found in default search path" >&5
23540 echo "${ECHO_T}found in default search path" >&6
23541 COMPILED_X_PROGRAM=1
23542
23543 else
23544 echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.$ac_ext >&5
23546
23547
23548 echo "$as_me:$LINENO: result: no" >&5
23549 echo "${ECHO_T}no" >&6
23550 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23551 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23552 { (exit 1); exit 1; }; }
23553
23554
23555 fi
23556 rm -f conftest.$ac_objext conftest.$ac_ext
23557
23558 CFLAGS=$save_CFLAGS
23559 fi
23560 fi
23561
23562 xpm_link=
23563 echo "$as_me:$LINENO: checking for Xpm library" >&5
23564 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23565
23566 ac_find_libraries=
23567 for ac_dir in $SEARCH_LIB /usr/lib;
23568 do
23569 for ac_extension in a so sl dylib; do
23570 if test -f "$ac_dir/libXpm.$ac_extension"; then
23571 ac_find_libraries=$ac_dir
23572 break 2
23573 fi
23574 done
23575 done
23576
23577 if test "$ac_find_libraries" != "" ; then
23578
23579 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23580 result=$?
23581 if test $result = 0; then
23582 ac_path_to_link=""
23583 else
23584 ac_path_to_link=" -L$ac_find_libraries"
23585 fi
23586
23587 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23588
23589 xpm_link=" -lXpm"
23590 cat >>confdefs.h <<\_ACEOF
23591 #define wxHAVE_LIB_XPM 1
23592 _ACEOF
23593
23594 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23595 echo "${ECHO_T}found at $ac_find_libraries" >&6
23596 else
23597 save_CFLAGS=$CFLAGS
23598 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23599
23600 cat >conftest.$ac_ext <<_ACEOF
23601 #line $LINENO "configure"
23602 /* confdefs.h. */
23603 _ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607
23608 #include <X11/xpm.h>
23609
23610 int
23611 main ()
23612 {
23613
23614 int version;
23615 version = XpmLibraryVersion();
23616
23617 ;
23618 return 0;
23619 }
23620 _ACEOF
23621 rm -f conftest.$ac_objext
23622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23623 (eval $ac_compile) 2>&5
23624 ac_status=$?
23625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626 (exit $ac_status); } &&
23627 { ac_try='test -s conftest.$ac_objext'
23628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23629 (eval $ac_try) 2>&5
23630 ac_status=$?
23631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23632 (exit $ac_status); }; }; then
23633
23634 xpm_link=" -lXpm"
23635 cat >>confdefs.h <<\_ACEOF
23636 #define wxHAVE_LIB_XPM 1
23637 _ACEOF
23638
23639 echo "$as_me:$LINENO: result: found in default search path" >&5
23640 echo "${ECHO_T}found in default search path" >&6
23641 COMPILED_X_PROGRAM=0
23642
23643 else
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23646
23647
23648 echo "$as_me:$LINENO: result: no" >&5
23649 echo "${ECHO_T}no" >&6
23650 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23651 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23652
23653
23654 fi
23655 rm -f conftest.$ac_objext conftest.$ac_ext
23656
23657 CFLAGS=$save_CFLAGS
23658 fi
23659
23660 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23661 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23662 libp_link=""
23663 libsm_ice_link=""
23664 libs_found=0
23665 for libp in "" " -lXp"; do
23666 if test "$libs_found" = "0"; then
23667 for libsm_ice in " -lSM -lICE"; do
23668 if test "$libs_found" = "0"; then
23669 save_LIBS="$LIBS"
23670 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
23671 save_CFLAGS=$CFLAGS
23672 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23673
23674 cat >conftest.$ac_ext <<_ACEOF
23675 #line $LINENO "configure"
23676 /* confdefs.h. */
23677 _ACEOF
23678 cat confdefs.h >>conftest.$ac_ext
23679 cat >>conftest.$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681
23682 #include <Xm/Xm.h>
23683 #include <Xm/List.h>
23684
23685 int
23686 main ()
23687 {
23688
23689 XmString string = NULL;
23690 Widget w = NULL;
23691 int position = 0;
23692 XmListAddItem(w, string, position);
23693
23694 ;
23695 return 0;
23696 }
23697 _ACEOF
23698 rm -f conftest.$ac_objext conftest$ac_exeext
23699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23700 (eval $ac_link) 2>&5
23701 ac_status=$?
23702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703 (exit $ac_status); } &&
23704 { ac_try='test -s conftest$ac_exeext'
23705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23706 (eval $ac_try) 2>&5
23707 ac_status=$?
23708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23709 (exit $ac_status); }; }; then
23710
23711 libp_link="$libp"
23712 libsm_ice_link="$libsm_ice"
23713 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
23714 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
23715 libs_found=1
23716
23717 else
23718 echo "$as_me: failed program was:" >&5
23719 sed 's/^/| /' conftest.$ac_ext >&5
23720
23721
23722
23723 fi
23724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23725
23726 LIBS="$save_LIBS"
23727 CFLAGS=$save_CFLAGS
23728 fi
23729 done
23730 fi
23731 done
23732
23733 if test "$libs_found" = "0"; then
23734 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
23735 echo "${ECHO_T}can't find the right libraries" >&6
23736 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
23737 echo "$as_me: error: can't link a simple motif program" >&2;}
23738 { (exit 1); exit 1; }; }
23739 fi
23740
23741 save_CFLAGS=$CFLAGS
23742 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23743 echo "$as_me:$LINENO: checking for Motif 2" >&5
23744 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
23745 cat >conftest.$ac_ext <<_ACEOF
23746 #line $LINENO "configure"
23747 /* confdefs.h. */
23748 _ACEOF
23749 cat confdefs.h >>conftest.$ac_ext
23750 cat >>conftest.$ac_ext <<_ACEOF
23751 /* end confdefs.h. */
23752
23753 #include <Xm/Xm.h>
23754
23755 int
23756 main ()
23757 {
23758
23759 #if XmVersion < 2000
23760 #error "Not Motif 2"
23761 #endif
23762
23763 ;
23764 return 0;
23765 }
23766 _ACEOF
23767 rm -f conftest.$ac_objext
23768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23769 (eval $ac_compile) 2>&5
23770 ac_status=$?
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } &&
23773 { ac_try='test -s conftest.$ac_objext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); }; }; then
23779
23780 cat >>confdefs.h <<\_ACEOF
23781 #define __WXMOTIF20__ 1
23782 _ACEOF
23783
23784 echo "$as_me:$LINENO: result: found" >&5
23785 echo "${ECHO_T}found" >&6
23786
23787 else
23788 echo "$as_me: failed program was:" >&5
23789 sed 's/^/| /' conftest.$ac_ext >&5
23790
23791
23792 cat >>confdefs.h <<\_ACEOF
23793 #define __WXMOTIF20__ 0
23794 _ACEOF
23795
23796 echo "$as_me:$LINENO: result: not found" >&5
23797 echo "${ECHO_T}not found" >&6
23798
23799 fi
23800 rm -f conftest.$ac_objext conftest.$ac_ext
23801 CFLAGS=$save_CFLAGS
23802
23803 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
23804 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
23805 TOOLKIT=MOTIF
23806 GUIDIST=MOTIF_DIST
23807 wxHAVE_XEXT_LIB=1
23808 fi
23809
23810 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
23811 test "$wxHAVE_XEXT_LIB" = 1; then
23812 save_CFLAGS="$CFLAGS"
23813 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23814
23815 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
23816 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
23817 cat >conftest.$ac_ext <<_ACEOF
23818 #line $LINENO "configure"
23819 /* confdefs.h. */
23820 _ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824
23825 #include <X11/Xlib.h>
23826 #include <X11/extensions/shape.h>
23827
23828 int
23829 main ()
23830 {
23831
23832 int dummy1, dummy2;
23833 XShapeQueryExtension((Display*)NULL,
23834 (int*)NULL, (int*)NULL);
23835
23836 ;
23837 return 0;
23838 }
23839 _ACEOF
23840 rm -f conftest.$ac_objext
23841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23842 (eval $ac_compile) 2>&5
23843 ac_status=$?
23844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845 (exit $ac_status); } &&
23846 { ac_try='test -s conftest.$ac_objext'
23847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848 (eval $ac_try) 2>&5
23849 ac_status=$?
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); }; }; then
23852
23853 cat >>confdefs.h <<\_ACEOF
23854 #define HAVE_XSHAPE 1
23855 _ACEOF
23856
23857 echo "$as_me:$LINENO: result: found" >&5
23858 echo "${ECHO_T}found" >&6
23859
23860 else
23861 echo "$as_me: failed program was:" >&5
23862 sed 's/^/| /' conftest.$ac_ext >&5
23863
23864
23865 echo "$as_me:$LINENO: result: not found" >&5
23866 echo "${ECHO_T}not found" >&6
23867
23868 fi
23869 rm -f conftest.$ac_objext conftest.$ac_ext
23870 CFLAGS="$save_CFLAGS"
23871 fi
23872
23873 if test "$wxUSE_MAC" = 1; then
23874 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
23875
23876 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
23877 TOOLKIT=MAC
23878 GUIDIST=MACX_DIST
23879 fi
23880
23881 if test "$wxUSE_COCOA" = 1; then
23882 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
23883 TOOLKIT=COCOA
23884 GUIDIST=COCOA_DIST
23885 fi
23886
23887 if test "$wxUSE_PM" = 1; then
23888 TOOLKIT=PM
23889 GUIDIST=GTK_DIST
23890 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
23891 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
23892 wxUSE_THREADS="no"
23893 fi
23894
23895 if test "$TOOLKIT" = "PM" ; then
23896 TOOLKIT_DIR="os2"
23897 else
23898 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
23899 fi
23900
23901 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
23902
23903 if test "$wxUSE_UNIVERSAL" = "yes"; then
23904 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
23905
23906 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
23907 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
23908
23909 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
23910 if test "$wxUSE_X11" = 1; then
23911 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
23912 else
23913 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
23914 fi
23915 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
23916 WIDGET_SET=univ
23917 else
23918 ALL_OBJECTS="\$(GUIOBJS)"
23919 ALL_SOURCES="\$(ALL_SOURCES)"
23920 ALL_HEADERS="\$(ALL_HEADERS)"
23921 fi
23922
23923 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
23924
23925 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
23926 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
23927 fi
23928
23929 if test "$wxUSE_HTML" = "yes"; then
23930 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
23931 fi
23932
23933 if test "$wxUSE_LIBJPEG" = "builtin" ; then
23934 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
23935 fi
23936 if test "$wxUSE_LIBTIFF" = "builtin" ; then
23937 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
23938 fi
23939 if test "$wxUSE_LIBPNG" = "builtin" ; then
23940 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
23941 fi
23942
23943 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
23944 DISTDIR="wx\$(TOOLKIT)"
23945 else
23946 USE_GUI=0
23947
23948 TOOLKIT_DIR="base"
23949
23950 if test "$USE_WIN32" = 1 ; then
23951 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
23952 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
23953
23954 TOOLKIT="MSW"
23955 else
23956 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
23957 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
23958 fi
23959
23960 ALL_SOURCES="\$(ALL_SOURCES)"
23961 ALL_HEADERS="\$(ALL_HEADERS)"
23962
23963 PORT_FILES="\${top_srcdir}/src/files.lst"
23964
23965 GUIDIST="BASE_DIST"
23966 DISTDIR="wxBase"
23967 fi
23968
23969
23970
23971
23972 IODBC_C_SRC=""
23973
23974
23975 if test "$TOOLKIT" != "MSW" ; then
23976
23977 if test "$wxUSE_ODBC" != "no" ; then
23978 cat >>confdefs.h <<\_ACEOF
23979 #define wxUSE_ODBC 1
23980 _ACEOF
23981
23982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
23983
23984 WXODBCFLAG="-D_IODBC_"
23985
23986
23987 if test "$wxUSE_ODBC" = "sys" ; then
23988
23989 if test "${ac_cv_header_sql_h+set}" = set; then
23990 echo "$as_me:$LINENO: checking for sql.h" >&5
23991 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
23992 if test "${ac_cv_header_sql_h+set}" = set; then
23993 echo $ECHO_N "(cached) $ECHO_C" >&6
23994 fi
23995 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
23996 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
23997 else
23998 # Is the header compilable?
23999 echo "$as_me:$LINENO: checking sql.h usability" >&5
24000 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24001 cat >conftest.$ac_ext <<_ACEOF
24002 #line $LINENO "configure"
24003 /* confdefs.h. */
24004 _ACEOF
24005 cat confdefs.h >>conftest.$ac_ext
24006 cat >>conftest.$ac_ext <<_ACEOF
24007 /* end confdefs.h. */
24008 $ac_includes_default
24009 #include <sql.h>
24010 _ACEOF
24011 rm -f conftest.$ac_objext
24012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24013 (eval $ac_compile) 2>&5
24014 ac_status=$?
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } &&
24017 { ac_try='test -s conftest.$ac_objext'
24018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24019 (eval $ac_try) 2>&5
24020 ac_status=$?
24021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24022 (exit $ac_status); }; }; then
24023 ac_header_compiler=yes
24024 else
24025 echo "$as_me: failed program was:" >&5
24026 sed 's/^/| /' conftest.$ac_ext >&5
24027
24028 ac_header_compiler=no
24029 fi
24030 rm -f conftest.$ac_objext conftest.$ac_ext
24031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24032 echo "${ECHO_T}$ac_header_compiler" >&6
24033
24034 # Is the header present?
24035 echo "$as_me:$LINENO: checking sql.h presence" >&5
24036 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24037 cat >conftest.$ac_ext <<_ACEOF
24038 #line $LINENO "configure"
24039 /* confdefs.h. */
24040 _ACEOF
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24044 #include <sql.h>
24045 _ACEOF
24046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24048 ac_status=$?
24049 grep -v '^ *+' conftest.er1 >conftest.err
24050 rm -f conftest.er1
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } >/dev/null; then
24054 if test -s conftest.err; then
24055 ac_cpp_err=$ac_c_preproc_warn_flag
24056 else
24057 ac_cpp_err=
24058 fi
24059 else
24060 ac_cpp_err=yes
24061 fi
24062 if test -z "$ac_cpp_err"; then
24063 ac_header_preproc=yes
24064 else
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24067
24068 ac_header_preproc=no
24069 fi
24070 rm -f conftest.err conftest.$ac_ext
24071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24072 echo "${ECHO_T}$ac_header_preproc" >&6
24073
24074 # So? What about this header?
24075 case $ac_header_compiler:$ac_header_preproc in
24076 yes:no )
24077 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24078 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24079 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24080 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24081 (
24082 cat <<\_ASBOX
24083 ## ------------------------------------ ##
24084 ## Report this to bug-autoconf@gnu.org. ##
24085 ## ------------------------------------ ##
24086 _ASBOX
24087 ) |
24088 sed "s/^/$as_me: WARNING: /" >&2
24089 ;;
24090 no:yes )
24091 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24092 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24093 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24094 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24095 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24096 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24097 (
24098 cat <<\_ASBOX
24099 ## ------------------------------------ ##
24100 ## Report this to bug-autoconf@gnu.org. ##
24101 ## ------------------------------------ ##
24102 _ASBOX
24103 ) |
24104 sed "s/^/$as_me: WARNING: /" >&2
24105 ;;
24106 esac
24107 echo "$as_me:$LINENO: checking for sql.h" >&5
24108 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24109 if test "${ac_cv_header_sql_h+set}" = set; then
24110 echo $ECHO_N "(cached) $ECHO_C" >&6
24111 else
24112 ac_cv_header_sql_h=$ac_header_preproc
24113 fi
24114 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24115 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24116
24117 fi
24118
24119
24120 echo "$as_me:$LINENO: checking for library containing SQLAllocEnv" >&5
24121 echo $ECHO_N "checking for library containing SQLAllocEnv... $ECHO_C" >&6
24122 if test "${ac_cv_search_SQLAllocEnv+set}" = set; then
24123 echo $ECHO_N "(cached) $ECHO_C" >&6
24124 else
24125 ac_func_search_save_LIBS=$LIBS
24126 ac_cv_search_SQLAllocEnv=no
24127 cat >conftest.$ac_ext <<_ACEOF
24128 #line $LINENO "configure"
24129 /* confdefs.h. */
24130 _ACEOF
24131 cat confdefs.h >>conftest.$ac_ext
24132 cat >>conftest.$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134
24135 /* Override any gcc2 internal prototype to avoid an error. */
24136 #ifdef __cplusplus
24137 extern "C"
24138 #endif
24139 /* We use char because int might match the return type of a gcc2
24140 builtin and then its argument prototype would still apply. */
24141 char SQLAllocEnv ();
24142 int
24143 main ()
24144 {
24145 SQLAllocEnv ();
24146 ;
24147 return 0;
24148 }
24149 _ACEOF
24150 rm -f conftest.$ac_objext conftest$ac_exeext
24151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24152 (eval $ac_link) 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } &&
24156 { ac_try='test -s conftest$ac_exeext'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24159 ac_status=$?
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; }; then
24162 ac_cv_search_SQLAllocEnv="none required"
24163 else
24164 echo "$as_me: failed program was:" >&5
24165 sed 's/^/| /' conftest.$ac_ext >&5
24166
24167 fi
24168 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24169 if test "$ac_cv_search_SQLAllocEnv" = no; then
24170 for ac_lib in iodbc unixodbc odbc ; do
24171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
24172 cat >conftest.$ac_ext <<_ACEOF
24173 #line $LINENO "configure"
24174 /* confdefs.h. */
24175 _ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24179
24180 /* Override any gcc2 internal prototype to avoid an error. */
24181 #ifdef __cplusplus
24182 extern "C"
24183 #endif
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24186 char SQLAllocEnv ();
24187 int
24188 main ()
24189 {
24190 SQLAllocEnv ();
24191 ;
24192 return 0;
24193 }
24194 _ACEOF
24195 rm -f conftest.$ac_objext conftest$ac_exeext
24196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24197 (eval $ac_link) 2>&5
24198 ac_status=$?
24199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200 (exit $ac_status); } &&
24201 { ac_try='test -s conftest$ac_exeext'
24202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203 (eval $ac_try) 2>&5
24204 ac_status=$?
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); }; }; then
24207 ac_cv_search_SQLAllocEnv="-l$ac_lib"
24208 break
24209 else
24210 echo "$as_me: failed program was:" >&5
24211 sed 's/^/| /' conftest.$ac_ext >&5
24212
24213 fi
24214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24215 done
24216 fi
24217 LIBS=$ac_func_search_save_LIBS
24218 fi
24219 echo "$as_me:$LINENO: result: $ac_cv_search_SQLAllocEnv" >&5
24220 echo "${ECHO_T}$ac_cv_search_SQLAllocEnv" >&6
24221 if test "$ac_cv_search_SQLAllocEnv" != no; then
24222 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS="$ac_cv_search_SQLAllocEnv $LIBS"
24223
24224 else
24225
24226 wxUSE_ODBC=builtin;
24227 { echo "$as_me:$LINENO: WARNING: can't find system Odbc library falling back to builtin " >&5
24228 echo "$as_me: WARNING: can't find system Odbc library falling back to builtin " >&2;}
24229
24230 fi
24231
24232 fi
24233 if test "$wxUSE_ODBC" != "sys" ; then
24234 ALL_OBJECTS="${ALL_OBJECTS} \$(IODBCOBJS)"
24235 fi
24236
24237 fi
24238
24239 fi
24240
24241 if test "$wxUSE_REGEX" = "builtin" ; then
24242 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24243 fi
24244 if test "$wxUSE_ZLIB" = "builtin" ; then
24245 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24246 fi
24247
24248
24249 USE_OPENGL=0
24250 if test "$wxUSE_OPENGL" = "yes"; then
24251 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24252 OPENGL_LIBS="-framework OpenGL -framework AGL"
24253 elif test "$wxUSE_MSW" = 1; then
24254 OPENGL_LIBS="-lopengl32 -lglu32"
24255 else
24256
24257
24258 ac_find_includes=
24259 for ac_dir in $SEARCH_INCLUDE /usr/include;
24260 do
24261 if test -f "$ac_dir/GL/gl.h"; then
24262 ac_find_includes=$ac_dir
24263 break
24264 fi
24265 done
24266
24267 if test "$ac_find_includes" != "" ; then
24268 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24269 echo "${ECHO_T}found in $ac_find_includes" >&6
24270 set -x
24271
24272 if test "x$ac_find_includes" = "x/usr/include"; then
24273 ac_path_to_include=""
24274 else
24275 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24276 result=$?
24277 if test $result = 0; then
24278 ac_path_to_include=""
24279 else
24280 ac_path_to_include=" -I$ac_find_includes"
24281 fi
24282 fi
24283
24284 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24285 set +x
24286 fi
24287
24288 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24289 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24290 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24291 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24292 echo $ECHO_N "(cached) $ECHO_C" >&6
24293 fi
24294 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24295 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24296 else
24297 # Is the header compilable?
24298 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24299 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24300 cat >conftest.$ac_ext <<_ACEOF
24301 #line $LINENO "configure"
24302 /* confdefs.h. */
24303 _ACEOF
24304 cat confdefs.h >>conftest.$ac_ext
24305 cat >>conftest.$ac_ext <<_ACEOF
24306 /* end confdefs.h. */
24307 $ac_includes_default
24308 #include <GL/gl.h>
24309 _ACEOF
24310 rm -f conftest.$ac_objext
24311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24312 (eval $ac_compile) 2>&5
24313 ac_status=$?
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try='test -s conftest.$ac_objext'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; }; then
24322 ac_header_compiler=yes
24323 else
24324 echo "$as_me: failed program was:" >&5
24325 sed 's/^/| /' conftest.$ac_ext >&5
24326
24327 ac_header_compiler=no
24328 fi
24329 rm -f conftest.$ac_objext conftest.$ac_ext
24330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24331 echo "${ECHO_T}$ac_header_compiler" >&6
24332
24333 # Is the header present?
24334 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24335 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24336 cat >conftest.$ac_ext <<_ACEOF
24337 #line $LINENO "configure"
24338 /* confdefs.h. */
24339 _ACEOF
24340 cat confdefs.h >>conftest.$ac_ext
24341 cat >>conftest.$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24343 #include <GL/gl.h>
24344 _ACEOF
24345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24347 ac_status=$?
24348 grep -v '^ *+' conftest.er1 >conftest.err
24349 rm -f conftest.er1
24350 cat conftest.err >&5
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } >/dev/null; then
24353 if test -s conftest.err; then
24354 ac_cpp_err=$ac_c_preproc_warn_flag
24355 else
24356 ac_cpp_err=
24357 fi
24358 else
24359 ac_cpp_err=yes
24360 fi
24361 if test -z "$ac_cpp_err"; then
24362 ac_header_preproc=yes
24363 else
24364 echo "$as_me: failed program was:" >&5
24365 sed 's/^/| /' conftest.$ac_ext >&5
24366
24367 ac_header_preproc=no
24368 fi
24369 rm -f conftest.err conftest.$ac_ext
24370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24371 echo "${ECHO_T}$ac_header_preproc" >&6
24372
24373 # So? What about this header?
24374 case $ac_header_compiler:$ac_header_preproc in
24375 yes:no )
24376 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24377 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24378 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24379 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24380 (
24381 cat <<\_ASBOX
24382 ## ------------------------------------ ##
24383 ## Report this to bug-autoconf@gnu.org. ##
24384 ## ------------------------------------ ##
24385 _ASBOX
24386 ) |
24387 sed "s/^/$as_me: WARNING: /" >&2
24388 ;;
24389 no:yes )
24390 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24391 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24392 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24393 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24394 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24395 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24396 (
24397 cat <<\_ASBOX
24398 ## ------------------------------------ ##
24399 ## Report this to bug-autoconf@gnu.org. ##
24400 ## ------------------------------------ ##
24401 _ASBOX
24402 ) |
24403 sed "s/^/$as_me: WARNING: /" >&2
24404 ;;
24405 esac
24406 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24407 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24408 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24409 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 else
24411 ac_cv_header_GL_gl_h=$ac_header_preproc
24412 fi
24413 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24414 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24415
24416 fi
24417 if test $ac_cv_header_GL_gl_h = yes; then
24418
24419 found_gl=0
24420
24421 echo "$as_me:$LINENO: checking for -lGL" >&5
24422 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24423
24424 ac_find_libraries=
24425 for ac_dir in $SEARCH_LIB /usr/lib;
24426 do
24427 for ac_extension in a so sl dylib; do
24428 if test -f "$ac_dir/libGL.$ac_extension"; then
24429 ac_find_libraries=$ac_dir
24430 break 2
24431 fi
24432 done
24433 done
24434
24435 if test "$ac_find_libraries" != "" ; then
24436
24437 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24438 result=$?
24439 if test $result = 0; then
24440 ac_path_to_link=""
24441 else
24442 ac_path_to_link=" -L$ac_find_libraries"
24443 fi
24444
24445 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24446 LDFLAGS_GL="$ac_path_to_link"
24447 fi
24448
24449
24450 ac_find_libraries=
24451 for ac_dir in $SEARCH_LIB /usr/lib;
24452 do
24453 for ac_extension in a so sl dylib; do
24454 if test -f "$ac_dir/libGLU.$ac_extension"; then
24455 ac_find_libraries=$ac_dir
24456 break 2
24457 fi
24458 done
24459 done
24460
24461 if test "$ac_find_libraries" != "" ; then
24462
24463 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24464 result=$?
24465 if test $result = 0; then
24466 ac_path_to_link=""
24467 else
24468 ac_path_to_link=" -L$ac_find_libraries"
24469 fi
24470
24471 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24472 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24473 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24474 fi
24475
24476 found_gl=1
24477 OPENGL_LIBS="-lGL -lGLU"
24478 echo "$as_me:$LINENO: result: yes" >&5
24479 echo "${ECHO_T}yes" >&6
24480 fi
24481 fi
24482
24483 if "$found_gl" != 1; then
24484 echo "$as_me:$LINENO: result: no" >&5
24485 echo "${ECHO_T}no" >&6
24486 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24487 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24488
24489 ac_find_libraries=
24490 for ac_dir in $SEARCH_LIB /usr/lib;
24491 do
24492 for ac_extension in a so sl dylib; do
24493 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24494 ac_find_libraries=$ac_dir
24495 break 2
24496 fi
24497 done
24498 done
24499
24500 if test "$ac_find_libraries" != "" ; then
24501
24502 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24503 result=$?
24504 if test $result = 0; then
24505 ac_path_to_link=""
24506 else
24507 ac_path_to_link=" -L$ac_find_libraries"
24508 fi
24509
24510 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24511 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24512 echo "$as_me:$LINENO: result: yes" >&5
24513 echo "${ECHO_T}yes" >&6
24514 else
24515 echo "$as_me:$LINENO: result: no" >&5
24516 echo "${ECHO_T}no" >&6
24517 fi
24518 fi
24519
24520 fi
24521
24522
24523
24524 if test "x$OPENGL_LIBS" = "x"; then
24525 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24526 echo "$as_me: error: OpenGL libraries not available" >&2;}
24527 { (exit 1); exit 1; }; }
24528 fi
24529 fi
24530
24531 if test "$wxUSE_OPENGL" = "yes"; then
24532 USE_OPENGL=1
24533 cat >>confdefs.h <<\_ACEOF
24534 #define wxUSE_OPENGL 1
24535 _ACEOF
24536
24537 cat >>confdefs.h <<\_ACEOF
24538 #define wxUSE_GLCANVAS 1
24539 _ACEOF
24540
24541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl"
24542 fi
24543 fi
24544
24545 if test -z "$TOOLKIT_VPATH" ; then
24546 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24547 fi
24548
24549 if test -n "$TOOLKIT" ; then
24550 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24551 fi
24552
24553 UNICODE=0
24554 lib_unicode_suffix=
24555 if test "$wxUSE_UNICODE" = "yes"; then
24556 lib_unicode_suffix=u
24557 UNICODE=1
24558 fi
24559
24560 lib_debug_suffix=
24561 BUILD=release
24562 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24563 lib_debug_suffix=d
24564 BUILD=debug
24565 fi
24566
24567 WX_VERSION_TAG=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24568
24569 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24570 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24571
24572 if test "$cross_compiling" = "yes"; then
24573 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24574 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24575 fi
24576
24577 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24578 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24579 WX_LIBRARY_BASENAME="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24580
24581 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24582 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24583
24584 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
24585 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24586 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
24587 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24588
24589 case "${host}" in
24590 *-*-cygwin* | *-*-mingw32* )
24591
24592
24593
24594 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
24595 WX_LIBRARY="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24596 WX_LIBRARY_GL="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
24597 WX_LIBRARY_NAME_SHARED="${WX_LIBRARY}.${SO_SUFFIX}"
24598 WX_LIBRARY_NAME_SHARED_GL="${WX_LIBRARY_GL}.${SO_SUFFIX}"
24599 else
24600 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
24601 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24602 fi
24603 ;;
24604
24605 *-*-darwin* )
24606
24607 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24608 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
24609
24610 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
24611 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
24612 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
24613 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
24614
24615 if test "$wxUSE_MAC" = 1; then
24616 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
24617 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
24618 fi
24619 ;;
24620 esac
24621
24622 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
24623 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
24624
24625 WXCONFIG_LIBS="-l${WX_LIBRARY}"
24626 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
24627
24628 if test "$wxUSE_OPENGL" = "yes"; then
24629 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
24630 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
24631 fi
24632
24633
24634
24635 if test "$wxUSE_SHARED" = "yes"; then
24636 case "${host}" in
24637 *-pc-os2_emx | *-pc-os2-emx | \
24638 *-pc-msdosdjgpp )
24639 wxUSE_SHARED=no
24640 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
24641 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
24642 ;;
24643 esac
24644 fi
24645
24646 SHARED=0
24647 if test "$wxUSE_SHARED" = "yes"; then
24648 SHARED=1
24649
24650
24651 found_versioning=no
24652
24653
24654 if test $found_versioning = no ; then
24655 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
24656 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
24657 if test "${wx_cv_version_script+set}" = set; then
24658 echo $ECHO_N "(cached) $ECHO_C" >&6
24659 else
24660
24661 echo "VER_1 { *; };" >conftest.sym
24662 echo "int main() { return 0; }" >conftest.cpp
24663
24664 if { ac_try='
24665 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
24666 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
24667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24668 (eval $ac_try) 2>&5
24669 ac_status=$?
24670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24671 (exit $ac_status); }; } ; then
24672 if test -s conftest.stderr ; then
24673 wx_cv_version_script=no
24674 else
24675 wx_cv_version_script=yes
24676 fi
24677 else
24678 wx_cv_version_script=no
24679 fi
24680 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
24681
24682 fi
24683 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
24684 echo "${ECHO_T}$wx_cv_version_script" >&6
24685 if test $wx_cv_version_script = yes ; then
24686 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
24687 fi
24688 fi
24689
24690
24691 case "${host}" in
24692 *-*-linux* | *-*-gnu* )
24693 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24694 ;;
24695
24696 *-*-solaris2* )
24697 if test "$GCC" = yes ; then
24698 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
24699
24700 saveLdflags="$LDFLAGS"
24701 LDFLAGS="$saveLdflags -Wl,-rpath,/"
24702 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
24703 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
24704 cat >conftest.$ac_ext <<_ACEOF
24705 #line $LINENO "configure"
24706 /* confdefs.h. */
24707 _ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711
24712 int
24713 main ()
24714 {
24715
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 rm -f conftest.$ac_objext conftest$ac_exeext
24721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24722 (eval $ac_link) 2>&5
24723 ac_status=$?
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } &&
24726 { ac_try='test -s conftest$ac_exeext'
24727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24728 (eval $ac_try) 2>&5
24729 ac_status=$?
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); }; }; then
24732
24733 echo "$as_me:$LINENO: result: yes" >&5
24734 echo "${ECHO_T}yes" >&6
24735 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
24736
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741
24742 echo "$as_me:$LINENO: result: no" >&5
24743 echo "${ECHO_T}no" >&6
24744 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
24745 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
24746 LDFLAGS="$saveLdflags -Wl,-R,/"
24747 cat >conftest.$ac_ext <<_ACEOF
24748 #line $LINENO "configure"
24749 /* confdefs.h. */
24750 _ACEOF
24751 cat confdefs.h >>conftest.$ac_ext
24752 cat >>conftest.$ac_ext <<_ACEOF
24753 /* end confdefs.h. */
24754
24755 int
24756 main ()
24757 {
24758
24759 ;
24760 return 0;
24761 }
24762 _ACEOF
24763 rm -f conftest.$ac_objext conftest$ac_exeext
24764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24765 (eval $ac_link) 2>&5
24766 ac_status=$?
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } &&
24769 { ac_try='test -s conftest$ac_exeext'
24770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24771 (eval $ac_try) 2>&5
24772 ac_status=$?
24773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24774 (exit $ac_status); }; }; then
24775
24776 echo "$as_me:$LINENO: result: yes" >&5
24777 echo "${ECHO_T}yes" >&6
24778 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
24779 else
24780 echo "$as_me: failed program was:" >&5
24781 sed 's/^/| /' conftest.$ac_ext >&5
24782
24783
24784 echo "$as_me:$LINENO: result: no" >&5
24785 echo "${ECHO_T}no" >&6
24786
24787 fi
24788 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24789
24790 fi
24791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24792 LDFLAGS="$saveLdflags"
24793 else
24794 SHARED_LD="${CXX} -G -o"
24795 PIC_FLAG="-KPIC"
24796 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
24797 fi
24798 ;;
24799
24800 *-*-cygwin* | *-*-mingw32* )
24801 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
24802 WX_ALL_INSTALLED="CREATE_INSTALLED_LINKS"
24803
24804 if test "$wxUSE_OPENGL" = "yes"; then
24805 LIBS="${LIBS} ${OPENGL_LIBS}"
24806 fi
24807 ;;
24808 esac
24809
24810 if test "x$WX_TARGET_LIBRARY" = "x"; then
24811 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
24812 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
24813 fi
24814
24815 WX_TARGET_LIBRARY_TYPE="so"
24816 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
24817 fi
24818
24819 if test "$wxUSE_SHARED" = "no"; then
24820
24821 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
24822 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24823 fi
24824
24825 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
24826 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
24827 fi
24828
24829 if test "$wxUSE_OPENGL" = "yes"; then
24830 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
24831 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
24832 else
24833 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
24834 fi
24835
24836 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
24837 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
24838
24839 WX_TARGET_LIBRARY_TYPE="a"
24840 INSTALL_LIBRARY='$(INSTALL_DATA)'
24841
24842 STATIC_FLAG="yes"
24843 else
24844 STATIC_FLAG="no"
24845 fi
24846
24847 MACRESCOMP="@#"
24848 MACSETFILE="@#"
24849 MACRESWXCONFIG="#"
24850 if test "$wxUSE_MAC" = 1; then
24851 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
24852 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
24853 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
24854 # Extract the first word of "Rez", so it can be a program name with args.
24855 set dummy Rez; ac_word=$2
24856 echo "$as_me:$LINENO: checking for $ac_word" >&5
24857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24858 if test "${ac_cv_prog_RESCOMP+set}" = set; then
24859 echo $ECHO_N "(cached) $ECHO_C" >&6
24860 else
24861 if test -n "$RESCOMP"; then
24862 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
24863 else
24864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24865 for as_dir in $PATH
24866 do
24867 IFS=$as_save_IFS
24868 test -z "$as_dir" && as_dir=.
24869 for ac_exec_ext in '' $ac_executable_extensions; do
24870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24871 ac_cv_prog_RESCOMP="Rez"
24872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24873 break 2
24874 fi
24875 done
24876 done
24877
24878 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
24879 fi
24880 fi
24881 RESCOMP=$ac_cv_prog_RESCOMP
24882 if test -n "$RESCOMP"; then
24883 echo "$as_me:$LINENO: result: $RESCOMP" >&5
24884 echo "${ECHO_T}$RESCOMP" >&6
24885 else
24886 echo "$as_me:$LINENO: result: no" >&5
24887 echo "${ECHO_T}no" >&6
24888 fi
24889
24890 # Extract the first word of "DeRez", so it can be a program name with args.
24891 set dummy DeRez; ac_word=$2
24892 echo "$as_me:$LINENO: checking for $ac_word" >&5
24893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24894 if test "${ac_cv_prog_DEREZ+set}" = set; then
24895 echo $ECHO_N "(cached) $ECHO_C" >&6
24896 else
24897 if test -n "$DEREZ"; then
24898 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
24899 else
24900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24901 for as_dir in $PATH
24902 do
24903 IFS=$as_save_IFS
24904 test -z "$as_dir" && as_dir=.
24905 for ac_exec_ext in '' $ac_executable_extensions; do
24906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24907 ac_cv_prog_DEREZ="DeRez"
24908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24909 break 2
24910 fi
24911 done
24912 done
24913
24914 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
24915 fi
24916 fi
24917 DEREZ=$ac_cv_prog_DEREZ
24918 if test -n "$DEREZ"; then
24919 echo "$as_me:$LINENO: result: $DEREZ" >&5
24920 echo "${ECHO_T}$DEREZ" >&6
24921 else
24922 echo "$as_me:$LINENO: result: no" >&5
24923 echo "${ECHO_T}no" >&6
24924 fi
24925
24926 # Extract the first word of "SetFile", so it can be a program name with args.
24927 set dummy SetFile; ac_word=$2
24928 echo "$as_me:$LINENO: checking for $ac_word" >&5
24929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24930 if test "${ac_cv_prog_SETFILE+set}" = set; then
24931 echo $ECHO_N "(cached) $ECHO_C" >&6
24932 else
24933 if test -n "$SETFILE"; then
24934 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
24935 else
24936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24937 for as_dir in $PATH
24938 do
24939 IFS=$as_save_IFS
24940 test -z "$as_dir" && as_dir=.
24941 for ac_exec_ext in '' $ac_executable_extensions; do
24942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24943 ac_cv_prog_SETFILE="SetFile"
24944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24945 break 2
24946 fi
24947 done
24948 done
24949
24950 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
24951 fi
24952 fi
24953 SETFILE=$ac_cv_prog_SETFILE
24954 if test -n "$SETFILE"; then
24955 echo "$as_me:$LINENO: result: $SETFILE" >&5
24956 echo "${ECHO_T}$SETFILE" >&6
24957 else
24958 echo "$as_me:$LINENO: result: no" >&5
24959 echo "${ECHO_T}no" >&6
24960 fi
24961
24962 MACOSX_BUNDLE="bundle"
24963 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
24964 MACSETFILE="\$(SETFILE)"
24965 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
24966 elif test "$wxUSE_COCOA" = 1; then
24967 # Extract the first word of "Rez", so it can be a program name with args.
24968 set dummy Rez; ac_word=$2
24969 echo "$as_me:$LINENO: checking for $ac_word" >&5
24970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24971 if test "${ac_cv_prog_RESCOMP+set}" = set; then
24972 echo $ECHO_N "(cached) $ECHO_C" >&6
24973 else
24974 if test -n "$RESCOMP"; then
24975 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
24976 else
24977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24978 for as_dir in $PATH
24979 do
24980 IFS=$as_save_IFS
24981 test -z "$as_dir" && as_dir=.
24982 for ac_exec_ext in '' $ac_executable_extensions; do
24983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24984 ac_cv_prog_RESCOMP="Rez"
24985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24986 break 2
24987 fi
24988 done
24989 done
24990
24991 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
24992 fi
24993 fi
24994 RESCOMP=$ac_cv_prog_RESCOMP
24995 if test -n "$RESCOMP"; then
24996 echo "$as_me:$LINENO: result: $RESCOMP" >&5
24997 echo "${ECHO_T}$RESCOMP" >&6
24998 else
24999 echo "$as_me:$LINENO: result: no" >&5
25000 echo "${ECHO_T}no" >&6
25001 fi
25002
25003 # Extract the first word of "DeRez", so it can be a program name with args.
25004 set dummy DeRez; ac_word=$2
25005 echo "$as_me:$LINENO: checking for $ac_word" >&5
25006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25007 if test "${ac_cv_prog_DEREZ+set}" = set; then
25008 echo $ECHO_N "(cached) $ECHO_C" >&6
25009 else
25010 if test -n "$DEREZ"; then
25011 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25012 else
25013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25014 for as_dir in $PATH
25015 do
25016 IFS=$as_save_IFS
25017 test -z "$as_dir" && as_dir=.
25018 for ac_exec_ext in '' $ac_executable_extensions; do
25019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25020 ac_cv_prog_DEREZ="DeRez"
25021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25022 break 2
25023 fi
25024 done
25025 done
25026
25027 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25028 fi
25029 fi
25030 DEREZ=$ac_cv_prog_DEREZ
25031 if test -n "$DEREZ"; then
25032 echo "$as_me:$LINENO: result: $DEREZ" >&5
25033 echo "${ECHO_T}$DEREZ" >&6
25034 else
25035 echo "$as_me:$LINENO: result: no" >&5
25036 echo "${ECHO_T}no" >&6
25037 fi
25038
25039 # Extract the first word of "SetFile", so it can be a program name with args.
25040 set dummy SetFile; ac_word=$2
25041 echo "$as_me:$LINENO: checking for $ac_word" >&5
25042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25043 if test "${ac_cv_prog_SETFILE+set}" = set; then
25044 echo $ECHO_N "(cached) $ECHO_C" >&6
25045 else
25046 if test -n "$SETFILE"; then
25047 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25048 else
25049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25050 for as_dir in $PATH
25051 do
25052 IFS=$as_save_IFS
25053 test -z "$as_dir" && as_dir=.
25054 for ac_exec_ext in '' $ac_executable_extensions; do
25055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25056 ac_cv_prog_SETFILE="SetFile"
25057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25058 break 2
25059 fi
25060 done
25061 done
25062
25063 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25064 fi
25065 fi
25066 SETFILE=$ac_cv_prog_SETFILE
25067 if test -n "$SETFILE"; then
25068 echo "$as_me:$LINENO: result: $SETFILE" >&5
25069 echo "${ECHO_T}$SETFILE" >&6
25070 else
25071 echo "$as_me:$LINENO: result: no" >&5
25072 echo "${ECHO_T}no" >&6
25073 fi
25074
25075 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25076 MACSETFILE="\$(SETFILE)"
25077 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25078 else
25079 if test "$wxUSE_PM" = 1; then
25080 MACRESCOMP="emxbind -ep"
25081 fi
25082 fi
25083
25084
25085 echo "$as_me:$LINENO: checking for mode_t" >&5
25086 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25087 if test "${ac_cv_type_mode_t+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090 cat >conftest.$ac_ext <<_ACEOF
25091 #line $LINENO "configure"
25092 /* confdefs.h. */
25093 _ACEOF
25094 cat confdefs.h >>conftest.$ac_ext
25095 cat >>conftest.$ac_ext <<_ACEOF
25096 /* end confdefs.h. */
25097 $ac_includes_default
25098 int
25099 main ()
25100 {
25101 if ((mode_t *) 0)
25102 return 0;
25103 if (sizeof (mode_t))
25104 return 0;
25105 ;
25106 return 0;
25107 }
25108 _ACEOF
25109 rm -f conftest.$ac_objext
25110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25111 (eval $ac_compile) 2>&5
25112 ac_status=$?
25113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25114 (exit $ac_status); } &&
25115 { ac_try='test -s conftest.$ac_objext'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25118 ac_status=$?
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; }; then
25121 ac_cv_type_mode_t=yes
25122 else
25123 echo "$as_me: failed program was:" >&5
25124 sed 's/^/| /' conftest.$ac_ext >&5
25125
25126 ac_cv_type_mode_t=no
25127 fi
25128 rm -f conftest.$ac_objext conftest.$ac_ext
25129 fi
25130 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25131 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25132 if test $ac_cv_type_mode_t = yes; then
25133 :
25134 else
25135
25136 cat >>confdefs.h <<_ACEOF
25137 #define mode_t int
25138 _ACEOF
25139
25140 fi
25141
25142 echo "$as_me:$LINENO: checking for off_t" >&5
25143 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25144 if test "${ac_cv_type_off_t+set}" = set; then
25145 echo $ECHO_N "(cached) $ECHO_C" >&6
25146 else
25147 cat >conftest.$ac_ext <<_ACEOF
25148 #line $LINENO "configure"
25149 /* confdefs.h. */
25150 _ACEOF
25151 cat confdefs.h >>conftest.$ac_ext
25152 cat >>conftest.$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25154 $ac_includes_default
25155 int
25156 main ()
25157 {
25158 if ((off_t *) 0)
25159 return 0;
25160 if (sizeof (off_t))
25161 return 0;
25162 ;
25163 return 0;
25164 }
25165 _ACEOF
25166 rm -f conftest.$ac_objext
25167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25168 (eval $ac_compile) 2>&5
25169 ac_status=$?
25170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25171 (exit $ac_status); } &&
25172 { ac_try='test -s conftest.$ac_objext'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25175 ac_status=$?
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; }; then
25178 ac_cv_type_off_t=yes
25179 else
25180 echo "$as_me: failed program was:" >&5
25181 sed 's/^/| /' conftest.$ac_ext >&5
25182
25183 ac_cv_type_off_t=no
25184 fi
25185 rm -f conftest.$ac_objext conftest.$ac_ext
25186 fi
25187 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25188 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25189 if test $ac_cv_type_off_t = yes; then
25190 :
25191 else
25192
25193 cat >>confdefs.h <<_ACEOF
25194 #define off_t long
25195 _ACEOF
25196
25197 fi
25198
25199 echo "$as_me:$LINENO: checking for pid_t" >&5
25200 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25201 if test "${ac_cv_type_pid_t+set}" = set; then
25202 echo $ECHO_N "(cached) $ECHO_C" >&6
25203 else
25204 cat >conftest.$ac_ext <<_ACEOF
25205 #line $LINENO "configure"
25206 /* confdefs.h. */
25207 _ACEOF
25208 cat confdefs.h >>conftest.$ac_ext
25209 cat >>conftest.$ac_ext <<_ACEOF
25210 /* end confdefs.h. */
25211 $ac_includes_default
25212 int
25213 main ()
25214 {
25215 if ((pid_t *) 0)
25216 return 0;
25217 if (sizeof (pid_t))
25218 return 0;
25219 ;
25220 return 0;
25221 }
25222 _ACEOF
25223 rm -f conftest.$ac_objext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25225 (eval $ac_compile) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); } &&
25229 { ac_try='test -s conftest.$ac_objext'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25232 ac_status=$?
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; }; then
25235 ac_cv_type_pid_t=yes
25236 else
25237 echo "$as_me: failed program was:" >&5
25238 sed 's/^/| /' conftest.$ac_ext >&5
25239
25240 ac_cv_type_pid_t=no
25241 fi
25242 rm -f conftest.$ac_objext conftest.$ac_ext
25243 fi
25244 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25245 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25246 if test $ac_cv_type_pid_t = yes; then
25247 :
25248 else
25249
25250 cat >>confdefs.h <<_ACEOF
25251 #define pid_t int
25252 _ACEOF
25253
25254 fi
25255
25256 echo "$as_me:$LINENO: checking for size_t" >&5
25257 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25258 if test "${ac_cv_type_size_t+set}" = set; then
25259 echo $ECHO_N "(cached) $ECHO_C" >&6
25260 else
25261 cat >conftest.$ac_ext <<_ACEOF
25262 #line $LINENO "configure"
25263 /* confdefs.h. */
25264 _ACEOF
25265 cat confdefs.h >>conftest.$ac_ext
25266 cat >>conftest.$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25268 $ac_includes_default
25269 int
25270 main ()
25271 {
25272 if ((size_t *) 0)
25273 return 0;
25274 if (sizeof (size_t))
25275 return 0;
25276 ;
25277 return 0;
25278 }
25279 _ACEOF
25280 rm -f conftest.$ac_objext
25281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25282 (eval $ac_compile) 2>&5
25283 ac_status=$?
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); } &&
25286 { ac_try='test -s conftest.$ac_objext'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25289 ac_status=$?
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; }; then
25292 ac_cv_type_size_t=yes
25293 else
25294 echo "$as_me: failed program was:" >&5
25295 sed 's/^/| /' conftest.$ac_ext >&5
25296
25297 ac_cv_type_size_t=no
25298 fi
25299 rm -f conftest.$ac_objext conftest.$ac_ext
25300 fi
25301 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25302 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25303 if test $ac_cv_type_size_t = yes; then
25304 :
25305 else
25306
25307 cat >>confdefs.h <<_ACEOF
25308 #define size_t unsigned
25309 _ACEOF
25310
25311 fi
25312
25313 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25314 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25315 if test "${ac_cv_type_uid_t+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 else
25318 cat >conftest.$ac_ext <<_ACEOF
25319 #line $LINENO "configure"
25320 /* confdefs.h. */
25321 _ACEOF
25322 cat confdefs.h >>conftest.$ac_ext
25323 cat >>conftest.$ac_ext <<_ACEOF
25324 /* end confdefs.h. */
25325 #include <sys/types.h>
25326
25327 _ACEOF
25328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25329 $EGREP "uid_t" >/dev/null 2>&1; then
25330 ac_cv_type_uid_t=yes
25331 else
25332 ac_cv_type_uid_t=no
25333 fi
25334 rm -f conftest*
25335
25336 fi
25337 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25338 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25339 if test $ac_cv_type_uid_t = no; then
25340
25341 cat >>confdefs.h <<\_ACEOF
25342 #define uid_t int
25343 _ACEOF
25344
25345
25346 cat >>confdefs.h <<\_ACEOF
25347 #define gid_t int
25348 _ACEOF
25349
25350 fi
25351
25352
25353
25354
25355 ac_ext=cc
25356 ac_cpp='$CXXCPP $CPPFLAGS'
25357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25360
25361 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25362 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25363 if test "${wx_cv_size_t_is_uint+set}" = set; then
25364 echo $ECHO_N "(cached) $ECHO_C" >&6
25365 else
25366
25367 cat >conftest.$ac_ext <<_ACEOF
25368 #line $LINENO "configure"
25369 /* confdefs.h. */
25370 _ACEOF
25371 cat confdefs.h >>conftest.$ac_ext
25372 cat >>conftest.$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25374 #include <stddef.h>
25375 int
25376 main ()
25377 {
25378
25379 return 0; }
25380
25381 struct Foo { void foo(size_t); void foo(unsigned int); };
25382
25383 int bar() {
25384
25385 ;
25386 return 0;
25387 }
25388 _ACEOF
25389 rm -f conftest.$ac_objext
25390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25391 (eval $ac_compile) 2>&5
25392 ac_status=$?
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } &&
25395 { ac_try='test -s conftest.$ac_objext'
25396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25397 (eval $ac_try) 2>&5
25398 ac_status=$?
25399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25400 (exit $ac_status); }; }; then
25401 wx_cv_size_t_is_uint=no
25402 else
25403 echo "$as_me: failed program was:" >&5
25404 sed 's/^/| /' conftest.$ac_ext >&5
25405
25406 wx_cv_size_t_is_uint=yes
25407
25408 fi
25409 rm -f conftest.$ac_objext conftest.$ac_ext
25410
25411
25412 fi
25413 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25414 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25415
25416 if test "$wx_cv_size_t_is_uint" = "yes"; then
25417 cat >>confdefs.h <<\_ACEOF
25418 #define wxSIZE_T_IS_UINT 1
25419 _ACEOF
25420
25421 else
25422 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25423 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25424 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25425 echo $ECHO_N "(cached) $ECHO_C" >&6
25426 else
25427 cat >conftest.$ac_ext <<_ACEOF
25428 #line $LINENO "configure"
25429 /* confdefs.h. */
25430 _ACEOF
25431 cat confdefs.h >>conftest.$ac_ext
25432 cat >>conftest.$ac_ext <<_ACEOF
25433 /* end confdefs.h. */
25434 #include <stddef.h>
25435 int
25436 main ()
25437 {
25438
25439 return 0; }
25440
25441 struct Foo { void foo(size_t); void foo(unsigned long); };
25442
25443 int bar() {
25444
25445 ;
25446 return 0;
25447 }
25448 _ACEOF
25449 rm -f conftest.$ac_objext
25450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25451 (eval $ac_compile) 2>&5
25452 ac_status=$?
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); } &&
25455 { ac_try='test -s conftest.$ac_objext'
25456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25457 (eval $ac_try) 2>&5
25458 ac_status=$?
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; }; then
25461 wx_cv_size_t_is_ulong=no
25462 else
25463 echo "$as_me: failed program was:" >&5
25464 sed 's/^/| /' conftest.$ac_ext >&5
25465
25466 wx_cv_size_t_is_ulong=yes
25467
25468 fi
25469 rm -f conftest.$ac_objext conftest.$ac_ext
25470
25471 fi
25472 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25473 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25474
25475 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25476 cat >>confdefs.h <<\_ACEOF
25477 #define wxSIZE_T_IS_ULONG 1
25478 _ACEOF
25479
25480 fi
25481 fi
25482
25483 ac_ext=c
25484 ac_cpp='$CPP $CPPFLAGS'
25485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25488
25489
25490
25491 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25492 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25493 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25494 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 else
25496
25497 cat >conftest.$ac_ext <<_ACEOF
25498 #line $LINENO "configure"
25499 /* confdefs.h. */
25500 _ACEOF
25501 cat confdefs.h >>conftest.$ac_ext
25502 cat >>conftest.$ac_ext <<_ACEOF
25503 /* end confdefs.h. */
25504 #include <pwd.h>
25505 int
25506 main ()
25507 {
25508
25509 char *p;
25510 struct passwd *pw;
25511 p = pw->pw_gecos;
25512
25513 ;
25514 return 0;
25515 }
25516 _ACEOF
25517 rm -f conftest.$ac_objext
25518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25519 (eval $ac_compile) 2>&5
25520 ac_status=$?
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } &&
25523 { ac_try='test -s conftest.$ac_objext'
25524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25525 (eval $ac_try) 2>&5
25526 ac_status=$?
25527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25528 (exit $ac_status); }; }; then
25529
25530 wx_cv_struct_pw_gecos=yes
25531
25532 else
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.$ac_ext >&5
25535
25536
25537 wx_cv_struct_pw_gecos=no
25538
25539
25540 fi
25541 rm -f conftest.$ac_objext conftest.$ac_ext
25542
25543
25544 fi
25545 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25546 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25547
25548 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25549 cat >>confdefs.h <<\_ACEOF
25550 #define HAVE_PW_GECOS 1
25551 _ACEOF
25552
25553 fi
25554
25555
25556 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25557 cat >>confdefs.h <<\_ACEOF
25558 #define wxUSE_WCHAR_T 1
25559 _ACEOF
25560
25561
25562 WCSLEN_FOUND=0
25563 WCHAR_LINK=
25564
25565 for ac_func in wcslen
25566 do
25567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25568 echo "$as_me:$LINENO: checking for $ac_func" >&5
25569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25570 if eval "test \"\${$as_ac_var+set}\" = set"; then
25571 echo $ECHO_N "(cached) $ECHO_C" >&6
25572 else
25573 cat >conftest.$ac_ext <<_ACEOF
25574 #line $LINENO "configure"
25575 /* confdefs.h. */
25576 _ACEOF
25577 cat confdefs.h >>conftest.$ac_ext
25578 cat >>conftest.$ac_ext <<_ACEOF
25579 /* end confdefs.h. */
25580 /* System header to define __stub macros and hopefully few prototypes,
25581 which can conflict with char $ac_func (); below.
25582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25583 <limits.h> exists even on freestanding compilers. */
25584 #ifdef __STDC__
25585 # include <limits.h>
25586 #else
25587 # include <assert.h>
25588 #endif
25589 /* Override any gcc2 internal prototype to avoid an error. */
25590 #ifdef __cplusplus
25591 extern "C"
25592 {
25593 #endif
25594 /* We use char because int might match the return type of a gcc2
25595 builtin and then its argument prototype would still apply. */
25596 char $ac_func ();
25597 /* The GNU C library defines this for functions which it implements
25598 to always fail with ENOSYS. Some functions are actually named
25599 something starting with __ and the normal name is an alias. */
25600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25601 choke me
25602 #else
25603 char (*f) () = $ac_func;
25604 #endif
25605 #ifdef __cplusplus
25606 }
25607 #endif
25608
25609 int
25610 main ()
25611 {
25612 return f != $ac_func;
25613 ;
25614 return 0;
25615 }
25616 _ACEOF
25617 rm -f conftest.$ac_objext conftest$ac_exeext
25618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25619 (eval $ac_link) 2>&5
25620 ac_status=$?
25621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25622 (exit $ac_status); } &&
25623 { ac_try='test -s conftest$ac_exeext'
25624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25625 (eval $ac_try) 2>&5
25626 ac_status=$?
25627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25628 (exit $ac_status); }; }; then
25629 eval "$as_ac_var=yes"
25630 else
25631 echo "$as_me: failed program was:" >&5
25632 sed 's/^/| /' conftest.$ac_ext >&5
25633
25634 eval "$as_ac_var=no"
25635 fi
25636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25637 fi
25638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25640 if test `eval echo '${'$as_ac_var'}'` = yes; then
25641 cat >>confdefs.h <<_ACEOF
25642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25643 _ACEOF
25644 WCSLEN_FOUND=1
25645 fi
25646 done
25647
25648
25649 if test "$WCSLEN_FOUND" = 0; then
25650 if test "$TOOLKIT" = "MSW"; then
25651 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
25652 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
25653 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 else
25656 ac_check_lib_save_LIBS=$LIBS
25657 LIBS="-lmsvcrt $LIBS"
25658 cat >conftest.$ac_ext <<_ACEOF
25659 #line $LINENO "configure"
25660 /* confdefs.h. */
25661 _ACEOF
25662 cat confdefs.h >>conftest.$ac_ext
25663 cat >>conftest.$ac_ext <<_ACEOF
25664 /* end confdefs.h. */
25665
25666 /* Override any gcc2 internal prototype to avoid an error. */
25667 #ifdef __cplusplus
25668 extern "C"
25669 #endif
25670 /* We use char because int might match the return type of a gcc2
25671 builtin and then its argument prototype would still apply. */
25672 char wcslen ();
25673 int
25674 main ()
25675 {
25676 wcslen ();
25677 ;
25678 return 0;
25679 }
25680 _ACEOF
25681 rm -f conftest.$ac_objext conftest$ac_exeext
25682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25683 (eval $ac_link) 2>&5
25684 ac_status=$?
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try='test -s conftest$ac_exeext'
25688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25689 (eval $ac_try) 2>&5
25690 ac_status=$?
25691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25692 (exit $ac_status); }; }; then
25693 ac_cv_lib_msvcrt_wcslen=yes
25694 else
25695 echo "$as_me: failed program was:" >&5
25696 sed 's/^/| /' conftest.$ac_ext >&5
25697
25698 ac_cv_lib_msvcrt_wcslen=no
25699 fi
25700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25701 LIBS=$ac_check_lib_save_LIBS
25702 fi
25703 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
25704 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
25705 if test $ac_cv_lib_msvcrt_wcslen = yes; then
25706 WCHAR_OK=1
25707 fi
25708
25709 else
25710 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
25711 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
25712 if test "${ac_cv_lib_w_wcslen+set}" = set; then
25713 echo $ECHO_N "(cached) $ECHO_C" >&6
25714 else
25715 ac_check_lib_save_LIBS=$LIBS
25716 LIBS="-lw $LIBS"
25717 cat >conftest.$ac_ext <<_ACEOF
25718 #line $LINENO "configure"
25719 /* confdefs.h. */
25720 _ACEOF
25721 cat confdefs.h >>conftest.$ac_ext
25722 cat >>conftest.$ac_ext <<_ACEOF
25723 /* end confdefs.h. */
25724
25725 /* Override any gcc2 internal prototype to avoid an error. */
25726 #ifdef __cplusplus
25727 extern "C"
25728 #endif
25729 /* We use char because int might match the return type of a gcc2
25730 builtin and then its argument prototype would still apply. */
25731 char wcslen ();
25732 int
25733 main ()
25734 {
25735 wcslen ();
25736 ;
25737 return 0;
25738 }
25739 _ACEOF
25740 rm -f conftest.$ac_objext conftest$ac_exeext
25741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25742 (eval $ac_link) 2>&5
25743 ac_status=$?
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } &&
25746 { ac_try='test -s conftest$ac_exeext'
25747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25748 (eval $ac_try) 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); }; }; then
25752 ac_cv_lib_w_wcslen=yes
25753 else
25754 echo "$as_me: failed program was:" >&5
25755 sed 's/^/| /' conftest.$ac_ext >&5
25756
25757 ac_cv_lib_w_wcslen=no
25758 fi
25759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25760 LIBS=$ac_check_lib_save_LIBS
25761 fi
25762 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
25763 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
25764 if test $ac_cv_lib_w_wcslen = yes; then
25765
25766 WCHAR_LINK=" -lw"
25767 WCSLEN_FOUND=1
25768
25769 fi
25770
25771 fi
25772 fi
25773
25774 if test "$WCSLEN_FOUND" = 1; then
25775 cat >>confdefs.h <<\_ACEOF
25776 #define HAVE_WCSLEN 1
25777 _ACEOF
25778
25779 fi
25780
25781
25782 for ac_func in wcsrtombs
25783 do
25784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25785 echo "$as_me:$LINENO: checking for $ac_func" >&5
25786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25787 if eval "test \"\${$as_ac_var+set}\" = set"; then
25788 echo $ECHO_N "(cached) $ECHO_C" >&6
25789 else
25790 cat >conftest.$ac_ext <<_ACEOF
25791 #line $LINENO "configure"
25792 /* confdefs.h. */
25793 _ACEOF
25794 cat confdefs.h >>conftest.$ac_ext
25795 cat >>conftest.$ac_ext <<_ACEOF
25796 /* end confdefs.h. */
25797 /* System header to define __stub macros and hopefully few prototypes,
25798 which can conflict with char $ac_func (); below.
25799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25800 <limits.h> exists even on freestanding compilers. */
25801 #ifdef __STDC__
25802 # include <limits.h>
25803 #else
25804 # include <assert.h>
25805 #endif
25806 /* Override any gcc2 internal prototype to avoid an error. */
25807 #ifdef __cplusplus
25808 extern "C"
25809 {
25810 #endif
25811 /* We use char because int might match the return type of a gcc2
25812 builtin and then its argument prototype would still apply. */
25813 char $ac_func ();
25814 /* The GNU C library defines this for functions which it implements
25815 to always fail with ENOSYS. Some functions are actually named
25816 something starting with __ and the normal name is an alias. */
25817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25818 choke me
25819 #else
25820 char (*f) () = $ac_func;
25821 #endif
25822 #ifdef __cplusplus
25823 }
25824 #endif
25825
25826 int
25827 main ()
25828 {
25829 return f != $ac_func;
25830 ;
25831 return 0;
25832 }
25833 _ACEOF
25834 rm -f conftest.$ac_objext conftest$ac_exeext
25835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25836 (eval $ac_link) 2>&5
25837 ac_status=$?
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } &&
25840 { ac_try='test -s conftest$ac_exeext'
25841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25842 (eval $ac_try) 2>&5
25843 ac_status=$?
25844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25845 (exit $ac_status); }; }; then
25846 eval "$as_ac_var=yes"
25847 else
25848 echo "$as_me: failed program was:" >&5
25849 sed 's/^/| /' conftest.$ac_ext >&5
25850
25851 eval "$as_ac_var=no"
25852 fi
25853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25854 fi
25855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25857 if test `eval echo '${'$as_ac_var'}'` = yes; then
25858 cat >>confdefs.h <<_ACEOF
25859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25860 _ACEOF
25861
25862 fi
25863 done
25864
25865 else
25866 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
25867 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
25868 fi
25869
25870
25871
25872 ac_ext=cc
25873 ac_cpp='$CXXCPP $CPPFLAGS'
25874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25877
25878
25879
25880 for ac_func in vsnprintf
25881 do
25882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25883 echo "$as_me:$LINENO: checking for $ac_func" >&5
25884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25885 if eval "test \"\${$as_ac_var+set}\" = set"; then
25886 echo $ECHO_N "(cached) $ECHO_C" >&6
25887 else
25888 cat >conftest.$ac_ext <<_ACEOF
25889 #line $LINENO "configure"
25890 /* confdefs.h. */
25891 _ACEOF
25892 cat confdefs.h >>conftest.$ac_ext
25893 cat >>conftest.$ac_ext <<_ACEOF
25894 /* end confdefs.h. */
25895 /* System header to define __stub macros and hopefully few prototypes,
25896 which can conflict with char $ac_func (); below.
25897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25898 <limits.h> exists even on freestanding compilers. */
25899 #ifdef __STDC__
25900 # include <limits.h>
25901 #else
25902 # include <assert.h>
25903 #endif
25904 /* Override any gcc2 internal prototype to avoid an error. */
25905 #ifdef __cplusplus
25906 extern "C"
25907 {
25908 #endif
25909 /* We use char because int might match the return type of a gcc2
25910 builtin and then its argument prototype would still apply. */
25911 char $ac_func ();
25912 /* The GNU C library defines this for functions which it implements
25913 to always fail with ENOSYS. Some functions are actually named
25914 something starting with __ and the normal name is an alias. */
25915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25916 choke me
25917 #else
25918 char (*f) () = $ac_func;
25919 #endif
25920 #ifdef __cplusplus
25921 }
25922 #endif
25923
25924 int
25925 main ()
25926 {
25927 return f != $ac_func;
25928 ;
25929 return 0;
25930 }
25931 _ACEOF
25932 rm -f conftest.$ac_objext conftest$ac_exeext
25933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25934 (eval $ac_link) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } &&
25938 { ac_try='test -s conftest$ac_exeext'
25939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25940 (eval $ac_try) 2>&5
25941 ac_status=$?
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); }; }; then
25944 eval "$as_ac_var=yes"
25945 else
25946 echo "$as_me: failed program was:" >&5
25947 sed 's/^/| /' conftest.$ac_ext >&5
25948
25949 eval "$as_ac_var=no"
25950 fi
25951 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25952 fi
25953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25955 if test `eval echo '${'$as_ac_var'}'` = yes; then
25956 cat >>confdefs.h <<_ACEOF
25957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25958 _ACEOF
25959
25960 fi
25961 done
25962
25963
25964 if test "$ac_cv_func_vsnprintf" = "yes"; then
25965 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
25966 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
25967 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 else
25970
25971 cat >conftest.$ac_ext <<_ACEOF
25972 #line $LINENO "configure"
25973 /* confdefs.h. */
25974 _ACEOF
25975 cat confdefs.h >>conftest.$ac_ext
25976 cat >>conftest.$ac_ext <<_ACEOF
25977 /* end confdefs.h. */
25978
25979 #include <stdio.h>
25980 #include <stdarg.h>
25981
25982 int
25983 main ()
25984 {
25985
25986 char *buf;
25987 va_list ap;
25988 vsnprintf(buf, 10u, "%s", ap);
25989
25990 ;
25991 return 0;
25992 }
25993 _ACEOF
25994 rm -f conftest.$ac_objext
25995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25996 (eval $ac_compile) 2>&5
25997 ac_status=$?
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try='test -s conftest.$ac_objext'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26003 ac_status=$?
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; }; then
26006 wx_cv_func_vsnprintf_decl=yes
26007 else
26008 echo "$as_me: failed program was:" >&5
26009 sed 's/^/| /' conftest.$ac_ext >&5
26010
26011 wx_cv_func_vsnprintf_decl=no
26012
26013 fi
26014 rm -f conftest.$ac_objext conftest.$ac_ext
26015
26016
26017 fi
26018 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26019 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26020
26021 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26022 cat >>confdefs.h <<\_ACEOF
26023 #define HAVE_VSNPRINTF_DECL 1
26024 _ACEOF
26025
26026 fi
26027 fi
26028
26029 if test "$wxUSE_UNICODE" = yes; then
26030
26031
26032
26033 for ac_func in fputwc wprintf vswprintf
26034 do
26035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26036 echo "$as_me:$LINENO: checking for $ac_func" >&5
26037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26038 if eval "test \"\${$as_ac_var+set}\" = set"; then
26039 echo $ECHO_N "(cached) $ECHO_C" >&6
26040 else
26041 cat >conftest.$ac_ext <<_ACEOF
26042 #line $LINENO "configure"
26043 /* confdefs.h. */
26044 _ACEOF
26045 cat confdefs.h >>conftest.$ac_ext
26046 cat >>conftest.$ac_ext <<_ACEOF
26047 /* end confdefs.h. */
26048 /* System header to define __stub macros and hopefully few prototypes,
26049 which can conflict with char $ac_func (); below.
26050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26051 <limits.h> exists even on freestanding compilers. */
26052 #ifdef __STDC__
26053 # include <limits.h>
26054 #else
26055 # include <assert.h>
26056 #endif
26057 /* Override any gcc2 internal prototype to avoid an error. */
26058 #ifdef __cplusplus
26059 extern "C"
26060 {
26061 #endif
26062 /* We use char because int might match the return type of a gcc2
26063 builtin and then its argument prototype would still apply. */
26064 char $ac_func ();
26065 /* The GNU C library defines this for functions which it implements
26066 to always fail with ENOSYS. Some functions are actually named
26067 something starting with __ and the normal name is an alias. */
26068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26069 choke me
26070 #else
26071 char (*f) () = $ac_func;
26072 #endif
26073 #ifdef __cplusplus
26074 }
26075 #endif
26076
26077 int
26078 main ()
26079 {
26080 return f != $ac_func;
26081 ;
26082 return 0;
26083 }
26084 _ACEOF
26085 rm -f conftest.$ac_objext conftest$ac_exeext
26086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26087 (eval $ac_link) 2>&5
26088 ac_status=$?
26089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26090 (exit $ac_status); } &&
26091 { ac_try='test -s conftest$ac_exeext'
26092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26093 (eval $ac_try) 2>&5
26094 ac_status=$?
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); }; }; then
26097 eval "$as_ac_var=yes"
26098 else
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26101
26102 eval "$as_ac_var=no"
26103 fi
26104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26105 fi
26106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26108 if test `eval echo '${'$as_ac_var'}'` = yes; then
26109 cat >>confdefs.h <<_ACEOF
26110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26111 _ACEOF
26112
26113 fi
26114 done
26115
26116
26117 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26118 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26119 cat >conftest.$ac_ext <<_ACEOF
26120 #line $LINENO "configure"
26121 /* confdefs.h. */
26122 _ACEOF
26123 cat confdefs.h >>conftest.$ac_ext
26124 cat >>conftest.$ac_ext <<_ACEOF
26125 /* end confdefs.h. */
26126 #include <wchar.h>
26127 int
26128 main ()
26129 {
26130 &_vsnwprintf;
26131 ;
26132 return 0;
26133 }
26134 _ACEOF
26135 rm -f conftest.$ac_objext
26136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26137 (eval $ac_compile) 2>&5
26138 ac_status=$?
26139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26140 (exit $ac_status); } &&
26141 { ac_try='test -s conftest.$ac_objext'
26142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26143 (eval $ac_try) 2>&5
26144 ac_status=$?
26145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26146 (exit $ac_status); }; }; then
26147 echo "$as_me:$LINENO: result: yes" >&5
26148 echo "${ECHO_T}yes" >&6
26149 cat >>confdefs.h <<\_ACEOF
26150 #define HAVE__VSNWPRINTF 1
26151 _ACEOF
26152
26153 else
26154 echo "$as_me: failed program was:" >&5
26155 sed 's/^/| /' conftest.$ac_ext >&5
26156
26157 echo "$as_me:$LINENO: result: no" >&5
26158 echo "${ECHO_T}no" >&6
26159 fi
26160 rm -f conftest.$ac_objext conftest.$ac_ext;
26161 fi
26162
26163 ac_ext=c
26164 ac_cpp='$CPP $CPPFLAGS'
26165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26168
26169
26170
26171
26172 if test "$TOOLKIT" != "MSW"; then
26173
26174
26175
26176
26177 ac_ext=cc
26178 ac_cpp='$CXXCPP $CPPFLAGS'
26179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26182
26183
26184
26185
26186 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26187 if test "${with_libiconv_prefix+set}" = set; then
26188 withval="$with_libiconv_prefix"
26189
26190 for dir in `echo "$withval" | tr : ' '`; do
26191 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26192 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26193 done
26194
26195 fi;
26196
26197 echo "$as_me:$LINENO: checking for iconv" >&5
26198 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26199 if test "${am_cv_func_iconv+set}" = set; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26201 else
26202
26203 am_cv_func_iconv="no, consider installing GNU libiconv"
26204 am_cv_lib_iconv=no
26205 cat >conftest.$ac_ext <<_ACEOF
26206 #line $LINENO "configure"
26207 /* confdefs.h. */
26208 _ACEOF
26209 cat confdefs.h >>conftest.$ac_ext
26210 cat >>conftest.$ac_ext <<_ACEOF
26211 /* end confdefs.h. */
26212 #include <stdlib.h>
26213 #include <iconv.h>
26214 int
26215 main ()
26216 {
26217 iconv_t cd = iconv_open("","");
26218 iconv(cd,NULL,NULL,NULL,NULL);
26219 iconv_close(cd);
26220 ;
26221 return 0;
26222 }
26223 _ACEOF
26224 rm -f conftest.$ac_objext conftest$ac_exeext
26225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26226 (eval $ac_link) 2>&5
26227 ac_status=$?
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } &&
26230 { ac_try='test -s conftest$ac_exeext'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26233 ac_status=$?
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; }; then
26236 am_cv_func_iconv=yes
26237 else
26238 echo "$as_me: failed program was:" >&5
26239 sed 's/^/| /' conftest.$ac_ext >&5
26240
26241 fi
26242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26243 if test "$am_cv_func_iconv" != yes; then
26244 am_save_LIBS="$LIBS"
26245 LIBS="$LIBS -liconv"
26246 cat >conftest.$ac_ext <<_ACEOF
26247 #line $LINENO "configure"
26248 /* confdefs.h. */
26249 _ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26253 #include <stdlib.h>
26254 #include <iconv.h>
26255 int
26256 main ()
26257 {
26258 iconv_t cd = iconv_open("","");
26259 iconv(cd,NULL,NULL,NULL,NULL);
26260 iconv_close(cd);
26261 ;
26262 return 0;
26263 }
26264 _ACEOF
26265 rm -f conftest.$ac_objext conftest$ac_exeext
26266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26267 (eval $ac_link) 2>&5
26268 ac_status=$?
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } &&
26271 { ac_try='test -s conftest$ac_exeext'
26272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273 (eval $ac_try) 2>&5
26274 ac_status=$?
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); }; }; then
26277 am_cv_lib_iconv=yes
26278 am_cv_func_iconv=yes
26279 else
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.$ac_ext >&5
26282
26283 fi
26284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26285 LIBS="$am_save_LIBS"
26286 fi
26287
26288 fi
26289 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26290 echo "${ECHO_T}$am_cv_func_iconv" >&6
26291 if test "$am_cv_func_iconv" = yes; then
26292
26293 cat >>confdefs.h <<\_ACEOF
26294 #define HAVE_ICONV 1
26295 _ACEOF
26296
26297 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26298 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26299 if test "${wx_cv_func_iconv_const+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 else
26302 cat >conftest.$ac_ext <<_ACEOF
26303 #line $LINENO "configure"
26304 /* confdefs.h. */
26305 _ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309
26310 #include <stdlib.h>
26311 #include <iconv.h>
26312 extern
26313 #ifdef __cplusplus
26314 "C"
26315 #endif
26316 #if defined(__STDC__) || defined(__cplusplus)
26317 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26318 #else
26319 size_t iconv();
26320 #endif
26321
26322 int
26323 main ()
26324 {
26325
26326 ;
26327 return 0;
26328 }
26329 _ACEOF
26330 rm -f conftest.$ac_objext
26331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26332 (eval $ac_compile) 2>&5
26333 ac_status=$?
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); } &&
26336 { ac_try='test -s conftest.$ac_objext'
26337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338 (eval $ac_try) 2>&5
26339 ac_status=$?
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); }; }; then
26342 wx_cv_func_iconv_const="no"
26343 else
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.$ac_ext >&5
26346
26347 wx_cv_func_iconv_const="yes"
26348
26349 fi
26350 rm -f conftest.$ac_objext conftest.$ac_ext
26351
26352 fi
26353 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26354 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26355
26356 iconv_const=
26357 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26358 iconv_const="const"
26359 fi
26360
26361
26362 cat >>confdefs.h <<_ACEOF
26363 #define ICONV_CONST $iconv_const
26364 _ACEOF
26365
26366 fi
26367 LIBICONV=
26368 if test "$am_cv_lib_iconv" = yes; then
26369 LIBICONV="-liconv"
26370 fi
26371
26372
26373 LIBS="$LIBICONV $LIBS"
26374 ac_ext=c
26375 ac_cpp='$CPP $CPPFLAGS'
26376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26379
26380
26381 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26382
26383 for ac_func in sigaction
26384 do
26385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26386 echo "$as_me:$LINENO: checking for $ac_func" >&5
26387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26388 if eval "test \"\${$as_ac_var+set}\" = set"; then
26389 echo $ECHO_N "(cached) $ECHO_C" >&6
26390 else
26391 cat >conftest.$ac_ext <<_ACEOF
26392 #line $LINENO "configure"
26393 /* confdefs.h. */
26394 _ACEOF
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 /* System header to define __stub macros and hopefully few prototypes,
26399 which can conflict with char $ac_func (); below.
26400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26401 <limits.h> exists even on freestanding compilers. */
26402 #ifdef __STDC__
26403 # include <limits.h>
26404 #else
26405 # include <assert.h>
26406 #endif
26407 /* Override any gcc2 internal prototype to avoid an error. */
26408 #ifdef __cplusplus
26409 extern "C"
26410 {
26411 #endif
26412 /* We use char because int might match the return type of a gcc2
26413 builtin and then its argument prototype would still apply. */
26414 char $ac_func ();
26415 /* The GNU C library defines this for functions which it implements
26416 to always fail with ENOSYS. Some functions are actually named
26417 something starting with __ and the normal name is an alias. */
26418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26419 choke me
26420 #else
26421 char (*f) () = $ac_func;
26422 #endif
26423 #ifdef __cplusplus
26424 }
26425 #endif
26426
26427 int
26428 main ()
26429 {
26430 return f != $ac_func;
26431 ;
26432 return 0;
26433 }
26434 _ACEOF
26435 rm -f conftest.$ac_objext conftest$ac_exeext
26436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26437 (eval $ac_link) 2>&5
26438 ac_status=$?
26439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440 (exit $ac_status); } &&
26441 { ac_try='test -s conftest$ac_exeext'
26442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26443 (eval $ac_try) 2>&5
26444 ac_status=$?
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); }; }; then
26447 eval "$as_ac_var=yes"
26448 else
26449 echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.$ac_ext >&5
26451
26452 eval "$as_ac_var=no"
26453 fi
26454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26455 fi
26456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26458 if test `eval echo '${'$as_ac_var'}'` = yes; then
26459 cat >>confdefs.h <<_ACEOF
26460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26461 _ACEOF
26462
26463 fi
26464 done
26465
26466
26467 if test "$ac_cv_func_sigaction" = "no"; then
26468 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26469 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26470 wxUSE_ON_FATAL_EXCEPTION=no
26471 fi
26472
26473 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26474
26475
26476 ac_ext=cc
26477 ac_cpp='$CXXCPP $CPPFLAGS'
26478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26481
26482
26483 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26484 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26485 if test "${wx_cv_type_sa_handler+set}" = set; then
26486 echo $ECHO_N "(cached) $ECHO_C" >&6
26487 else
26488
26489 cat >conftest.$ac_ext <<_ACEOF
26490 #line $LINENO "configure"
26491 /* confdefs.h. */
26492 _ACEOF
26493 cat confdefs.h >>conftest.$ac_ext
26494 cat >>conftest.$ac_ext <<_ACEOF
26495 /* end confdefs.h. */
26496 #include <signal.h>
26497 int
26498 main ()
26499 {
26500
26501 extern void testSigHandler(int);
26502
26503 struct sigaction sa;
26504 sa.sa_handler = testSigHandler;
26505
26506 ;
26507 return 0;
26508 }
26509 _ACEOF
26510 rm -f conftest.$ac_objext
26511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26512 (eval $ac_compile) 2>&5
26513 ac_status=$?
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } &&
26516 { ac_try='test -s conftest.$ac_objext'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26519 ac_status=$?
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; }; then
26522
26523 wx_cv_type_sa_handler=int
26524
26525 else
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.$ac_ext >&5
26528
26529
26530 wx_cv_type_sa_handler=void
26531
26532 fi
26533 rm -f conftest.$ac_objext conftest.$ac_ext
26534
26535 fi
26536 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26537 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26538
26539 ac_ext=c
26540 ac_cpp='$CPP $CPPFLAGS'
26541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26544
26545
26546 cat >>confdefs.h <<_ACEOF
26547 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26548 _ACEOF
26549
26550 fi
26551 fi
26552
26553
26554
26555 for ac_func in mkstemp mktemp
26556 do
26557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26558 echo "$as_me:$LINENO: checking for $ac_func" >&5
26559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26560 if eval "test \"\${$as_ac_var+set}\" = set"; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26563 cat >conftest.$ac_ext <<_ACEOF
26564 #line $LINENO "configure"
26565 /* confdefs.h. */
26566 _ACEOF
26567 cat confdefs.h >>conftest.$ac_ext
26568 cat >>conftest.$ac_ext <<_ACEOF
26569 /* end confdefs.h. */
26570 /* System header to define __stub macros and hopefully few prototypes,
26571 which can conflict with char $ac_func (); below.
26572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26573 <limits.h> exists even on freestanding compilers. */
26574 #ifdef __STDC__
26575 # include <limits.h>
26576 #else
26577 # include <assert.h>
26578 #endif
26579 /* Override any gcc2 internal prototype to avoid an error. */
26580 #ifdef __cplusplus
26581 extern "C"
26582 {
26583 #endif
26584 /* We use char because int might match the return type of a gcc2
26585 builtin and then its argument prototype would still apply. */
26586 char $ac_func ();
26587 /* The GNU C library defines this for functions which it implements
26588 to always fail with ENOSYS. Some functions are actually named
26589 something starting with __ and the normal name is an alias. */
26590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26591 choke me
26592 #else
26593 char (*f) () = $ac_func;
26594 #endif
26595 #ifdef __cplusplus
26596 }
26597 #endif
26598
26599 int
26600 main ()
26601 {
26602 return f != $ac_func;
26603 ;
26604 return 0;
26605 }
26606 _ACEOF
26607 rm -f conftest.$ac_objext conftest$ac_exeext
26608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26609 (eval $ac_link) 2>&5
26610 ac_status=$?
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); } &&
26613 { ac_try='test -s conftest$ac_exeext'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26616 ac_status=$?
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; }; then
26619 eval "$as_ac_var=yes"
26620 else
26621 echo "$as_me: failed program was:" >&5
26622 sed 's/^/| /' conftest.$ac_ext >&5
26623
26624 eval "$as_ac_var=no"
26625 fi
26626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26627 fi
26628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26630 if test `eval echo '${'$as_ac_var'}'` = yes; then
26631 cat >>confdefs.h <<_ACEOF
26632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26633 _ACEOF
26634 break
26635 fi
26636 done
26637
26638
26639 echo "$as_me:$LINENO: checking for statfs" >&5
26640 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
26641 if test "${wx_cv_func_statfs+set}" = set; then
26642 echo $ECHO_N "(cached) $ECHO_C" >&6
26643 else
26644 cat >conftest.$ac_ext <<_ACEOF
26645 #line $LINENO "configure"
26646 /* confdefs.h. */
26647 _ACEOF
26648 cat confdefs.h >>conftest.$ac_ext
26649 cat >>conftest.$ac_ext <<_ACEOF
26650 /* end confdefs.h. */
26651
26652 #if defined(__BSD__)
26653 #include <sys/param.h>
26654 #include <sys/mount.h>
26655 #else
26656 #include <sys/vfs.h>
26657 #endif
26658
26659 int
26660 main ()
26661 {
26662
26663 long l;
26664 struct statfs fs;
26665 statfs("/", &fs);
26666 l = fs.f_bsize;
26667 l += fs.f_blocks;
26668 l += fs.f_bavail;
26669
26670 ;
26671 return 0;
26672 }
26673 _ACEOF
26674 rm -f conftest.$ac_objext
26675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26676 (eval $ac_compile) 2>&5
26677 ac_status=$?
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); } &&
26680 { ac_try='test -s conftest.$ac_objext'
26681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26682 (eval $ac_try) 2>&5
26683 ac_status=$?
26684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26685 (exit $ac_status); }; }; then
26686
26687 wx_cv_func_statfs=yes
26688
26689 else
26690 echo "$as_me: failed program was:" >&5
26691 sed 's/^/| /' conftest.$ac_ext >&5
26692
26693
26694 wx_cv_func_statfs=no
26695
26696
26697 fi
26698 rm -f conftest.$ac_objext conftest.$ac_ext
26699
26700 fi
26701 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
26702 echo "${ECHO_T}$wx_cv_func_statfs" >&6
26703
26704 if test "$wx_cv_func_statfs" = "yes"; then
26705 wx_cv_type_statvfs_t="struct statfs"
26706 cat >>confdefs.h <<\_ACEOF
26707 #define HAVE_STATFS 1
26708 _ACEOF
26709
26710 else
26711 echo "$as_me:$LINENO: checking for statvfs" >&5
26712 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
26713 if test "${wx_cv_func_statvfs+set}" = set; then
26714 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 else
26716 cat >conftest.$ac_ext <<_ACEOF
26717 #line $LINENO "configure"
26718 /* confdefs.h. */
26719 _ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26723
26724 #include <stddef.h>
26725 #include <sys/statvfs.h>
26726
26727 int
26728 main ()
26729 {
26730
26731 statvfs("/", NULL);
26732
26733 ;
26734 return 0;
26735 }
26736 _ACEOF
26737 rm -f conftest.$ac_objext
26738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26739 (eval $ac_compile) 2>&5
26740 ac_status=$?
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); } &&
26743 { ac_try='test -s conftest.$ac_objext'
26744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745 (eval $ac_try) 2>&5
26746 ac_status=$?
26747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748 (exit $ac_status); }; }; then
26749 wx_cv_func_statvfs=yes
26750 else
26751 echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26753
26754 wx_cv_func_statvfs=no
26755
26756 fi
26757 rm -f conftest.$ac_objext conftest.$ac_ext
26758
26759 fi
26760 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
26761 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
26762
26763 if test "$wx_cv_func_statvfs" = "yes"; then
26764
26765
26766 ac_ext=cc
26767 ac_cpp='$CXXCPP $CPPFLAGS'
26768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26771
26772
26773 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
26774 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
26775 if test "${wx_cv_type_statvfs_t+set}" = set; then
26776 echo $ECHO_N "(cached) $ECHO_C" >&6
26777 else
26778 cat >conftest.$ac_ext <<_ACEOF
26779 #line $LINENO "configure"
26780 /* confdefs.h. */
26781 _ACEOF
26782 cat confdefs.h >>conftest.$ac_ext
26783 cat >>conftest.$ac_ext <<_ACEOF
26784 /* end confdefs.h. */
26785
26786 #include <sys/statvfs.h>
26787
26788 int
26789 main ()
26790 {
26791
26792 long l;
26793 statvfs_t fs;
26794 statvfs("/", &fs);
26795 l = fs.f_bsize;
26796 l += fs.f_blocks;
26797 l += fs.f_bavail;
26798
26799 ;
26800 return 0;
26801 }
26802 _ACEOF
26803 rm -f conftest.$ac_objext
26804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26805 (eval $ac_compile) 2>&5
26806 ac_status=$?
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try='test -s conftest.$ac_objext'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26812 ac_status=$?
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; }; then
26815 wx_cv_type_statvfs_t=statvfs_t
26816 else
26817 echo "$as_me: failed program was:" >&5
26818 sed 's/^/| /' conftest.$ac_ext >&5
26819
26820
26821 cat >conftest.$ac_ext <<_ACEOF
26822 #line $LINENO "configure"
26823 /* confdefs.h. */
26824 _ACEOF
26825 cat confdefs.h >>conftest.$ac_ext
26826 cat >>conftest.$ac_ext <<_ACEOF
26827 /* end confdefs.h. */
26828
26829 #include <sys/statvfs.h>
26830
26831 int
26832 main ()
26833 {
26834
26835 long l;
26836 struct statvfs fs;
26837 statvfs("/", &fs);
26838 l = fs.f_bsize;
26839 l += fs.f_blocks;
26840 l += fs.f_bavail;
26841
26842 ;
26843 return 0;
26844 }
26845 _ACEOF
26846 rm -f conftest.$ac_objext
26847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26848 (eval $ac_compile) 2>&5
26849 ac_status=$?
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); } &&
26852 { ac_try='test -s conftest.$ac_objext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26855 ac_status=$?
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 wx_cv_type_statvfs_t="struct statvfs"
26859 else
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26862
26863 wx_cv_type_statvfs_t="unknown"
26864
26865 fi
26866 rm -f conftest.$ac_objext conftest.$ac_ext
26867
26868
26869 fi
26870 rm -f conftest.$ac_objext conftest.$ac_ext
26871
26872 fi
26873 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
26874 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
26875
26876 ac_ext=c
26877 ac_cpp='$CPP $CPPFLAGS'
26878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26881
26882
26883 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26884 cat >>confdefs.h <<\_ACEOF
26885 #define HAVE_STATVFS 1
26886 _ACEOF
26887
26888 fi
26889 else
26890 wx_cv_type_statvfs_t="unknown"
26891 fi
26892 fi
26893
26894 if test "$wx_cv_type_statvfs_t" != "unknown"; then
26895 cat >>confdefs.h <<_ACEOF
26896 #define WX_STATFS_T $wx_cv_type_statvfs_t
26897 _ACEOF
26898
26899 else
26900 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
26901 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
26902 fi
26903
26904 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
26905
26906
26907 for ac_func in fcntl flock
26908 do
26909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26910 echo "$as_me:$LINENO: checking for $ac_func" >&5
26911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26912 if eval "test \"\${$as_ac_var+set}\" = set"; then
26913 echo $ECHO_N "(cached) $ECHO_C" >&6
26914 else
26915 cat >conftest.$ac_ext <<_ACEOF
26916 #line $LINENO "configure"
26917 /* confdefs.h. */
26918 _ACEOF
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922 /* System header to define __stub macros and hopefully few prototypes,
26923 which can conflict with char $ac_func (); below.
26924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26925 <limits.h> exists even on freestanding compilers. */
26926 #ifdef __STDC__
26927 # include <limits.h>
26928 #else
26929 # include <assert.h>
26930 #endif
26931 /* Override any gcc2 internal prototype to avoid an error. */
26932 #ifdef __cplusplus
26933 extern "C"
26934 {
26935 #endif
26936 /* We use char because int might match the return type of a gcc2
26937 builtin and then its argument prototype would still apply. */
26938 char $ac_func ();
26939 /* The GNU C library defines this for functions which it implements
26940 to always fail with ENOSYS. Some functions are actually named
26941 something starting with __ and the normal name is an alias. */
26942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26943 choke me
26944 #else
26945 char (*f) () = $ac_func;
26946 #endif
26947 #ifdef __cplusplus
26948 }
26949 #endif
26950
26951 int
26952 main ()
26953 {
26954 return f != $ac_func;
26955 ;
26956 return 0;
26957 }
26958 _ACEOF
26959 rm -f conftest.$ac_objext conftest$ac_exeext
26960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26961 (eval $ac_link) 2>&5
26962 ac_status=$?
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); } &&
26965 { ac_try='test -s conftest$ac_exeext'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26968 ac_status=$?
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; }; then
26971 eval "$as_ac_var=yes"
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976 eval "$as_ac_var=no"
26977 fi
26978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26979 fi
26980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26982 if test `eval echo '${'$as_ac_var'}'` = yes; then
26983 cat >>confdefs.h <<_ACEOF
26984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26985 _ACEOF
26986 break
26987 fi
26988 done
26989
26990
26991 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
26992 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
26993 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
26994 wxUSE_SNGLINST_CHECKER=no
26995 fi
26996 fi
26997
26998
26999 for ac_func in timegm
27000 do
27001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27002 echo "$as_me:$LINENO: checking for $ac_func" >&5
27003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27004 if eval "test \"\${$as_ac_var+set}\" = set"; then
27005 echo $ECHO_N "(cached) $ECHO_C" >&6
27006 else
27007 cat >conftest.$ac_ext <<_ACEOF
27008 #line $LINENO "configure"
27009 /* confdefs.h. */
27010 _ACEOF
27011 cat confdefs.h >>conftest.$ac_ext
27012 cat >>conftest.$ac_ext <<_ACEOF
27013 /* end confdefs.h. */
27014 /* System header to define __stub macros and hopefully few prototypes,
27015 which can conflict with char $ac_func (); below.
27016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27017 <limits.h> exists even on freestanding compilers. */
27018 #ifdef __STDC__
27019 # include <limits.h>
27020 #else
27021 # include <assert.h>
27022 #endif
27023 /* Override any gcc2 internal prototype to avoid an error. */
27024 #ifdef __cplusplus
27025 extern "C"
27026 {
27027 #endif
27028 /* We use char because int might match the return type of a gcc2
27029 builtin and then its argument prototype would still apply. */
27030 char $ac_func ();
27031 /* The GNU C library defines this for functions which it implements
27032 to always fail with ENOSYS. Some functions are actually named
27033 something starting with __ and the normal name is an alias. */
27034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27035 choke me
27036 #else
27037 char (*f) () = $ac_func;
27038 #endif
27039 #ifdef __cplusplus
27040 }
27041 #endif
27042
27043 int
27044 main ()
27045 {
27046 return f != $ac_func;
27047 ;
27048 return 0;
27049 }
27050 _ACEOF
27051 rm -f conftest.$ac_objext conftest$ac_exeext
27052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27053 (eval $ac_link) 2>&5
27054 ac_status=$?
27055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27056 (exit $ac_status); } &&
27057 { ac_try='test -s conftest$ac_exeext'
27058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27059 (eval $ac_try) 2>&5
27060 ac_status=$?
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); }; }; then
27063 eval "$as_ac_var=yes"
27064 else
27065 echo "$as_me: failed program was:" >&5
27066 sed 's/^/| /' conftest.$ac_ext >&5
27067
27068 eval "$as_ac_var=no"
27069 fi
27070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27071 fi
27072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27074 if test `eval echo '${'$as_ac_var'}'` = yes; then
27075 cat >>confdefs.h <<_ACEOF
27076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27077 _ACEOF
27078
27079 fi
27080 done
27081
27082
27083
27084
27085 for ac_func in putenv setenv
27086 do
27087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27088 echo "$as_me:$LINENO: checking for $ac_func" >&5
27089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27090 if eval "test \"\${$as_ac_var+set}\" = set"; then
27091 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 else
27093 cat >conftest.$ac_ext <<_ACEOF
27094 #line $LINENO "configure"
27095 /* confdefs.h. */
27096 _ACEOF
27097 cat confdefs.h >>conftest.$ac_ext
27098 cat >>conftest.$ac_ext <<_ACEOF
27099 /* end confdefs.h. */
27100 /* System header to define __stub macros and hopefully few prototypes,
27101 which can conflict with char $ac_func (); below.
27102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27103 <limits.h> exists even on freestanding compilers. */
27104 #ifdef __STDC__
27105 # include <limits.h>
27106 #else
27107 # include <assert.h>
27108 #endif
27109 /* Override any gcc2 internal prototype to avoid an error. */
27110 #ifdef __cplusplus
27111 extern "C"
27112 {
27113 #endif
27114 /* We use char because int might match the return type of a gcc2
27115 builtin and then its argument prototype would still apply. */
27116 char $ac_func ();
27117 /* The GNU C library defines this for functions which it implements
27118 to always fail with ENOSYS. Some functions are actually named
27119 something starting with __ and the normal name is an alias. */
27120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27121 choke me
27122 #else
27123 char (*f) () = $ac_func;
27124 #endif
27125 #ifdef __cplusplus
27126 }
27127 #endif
27128
27129 int
27130 main ()
27131 {
27132 return f != $ac_func;
27133 ;
27134 return 0;
27135 }
27136 _ACEOF
27137 rm -f conftest.$ac_objext conftest$ac_exeext
27138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27139 (eval $ac_link) 2>&5
27140 ac_status=$?
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); } &&
27143 { ac_try='test -s conftest$ac_exeext'
27144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27145 (eval $ac_try) 2>&5
27146 ac_status=$?
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); }; }; then
27149 eval "$as_ac_var=yes"
27150 else
27151 echo "$as_me: failed program was:" >&5
27152 sed 's/^/| /' conftest.$ac_ext >&5
27153
27154 eval "$as_ac_var=no"
27155 fi
27156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27157 fi
27158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27160 if test `eval echo '${'$as_ac_var'}'` = yes; then
27161 cat >>confdefs.h <<_ACEOF
27162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27163 _ACEOF
27164 break
27165 fi
27166 done
27167
27168
27169 HAVE_SOME_SLEEP_FUNC=0
27170 if test "$USE_BEOS" = 1; then
27171 cat >>confdefs.h <<\_ACEOF
27172 #define HAVE_SLEEP 1
27173 _ACEOF
27174
27175 HAVE_SOME_SLEEP_FUNC=1
27176 fi
27177
27178 if test "$USE_DARWIN" = 1; then
27179 cat >>confdefs.h <<\_ACEOF
27180 #define HAVE_USLEEP 1
27181 _ACEOF
27182
27183 HAVE_SOME_SLEEP_FUNC=1
27184 fi
27185
27186 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27187 POSIX4_LINK=
27188
27189 for ac_func in nanosleep
27190 do
27191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27192 echo "$as_me:$LINENO: checking for $ac_func" >&5
27193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27194 if eval "test \"\${$as_ac_var+set}\" = set"; then
27195 echo $ECHO_N "(cached) $ECHO_C" >&6
27196 else
27197 cat >conftest.$ac_ext <<_ACEOF
27198 #line $LINENO "configure"
27199 /* confdefs.h. */
27200 _ACEOF
27201 cat confdefs.h >>conftest.$ac_ext
27202 cat >>conftest.$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27204 /* System header to define __stub macros and hopefully few prototypes,
27205 which can conflict with char $ac_func (); below.
27206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27207 <limits.h> exists even on freestanding compilers. */
27208 #ifdef __STDC__
27209 # include <limits.h>
27210 #else
27211 # include <assert.h>
27212 #endif
27213 /* Override any gcc2 internal prototype to avoid an error. */
27214 #ifdef __cplusplus
27215 extern "C"
27216 {
27217 #endif
27218 /* We use char because int might match the return type of a gcc2
27219 builtin and then its argument prototype would still apply. */
27220 char $ac_func ();
27221 /* The GNU C library defines this for functions which it implements
27222 to always fail with ENOSYS. Some functions are actually named
27223 something starting with __ and the normal name is an alias. */
27224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27225 choke me
27226 #else
27227 char (*f) () = $ac_func;
27228 #endif
27229 #ifdef __cplusplus
27230 }
27231 #endif
27232
27233 int
27234 main ()
27235 {
27236 return f != $ac_func;
27237 ;
27238 return 0;
27239 }
27240 _ACEOF
27241 rm -f conftest.$ac_objext conftest$ac_exeext
27242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27243 (eval $ac_link) 2>&5
27244 ac_status=$?
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } &&
27247 { ac_try='test -s conftest$ac_exeext'
27248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27249 (eval $ac_try) 2>&5
27250 ac_status=$?
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); }; }; then
27253 eval "$as_ac_var=yes"
27254 else
27255 echo "$as_me: failed program was:" >&5
27256 sed 's/^/| /' conftest.$ac_ext >&5
27257
27258 eval "$as_ac_var=no"
27259 fi
27260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27261 fi
27262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27264 if test `eval echo '${'$as_ac_var'}'` = yes; then
27265 cat >>confdefs.h <<_ACEOF
27266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27267 _ACEOF
27268 cat >>confdefs.h <<\_ACEOF
27269 #define HAVE_NANOSLEEP 1
27270 _ACEOF
27271
27272 else
27273
27274 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27275 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27276 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27277 echo $ECHO_N "(cached) $ECHO_C" >&6
27278 else
27279 ac_check_lib_save_LIBS=$LIBS
27280 LIBS="-lposix4 $LIBS"
27281 cat >conftest.$ac_ext <<_ACEOF
27282 #line $LINENO "configure"
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288
27289 /* Override any gcc2 internal prototype to avoid an error. */
27290 #ifdef __cplusplus
27291 extern "C"
27292 #endif
27293 /* We use char because int might match the return type of a gcc2
27294 builtin and then its argument prototype would still apply. */
27295 char nanosleep ();
27296 int
27297 main ()
27298 {
27299 nanosleep ();
27300 ;
27301 return 0;
27302 }
27303 _ACEOF
27304 rm -f conftest.$ac_objext conftest$ac_exeext
27305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27306 (eval $ac_link) 2>&5
27307 ac_status=$?
27308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309 (exit $ac_status); } &&
27310 { ac_try='test -s conftest$ac_exeext'
27311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27312 (eval $ac_try) 2>&5
27313 ac_status=$?
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); }; }; then
27316 ac_cv_lib_posix4_nanosleep=yes
27317 else
27318 echo "$as_me: failed program was:" >&5
27319 sed 's/^/| /' conftest.$ac_ext >&5
27320
27321 ac_cv_lib_posix4_nanosleep=no
27322 fi
27323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27324 LIBS=$ac_check_lib_save_LIBS
27325 fi
27326 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27327 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27328 if test $ac_cv_lib_posix4_nanosleep = yes; then
27329
27330 cat >>confdefs.h <<\_ACEOF
27331 #define HAVE_NANOSLEEP 1
27332 _ACEOF
27333
27334 POSIX4_LINK=" -lposix4"
27335
27336 else
27337
27338
27339 for ac_func in usleep
27340 do
27341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27342 echo "$as_me:$LINENO: checking for $ac_func" >&5
27343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27344 if eval "test \"\${$as_ac_var+set}\" = set"; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27346 else
27347 cat >conftest.$ac_ext <<_ACEOF
27348 #line $LINENO "configure"
27349 /* confdefs.h. */
27350 _ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27354 /* System header to define __stub macros and hopefully few prototypes,
27355 which can conflict with char $ac_func (); below.
27356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27357 <limits.h> exists even on freestanding compilers. */
27358 #ifdef __STDC__
27359 # include <limits.h>
27360 #else
27361 # include <assert.h>
27362 #endif
27363 /* Override any gcc2 internal prototype to avoid an error. */
27364 #ifdef __cplusplus
27365 extern "C"
27366 {
27367 #endif
27368 /* We use char because int might match the return type of a gcc2
27369 builtin and then its argument prototype would still apply. */
27370 char $ac_func ();
27371 /* The GNU C library defines this for functions which it implements
27372 to always fail with ENOSYS. Some functions are actually named
27373 something starting with __ and the normal name is an alias. */
27374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27375 choke me
27376 #else
27377 char (*f) () = $ac_func;
27378 #endif
27379 #ifdef __cplusplus
27380 }
27381 #endif
27382
27383 int
27384 main ()
27385 {
27386 return f != $ac_func;
27387 ;
27388 return 0;
27389 }
27390 _ACEOF
27391 rm -f conftest.$ac_objext conftest$ac_exeext
27392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27393 (eval $ac_link) 2>&5
27394 ac_status=$?
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try='test -s conftest$ac_exeext'
27398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399 (eval $ac_try) 2>&5
27400 ac_status=$?
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); }; }; then
27403 eval "$as_ac_var=yes"
27404 else
27405 echo "$as_me: failed program was:" >&5
27406 sed 's/^/| /' conftest.$ac_ext >&5
27407
27408 eval "$as_ac_var=no"
27409 fi
27410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27411 fi
27412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27414 if test `eval echo '${'$as_ac_var'}'` = yes; then
27415 cat >>confdefs.h <<_ACEOF
27416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27417 _ACEOF
27418 cat >>confdefs.h <<\_ACEOF
27419 #define HAVE_USLEEP 1
27420 _ACEOF
27421
27422 else
27423 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27424 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27425
27426 fi
27427 done
27428
27429
27430
27431 fi
27432
27433
27434
27435 fi
27436 done
27437
27438 fi
27439
27440
27441
27442 for ac_func in uname gethostname
27443 do
27444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27445 echo "$as_me:$LINENO: checking for $ac_func" >&5
27446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27447 if eval "test \"\${$as_ac_var+set}\" = set"; then
27448 echo $ECHO_N "(cached) $ECHO_C" >&6
27449 else
27450 cat >conftest.$ac_ext <<_ACEOF
27451 #line $LINENO "configure"
27452 /* confdefs.h. */
27453 _ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27457 /* System header to define __stub macros and hopefully few prototypes,
27458 which can conflict with char $ac_func (); below.
27459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27460 <limits.h> exists even on freestanding compilers. */
27461 #ifdef __STDC__
27462 # include <limits.h>
27463 #else
27464 # include <assert.h>
27465 #endif
27466 /* Override any gcc2 internal prototype to avoid an error. */
27467 #ifdef __cplusplus
27468 extern "C"
27469 {
27470 #endif
27471 /* We use char because int might match the return type of a gcc2
27472 builtin and then its argument prototype would still apply. */
27473 char $ac_func ();
27474 /* The GNU C library defines this for functions which it implements
27475 to always fail with ENOSYS. Some functions are actually named
27476 something starting with __ and the normal name is an alias. */
27477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27478 choke me
27479 #else
27480 char (*f) () = $ac_func;
27481 #endif
27482 #ifdef __cplusplus
27483 }
27484 #endif
27485
27486 int
27487 main ()
27488 {
27489 return f != $ac_func;
27490 ;
27491 return 0;
27492 }
27493 _ACEOF
27494 rm -f conftest.$ac_objext conftest$ac_exeext
27495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27496 (eval $ac_link) 2>&5
27497 ac_status=$?
27498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27499 (exit $ac_status); } &&
27500 { ac_try='test -s conftest$ac_exeext'
27501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27502 (eval $ac_try) 2>&5
27503 ac_status=$?
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); }; }; then
27506 eval "$as_ac_var=yes"
27507 else
27508 echo "$as_me: failed program was:" >&5
27509 sed 's/^/| /' conftest.$ac_ext >&5
27510
27511 eval "$as_ac_var=no"
27512 fi
27513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27514 fi
27515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27517 if test `eval echo '${'$as_ac_var'}'` = yes; then
27518 cat >>confdefs.h <<_ACEOF
27519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27520 _ACEOF
27521 break
27522 fi
27523 done
27524
27525
27526
27527
27528 ac_ext=cc
27529 ac_cpp='$CXXCPP $CPPFLAGS'
27530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27533
27534
27535
27536 for ac_func in strtok_r
27537 do
27538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27539 echo "$as_me:$LINENO: checking for $ac_func" >&5
27540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27541 if eval "test \"\${$as_ac_var+set}\" = set"; then
27542 echo $ECHO_N "(cached) $ECHO_C" >&6
27543 else
27544 cat >conftest.$ac_ext <<_ACEOF
27545 #line $LINENO "configure"
27546 /* confdefs.h. */
27547 _ACEOF
27548 cat confdefs.h >>conftest.$ac_ext
27549 cat >>conftest.$ac_ext <<_ACEOF
27550 /* end confdefs.h. */
27551 /* System header to define __stub macros and hopefully few prototypes,
27552 which can conflict with char $ac_func (); below.
27553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27554 <limits.h> exists even on freestanding compilers. */
27555 #ifdef __STDC__
27556 # include <limits.h>
27557 #else
27558 # include <assert.h>
27559 #endif
27560 /* Override any gcc2 internal prototype to avoid an error. */
27561 #ifdef __cplusplus
27562 extern "C"
27563 {
27564 #endif
27565 /* We use char because int might match the return type of a gcc2
27566 builtin and then its argument prototype would still apply. */
27567 char $ac_func ();
27568 /* The GNU C library defines this for functions which it implements
27569 to always fail with ENOSYS. Some functions are actually named
27570 something starting with __ and the normal name is an alias. */
27571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27572 choke me
27573 #else
27574 char (*f) () = $ac_func;
27575 #endif
27576 #ifdef __cplusplus
27577 }
27578 #endif
27579
27580 int
27581 main ()
27582 {
27583 return f != $ac_func;
27584 ;
27585 return 0;
27586 }
27587 _ACEOF
27588 rm -f conftest.$ac_objext conftest$ac_exeext
27589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27590 (eval $ac_link) 2>&5
27591 ac_status=$?
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); } &&
27594 { ac_try='test -s conftest$ac_exeext'
27595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27596 (eval $ac_try) 2>&5
27597 ac_status=$?
27598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27599 (exit $ac_status); }; }; then
27600 eval "$as_ac_var=yes"
27601 else
27602 echo "$as_me: failed program was:" >&5
27603 sed 's/^/| /' conftest.$ac_ext >&5
27604
27605 eval "$as_ac_var=no"
27606 fi
27607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27608 fi
27609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27611 if test `eval echo '${'$as_ac_var'}'` = yes; then
27612 cat >>confdefs.h <<_ACEOF
27613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27614 _ACEOF
27615
27616 fi
27617 done
27618
27619
27620 ac_ext=c
27621 ac_cpp='$CPP $CPPFLAGS'
27622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27625
27626
27627 INET_LINK=
27628
27629 for ac_func in inet_addr
27630 do
27631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27632 echo "$as_me:$LINENO: checking for $ac_func" >&5
27633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27634 if eval "test \"\${$as_ac_var+set}\" = set"; then
27635 echo $ECHO_N "(cached) $ECHO_C" >&6
27636 else
27637 cat >conftest.$ac_ext <<_ACEOF
27638 #line $LINENO "configure"
27639 /* confdefs.h. */
27640 _ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27644 /* System header to define __stub macros and hopefully few prototypes,
27645 which can conflict with char $ac_func (); below.
27646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27647 <limits.h> exists even on freestanding compilers. */
27648 #ifdef __STDC__
27649 # include <limits.h>
27650 #else
27651 # include <assert.h>
27652 #endif
27653 /* Override any gcc2 internal prototype to avoid an error. */
27654 #ifdef __cplusplus
27655 extern "C"
27656 {
27657 #endif
27658 /* We use char because int might match the return type of a gcc2
27659 builtin and then its argument prototype would still apply. */
27660 char $ac_func ();
27661 /* The GNU C library defines this for functions which it implements
27662 to always fail with ENOSYS. Some functions are actually named
27663 something starting with __ and the normal name is an alias. */
27664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27665 choke me
27666 #else
27667 char (*f) () = $ac_func;
27668 #endif
27669 #ifdef __cplusplus
27670 }
27671 #endif
27672
27673 int
27674 main ()
27675 {
27676 return f != $ac_func;
27677 ;
27678 return 0;
27679 }
27680 _ACEOF
27681 rm -f conftest.$ac_objext conftest$ac_exeext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27683 (eval $ac_link) 2>&5
27684 ac_status=$?
27685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27686 (exit $ac_status); } &&
27687 { ac_try='test -s conftest$ac_exeext'
27688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27689 (eval $ac_try) 2>&5
27690 ac_status=$?
27691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27692 (exit $ac_status); }; }; then
27693 eval "$as_ac_var=yes"
27694 else
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.$ac_ext >&5
27697
27698 eval "$as_ac_var=no"
27699 fi
27700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27701 fi
27702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27704 if test `eval echo '${'$as_ac_var'}'` = yes; then
27705 cat >>confdefs.h <<_ACEOF
27706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27707 _ACEOF
27708 cat >>confdefs.h <<\_ACEOF
27709 #define HAVE_INET_ADDR 1
27710 _ACEOF
27711
27712 else
27713
27714 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
27715 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
27716 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
27717 echo $ECHO_N "(cached) $ECHO_C" >&6
27718 else
27719 ac_check_lib_save_LIBS=$LIBS
27720 LIBS="-lnsl $LIBS"
27721 cat >conftest.$ac_ext <<_ACEOF
27722 #line $LINENO "configure"
27723 /* confdefs.h. */
27724 _ACEOF
27725 cat confdefs.h >>conftest.$ac_ext
27726 cat >>conftest.$ac_ext <<_ACEOF
27727 /* end confdefs.h. */
27728
27729 /* Override any gcc2 internal prototype to avoid an error. */
27730 #ifdef __cplusplus
27731 extern "C"
27732 #endif
27733 /* We use char because int might match the return type of a gcc2
27734 builtin and then its argument prototype would still apply. */
27735 char inet_addr ();
27736 int
27737 main ()
27738 {
27739 inet_addr ();
27740 ;
27741 return 0;
27742 }
27743 _ACEOF
27744 rm -f conftest.$ac_objext conftest$ac_exeext
27745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27746 (eval $ac_link) 2>&5
27747 ac_status=$?
27748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27749 (exit $ac_status); } &&
27750 { ac_try='test -s conftest$ac_exeext'
27751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27752 (eval $ac_try) 2>&5
27753 ac_status=$?
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); }; }; then
27756 ac_cv_lib_nsl_inet_addr=yes
27757 else
27758 echo "$as_me: failed program was:" >&5
27759 sed 's/^/| /' conftest.$ac_ext >&5
27760
27761 ac_cv_lib_nsl_inet_addr=no
27762 fi
27763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27764 LIBS=$ac_check_lib_save_LIBS
27765 fi
27766 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
27767 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
27768 if test $ac_cv_lib_nsl_inet_addr = yes; then
27769 INET_LINK="nsl"
27770 else
27771 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
27772 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
27773 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
27774 echo $ECHO_N "(cached) $ECHO_C" >&6
27775 else
27776 ac_check_lib_save_LIBS=$LIBS
27777 LIBS="-lresolv $LIBS"
27778 cat >conftest.$ac_ext <<_ACEOF
27779 #line $LINENO "configure"
27780 /* confdefs.h. */
27781 _ACEOF
27782 cat confdefs.h >>conftest.$ac_ext
27783 cat >>conftest.$ac_ext <<_ACEOF
27784 /* end confdefs.h. */
27785
27786 /* Override any gcc2 internal prototype to avoid an error. */
27787 #ifdef __cplusplus
27788 extern "C"
27789 #endif
27790 /* We use char because int might match the return type of a gcc2
27791 builtin and then its argument prototype would still apply. */
27792 char inet_addr ();
27793 int
27794 main ()
27795 {
27796 inet_addr ();
27797 ;
27798 return 0;
27799 }
27800 _ACEOF
27801 rm -f conftest.$ac_objext conftest$ac_exeext
27802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27803 (eval $ac_link) 2>&5
27804 ac_status=$?
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } &&
27807 { ac_try='test -s conftest$ac_exeext'
27808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27809 (eval $ac_try) 2>&5
27810 ac_status=$?
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); }; }; then
27813 ac_cv_lib_resolv_inet_addr=yes
27814 else
27815 echo "$as_me: failed program was:" >&5
27816 sed 's/^/| /' conftest.$ac_ext >&5
27817
27818 ac_cv_lib_resolv_inet_addr=no
27819 fi
27820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27821 LIBS=$ac_check_lib_save_LIBS
27822 fi
27823 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
27824 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
27825 if test $ac_cv_lib_resolv_inet_addr = yes; then
27826 INET_LINK="resolv"
27827 else
27828 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
27829 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
27830 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
27831 echo $ECHO_N "(cached) $ECHO_C" >&6
27832 else
27833 ac_check_lib_save_LIBS=$LIBS
27834 LIBS="-lsocket $LIBS"
27835 cat >conftest.$ac_ext <<_ACEOF
27836 #line $LINENO "configure"
27837 /* confdefs.h. */
27838 _ACEOF
27839 cat confdefs.h >>conftest.$ac_ext
27840 cat >>conftest.$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27842
27843 /* Override any gcc2 internal prototype to avoid an error. */
27844 #ifdef __cplusplus
27845 extern "C"
27846 #endif
27847 /* We use char because int might match the return type of a gcc2
27848 builtin and then its argument prototype would still apply. */
27849 char inet_addr ();
27850 int
27851 main ()
27852 {
27853 inet_addr ();
27854 ;
27855 return 0;
27856 }
27857 _ACEOF
27858 rm -f conftest.$ac_objext conftest$ac_exeext
27859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27860 (eval $ac_link) 2>&5
27861 ac_status=$?
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); } &&
27864 { ac_try='test -s conftest$ac_exeext'
27865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27866 (eval $ac_try) 2>&5
27867 ac_status=$?
27868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869 (exit $ac_status); }; }; then
27870 ac_cv_lib_socket_inet_addr=yes
27871 else
27872 echo "$as_me: failed program was:" >&5
27873 sed 's/^/| /' conftest.$ac_ext >&5
27874
27875 ac_cv_lib_socket_inet_addr=no
27876 fi
27877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27878 LIBS=$ac_check_lib_save_LIBS
27879 fi
27880 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
27881 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
27882 if test $ac_cv_lib_socket_inet_addr = yes; then
27883 INET_LINK="socket"
27884
27885 fi
27886
27887
27888 fi
27889
27890
27891 fi
27892
27893
27894
27895 fi
27896 done
27897
27898
27899
27900 for ac_func in inet_aton
27901 do
27902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27903 echo "$as_me:$LINENO: checking for $ac_func" >&5
27904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27905 if eval "test \"\${$as_ac_var+set}\" = set"; then
27906 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 else
27908 cat >conftest.$ac_ext <<_ACEOF
27909 #line $LINENO "configure"
27910 /* confdefs.h. */
27911 _ACEOF
27912 cat confdefs.h >>conftest.$ac_ext
27913 cat >>conftest.$ac_ext <<_ACEOF
27914 /* end confdefs.h. */
27915 /* System header to define __stub macros and hopefully few prototypes,
27916 which can conflict with char $ac_func (); below.
27917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27918 <limits.h> exists even on freestanding compilers. */
27919 #ifdef __STDC__
27920 # include <limits.h>
27921 #else
27922 # include <assert.h>
27923 #endif
27924 /* Override any gcc2 internal prototype to avoid an error. */
27925 #ifdef __cplusplus
27926 extern "C"
27927 {
27928 #endif
27929 /* We use char because int might match the return type of a gcc2
27930 builtin and then its argument prototype would still apply. */
27931 char $ac_func ();
27932 /* The GNU C library defines this for functions which it implements
27933 to always fail with ENOSYS. Some functions are actually named
27934 something starting with __ and the normal name is an alias. */
27935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27936 choke me
27937 #else
27938 char (*f) () = $ac_func;
27939 #endif
27940 #ifdef __cplusplus
27941 }
27942 #endif
27943
27944 int
27945 main ()
27946 {
27947 return f != $ac_func;
27948 ;
27949 return 0;
27950 }
27951 _ACEOF
27952 rm -f conftest.$ac_objext conftest$ac_exeext
27953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27954 (eval $ac_link) 2>&5
27955 ac_status=$?
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); } &&
27958 { ac_try='test -s conftest$ac_exeext'
27959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27960 (eval $ac_try) 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); }; }; then
27964 eval "$as_ac_var=yes"
27965 else
27966 echo "$as_me: failed program was:" >&5
27967 sed 's/^/| /' conftest.$ac_ext >&5
27968
27969 eval "$as_ac_var=no"
27970 fi
27971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27972 fi
27973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27975 if test `eval echo '${'$as_ac_var'}'` = yes; then
27976 cat >>confdefs.h <<_ACEOF
27977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27978 _ACEOF
27979 cat >>confdefs.h <<\_ACEOF
27980 #define HAVE_INET_ATON 1
27981 _ACEOF
27982
27983 else
27984
27985 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
27986 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
27987 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
27988 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
27989 echo $ECHO_N "(cached) $ECHO_C" >&6
27990 else
27991 ac_check_lib_save_LIBS=$LIBS
27992 LIBS="-l$INET_LINK $LIBS"
27993 cat >conftest.$ac_ext <<_ACEOF
27994 #line $LINENO "configure"
27995 /* confdefs.h. */
27996 _ACEOF
27997 cat confdefs.h >>conftest.$ac_ext
27998 cat >>conftest.$ac_ext <<_ACEOF
27999 /* end confdefs.h. */
28000
28001 /* Override any gcc2 internal prototype to avoid an error. */
28002 #ifdef __cplusplus
28003 extern "C"
28004 #endif
28005 /* We use char because int might match the return type of a gcc2
28006 builtin and then its argument prototype would still apply. */
28007 char inet_aton ();
28008 int
28009 main ()
28010 {
28011 inet_aton ();
28012 ;
28013 return 0;
28014 }
28015 _ACEOF
28016 rm -f conftest.$ac_objext conftest$ac_exeext
28017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28018 (eval $ac_link) 2>&5
28019 ac_status=$?
28020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021 (exit $ac_status); } &&
28022 { ac_try='test -s conftest$ac_exeext'
28023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28024 (eval $ac_try) 2>&5
28025 ac_status=$?
28026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027 (exit $ac_status); }; }; then
28028 eval "$as_ac_Lib=yes"
28029 else
28030 echo "$as_me: failed program was:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28032
28033 eval "$as_ac_Lib=no"
28034 fi
28035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28036 LIBS=$ac_check_lib_save_LIBS
28037 fi
28038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28039 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28040 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28041 cat >>confdefs.h <<\_ACEOF
28042 #define HAVE_INET_ATON 1
28043 _ACEOF
28044
28045 fi
28046
28047
28048 fi
28049 done
28050
28051
28052 if test "x$INET_LINK" != "x"; then
28053 cat >>confdefs.h <<\_ACEOF
28054 #define HAVE_INET_ADDR 1
28055 _ACEOF
28056
28057 INET_LINK=" -l$INET_LINK"
28058 fi
28059
28060 fi
28061
28062
28063
28064 ESD_LINK=
28065 if test "${ac_cv_header_esd_h+set}" = set; then
28066 echo "$as_me:$LINENO: checking for esd.h" >&5
28067 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28068 if test "${ac_cv_header_esd_h+set}" = set; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 fi
28071 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28072 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28073 else
28074 # Is the header compilable?
28075 echo "$as_me:$LINENO: checking esd.h usability" >&5
28076 echo $ECHO_N "checking esd.h usability... $ECHO_C" >&6
28077 cat >conftest.$ac_ext <<_ACEOF
28078 #line $LINENO "configure"
28079 /* confdefs.h. */
28080 _ACEOF
28081 cat confdefs.h >>conftest.$ac_ext
28082 cat >>conftest.$ac_ext <<_ACEOF
28083 /* end confdefs.h. */
28084 $ac_includes_default
28085 #include <esd.h>
28086 _ACEOF
28087 rm -f conftest.$ac_objext
28088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28089 (eval $ac_compile) 2>&5
28090 ac_status=$?
28091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28092 (exit $ac_status); } &&
28093 { ac_try='test -s conftest.$ac_objext'
28094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28095 (eval $ac_try) 2>&5
28096 ac_status=$?
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); }; }; then
28099 ac_header_compiler=yes
28100 else
28101 echo "$as_me: failed program was:" >&5
28102 sed 's/^/| /' conftest.$ac_ext >&5
28103
28104 ac_header_compiler=no
28105 fi
28106 rm -f conftest.$ac_objext conftest.$ac_ext
28107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28108 echo "${ECHO_T}$ac_header_compiler" >&6
28109
28110 # Is the header present?
28111 echo "$as_me:$LINENO: checking esd.h presence" >&5
28112 echo $ECHO_N "checking esd.h presence... $ECHO_C" >&6
28113 cat >conftest.$ac_ext <<_ACEOF
28114 #line $LINENO "configure"
28115 /* confdefs.h. */
28116 _ACEOF
28117 cat confdefs.h >>conftest.$ac_ext
28118 cat >>conftest.$ac_ext <<_ACEOF
28119 /* end confdefs.h. */
28120 #include <esd.h>
28121 _ACEOF
28122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28123 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28124 ac_status=$?
28125 grep -v '^ *+' conftest.er1 >conftest.err
28126 rm -f conftest.er1
28127 cat conftest.err >&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); } >/dev/null; then
28130 if test -s conftest.err; then
28131 ac_cpp_err=$ac_c_preproc_warn_flag
28132 else
28133 ac_cpp_err=
28134 fi
28135 else
28136 ac_cpp_err=yes
28137 fi
28138 if test -z "$ac_cpp_err"; then
28139 ac_header_preproc=yes
28140 else
28141 echo "$as_me: failed program was:" >&5
28142 sed 's/^/| /' conftest.$ac_ext >&5
28143
28144 ac_header_preproc=no
28145 fi
28146 rm -f conftest.err conftest.$ac_ext
28147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28148 echo "${ECHO_T}$ac_header_preproc" >&6
28149
28150 # So? What about this header?
28151 case $ac_header_compiler:$ac_header_preproc in
28152 yes:no )
28153 { echo "$as_me:$LINENO: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&5
28154 echo "$as_me: WARNING: esd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28155 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28156 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28157 (
28158 cat <<\_ASBOX
28159 ## ------------------------------------ ##
28160 ## Report this to bug-autoconf@gnu.org. ##
28161 ## ------------------------------------ ##
28162 _ASBOX
28163 ) |
28164 sed "s/^/$as_me: WARNING: /" >&2
28165 ;;
28166 no:yes )
28167 { echo "$as_me:$LINENO: WARNING: esd.h: present but cannot be compiled" >&5
28168 echo "$as_me: WARNING: esd.h: present but cannot be compiled" >&2;}
28169 { echo "$as_me:$LINENO: WARNING: esd.h: check for missing prerequisite headers?" >&5
28170 echo "$as_me: WARNING: esd.h: check for missing prerequisite headers?" >&2;}
28171 { echo "$as_me:$LINENO: WARNING: esd.h: proceeding with the preprocessor's result" >&5
28172 echo "$as_me: WARNING: esd.h: proceeding with the preprocessor's result" >&2;}
28173 (
28174 cat <<\_ASBOX
28175 ## ------------------------------------ ##
28176 ## Report this to bug-autoconf@gnu.org. ##
28177 ## ------------------------------------ ##
28178 _ASBOX
28179 ) |
28180 sed "s/^/$as_me: WARNING: /" >&2
28181 ;;
28182 esac
28183 echo "$as_me:$LINENO: checking for esd.h" >&5
28184 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6
28185 if test "${ac_cv_header_esd_h+set}" = set; then
28186 echo $ECHO_N "(cached) $ECHO_C" >&6
28187 else
28188 ac_cv_header_esd_h=$ac_header_preproc
28189 fi
28190 echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
28191 echo "${ECHO_T}$ac_cv_header_esd_h" >&6
28192
28193 fi
28194 if test $ac_cv_header_esd_h = yes; then
28195
28196 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28197 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28198 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28199 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 else
28201 ac_check_lib_save_LIBS=$LIBS
28202 LIBS="-lesd $LIBS"
28203 cat >conftest.$ac_ext <<_ACEOF
28204 #line $LINENO "configure"
28205 /* confdefs.h. */
28206 _ACEOF
28207 cat confdefs.h >>conftest.$ac_ext
28208 cat >>conftest.$ac_ext <<_ACEOF
28209 /* end confdefs.h. */
28210
28211 /* Override any gcc2 internal prototype to avoid an error. */
28212 #ifdef __cplusplus
28213 extern "C"
28214 #endif
28215 /* We use char because int might match the return type of a gcc2
28216 builtin and then its argument prototype would still apply. */
28217 char esd_close ();
28218 int
28219 main ()
28220 {
28221 esd_close ();
28222 ;
28223 return 0;
28224 }
28225 _ACEOF
28226 rm -f conftest.$ac_objext conftest$ac_exeext
28227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28228 (eval $ac_link) 2>&5
28229 ac_status=$?
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); } &&
28232 { ac_try='test -s conftest$ac_exeext'
28233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28234 (eval $ac_try) 2>&5
28235 ac_status=$?
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); }; }; then
28238 ac_cv_lib_esd_esd_close=yes
28239 else
28240 echo "$as_me: failed program was:" >&5
28241 sed 's/^/| /' conftest.$ac_ext >&5
28242
28243 ac_cv_lib_esd_esd_close=no
28244 fi
28245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28246 LIBS=$ac_check_lib_save_LIBS
28247 fi
28248 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28249 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28250 if test $ac_cv_lib_esd_esd_close = yes; then
28251
28252 ESD_LINK="-lesd"
28253
28254 fi
28255
28256
28257 fi
28258
28259
28260
28261
28262
28263 cat >confcache <<\_ACEOF
28264 # This file is a shell script that caches the results of configure
28265 # tests run on this system so they can be shared between configure
28266 # scripts and configure runs, see configure's option --config-cache.
28267 # It is not useful on other systems. If it contains results you don't
28268 # want to keep, you may remove or edit it.
28269 #
28270 # config.status only pays attention to the cache file if you give it
28271 # the --recheck option to rerun configure.
28272 #
28273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28275 # following values.
28276
28277 _ACEOF
28278
28279 # The following way of writing the cache mishandles newlines in values,
28280 # but we know of no workaround that is simple, portable, and efficient.
28281 # So, don't put newlines in cache variables' values.
28282 # Ultrix sh set writes to stderr and can't be redirected directly,
28283 # and sets the high bit in the cache file unless we assign to the vars.
28284 {
28285 (set) 2>&1 |
28286 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28287 *ac_space=\ *)
28288 # `set' does not quote correctly, so add quotes (double-quote
28289 # substitution turns \\\\ into \\, and sed turns \\ into \).
28290 sed -n \
28291 "s/'/'\\\\''/g;
28292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28293 ;;
28294 *)
28295 # `set' quotes correctly as required by POSIX, so do not add quotes.
28296 sed -n \
28297 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28298 ;;
28299 esac;
28300 } |
28301 sed '
28302 t clear
28303 : clear
28304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28305 t end
28306 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28307 : end' >>confcache
28308 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28309 if test -w $cache_file; then
28310 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28311 cat confcache >$cache_file
28312 else
28313 echo "not updating unwritable cache $cache_file"
28314 fi
28315 fi
28316 rm -f confcache
28317
28318
28319 CPP_MT_FLAG=
28320 if test "$TOOLKIT" != "MSW"; then
28321
28322
28323 THREADS_LINK=
28324 THREADS_CFLAGS=
28325
28326 if test "$wxUSE_THREADS" = "yes" ; then
28327 if test "$USE_BEOS" = 1; then
28328 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28329 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28330 wxUSE_THREADS="no"
28331 fi
28332 fi
28333
28334 if test "$wxUSE_THREADS" = "yes" ; then
28335
28336
28337 THREAD_OPTS="-pthread"
28338 case "${host}" in
28339 *-*-solaris2* | *-*-sunos4* )
28340 if test "x$GCC" = "xyes"; then
28341 THREAD_OPTS="-pthreads $THREAD_OPTS"
28342 else
28343 THREAD_OPTS="-mt $THREAD_OPTS"
28344 fi
28345 ;;
28346 *-*-freebsd*)
28347 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28348 ;;
28349 *-*-darwin* | *-*-cygwin* )
28350 THREAD_OPTS=""
28351 ;;
28352 *-*-aix*)
28353 THREAD_OPTS="pthreads"
28354 ;;
28355 *-hp-hpux* )
28356 if test "x$GCC" != "xyes"; then
28357 THREAD_OPTS=""
28358 fi
28359 ;;
28360
28361 *-*-irix* )
28362 if test "x$GCC" = "xyes"; then
28363 THREAD_OPTS=""
28364 fi
28365 ;;
28366
28367 *-*-*UnixWare*)
28368 if test "x$GCC" != "xyes"; then
28369 THREAD_OPTS="-Ethread"
28370 fi
28371 ;;
28372 esac
28373
28374 THREAD_OPTS="$THREAD_OPTS pthread none"
28375
28376 THREADS_OK=no
28377 for flag in $THREAD_OPTS; do
28378 case $flag in
28379 none)
28380 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28381 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28382 ;;
28383
28384 -*)
28385 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28386 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28387 THREADS_CFLAGS="$flag"
28388 ;;
28389
28390 *)
28391 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28392 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28393 THREADS_LINK="-l$flag"
28394 ;;
28395 esac
28396
28397 save_LIBS="$LIBS"
28398 save_CFLAGS="$CFLAGS"
28399 LIBS="$THREADS_LINK $LIBS"
28400 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28401
28402 cat >conftest.$ac_ext <<_ACEOF
28403 #line $LINENO "configure"
28404 /* confdefs.h. */
28405 _ACEOF
28406 cat confdefs.h >>conftest.$ac_ext
28407 cat >>conftest.$ac_ext <<_ACEOF
28408 /* end confdefs.h. */
28409 #include <pthread.h>
28410 int
28411 main ()
28412 {
28413 pthread_create(0,0,0,0);
28414 ;
28415 return 0;
28416 }
28417 _ACEOF
28418 rm -f conftest.$ac_objext conftest$ac_exeext
28419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28420 (eval $ac_link) 2>&5
28421 ac_status=$?
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); } &&
28424 { ac_try='test -s conftest$ac_exeext'
28425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28426 (eval $ac_try) 2>&5
28427 ac_status=$?
28428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28429 (exit $ac_status); }; }; then
28430 THREADS_OK=yes
28431 else
28432 echo "$as_me: failed program was:" >&5
28433 sed 's/^/| /' conftest.$ac_ext >&5
28434
28435 fi
28436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28437
28438 LIBS="$save_LIBS"
28439 CFLAGS="$save_CFLAGS"
28440
28441 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28442 echo "${ECHO_T}$THREADS_OK" >&6
28443 if test "x$THREADS_OK" = "xyes"; then
28444 break;
28445 fi
28446
28447 THREADS_LINK=""
28448 THREADS_CFLAGS=""
28449 done
28450
28451 if test "x$THREADS_OK" != "xyes"; then
28452 wxUSE_THREADS=no
28453 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28454 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28455 else
28456 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28457 LIBS="$THREADS_LINK $LIBS"
28458
28459 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28460 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28461 flag=no
28462 case "${host}" in
28463 *-aix*)
28464 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28465 flag="-D_THREAD_SAFE"
28466 ;;
28467 *-freebsd*)
28468 flag="-D_THREAD_SAFE"
28469 ;;
28470 *-hp-hpux* )
28471 flag="-D_REENTRANT"
28472 if test "x$GCC" != "xyes"; then
28473 flag="$flag -D_RWSTD_MULTI_THREAD"
28474 fi
28475 ;;
28476 *solaris* | alpha*-osf*)
28477 flag="-D_REENTRANT"
28478 ;;
28479 esac
28480 echo "$as_me:$LINENO: result: ${flag}" >&5
28481 echo "${ECHO_T}${flag}" >&6
28482 if test "x$flag" != xno; then
28483 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28484 fi
28485
28486 if test "x$THREADS_CFLAGS" != "x"; then
28487 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28488 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28489 fi
28490 fi
28491 fi
28492
28493 if test "$wxUSE_THREADS" = "yes" ; then
28494
28495 for ac_func in thr_setconcurrency
28496 do
28497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28498 echo "$as_me:$LINENO: checking for $ac_func" >&5
28499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28500 if eval "test \"\${$as_ac_var+set}\" = set"; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28502 else
28503 cat >conftest.$ac_ext <<_ACEOF
28504 #line $LINENO "configure"
28505 /* confdefs.h. */
28506 _ACEOF
28507 cat confdefs.h >>conftest.$ac_ext
28508 cat >>conftest.$ac_ext <<_ACEOF
28509 /* end confdefs.h. */
28510 /* System header to define __stub macros and hopefully few prototypes,
28511 which can conflict with char $ac_func (); below.
28512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28513 <limits.h> exists even on freestanding compilers. */
28514 #ifdef __STDC__
28515 # include <limits.h>
28516 #else
28517 # include <assert.h>
28518 #endif
28519 /* Override any gcc2 internal prototype to avoid an error. */
28520 #ifdef __cplusplus
28521 extern "C"
28522 {
28523 #endif
28524 /* We use char because int might match the return type of a gcc2
28525 builtin and then its argument prototype would still apply. */
28526 char $ac_func ();
28527 /* The GNU C library defines this for functions which it implements
28528 to always fail with ENOSYS. Some functions are actually named
28529 something starting with __ and the normal name is an alias. */
28530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28531 choke me
28532 #else
28533 char (*f) () = $ac_func;
28534 #endif
28535 #ifdef __cplusplus
28536 }
28537 #endif
28538
28539 int
28540 main ()
28541 {
28542 return f != $ac_func;
28543 ;
28544 return 0;
28545 }
28546 _ACEOF
28547 rm -f conftest.$ac_objext conftest$ac_exeext
28548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28549 (eval $ac_link) 2>&5
28550 ac_status=$?
28551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28552 (exit $ac_status); } &&
28553 { ac_try='test -s conftest$ac_exeext'
28554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 (eval $ac_try) 2>&5
28556 ac_status=$?
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); }; }; then
28559 eval "$as_ac_var=yes"
28560 else
28561 echo "$as_me: failed program was:" >&5
28562 sed 's/^/| /' conftest.$ac_ext >&5
28563
28564 eval "$as_ac_var=no"
28565 fi
28566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28567 fi
28568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28570 if test `eval echo '${'$as_ac_var'}'` = yes; then
28571 cat >>confdefs.h <<_ACEOF
28572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28573 _ACEOF
28574
28575 fi
28576 done
28577
28578
28579
28580 for ac_header in sched.h
28581 do
28582 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28584 echo "$as_me:$LINENO: checking for $ac_header" >&5
28585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28587 echo $ECHO_N "(cached) $ECHO_C" >&6
28588 fi
28589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28591 else
28592 # Is the header compilable?
28593 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28594 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28595 cat >conftest.$ac_ext <<_ACEOF
28596 #line $LINENO "configure"
28597 /* confdefs.h. */
28598 _ACEOF
28599 cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28602 $ac_includes_default
28603 #include <$ac_header>
28604 _ACEOF
28605 rm -f conftest.$ac_objext
28606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28607 (eval $ac_compile) 2>&5
28608 ac_status=$?
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -s conftest.$ac_objext'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28614 ac_status=$?
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; }; then
28617 ac_header_compiler=yes
28618 else
28619 echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.$ac_ext >&5
28621
28622 ac_header_compiler=no
28623 fi
28624 rm -f conftest.$ac_objext conftest.$ac_ext
28625 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28626 echo "${ECHO_T}$ac_header_compiler" >&6
28627
28628 # Is the header present?
28629 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28630 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28631 cat >conftest.$ac_ext <<_ACEOF
28632 #line $LINENO "configure"
28633 /* confdefs.h. */
28634 _ACEOF
28635 cat confdefs.h >>conftest.$ac_ext
28636 cat >>conftest.$ac_ext <<_ACEOF
28637 /* end confdefs.h. */
28638 #include <$ac_header>
28639 _ACEOF
28640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28642 ac_status=$?
28643 grep -v '^ *+' conftest.er1 >conftest.err
28644 rm -f conftest.er1
28645 cat conftest.err >&5
28646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28647 (exit $ac_status); } >/dev/null; then
28648 if test -s conftest.err; then
28649 ac_cpp_err=$ac_c_preproc_warn_flag
28650 else
28651 ac_cpp_err=
28652 fi
28653 else
28654 ac_cpp_err=yes
28655 fi
28656 if test -z "$ac_cpp_err"; then
28657 ac_header_preproc=yes
28658 else
28659 echo "$as_me: failed program was:" >&5
28660 sed 's/^/| /' conftest.$ac_ext >&5
28661
28662 ac_header_preproc=no
28663 fi
28664 rm -f conftest.err conftest.$ac_ext
28665 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28666 echo "${ECHO_T}$ac_header_preproc" >&6
28667
28668 # So? What about this header?
28669 case $ac_header_compiler:$ac_header_preproc in
28670 yes:no )
28671 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28672 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28675 (
28676 cat <<\_ASBOX
28677 ## ------------------------------------ ##
28678 ## Report this to bug-autoconf@gnu.org. ##
28679 ## ------------------------------------ ##
28680 _ASBOX
28681 ) |
28682 sed "s/^/$as_me: WARNING: /" >&2
28683 ;;
28684 no:yes )
28685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28690 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28691 (
28692 cat <<\_ASBOX
28693 ## ------------------------------------ ##
28694 ## Report this to bug-autoconf@gnu.org. ##
28695 ## ------------------------------------ ##
28696 _ASBOX
28697 ) |
28698 sed "s/^/$as_me: WARNING: /" >&2
28699 ;;
28700 esac
28701 echo "$as_me:$LINENO: checking for $ac_header" >&5
28702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28704 echo $ECHO_N "(cached) $ECHO_C" >&6
28705 else
28706 eval "$as_ac_Header=$ac_header_preproc"
28707 fi
28708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28710
28711 fi
28712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28713 cat >>confdefs.h <<_ACEOF
28714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28715 _ACEOF
28716
28717 fi
28718
28719 done
28720
28721 if test "$ac_cv_header_sched_h" = "yes"; then
28722 echo "$as_me:$LINENO: checking for sched_yield" >&5
28723 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
28724 if test "${ac_cv_func_sched_yield+set}" = set; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28726 else
28727 cat >conftest.$ac_ext <<_ACEOF
28728 #line $LINENO "configure"
28729 /* confdefs.h. */
28730 _ACEOF
28731 cat confdefs.h >>conftest.$ac_ext
28732 cat >>conftest.$ac_ext <<_ACEOF
28733 /* end confdefs.h. */
28734 /* System header to define __stub macros and hopefully few prototypes,
28735 which can conflict with char sched_yield (); below.
28736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28737 <limits.h> exists even on freestanding compilers. */
28738 #ifdef __STDC__
28739 # include <limits.h>
28740 #else
28741 # include <assert.h>
28742 #endif
28743 /* Override any gcc2 internal prototype to avoid an error. */
28744 #ifdef __cplusplus
28745 extern "C"
28746 {
28747 #endif
28748 /* We use char because int might match the return type of a gcc2
28749 builtin and then its argument prototype would still apply. */
28750 char sched_yield ();
28751 /* The GNU C library defines this for functions which it implements
28752 to always fail with ENOSYS. Some functions are actually named
28753 something starting with __ and the normal name is an alias. */
28754 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
28755 choke me
28756 #else
28757 char (*f) () = sched_yield;
28758 #endif
28759 #ifdef __cplusplus
28760 }
28761 #endif
28762
28763 int
28764 main ()
28765 {
28766 return f != sched_yield;
28767 ;
28768 return 0;
28769 }
28770 _ACEOF
28771 rm -f conftest.$ac_objext conftest$ac_exeext
28772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28773 (eval $ac_link) 2>&5
28774 ac_status=$?
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); } &&
28777 { ac_try='test -s conftest$ac_exeext'
28778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28779 (eval $ac_try) 2>&5
28780 ac_status=$?
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); }; }; then
28783 ac_cv_func_sched_yield=yes
28784 else
28785 echo "$as_me: failed program was:" >&5
28786 sed 's/^/| /' conftest.$ac_ext >&5
28787
28788 ac_cv_func_sched_yield=no
28789 fi
28790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28791 fi
28792 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
28793 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
28794 if test $ac_cv_func_sched_yield = yes; then
28795 cat >>confdefs.h <<\_ACEOF
28796 #define HAVE_SCHED_YIELD 1
28797 _ACEOF
28798
28799 else
28800
28801 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
28802 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
28803 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
28804 echo $ECHO_N "(cached) $ECHO_C" >&6
28805 else
28806 ac_check_lib_save_LIBS=$LIBS
28807 LIBS="-lposix4 $LIBS"
28808 cat >conftest.$ac_ext <<_ACEOF
28809 #line $LINENO "configure"
28810 /* confdefs.h. */
28811 _ACEOF
28812 cat confdefs.h >>conftest.$ac_ext
28813 cat >>conftest.$ac_ext <<_ACEOF
28814 /* end confdefs.h. */
28815
28816 /* Override any gcc2 internal prototype to avoid an error. */
28817 #ifdef __cplusplus
28818 extern "C"
28819 #endif
28820 /* We use char because int might match the return type of a gcc2
28821 builtin and then its argument prototype would still apply. */
28822 char sched_yield ();
28823 int
28824 main ()
28825 {
28826 sched_yield ();
28827 ;
28828 return 0;
28829 }
28830 _ACEOF
28831 rm -f conftest.$ac_objext conftest$ac_exeext
28832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28833 (eval $ac_link) 2>&5
28834 ac_status=$?
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); } &&
28837 { ac_try='test -s conftest$ac_exeext'
28838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839 (eval $ac_try) 2>&5
28840 ac_status=$?
28841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842 (exit $ac_status); }; }; then
28843 ac_cv_lib_posix4_sched_yield=yes
28844 else
28845 echo "$as_me: failed program was:" >&5
28846 sed 's/^/| /' conftest.$ac_ext >&5
28847
28848 ac_cv_lib_posix4_sched_yield=no
28849 fi
28850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28851 LIBS=$ac_check_lib_save_LIBS
28852 fi
28853 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
28854 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
28855 if test $ac_cv_lib_posix4_sched_yield = yes; then
28856 cat >>confdefs.h <<\_ACEOF
28857 #define HAVE_SCHED_YIELD 1
28858 _ACEOF
28859 POSIX4_LINK=" -lposix4"
28860 else
28861 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
28862 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
28863
28864 fi
28865
28866
28867
28868 fi
28869
28870 fi
28871
28872 HAVE_PRIOR_FUNCS=0
28873 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
28874 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
28875 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
28876 echo $ECHO_N "(cached) $ECHO_C" >&6
28877 else
28878 cat >conftest.$ac_ext <<_ACEOF
28879 #line $LINENO "configure"
28880 /* confdefs.h. */
28881 _ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885 /* System header to define __stub macros and hopefully few prototypes,
28886 which can conflict with char pthread_attr_getschedpolicy (); below.
28887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28888 <limits.h> exists even on freestanding compilers. */
28889 #ifdef __STDC__
28890 # include <limits.h>
28891 #else
28892 # include <assert.h>
28893 #endif
28894 /* Override any gcc2 internal prototype to avoid an error. */
28895 #ifdef __cplusplus
28896 extern "C"
28897 {
28898 #endif
28899 /* We use char because int might match the return type of a gcc2
28900 builtin and then its argument prototype would still apply. */
28901 char pthread_attr_getschedpolicy ();
28902 /* The GNU C library defines this for functions which it implements
28903 to always fail with ENOSYS. Some functions are actually named
28904 something starting with __ and the normal name is an alias. */
28905 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
28906 choke me
28907 #else
28908 char (*f) () = pthread_attr_getschedpolicy;
28909 #endif
28910 #ifdef __cplusplus
28911 }
28912 #endif
28913
28914 int
28915 main ()
28916 {
28917 return f != pthread_attr_getschedpolicy;
28918 ;
28919 return 0;
28920 }
28921 _ACEOF
28922 rm -f conftest.$ac_objext conftest$ac_exeext
28923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28924 (eval $ac_link) 2>&5
28925 ac_status=$?
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); } &&
28928 { ac_try='test -s conftest$ac_exeext'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28931 ac_status=$?
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; }; then
28934 ac_cv_func_pthread_attr_getschedpolicy=yes
28935 else
28936 echo "$as_me: failed program was:" >&5
28937 sed 's/^/| /' conftest.$ac_ext >&5
28938
28939 ac_cv_func_pthread_attr_getschedpolicy=no
28940 fi
28941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28942 fi
28943 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
28944 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
28945 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
28946 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
28947 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
28948 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
28949 echo $ECHO_N "(cached) $ECHO_C" >&6
28950 else
28951 cat >conftest.$ac_ext <<_ACEOF
28952 #line $LINENO "configure"
28953 /* confdefs.h. */
28954 _ACEOF
28955 cat confdefs.h >>conftest.$ac_ext
28956 cat >>conftest.$ac_ext <<_ACEOF
28957 /* end confdefs.h. */
28958 /* System header to define __stub macros and hopefully few prototypes,
28959 which can conflict with char pthread_attr_setschedparam (); below.
28960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28961 <limits.h> exists even on freestanding compilers. */
28962 #ifdef __STDC__
28963 # include <limits.h>
28964 #else
28965 # include <assert.h>
28966 #endif
28967 /* Override any gcc2 internal prototype to avoid an error. */
28968 #ifdef __cplusplus
28969 extern "C"
28970 {
28971 #endif
28972 /* We use char because int might match the return type of a gcc2
28973 builtin and then its argument prototype would still apply. */
28974 char pthread_attr_setschedparam ();
28975 /* The GNU C library defines this for functions which it implements
28976 to always fail with ENOSYS. Some functions are actually named
28977 something starting with __ and the normal name is an alias. */
28978 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
28979 choke me
28980 #else
28981 char (*f) () = pthread_attr_setschedparam;
28982 #endif
28983 #ifdef __cplusplus
28984 }
28985 #endif
28986
28987 int
28988 main ()
28989 {
28990 return f != pthread_attr_setschedparam;
28991 ;
28992 return 0;
28993 }
28994 _ACEOF
28995 rm -f conftest.$ac_objext conftest$ac_exeext
28996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28997 (eval $ac_link) 2>&5
28998 ac_status=$?
28999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29000 (exit $ac_status); } &&
29001 { ac_try='test -s conftest$ac_exeext'
29002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29003 (eval $ac_try) 2>&5
29004 ac_status=$?
29005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29006 (exit $ac_status); }; }; then
29007 ac_cv_func_pthread_attr_setschedparam=yes
29008 else
29009 echo "$as_me: failed program was:" >&5
29010 sed 's/^/| /' conftest.$ac_ext >&5
29011
29012 ac_cv_func_pthread_attr_setschedparam=no
29013 fi
29014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29015 fi
29016 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29017 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29018 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29019 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29020 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29021 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29022 echo $ECHO_N "(cached) $ECHO_C" >&6
29023 else
29024 cat >conftest.$ac_ext <<_ACEOF
29025 #line $LINENO "configure"
29026 /* confdefs.h. */
29027 _ACEOF
29028 cat confdefs.h >>conftest.$ac_ext
29029 cat >>conftest.$ac_ext <<_ACEOF
29030 /* end confdefs.h. */
29031 /* System header to define __stub macros and hopefully few prototypes,
29032 which can conflict with char sched_get_priority_max (); below.
29033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29034 <limits.h> exists even on freestanding compilers. */
29035 #ifdef __STDC__
29036 # include <limits.h>
29037 #else
29038 # include <assert.h>
29039 #endif
29040 /* Override any gcc2 internal prototype to avoid an error. */
29041 #ifdef __cplusplus
29042 extern "C"
29043 {
29044 #endif
29045 /* We use char because int might match the return type of a gcc2
29046 builtin and then its argument prototype would still apply. */
29047 char sched_get_priority_max ();
29048 /* The GNU C library defines this for functions which it implements
29049 to always fail with ENOSYS. Some functions are actually named
29050 something starting with __ and the normal name is an alias. */
29051 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29052 choke me
29053 #else
29054 char (*f) () = sched_get_priority_max;
29055 #endif
29056 #ifdef __cplusplus
29057 }
29058 #endif
29059
29060 int
29061 main ()
29062 {
29063 return f != sched_get_priority_max;
29064 ;
29065 return 0;
29066 }
29067 _ACEOF
29068 rm -f conftest.$ac_objext conftest$ac_exeext
29069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29070 (eval $ac_link) 2>&5
29071 ac_status=$?
29072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29073 (exit $ac_status); } &&
29074 { ac_try='test -s conftest$ac_exeext'
29075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29076 (eval $ac_try) 2>&5
29077 ac_status=$?
29078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29079 (exit $ac_status); }; }; then
29080 ac_cv_func_sched_get_priority_max=yes
29081 else
29082 echo "$as_me: failed program was:" >&5
29083 sed 's/^/| /' conftest.$ac_ext >&5
29084
29085 ac_cv_func_sched_get_priority_max=no
29086 fi
29087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29088 fi
29089 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29090 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29091 if test $ac_cv_func_sched_get_priority_max = yes; then
29092 HAVE_PRIOR_FUNCS=1
29093 else
29094 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29095 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29096 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29097 echo $ECHO_N "(cached) $ECHO_C" >&6
29098 else
29099 ac_check_lib_save_LIBS=$LIBS
29100 LIBS="-lposix4 $LIBS"
29101 cat >conftest.$ac_ext <<_ACEOF
29102 #line $LINENO "configure"
29103 /* confdefs.h. */
29104 _ACEOF
29105 cat confdefs.h >>conftest.$ac_ext
29106 cat >>conftest.$ac_ext <<_ACEOF
29107 /* end confdefs.h. */
29108
29109 /* Override any gcc2 internal prototype to avoid an error. */
29110 #ifdef __cplusplus
29111 extern "C"
29112 #endif
29113 /* We use char because int might match the return type of a gcc2
29114 builtin and then its argument prototype would still apply. */
29115 char sched_get_priority_max ();
29116 int
29117 main ()
29118 {
29119 sched_get_priority_max ();
29120 ;
29121 return 0;
29122 }
29123 _ACEOF
29124 rm -f conftest.$ac_objext conftest$ac_exeext
29125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29126 (eval $ac_link) 2>&5
29127 ac_status=$?
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); } &&
29130 { ac_try='test -s conftest$ac_exeext'
29131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29132 (eval $ac_try) 2>&5
29133 ac_status=$?
29134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29135 (exit $ac_status); }; }; then
29136 ac_cv_lib_posix4_sched_get_priority_max=yes
29137 else
29138 echo "$as_me: failed program was:" >&5
29139 sed 's/^/| /' conftest.$ac_ext >&5
29140
29141 ac_cv_lib_posix4_sched_get_priority_max=no
29142 fi
29143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29144 LIBS=$ac_check_lib_save_LIBS
29145 fi
29146 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29147 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29148 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29149
29150 HAVE_PRIOR_FUNCS=1
29151 POSIX4_LINK=" -lposix4"
29152
29153 fi
29154
29155
29156 fi
29157
29158
29159 fi
29160
29161
29162 fi
29163
29164
29165 if test "$HAVE_PRIOR_FUNCS" = 1; then
29166 cat >>confdefs.h <<\_ACEOF
29167 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29168 _ACEOF
29169
29170 else
29171 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29172 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29173 fi
29174
29175 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29176 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29177 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29178 echo $ECHO_N "(cached) $ECHO_C" >&6
29179 else
29180 cat >conftest.$ac_ext <<_ACEOF
29181 #line $LINENO "configure"
29182 /* confdefs.h. */
29183 _ACEOF
29184 cat confdefs.h >>conftest.$ac_ext
29185 cat >>conftest.$ac_ext <<_ACEOF
29186 /* end confdefs.h. */
29187 /* System header to define __stub macros and hopefully few prototypes,
29188 which can conflict with char pthread_cancel (); below.
29189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29190 <limits.h> exists even on freestanding compilers. */
29191 #ifdef __STDC__
29192 # include <limits.h>
29193 #else
29194 # include <assert.h>
29195 #endif
29196 /* Override any gcc2 internal prototype to avoid an error. */
29197 #ifdef __cplusplus
29198 extern "C"
29199 {
29200 #endif
29201 /* We use char because int might match the return type of a gcc2
29202 builtin and then its argument prototype would still apply. */
29203 char pthread_cancel ();
29204 /* The GNU C library defines this for functions which it implements
29205 to always fail with ENOSYS. Some functions are actually named
29206 something starting with __ and the normal name is an alias. */
29207 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29208 choke me
29209 #else
29210 char (*f) () = pthread_cancel;
29211 #endif
29212 #ifdef __cplusplus
29213 }
29214 #endif
29215
29216 int
29217 main ()
29218 {
29219 return f != pthread_cancel;
29220 ;
29221 return 0;
29222 }
29223 _ACEOF
29224 rm -f conftest.$ac_objext conftest$ac_exeext
29225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29226 (eval $ac_link) 2>&5
29227 ac_status=$?
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); } &&
29230 { ac_try='test -s conftest$ac_exeext'
29231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29232 (eval $ac_try) 2>&5
29233 ac_status=$?
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); }; }; then
29236 ac_cv_func_pthread_cancel=yes
29237 else
29238 echo "$as_me: failed program was:" >&5
29239 sed 's/^/| /' conftest.$ac_ext >&5
29240
29241 ac_cv_func_pthread_cancel=no
29242 fi
29243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29244 fi
29245 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29246 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29247 if test $ac_cv_func_pthread_cancel = yes; then
29248 cat >>confdefs.h <<\_ACEOF
29249 #define HAVE_PTHREAD_CANCEL 1
29250 _ACEOF
29251
29252 else
29253 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29254 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29255 fi
29256
29257
29258 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29259 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29260 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29261 echo $ECHO_N "(cached) $ECHO_C" >&6
29262 else
29263
29264 cat >conftest.$ac_ext <<_ACEOF
29265 #line $LINENO "configure"
29266 /* confdefs.h. */
29267 _ACEOF
29268 cat confdefs.h >>conftest.$ac_ext
29269 cat >>conftest.$ac_ext <<_ACEOF
29270 /* end confdefs.h. */
29271 #include <pthread.h>
29272 int
29273 main ()
29274 {
29275
29276 pthread_cleanup_push(NULL, NULL);
29277 pthread_cleanup_pop(0);
29278
29279 ;
29280 return 0;
29281 }
29282 _ACEOF
29283 rm -f conftest.$ac_objext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29285 (eval $ac_compile) 2>&5
29286 ac_status=$?
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); } &&
29289 { ac_try='test -s conftest.$ac_objext'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; }; then
29295
29296 wx_cv_func_pthread_cleanup_push=yes
29297
29298 else
29299 echo "$as_me: failed program was:" >&5
29300 sed 's/^/| /' conftest.$ac_ext >&5
29301
29302
29303 wx_cv_func_pthread_cleanup_push=no
29304
29305 fi
29306 rm -f conftest.$ac_objext conftest.$ac_ext
29307
29308 fi
29309 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29310 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29311
29312 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29313 cat >>confdefs.h <<\_ACEOF
29314 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29315 _ACEOF
29316
29317 fi
29318
29319
29320 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29321 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29322 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29324 else
29325
29326 cat >conftest.$ac_ext <<_ACEOF
29327 #line $LINENO "configure"
29328 /* confdefs.h. */
29329 _ACEOF
29330 cat confdefs.h >>conftest.$ac_ext
29331 cat >>conftest.$ac_ext <<_ACEOF
29332 /* end confdefs.h. */
29333 #include <pthread.h>
29334 int
29335 main ()
29336 {
29337
29338 pthread_mutexattr_t attr;
29339 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29340
29341 ;
29342 return 0;
29343 }
29344 _ACEOF
29345 rm -f conftest.$ac_objext
29346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29347 (eval $ac_compile) 2>&5
29348 ac_status=$?
29349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29350 (exit $ac_status); } &&
29351 { ac_try='test -s conftest.$ac_objext'
29352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29353 (eval $ac_try) 2>&5
29354 ac_status=$?
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); }; }; then
29357
29358 wx_cv_type_pthread_mutexattr_t=yes
29359
29360 else
29361 echo "$as_me: failed program was:" >&5
29362 sed 's/^/| /' conftest.$ac_ext >&5
29363
29364
29365 wx_cv_type_pthread_mutexattr_t=no
29366
29367
29368 fi
29369 rm -f conftest.$ac_objext conftest.$ac_ext
29370
29371 fi
29372 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29373 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29374
29375 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29376 cat >>confdefs.h <<\_ACEOF
29377 #define HAVE_PTHREAD_MUTEXATTR_T 1
29378 _ACEOF
29379
29380 else
29381 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29382 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29383 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29384 echo $ECHO_N "(cached) $ECHO_C" >&6
29385 else
29386
29387 cat >conftest.$ac_ext <<_ACEOF
29388 #line $LINENO "configure"
29389 /* confdefs.h. */
29390 _ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394 #include <pthread.h>
29395 int
29396 main ()
29397 {
29398
29399 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29400
29401 ;
29402 return 0;
29403 }
29404 _ACEOF
29405 rm -f conftest.$ac_objext
29406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29407 (eval $ac_compile) 2>&5
29408 ac_status=$?
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } &&
29411 { ac_try='test -s conftest.$ac_objext'
29412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29413 (eval $ac_try) 2>&5
29414 ac_status=$?
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); }; }; then
29417
29418 wx_cv_type_pthread_rec_mutex_init=yes
29419
29420 else
29421 echo "$as_me: failed program was:" >&5
29422 sed 's/^/| /' conftest.$ac_ext >&5
29423
29424
29425 wx_cv_type_pthread_rec_mutex_init=no
29426
29427
29428 fi
29429 rm -f conftest.$ac_objext conftest.$ac_ext
29430
29431 fi
29432 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29433 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29434 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29435 cat >>confdefs.h <<\_ACEOF
29436 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29437 _ACEOF
29438
29439 else
29440 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29441 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29442 fi
29443 fi
29444 fi
29445
29446 else
29447 if test "$wxUSE_THREADS" = "yes" ; then
29448 case "${host}" in
29449 *-*-mingw32* )
29450 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29451 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29452 if test "${wx_cv_cflags_mthread+set}" = set; then
29453 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 else
29455
29456 CFLAGS_OLD="$CFLAGS"
29457 CFLAGS="$CFLAGS -mthreads"
29458 cat >conftest.$ac_ext <<_ACEOF
29459 #line $LINENO "configure"
29460 /* confdefs.h. */
29461 _ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29465
29466 int
29467 main ()
29468 {
29469
29470 ;
29471 return 0;
29472 }
29473 _ACEOF
29474 rm -f conftest.$ac_objext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29476 (eval $ac_compile) 2>&5
29477 ac_status=$?
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try='test -s conftest.$ac_objext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29486 wx_cv_cflags_mthread=yes
29487 else
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.$ac_ext >&5
29490
29491 wx_cv_cflags_mthread=no
29492
29493 fi
29494 rm -f conftest.$ac_objext conftest.$ac_ext
29495
29496
29497 fi
29498 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29499 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29500
29501 if test "$wx_cv_cflags_mthread" = "yes"; then
29502 CXXFLAGS="$CXXFLAGS -mthreads"
29503 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29504 LDFLAGS="$LDFLAGS -mthreads"
29505 else
29506 CFLAGS="$CFLAGS_OLD"
29507 fi
29508 ;;
29509 esac
29510 fi
29511 fi
29512
29513 if test "$wxUSE_THREADS" = "yes"; then
29514 cat >>confdefs.h <<\_ACEOF
29515 #define wxUSE_THREADS 1
29516 _ACEOF
29517
29518
29519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29520 else
29521 if test "$ac_cv_func_strtok_r" = "yes"; then
29522 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29523 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29524 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29525 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29526 echo "$as_me:$LINENO: result: yes" >&5
29527 echo "${ECHO_T}yes" >&6
29528 else
29529 echo "$as_me:$LINENO: result: no" >&5
29530 echo "${ECHO_T}no" >&6
29531 fi
29532 fi
29533 fi
29534
29535 if test "$WXGTK20" = 1 ; then
29536 cat >>confdefs.h <<_ACEOF
29537 #define __WXGTK20__ $WXGTK20
29538 _ACEOF
29539
29540 WXGTK12=1
29541 fi
29542
29543 if test "$WXGTK12" = 1 ; then
29544 cat >>confdefs.h <<_ACEOF
29545 #define __WXGTK12__ $WXGTK12
29546 _ACEOF
29547
29548 fi
29549
29550 if test "$WXGTK127" = 1 ; then
29551 cat >>confdefs.h <<_ACEOF
29552 #define __WXGTK127__ $WXGTK127
29553 _ACEOF
29554
29555 fi
29556
29557 WXDEBUG=
29558
29559 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29560 WXDEBUG="-g"
29561 wxUSE_OPTIMISE=no
29562 fi
29563
29564 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29565 wxUSE_DEBUG_INFO=yes
29566 WXDEBUG="-ggdb"
29567 fi
29568
29569 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29570 cat >>confdefs.h <<\_ACEOF
29571 #define WXDEBUG 1
29572 _ACEOF
29573
29574 WXDEBUG_DEFINE="-D__WXDEBUG__"
29575 else
29576 if test "$wxUSE_GTK" = 1 ; then
29577 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29578 fi
29579 fi
29580
29581 if test "$wxUSE_MEM_TRACING" = "yes" ; then
29582 cat >>confdefs.h <<\_ACEOF
29583 #define wxUSE_MEMORY_TRACING 1
29584 _ACEOF
29585
29586 cat >>confdefs.h <<\_ACEOF
29587 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
29588 _ACEOF
29589
29590 cat >>confdefs.h <<\_ACEOF
29591 #define wxUSE_DEBUG_NEW_ALWAYS 1
29592 _ACEOF
29593
29594 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
29595 fi
29596
29597 if test "$wxUSE_DMALLOC" = "yes" ; then
29598 DMALLOC_LIBS="-ldmalloc"
29599 fi
29600
29601 PROFILE=
29602 if test "$wxUSE_PROFILE" = "yes" ; then
29603 PROFILE=" -pg"
29604 fi
29605
29606 CODE_GEN_FLAGS=
29607 CODE_GEN_FLAGS_CXX=
29608 if test "$GCC" = "yes" ; then
29609 if test "$wxUSE_NO_RTTI" = "yes" ; then
29610 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
29611 fi
29612 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
29613 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
29614 fi
29615 if test "$wxUSE_PERMISSIVE" = "yes" ; then
29616 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
29617 fi
29618
29619 case "${host}" in
29620 powerpc*-*-aix* )
29621 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
29622 ;;
29623 *-hppa* )
29624 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
29625 ;;
29626 esac
29627 fi
29628
29629 OPTIMISE=
29630 if test "$wxUSE_OPTIMISE" = "no" ; then
29631 if test "$GCC" = yes ; then
29632 OPTIMISE="-O0"
29633 fi
29634 else
29635 if test "$GCC" = yes ; then
29636 OPTIMISE="-O2"
29637
29638 case "${host}" in
29639 i586-*-*|i686-*-* )
29640 OPTIMISE="${OPTIMISE} "
29641 ;;
29642 esac
29643 else
29644 OPTIMISE="-O"
29645 fi
29646 fi
29647
29648
29649 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
29650 cat >>confdefs.h <<\_ACEOF
29651 #define WXWIN_COMPATIBILITY_2 1
29652 _ACEOF
29653
29654
29655 WXWIN_COMPATIBILITY_2_2="yes"
29656 fi
29657
29658 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
29659 cat >>confdefs.h <<\_ACEOF
29660 #define WXWIN_COMPATIBILITY_2_2 1
29661 _ACEOF
29662
29663
29664 WXWIN_COMPATIBILITY_2_4="yes"
29665 fi
29666
29667 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
29668 cat >>confdefs.h <<\_ACEOF
29669 #define WXWIN_COMPATIBILITY_2_4 1
29670 _ACEOF
29671
29672 fi
29673
29674
29675 if test "$wxUSE_GUI" = "yes"; then
29676 cat >>confdefs.h <<\_ACEOF
29677 #define wxUSE_GUI 1
29678 _ACEOF
29679
29680
29681 else
29682 cat >>confdefs.h <<\_ACEOF
29683 #define wxUSE_NOGUI 1
29684 _ACEOF
29685
29686 fi
29687
29688
29689 if test "$wxUSE_UNIX" = "yes"; then
29690 cat >>confdefs.h <<\_ACEOF
29691 #define wxUSE_UNIX 1
29692 _ACEOF
29693
29694 fi
29695
29696
29697 if test "$wxUSE_STL" = "yes"; then
29698 cat >>confdefs.h <<\_ACEOF
29699 #define wxUSE_STL 1
29700 _ACEOF
29701
29702 fi
29703
29704 if test "$wxUSE_APPLE_IEEE" = "yes"; then
29705 cat >>confdefs.h <<\_ACEOF
29706 #define wxUSE_APPLE_IEEE 1
29707 _ACEOF
29708
29709 fi
29710
29711 if test "$wxUSE_TIMER" = "yes"; then
29712 cat >>confdefs.h <<\_ACEOF
29713 #define wxUSE_TIMER 1
29714 _ACEOF
29715
29716 fi
29717
29718 if test "$wxUSE_WAVE" = "yes"; then
29719 cat >>confdefs.h <<\_ACEOF
29720 #define wxUSE_WAVE 1
29721 _ACEOF
29722
29723 fi
29724
29725 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
29726 cat >>confdefs.h <<\_ACEOF
29727 #define wxUSE_CMDLINE_PARSER 1
29728 _ACEOF
29729
29730 fi
29731
29732 if test "$wxUSE_STOPWATCH" = "yes"; then
29733 cat >>confdefs.h <<\_ACEOF
29734 #define wxUSE_STOPWATCH 1
29735 _ACEOF
29736
29737 fi
29738
29739 if test "$wxUSE_DATETIME" = "yes"; then
29740 cat >>confdefs.h <<\_ACEOF
29741 #define wxUSE_DATETIME 1
29742 _ACEOF
29743
29744 fi
29745
29746 if test "$wxUSE_FILE" = "yes"; then
29747 cat >>confdefs.h <<\_ACEOF
29748 #define wxUSE_FILE 1
29749 _ACEOF
29750
29751 fi
29752
29753 if test "$wxUSE_FFILE" = "yes"; then
29754 cat >>confdefs.h <<\_ACEOF
29755 #define wxUSE_FFILE 1
29756 _ACEOF
29757
29758 fi
29759
29760 if test "$wxUSE_FILESYSTEM" = "yes"; then
29761 cat >>confdefs.h <<\_ACEOF
29762 #define wxUSE_FILESYSTEM 1
29763 _ACEOF
29764
29765 fi
29766
29767 if test "$wxUSE_FS_INET" = "yes"; then
29768 cat >>confdefs.h <<\_ACEOF
29769 #define wxUSE_FS_INET 1
29770 _ACEOF
29771
29772 fi
29773
29774 if test "$wxUSE_FS_ZIP" = "yes"; then
29775 cat >>confdefs.h <<\_ACEOF
29776 #define wxUSE_FS_ZIP 1
29777 _ACEOF
29778
29779 fi
29780
29781 if test "$wxUSE_ZIPSTREAM" = "yes"; then
29782 cat >>confdefs.h <<\_ACEOF
29783 #define wxUSE_ZIPSTREAM 1
29784 _ACEOF
29785
29786 fi
29787
29788 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
29789 cat >>confdefs.h <<\_ACEOF
29790 #define wxUSE_ON_FATAL_EXCEPTION 1
29791 _ACEOF
29792
29793 fi
29794
29795 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29796 cat >>confdefs.h <<\_ACEOF
29797 #define wxUSE_SNGLINST_CHECKER 1
29798 _ACEOF
29799
29800 fi
29801
29802 if test "$wxUSE_BUSYINFO" = "yes"; then
29803 cat >>confdefs.h <<\_ACEOF
29804 #define wxUSE_BUSYINFO 1
29805 _ACEOF
29806
29807 fi
29808
29809 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
29810 cat >>confdefs.h <<\_ACEOF
29811 #define wxUSE_STD_IOSTREAM 1
29812 _ACEOF
29813
29814 fi
29815
29816 if test "$wxUSE_TEXTBUFFER" = "yes"; then
29817 cat >>confdefs.h <<\_ACEOF
29818 #define wxUSE_TEXTBUFFER 1
29819 _ACEOF
29820
29821 fi
29822
29823 if test "$wxUSE_TEXTFILE" = "yes"; then
29824 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
29825 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
29826 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
29827 else
29828 cat >>confdefs.h <<\_ACEOF
29829 #define wxUSE_TEXTFILE 1
29830 _ACEOF
29831
29832 fi
29833 fi
29834
29835 if test "$wxUSE_CONFIG" = "yes" ; then
29836 if test "$wxUSE_TEXTFILE" != "yes"; then
29837 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
29838 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
29839 else
29840 cat >>confdefs.h <<\_ACEOF
29841 #define wxUSE_CONFIG 1
29842 _ACEOF
29843
29844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
29845 fi
29846 fi
29847
29848 if test "$wxUSE_INTL" = "yes" ; then
29849 if test "$wxUSE_FILE" != "yes"; then
29850 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
29851 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
29852 else
29853 cat >>confdefs.h <<\_ACEOF
29854 #define wxUSE_INTL 1
29855 _ACEOF
29856
29857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
29858 GUIDIST="$GUIDIST INTL_DIST"
29859 fi
29860 fi
29861
29862 if test "$wxUSE_LOG" = "yes"; then
29863 cat >>confdefs.h <<\_ACEOF
29864 #define wxUSE_LOG 1
29865 _ACEOF
29866
29867
29868 if test "$wxUSE_LOGGUI" = "yes"; then
29869 cat >>confdefs.h <<\_ACEOF
29870 #define wxUSE_LOGGUI 1
29871 _ACEOF
29872
29873 fi
29874
29875 if test "$wxUSE_LOGWINDOW" = "yes"; then
29876 cat >>confdefs.h <<\_ACEOF
29877 #define wxUSE_LOGWINDOW 1
29878 _ACEOF
29879
29880 fi
29881
29882 if test "$wxUSE_LOGDIALOG" = "yes"; then
29883 cat >>confdefs.h <<\_ACEOF
29884 #define wxUSE_LOG_DIALOG 1
29885 _ACEOF
29886
29887 fi
29888 fi
29889
29890 if test "$wxUSE_LONGLONG" = "yes"; then
29891 cat >>confdefs.h <<\_ACEOF
29892 #define wxUSE_LONGLONG 1
29893 _ACEOF
29894
29895 fi
29896
29897 if test "$wxUSE_GEOMETRY" = "yes"; then
29898 cat >>confdefs.h <<\_ACEOF
29899 #define wxUSE_GEOMETRY 1
29900 _ACEOF
29901
29902 fi
29903
29904 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
29905 cat >>confdefs.h <<\_ACEOF
29906 #define wxUSE_DIALUP_MANAGER 1
29907 _ACEOF
29908
29909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
29910 fi
29911
29912 if test "$wxUSE_STREAMS" = "yes" ; then
29913 cat >>confdefs.h <<\_ACEOF
29914 #define wxUSE_STREAMS 1
29915 _ACEOF
29916
29917 fi
29918
29919
29920 if test "$wxUSE_DATETIME" = "yes"; then
29921
29922 for ac_func in strptime
29923 do
29924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29925 echo "$as_me:$LINENO: checking for $ac_func" >&5
29926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29927 if eval "test \"\${$as_ac_var+set}\" = set"; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29929 else
29930 cat >conftest.$ac_ext <<_ACEOF
29931 #line $LINENO "configure"
29932 /* confdefs.h. */
29933 _ACEOF
29934 cat confdefs.h >>conftest.$ac_ext
29935 cat >>conftest.$ac_ext <<_ACEOF
29936 /* end confdefs.h. */
29937 /* System header to define __stub macros and hopefully few prototypes,
29938 which can conflict with char $ac_func (); below.
29939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29940 <limits.h> exists even on freestanding compilers. */
29941 #ifdef __STDC__
29942 # include <limits.h>
29943 #else
29944 # include <assert.h>
29945 #endif
29946 /* Override any gcc2 internal prototype to avoid an error. */
29947 #ifdef __cplusplus
29948 extern "C"
29949 {
29950 #endif
29951 /* We use char because int might match the return type of a gcc2
29952 builtin and then its argument prototype would still apply. */
29953 char $ac_func ();
29954 /* The GNU C library defines this for functions which it implements
29955 to always fail with ENOSYS. Some functions are actually named
29956 something starting with __ and the normal name is an alias. */
29957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29958 choke me
29959 #else
29960 char (*f) () = $ac_func;
29961 #endif
29962 #ifdef __cplusplus
29963 }
29964 #endif
29965
29966 int
29967 main ()
29968 {
29969 return f != $ac_func;
29970 ;
29971 return 0;
29972 }
29973 _ACEOF
29974 rm -f conftest.$ac_objext conftest$ac_exeext
29975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29976 (eval $ac_link) 2>&5
29977 ac_status=$?
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); } &&
29980 { ac_try='test -s conftest$ac_exeext'
29981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29982 (eval $ac_try) 2>&5
29983 ac_status=$?
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); }; }; then
29986 eval "$as_ac_var=yes"
29987 else
29988 echo "$as_me: failed program was:" >&5
29989 sed 's/^/| /' conftest.$ac_ext >&5
29990
29991 eval "$as_ac_var=no"
29992 fi
29993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29994 fi
29995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29997 if test `eval echo '${'$as_ac_var'}'` = yes; then
29998 cat >>confdefs.h <<_ACEOF
29999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30000 _ACEOF
30001
30002 fi
30003 done
30004
30005
30006 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30007 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30008 if test "${wx_cv_var_timezone+set}" = set; then
30009 echo $ECHO_N "(cached) $ECHO_C" >&6
30010 else
30011
30012 cat >conftest.$ac_ext <<_ACEOF
30013 #line $LINENO "configure"
30014 /* confdefs.h. */
30015 _ACEOF
30016 cat confdefs.h >>conftest.$ac_ext
30017 cat >>conftest.$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30019
30020 #include <time.h>
30021
30022 int
30023 main ()
30024 {
30025
30026 int tz;
30027 tz = timezone;
30028
30029 ;
30030 return 0;
30031 }
30032 _ACEOF
30033 rm -f conftest.$ac_objext
30034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30035 (eval $ac_compile) 2>&5
30036 ac_status=$?
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); } &&
30039 { ac_try='test -s conftest.$ac_objext'
30040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041 (eval $ac_try) 2>&5
30042 ac_status=$?
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); }; }; then
30045
30046 wx_cv_var_timezone=timezone
30047
30048 else
30049 echo "$as_me: failed program was:" >&5
30050 sed 's/^/| /' conftest.$ac_ext >&5
30051
30052
30053 cat >conftest.$ac_ext <<_ACEOF
30054 #line $LINENO "configure"
30055 /* confdefs.h. */
30056 _ACEOF
30057 cat confdefs.h >>conftest.$ac_ext
30058 cat >>conftest.$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30060
30061 #include <time.h>
30062
30063 int
30064 main ()
30065 {
30066
30067 int tz;
30068 tz = _timezone;
30069
30070 ;
30071 return 0;
30072 }
30073 _ACEOF
30074 rm -f conftest.$ac_objext
30075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30076 (eval $ac_compile) 2>&5
30077 ac_status=$?
30078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079 (exit $ac_status); } &&
30080 { ac_try='test -s conftest.$ac_objext'
30081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30082 (eval $ac_try) 2>&5
30083 ac_status=$?
30084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30085 (exit $ac_status); }; }; then
30086
30087 wx_cv_var_timezone=_timezone
30088
30089 else
30090 echo "$as_me: failed program was:" >&5
30091 sed 's/^/| /' conftest.$ac_ext >&5
30092
30093
30094 cat >conftest.$ac_ext <<_ACEOF
30095 #line $LINENO "configure"
30096 /* confdefs.h. */
30097 _ACEOF
30098 cat confdefs.h >>conftest.$ac_ext
30099 cat >>conftest.$ac_ext <<_ACEOF
30100 /* end confdefs.h. */
30101
30102 #include <time.h>
30103
30104 int
30105 main ()
30106 {
30107
30108 int tz;
30109 tz = __timezone;
30110
30111 ;
30112 return 0;
30113 }
30114 _ACEOF
30115 rm -f conftest.$ac_objext
30116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30117 (eval $ac_compile) 2>&5
30118 ac_status=$?
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } &&
30121 { ac_try='test -s conftest.$ac_objext'
30122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30123 (eval $ac_try) 2>&5
30124 ac_status=$?
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); }; }; then
30127
30128 wx_cv_var_timezone=__timezone
30129
30130 else
30131 echo "$as_me: failed program was:" >&5
30132 sed 's/^/| /' conftest.$ac_ext >&5
30133
30134
30135 if test "$USE_DOS" = 0 ; then
30136 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30137 echo "$as_me: WARNING: no timezone variable" >&2;}
30138 fi
30139
30140
30141 fi
30142 rm -f conftest.$ac_objext conftest.$ac_ext
30143
30144
30145 fi
30146 rm -f conftest.$ac_objext conftest.$ac_ext
30147
30148
30149 fi
30150 rm -f conftest.$ac_objext conftest.$ac_ext
30151
30152
30153 fi
30154 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30155 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30156
30157 if test "x$wx_cv_var_timezone" != x ; then
30158 cat >>confdefs.h <<_ACEOF
30159 #define WX_TIMEZONE $wx_cv_var_timezone
30160 _ACEOF
30161
30162 fi
30163
30164
30165 for ac_func in localtime
30166 do
30167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30168 echo "$as_me:$LINENO: checking for $ac_func" >&5
30169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30170 if eval "test \"\${$as_ac_var+set}\" = set"; then
30171 echo $ECHO_N "(cached) $ECHO_C" >&6
30172 else
30173 cat >conftest.$ac_ext <<_ACEOF
30174 #line $LINENO "configure"
30175 /* confdefs.h. */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30180 /* System header to define __stub macros and hopefully few prototypes,
30181 which can conflict with char $ac_func (); below.
30182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30183 <limits.h> exists even on freestanding compilers. */
30184 #ifdef __STDC__
30185 # include <limits.h>
30186 #else
30187 # include <assert.h>
30188 #endif
30189 /* Override any gcc2 internal prototype to avoid an error. */
30190 #ifdef __cplusplus
30191 extern "C"
30192 {
30193 #endif
30194 /* We use char because int might match the return type of a gcc2
30195 builtin and then its argument prototype would still apply. */
30196 char $ac_func ();
30197 /* The GNU C library defines this for functions which it implements
30198 to always fail with ENOSYS. Some functions are actually named
30199 something starting with __ and the normal name is an alias. */
30200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30201 choke me
30202 #else
30203 char (*f) () = $ac_func;
30204 #endif
30205 #ifdef __cplusplus
30206 }
30207 #endif
30208
30209 int
30210 main ()
30211 {
30212 return f != $ac_func;
30213 ;
30214 return 0;
30215 }
30216 _ACEOF
30217 rm -f conftest.$ac_objext conftest$ac_exeext
30218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30219 (eval $ac_link) 2>&5
30220 ac_status=$?
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } &&
30223 { ac_try='test -s conftest$ac_exeext'
30224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30225 (eval $ac_try) 2>&5
30226 ac_status=$?
30227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228 (exit $ac_status); }; }; then
30229 eval "$as_ac_var=yes"
30230 else
30231 echo "$as_me: failed program was:" >&5
30232 sed 's/^/| /' conftest.$ac_ext >&5
30233
30234 eval "$as_ac_var=no"
30235 fi
30236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30237 fi
30238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30240 if test `eval echo '${'$as_ac_var'}'` = yes; then
30241 cat >>confdefs.h <<_ACEOF
30242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30243 _ACEOF
30244
30245 fi
30246 done
30247
30248
30249 if test "$ac_cv_func_localtime" = "yes"; then
30250 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30251 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30252 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30253 echo $ECHO_N "(cached) $ECHO_C" >&6
30254 else
30255
30256 cat >conftest.$ac_ext <<_ACEOF
30257 #line $LINENO "configure"
30258 /* confdefs.h. */
30259 _ACEOF
30260 cat confdefs.h >>conftest.$ac_ext
30261 cat >>conftest.$ac_ext <<_ACEOF
30262 /* end confdefs.h. */
30263
30264 #include <time.h>
30265
30266 int
30267 main ()
30268 {
30269
30270 struct tm tm;
30271 tm.tm_gmtoff++;
30272
30273 ;
30274 return 0;
30275 }
30276 _ACEOF
30277 rm -f conftest.$ac_objext
30278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30279 (eval $ac_compile) 2>&5
30280 ac_status=$?
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); } &&
30283 { ac_try='test -s conftest.$ac_objext'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30286 ac_status=$?
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; }; then
30289
30290 wx_cv_struct_tm_has_gmtoff=yes
30291
30292 else
30293 echo "$as_me: failed program was:" >&5
30294 sed 's/^/| /' conftest.$ac_ext >&5
30295
30296 wx_cv_struct_tm_has_gmtoff=no
30297
30298 fi
30299 rm -f conftest.$ac_objext conftest.$ac_ext
30300
30301 fi
30302 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30303 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30304 fi
30305
30306 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30307 cat >>confdefs.h <<\_ACEOF
30308 #define WX_GMTOFF_IN_TM 1
30309 _ACEOF
30310
30311 fi
30312
30313
30314
30315 for ac_func in gettimeofday ftime
30316 do
30317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30318 echo "$as_me:$LINENO: checking for $ac_func" >&5
30319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30320 if eval "test \"\${$as_ac_var+set}\" = set"; then
30321 echo $ECHO_N "(cached) $ECHO_C" >&6
30322 else
30323 cat >conftest.$ac_ext <<_ACEOF
30324 #line $LINENO "configure"
30325 /* confdefs.h. */
30326 _ACEOF
30327 cat confdefs.h >>conftest.$ac_ext
30328 cat >>conftest.$ac_ext <<_ACEOF
30329 /* end confdefs.h. */
30330 /* System header to define __stub macros and hopefully few prototypes,
30331 which can conflict with char $ac_func (); below.
30332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30333 <limits.h> exists even on freestanding compilers. */
30334 #ifdef __STDC__
30335 # include <limits.h>
30336 #else
30337 # include <assert.h>
30338 #endif
30339 /* Override any gcc2 internal prototype to avoid an error. */
30340 #ifdef __cplusplus
30341 extern "C"
30342 {
30343 #endif
30344 /* We use char because int might match the return type of a gcc2
30345 builtin and then its argument prototype would still apply. */
30346 char $ac_func ();
30347 /* The GNU C library defines this for functions which it implements
30348 to always fail with ENOSYS. Some functions are actually named
30349 something starting with __ and the normal name is an alias. */
30350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30351 choke me
30352 #else
30353 char (*f) () = $ac_func;
30354 #endif
30355 #ifdef __cplusplus
30356 }
30357 #endif
30358
30359 int
30360 main ()
30361 {
30362 return f != $ac_func;
30363 ;
30364 return 0;
30365 }
30366 _ACEOF
30367 rm -f conftest.$ac_objext conftest$ac_exeext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30369 (eval $ac_link) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30376 ac_status=$?
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 eval "$as_ac_var=yes"
30380 else
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30383
30384 eval "$as_ac_var=no"
30385 fi
30386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30387 fi
30388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30390 if test `eval echo '${'$as_ac_var'}'` = yes; then
30391 cat >>confdefs.h <<_ACEOF
30392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30393 _ACEOF
30394 break
30395 fi
30396 done
30397
30398
30399 if test "$ac_cv_func_gettimeofday" = "yes"; then
30400 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30401 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30402 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30404 else
30405
30406
30407
30408 ac_ext=cc
30409 ac_cpp='$CXXCPP $CPPFLAGS'
30410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30413
30414
30415 cat >conftest.$ac_ext <<_ACEOF
30416 #line $LINENO "configure"
30417 /* confdefs.h. */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h. */
30422
30423 #include <sys/time.h>
30424 #include <unistd.h>
30425
30426 int
30427 main ()
30428 {
30429
30430 struct timeval tv;
30431 gettimeofday(&tv, NULL);
30432
30433 ;
30434 return 0;
30435 }
30436 _ACEOF
30437 rm -f conftest.$ac_objext
30438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30439 (eval $ac_compile) 2>&5
30440 ac_status=$?
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); } &&
30443 { ac_try='test -s conftest.$ac_objext'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30446 ac_status=$?
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; }; then
30449 wx_cv_func_gettimeofday_has_2_args=yes
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30453
30454 cat >conftest.$ac_ext <<_ACEOF
30455 #line $LINENO "configure"
30456 /* confdefs.h. */
30457 _ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461
30462 #include <sys/time.h>
30463 #include <unistd.h>
30464
30465 int
30466 main ()
30467 {
30468
30469 struct timeval tv;
30470 gettimeofday(&tv);
30471
30472 ;
30473 return 0;
30474 }
30475 _ACEOF
30476 rm -f conftest.$ac_objext
30477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30478 (eval $ac_compile) 2>&5
30479 ac_status=$?
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try='test -s conftest.$ac_objext'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30485 ac_status=$?
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; }; then
30488 wx_cv_func_gettimeofday_has_2_args=no
30489 else
30490 echo "$as_me: failed program was:" >&5
30491 sed 's/^/| /' conftest.$ac_ext >&5
30492
30493
30494 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30495 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30496 wx_cv_func_gettimeofday_has_2_args=unknown
30497
30498
30499 fi
30500 rm -f conftest.$ac_objext conftest.$ac_ext
30501
30502 fi
30503 rm -f conftest.$ac_objext conftest.$ac_ext
30504 ac_ext=c
30505 ac_cpp='$CPP $CPPFLAGS'
30506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509
30510
30511 fi
30512 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30513 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30514
30515 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30516 cat >>confdefs.h <<\_ACEOF
30517 #define WX_GETTIMEOFDAY_NO_TZ 1
30518 _ACEOF
30519
30520 fi
30521 fi
30522
30523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30524 fi
30525
30526
30527 if test "$wxUSE_SOCKETS" = "yes"; then
30528 if test "$wxUSE_MGL" = "1"; then
30529 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30530 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30531 wxUSE_SOCKETS="no"
30532 fi
30533 fi
30534
30535 if test "$wxUSE_SOCKETS" = "yes"; then
30536 if test "$TOOLKIT" != "MSW"; then
30537 echo "$as_me:$LINENO: checking for socket" >&5
30538 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30539 if test "${ac_cv_func_socket+set}" = set; then
30540 echo $ECHO_N "(cached) $ECHO_C" >&6
30541 else
30542 cat >conftest.$ac_ext <<_ACEOF
30543 #line $LINENO "configure"
30544 /* confdefs.h. */
30545 _ACEOF
30546 cat confdefs.h >>conftest.$ac_ext
30547 cat >>conftest.$ac_ext <<_ACEOF
30548 /* end confdefs.h. */
30549 /* System header to define __stub macros and hopefully few prototypes,
30550 which can conflict with char socket (); below.
30551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30552 <limits.h> exists even on freestanding compilers. */
30553 #ifdef __STDC__
30554 # include <limits.h>
30555 #else
30556 # include <assert.h>
30557 #endif
30558 /* Override any gcc2 internal prototype to avoid an error. */
30559 #ifdef __cplusplus
30560 extern "C"
30561 {
30562 #endif
30563 /* We use char because int might match the return type of a gcc2
30564 builtin and then its argument prototype would still apply. */
30565 char socket ();
30566 /* The GNU C library defines this for functions which it implements
30567 to always fail with ENOSYS. Some functions are actually named
30568 something starting with __ and the normal name is an alias. */
30569 #if defined (__stub_socket) || defined (__stub___socket)
30570 choke me
30571 #else
30572 char (*f) () = socket;
30573 #endif
30574 #ifdef __cplusplus
30575 }
30576 #endif
30577
30578 int
30579 main ()
30580 {
30581 return f != socket;
30582 ;
30583 return 0;
30584 }
30585 _ACEOF
30586 rm -f conftest.$ac_objext conftest$ac_exeext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30588 (eval $ac_link) 2>&5
30589 ac_status=$?
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); } &&
30592 { ac_try='test -s conftest$ac_exeext'
30593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30594 (eval $ac_try) 2>&5
30595 ac_status=$?
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; }; then
30598 ac_cv_func_socket=yes
30599 else
30600 echo "$as_me: failed program was:" >&5
30601 sed 's/^/| /' conftest.$ac_ext >&5
30602
30603 ac_cv_func_socket=no
30604 fi
30605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30606 fi
30607 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
30608 echo "${ECHO_T}$ac_cv_func_socket" >&6
30609 if test $ac_cv_func_socket = yes; then
30610 :
30611 else
30612 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
30613 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
30614 if test "${ac_cv_lib_socket_socket+set}" = set; then
30615 echo $ECHO_N "(cached) $ECHO_C" >&6
30616 else
30617 ac_check_lib_save_LIBS=$LIBS
30618 LIBS="-lsocket $LIBS"
30619 cat >conftest.$ac_ext <<_ACEOF
30620 #line $LINENO "configure"
30621 /* confdefs.h. */
30622 _ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30626
30627 /* Override any gcc2 internal prototype to avoid an error. */
30628 #ifdef __cplusplus
30629 extern "C"
30630 #endif
30631 /* We use char because int might match the return type of a gcc2
30632 builtin and then its argument prototype would still apply. */
30633 char socket ();
30634 int
30635 main ()
30636 {
30637 socket ();
30638 ;
30639 return 0;
30640 }
30641 _ACEOF
30642 rm -f conftest.$ac_objext conftest$ac_exeext
30643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30644 (eval $ac_link) 2>&5
30645 ac_status=$?
30646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30647 (exit $ac_status); } &&
30648 { ac_try='test -s conftest$ac_exeext'
30649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30650 (eval $ac_try) 2>&5
30651 ac_status=$?
30652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30653 (exit $ac_status); }; }; then
30654 ac_cv_lib_socket_socket=yes
30655 else
30656 echo "$as_me: failed program was:" >&5
30657 sed 's/^/| /' conftest.$ac_ext >&5
30658
30659 ac_cv_lib_socket_socket=no
30660 fi
30661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30662 LIBS=$ac_check_lib_save_LIBS
30663 fi
30664 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
30665 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
30666 if test $ac_cv_lib_socket_socket = yes; then
30667 if test "$INET_LINK" != " -lsocket"; then
30668 INET_LINK="$INET_LINK -lsocket"
30669 fi
30670 else
30671
30672 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
30673 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
30674 wxUSE_SOCKETS=no
30675
30676
30677 fi
30678
30679
30680 fi
30681
30682 fi
30683 fi
30684
30685 if test "$wxUSE_SOCKETS" = "yes" ; then
30686 if test "$TOOLKIT" != "MSW"; then
30687 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
30688 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
30689 if test "${wx_cv_type_getsockname3+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 else
30692
30693 cat >conftest.$ac_ext <<_ACEOF
30694 #line $LINENO "configure"
30695 /* confdefs.h. */
30696 _ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30700
30701 #include <sys/types.h>
30702 #include <sys/socket.h>
30703
30704 int
30705 main ()
30706 {
30707
30708 socklen_t len;
30709 getsockname(0, 0, &len);
30710
30711 ;
30712 return 0;
30713 }
30714 _ACEOF
30715 rm -f conftest.$ac_objext
30716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30717 (eval $ac_compile) 2>&5
30718 ac_status=$?
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); } &&
30721 { ac_try='test -s conftest.$ac_objext'
30722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30723 (eval $ac_try) 2>&5
30724 ac_status=$?
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); }; }; then
30727 wx_cv_type_getsockname3=socklen_t
30728 else
30729 echo "$as_me: failed program was:" >&5
30730 sed 's/^/| /' conftest.$ac_ext >&5
30731
30732
30733 CFLAGS_OLD="$CFLAGS"
30734 if test "$GCC" = yes ; then
30735 CFLAGS="$CFLAGS -Werror"
30736 fi
30737
30738 cat >conftest.$ac_ext <<_ACEOF
30739 #line $LINENO "configure"
30740 /* confdefs.h. */
30741 _ACEOF
30742 cat confdefs.h >>conftest.$ac_ext
30743 cat >>conftest.$ac_ext <<_ACEOF
30744 /* end confdefs.h. */
30745
30746 #include <sys/types.h>
30747 #include <sys/socket.h>
30748
30749 int
30750 main ()
30751 {
30752
30753 size_t len;
30754 getsockname(0, 0, &len);
30755
30756 ;
30757 return 0;
30758 }
30759 _ACEOF
30760 rm -f conftest.$ac_objext
30761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30762 (eval $ac_compile) 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } &&
30766 { ac_try='test -s conftest.$ac_objext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30769 ac_status=$?
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 wx_cv_type_getsockname3=size_t
30773 else
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.$ac_ext >&5
30776
30777 cat >conftest.$ac_ext <<_ACEOF
30778 #line $LINENO "configure"
30779 /* confdefs.h. */
30780 _ACEOF
30781 cat confdefs.h >>conftest.$ac_ext
30782 cat >>conftest.$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30784
30785 #include <sys/types.h>
30786 #include <sys/socket.h>
30787
30788 int
30789 main ()
30790 {
30791
30792 int len;
30793 getsockname(0, 0, &len);
30794
30795 ;
30796 return 0;
30797 }
30798 _ACEOF
30799 rm -f conftest.$ac_objext
30800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30801 (eval $ac_compile) 2>&5
30802 ac_status=$?
30803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 (exit $ac_status); } &&
30805 { ac_try='test -s conftest.$ac_objext'
30806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30807 (eval $ac_try) 2>&5
30808 ac_status=$?
30809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30810 (exit $ac_status); }; }; then
30811 wx_cv_type_getsockname3=int
30812 else
30813 echo "$as_me: failed program was:" >&5
30814 sed 's/^/| /' conftest.$ac_ext >&5
30815
30816 wx_cv_type_getsockname3=unknown
30817
30818 fi
30819 rm -f conftest.$ac_objext conftest.$ac_ext
30820
30821 fi
30822 rm -f conftest.$ac_objext conftest.$ac_ext
30823
30824 CFLAGS="$CFLAGS_OLD"
30825
30826
30827 fi
30828 rm -f conftest.$ac_objext conftest.$ac_ext
30829
30830 fi
30831 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
30832 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
30833
30834 if test "$wx_cv_type_getsockname3" = "unknown"; then
30835 wxUSE_SOCKETS=no
30836 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
30837 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
30838 else
30839 cat >>confdefs.h <<_ACEOF
30840 #define SOCKLEN_T $wx_cv_type_getsockname3
30841 _ACEOF
30842
30843 fi
30844 fi
30845 fi
30846
30847 if test "$wxUSE_SOCKETS" = "yes" ; then
30848 cat >>confdefs.h <<\_ACEOF
30849 #define wxUSE_SOCKETS 1
30850 _ACEOF
30851
30852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
30853 fi
30854
30855
30856 if test "$wxUSE_GUI" = "yes"; then
30857
30858 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
30859 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
30860 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
30861 wxUSE_JOYSTICK=no
30862 fi
30863 if test "$TOOLKIT" = "MOTIF"; then
30864 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Motif... disabled" >&5
30865 echo "$as_me: WARNING: Joystick not yet supported under Motif... disabled" >&2;}
30866 wxUSE_JOYSTICK=no
30867 fi
30868 if test "$TOOLKIT" = "X11"; then
30869 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under X11... disabled" >&5
30870 echo "$as_me: WARNING: Joystick not yet supported under X11... disabled" >&2;}
30871 wxUSE_JOYSTICK=no
30872 fi
30873
30874 if test "$TOOLKIT" != "MSW"; then
30875 if test "$wxUSE_JOYSTICK" = "yes"; then
30876
30877 for ac_header in linux/joystick.h
30878 do
30879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30881 echo "$as_me:$LINENO: checking for $ac_header" >&5
30882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30885 fi
30886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30888 else
30889 # Is the header compilable?
30890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30892 cat >conftest.$ac_ext <<_ACEOF
30893 #line $LINENO "configure"
30894 /* confdefs.h. */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899 $ac_includes_default
30900 #include <$ac_header>
30901 _ACEOF
30902 rm -f conftest.$ac_objext
30903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30904 (eval $ac_compile) 2>&5
30905 ac_status=$?
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); } &&
30908 { ac_try='test -s conftest.$ac_objext'
30909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30910 (eval $ac_try) 2>&5
30911 ac_status=$?
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); }; }; then
30914 ac_header_compiler=yes
30915 else
30916 echo "$as_me: failed program was:" >&5
30917 sed 's/^/| /' conftest.$ac_ext >&5
30918
30919 ac_header_compiler=no
30920 fi
30921 rm -f conftest.$ac_objext conftest.$ac_ext
30922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30923 echo "${ECHO_T}$ac_header_compiler" >&6
30924
30925 # Is the header present?
30926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30928 cat >conftest.$ac_ext <<_ACEOF
30929 #line $LINENO "configure"
30930 /* confdefs.h. */
30931 _ACEOF
30932 cat confdefs.h >>conftest.$ac_ext
30933 cat >>conftest.$ac_ext <<_ACEOF
30934 /* end confdefs.h. */
30935 #include <$ac_header>
30936 _ACEOF
30937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30939 ac_status=$?
30940 grep -v '^ *+' conftest.er1 >conftest.err
30941 rm -f conftest.er1
30942 cat conftest.err >&5
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); } >/dev/null; then
30945 if test -s conftest.err; then
30946 ac_cpp_err=$ac_c_preproc_warn_flag
30947 else
30948 ac_cpp_err=
30949 fi
30950 else
30951 ac_cpp_err=yes
30952 fi
30953 if test -z "$ac_cpp_err"; then
30954 ac_header_preproc=yes
30955 else
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30958
30959 ac_header_preproc=no
30960 fi
30961 rm -f conftest.err conftest.$ac_ext
30962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30963 echo "${ECHO_T}$ac_header_preproc" >&6
30964
30965 # So? What about this header?
30966 case $ac_header_compiler:$ac_header_preproc in
30967 yes:no )
30968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30972 (
30973 cat <<\_ASBOX
30974 ## ------------------------------------ ##
30975 ## Report this to bug-autoconf@gnu.org. ##
30976 ## ------------------------------------ ##
30977 _ASBOX
30978 ) |
30979 sed "s/^/$as_me: WARNING: /" >&2
30980 ;;
30981 no:yes )
30982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30988 (
30989 cat <<\_ASBOX
30990 ## ------------------------------------ ##
30991 ## Report this to bug-autoconf@gnu.org. ##
30992 ## ------------------------------------ ##
30993 _ASBOX
30994 ) |
30995 sed "s/^/$as_me: WARNING: /" >&2
30996 ;;
30997 esac
30998 echo "$as_me:$LINENO: checking for $ac_header" >&5
30999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31001 echo $ECHO_N "(cached) $ECHO_C" >&6
31002 else
31003 eval "$as_ac_Header=$ac_header_preproc"
31004 fi
31005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31007
31008 fi
31009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31010 cat >>confdefs.h <<_ACEOF
31011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31012 _ACEOF
31013
31014 fi
31015
31016 done
31017
31018 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31019 wxUSE_JOYSTICK=no
31020 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31021 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31022 fi
31023 fi
31024 fi
31025
31026 if test "$wxUSE_JOYSTICK" = "yes"; then
31027 cat >>confdefs.h <<\_ACEOF
31028 #define wxUSE_JOYSTICK 1
31029 _ACEOF
31030
31031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31032 fi
31033 fi
31034
31035
31036 if test "$TOOLKIT" != "MSW"; then
31037
31038 HAVE_DL_FUNCS=0
31039 HAVE_SHL_FUNCS=0
31040 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31041 if test "$USE_DARWIN" = 1; then
31042 HAVE_DL_FUNCS=1
31043 else
31044
31045 for ac_func in dlopen
31046 do
31047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31048 echo "$as_me:$LINENO: checking for $ac_func" >&5
31049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31050 if eval "test \"\${$as_ac_var+set}\" = set"; then
31051 echo $ECHO_N "(cached) $ECHO_C" >&6
31052 else
31053 cat >conftest.$ac_ext <<_ACEOF
31054 #line $LINENO "configure"
31055 /* confdefs.h. */
31056 _ACEOF
31057 cat confdefs.h >>conftest.$ac_ext
31058 cat >>conftest.$ac_ext <<_ACEOF
31059 /* end confdefs.h. */
31060 /* System header to define __stub macros and hopefully few prototypes,
31061 which can conflict with char $ac_func (); below.
31062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31063 <limits.h> exists even on freestanding compilers. */
31064 #ifdef __STDC__
31065 # include <limits.h>
31066 #else
31067 # include <assert.h>
31068 #endif
31069 /* Override any gcc2 internal prototype to avoid an error. */
31070 #ifdef __cplusplus
31071 extern "C"
31072 {
31073 #endif
31074 /* We use char because int might match the return type of a gcc2
31075 builtin and then its argument prototype would still apply. */
31076 char $ac_func ();
31077 /* The GNU C library defines this for functions which it implements
31078 to always fail with ENOSYS. Some functions are actually named
31079 something starting with __ and the normal name is an alias. */
31080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31081 choke me
31082 #else
31083 char (*f) () = $ac_func;
31084 #endif
31085 #ifdef __cplusplus
31086 }
31087 #endif
31088
31089 int
31090 main ()
31091 {
31092 return f != $ac_func;
31093 ;
31094 return 0;
31095 }
31096 _ACEOF
31097 rm -f conftest.$ac_objext conftest$ac_exeext
31098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31099 (eval $ac_link) 2>&5
31100 ac_status=$?
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); } &&
31103 { ac_try='test -s conftest$ac_exeext'
31104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31105 (eval $ac_try) 2>&5
31106 ac_status=$?
31107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 (exit $ac_status); }; }; then
31109 eval "$as_ac_var=yes"
31110 else
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31113
31114 eval "$as_ac_var=no"
31115 fi
31116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31117 fi
31118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31120 if test `eval echo '${'$as_ac_var'}'` = yes; then
31121 cat >>confdefs.h <<_ACEOF
31122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31123 _ACEOF
31124
31125 cat >>confdefs.h <<\_ACEOF
31126 #define HAVE_DLOPEN 1
31127 _ACEOF
31128
31129 HAVE_DL_FUNCS=1
31130
31131 else
31132
31133 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31134 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31135 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31137 else
31138 ac_check_lib_save_LIBS=$LIBS
31139 LIBS="-ldl $LIBS"
31140 cat >conftest.$ac_ext <<_ACEOF
31141 #line $LINENO "configure"
31142 /* confdefs.h. */
31143 _ACEOF
31144 cat confdefs.h >>conftest.$ac_ext
31145 cat >>conftest.$ac_ext <<_ACEOF
31146 /* end confdefs.h. */
31147
31148 /* Override any gcc2 internal prototype to avoid an error. */
31149 #ifdef __cplusplus
31150 extern "C"
31151 #endif
31152 /* We use char because int might match the return type of a gcc2
31153 builtin and then its argument prototype would still apply. */
31154 char dlopen ();
31155 int
31156 main ()
31157 {
31158 dlopen ();
31159 ;
31160 return 0;
31161 }
31162 _ACEOF
31163 rm -f conftest.$ac_objext conftest$ac_exeext
31164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31165 (eval $ac_link) 2>&5
31166 ac_status=$?
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } &&
31169 { ac_try='test -s conftest$ac_exeext'
31170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171 (eval $ac_try) 2>&5
31172 ac_status=$?
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); }; }; then
31175 ac_cv_lib_dl_dlopen=yes
31176 else
31177 echo "$as_me: failed program was:" >&5
31178 sed 's/^/| /' conftest.$ac_ext >&5
31179
31180 ac_cv_lib_dl_dlopen=no
31181 fi
31182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31183 LIBS=$ac_check_lib_save_LIBS
31184 fi
31185 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31186 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31187 if test $ac_cv_lib_dl_dlopen = yes; then
31188
31189 cat >>confdefs.h <<\_ACEOF
31190 #define HAVE_DLOPEN 1
31191 _ACEOF
31192
31193 HAVE_DL_FUNCS=1
31194 DL_LINK=" -ldl$DL_LINK"
31195
31196 else
31197
31198
31199 for ac_func in shl_load
31200 do
31201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31202 echo "$as_me:$LINENO: checking for $ac_func" >&5
31203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31204 if eval "test \"\${$as_ac_var+set}\" = set"; then
31205 echo $ECHO_N "(cached) $ECHO_C" >&6
31206 else
31207 cat >conftest.$ac_ext <<_ACEOF
31208 #line $LINENO "configure"
31209 /* confdefs.h. */
31210 _ACEOF
31211 cat confdefs.h >>conftest.$ac_ext
31212 cat >>conftest.$ac_ext <<_ACEOF
31213 /* end confdefs.h. */
31214 /* System header to define __stub macros and hopefully few prototypes,
31215 which can conflict with char $ac_func (); below.
31216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31217 <limits.h> exists even on freestanding compilers. */
31218 #ifdef __STDC__
31219 # include <limits.h>
31220 #else
31221 # include <assert.h>
31222 #endif
31223 /* Override any gcc2 internal prototype to avoid an error. */
31224 #ifdef __cplusplus
31225 extern "C"
31226 {
31227 #endif
31228 /* We use char because int might match the return type of a gcc2
31229 builtin and then its argument prototype would still apply. */
31230 char $ac_func ();
31231 /* The GNU C library defines this for functions which it implements
31232 to always fail with ENOSYS. Some functions are actually named
31233 something starting with __ and the normal name is an alias. */
31234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31235 choke me
31236 #else
31237 char (*f) () = $ac_func;
31238 #endif
31239 #ifdef __cplusplus
31240 }
31241 #endif
31242
31243 int
31244 main ()
31245 {
31246 return f != $ac_func;
31247 ;
31248 return 0;
31249 }
31250 _ACEOF
31251 rm -f conftest.$ac_objext conftest$ac_exeext
31252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31253 (eval $ac_link) 2>&5
31254 ac_status=$?
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); } &&
31257 { ac_try='test -s conftest$ac_exeext'
31258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31259 (eval $ac_try) 2>&5
31260 ac_status=$?
31261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 (exit $ac_status); }; }; then
31263 eval "$as_ac_var=yes"
31264 else
31265 echo "$as_me: failed program was:" >&5
31266 sed 's/^/| /' conftest.$ac_ext >&5
31267
31268 eval "$as_ac_var=no"
31269 fi
31270 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31271 fi
31272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31274 if test `eval echo '${'$as_ac_var'}'` = yes; then
31275 cat >>confdefs.h <<_ACEOF
31276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31277 _ACEOF
31278
31279 cat >>confdefs.h <<\_ACEOF
31280 #define HAVE_SHL_LOAD 1
31281 _ACEOF
31282
31283 HAVE_SHL_FUNCS=1
31284
31285 else
31286
31287 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31288 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31289 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 else
31292 ac_check_lib_save_LIBS=$LIBS
31293 LIBS="-lshl_load $LIBS"
31294 cat >conftest.$ac_ext <<_ACEOF
31295 #line $LINENO "configure"
31296 /* confdefs.h. */
31297 _ACEOF
31298 cat confdefs.h >>conftest.$ac_ext
31299 cat >>conftest.$ac_ext <<_ACEOF
31300 /* end confdefs.h. */
31301
31302 /* Override any gcc2 internal prototype to avoid an error. */
31303 #ifdef __cplusplus
31304 extern "C"
31305 #endif
31306 /* We use char because int might match the return type of a gcc2
31307 builtin and then its argument prototype would still apply. */
31308 char dld ();
31309 int
31310 main ()
31311 {
31312 dld ();
31313 ;
31314 return 0;
31315 }
31316 _ACEOF
31317 rm -f conftest.$ac_objext conftest$ac_exeext
31318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31319 (eval $ac_link) 2>&5
31320 ac_status=$?
31321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31322 (exit $ac_status); } &&
31323 { ac_try='test -s conftest$ac_exeext'
31324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31325 (eval $ac_try) 2>&5
31326 ac_status=$?
31327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31328 (exit $ac_status); }; }; then
31329 ac_cv_lib_shl_load_dld=yes
31330 else
31331 echo "$as_me: failed program was:" >&5
31332 sed 's/^/| /' conftest.$ac_ext >&5
31333
31334 ac_cv_lib_shl_load_dld=no
31335 fi
31336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31337 LIBS=$ac_check_lib_save_LIBS
31338 fi
31339 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31340 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31341 if test $ac_cv_lib_shl_load_dld = yes; then
31342
31343 HAVE_SHL_FUNCS=1
31344 DL_LINK=" -ldld$DL_LINK"
31345
31346 fi
31347
31348
31349 fi
31350 done
31351
31352
31353 fi
31354
31355
31356 fi
31357 done
31358
31359
31360 if test "$HAVE_DL_FUNCS" = 1; then
31361
31362 for ac_func in dlerror
31363 do
31364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31365 echo "$as_me:$LINENO: checking for $ac_func" >&5
31366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31367 if eval "test \"\${$as_ac_var+set}\" = set"; then
31368 echo $ECHO_N "(cached) $ECHO_C" >&6
31369 else
31370 cat >conftest.$ac_ext <<_ACEOF
31371 #line $LINENO "configure"
31372 /* confdefs.h. */
31373 _ACEOF
31374 cat confdefs.h >>conftest.$ac_ext
31375 cat >>conftest.$ac_ext <<_ACEOF
31376 /* end confdefs.h. */
31377 /* System header to define __stub macros and hopefully few prototypes,
31378 which can conflict with char $ac_func (); below.
31379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31380 <limits.h> exists even on freestanding compilers. */
31381 #ifdef __STDC__
31382 # include <limits.h>
31383 #else
31384 # include <assert.h>
31385 #endif
31386 /* Override any gcc2 internal prototype to avoid an error. */
31387 #ifdef __cplusplus
31388 extern "C"
31389 {
31390 #endif
31391 /* We use char because int might match the return type of a gcc2
31392 builtin and then its argument prototype would still apply. */
31393 char $ac_func ();
31394 /* The GNU C library defines this for functions which it implements
31395 to always fail with ENOSYS. Some functions are actually named
31396 something starting with __ and the normal name is an alias. */
31397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31398 choke me
31399 #else
31400 char (*f) () = $ac_func;
31401 #endif
31402 #ifdef __cplusplus
31403 }
31404 #endif
31405
31406 int
31407 main ()
31408 {
31409 return f != $ac_func;
31410 ;
31411 return 0;
31412 }
31413 _ACEOF
31414 rm -f conftest.$ac_objext conftest$ac_exeext
31415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31416 (eval $ac_link) 2>&5
31417 ac_status=$?
31418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31419 (exit $ac_status); } &&
31420 { ac_try='test -s conftest$ac_exeext'
31421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31422 (eval $ac_try) 2>&5
31423 ac_status=$?
31424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 (exit $ac_status); }; }; then
31426 eval "$as_ac_var=yes"
31427 else
31428 echo "$as_me: failed program was:" >&5
31429 sed 's/^/| /' conftest.$ac_ext >&5
31430
31431 eval "$as_ac_var=no"
31432 fi
31433 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31434 fi
31435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31437 if test `eval echo '${'$as_ac_var'}'` = yes; then
31438 cat >>confdefs.h <<_ACEOF
31439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31440 _ACEOF
31441 cat >>confdefs.h <<\_ACEOF
31442 #define HAVE_DLERROR 1
31443 _ACEOF
31444
31445 else
31446 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31447 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31448 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31449 echo $ECHO_N "(cached) $ECHO_C" >&6
31450 else
31451 ac_check_lib_save_LIBS=$LIBS
31452 LIBS="-ldl $LIBS"
31453 cat >conftest.$ac_ext <<_ACEOF
31454 #line $LINENO "configure"
31455 /* confdefs.h. */
31456 _ACEOF
31457 cat confdefs.h >>conftest.$ac_ext
31458 cat >>conftest.$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31460
31461 /* Override any gcc2 internal prototype to avoid an error. */
31462 #ifdef __cplusplus
31463 extern "C"
31464 #endif
31465 /* We use char because int might match the return type of a gcc2
31466 builtin and then its argument prototype would still apply. */
31467 char dlerror ();
31468 int
31469 main ()
31470 {
31471 dlerror ();
31472 ;
31473 return 0;
31474 }
31475 _ACEOF
31476 rm -f conftest.$ac_objext conftest$ac_exeext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31478 (eval $ac_link) 2>&5
31479 ac_status=$?
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try='test -s conftest$ac_exeext'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31485 ac_status=$?
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; }; then
31488 ac_cv_lib_dl_dlerror=yes
31489 else
31490 echo "$as_me: failed program was:" >&5
31491 sed 's/^/| /' conftest.$ac_ext >&5
31492
31493 ac_cv_lib_dl_dlerror=no
31494 fi
31495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31496 LIBS=$ac_check_lib_save_LIBS
31497 fi
31498 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31499 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31500 if test $ac_cv_lib_dl_dlerror = yes; then
31501 cat >>confdefs.h <<\_ACEOF
31502 #define HAVE_DLERROR 1
31503 _ACEOF
31504
31505 fi
31506
31507 fi
31508 done
31509
31510 fi
31511 fi
31512
31513 if test "$HAVE_DL_FUNCS" = 0; then
31514 if test "$HAVE_SHL_FUNCS" = 0; then
31515 if test "$USE_UNIX" = 1; then
31516 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31517 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31518 wxUSE_DYNAMIC_LOADER=no
31519 wxUSE_DYNLIB_CLASS=no
31520 else
31521 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31522 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31523 fi
31524 fi
31525 fi
31526 fi
31527 fi
31528
31529 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31530 cat >>confdefs.h <<\_ACEOF
31531 #define wxUSE_DYNAMIC_LOADER 1
31532 _ACEOF
31533
31534 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31535 cat >>confdefs.h <<\_ACEOF
31536 #define wxUSE_DYNLIB_CLASS 1
31537 _ACEOF
31538
31539 fi
31540
31541
31542 if test "$wxUSE_FONTMAP" = "yes" ; then
31543 cat >>confdefs.h <<\_ACEOF
31544 #define wxUSE_FONTMAP 1
31545 _ACEOF
31546
31547 fi
31548
31549 if test "$wxUSE_UNICODE" = "yes" ; then
31550 cat >>confdefs.h <<\_ACEOF
31551 #define wxUSE_UNICODE 1
31552 _ACEOF
31553
31554
31555 if test "$wxUSE_MSW" != 1; then
31556 wxUSE_UNICODE_MSLU=no
31557 fi
31558
31559 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
31560 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
31561 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
31562 if test "${ac_cv_lib_unicows_main+set}" = set; then
31563 echo $ECHO_N "(cached) $ECHO_C" >&6
31564 else
31565 ac_check_lib_save_LIBS=$LIBS
31566 LIBS="-lunicows $LIBS"
31567 cat >conftest.$ac_ext <<_ACEOF
31568 #line $LINENO "configure"
31569 /* confdefs.h. */
31570 _ACEOF
31571 cat confdefs.h >>conftest.$ac_ext
31572 cat >>conftest.$ac_ext <<_ACEOF
31573 /* end confdefs.h. */
31574
31575
31576 int
31577 main ()
31578 {
31579 main ();
31580 ;
31581 return 0;
31582 }
31583 _ACEOF
31584 rm -f conftest.$ac_objext conftest$ac_exeext
31585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31586 (eval $ac_link) 2>&5
31587 ac_status=$?
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); } &&
31590 { ac_try='test -s conftest$ac_exeext'
31591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31592 (eval $ac_try) 2>&5
31593 ac_status=$?
31594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31595 (exit $ac_status); }; }; then
31596 ac_cv_lib_unicows_main=yes
31597 else
31598 echo "$as_me: failed program was:" >&5
31599 sed 's/^/| /' conftest.$ac_ext >&5
31600
31601 ac_cv_lib_unicows_main=no
31602 fi
31603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31604 LIBS=$ac_check_lib_save_LIBS
31605 fi
31606 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
31607 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
31608 if test $ac_cv_lib_unicows_main = yes; then
31609
31610 cat >>confdefs.h <<\_ACEOF
31611 #define wxUSE_UNICODE_MSLU 1
31612 _ACEOF
31613
31614
31615 else
31616
31617 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31618 Applications will only run on Windows NT/2000/XP!" >&5
31619 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
31620 Applications will only run on Windows NT/2000/XP!" >&2;}
31621 wxUSE_UNICODE_MSLU=no
31622
31623 fi
31624
31625 fi
31626 fi
31627
31628 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
31629 cat >>confdefs.h <<\_ACEOF
31630 #define wxUSE_EXPERIMENTAL_PRINTF 1
31631 _ACEOF
31632
31633 fi
31634
31635
31636 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
31637 cat >>confdefs.h <<\_ACEOF
31638 #define wxUSE_POSTSCRIPT 1
31639 _ACEOF
31640
31641 fi
31642
31643 cat >>confdefs.h <<\_ACEOF
31644 #define wxUSE_AFM_FOR_POSTSCRIPT 1
31645 _ACEOF
31646
31647
31648 cat >>confdefs.h <<\_ACEOF
31649 #define wxUSE_NORMALIZED_PS_FONTS 1
31650 _ACEOF
31651
31652
31653
31654 if test "$wxUSE_CONSTRAINTS" = "yes"; then
31655 cat >>confdefs.h <<\_ACEOF
31656 #define wxUSE_CONSTRAINTS 1
31657 _ACEOF
31658
31659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
31660 fi
31661
31662 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31663
31664
31665 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31666 cat >>confdefs.h <<\_ACEOF
31667 #define wxUSE_MDI_ARCHITECTURE 1
31668 _ACEOF
31669
31670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
31671 fi
31672 fi
31673
31674 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
31675 cat >>confdefs.h <<\_ACEOF
31676 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
31677 _ACEOF
31678
31679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
31680 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
31681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
31682 fi
31683 fi
31684
31685 if test "$wxUSE_HELP" = "yes"; then
31686 cat >>confdefs.h <<\_ACEOF
31687 #define wxUSE_HELP 1
31688 _ACEOF
31689
31690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
31691
31692 if test "$wxUSE_MSW" = 1; then
31693 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
31694 cat >>confdefs.h <<\_ACEOF
31695 #define wxUSE_MS_HTML_HELP 1
31696 _ACEOF
31697
31698 fi
31699 fi
31700
31701 if test "$wxUSE_WXHTML_HELP" = "yes"; then
31702 if test "$wxUSE_HTML" = "yes"; then
31703 cat >>confdefs.h <<\_ACEOF
31704 #define wxUSE_WXHTML_HELP 1
31705 _ACEOF
31706
31707 else
31708 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
31709 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
31710 wxUSE_WXHTML_HELP=no
31711 fi
31712 fi
31713 fi
31714
31715 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
31716 if test "$wxUSE_CONSTRAINTS" != "yes"; then
31717 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
31718 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
31719 else
31720 cat >>confdefs.h <<\_ACEOF
31721 #define wxUSE_PRINTING_ARCHITECTURE 1
31722 _ACEOF
31723
31724 fi
31725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
31726 fi
31727
31728 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
31729 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
31730 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
31731 { (exit 1); exit 1; }; }
31732 fi
31733
31734
31735 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
31736 -o "$wxUSE_CLIPBOARD" = "yes" \
31737 -o "$wxUSE_OLE" = "yes" \
31738 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
31739
31740 for ac_header in ole2.h
31741 do
31742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31744 echo "$as_me:$LINENO: checking for $ac_header" >&5
31745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31747 echo $ECHO_N "(cached) $ECHO_C" >&6
31748 fi
31749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31751 else
31752 # Is the header compilable?
31753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31755 cat >conftest.$ac_ext <<_ACEOF
31756 #line $LINENO "configure"
31757 /* confdefs.h. */
31758 _ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31762 $ac_includes_default
31763 #include <$ac_header>
31764 _ACEOF
31765 rm -f conftest.$ac_objext
31766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31767 (eval $ac_compile) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } &&
31771 { ac_try='test -s conftest.$ac_objext'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; }; then
31777 ac_header_compiler=yes
31778 else
31779 echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.$ac_ext >&5
31781
31782 ac_header_compiler=no
31783 fi
31784 rm -f conftest.$ac_objext conftest.$ac_ext
31785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31786 echo "${ECHO_T}$ac_header_compiler" >&6
31787
31788 # Is the header present?
31789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31791 cat >conftest.$ac_ext <<_ACEOF
31792 #line $LINENO "configure"
31793 /* confdefs.h. */
31794 _ACEOF
31795 cat confdefs.h >>conftest.$ac_ext
31796 cat >>conftest.$ac_ext <<_ACEOF
31797 /* end confdefs.h. */
31798 #include <$ac_header>
31799 _ACEOF
31800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31802 ac_status=$?
31803 grep -v '^ *+' conftest.er1 >conftest.err
31804 rm -f conftest.er1
31805 cat conftest.err >&5
31806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807 (exit $ac_status); } >/dev/null; then
31808 if test -s conftest.err; then
31809 ac_cpp_err=$ac_c_preproc_warn_flag
31810 else
31811 ac_cpp_err=
31812 fi
31813 else
31814 ac_cpp_err=yes
31815 fi
31816 if test -z "$ac_cpp_err"; then
31817 ac_header_preproc=yes
31818 else
31819 echo "$as_me: failed program was:" >&5
31820 sed 's/^/| /' conftest.$ac_ext >&5
31821
31822 ac_header_preproc=no
31823 fi
31824 rm -f conftest.err conftest.$ac_ext
31825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31826 echo "${ECHO_T}$ac_header_preproc" >&6
31827
31828 # So? What about this header?
31829 case $ac_header_compiler:$ac_header_preproc in
31830 yes:no )
31831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31835 (
31836 cat <<\_ASBOX
31837 ## ------------------------------------ ##
31838 ## Report this to bug-autoconf@gnu.org. ##
31839 ## ------------------------------------ ##
31840 _ASBOX
31841 ) |
31842 sed "s/^/$as_me: WARNING: /" >&2
31843 ;;
31844 no:yes )
31845 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31846 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31847 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31848 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31851 (
31852 cat <<\_ASBOX
31853 ## ------------------------------------ ##
31854 ## Report this to bug-autoconf@gnu.org. ##
31855 ## ------------------------------------ ##
31856 _ASBOX
31857 ) |
31858 sed "s/^/$as_me: WARNING: /" >&2
31859 ;;
31860 esac
31861 echo "$as_me:$LINENO: checking for $ac_header" >&5
31862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31864 echo $ECHO_N "(cached) $ECHO_C" >&6
31865 else
31866 eval "$as_ac_Header=$ac_header_preproc"
31867 fi
31868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31870
31871 fi
31872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31873 cat >>confdefs.h <<_ACEOF
31874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31875 _ACEOF
31876
31877 fi
31878
31879 done
31880
31881
31882 if test "$ac_cv_header_ole2_h" = "yes" ; then
31883 if test "$GCC" = yes ; then
31884
31885
31886 ac_ext=cc
31887 ac_cpp='$CXXCPP $CPPFLAGS'
31888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891
31892
31893 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
31894 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
31895 cat >conftest.$ac_ext <<_ACEOF
31896 #line $LINENO "configure"
31897 /* confdefs.h. */
31898 _ACEOF
31899 cat confdefs.h >>conftest.$ac_ext
31900 cat >>conftest.$ac_ext <<_ACEOF
31901 /* end confdefs.h. */
31902 #include <windows.h>
31903 #include <ole2.h>
31904 int
31905 main ()
31906 {
31907
31908 ;
31909 return 0;
31910 }
31911 _ACEOF
31912 rm -f conftest.$ac_objext
31913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31914 (eval $ac_compile) 2>&5
31915 ac_status=$?
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); } &&
31918 { ac_try='test -s conftest.$ac_objext'
31919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31920 (eval $ac_try) 2>&5
31921 ac_status=$?
31922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31923 (exit $ac_status); }; }; then
31924 echo "$as_me:$LINENO: result: no" >&5
31925 echo "${ECHO_T}no" >&6
31926 else
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.$ac_ext >&5
31929
31930 echo "$as_me:$LINENO: result: yes" >&5
31931 echo "${ECHO_T}yes" >&6
31932 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
31933 fi
31934 rm -f conftest.$ac_objext conftest.$ac_ext
31935 ac_ext=c
31936 ac_cpp='$CPP $CPPFLAGS'
31937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31940
31941 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
31942 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
31943 cat >>confdefs.h <<\_ACEOF
31944 #define wxUSE_OLE 1
31945 _ACEOF
31946
31947
31948 fi
31949
31950 cat >>confdefs.h <<\_ACEOF
31951 #define wxUSE_DATAOBJ 1
31952 _ACEOF
31953
31954 else
31955 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
31956 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
31957
31958 wxUSE_CLIPBOARD=no
31959 wxUSE_DRAG_AND_DROP=no
31960 wxUSE_DATAOBJ=no
31961 wxUSE_OLE=no
31962 fi
31963
31964 if test "$wxUSE_METAFILE" = "yes"; then
31965 cat >>confdefs.h <<\_ACEOF
31966 #define wxUSE_METAFILE 1
31967 _ACEOF
31968
31969
31970 cat >>confdefs.h <<\_ACEOF
31971 #define wxUSE_ENH_METAFILE 1
31972 _ACEOF
31973
31974 fi
31975 fi
31976
31977 if test "$wxUSE_IPC" = "yes"; then
31978 if test "$wxUSE_SOCKETS" != "yes"; then
31979 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
31980 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
31981 fi
31982
31983 cat >>confdefs.h <<\_ACEOF
31984 #define wxUSE_IPC 1
31985 _ACEOF
31986
31987 fi
31988
31989 if test "$wxUSE_CLIPBOARD" = "yes"; then
31990 if test "$wxUSE_MGL" = 1; then
31991 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
31992 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
31993 wxUSE_CLIPBOARD=no
31994 fi
31995
31996 if test "$wxUSE_CLIPBOARD" = "yes"; then
31997 cat >>confdefs.h <<\_ACEOF
31998 #define wxUSE_CLIPBOARD 1
31999 _ACEOF
32000
32001
32002 cat >>confdefs.h <<\_ACEOF
32003 #define wxUSE_DATAOBJ 1
32004 _ACEOF
32005
32006 fi
32007 fi
32008
32009 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32010 if test "$wxUSE_GTK" = 1; then
32011 if test "$WXGTK12" != 1; then
32012 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32013 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32014 wxUSE_DRAG_AND_DROP=no
32015 fi
32016 fi
32017
32018 if test "$wxUSE_MOTIF" = 1; then
32019 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32020 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32021 wxUSE_DRAG_AND_DROP=no
32022 fi
32023
32024 if test "$wxUSE_X11" = 1; then
32025 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32026 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32027 wxUSE_DRAG_AND_DROP=no
32028 fi
32029
32030 if test "$wxUSE_MGL" = 1; then
32031 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32032 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32033 wxUSE_DRAG_AND_DROP=no
32034 fi
32035
32036 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32037 cat >>confdefs.h <<\_ACEOF
32038 #define wxUSE_DRAG_AND_DROP 1
32039 _ACEOF
32040
32041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32042 fi
32043
32044 fi
32045
32046 if test "$wxUSE_SPLINES" = "yes" ; then
32047 cat >>confdefs.h <<\_ACEOF
32048 #define wxUSE_SPLINES 1
32049 _ACEOF
32050
32051 fi
32052
32053
32054 USES_CONTROLS=0
32055 if test "$wxUSE_CONTROLS" = "yes"; then
32056 USES_CONTROLS=1
32057 fi
32058
32059 if test "$wxUSE_ACCEL" = "yes"; then
32060 cat >>confdefs.h <<\_ACEOF
32061 #define wxUSE_ACCEL 1
32062 _ACEOF
32063
32064 USES_CONTROLS=1
32065 fi
32066
32067 if test "$wxUSE_BUTTON" = "yes"; then
32068 cat >>confdefs.h <<\_ACEOF
32069 #define wxUSE_BUTTON 1
32070 _ACEOF
32071
32072 USES_CONTROLS=1
32073 fi
32074
32075 if test "$wxUSE_BMPBUTTON" = "yes"; then
32076 cat >>confdefs.h <<\_ACEOF
32077 #define wxUSE_BMPBUTTON 1
32078 _ACEOF
32079
32080 USES_CONTROLS=1
32081 fi
32082
32083 if test "$wxUSE_CALCTRL" = "yes"; then
32084 cat >>confdefs.h <<\_ACEOF
32085 #define wxUSE_CALENDARCTRL 1
32086 _ACEOF
32087
32088 USES_CONTROLS=1
32089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32090 fi
32091
32092 if test "$wxUSE_CARET" = "yes"; then
32093 cat >>confdefs.h <<\_ACEOF
32094 #define wxUSE_CARET 1
32095 _ACEOF
32096
32097 USES_CONTROLS=1
32098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32099 fi
32100
32101 if test "$wxUSE_COMBOBOX" = "yes"; then
32102 cat >>confdefs.h <<\_ACEOF
32103 #define wxUSE_COMBOBOX 1
32104 _ACEOF
32105
32106 USES_CONTROLS=1
32107 fi
32108
32109 if test "$wxUSE_CHOICE" = "yes"; then
32110 cat >>confdefs.h <<\_ACEOF
32111 #define wxUSE_CHOICE 1
32112 _ACEOF
32113
32114 USES_CONTROLS=1
32115 fi
32116
32117 if test "$wxUSE_CHECKBOX" = "yes"; then
32118 cat >>confdefs.h <<\_ACEOF
32119 #define wxUSE_CHECKBOX 1
32120 _ACEOF
32121
32122 USES_CONTROLS=1
32123 fi
32124
32125 if test "$wxUSE_CHECKLST" = "yes"; then
32126 cat >>confdefs.h <<\_ACEOF
32127 #define wxUSE_CHECKLISTBOX 1
32128 _ACEOF
32129
32130 USES_CONTROLS=1
32131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32132 fi
32133
32134 if test "$wxUSE_DISPLAY" = "yes"; then
32135 cat >>confdefs.h <<\_ACEOF
32136 #define wxUSE_DISPLAY 1
32137 _ACEOF
32138
32139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32140 fi
32141
32142 if test "$wxUSE_GAUGE" = "yes"; then
32143 cat >>confdefs.h <<\_ACEOF
32144 #define wxUSE_GAUGE 1
32145 _ACEOF
32146
32147 USES_CONTROLS=1
32148 fi
32149
32150 if test "$wxUSE_GRID" = "yes"; then
32151 cat >>confdefs.h <<\_ACEOF
32152 #define wxUSE_GRID 1
32153 _ACEOF
32154
32155 USES_CONTROLS=1
32156 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32157 fi
32158
32159 if test "$wxUSE_IMAGLIST" = "yes"; then
32160 cat >>confdefs.h <<\_ACEOF
32161 #define wxUSE_IMAGLIST 1
32162 _ACEOF
32163
32164 fi
32165
32166 if test "$wxUSE_LISTBOX" = "yes"; then
32167 cat >>confdefs.h <<\_ACEOF
32168 #define wxUSE_LISTBOX 1
32169 _ACEOF
32170
32171 USES_CONTROLS=1
32172 fi
32173
32174 if test "$wxUSE_LISTCTRL" = "yes"; then
32175 if test "$wxUSE_IMAGLIST" = "yes"; then
32176 cat >>confdefs.h <<\_ACEOF
32177 #define wxUSE_LISTCTRL 1
32178 _ACEOF
32179
32180 USES_CONTROLS=1
32181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32182 else
32183 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32184 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32185 fi
32186 fi
32187
32188 if test "$wxUSE_NOTEBOOK" = "yes"; then
32189 cat >>confdefs.h <<\_ACEOF
32190 #define wxUSE_NOTEBOOK 1
32191 _ACEOF
32192
32193 USES_CONTROLS=1
32194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32195 fi
32196
32197
32198 if test "$wxUSE_RADIOBOX" = "yes"; then
32199 cat >>confdefs.h <<\_ACEOF
32200 #define wxUSE_RADIOBOX 1
32201 _ACEOF
32202
32203 USES_CONTROLS=1
32204 fi
32205
32206 if test "$wxUSE_RADIOBTN" = "yes"; then
32207 cat >>confdefs.h <<\_ACEOF
32208 #define wxUSE_RADIOBTN 1
32209 _ACEOF
32210
32211 USES_CONTROLS=1
32212 fi
32213
32214 if test "$wxUSE_SASH" = "yes"; then
32215 cat >>confdefs.h <<\_ACEOF
32216 #define wxUSE_SASH 1
32217 _ACEOF
32218
32219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32220 fi
32221
32222 if test "$wxUSE_SCROLLBAR" = "yes"; then
32223 cat >>confdefs.h <<\_ACEOF
32224 #define wxUSE_SCROLLBAR 1
32225 _ACEOF
32226
32227 USES_CONTROLS=1
32228 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32229 fi
32230
32231 if test "$wxUSE_SLIDER" = "yes"; then
32232 cat >>confdefs.h <<\_ACEOF
32233 #define wxUSE_SLIDER 1
32234 _ACEOF
32235
32236 USES_CONTROLS=1
32237 fi
32238
32239 if test "$wxUSE_SPINBTN" = "yes"; then
32240 cat >>confdefs.h <<\_ACEOF
32241 #define wxUSE_SPINBTN 1
32242 _ACEOF
32243
32244 USES_CONTROLS=1
32245 fi
32246
32247 if test "$wxUSE_SPINCTRL" = "yes"; then
32248 cat >>confdefs.h <<\_ACEOF
32249 #define wxUSE_SPINCTRL 1
32250 _ACEOF
32251
32252 USES_CONTROLS=1
32253 fi
32254
32255 if test "$wxUSE_SPLITTER" = "yes"; then
32256 cat >>confdefs.h <<\_ACEOF
32257 #define wxUSE_SPLITTER 1
32258 _ACEOF
32259
32260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32261 fi
32262
32263 if test "$wxUSE_STATBMP" = "yes"; then
32264 cat >>confdefs.h <<\_ACEOF
32265 #define wxUSE_STATBMP 1
32266 _ACEOF
32267
32268 USES_CONTROLS=1
32269 fi
32270
32271 if test "$wxUSE_STATBOX" = "yes"; then
32272 cat >>confdefs.h <<\_ACEOF
32273 #define wxUSE_STATBOX 1
32274 _ACEOF
32275
32276 USES_CONTROLS=1
32277 fi
32278
32279 if test "$wxUSE_STATTEXT" = "yes"; then
32280 cat >>confdefs.h <<\_ACEOF
32281 #define wxUSE_STATTEXT 1
32282 _ACEOF
32283
32284 USES_CONTROLS=1
32285 fi
32286
32287 if test "$wxUSE_STATLINE" = "yes"; then
32288 cat >>confdefs.h <<\_ACEOF
32289 #define wxUSE_STATLINE 1
32290 _ACEOF
32291
32292 USES_CONTROLS=1
32293 fi
32294
32295 if test "$wxUSE_STATUSBAR" = "yes"; then
32296 cat >>confdefs.h <<\_ACEOF
32297 #define wxUSE_STATUSBAR 1
32298 _ACEOF
32299
32300 USES_CONTROLS=1
32301
32302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32303 fi
32304
32305 if test "$wxUSE_TABDIALOG" = "yes"; then
32306 cat >>confdefs.h <<\_ACEOF
32307 #define wxUSE_TAB_DIALOG 1
32308 _ACEOF
32309
32310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32311 fi
32312
32313 if test "$wxUSE_TEXTCTRL" = "yes"; then
32314 cat >>confdefs.h <<\_ACEOF
32315 #define wxUSE_TEXTCTRL 1
32316 _ACEOF
32317
32318 USES_CONTROLS=1
32319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32320 fi
32321
32322 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32323 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32324 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32325 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32326 wxUSE_TOGGLEBTN=no
32327 fi
32328 if test "$wxUSE_UNIVERSAL" = "yes"; then
32329 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32330 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32331 wxUSE_TOGGLEBTN=no
32332 fi
32333
32334 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32335 cat >>confdefs.h <<\_ACEOF
32336 #define wxUSE_TOGGLEBTN 1
32337 _ACEOF
32338
32339 USES_CONTROLS=1
32340 fi
32341 fi
32342
32343 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32344 cat >>confdefs.h <<\_ACEOF
32345 #define wxUSE_TOOLBAR_SIMPLE 1
32346 _ACEOF
32347
32348 wxUSE_TOOLBAR="yes"
32349 USES_CONTROLS=1
32350 fi
32351
32352 if test "$wxUSE_TOOLBAR" = "yes"; then
32353 cat >>confdefs.h <<\_ACEOF
32354 #define wxUSE_TOOLBAR 1
32355 _ACEOF
32356
32357 USES_CONTROLS=1
32358
32359 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32360 wxUSE_TOOLBAR_NATIVE="yes"
32361 fi
32362
32363 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32364 cat >>confdefs.h <<\_ACEOF
32365 #define wxUSE_TOOLBAR_NATIVE 1
32366 _ACEOF
32367
32368 USES_CONTROLS=1
32369 fi
32370
32371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32372 fi
32373
32374 if test "$wxUSE_TOOLTIPS" = "yes"; then
32375 if test "$wxUSE_MOTIF" = 1; then
32376 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32377 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32378 else
32379 if test "$wxUSE_UNIVERSAL" = "yes"; then
32380 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32381 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32382 else
32383 cat >>confdefs.h <<\_ACEOF
32384 #define wxUSE_TOOLTIPS 1
32385 _ACEOF
32386
32387 fi
32388 fi
32389 fi
32390
32391 if test "$wxUSE_TREECTRL" = "yes"; then
32392 if test "$wxUSE_IMAGLIST" = "yes"; then
32393 cat >>confdefs.h <<\_ACEOF
32394 #define wxUSE_TREECTRL 1
32395 _ACEOF
32396
32397 USES_CONTROLS=1
32398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32399 else
32400 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32401 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32402 fi
32403 fi
32404
32405 if test "$wxUSE_POPUPWIN" = "yes"; then
32406 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32407 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32408 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32409 else
32410 if test "$wxUSE_MOTIF" = 1; then
32411 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32412 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32413 else
32414 if test "$wxUSE_PM" = 1; then
32415 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32416 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32417 else
32418 cat >>confdefs.h <<\_ACEOF
32419 #define wxUSE_POPUPWIN 1
32420 _ACEOF
32421
32422
32423 USES_CONTROLS=1
32424 fi
32425 fi
32426 fi
32427 fi
32428
32429 if test "$wxUSE_TIPWINDOW" = "yes"; then
32430 if test "$wxUSE_PM" = 1; then
32431 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32432 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32433 else
32434 cat >>confdefs.h <<\_ACEOF
32435 #define wxUSE_TIPWINDOW 1
32436 _ACEOF
32437
32438 fi
32439 fi
32440
32441 if test "$USES_CONTROLS" = 1; then
32442 cat >>confdefs.h <<\_ACEOF
32443 #define wxUSE_CONTROLS 1
32444 _ACEOF
32445
32446 fi
32447
32448
32449
32450 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32451 cat >>confdefs.h <<\_ACEOF
32452 #define wxUSE_DRAGIMAGE 1
32453 _ACEOF
32454
32455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32456 fi
32457
32458 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32459 cat >>confdefs.h <<\_ACEOF
32460 #define wxUSE_ACCESSIBILITY 1
32461 _ACEOF
32462
32463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32464 fi
32465
32466 if test "$wxUSE_MENUS" = "yes"; then
32467 cat >>confdefs.h <<\_ACEOF
32468 #define wxUSE_MENUS 1
32469 _ACEOF
32470
32471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32472 fi
32473
32474 if test "$wxUSE_METAFILE" = "yes"; then
32475 cat >>confdefs.h <<\_ACEOF
32476 #define wxUSE_METAFILE 1
32477 _ACEOF
32478
32479 fi
32480
32481 if test "$wxUSE_MIMETYPE" = "yes"; then
32482 cat >>confdefs.h <<\_ACEOF
32483 #define wxUSE_MIMETYPE 1
32484 _ACEOF
32485
32486 fi
32487
32488 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32489 cat >>confdefs.h <<\_ACEOF
32490 #define wxUSE_SYSTEM_OPTIONS 1
32491 _ACEOF
32492
32493 if test "$TOOLKIT" = "MSW"; then
32494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32495 fi
32496
32497 fi
32498
32499 if test "$wxUSE_PROTOCOL" = "yes"; then
32500 if test "$wxUSE_SOCKETS" != "yes"; then
32501 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
32502 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
32503 wxUSE_PROTOCOL=no
32504 fi
32505
32506 if test "$wxUSE_PROTOCOL" = "yes"; then
32507 cat >>confdefs.h <<\_ACEOF
32508 #define wxUSE_PROTOCOL 1
32509 _ACEOF
32510
32511
32512 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
32513 cat >>confdefs.h <<\_ACEOF
32514 #define wxUSE_PROTOCOL_HTTP 1
32515 _ACEOF
32516
32517 fi
32518 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
32519 cat >>confdefs.h <<\_ACEOF
32520 #define wxUSE_PROTOCOL_FTP 1
32521 _ACEOF
32522
32523 fi
32524 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
32525 cat >>confdefs.h <<\_ACEOF
32526 #define wxUSE_PROTOCOL_FILE 1
32527 _ACEOF
32528
32529 fi
32530 fi
32531 fi
32532
32533 if test "$wxUSE_URL" = "yes"; then
32534 if test "$wxUSE_PROTOCOL" != "yes"; then
32535 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
32536 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
32537 wxUSE_URL=no
32538 fi
32539 if test "$wxUSE_URL" = "yes"; then
32540 cat >>confdefs.h <<\_ACEOF
32541 #define wxUSE_URL 1
32542 _ACEOF
32543
32544 fi
32545 fi
32546
32547 if test "$wxUSE_MINIFRAME" = "yes"; then
32548 cat >>confdefs.h <<\_ACEOF
32549 #define wxUSE_MINIFRAME 1
32550 _ACEOF
32551
32552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32553 fi
32554
32555 USE_HTML=0
32556 if test "$wxUSE_HTML" = "yes"; then
32557 cat >>confdefs.h <<\_ACEOF
32558 #define wxUSE_HTML 1
32559 _ACEOF
32560
32561 USE_HTML=1
32562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32563 fi
32564
32565 if test "$wxUSE_VALIDATORS" = "yes"; then
32566 cat >>confdefs.h <<\_ACEOF
32567 #define wxUSE_VALIDATORS 1
32568 _ACEOF
32569
32570 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32571 fi
32572
32573 if test "$wxUSE_PALETTE" = "yes" ; then
32574 cat >>confdefs.h <<\_ACEOF
32575 #define wxUSE_PALETTE 1
32576 _ACEOF
32577
32578 fi
32579
32580 if test "$wxUSE_IMAGE" = "yes" ; then
32581 cat >>confdefs.h <<\_ACEOF
32582 #define wxUSE_IMAGE 1
32583 _ACEOF
32584
32585 fi
32586
32587 if test "$wxUSE_GIF" = "yes" ; then
32588 cat >>confdefs.h <<\_ACEOF
32589 #define wxUSE_GIF 1
32590 _ACEOF
32591
32592 fi
32593
32594 if test "$wxUSE_PCX" = "yes" ; then
32595 cat >>confdefs.h <<\_ACEOF
32596 #define wxUSE_PCX 1
32597 _ACEOF
32598
32599 fi
32600
32601 if test "$wxUSE_IFF" = "yes" ; then
32602 cat >>confdefs.h <<\_ACEOF
32603 #define wxUSE_IFF 1
32604 _ACEOF
32605
32606 fi
32607
32608 if test "$wxUSE_PNM" = "yes" ; then
32609 cat >>confdefs.h <<\_ACEOF
32610 #define wxUSE_PNM 1
32611 _ACEOF
32612
32613 fi
32614
32615 if test "$wxUSE_XPM" = "yes" ; then
32616 cat >>confdefs.h <<\_ACEOF
32617 #define wxUSE_XPM 1
32618 _ACEOF
32619
32620 fi
32621
32622 if test "$wxUSE_ICO_CUR" = "yes" ; then
32623 cat >>confdefs.h <<\_ACEOF
32624 #define wxUSE_ICO_CUR 1
32625 _ACEOF
32626
32627 fi
32628
32629 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
32630 LIBS=" -lunicows $LIBS"
32631 fi
32632
32633
32634 if test "$wxUSE_CHOICEDLG" = "yes"; then
32635 cat >>confdefs.h <<\_ACEOF
32636 #define wxUSE_CHOICEDLG 1
32637 _ACEOF
32638
32639 fi
32640
32641 if test "$wxUSE_COLOURDLG" = "yes"; then
32642 cat >>confdefs.h <<\_ACEOF
32643 #define wxUSE_COLOURDLG 1
32644 _ACEOF
32645
32646 fi
32647
32648 if test "$wxUSE_FILEDLG" = "yes"; then
32649 cat >>confdefs.h <<\_ACEOF
32650 #define wxUSE_FILEDLG 1
32651 _ACEOF
32652
32653 fi
32654
32655 if test "$wxUSE_FINDREPLDLG" = "yes"; then
32656 cat >>confdefs.h <<\_ACEOF
32657 #define wxUSE_FINDREPLDLG 1
32658 _ACEOF
32659
32660 fi
32661
32662 if test "$wxUSE_FONTDLG" = "yes"; then
32663 cat >>confdefs.h <<\_ACEOF
32664 #define wxUSE_FONTDLG 1
32665 _ACEOF
32666
32667 fi
32668
32669 if test "$wxUSE_DIRDLG" = "yes"; then
32670 if test "$wxUSE_TREECTRL" != "yes"; then
32671 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
32672 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
32673 else
32674 cat >>confdefs.h <<\_ACEOF
32675 #define wxUSE_DIRDLG 1
32676 _ACEOF
32677
32678 fi
32679 fi
32680
32681 if test "$wxUSE_MSGDLG" = "yes"; then
32682 cat >>confdefs.h <<\_ACEOF
32683 #define wxUSE_MSGDLG 1
32684 _ACEOF
32685
32686 fi
32687
32688 if test "$wxUSE_NUMBERDLG" = "yes"; then
32689 cat >>confdefs.h <<\_ACEOF
32690 #define wxUSE_NUMBERDLG 1
32691 _ACEOF
32692
32693 fi
32694
32695 if test "$wxUSE_PROGRESSDLG" = "yes"; then
32696 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32697 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
32698 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
32699 else
32700 cat >>confdefs.h <<\_ACEOF
32701 #define wxUSE_PROGRESSDLG 1
32702 _ACEOF
32703
32704 fi
32705 fi
32706
32707 if test "$wxUSE_SPLASH" = "yes"; then
32708 cat >>confdefs.h <<\_ACEOF
32709 #define wxUSE_SPLASH 1
32710 _ACEOF
32711
32712 fi
32713
32714 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
32715 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32716 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
32717 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
32718 else
32719 cat >>confdefs.h <<\_ACEOF
32720 #define wxUSE_STARTUP_TIPS 1
32721 _ACEOF
32722
32723 fi
32724 fi
32725
32726 if test "$wxUSE_TEXTDLG" = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728 #define wxUSE_TEXTDLG 1
32729 _ACEOF
32730
32731 fi
32732
32733 if test "$wxUSE_WIZARDDLG" = "yes"; then
32734 cat >>confdefs.h <<\_ACEOF
32735 #define wxUSE_WIZARDDLG 1
32736 _ACEOF
32737
32738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
32739 fi
32740
32741
32742 if test "$cross_compiling" = "yes"; then
32743 OSINFO="\"$host\""
32744 else
32745 OSINFO=`uname -s -r -m`
32746 OSINFO="\"$OSINFO\""
32747 fi
32748
32749 cat >>confdefs.h <<_ACEOF
32750 #define WXWIN_OS_DESCRIPTION $OSINFO
32751 _ACEOF
32752
32753
32754
32755 if test "x$prefix" != "xNONE"; then
32756 wxPREFIX=$prefix
32757 else
32758 wxPREFIX=$ac_default_prefix
32759 fi
32760
32761 cat >>confdefs.h <<_ACEOF
32762 #define wxINSTALL_PREFIX "$wxPREFIX"
32763 _ACEOF
32764
32765
32766 top_builddir_wxconfig=`pwd`
32767
32768
32769
32770
32771 if test "$wxUSE_MAC" = 1 ; then
32772 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
32773 fi
32774 if test "$wxUSE_COCOA" = 1 ; then
32775 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
32776 fi
32777
32778
32779 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
32780
32781 have_cos=0
32782 have_floor=0
32783
32784 for ac_func in cos
32785 do
32786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32787 echo "$as_me:$LINENO: checking for $ac_func" >&5
32788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32789 if eval "test \"\${$as_ac_var+set}\" = set"; then
32790 echo $ECHO_N "(cached) $ECHO_C" >&6
32791 else
32792 cat >conftest.$ac_ext <<_ACEOF
32793 #line $LINENO "configure"
32794 /* confdefs.h. */
32795 _ACEOF
32796 cat confdefs.h >>conftest.$ac_ext
32797 cat >>conftest.$ac_ext <<_ACEOF
32798 /* end confdefs.h. */
32799 /* System header to define __stub macros and hopefully few prototypes,
32800 which can conflict with char $ac_func (); below.
32801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32802 <limits.h> exists even on freestanding compilers. */
32803 #ifdef __STDC__
32804 # include <limits.h>
32805 #else
32806 # include <assert.h>
32807 #endif
32808 /* Override any gcc2 internal prototype to avoid an error. */
32809 #ifdef __cplusplus
32810 extern "C"
32811 {
32812 #endif
32813 /* We use char because int might match the return type of a gcc2
32814 builtin and then its argument prototype would still apply. */
32815 char $ac_func ();
32816 /* The GNU C library defines this for functions which it implements
32817 to always fail with ENOSYS. Some functions are actually named
32818 something starting with __ and the normal name is an alias. */
32819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32820 choke me
32821 #else
32822 char (*f) () = $ac_func;
32823 #endif
32824 #ifdef __cplusplus
32825 }
32826 #endif
32827
32828 int
32829 main ()
32830 {
32831 return f != $ac_func;
32832 ;
32833 return 0;
32834 }
32835 _ACEOF
32836 rm -f conftest.$ac_objext conftest$ac_exeext
32837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32838 (eval $ac_link) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } &&
32842 { ac_try='test -s conftest$ac_exeext'
32843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32844 (eval $ac_try) 2>&5
32845 ac_status=$?
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); }; }; then
32848 eval "$as_ac_var=yes"
32849 else
32850 echo "$as_me: failed program was:" >&5
32851 sed 's/^/| /' conftest.$ac_ext >&5
32852
32853 eval "$as_ac_var=no"
32854 fi
32855 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32856 fi
32857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32859 if test `eval echo '${'$as_ac_var'}'` = yes; then
32860 cat >>confdefs.h <<_ACEOF
32861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32862 _ACEOF
32863 have_cos=1
32864 fi
32865 done
32866
32867
32868 for ac_func in floor
32869 do
32870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32871 echo "$as_me:$LINENO: checking for $ac_func" >&5
32872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32873 if eval "test \"\${$as_ac_var+set}\" = set"; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 else
32876 cat >conftest.$ac_ext <<_ACEOF
32877 #line $LINENO "configure"
32878 /* confdefs.h. */
32879 _ACEOF
32880 cat confdefs.h >>conftest.$ac_ext
32881 cat >>conftest.$ac_ext <<_ACEOF
32882 /* end confdefs.h. */
32883 /* System header to define __stub macros and hopefully few prototypes,
32884 which can conflict with char $ac_func (); below.
32885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32886 <limits.h> exists even on freestanding compilers. */
32887 #ifdef __STDC__
32888 # include <limits.h>
32889 #else
32890 # include <assert.h>
32891 #endif
32892 /* Override any gcc2 internal prototype to avoid an error. */
32893 #ifdef __cplusplus
32894 extern "C"
32895 {
32896 #endif
32897 /* We use char because int might match the return type of a gcc2
32898 builtin and then its argument prototype would still apply. */
32899 char $ac_func ();
32900 /* The GNU C library defines this for functions which it implements
32901 to always fail with ENOSYS. Some functions are actually named
32902 something starting with __ and the normal name is an alias. */
32903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32904 choke me
32905 #else
32906 char (*f) () = $ac_func;
32907 #endif
32908 #ifdef __cplusplus
32909 }
32910 #endif
32911
32912 int
32913 main ()
32914 {
32915 return f != $ac_func;
32916 ;
32917 return 0;
32918 }
32919 _ACEOF
32920 rm -f conftest.$ac_objext conftest$ac_exeext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32922 (eval $ac_link) 2>&5
32923 ac_status=$?
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); } &&
32926 { ac_try='test -s conftest$ac_exeext'
32927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32928 (eval $ac_try) 2>&5
32929 ac_status=$?
32930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931 (exit $ac_status); }; }; then
32932 eval "$as_ac_var=yes"
32933 else
32934 echo "$as_me: failed program was:" >&5
32935 sed 's/^/| /' conftest.$ac_ext >&5
32936
32937 eval "$as_ac_var=no"
32938 fi
32939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32940 fi
32941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32943 if test `eval echo '${'$as_ac_var'}'` = yes; then
32944 cat >>confdefs.h <<_ACEOF
32945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32946 _ACEOF
32947 have_floor=1
32948 fi
32949 done
32950
32951 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
32952 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
32953 if test "$have_cos" = 1 -a "$have_floor" = 1; then
32954 echo "$as_me:$LINENO: result: yes" >&5
32955 echo "${ECHO_T}yes" >&6
32956 else
32957 echo "$as_me:$LINENO: result: no" >&5
32958 echo "${ECHO_T}no" >&6
32959 LIBS="$LIBS -lm"
32960 # use different functions to avoid configure caching
32961 have_sin=0
32962 have_ceil=0
32963
32964 for ac_func in sin
32965 do
32966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32967 echo "$as_me:$LINENO: checking for $ac_func" >&5
32968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32969 if eval "test \"\${$as_ac_var+set}\" = set"; then
32970 echo $ECHO_N "(cached) $ECHO_C" >&6
32971 else
32972 cat >conftest.$ac_ext <<_ACEOF
32973 #line $LINENO "configure"
32974 /* confdefs.h. */
32975 _ACEOF
32976 cat confdefs.h >>conftest.$ac_ext
32977 cat >>conftest.$ac_ext <<_ACEOF
32978 /* end confdefs.h. */
32979 /* System header to define __stub macros and hopefully few prototypes,
32980 which can conflict with char $ac_func (); below.
32981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32982 <limits.h> exists even on freestanding compilers. */
32983 #ifdef __STDC__
32984 # include <limits.h>
32985 #else
32986 # include <assert.h>
32987 #endif
32988 /* Override any gcc2 internal prototype to avoid an error. */
32989 #ifdef __cplusplus
32990 extern "C"
32991 {
32992 #endif
32993 /* We use char because int might match the return type of a gcc2
32994 builtin and then its argument prototype would still apply. */
32995 char $ac_func ();
32996 /* The GNU C library defines this for functions which it implements
32997 to always fail with ENOSYS. Some functions are actually named
32998 something starting with __ and the normal name is an alias. */
32999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33000 choke me
33001 #else
33002 char (*f) () = $ac_func;
33003 #endif
33004 #ifdef __cplusplus
33005 }
33006 #endif
33007
33008 int
33009 main ()
33010 {
33011 return f != $ac_func;
33012 ;
33013 return 0;
33014 }
33015 _ACEOF
33016 rm -f conftest.$ac_objext conftest$ac_exeext
33017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33018 (eval $ac_link) 2>&5
33019 ac_status=$?
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); } &&
33022 { ac_try='test -s conftest$ac_exeext'
33023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33024 (eval $ac_try) 2>&5
33025 ac_status=$?
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); }; }; then
33028 eval "$as_ac_var=yes"
33029 else
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33032
33033 eval "$as_ac_var=no"
33034 fi
33035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33036 fi
33037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33039 if test `eval echo '${'$as_ac_var'}'` = yes; then
33040 cat >>confdefs.h <<_ACEOF
33041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33042 _ACEOF
33043 have_sin=1
33044 fi
33045 done
33046
33047
33048 for ac_func in ceil
33049 do
33050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33051 echo "$as_me:$LINENO: checking for $ac_func" >&5
33052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33053 if eval "test \"\${$as_ac_var+set}\" = set"; then
33054 echo $ECHO_N "(cached) $ECHO_C" >&6
33055 else
33056 cat >conftest.$ac_ext <<_ACEOF
33057 #line $LINENO "configure"
33058 /* confdefs.h. */
33059 _ACEOF
33060 cat confdefs.h >>conftest.$ac_ext
33061 cat >>conftest.$ac_ext <<_ACEOF
33062 /* end confdefs.h. */
33063 /* System header to define __stub macros and hopefully few prototypes,
33064 which can conflict with char $ac_func (); below.
33065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33066 <limits.h> exists even on freestanding compilers. */
33067 #ifdef __STDC__
33068 # include <limits.h>
33069 #else
33070 # include <assert.h>
33071 #endif
33072 /* Override any gcc2 internal prototype to avoid an error. */
33073 #ifdef __cplusplus
33074 extern "C"
33075 {
33076 #endif
33077 /* We use char because int might match the return type of a gcc2
33078 builtin and then its argument prototype would still apply. */
33079 char $ac_func ();
33080 /* The GNU C library defines this for functions which it implements
33081 to always fail with ENOSYS. Some functions are actually named
33082 something starting with __ and the normal name is an alias. */
33083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33084 choke me
33085 #else
33086 char (*f) () = $ac_func;
33087 #endif
33088 #ifdef __cplusplus
33089 }
33090 #endif
33091
33092 int
33093 main ()
33094 {
33095 return f != $ac_func;
33096 ;
33097 return 0;
33098 }
33099 _ACEOF
33100 rm -f conftest.$ac_objext conftest$ac_exeext
33101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33102 (eval $ac_link) 2>&5
33103 ac_status=$?
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); } &&
33106 { ac_try='test -s conftest$ac_exeext'
33107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33108 (eval $ac_try) 2>&5
33109 ac_status=$?
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; }; then
33112 eval "$as_ac_var=yes"
33113 else
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.$ac_ext >&5
33116
33117 eval "$as_ac_var=no"
33118 fi
33119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33120 fi
33121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33123 if test `eval echo '${'$as_ac_var'}'` = yes; then
33124 cat >>confdefs.h <<_ACEOF
33125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33126 _ACEOF
33127 have_ceil=1
33128 fi
33129 done
33130
33131 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33132 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33133 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33134 echo "$as_me:$LINENO: result: yes" >&5
33135 echo "${ECHO_T}yes" >&6
33136 else
33137 echo "$as_me:$LINENO: result: no" >&5
33138 echo "${ECHO_T}no" >&6
33139 # not sure we should warn the user, crash, etc.
33140 fi
33141 fi
33142
33143 if test "$wxUSE_GUI" = "yes"; then
33144
33145
33146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33147 drawing dynamic erase event exec font image \
33148 minimal propsize rotate shaped widgets"
33149
33150 if test "$wxUSE_MONOLITHIC" != "yes"; then
33151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33152 fi
33153 else
33154 SAMPLES_SUBDIRS="console"
33155 fi
33156
33157
33158 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33159 -I\${top_srcdir}/include \
33160 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33161 $TOOLKIT_INCLUDE"
33162
33163 if test "$GXX" = yes ; then
33164 CXXWARNINGS="-Wall"
33165 fi
33166
33167 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33168
33169 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33170 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33171 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33172
33173
33174 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33175 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33176 if test "$wxUSE_GUI" = "yes"; then
33177 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33178 fi
33179
33180 LDFLAGS="$LDFLAGS $PROFILE"
33181
33182 if test "$wxUSE_GTK" = 1; then
33183 WXCONFIG_INCLUDE=
33184 else
33185 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33186 fi
33187
33188 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33189 WXUNIV=1
33190 else
33191 WXUNIV=0
33192 fi
33193
33194
33195
33196
33197
33198
33199
33200
33201 if test $wxUSE_MONOLITHIC = "yes" ; then
33202 MONOLITHIC=1
33203 else
33204 MONOLITHIC=0
33205 fi
33206
33207 VENDOR="custom"
33208 OFFICIAL_BUILD=0
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33220
33221
33222
33223
33224
33225 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33226
33227 if test -n "$ac_tool_prefix"; then
33228 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33230 echo "$as_me:$LINENO: checking for $ac_word" >&5
33231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33232 if test "${ac_cv_prog_RANLIB+set}" = set; then
33233 echo $ECHO_N "(cached) $ECHO_C" >&6
33234 else
33235 if test -n "$RANLIB"; then
33236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33237 else
33238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33239 for as_dir in $PATH
33240 do
33241 IFS=$as_save_IFS
33242 test -z "$as_dir" && as_dir=.
33243 for ac_exec_ext in '' $ac_executable_extensions; do
33244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33245 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33247 break 2
33248 fi
33249 done
33250 done
33251
33252 fi
33253 fi
33254 RANLIB=$ac_cv_prog_RANLIB
33255 if test -n "$RANLIB"; then
33256 echo "$as_me:$LINENO: result: $RANLIB" >&5
33257 echo "${ECHO_T}$RANLIB" >&6
33258 else
33259 echo "$as_me:$LINENO: result: no" >&5
33260 echo "${ECHO_T}no" >&6
33261 fi
33262
33263 fi
33264 if test -z "$ac_cv_prog_RANLIB"; then
33265 ac_ct_RANLIB=$RANLIB
33266 # Extract the first word of "ranlib", so it can be a program name with args.
33267 set dummy ranlib; ac_word=$2
33268 echo "$as_me:$LINENO: checking for $ac_word" >&5
33269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33270 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33271 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 else
33273 if test -n "$ac_ct_RANLIB"; then
33274 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33275 else
33276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33277 for as_dir in $PATH
33278 do
33279 IFS=$as_save_IFS
33280 test -z "$as_dir" && as_dir=.
33281 for ac_exec_ext in '' $ac_executable_extensions; do
33282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33283 ac_cv_prog_ac_ct_RANLIB="ranlib"
33284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33285 break 2
33286 fi
33287 done
33288 done
33289
33290 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33291 fi
33292 fi
33293 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33294 if test -n "$ac_ct_RANLIB"; then
33295 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33296 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33297 else
33298 echo "$as_me:$LINENO: result: no" >&5
33299 echo "${ECHO_T}no" >&6
33300 fi
33301
33302 RANLIB=$ac_ct_RANLIB
33303 else
33304 RANLIB="$ac_cv_prog_RANLIB"
33305 fi
33306
33307 # Find a good install program. We prefer a C program (faster),
33308 # so one script is as good as another. But avoid the broken or
33309 # incompatible versions:
33310 # SysV /etc/install, /usr/sbin/install
33311 # SunOS /usr/etc/install
33312 # IRIX /sbin/install
33313 # AIX /bin/install
33314 # AmigaOS /C/install, which installs bootblocks on floppy discs
33315 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33316 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33317 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33318 # ./install, which can be erroneously created by make from ./install.sh.
33319 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33320 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33321 if test -z "$INSTALL"; then
33322 if test "${ac_cv_path_install+set}" = set; then
33323 echo $ECHO_N "(cached) $ECHO_C" >&6
33324 else
33325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33326 for as_dir in $PATH
33327 do
33328 IFS=$as_save_IFS
33329 test -z "$as_dir" && as_dir=.
33330 # Account for people who put trailing slashes in PATH elements.
33331 case $as_dir/ in
33332 ./ | .// | /cC/* | \
33333 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33334 /usr/ucb/* ) ;;
33335 *)
33336 # OSF1 and SCO ODT 3.0 have their own names for install.
33337 # Don't use installbsd from OSF since it installs stuff as root
33338 # by default.
33339 for ac_prog in ginstall scoinst install; do
33340 for ac_exec_ext in '' $ac_executable_extensions; do
33341 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33342 if test $ac_prog = install &&
33343 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33344 # AIX install. It has an incompatible calling convention.
33345 :
33346 elif test $ac_prog = install &&
33347 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33348 # program-specific install script used by HP pwplus--don't use.
33349 :
33350 else
33351 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33352 break 3
33353 fi
33354 fi
33355 done
33356 done
33357 ;;
33358 esac
33359 done
33360
33361
33362 fi
33363 if test "${ac_cv_path_install+set}" = set; then
33364 INSTALL=$ac_cv_path_install
33365 else
33366 # As a last resort, use the slow shell script. We don't cache a
33367 # path for INSTALL within a source directory, because that will
33368 # break other packages using the cache if that directory is
33369 # removed, or if the path is relative.
33370 INSTALL=$ac_install_sh
33371 fi
33372 fi
33373 echo "$as_me:$LINENO: result: $INSTALL" >&5
33374 echo "${ECHO_T}$INSTALL" >&6
33375
33376 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33377 # It thinks the first close brace ends the variable substitution.
33378 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33379
33380 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33381
33382 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33383
33384 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33385 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33386 LN_S=$as_ln_s
33387 if test "$LN_S" = "ln -s"; then
33388 echo "$as_me:$LINENO: result: yes" >&5
33389 echo "${ECHO_T}yes" >&6
33390 else
33391 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33392 echo "${ECHO_T}no, using $LN_S" >&6
33393 fi
33394
33395
33396 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33397 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33398 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33399 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33400 echo $ECHO_N "(cached) $ECHO_C" >&6
33401 else
33402 cat >conftest.make <<\_ACEOF
33403 all:
33404 @echo 'ac_maketemp="$(MAKE)"'
33405 _ACEOF
33406 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33407 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33408 if test -n "$ac_maketemp"; then
33409 eval ac_cv_prog_make_${ac_make}_set=yes
33410 else
33411 eval ac_cv_prog_make_${ac_make}_set=no
33412 fi
33413 rm -f conftest.make
33414 fi
33415 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33416 echo "$as_me:$LINENO: result: yes" >&5
33417 echo "${ECHO_T}yes" >&6
33418 SET_MAKE=
33419 else
33420 echo "$as_me:$LINENO: result: no" >&5
33421 echo "${ECHO_T}no" >&6
33422 SET_MAKE="MAKE=${MAKE-make}"
33423 fi
33424
33425
33426
33427 if test "$build" != "$host" ; then
33428 AR=$host_alias-ar
33429 STRIP=$host_alias-strip
33430 else
33431 # Extract the first word of "ar", so it can be a program name with args.
33432 set dummy ar; ac_word=$2
33433 echo "$as_me:$LINENO: checking for $ac_word" >&5
33434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33435 if test "${ac_cv_prog_AR+set}" = set; then
33436 echo $ECHO_N "(cached) $ECHO_C" >&6
33437 else
33438 if test -n "$AR"; then
33439 ac_cv_prog_AR="$AR" # Let the user override the test.
33440 else
33441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33442 for as_dir in $PATH
33443 do
33444 IFS=$as_save_IFS
33445 test -z "$as_dir" && as_dir=.
33446 for ac_exec_ext in '' $ac_executable_extensions; do
33447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33448 ac_cv_prog_AR="ar"
33449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33450 break 2
33451 fi
33452 done
33453 done
33454
33455 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33456 fi
33457 fi
33458 AR=$ac_cv_prog_AR
33459 if test -n "$AR"; then
33460 echo "$as_me:$LINENO: result: $AR" >&5
33461 echo "${ECHO_T}$AR" >&6
33462 else
33463 echo "$as_me:$LINENO: result: no" >&5
33464 echo "${ECHO_T}no" >&6
33465 fi
33466
33467 # Extract the first word of "strip", so it can be a program name with args.
33468 set dummy strip; ac_word=$2
33469 echo "$as_me:$LINENO: checking for $ac_word" >&5
33470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33471 if test "${ac_cv_prog_STRIP+set}" = set; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 else
33474 if test -n "$STRIP"; then
33475 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33476 else
33477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33478 for as_dir in $PATH
33479 do
33480 IFS=$as_save_IFS
33481 test -z "$as_dir" && as_dir=.
33482 for ac_exec_ext in '' $ac_executable_extensions; do
33483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33484 ac_cv_prog_STRIP="strip"
33485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33486 break 2
33487 fi
33488 done
33489 done
33490
33491 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33492 fi
33493 fi
33494 STRIP=$ac_cv_prog_STRIP
33495 if test -n "$STRIP"; then
33496 echo "$as_me:$LINENO: result: $STRIP" >&5
33497 echo "${ECHO_T}$STRIP" >&6
33498 else
33499 echo "$as_me:$LINENO: result: no" >&5
33500 echo "${ECHO_T}no" >&6
33501 fi
33502
33503 fi
33504
33505 case ${host} in
33506 *-hp-hpux* )
33507 INSTALL_DIR="mkdir"
33508 ;;
33509 *) INSTALL_DIR="$INSTALL -d"
33510 ;;
33511 esac
33512
33513
33514 LDFLAGS_GUI=
33515 case ${host} in
33516 *-*-cygwin* | *-*-mingw32* )
33517 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
33518 esac
33519
33520
33521 fi
33522
33523 echo "$as_me:$LINENO: checking if make is GNU make" >&5
33524 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
33525 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
33526 echo $ECHO_N "(cached) $ECHO_C" >&6
33527 else
33528
33529 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
33530 egrep -s GNU > /dev/null); then
33531 bakefile_cv_prog_makeisgnu="yes"
33532 else
33533 bakefile_cv_prog_makeisgnu="no"
33534 fi
33535
33536 fi
33537 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
33538 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
33539
33540 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
33541 IF_GNU_MAKE=""
33542 else
33543 IF_GNU_MAKE="#"
33544 fi
33545
33546
33547
33548 PLATFORM_UNIX=0
33549 PLATFORM_WIN32=0
33550 PLATFORM_MSDOS=0
33551 PLATFORM_MAC=0
33552 PLATFORM_MACOSX=0
33553
33554 case "${host}" in
33555 *-*-cygwin* | *-*-mingw32* )
33556 PLATFORM_WIN32=1
33557 ;;
33558 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33559 PLATFORM_MSDOS=1
33560 ;;
33561 powerpc-*-darwin* )
33562 PLATFORM_MAC=1
33563 PLATFORM_MACOSX=1
33564 ;;
33565 * )
33566 PLATFORM_UNIX=1
33567 ;;
33568 esac
33569
33570
33571
33572
33573
33574
33575
33576
33577 SO_SUFFIX="so"
33578 EXEEXT=""
33579 DLLPREFIX=lib
33580
33581 case "${host}" in
33582 *-hp-hpux* )
33583 SO_SUFFIX="sl"
33584 ;;
33585 *-*-aix* )
33586 SO_SUFFIX="a"
33587 ;;
33588 *-*-cygwin* | *-*-mingw32* )
33589 SO_SUFFIX="dll"
33590 EXEEXT=".exe"
33591 DLLPREFIX=""
33592 ;;
33593 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
33594 EXEEXT=".exe"
33595 DLLPREFIX=""
33596 ;;
33597 powerpc-*-darwin* )
33598 SO_SUFFIX="dylib"
33599 ;;
33600 esac
33601
33602
33603
33604
33605
33606
33607 SHARED_LD_CC="\$(CC) -shared -o"
33608 SHARED_LD_CXX="\$(CXX) -shared -o"
33609
33610 if test "x$GCC" = "xyes"; then
33611 PIC_FLAG="-fPIC"
33612 fi
33613
33614 case "${host}" in
33615 *-hp-hpux* )
33616 if test "x$GCC" = "xyes"; then
33617 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
33618 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
33619 else
33620 LDFLAGS="$LDFLAGS -L/usr/lib"
33621
33622 SHARED_LD_CC="${CC} -b -o"
33623 SHARED_LD_CXX="${CXX} -b -o"
33624 PIC_FLAG="+Z"
33625 fi
33626 ;;
33627
33628 *-*-linux* )
33629 if test "x$GCC" != "xyes"; then
33630 echo "$as_me:$LINENO: checking for Intel compiler" >&5
33631 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
33632 if test "${bakefile_cv_prog_icc+set}" = set; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33634 else
33635
33636 cat >conftest.$ac_ext <<_ACEOF
33637 #line $LINENO "configure"
33638 /* confdefs.h. */
33639 _ACEOF
33640 cat confdefs.h >>conftest.$ac_ext
33641 cat >>conftest.$ac_ext <<_ACEOF
33642 /* end confdefs.h. */
33643
33644 int
33645 main ()
33646 {
33647
33648 #ifndef __INTEL_COMPILER
33649 #error Not icc
33650 #endif
33651
33652 ;
33653 return 0;
33654 }
33655 _ACEOF
33656 rm -f conftest.$ac_objext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33658 (eval $ac_compile) 2>&5
33659 ac_status=$?
33660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33661 (exit $ac_status); } &&
33662 { ac_try='test -s conftest.$ac_objext'
33663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33664 (eval $ac_try) 2>&5
33665 ac_status=$?
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); }; }; then
33668 bakefile_cv_prog_icc=yes
33669 else
33670 echo "$as_me: failed program was:" >&5
33671 sed 's/^/| /' conftest.$ac_ext >&5
33672
33673 bakefile_cv_prog_icc=no
33674
33675 fi
33676 rm -f conftest.$ac_objext conftest.$ac_ext
33677
33678 fi
33679 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
33680 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
33681 if test "$bakefile_cv_prog_icc" = "yes"; then
33682 PIC_FLAG="-KPIC"
33683 fi
33684 fi
33685 ;;
33686
33687 *-*-solaris2* )
33688 if test "x$GCC" != xyes ; then
33689 SHARED_LD_CC="${CC} -G -o"
33690 SHARED_LD_CXX="${CXX} -G -o"
33691 PIC_FLAG="-KPIC"
33692 fi
33693 ;;
33694
33695 *-*-darwin* )
33696 CFLAGS="$CFLAGS -fno-common"
33697 CXXFLAGS="$CXXFLAGS -fno-common"
33698
33699
33700 cat <<EOF >shared-ld-sh
33701 #!/bin/sh
33702 #-----------------------------------------------------------------------------
33703 #-- Name: distrib/mac/shared-ld-sh
33704 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
33705 #-- Author: Gilles Depeyrot
33706 #-- Copyright: (c) 2002 Gilles Depeyrot
33707 #-- Licence: any use permitted
33708 #-----------------------------------------------------------------------------
33709
33710 verbose=0
33711 args=""
33712 objects=""
33713
33714 while test \${#} -gt 0; do
33715 case \${1} in
33716
33717 -v)
33718 verbose=1
33719 ;;
33720
33721 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
33722 # collect these options and values
33723 args="\${args} \${1} \${2}"
33724 shift
33725 ;;
33726
33727 -l*|-L*|-flat_namespace)
33728 # collect these options
33729 args="\${args} \${1}"
33730 ;;
33731
33732 -dynamiclib)
33733 # skip these options
33734 ;;
33735
33736 -*)
33737 echo "shared-ld: unhandled option '\${1}'"
33738 exit 1
33739 ;;
33740
33741 *.o | *.a | *.dylib)
33742 # collect object files
33743 objects="\${objects} \${1}"
33744 ;;
33745
33746 *)
33747 echo "shared-ld: unhandled argument '\${1}'"
33748 exit 1
33749 ;;
33750
33751 esac
33752 shift
33753 done
33754
33755 #
33756 # Link one module containing all the others
33757 #
33758 if test \${verbose} = 1; then
33759 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
33760 fi
33761 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
33762 status=\$?
33763 if test \${status} != 0; then
33764 exit \${status}
33765 fi
33766
33767 #
33768 # Link the shared library from the single module created
33769 #
33770 if test \${verbose} = 1; then
33771 echo "cc -dynamiclib master.\$\$.o \${args}"
33772 fi
33773 c++ -dynamiclib master.\$\$.o \${args}
33774 status=\$?
33775 if test \${status} != 0; then
33776 exit \${status}
33777 fi
33778
33779 #
33780 # Remove intermediate module
33781 #
33782 rm -f master.\$\$.o
33783
33784 exit 0
33785 EOF
33786 chmod +x shared-ld-sh
33787
33788 SHARED_LD_CC="`pwd`/shared-ld-sh -undefined suppress -flat_namespace -o"
33789 SHARED_LD_CXX="$SHARED_LD_CC"
33790 PIC_FLAG="-dynamic -fPIC"
33791 ;;
33792
33793 *-*-aix* )
33794 if test "x$GCC" != "xyes"; then
33795 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
33796 set dummy makeC++SharedLib; ac_word=$2
33797 echo "$as_me:$LINENO: checking for $ac_word" >&5
33798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33799 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
33800 echo $ECHO_N "(cached) $ECHO_C" >&6
33801 else
33802 if test -n "$AIX_CXX_LD"; then
33803 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
33804 else
33805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33806 for as_dir in $PATH
33807 do
33808 IFS=$as_save_IFS
33809 test -z "$as_dir" && as_dir=.
33810 for ac_exec_ext in '' $ac_executable_extensions; do
33811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33812 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
33813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33814 break 2
33815 fi
33816 done
33817 done
33818
33819 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
33820 fi
33821 fi
33822 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
33823 if test -n "$AIX_CXX_LD"; then
33824 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
33825 echo "${ECHO_T}$AIX_CXX_LD" >&6
33826 else
33827 echo "$as_me:$LINENO: result: no" >&5
33828 echo "${ECHO_T}no" >&6
33829 fi
33830
33831 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
33832 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
33833 fi
33834 ;;
33835
33836 *-*-beos* )
33837 SHARED_LD_CC="${LD} -shared -o"
33838 SHARED_LD_CXX="${LD} -shared -o"
33839 ;;
33840
33841 *-*-irix* )
33842 if test "x$GCC" != "xyes"; then
33843 PIC_FLAG="-KPIC"
33844 fi
33845 ;;
33846
33847 *-*-cygwin* | *-*-mingw32* )
33848 PIC_FLAG=""
33849 ;;
33850
33851 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
33852 *-*-sunos4* | \
33853 *-*-osf* | \
33854 *-*-dgux5* | \
33855 *-*-sysv5* )
33856 ;;
33857
33858 *)
33859 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
33860 echo "$as_me: error: unknown system type $host." >&2;}
33861 { (exit 1); exit 1; }; }
33862 esac
33863
33864
33865
33866
33867
33868
33869 USE_SOVERSION=0
33870 USE_SOVERLINUX=0
33871 USE_SOVERSOLARIS=0
33872 USE_SOSYMLINKS=0
33873 USE_MACVERSION=0
33874 SONAME_FLAG=
33875
33876 case "${host}" in
33877 *-*-linux* )
33878 SONAME_FLAG="-Wl,-soname,"
33879 USE_SOVERSION=1
33880 USE_SOVERLINUX=1
33881 USE_SOSYMLINKS=1
33882 ;;
33883
33884 *-*-solaris2* )
33885 SONAME_FLAG="-h "
33886 USE_SOVERSION=1
33887 USE_SOVERSOLARIS=1
33888 USE_SOSYMLINKS=1
33889 ;;
33890
33891 *-*-darwin* )
33892 USE_MACVERSION=1
33893 USE_SOVERSION=1
33894 USE_SOSYMLINKS=1
33895 ;;
33896 esac
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
33907 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
33908 DEPS_TRACKING=0
33909
33910 if test "x$GCC" = "xyes"; then
33911 DEPSMODE=gcc
33912 DEPS_TRACKING=1
33913 case "${host}" in
33914 powerpc-*-darwin* )
33915 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
33916 ;;
33917 * )
33918 DEPSFLAG_GCC="-MMD"
33919 ;;
33920 esac
33921 echo "$as_me:$LINENO: result: gcc" >&5
33922 echo "${ECHO_T}gcc" >&6
33923 else
33924 echo "$as_me:$LINENO: result: none" >&5
33925 echo "${ECHO_T}none" >&6
33926 fi
33927
33928 if test $DEPS_TRACKING = 1 ; then
33929 cat <<EOF >bk-deps
33930 #!/bin/sh
33931
33932 # This script is part of Bakefile (http://bakefile.sf.net) autoconf script.
33933 # It is used to track C/C++ files dependencies in portable way.
33934 #
33935 # Permission is given to use this file in any way.
33936
33937 DEPSMODE=$DEPSMODE
33938 DEPSDIR=.deps
33939 DEPSFLAG_GCC="$DEPSFLAG_GCC"
33940
33941 mkdir -p \$DEPSDIR
33942
33943 if test \$DEPSMODE = gcc ; then
33944 \${*} \${DEPSFLAG_GCC}
33945 status=\${?}
33946 if test \${status} != 0 ; then
33947 exit \${status}
33948 fi
33949 # move created file to the location we want it in:
33950 while test \${#} -gt 0; do
33951 case "\${1}" in
33952 -o )
33953 shift
33954 objfile=\${1}
33955 ;;
33956 -* )
33957 ;;
33958 * )
33959 srcfile=\${1}
33960 ;;
33961 esac
33962 shift
33963 done
33964 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
33965 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
33966 if test -f \$depfile ; then
33967 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
33968 rm -f \$depfile
33969 else
33970 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
33971 if test -f \$depfile ; then
33972 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
33973 rm -f \$depfile
33974 fi
33975 fi
33976 exit 0
33977 else
33978 \${*}
33979 exit \${?}
33980 fi
33981 EOF
33982 chmod +x bk-deps
33983 fi
33984
33985
33986
33987
33988 RESCOMP=
33989 SETFILE=
33990
33991 case ${host} in
33992 *-*-cygwin* | *-*-mingw32* )
33993 if test "$build" != "$host" ; then
33994 RESCOMP=$host_alias-windres
33995 else
33996 # Extract the first word of "windres", so it can be a program name with args.
33997 set dummy windres; ac_word=$2
33998 echo "$as_me:$LINENO: checking for $ac_word" >&5
33999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34000 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 else
34003 if test -n "$RESCOMP"; then
34004 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34005 else
34006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34007 for as_dir in $PATH
34008 do
34009 IFS=$as_save_IFS
34010 test -z "$as_dir" && as_dir=.
34011 for ac_exec_ext in '' $ac_executable_extensions; do
34012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34013 ac_cv_prog_RESCOMP="windres"
34014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34015 break 2
34016 fi
34017 done
34018 done
34019
34020 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34021 fi
34022 fi
34023 RESCOMP=$ac_cv_prog_RESCOMP
34024 if test -n "$RESCOMP"; then
34025 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34026 echo "${ECHO_T}$RESCOMP" >&6
34027 else
34028 echo "$as_me:$LINENO: result: no" >&5
34029 echo "${ECHO_T}no" >&6
34030 fi
34031
34032 fi
34033 ;;
34034
34035 *-*-darwin* )
34036 # Extract the first word of "Rez", so it can be a program name with args.
34037 set dummy Rez; ac_word=$2
34038 echo "$as_me:$LINENO: checking for $ac_word" >&5
34039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34040 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34041 echo $ECHO_N "(cached) $ECHO_C" >&6
34042 else
34043 if test -n "$RESCOMP"; then
34044 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34045 else
34046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34047 for as_dir in $PATH
34048 do
34049 IFS=$as_save_IFS
34050 test -z "$as_dir" && as_dir=.
34051 for ac_exec_ext in '' $ac_executable_extensions; do
34052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34053 ac_cv_prog_RESCOMP="Rez"
34054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34055 break 2
34056 fi
34057 done
34058 done
34059
34060 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34061 fi
34062 fi
34063 RESCOMP=$ac_cv_prog_RESCOMP
34064 if test -n "$RESCOMP"; then
34065 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34066 echo "${ECHO_T}$RESCOMP" >&6
34067 else
34068 echo "$as_me:$LINENO: result: no" >&5
34069 echo "${ECHO_T}no" >&6
34070 fi
34071
34072 # Extract the first word of "SetFile", so it can be a program name with args.
34073 set dummy SetFile; ac_word=$2
34074 echo "$as_me:$LINENO: checking for $ac_word" >&5
34075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34076 if test "${ac_cv_prog_SETFILE+set}" = set; then
34077 echo $ECHO_N "(cached) $ECHO_C" >&6
34078 else
34079 if test -n "$SETFILE"; then
34080 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34081 else
34082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34083 for as_dir in $PATH
34084 do
34085 IFS=$as_save_IFS
34086 test -z "$as_dir" && as_dir=.
34087 for ac_exec_ext in '' $ac_executable_extensions; do
34088 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34089 ac_cv_prog_SETFILE="SetFile"
34090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34091 break 2
34092 fi
34093 done
34094 done
34095
34096 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34097 fi
34098 fi
34099 SETFILE=$ac_cv_prog_SETFILE
34100 if test -n "$SETFILE"; then
34101 echo "$as_me:$LINENO: result: $SETFILE" >&5
34102 echo "${ECHO_T}$SETFILE" >&6
34103 else
34104 echo "$as_me:$LINENO: result: no" >&5
34105 echo "${ECHO_T}no" >&6
34106 fi
34107
34108 ;;
34109 esac
34110
34111
34112
34113
34114
34115
34116
34117 COND_BUILD_DEBUG="#"
34118 if test "x$BUILD" = "xdebug" ; then
34119 COND_BUILD_DEBUG=""
34120 fi
34121
34122 COND_BUILD_RELEASE="#"
34123 if test "x$BUILD" = "xrelease" ; then
34124 COND_BUILD_RELEASE=""
34125 fi
34126
34127 COND_DEPS_TRACKING_0="#"
34128 if test "x$DEPS_TRACKING" = "x0" ; then
34129 COND_DEPS_TRACKING_0=""
34130 fi
34131
34132 COND_DEPS_TRACKING_1="#"
34133 if test "x$DEPS_TRACKING" = "x1" ; then
34134 COND_DEPS_TRACKING_1=""
34135 fi
34136
34137 COND_MONOLITHIC_0="#"
34138 if test "x$MONOLITHIC" = "x0" ; then
34139 COND_MONOLITHIC_0=""
34140 fi
34141
34142 COND_MONOLITHIC_0_SHARED_0="#"
34143 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34144 COND_MONOLITHIC_0_SHARED_0=""
34145 fi
34146
34147 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34148 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34149 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34150 fi
34151
34152 COND_MONOLITHIC_0_SHARED_1="#"
34153 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34154 COND_MONOLITHIC_0_SHARED_1=""
34155 fi
34156
34157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34158 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34159 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34160 fi
34161
34162 COND_MONOLITHIC_1="#"
34163 if test "x$MONOLITHIC" = "x1" ; then
34164 COND_MONOLITHIC_1=""
34165 fi
34166
34167 COND_MONOLITHIC_1_SHARED_0="#"
34168 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34169 COND_MONOLITHIC_1_SHARED_0=""
34170 fi
34171
34172 COND_MONOLITHIC_1_SHARED_1="#"
34173 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34174 COND_MONOLITHIC_1_SHARED_1=""
34175 fi
34176
34177 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34178 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34179 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34180 fi
34181
34182 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34183 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34184 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34185 fi
34186
34187 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34188 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34189 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34190 fi
34191
34192 COND_PLATFORM_MACOSX_1="#"
34193 if test "x$PLATFORM_MACOSX" = "x1" ; then
34194 COND_PLATFORM_MACOSX_1=""
34195 fi
34196
34197 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34198 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34199 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34200 fi
34201
34202 COND_PLATFORM_UNIX_1="#"
34203 if test "x$PLATFORM_UNIX" = "x1" ; then
34204 COND_PLATFORM_UNIX_1=""
34205 fi
34206
34207 COND_PLATFORM_WIN32_0="#"
34208 if test "x$PLATFORM_WIN32" = "x0" ; then
34209 COND_PLATFORM_WIN32_0=""
34210 fi
34211
34212 COND_PLATFORM_WIN32_1="#"
34213 if test "x$PLATFORM_WIN32" = "x1" ; then
34214 COND_PLATFORM_WIN32_1=""
34215 fi
34216
34217 COND_TOOLKIT_COCOA="#"
34218 if test "x$TOOLKIT" = "xCOCOA" ; then
34219 COND_TOOLKIT_COCOA=""
34220 fi
34221
34222 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
34223 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34224 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
34225 fi
34226
34227 COND_TOOLKIT_GTK="#"
34228 if test "x$TOOLKIT" = "xGTK" ; then
34229 COND_TOOLKIT_GTK=""
34230 fi
34231
34232 COND_TOOLKIT_GTK_USE_GUI_1="#"
34233 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
34234 COND_TOOLKIT_GTK_USE_GUI_1=""
34235 fi
34236
34237 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
34238 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34239 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
34240 fi
34241
34242 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1="#"
34243 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34244 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1=""
34245 fi
34246
34247 COND_TOOLKIT_MAC="#"
34248 if test "x$TOOLKIT" = "xMAC" ; then
34249 COND_TOOLKIT_MAC=""
34250 fi
34251
34252 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
34253 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34254 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
34255 fi
34256
34257 COND_TOOLKIT_MGL="#"
34258 if test "x$TOOLKIT" = "xMGL" ; then
34259 COND_TOOLKIT_MGL=""
34260 fi
34261
34262 COND_TOOLKIT_MGL_USE_GUI_1="#"
34263 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
34264 COND_TOOLKIT_MGL_USE_GUI_1=""
34265 fi
34266
34267 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1="#"
34268 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34269 COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1=""
34270 fi
34271
34272 COND_TOOLKIT_MOTIF="#"
34273 if test "x$TOOLKIT" = "xMOTIF" ; then
34274 COND_TOOLKIT_MOTIF=""
34275 fi
34276
34277 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
34278 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
34279 COND_TOOLKIT_MOTIF_USE_GUI_1=""
34280 fi
34281
34282 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
34283 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34284 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
34285 fi
34286
34287 COND_TOOLKIT_MSW="#"
34288 if test "x$TOOLKIT" = "xMSW" ; then
34289 COND_TOOLKIT_MSW=""
34290 fi
34291
34292 COND_TOOLKIT_MSW_USE_GUI_1="#"
34293 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
34294 COND_TOOLKIT_MSW_USE_GUI_1=""
34295 fi
34296
34297 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
34298 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34299 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
34300 fi
34301
34302 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1="#"
34303 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34304 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1=""
34305 fi
34306
34307 COND_TOOLKIT_OS2="#"
34308 if test "x$TOOLKIT" = "xOS2" ; then
34309 COND_TOOLKIT_OS2=""
34310 fi
34311
34312 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
34313 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34314 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
34315 fi
34316
34317 COND_TOOLKIT_X11="#"
34318 if test "x$TOOLKIT" = "xX11" ; then
34319 COND_TOOLKIT_X11=""
34320 fi
34321
34322 COND_TOOLKIT_X11_USE_GUI_1="#"
34323 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
34324 COND_TOOLKIT_X11_USE_GUI_1=""
34325 fi
34326
34327 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
34328 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34329 COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
34330 fi
34331
34332 COND_UNICODE_1="#"
34333 if test "x$UNICODE" = "x1" ; then
34334 COND_UNICODE_1=""
34335 fi
34336
34337 COND_USE_GUI_0="#"
34338 if test "x$USE_GUI" = "x0" ; then
34339 COND_USE_GUI_0=""
34340 fi
34341
34342 COND_USE_GUI_1="#"
34343 if test "x$USE_GUI" = "x1" ; then
34344 COND_USE_GUI_1=""
34345 fi
34346
34347 COND_USE_GUI_1_WXUNIV_0="#"
34348 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
34349 COND_USE_GUI_1_WXUNIV_0=""
34350 fi
34351
34352 COND_USE_GUI_1_WXUNIV_1="#"
34353 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
34354 COND_USE_GUI_1_WXUNIV_1=""
34355 fi
34356
34357 COND_USE_SOSYMLINKS_1="#"
34358 if test "x$USE_SOSYMLINKS" = "x1" ; then
34359 COND_USE_SOSYMLINKS_1=""
34360 fi
34361
34362 COND_USE_SOVERLINUX_1="#"
34363 if test "x$USE_SOVERLINUX" = "x1" ; then
34364 COND_USE_SOVERLINUX_1=""
34365 fi
34366
34367 COND_USE_SOVERSION_0="#"
34368 if test "x$USE_SOVERSION" = "x0" ; then
34369 COND_USE_SOVERSION_0=""
34370 fi
34371
34372 COND_USE_SOVERSOLARIS_1="#"
34373 if test "x$USE_SOVERSOLARIS" = "x1" ; then
34374 COND_USE_SOVERSOLARIS_1=""
34375 fi
34376
34377 COND_WXUNIV_1="#"
34378 if test "x$WXUNIV" = "x1" ; then
34379 COND_WXUNIV_1=""
34380 fi
34381
34382 COND_WXUSE_LIBJPEG_BUILTIN="#"
34383 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34384 COND_WXUSE_LIBJPEG_BUILTIN=""
34385 fi
34386
34387 COND_WXUSE_LIBPNG_BUILTIN="#"
34388 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34389 COND_WXUSE_LIBPNG_BUILTIN=""
34390 fi
34391
34392 COND_WXUSE_LIBTIFF_BUILTIN="#"
34393 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34394 COND_WXUSE_LIBTIFF_BUILTIN=""
34395 fi
34396
34397 COND_WXUSE_ODBC_BUILTIN="#"
34398 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
34399 COND_WXUSE_ODBC_BUILTIN=""
34400 fi
34401
34402 COND_WXUSE_REGEX_BUILTIN="#"
34403 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
34404 COND_WXUSE_REGEX_BUILTIN=""
34405 fi
34406
34407 COND_WXUSE_ZLIB_BUILTIN="#"
34408 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
34409 COND_WXUSE_ZLIB_BUILTIN=""
34410 fi
34411
34412 COND_PLATFORM_MAC_1="#"
34413 if test "x$PLATFORM_MAC" = "x1" ; then
34414 COND_PLATFORM_MAC_1=""
34415 fi
34416
34417 COND_SHARED_1="#"
34418 if test "x$SHARED" = "x1" ; then
34419 COND_SHARED_1=""
34420 fi
34421
34422 COND_SHARED_0="#"
34423 if test "x$SHARED" = "x0" ; then
34424 COND_SHARED_0=""
34425 fi
34426
34427 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34428 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34429 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34430 fi
34431
34432 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34433 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34434 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34435 fi
34436
34437 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34438 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34439 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34440 fi
34441
34442 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34443 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34444 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34445 fi
34446
34447 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34448 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34449 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34450 fi
34451
34452 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34453 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34454 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34455 fi
34456
34457 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
34458 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34459 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
34460 fi
34461
34462
34463
34464
34465
34466
34467 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34569 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34570 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34571 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34573 else
34574 cat >conftest.make <<\_ACEOF
34575 all:
34576 @echo 'ac_maketemp="$(MAKE)"'
34577 _ACEOF
34578 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34579 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34580 if test -n "$ac_maketemp"; then
34581 eval ac_cv_prog_make_${ac_make}_set=yes
34582 else
34583 eval ac_cv_prog_make_${ac_make}_set=no
34584 fi
34585 rm -f conftest.make
34586 fi
34587 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34588 echo "$as_me:$LINENO: result: yes" >&5
34589 echo "${ECHO_T}yes" >&6
34590 SET_MAKE=
34591 else
34592 echo "$as_me:$LINENO: result: no" >&5
34593 echo "${ECHO_T}no" >&6
34594 SET_MAKE="MAKE=${MAKE-make}"
34595 fi
34596
34597
34598 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
34599 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
34600 fi
34601
34602 ac_config_headers="$ac_config_headers setup.h"
34603
34604
34605 ac_config_files="$ac_config_files wx-config version-script Makefile"
34606
34607
34608 ac_config_commands="$ac_config_commands default"
34609
34610
34611
34612 if test "$wxUSE_GUI" = "yes"; then
34613 SUBDIRS="samples demos utils contrib"
34614 else SUBDIRS="samples utils"
34615 fi
34616
34617 for subdir in `echo $SUBDIRS`; do
34618 if test -d ${srcdir}/${subdir} ; then
34619 if test "$wxUSE_GUI" = "yes"; then
34620 if test ${subdir} = "samples"; then
34621 for sample in `echo $SAMPLES_SUBDIRS`; do
34622 if test -d $srcdir/samples/$sample; then
34623 makefiles="samples/$sample/Makefile.in $makefiles"
34624 fi
34625 done
34626 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
34627 fi
34628 else if test ${subdir} = "samples"; then
34629 makefiles="samples/console/Makefile.in"
34630 else makefiles="utils/HelpGen/Makefile.in \
34631 utils/HelpGen/src/Makefile.in \
34632 utils/makegen/Makefile.in"
34633 fi
34634 fi
34635
34636 for mkin in $makefiles ; do
34637 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
34638 ac_config_files="$ac_config_files $mk"
34639
34640 done
34641 fi
34642 done
34643
34644
34645 cat >confcache <<\_ACEOF
34646 # This file is a shell script that caches the results of configure
34647 # tests run on this system so they can be shared between configure
34648 # scripts and configure runs, see configure's option --config-cache.
34649 # It is not useful on other systems. If it contains results you don't
34650 # want to keep, you may remove or edit it.
34651 #
34652 # config.status only pays attention to the cache file if you give it
34653 # the --recheck option to rerun configure.
34654 #
34655 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34656 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34657 # following values.
34658
34659 _ACEOF
34660
34661 # The following way of writing the cache mishandles newlines in values,
34662 # but we know of no workaround that is simple, portable, and efficient.
34663 # So, don't put newlines in cache variables' values.
34664 # Ultrix sh set writes to stderr and can't be redirected directly,
34665 # and sets the high bit in the cache file unless we assign to the vars.
34666 {
34667 (set) 2>&1 |
34668 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34669 *ac_space=\ *)
34670 # `set' does not quote correctly, so add quotes (double-quote
34671 # substitution turns \\\\ into \\, and sed turns \\ into \).
34672 sed -n \
34673 "s/'/'\\\\''/g;
34674 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34675 ;;
34676 *)
34677 # `set' quotes correctly as required by POSIX, so do not add quotes.
34678 sed -n \
34679 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34680 ;;
34681 esac;
34682 } |
34683 sed '
34684 t clear
34685 : clear
34686 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34687 t end
34688 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34689 : end' >>confcache
34690 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34691 if test -w $cache_file; then
34692 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34693 cat confcache >$cache_file
34694 else
34695 echo "not updating unwritable cache $cache_file"
34696 fi
34697 fi
34698 rm -f confcache
34699
34700 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34701 # Let make expand exec_prefix.
34702 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34703
34704 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34705 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34706 # trailing colons and then remove the whole line if VPATH becomes empty
34707 # (actually we leave an empty line to preserve line numbers).
34708 if test "x$srcdir" = x.; then
34709 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34710 s/:*\$(srcdir):*/:/;
34711 s/:*\${srcdir}:*/:/;
34712 s/:*@srcdir@:*/:/;
34713 s/^\([^=]*=[ ]*\):*/\1/;
34714 s/:*$//;
34715 s/^[^=]*=[ ]*$//;
34716 }'
34717 fi
34718
34719 DEFS=-DHAVE_CONFIG_H
34720
34721 ac_libobjs=
34722 ac_ltlibobjs=
34723 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34724 # 1. Remove the extension, and $U if already installed.
34725 ac_i=`echo "$ac_i" |
34726 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34727 # 2. Add them.
34728 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34729 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34730 done
34731 LIBOBJS=$ac_libobjs
34732
34733 LTLIBOBJS=$ac_ltlibobjs
34734
34735
34736
34737 : ${CONFIG_STATUS=./config.status}
34738 ac_clean_files_save=$ac_clean_files
34739 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34740 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34741 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34742 cat >$CONFIG_STATUS <<_ACEOF
34743 #! $SHELL
34744 # Generated by $as_me.
34745 # Run this file to recreate the current configuration.
34746 # Compiler output produced by configure, useful for debugging
34747 # configure, is in config.log if it exists.
34748
34749 debug=false
34750 ac_cs_recheck=false
34751 ac_cs_silent=false
34752 SHELL=\${CONFIG_SHELL-$SHELL}
34753 _ACEOF
34754
34755 cat >>$CONFIG_STATUS <<\_ACEOF
34756 ## --------------------- ##
34757 ## M4sh Initialization. ##
34758 ## --------------------- ##
34759
34760 # Be Bourne compatible
34761 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34762 emulate sh
34763 NULLCMD=:
34764 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34765 # is contrary to our usage. Disable this feature.
34766 alias -g '${1+"$@"}'='"$@"'
34767 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34768 set -o posix
34769 fi
34770
34771 # Support unset when possible.
34772 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34773 as_unset=unset
34774 else
34775 as_unset=false
34776 fi
34777
34778
34779 # Work around bugs in pre-3.0 UWIN ksh.
34780 $as_unset ENV MAIL MAILPATH
34781 PS1='$ '
34782 PS2='> '
34783 PS4='+ '
34784
34785 # NLS nuisances.
34786 for as_var in \
34787 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34788 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34789 LC_TELEPHONE LC_TIME
34790 do
34791 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
34792 eval $as_var=C; export $as_var
34793 else
34794 $as_unset $as_var
34795 fi
34796 done
34797
34798 # Required to use basename.
34799 if expr a : '\(a\)' >/dev/null 2>&1; then
34800 as_expr=expr
34801 else
34802 as_expr=false
34803 fi
34804
34805 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34806 as_basename=basename
34807 else
34808 as_basename=false
34809 fi
34810
34811
34812 # Name of the executable.
34813 as_me=`$as_basename "$0" ||
34814 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34815 X"$0" : 'X\(//\)$' \| \
34816 X"$0" : 'X\(/\)$' \| \
34817 . : '\(.\)' 2>/dev/null ||
34818 echo X/"$0" |
34819 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34820 /^X\/\(\/\/\)$/{ s//\1/; q; }
34821 /^X\/\(\/\).*/{ s//\1/; q; }
34822 s/.*/./; q'`
34823
34824
34825 # PATH needs CR, and LINENO needs CR and PATH.
34826 # Avoid depending upon Character Ranges.
34827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34830 as_cr_digits='0123456789'
34831 as_cr_alnum=$as_cr_Letters$as_cr_digits
34832
34833 # The user is always right.
34834 if test "${PATH_SEPARATOR+set}" != set; then
34835 echo "#! /bin/sh" >conf$$.sh
34836 echo "exit 0" >>conf$$.sh
34837 chmod +x conf$$.sh
34838 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34839 PATH_SEPARATOR=';'
34840 else
34841 PATH_SEPARATOR=:
34842 fi
34843 rm -f conf$$.sh
34844 fi
34845
34846
34847 as_lineno_1=$LINENO
34848 as_lineno_2=$LINENO
34849 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34850 test "x$as_lineno_1" != "x$as_lineno_2" &&
34851 test "x$as_lineno_3" = "x$as_lineno_2" || {
34852 # Find who we are. Look in the path if we contain no path at all
34853 # relative or not.
34854 case $0 in
34855 *[\\/]* ) as_myself=$0 ;;
34856 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34857 for as_dir in $PATH
34858 do
34859 IFS=$as_save_IFS
34860 test -z "$as_dir" && as_dir=.
34861 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34862 done
34863
34864 ;;
34865 esac
34866 # We did not find ourselves, most probably we were run as `sh COMMAND'
34867 # in which case we are not to be found in the path.
34868 if test "x$as_myself" = x; then
34869 as_myself=$0
34870 fi
34871 if test ! -f "$as_myself"; then
34872 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34873 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34874 { (exit 1); exit 1; }; }
34875 fi
34876 case $CONFIG_SHELL in
34877 '')
34878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34879 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34880 do
34881 IFS=$as_save_IFS
34882 test -z "$as_dir" && as_dir=.
34883 for as_base in sh bash ksh sh5; do
34884 case $as_dir in
34885 /*)
34886 if ("$as_dir/$as_base" -c '
34887 as_lineno_1=$LINENO
34888 as_lineno_2=$LINENO
34889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34890 test "x$as_lineno_1" != "x$as_lineno_2" &&
34891 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34892 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34893 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34894 CONFIG_SHELL=$as_dir/$as_base
34895 export CONFIG_SHELL
34896 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34897 fi;;
34898 esac
34899 done
34900 done
34901 ;;
34902 esac
34903
34904 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34905 # uniformly replaced by the line number. The first 'sed' inserts a
34906 # line-number line before each line; the second 'sed' does the real
34907 # work. The second script uses 'N' to pair each line-number line
34908 # with the numbered line, and appends trailing '-' during
34909 # substitution so that $LINENO is not a special case at line end.
34910 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34911 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34912 sed '=' <$as_myself |
34913 sed '
34914 N
34915 s,$,-,
34916 : loop
34917 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34918 t loop
34919 s,-$,,
34920 s,^['$as_cr_digits']*\n,,
34921 ' >$as_me.lineno &&
34922 chmod +x $as_me.lineno ||
34923 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34924 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34925 { (exit 1); exit 1; }; }
34926
34927 # Don't try to exec as it changes $[0], causing all sort of problems
34928 # (the dirname of $[0] is not the place where we might find the
34929 # original and so on. Autoconf is especially sensible to this).
34930 . ./$as_me.lineno
34931 # Exit status is that of the last command.
34932 exit
34933 }
34934
34935
34936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34937 *c*,-n*) ECHO_N= ECHO_C='
34938 ' ECHO_T=' ' ;;
34939 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34940 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34941 esac
34942
34943 if expr a : '\(a\)' >/dev/null 2>&1; then
34944 as_expr=expr
34945 else
34946 as_expr=false
34947 fi
34948
34949 rm -f conf$$ conf$$.exe conf$$.file
34950 echo >conf$$.file
34951 if ln -s conf$$.file conf$$ 2>/dev/null; then
34952 # We could just check for DJGPP; but this test a) works b) is more generic
34953 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34954 if test -f conf$$.exe; then
34955 # Don't use ln at all; we don't have any links
34956 as_ln_s='cp -p'
34957 else
34958 as_ln_s='ln -s'
34959 fi
34960 elif ln conf$$.file conf$$ 2>/dev/null; then
34961 as_ln_s=ln
34962 else
34963 as_ln_s='cp -p'
34964 fi
34965 rm -f conf$$ conf$$.exe conf$$.file
34966
34967 if mkdir -p . 2>/dev/null; then
34968 as_mkdir_p=:
34969 else
34970 as_mkdir_p=false
34971 fi
34972
34973 as_executable_p="test -f"
34974
34975 # Sed expression to map a string onto a valid CPP name.
34976 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
34977
34978 # Sed expression to map a string onto a valid variable name.
34979 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
34980
34981
34982 # IFS
34983 # We need space, tab and new line, in precisely that order.
34984 as_nl='
34985 '
34986 IFS=" $as_nl"
34987
34988 # CDPATH.
34989 $as_unset CDPATH
34990
34991 exec 6>&1
34992
34993 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34994 # report actual input values of CONFIG_FILES etc. instead of their
34995 # values after options handling. Logging --version etc. is OK.
34996 exec 5>>config.log
34997 {
34998 echo
34999 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35000 ## Running $as_me. ##
35001 _ASBOX
35002 } >&5
35003 cat >&5 <<_CSEOF
35004
35005 This file was extended by wxWindows $as_me 2.5.0, which was
35006 generated by GNU Autoconf 2.57. Invocation command line was
35007
35008 CONFIG_FILES = $CONFIG_FILES
35009 CONFIG_HEADERS = $CONFIG_HEADERS
35010 CONFIG_LINKS = $CONFIG_LINKS
35011 CONFIG_COMMANDS = $CONFIG_COMMANDS
35012 $ $0 $@
35013
35014 _CSEOF
35015 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35016 echo >&5
35017 _ACEOF
35018
35019 # Files that config.status was made for.
35020 if test -n "$ac_config_files"; then
35021 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35022 fi
35023
35024 if test -n "$ac_config_headers"; then
35025 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35026 fi
35027
35028 if test -n "$ac_config_links"; then
35029 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35030 fi
35031
35032 if test -n "$ac_config_commands"; then
35033 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35034 fi
35035
35036 cat >>$CONFIG_STATUS <<\_ACEOF
35037
35038 ac_cs_usage="\
35039 \`$as_me' instantiates files from templates according to the
35040 current configuration.
35041
35042 Usage: $0 [OPTIONS] [FILE]...
35043
35044 -h, --help print this help, then exit
35045 -V, --version print version number, then exit
35046 -q, --quiet do not print progress messages
35047 -d, --debug don't remove temporary files
35048 --recheck update $as_me by reconfiguring in the same conditions
35049 --file=FILE[:TEMPLATE]
35050 instantiate the configuration file FILE
35051 --header=FILE[:TEMPLATE]
35052 instantiate the configuration header FILE
35053
35054 Configuration files:
35055 $config_files
35056
35057 Configuration headers:
35058 $config_headers
35059
35060 Configuration commands:
35061 $config_commands
35062
35063 Report bugs to <bug-autoconf@gnu.org>."
35064 _ACEOF
35065
35066 cat >>$CONFIG_STATUS <<_ACEOF
35067 ac_cs_version="\\
35068 wxWindows config.status 2.5.0
35069 configured by $0, generated by GNU Autoconf 2.57,
35070 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35071
35072 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35073 Free Software Foundation, Inc.
35074 This config.status script is free software; the Free Software Foundation
35075 gives unlimited permission to copy, distribute and modify it."
35076 srcdir=$srcdir
35077 INSTALL="$INSTALL"
35078 _ACEOF
35079
35080 cat >>$CONFIG_STATUS <<\_ACEOF
35081 # If no file are specified by the user, then we need to provide default
35082 # value. By we need to know if files were specified by the user.
35083 ac_need_defaults=:
35084 while test $# != 0
35085 do
35086 case $1 in
35087 --*=*)
35088 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35089 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35090 ac_shift=:
35091 ;;
35092 -*)
35093 ac_option=$1
35094 ac_optarg=$2
35095 ac_shift=shift
35096 ;;
35097 *) # This is not an option, so the user has probably given explicit
35098 # arguments.
35099 ac_option=$1
35100 ac_need_defaults=false;;
35101 esac
35102
35103 case $ac_option in
35104 # Handling of the options.
35105 _ACEOF
35106 cat >>$CONFIG_STATUS <<\_ACEOF
35107 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35108 ac_cs_recheck=: ;;
35109 --version | --vers* | -V )
35110 echo "$ac_cs_version"; exit 0 ;;
35111 --he | --h)
35112 # Conflict between --help and --header
35113 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35114 Try \`$0 --help' for more information." >&5
35115 echo "$as_me: error: ambiguous option: $1
35116 Try \`$0 --help' for more information." >&2;}
35117 { (exit 1); exit 1; }; };;
35118 --help | --hel | -h )
35119 echo "$ac_cs_usage"; exit 0 ;;
35120 --debug | --d* | -d )
35121 debug=: ;;
35122 --file | --fil | --fi | --f )
35123 $ac_shift
35124 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35125 ac_need_defaults=false;;
35126 --header | --heade | --head | --hea )
35127 $ac_shift
35128 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35129 ac_need_defaults=false;;
35130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35132 ac_cs_silent=: ;;
35133
35134 # This is an error.
35135 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35136 Try \`$0 --help' for more information." >&5
35137 echo "$as_me: error: unrecognized option: $1
35138 Try \`$0 --help' for more information." >&2;}
35139 { (exit 1); exit 1; }; } ;;
35140
35141 *) ac_config_targets="$ac_config_targets $1" ;;
35142
35143 esac
35144 shift
35145 done
35146
35147 ac_configure_extra_args=
35148
35149 if $ac_cs_silent; then
35150 exec 6>/dev/null
35151 ac_configure_extra_args="$ac_configure_extra_args --silent"
35152 fi
35153
35154 _ACEOF
35155 cat >>$CONFIG_STATUS <<_ACEOF
35156 if \$ac_cs_recheck; then
35157 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35158 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35159 fi
35160
35161 _ACEOF
35162
35163 cat >>$CONFIG_STATUS <<_ACEOF
35164 #
35165 # INIT-COMMANDS section.
35166 #
35167
35168
35169 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35170 LN_S="${LN_S}"
35171
35172
35173
35174 _ACEOF
35175
35176
35177
35178 cat >>$CONFIG_STATUS <<\_ACEOF
35179 for ac_config_target in $ac_config_targets
35180 do
35181 case "$ac_config_target" in
35182 # Handling of arguments.
35183 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35184 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35185 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35186 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35187 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35188 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35189 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35190 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35191 { (exit 1); exit 1; }; };;
35192 esac
35193 done
35194
35195 # If the user did not use the arguments to specify the items to instantiate,
35196 # then the envvar interface is used. Set only those that are not.
35197 # We use the long form for the default assignment because of an extremely
35198 # bizarre bug on SunOS 4.1.3.
35199 if $ac_need_defaults; then
35200 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35201 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35202 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35203 fi
35204
35205 # Have a temporary directory for convenience. Make it in the build tree
35206 # simply because there is no reason to put it here, and in addition,
35207 # creating and moving files from /tmp can sometimes cause problems.
35208 # Create a temporary directory, and hook for its removal unless debugging.
35209 $debug ||
35210 {
35211 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35212 trap '{ (exit 1); exit 1; }' 1 2 13 15
35213 }
35214
35215 # Create a (secure) tmp directory for tmp files.
35216
35217 {
35218 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35219 test -n "$tmp" && test -d "$tmp"
35220 } ||
35221 {
35222 tmp=./confstat$$-$RANDOM
35223 (umask 077 && mkdir $tmp)
35224 } ||
35225 {
35226 echo "$me: cannot create a temporary directory in ." >&2
35227 { (exit 1); exit 1; }
35228 }
35229
35230 _ACEOF
35231
35232 cat >>$CONFIG_STATUS <<_ACEOF
35233
35234 #
35235 # CONFIG_FILES section.
35236 #
35237
35238 # No need to generate the scripts if there are no CONFIG_FILES.
35239 # This happens for instance when ./config.status config.h
35240 if test -n "\$CONFIG_FILES"; then
35241 # Protect against being on the right side of a sed subst in config.status.
35242 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35243 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35244 s,@SHELL@,$SHELL,;t t
35245 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35246 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35247 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35248 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35249 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35250 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35251 s,@exec_prefix@,$exec_prefix,;t t
35252 s,@prefix@,$prefix,;t t
35253 s,@program_transform_name@,$program_transform_name,;t t
35254 s,@bindir@,$bindir,;t t
35255 s,@sbindir@,$sbindir,;t t
35256 s,@libexecdir@,$libexecdir,;t t
35257 s,@datadir@,$datadir,;t t
35258 s,@sysconfdir@,$sysconfdir,;t t
35259 s,@sharedstatedir@,$sharedstatedir,;t t
35260 s,@localstatedir@,$localstatedir,;t t
35261 s,@libdir@,$libdir,;t t
35262 s,@includedir@,$includedir,;t t
35263 s,@oldincludedir@,$oldincludedir,;t t
35264 s,@infodir@,$infodir,;t t
35265 s,@mandir@,$mandir,;t t
35266 s,@build_alias@,$build_alias,;t t
35267 s,@host_alias@,$host_alias,;t t
35268 s,@target_alias@,$target_alias,;t t
35269 s,@DEFS@,$DEFS,;t t
35270 s,@ECHO_C@,$ECHO_C,;t t
35271 s,@ECHO_N@,$ECHO_N,;t t
35272 s,@ECHO_T@,$ECHO_T,;t t
35273 s,@LIBS@,$LIBS,;t t
35274 s,@build@,$build,;t t
35275 s,@build_cpu@,$build_cpu,;t t
35276 s,@build_vendor@,$build_vendor,;t t
35277 s,@build_os@,$build_os,;t t
35278 s,@host@,$host,;t t
35279 s,@host_cpu@,$host_cpu,;t t
35280 s,@host_vendor@,$host_vendor,;t t
35281 s,@host_os@,$host_os,;t t
35282 s,@target@,$target,;t t
35283 s,@target_cpu@,$target_cpu,;t t
35284 s,@target_vendor@,$target_vendor,;t t
35285 s,@target_os@,$target_os,;t t
35286 s,@CC@,$CC,;t t
35287 s,@CFLAGS@,$CFLAGS,;t t
35288 s,@LDFLAGS@,$LDFLAGS,;t t
35289 s,@CPPFLAGS@,$CPPFLAGS,;t t
35290 s,@ac_ct_CC@,$ac_ct_CC,;t t
35291 s,@EXEEXT@,$EXEEXT,;t t
35292 s,@OBJEXT@,$OBJEXT,;t t
35293 s,@CPP@,$CPP,;t t
35294 s,@EGREP@,$EGREP,;t t
35295 s,@CXX@,$CXX,;t t
35296 s,@CXXFLAGS@,$CXXFLAGS,;t t
35297 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
35298 s,@RANLIB@,$RANLIB,;t t
35299 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35300 s,@AR@,$AR,;t t
35301 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35302 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35303 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35304 s,@STRIP@,$STRIP,;t t
35305 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
35306 s,@YACC@,$YACC,;t t
35307 s,@LEX@,$LEX,;t t
35308 s,@LEXLIB@,$LEXLIB,;t t
35309 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
35310 s,@LN_S@,$LN_S,;t t
35311 s,@CXXCPP@,$CXXCPP,;t t
35312 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
35313 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
35314 s,@GTK_LIBS@,$GTK_LIBS,;t t
35315 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
35316 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
35317 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
35318 s,@X_CFLAGS@,$X_CFLAGS,;t t
35319 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
35320 s,@X_LIBS@,$X_LIBS,;t t
35321 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
35322 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
35323 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
35324 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
35325 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
35326 s,@RESCOMP@,$RESCOMP,;t t
35327 s,@DEREZ@,$DEREZ,;t t
35328 s,@SETFILE@,$SETFILE,;t t
35329 s,@LIBICONV@,$LIBICONV,;t t
35330 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
35331 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
35332 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
35333 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
35334 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
35335 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
35336 s,@VENDOR@,$VENDOR,;t t
35337 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
35338 s,@WXUNIV@,$WXUNIV,;t t
35339 s,@MONOLITHIC@,$MONOLITHIC,;t t
35340 s,@EXTRALIBS@,$EXTRALIBS,;t t
35341 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
35342 s,@UNICODE@,$UNICODE,;t t
35343 s,@BUILD@,$BUILD,;t t
35344 s,@SHARED@,$SHARED,;t t
35345 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
35346 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
35347 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
35348 s,@SET_MAKE@,$SET_MAKE,;t t
35349 s,@MAKE_SET@,$MAKE_SET,;t t
35350 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
35351 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
35352 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
35353 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
35354 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
35355 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
35356 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
35357 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
35358 s,@DLLPREFIX@,$DLLPREFIX,;t t
35359 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
35360 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
35361 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
35362 s,@PIC_FLAG@,$PIC_FLAG,;t t
35363 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
35364 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
35365 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
35366 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
35367 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
35368 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
35369 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
35370 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
35371 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
35372 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
35373 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
35374 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
35375 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
35376 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
35377 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
35378 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
35379 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
35380 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
35381 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
35382 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
35383 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
35384 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
35385 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
35386 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
35387 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
35388 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
35389 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
35390 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
35391 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
35392 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
35393 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
35394 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
35395 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_1,;t t
35396 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
35397 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
35398 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
35399 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
35400 s,@COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MGL_USE_GUI_1_WXUNIV_1,;t t
35401 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
35402 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
35403 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
35404 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
35405 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
35406 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
35407 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_1,;t t
35408 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
35409 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
35410 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
35411 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
35412 s,@COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1@,$COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1,;t t
35413 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
35414 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
35415 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
35416 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
35417 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
35418 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
35419 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
35420 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
35421 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
35422 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
35423 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
35424 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
35425 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
35426 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
35427 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
35428 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
35429 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
35430 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
35431 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
35432 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
35433 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
35434 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
35435 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
35436 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
35437 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
35438 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
35439 s,@LEX_STEM@,$LEX_STEM,;t t
35440 s,@PATH_IFS@,$PATH_IFS,;t t
35441 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
35442 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
35443 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
35444 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
35445 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
35446 s,@WX_LIBRARY_BASENAME@,$WX_LIBRARY_BASENAME,;t t
35447 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
35448 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
35449 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
35450 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
35451 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
35452 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
35453 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
35454 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
35455 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
35456 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
35457 s,@WX_ALL@,$WX_ALL,;t t
35458 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
35459 s,@SHARED_LD@,$SHARED_LD,;t t
35460 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
35461 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
35462 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
35463 s,@USE_GUI@,$USE_GUI,;t t
35464 s,@AFMINSTALL@,$AFMINSTALL,;t t
35465 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
35466 s,@TOOLKIT@,$TOOLKIT,;t t
35467 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
35468 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
35469 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
35470 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
35471 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
35472 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
35473 s,@cross_compiling@,$cross_compiling,;t t
35474 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
35475 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
35476 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
35477 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
35478 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
35479 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
35480 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
35481 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
35482 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
35483 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
35484 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
35485 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
35486 s,@GUIDIST@,$GUIDIST,;t t
35487 s,@PORT_FILES@,$PORT_FILES,;t t
35488 s,@DISTDIR@,$DISTDIR,;t t
35489 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
35490 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
35491 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
35492 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
35493 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
35494 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
35495 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
35496 s,@RESFLAGS@,$RESFLAGS,;t t
35497 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
35498 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
35499 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
35500 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
35501 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
35502 s,@MACRESCOMP@,$MACRESCOMP,;t t
35503 s,@MACSETFILE@,$MACSETFILE,;t t
35504 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
35505 s,@GCC@,$GCC,;t t
35506 s,@DLLTOOL@,$DLLTOOL,;t t
35507 s,@AS@,$AS,;t t
35508 s,@NM@,$NM,;t t
35509 s,@LD@,$LD,;t t
35510 s,@MAKEINFO@,$MAKEINFO,;t t
35511 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
35512 s,@ESD_LINK@,$ESD_LINK,;t t
35513 s,@LIBOBJS@,$LIBOBJS,;t t
35514 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35515 CEOF
35516
35517 _ACEOF
35518
35519 cat >>$CONFIG_STATUS <<\_ACEOF
35520 # Split the substitutions into bite-sized pieces for seds with
35521 # small command number limits, like on Digital OSF/1 and HP-UX.
35522 ac_max_sed_lines=48
35523 ac_sed_frag=1 # Number of current file.
35524 ac_beg=1 # First line for current file.
35525 ac_end=$ac_max_sed_lines # Line after last line for current file.
35526 ac_more_lines=:
35527 ac_sed_cmds=
35528 while $ac_more_lines; do
35529 if test $ac_beg -gt 1; then
35530 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35531 else
35532 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35533 fi
35534 if test ! -s $tmp/subs.frag; then
35535 ac_more_lines=false
35536 else
35537 # The purpose of the label and of the branching condition is to
35538 # speed up the sed processing (if there are no `@' at all, there
35539 # is no need to browse any of the substitutions).
35540 # These are the two extra sed commands mentioned above.
35541 (echo ':t
35542 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35543 if test -z "$ac_sed_cmds"; then
35544 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35545 else
35546 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35547 fi
35548 ac_sed_frag=`expr $ac_sed_frag + 1`
35549 ac_beg=$ac_end
35550 ac_end=`expr $ac_end + $ac_max_sed_lines`
35551 fi
35552 done
35553 if test -z "$ac_sed_cmds"; then
35554 ac_sed_cmds=cat
35555 fi
35556 fi # test -n "$CONFIG_FILES"
35557
35558 _ACEOF
35559 cat >>$CONFIG_STATUS <<\_ACEOF
35560 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35561 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35562 case $ac_file in
35563 - | *:- | *:-:* ) # input from stdin
35564 cat >$tmp/stdin
35565 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35566 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35567 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35568 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35569 * ) ac_file_in=$ac_file.in ;;
35570 esac
35571
35572 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35573 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35574 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35575 X"$ac_file" : 'X\(//\)[^/]' \| \
35576 X"$ac_file" : 'X\(//\)$' \| \
35577 X"$ac_file" : 'X\(/\)' \| \
35578 . : '\(.\)' 2>/dev/null ||
35579 echo X"$ac_file" |
35580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35581 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35582 /^X\(\/\/\)$/{ s//\1/; q; }
35583 /^X\(\/\).*/{ s//\1/; q; }
35584 s/.*/./; q'`
35585 { if $as_mkdir_p; then
35586 mkdir -p "$ac_dir"
35587 else
35588 as_dir="$ac_dir"
35589 as_dirs=
35590 while test ! -d "$as_dir"; do
35591 as_dirs="$as_dir $as_dirs"
35592 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35593 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35594 X"$as_dir" : 'X\(//\)[^/]' \| \
35595 X"$as_dir" : 'X\(//\)$' \| \
35596 X"$as_dir" : 'X\(/\)' \| \
35597 . : '\(.\)' 2>/dev/null ||
35598 echo X"$as_dir" |
35599 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35600 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35601 /^X\(\/\/\)$/{ s//\1/; q; }
35602 /^X\(\/\).*/{ s//\1/; q; }
35603 s/.*/./; q'`
35604 done
35605 test ! -n "$as_dirs" || mkdir $as_dirs
35606 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35607 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35608 { (exit 1); exit 1; }; }; }
35609
35610 ac_builddir=.
35611
35612 if test "$ac_dir" != .; then
35613 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35614 # A "../" for each directory in $ac_dir_suffix.
35615 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35616 else
35617 ac_dir_suffix= ac_top_builddir=
35618 fi
35619
35620 case $srcdir in
35621 .) # No --srcdir option. We are building in place.
35622 ac_srcdir=.
35623 if test -z "$ac_top_builddir"; then
35624 ac_top_srcdir=.
35625 else
35626 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35627 fi ;;
35628 [\\/]* | ?:[\\/]* ) # Absolute path.
35629 ac_srcdir=$srcdir$ac_dir_suffix;
35630 ac_top_srcdir=$srcdir ;;
35631 *) # Relative path.
35632 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35633 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35634 esac
35635 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35636 # absolute.
35637 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35638 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35639 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35640 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35641
35642
35643 case $INSTALL in
35644 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35645 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35646 esac
35647
35648 if test x"$ac_file" != x-; then
35649 { echo "$as_me:$LINENO: creating $ac_file" >&5
35650 echo "$as_me: creating $ac_file" >&6;}
35651 rm -f "$ac_file"
35652 fi
35653 # Let's still pretend it is `configure' which instantiates (i.e., don't
35654 # use $as_me), people would be surprised to read:
35655 # /* config.h. Generated by config.status. */
35656 if test x"$ac_file" = x-; then
35657 configure_input=
35658 else
35659 configure_input="$ac_file. "
35660 fi
35661 configure_input=$configure_input"Generated from `echo $ac_file_in |
35662 sed 's,.*/,,'` by configure."
35663
35664 # First look for the input files in the build tree, otherwise in the
35665 # src tree.
35666 ac_file_inputs=`IFS=:
35667 for f in $ac_file_in; do
35668 case $f in
35669 -) echo $tmp/stdin ;;
35670 [\\/$]*)
35671 # Absolute (can't be DOS-style, as IFS=:)
35672 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35673 echo "$as_me: error: cannot find input file: $f" >&2;}
35674 { (exit 1); exit 1; }; }
35675 echo $f;;
35676 *) # Relative
35677 if test -f "$f"; then
35678 # Build tree
35679 echo $f
35680 elif test -f "$srcdir/$f"; then
35681 # Source tree
35682 echo $srcdir/$f
35683 else
35684 # /dev/null tree
35685 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35686 echo "$as_me: error: cannot find input file: $f" >&2;}
35687 { (exit 1); exit 1; }; }
35688 fi;;
35689 esac
35690 done` || { (exit 1); exit 1; }
35691 _ACEOF
35692 cat >>$CONFIG_STATUS <<_ACEOF
35693 sed "$ac_vpsub
35694 $extrasub
35695 _ACEOF
35696 cat >>$CONFIG_STATUS <<\_ACEOF
35697 :t
35698 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35699 s,@configure_input@,$configure_input,;t t
35700 s,@srcdir@,$ac_srcdir,;t t
35701 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35702 s,@top_srcdir@,$ac_top_srcdir,;t t
35703 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35704 s,@builddir@,$ac_builddir,;t t
35705 s,@abs_builddir@,$ac_abs_builddir,;t t
35706 s,@top_builddir@,$ac_top_builddir,;t t
35707 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35708 s,@INSTALL@,$ac_INSTALL,;t t
35709 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35710 rm -f $tmp/stdin
35711 if test x"$ac_file" != x-; then
35712 mv $tmp/out $ac_file
35713 else
35714 cat $tmp/out
35715 rm -f $tmp/out
35716 fi
35717
35718 done
35719 _ACEOF
35720 cat >>$CONFIG_STATUS <<\_ACEOF
35721
35722 #
35723 # CONFIG_HEADER section.
35724 #
35725
35726 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35727 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35728 #
35729 # ac_d sets the value in "#define NAME VALUE" lines.
35730 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35731 ac_dB='[ ].*$,\1#\2'
35732 ac_dC=' '
35733 ac_dD=',;t'
35734 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35735 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35736 ac_uB='$,\1#\2define\3'
35737 ac_uC=' '
35738 ac_uD=',;t'
35739
35740 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35741 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35742 case $ac_file in
35743 - | *:- | *:-:* ) # input from stdin
35744 cat >$tmp/stdin
35745 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35746 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35747 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35748 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35749 * ) ac_file_in=$ac_file.in ;;
35750 esac
35751
35752 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35753 echo "$as_me: creating $ac_file" >&6;}
35754
35755 # First look for the input files in the build tree, otherwise in the
35756 # src tree.
35757 ac_file_inputs=`IFS=:
35758 for f in $ac_file_in; do
35759 case $f in
35760 -) echo $tmp/stdin ;;
35761 [\\/$]*)
35762 # Absolute (can't be DOS-style, as IFS=:)
35763 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35764 echo "$as_me: error: cannot find input file: $f" >&2;}
35765 { (exit 1); exit 1; }; }
35766 echo $f;;
35767 *) # Relative
35768 if test -f "$f"; then
35769 # Build tree
35770 echo $f
35771 elif test -f "$srcdir/$f"; then
35772 # Source tree
35773 echo $srcdir/$f
35774 else
35775 # /dev/null tree
35776 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35777 echo "$as_me: error: cannot find input file: $f" >&2;}
35778 { (exit 1); exit 1; }; }
35779 fi;;
35780 esac
35781 done` || { (exit 1); exit 1; }
35782 # Remove the trailing spaces.
35783 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35784
35785 _ACEOF
35786
35787 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35788 # `conftest.undefs', that substitutes the proper values into
35789 # config.h.in to produce config.h. The first handles `#define'
35790 # templates, and the second `#undef' templates.
35791 # And first: Protect against being on the right side of a sed subst in
35792 # config.status. Protect against being in an unquoted here document
35793 # in config.status.
35794 rm -f conftest.defines conftest.undefs
35795 # Using a here document instead of a string reduces the quoting nightmare.
35796 # Putting comments in sed scripts is not portable.
35797 #
35798 # `end' is used to avoid that the second main sed command (meant for
35799 # 0-ary CPP macros) applies to n-ary macro definitions.
35800 # See the Autoconf documentation for `clear'.
35801 cat >confdef2sed.sed <<\_ACEOF
35802 s/[\\&,]/\\&/g
35803 s,[\\$`],\\&,g
35804 t clear
35805 : clear
35806 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35807 t end
35808 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35809 : end
35810 _ACEOF
35811 # If some macros were called several times there might be several times
35812 # the same #defines, which is useless. Nevertheless, we may not want to
35813 # sort them, since we want the *last* AC-DEFINE to be honored.
35814 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35815 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35816 rm -f confdef2sed.sed
35817
35818 # This sed command replaces #undef with comments. This is necessary, for
35819 # example, in the case of _POSIX_SOURCE, which is predefined and required
35820 # on some systems where configure will not decide to define it.
35821 cat >>conftest.undefs <<\_ACEOF
35822 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35823 _ACEOF
35824
35825 # Break up conftest.defines because some shells have a limit on the size
35826 # of here documents, and old seds have small limits too (100 cmds).
35827 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35828 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35829 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35830 echo ' :' >>$CONFIG_STATUS
35831 rm -f conftest.tail
35832 while grep . conftest.defines >/dev/null
35833 do
35834 # Write a limited-size here document to $tmp/defines.sed.
35835 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35836 # Speed up: don't consider the non `#define' lines.
35837 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35838 # Work around the forget-to-reset-the-flag bug.
35839 echo 't clr' >>$CONFIG_STATUS
35840 echo ': clr' >>$CONFIG_STATUS
35841 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35842 echo 'CEOF
35843 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35844 rm -f $tmp/in
35845 mv $tmp/out $tmp/in
35846 ' >>$CONFIG_STATUS
35847 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35848 rm -f conftest.defines
35849 mv conftest.tail conftest.defines
35850 done
35851 rm -f conftest.defines
35852 echo ' fi # grep' >>$CONFIG_STATUS
35853 echo >>$CONFIG_STATUS
35854
35855 # Break up conftest.undefs because some shells have a limit on the size
35856 # of here documents, and old seds have small limits too (100 cmds).
35857 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35858 rm -f conftest.tail
35859 while grep . conftest.undefs >/dev/null
35860 do
35861 # Write a limited-size here document to $tmp/undefs.sed.
35862 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35863 # Speed up: don't consider the non `#undef'
35864 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35865 # Work around the forget-to-reset-the-flag bug.
35866 echo 't clr' >>$CONFIG_STATUS
35867 echo ': clr' >>$CONFIG_STATUS
35868 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35869 echo 'CEOF
35870 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35871 rm -f $tmp/in
35872 mv $tmp/out $tmp/in
35873 ' >>$CONFIG_STATUS
35874 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35875 rm -f conftest.undefs
35876 mv conftest.tail conftest.undefs
35877 done
35878 rm -f conftest.undefs
35879
35880 cat >>$CONFIG_STATUS <<\_ACEOF
35881 # Let's still pretend it is `configure' which instantiates (i.e., don't
35882 # use $as_me), people would be surprised to read:
35883 # /* config.h. Generated by config.status. */
35884 if test x"$ac_file" = x-; then
35885 echo "/* Generated by configure. */" >$tmp/config.h
35886 else
35887 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35888 fi
35889 cat $tmp/in >>$tmp/config.h
35890 rm -f $tmp/in
35891 if test x"$ac_file" != x-; then
35892 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35893 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35894 echo "$as_me: $ac_file is unchanged" >&6;}
35895 else
35896 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35898 X"$ac_file" : 'X\(//\)[^/]' \| \
35899 X"$ac_file" : 'X\(//\)$' \| \
35900 X"$ac_file" : 'X\(/\)' \| \
35901 . : '\(.\)' 2>/dev/null ||
35902 echo X"$ac_file" |
35903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35905 /^X\(\/\/\)$/{ s//\1/; q; }
35906 /^X\(\/\).*/{ s//\1/; q; }
35907 s/.*/./; q'`
35908 { if $as_mkdir_p; then
35909 mkdir -p "$ac_dir"
35910 else
35911 as_dir="$ac_dir"
35912 as_dirs=
35913 while test ! -d "$as_dir"; do
35914 as_dirs="$as_dir $as_dirs"
35915 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35917 X"$as_dir" : 'X\(//\)[^/]' \| \
35918 X"$as_dir" : 'X\(//\)$' \| \
35919 X"$as_dir" : 'X\(/\)' \| \
35920 . : '\(.\)' 2>/dev/null ||
35921 echo X"$as_dir" |
35922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35923 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35924 /^X\(\/\/\)$/{ s//\1/; q; }
35925 /^X\(\/\).*/{ s//\1/; q; }
35926 s/.*/./; q'`
35927 done
35928 test ! -n "$as_dirs" || mkdir $as_dirs
35929 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35930 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35931 { (exit 1); exit 1; }; }; }
35932
35933 rm -f $ac_file
35934 mv $tmp/config.h $ac_file
35935 fi
35936 else
35937 cat $tmp/config.h
35938 rm -f $tmp/config.h
35939 fi
35940 done
35941 _ACEOF
35942 cat >>$CONFIG_STATUS <<\_ACEOF
35943
35944 #
35945 # CONFIG_COMMANDS section.
35946 #
35947 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35948 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35949 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35950 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35951 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35952 X"$ac_dest" : 'X\(//\)[^/]' \| \
35953 X"$ac_dest" : 'X\(//\)$' \| \
35954 X"$ac_dest" : 'X\(/\)' \| \
35955 . : '\(.\)' 2>/dev/null ||
35956 echo X"$ac_dest" |
35957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35958 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35959 /^X\(\/\/\)$/{ s//\1/; q; }
35960 /^X\(\/\).*/{ s//\1/; q; }
35961 s/.*/./; q'`
35962 ac_builddir=.
35963
35964 if test "$ac_dir" != .; then
35965 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35966 # A "../" for each directory in $ac_dir_suffix.
35967 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35968 else
35969 ac_dir_suffix= ac_top_builddir=
35970 fi
35971
35972 case $srcdir in
35973 .) # No --srcdir option. We are building in place.
35974 ac_srcdir=.
35975 if test -z "$ac_top_builddir"; then
35976 ac_top_srcdir=.
35977 else
35978 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35979 fi ;;
35980 [\\/]* | ?:[\\/]* ) # Absolute path.
35981 ac_srcdir=$srcdir$ac_dir_suffix;
35982 ac_top_srcdir=$srcdir ;;
35983 *) # Relative path.
35984 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35985 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35986 esac
35987 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
35988 # absolute.
35989 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
35990 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
35991 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
35992 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
35993
35994
35995 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35996 echo "$as_me: executing $ac_dest commands" >&6;}
35997 case $ac_dest in
35998 default )
35999 if test ! -h wx-config; then
36000 chmod +x wx-config
36001 mv wx-config wx${TOOLCHAIN_NAME}-config
36002 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36003 fi
36004
36005 if test ! -d lib; then
36006 mkdir lib
36007 fi
36008 if test ! -d lib/wx; then
36009 mkdir lib/wx
36010 fi
36011 if test ! -d lib/wx/include; then
36012 mkdir lib/wx/include
36013 fi
36014 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36015 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36016 fi
36017 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36018 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36019 fi
36020 if test -f setup.h; then
36021 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36022 fi
36023 ;;
36024 esac
36025 done
36026 _ACEOF
36027
36028 cat >>$CONFIG_STATUS <<\_ACEOF
36029
36030 { (exit 0); exit 0; }
36031 _ACEOF
36032 chmod +x $CONFIG_STATUS
36033 ac_clean_files=$ac_clean_files_save
36034
36035
36036 # configure is writing to config.log, and then calls config.status.
36037 # config.status does its own redirection, appending to config.log.
36038 # Unfortunately, on DOS this fails, as config.log is still kept open
36039 # by configure, so config.status won't be able to write to it; its
36040 # output is simply discarded. So we exec the FD to /dev/null,
36041 # effectively closing config.log, so it can be properly (re)opened and
36042 # appended to by config.status. When coming back to configure, we
36043 # need to make the FD available again.
36044 if test "$no_create" != yes; then
36045 ac_cs_success=:
36046 ac_config_status_args=
36047 test "$silent" = yes &&
36048 ac_config_status_args="$ac_config_status_args --quiet"
36049 exec 5>/dev/null
36050 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36051 exec 5>>config.log
36052 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36053 # would make configure fail if this is the last instruction.
36054 $ac_cs_success || { (exit 1); exit 1; }
36055 fi
36056
36057
36058 echo
36059 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36060 echo ""
36061 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36062 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36063
36064 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36065 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36066 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36067
36068 echo " What level of wxWindows compatibility should be enabled?"
36069 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
36070 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
36071 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
36072
36073 echo " Which libraries should wxWindows use?"
36074 echo " jpeg ${wxUSE_LIBJPEG-none}"
36075 echo " png ${wxUSE_LIBPNG-none}"
36076 echo " regex ${wxUSE_REGEX}"
36077 echo " tiff ${wxUSE_LIBTIFF-none}"
36078 echo " zlib ${wxUSE_ZLIB}"
36079 echo " odbc ${wxUSE_ODBC}"
36080
36081 echo ""
36082